/* Custom CSS */

/* Example: Override main section background color. */
/* body .jupiterx-main {
    background-color: gray;
} */


/* Header */
.jupiterx-header-overlapped:not(.jupiterx-header-fixed):not(.jupiterx-header-stick):not(.jupiterx-header-sticked) .jupiterx-header {
	position:initial!important;
}

header.jupiterx-header-sticky-custom {background-color:#fff;}

#header-bottom .raven-site-logo img {max-width: 250px;}

.elementor-icon.elementor-social-icon {background-color:#BC4A95;}

.elementor-icon.elementor-social-icon .svg {background-color:#BC4A95;}

.single-post strong,
.single-post b{font-weight:800;}

.home .elementor-shape .elementor-shape-fill {
	fill:#fff3e6;
	background-color:#BC4A95;
}

.home-blog .raven-post-title {
	min-height:60px;
}

.home-blog .raven-post-excerpt {
	    display: -webkit-box;
      max-width: 400px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog .raven-post-title {
	min-height: 90px;
    display: flex;
    align-items: start;
}

.box-wrapper {
    display: flex;
    justify-content: center;
}

.box-home span{
	display: block;
	width: 20px;
	height: 20px;
	border-bottom: 2px solid #BC4A95;
	border-right: 2px solid #BC4A95;
	transform: rotate(45deg);
	margin: -10px;
	animation: animate 2s infinite;
}

.box-home span:nth-child(2)
{
	animation-delay: -0.2s;
}

.box-home span:nth-child(3)
{
	animation-delay: -0.4s;
}

@keyframes animate{
	
	0%{
		opacity: 0;
		transform: rotate(45deg) translate(-20px, -20px);
	}
	50%{
		opacity: 1;
	}
	100%{
		opacity: 0;
		transform: rotate(45deg) translate(20px, 20px);
	}
}

.page-id-20 .jet-tabs {
	flex-wrap: wrap;
}

.page-id-20 .jet-tabs__control.active-tab {
	  border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #6CADA1;
}

.page-id-16 .elementor-shape .elementor-shape-fill {
	fill:#fff3e6;
}

.top-header-quotes h3:before {
    background: url(images/quotes-apo.png) no-repeat;
    width: 90px;
    content: " ";
    height: 90px;
    right: 0;
    bottom: 0;
    position: absolute;
    background-size: cover;
    transform: translate(80px, 58px) rotate(0deg);
}

.top-header-quotes h3:after {
    background: url(images/quotes-apo.png) no-repeat;
    width: 90px;
    content: " ";
    height: 90px;
    left: 0;
    top: 0;
    position: absolute;
    background-size: cover;
    transform: translate(-94px, -40px) rotate(180deg);
}

/* slider */
.jet-slider__content h5.jet-slider__title {
    height: auto;
    max-width: 1200px;
    position: relative;
    padding:0 100px;
}

.jet-slider__content h5.jet-slider__title:before {
    background: url(images/quotes-apo.png) no-repeat;
    width: 90px;
    content: " ";
    height: 90px;
    right: 0;
    top: 0;
    position: absolute;
    background-size: cover;
    transform: translate(-32px, 58px) rotate(0deg);
    
}

.jet-slider__content h5.jet-slider__title:after {
    background: url(images/quotes-apo.png) no-repeat;
    width: 90px;
    content: " ";
    height: 90px;
    left: 0;
    top: 0;
    position: absolute;
    background-size: cover;
    transform: translate(-32px, -40px) rotate(180deg);
}

.apofthegmata-section .jet-testimonials__content {
    position:relative;
    border:4px solid #c082abc7;
    border-radius:20px;
}

.apofthegmata-section .jet-testimonials__content {
    border:4px solid #c082abc7;
    border-radius:20px;
    position:relative;
    margin: 40px;
    padding:20px 0;
}

.apofthegmata-section .jet-testimonials__content:after {
    background: url(images/quotes-apo-pink.png) no-repeat;
    width: 70px;
    content: " ";
    height: 70px;
    left: 0;
    top: 0;
    position: absolute;
    background-size: cover;
    transform: translate(-37px, -47px) rotate(180deg);
    border: none;
    background-color: #fff3e6;
    z-index: 1;
}

.apofthegmata-section .jet-testimonials__content:before {
    background: url(images/quotes-apo-pink.png) no-repeat;
    width: 70px;
    content: " ";
    height: 70px;
    right: 0;
    bottom: 0;
    position: absolute;
    background-size: cover;
    transform: translate(30px, 35px) rotate(0deg);
    border: none;
    background-color: #fff3e6;
    z-index: 1;
    
}

/* Services page */
#jupiterx-main .tabs-services .jet-tabs__content-wrapper {min-height:800px!important;}

#jupiterx-main .tabs-services .jet-tabs__control {
	background:#fff;
	padding:25px;
	margin:0;
}

#jupiterx-main .jet-tabs__control.active-tab .jet-tabs-icon {color:#fff;}

#jupiterx-main .tabs-services .jet-tabs__control.active-tab {
	background:#57A193;
	padding:25px 15px 0 15px;
	border-bottom: 0.25rem solid #bdc3c7;
	border-right: 0.125rem solid #57A193;
	margin:0;
} 

#jupiterx-main .tabs-services .jet-tabs__control.active-tab .jet-tabs__label-text {
	color:#fff;
	font-weight:400;
	letter-spacing:1px;
	line-height:29px;
}

#jupiterx-main .tabs-services .jet-tabs__control .jet-tabs__label-text {
	color:#BC4A95;
	font-weight:400;
	letter-spacing:1px;
	line-height:29px;
}

