/**
* Theme Name: YITH Proteo Child
* Description: This is a child theme of YITH Proteo, generated by YITH_Proteo_Wizard.
* Author: <a href="https://yithemes.com">YITH</a>
* Template: yith-proteo
* Version: 1.2.3
*/

/*Body Font Family*/
body * {
  font-family: "Roboto Slab", sans-serif;
  outline: none !important;
}

/*
Rewrite link color of Bootstrap
body a {
	color:var(--proteo-general_link_color, #448a85);
}
*/

body a {
  color: var(--proteo-general_link_color, #448a85);
}
.eg_footer a {
  color: black;
}

.eg_footer_text a {
  font-size: large;
}

.eg_footer input[type="text"],
.eg_footer input[type="email"] {
  height: 30px;
}

.eg_footer #acym_fulldiv_formAcym1.acym__subscription__form__shortcode {
  margin: 0;
}

/*Sidebar 2 of Articles*/

body.blog .blog-posts.columns-2 {
  grid-template-columns: repeat(3, 1fr);
}

#secondary .wp-block-latest-posts li {
  margin-bottom: 0;
}

/*Widget Title Font Family
#main-footer .widget-title  {
	font-family: 'Roboto Slab', sans-serif !important;
}
*/

/*Full Width*/
.home .container {
  max-width: none !important;
  --bs-gutter-x: 0 !important;
}

/*Logo Margin*/
.site-header.center_logo_navigation_below .site-branding {
  margin: 5px;
}

/*Slider*/
.yith-slider {
  margin-bottom: 0;
}

/*Hover Nav*/
div#primary-nav-menu ul {
  display: flex;
  justify-content: center;
  border-top: 1px #e5e5e5 solid;
  border-bottom: 1px #e5e5e5 solid;
}

.main-navigation a {
    padding-block: 5px;
    border-bottom: 1px solid;
    border-bottom-color: white;
    -webkit-transition: all 0.2s ease;
    letter-spacing: initial;
    font-size: 16px;
}

.main-navigation a:hover {
    border-bottom: 1px solid;
    border-top-color: #3f4747;
    border-top: none;
}

.main-navigation li {
  padding-bottom: 0;
}

#topbar > .container {
  display: flex;
  justify-content: space-between;
}

.eg_topbar_left,
.eg_topbar_right {
  margin: 0 3rem 0 3rem;
}

.site-header.center_logo_navigation_below .header-contents {
  display: inline-block !important;
}

.site-header:not(.sticky) {
  height: 270px;
}

#topbar .widget {
  margin: 0;
}

/*.elementor-element.elementor-position-top.elementor-widget.elementor-widget-image-box

.elementor-element.elementor-position-top.elementor-widget.elementor-widget-image-box{
    box-shadow: 2px 4px 4px 0px rgba(128,121,121,0.61) ;
    -webkit-box-shadow: 2px 4px 4px 0px rgba(128,121,121,0.61) ;
    -moz-box-shadow: 2px 4px 4px 0px rgba(128,121,121,0.61) ;
} */

/*SERVICES*/

.elementor-element.elementor-element-0152390.e-flex.e-con-boxed.e-con.e-child,
.elementor-24 .elementor-element.elementor-element-5e36e62,
.elementor-24 .elementor-element.elementor-element-9271070,
.elementor-24 .elementor-element.elementor-element-ba19c7c,
.elementor-24 .elementor-element.elementor-element-7e30c64,
.elementor-24 .elementor-element.elementor-element-c657f94,
.elementor-24 .elementor-element.elementor-element-25505ae,
.elementor-24 .elementor-element.elementor-element-bd59351 {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

  /*
	box-shadow: 2px 4px 4px 0px rgba(128,121,121,0.61);
    -webkit-box-shadow: 2px 4px 4px 0px rgba(128,121,121,0.61);
    -moz-box-shadow: 2px 4px 4px 0px rgba(128,121,121,0.61);
	*/
}

/*Articles*/
header.entry-header .date-and-thumbnail {
  width: fit-content;
}

/*Articles Sidebar*/
.wp-block-latest-posts li > a {
  font-family: unset !important;
  font-weight: unset !important;
  font-style: unset !important;
}


article {
  padding: 2px;
}

.elementor-24 .elementor-element.elementor-element-d7100b1 .eael-grid-post-holder {
  margin: 0 0.5rem;
}

ul.wp-block-categories-list.wp-block-categories a,
.widget_recent_entries ul li a {
  color: black;
  padding-left: 1rem;
}

#secondary .widget {
  margin-bottom: 15px;
  padding-left: 1rem;
}

section#block-9 {
  margin-top: 5rem;
}

/*Footer

.eg_footer_left,
.eg_footer_center {
  border-right: 1px solid #005645;
}
*/
/*tablet*/
@media only screen and (max-width: 1000px) {
  /*Mobile Topbar*/
  .eg_topbar_left,
  .eg_topbar_right {
    margin: 0;
    padding: 0.5rem 0 0.5rem 0;
  }

  #topbar > .container {
    display: grid;
    justify-content: space-around;
  }

  /*Footer*/
  .eg_footer_left,
  .eg_footer_center {
    border-right: unset;
    border-bottom: 1px solid #005645;
    padding-bottom: 1.5rem;
  }

  /*Article Category*/
  article {
    margin: unset;
  }

  body.blog .blog-posts {
    display: flex;
    flex-direction: column;
  }

  section#block-9 {
    margin-top: unset;
  }
}