#jupitex-main .tabs-services .elementor-element-populated {padding-left:15px;}

/* Archive Page */

.archive.category h2 a,
.archive.tag h2 a{
	font-family: "Noto Serif Display", Sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 41px;
    color:#bc4a95;
}

/* CUSTOM BLOG */
.page-id-1255 .raven-post-excerpt {
	    display: -webkit-box;
      max-width: 400px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.raven-post-title {
	  min-height: 90px;
    display: flex;
	  align-items:start;
}

.page-id-1255 .raven-post-categories a{color:#57A193;}

.single-post .jupiterx-site .jupiterx-post-title {font-size: 27px;line-height: 35px;}

/* category page */
.archive.category .jupiterx-content, 
.archive.tag .jupiterx-content{
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    grid-auto-rows: minmax(100px, auto);
}

.archive.category .jupiterx-post-title,
.archive.tag .jupiterx-post-title{
  min-height: 100px;
  line-height: 40px;
}

.archive.category .jupiterx-post-header,
.archive.tag .jupiterx-post-header{
	  min-height: 80px;
    display: inline-block;
}

.archive.category .jupiterx-post-content {
	 display: -webkit-box;
      max-width: 500px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#jupiterx-main h1.jupiterx-archive-title {
	/*position: relative;*/
	 overflow: hidden;
     text-align: center;
}

#jupiterx-main h1.jupiterx-archive-title:after,
#jupiterx-main h1.jupiterx-archive-title:before {
    background-color: #57A193;
    content: "";
    display: inline-block;
    height: 4px;
    position: relative;
    vertical-align: middle;
    width: 20%;
}

#jupiterx-main h1.jupiterx-archive-title:before {
  right: 1em;
  margin-left: -50%;
}

#jupiterx-main h1.jupiterx-archive-title:after {
  left: 1em;
  margin-right: -50%;
}

#jupiterx-main h1.jupiterx-archive-title {
   /* Same as the parents Background */
    width: 100%;
    display: inline-block;
    z-index: 3;
    padding: 0 20px 0 20px;
    position: relative;
    margin: 0;
}

#jupiterx-main h1.jupiterx-archive-title {
	color: #BC4A95;
    font-family: "Noto Serif Display", Sans-serif;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    line-height: 42px;
}

.archive.category .jupiterx-post-image img,
.archive.tag .jupiterx-post-image img{
	max-width: 100%;
    height: 500px;
    object-fit: cover;
}

.archive.category .jupiterx-post-body {
	  display: flex;
    flex-direction: column;
}

.ub-expand-portion {
    border-bottom: 6px solid #c2c2c2a8;
    padding-bottom: 0;
}