/*Mobile*/
@media only screen and (max-width: 600px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }

  .eg_footer input[type="text"],
  .eg_footer input[type="email"] {
    max-width: 70%;
  }

  /*Footer*/
  .eg_footer_left,
  .eg_footer_center {
    border-right: unset;
    border-bottom: 1px solid #005645;
    padding-bottom: 1.5rem;
  }

  /*Article Category*/
  article {
    margin: unset;
  }

  body.blog .blog-posts {
    display: flex;
  }
}

/* giannisp */
.eg_home_title h2::before {
    content: "";
    background-image: url(/wp-content/uploads/2024/01/head_right.jpg);
    width: 25px;
    height: 25px;
    display: block;
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    top: 3px;
    margin-right: 25px;
}

.eg_home_title h2::after {
    content: "";
    background-image: url("/wp-content/uploads/2024/01/head_left.jpg");
     width: 25px;
    height: 25px;
    display: block;
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    top: 3px;
    margin-left: 25px;
}

.eg_services_menu .sub-menu {
    left: auto;
    right: unset;
    flex-direction: column;
    width: 420px !important;
}

.eg_services_menu .sub-menu li a {
    font-size: 16px;
    width: 100% !important;
}

div.modal {
    z-index: 998 !important;
}

.eg_page_title_custom {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw !important;
    position: relative;
    right: 50%;
    width: 100vw;
    color: #fff;
    margin-top: 0px;
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(/wp-content/uploads/2023/12/brooke-lark-Xr8zuPfy-KE-unsplash-1-1920x1280.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 300px;
    margin-bottom: 60px;
}

.eg_page_title_custom h1.elementor-heading-title{
    background: #00000082;
    width: fit-content;
    margin: auto;
    padding: 10px 15px;
    border-radius: 1px;
}

.eg_recipes_content .eael-grid-post-holder {
    text-align: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

body.single-post.proteo_post_layout_background_picture header.alignfull {
	min-height: 480px !important;
}

h1.page-title.eg_loop_title {
    text-align: center;
    padding: 30px 0 0px;
    font-size: 2rem;
}

.eg_loop_post_grid {
    display: grid;
    grid-template-columns: 50% 50%;
    justify-content: start;
    width: 100%;
}

.eg_loop_post_grid article {
    padding: 30px 60px !important;
    margin: 20px !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.eg_loop_post_grid article h2.entry-title {
    text-align: center !important;
    padding: 12px 0;
    font-size: 20px !important;
}

.eg_loop_post_grid article p {
    font-size: 16px !important;
    text-align: justify;
    padding: 15px 0;
}

.eg_loop_post_grid article a.more-link {
    text-transform: capitalize;
    font-weight: 600;
    width: fit-content;
    padding: 5px 8px;
    border-radius: 3px;
    background: #598b81;
    color: #fff;
}

.single-post header.entry-header {
    padding: 20px 0;
}

.page h1.entry-title {
    padding: 30px 0 30px;
        font-size: 2rem !important;
	text-transform: capitalize;
	color: #fff !important;
}

.page-child header.entry-header {
    text-align: initial;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw !important;
    position: relative;
    right: 50%;
    width: 100vw;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 60px;
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(/wp-content/uploads/2023/12/brooke-lark-Xr8zuPfy-KE-unsplash-1-1920x1280.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 300px !important;
}

.blog h1.page-title {
    text-align: center;
    padding: 30px 0 10px;
	font-size: 2rem !important;
}

a.eg_read_more_custom {
  text-transform: capitalize;
  font-weight: 600;
  width: fit-content;
  padding: 10px 15px;
  border-radius: 3px;
  background: #598b81 !important;
  color: #fff;
  text-decoration: none;
  align-content: center;
  align-self: center;
  align-items: center;
  width: 50%;
  margin: auto;
  display: block;
  text-align: center;
  position: relative;
  border: 0;
  min-height: fit-content;
}

/* mobile */

@media only screen and (max-width: 480px){
	
	.elementor-element.elementor-element-dd61482.elementor-widget__width-initial.elementor-widget.elementor-widget-html,
	.elementor-element.elementor-element-01c8c45.elementor-widget__width-initial.elementor-widget.elementor-widget-html{
    text-align: center;
    padding-top: 12px;
}
.elementor-element.elementor-element-c89aad0.p-5.elementor-widget.elementor-widget-text-editor {
    font-size: 16px !important;
    text-align: justify;
    line-height: 28px;
    padding: 5px 0 !important;
}
	
	.eg_loop_post_grid article {
    padding: 10px 15px !important;
    margin: 20px !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
	
	.eg_loop_post_grid {
    display: grid;
    grid-template-columns: 100%;
    justify-content: start;
    width: 100%;
}
	
	.elementor-element.elementor-element-2e960b8.e-con-full.e-flex.e-con.e-parent {
    max-height: 130px;
}
	
	div#booknow {
    max-height: 130px;
}
	
	    .eg_home_services_cnt .pb-2{
    margin-bottom: 30px;
    padding: 15px 8px;
}
	
	.elementor-element.elementor-element-f7483a5.p-3.eg_footer.e-flex.e-con-boxed.e-con.e-parent {
    padding-bottom: 0 !important;
}
} 

/* end of mobile */