.ub-expand-full {padding-top:20px;}

/* footer */
.jupiterx-footer a:hover {
    color:#57A193;
}

/* Large Tablet */
@media (max-width: 1024px ) {
   .jupiterx-site .raven-nav-menu-toggle-button {
     border:1px solid #BC4A95;
     font-size: 45px;
     padding: 10px 15px 10px 15px;
     color: #BC4A95;
    }
    
    .jupiterx-site   .raven-nav-menu-mobile {background: #f2f2f2;}
    
    .jupiterx-site .raven-nav-menu-toggle-button:hover {color: #000;}
}


@media (min-width: 781px) and (max-width: 1200px)  {
    #home-main-slider .jet-slider__content-inner {
        padding:0 100px 0 100px!important;
    }
    
    #home-main-slider .jet-slider__content h5.jet-slider__title:before,
    #home-main-slider .jet-slider__content h5.jet-slider__title:after{
      width: 55px;
      height: 56px;
    }
}

@media (min-width: 1201px) and (max-width: 1400px)  {
    #home-main-slider .jet-slider__content-inner {
        padding:0 100px 0 100px!important;
    }
    
    #home-main-slider .jet-slider__content h5.jet-slider__title:before,
    #home-main-slider .jet-slider__content h5.jet-slider__title:after{
      width: 70px;
      height: 70px;
    }
}

/* mTablet */
@media (max-width: 780px) {
    /* mobile menu */
  .jupiterx-site .jupiterx-header .raven-site-logo img {
      max-width:100%;
  }
	
	header.header-phone-address {
		display:none!important;
	}
	
	.elementor-element-260d550 {
		display:none!important;
	}
	
  .page-id-20 #jupiterx-main .tabs-services .jet-tabs__control { padding:25px 10px; }	
  
  #menu-mobile-fd4650b .sub-arrow svg {
      width:25px!important;
      height:25px!important;
  }
  
  #menu-mobile-fd4650b .menu-item .sub-arrow {
      fill:#BC4A95;
      margin-right:10px;
  }
  
  #menu-mobile-fd4650b .menu-item .has-submenu.highlighted .sub-arrow,
  #menu-mobile-fd4650b .menu-item.current_page_item .sub-arrow{fill:#fff;}
  
  .raven-nav-menu-active { border-right: 1px solid #000;}
  
  /* Sticky */
  .jupiterx-header-sticky-custom .raven-nav-menu-toggle-button {font-size: 35px;} 
  
   
  .top-header-quotes h3:before {
     width: 35px;
     height: 35px;
     bottom:0;
     transform: translate(-20px,15px) rotate(0deg);
   }
    
   .top-header-quotes h3:after {
     width: 35px;
     height: 35px;
     transform: translate(-5px, -45px) rotate(180deg);
   }
  
  /* Slider */
  .jet-slider__content h5.jet-slider__title:before {
    width: 40px;
    height: 40px;
    bottom: 0;
    top:unset;
    transform: translate(-39px, 0px) rotate(0deg);
  }
  
  .jet-slider__content h5.jet-slider__title:after {
    width: 40px;
    height: 40px;
    left: 0;
    top: 0;
    transform: translate(35px, -10px) rotate(180deg);
 }
  
  /* blog */
  .home .home-blog .raven-post-title a {text-align:left;}
  
  .home .home-blog .raven-post-title {min-height:30px;}
  
  #jupiterx-main .home-blog .raven-post-excerpt {
      max-width:100%;
  }
  
  #jupiterx-main .home-blog .raven-post-title {
    display: flex;
    justify-content: center;
  }
  
  /* apofthegmata */
  .apofthegmata-section .jet-testimonials__content:before {
    width: 40px;
    height: 40px;
    top:unset;
    bottom: 0;
    transform: translate(15px, 15px) rotate(0deg);
  }
  
  .apofthegmata-section .jet-testimonials__content:after {
    width: 40px;
    height: 40px;
    left: 0;
    top: 0;
    transform: translate(-15px, -15px) rotate(180deg);
  }
  
  /* service */
    .tabs-services .elementor-container {
        display:flex;
        flex-direction: column;
    }
    
    .tabs-services .elementor-container .elementor-column {
        width:100%;
    }
    
    #jupiterx-main .tabs-services .elementor-214  .elementor-element[class^='elementor-'] {
        width:100%;
    }
    
    #jupiterx-main .tabs-services .jet-tabs__control-inner .jet-tabs__label-text {
        min-width: 312px;
    }
    
    #jupiterx-main .tabs-services .jet-tabs__control {
        border-bottom: 1px solid #c2c2c2;
        min-width: 360px;
   }
   
  .tabs-services #jet-tabs-content-5821 .column-services-left{
      order:2;
      padding-top:0;
  }
  
  .tabs-services #jet-tabs-content-5821 .column-services-right{
      order:1;
      padding: 80px 0 0 0;
  }
  
  .tabs-services #jet-tabs-content-5822  .elementor-column.elementor-element-7958fed {
      padding: 150px 0 0 0;
  }
  
  .tabs-services #jet-tabs-content-5823  .elementor-column.elementor-element-30857dd {
      padding: 150px 0 0 0;
  }
 
}

@media (min-width: 1038px) and (max-width: 1200px)  {
   /* header */
   /* menu */
   #header-bottom .raven-nav-menu-main .menu-item {
       margin-right: 14px;
   }
   
   #header-bottom .raven-nav-menu-main .menu-item a {
       margin-right: 14px;
       font-size: 16px;
   }
   
   .jupiterx-header .elementor-container .elementor-column:nth-of-type(3) {
       width: 22%;
   }
}

@media (min-width: 481px) and (max-width: 781px)  {
   /* header */
    #header-bottom .raven-site-logo .raven-site-logo-link picture img {
        width:60%;
    }
   /* footer */
   #footer-section .raven-site-logo img {
       width:50%;
   }
}

/* mobile */
@media (max-width: 480px) {
    
    
    #header-bottom .raven-nav-menu-toggle-button {
        font-size: 45px;
    }
    
    #menu-mobile-fd4650b .raven-submenu .raven-submenu-item {
        font-size: 16px;
        padding: 20px 0px 15px 25px;
        line-height: 25px;
    }
 
    .tabs-services .jet-tabs__label-text {
        font-size:17px;
    }
    
    /* blog */
    .page-id-1255 .raven-post-title {
        min-height:40px;
    }
    
    .page-id-1255 .raven-post {
        border-bottom: 2px solid #c2c2c2;
    }
    
    .ypiresia-custom .elementor-container:nth-of-type(1) {
        display:flex;
        flex-direction:column;
    }
    
    .ypiresia-custom .elementor-container:nth-of-type(1) .elementor-column:nth-of-type(1) {
        order:2;
    }
    
    .ypiresia-custom .elementor-container:nth-of-type(1) .elementor-column:nth-of-type(2) {
        order:1;
    }
    
    /* category blog */
    .archive.category .jupiterx-content, .archive.tag .jupiterx-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        grid-auto-rows: minmax(100px, auto);
    } 
    
    .archive.category .jupiterx-post-image img, .archive.tag .jupiterx-post-image img {
        height: auto;
    }
    
    .archive.category .jupiterx-post-title, .archive.tag .jupiterx-post-title {
        min-height: 60px;
        line-height: 39px;
    }
    
    .archive #jupiterx-main h1.jupiterx-archive-title{
        font-size:18px;
    }
    
     .archive #jupiterx-main .jupiterx-main-header {
         padding:55px 0;
     }
     
     .archive #jupiterx-main .jupiterx-post-title a {
         font-size:20px;
         line-height:25px;
     }
     
     .archive #jupiterx-main .jupiterx-post-title {
         line-height:25px;
     }
     
     .archive.category #jupiterx-main .jupiterx-post-title, 
     .archive.tag #jupiterx-main .jupiterx-post-title {
        min-height: 30px;
    }
    
    .archive .jupiterx-main-content {
        padding: 0;
    }
    
    #footer-section .elementor-widget-container {
        padding: 0;
    }
    
    #footer-section .elementor-icon-box-icon {
        margin-bottom:10px;
    }
    
    #footer-section .raven-site-logo-link img {
        max-width:250px;
    }
    
}

