/*
Theme Name:     value4life Child theme
Theme URI: 		http://www.cre8.gr
Description:    Child theme made by cre8
Author:         cre8
Author URI: 	http://www.cre8.gr
Template:       value4life                             
Version:        1.0.2
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/
.smaller-right .td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb {
  height: 247px;
  /* responsive portrait phone */
}

.smaller-right .td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb img.entry-thumb {
  object-fit:cover;
  height:100%;
}
.td_block_slide .td-slide-meta {
	z-index: 2;
	position: absolute;
	bottom: 10px;
	width: 97%;
	padding: 0 10px;
	color: #fff;
	background: #ebf5f4;
	margin: 10px;
	bottom: -10px;
	border-bottom: 4px solid #5bbda2;
}
.td_block_slide .td-slide-meta a, .td_block_slide .td-slide-meta span {
    color: #000;
}
.td_block_slide .entry-title {
    margin: 5px 0;
	padding:5px;
	text-align:center;
}
.td-slide-meta .td-excerpt {text-align:center;padding:10px;}
.td-header-style-10 .td-header-main-menu {background-color:#cbd5d4;}
#td-header-menu {background-color:#b2c5c3;}
.iosSlider-col-2 .td_module_slide {
  height: 450px;
  /* responsive landscape tablet */
  /* responsive portrait tablet */
  /* responsive portrait phone */
  /* responsive small portrait phone */
}
.iosSlider-col-2 {
  height: 450px !important;
  /* responsive landscape tablet */
  /* responsive portrait tablet */
  /* responsive portrait phone */
  /* responsive small portrait phone */
}
.td-container.td-header-sp-logo {
	background: url(/wp-content/themes/value4life-child/img/header-bg.jpg) no-repeat 0 0;
}
.td-header-style-10 .td-logo-wrap-full {
  min-height: 142px;
  line-height: 142px;
}
.td-header-style-10 .td-logo-wrap-full .td-logo {
    line-height: 142px;
}
.sf-menu > li > a::after {
    top: 0;
}
.td-container {position: relative;z-index: 99;}
/* Home Klelia Section */
.home-klelia .vc_column-inner {background-color:#d89aa7;}
.home-klelia .wpb_content_element .wpb_wrapper {position:relative;}
.home-klelia .wpb_content_element {margin-bottom:20px;}
.home-klelia .klelia-photo-text {padding:20px 15px 0 15px;position:relative;z-index:5;}
.home-klelia .all-video {width:100%;position:absolute;z-index:1;background:#a96473;text-align:right;bottom:-5px;height:30px;}
.home-klelia .text {width:100%;position:absolute;z-index:10;text-align:right;bottom:-2px;}
.home-klelia .td-all-devices {margin-bottom:15px;}
.home-klelia .td_block_3 {padding:0 13px;}

/* Home MTX & Sexual Health Section */
.mtx-articles {margin-top:30px;}

.free-time .block-title {
    border-bottom: 8px solid #a78c77 !important;
    position: relative !important;
}    

.free-time .block-title span{
    background:none !important;
}  

.free-time .block-title:after {
    position: absolute !important;
    left: 114px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #f2c8a2 !important;
    content: '' !important;
}
.video .block-title {
    border-bottom: 8px solid #c0c6c6 !important;
    position: relative !important;
} 
.video .block-title span{
    background:none !important;
	color: #9bb8b4;
} 
.video .block-title:after {
    position: absolute !important;
    left: 480px !important;
    right: 480px !important;
    bottom: -8px !important;
    border-bottom: 8px solid #9bb8b4 !important;
    content: '' !important;
}
.video img.entry-thumb{height:100%;object-fit:cover;}
.video .block-title a {color:#9bb8b4;text-decoration:none;}
.traveltime .block-title {
    border-bottom: 8px solid #e58514 !important;
    position: relative !important;
} 
.traveltime .block-title span{
    background:none !important;
	color: #e58514;
} 
.traveltime .block-title:after {
    position: absolute !important;
    left: 114px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #f2b705 !important;
    content: '' !important;
}
.traveltime .block-title a {color:#e58514;text-decoration:none;}
.fitness .block-title {
    border-bottom: 8px solid #2d719e !important;
    position: relative !important;
} 
.fitness .block-title span{
    background:none !important;
	color: #2d719e;
} 
.fitness .block-title:after {
    position: absolute !important;
    left: 114px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #6cafdc !important;
    content: '' !important;
}
.fitness .block-title a {color:#2d719e;text-decoration:none;}
.health .block-title {
    border-bottom: 8px solid #308c73 !important;
    position: relative !important;
} 
.health .block-title span{
    background:none !important;
	color: #308c73;
} 
.health .block-title:after {
    position: absolute !important;
    left: 114px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #5abda1 !important;
    content: '' !important;
}
.diet .block-title {
    border-bottom: 8px solid #b7b709 !important;
    position: relative !important;
} 
.diet .block-title span{
    background:none !important;
	color: #b7b709;
} 
.diet .block-title:after {
    position: absolute !important;
    left: 114px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #edee86 !important;
    content: '' !important;
}
.diet-writers .block-title {
    border-bottom: 8px solid #b7b709 !important;
    position: relative !important;
} 
.diet-writers .block-title span{
    background:none !important;
	color: #b7b709;
}
.diet .block-title a {color:#b7b709;text-decoration:none;}
.diet-writers .block-title:after {
    position: absolute !important;
    left: 250px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #edee86 !important;
    content: '' !important;
}
.diet-writers .home-category-more{display:none;}
.doctors .block-title {
    border-bottom: 8px solid #308c73 !important;
    position: relative !important;
} 
.doctors .block-title span{
    background:none !important;
	color: #308c73;
} 
.doctors .block-title:after {
    position: absolute !important;
    left: 180px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #5abda1 !important;
    content: '' !important;
}
.psychology .block-title {
    border-bottom: 8px solid #7e707f !important;
    position: relative !important;
} 
.psychology .block-title span{
    background:none !important;
	color: #7e707f;
} 
.psychology .block-title:after {
    position: absolute !important;
    left: 120px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #dad5db !important;
    content: '' !important;
}
.god .block-title {
    border-bottom: 8px solid #88795c !important;
    position: relative !important;
} 
.god .block-title span{
    background:none !important;
	color: #88795c;
} 
.god .block-title:after {
    position: absolute !important;
    left: 160px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #c3bdaf !important;
    content: '' !important;
}
.video-clip .block-title {
    border-bottom: 8px solid #ec2927 !important;
    position: relative !important;
} 
.video-clip .block-title span{
    background:none !important;
	color: #ec2927;
} 
.video-clip .block-title:after {
    position: absolute !important;
    left: 110px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #f1c1c1 !important;
    content: '' !important;
}
.sex-health .block-title {
    border-bottom: 8px solid #8c4a56 !important;
    position: relative !important;
} 
.sex-health .block-title span{
    background:none !important;
	color: #8c4a56;
} 
.sex-health .block-title:after {
    position: absolute !important;
    left: 170px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #e08e94 !important;
    content: '' !important;
}
.most-popular .block-title {
    border-bottom: 8px solid #95aba9 !important;
    position: relative !important;
} 
.most-popular .block-title span{
    background:none !important;
	color: #95aba9;
} 
.most-popular .block-title:after {
    position: absolute !important;
    left: 170px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #dde7e6 !important;
    content: '' !important;
}
.must-read .block-title {
    border-bottom: 8px solid #95aba9 !important;
    position: relative !important;
} 
.must-read .block-title span{
    background:none !important;
	color: #95aba9;
} 
.must-read .block-title:after {
    position: absolute !important;
    left: 170px !important;
    right: 0 !important;
    bottom: -8px !important;
    border-bottom: 8px solid #dde7e6 !important;
    content: '' !important;
}
.sf-menu a.sf-with-ul {padding-right: 22px;}
.td_module_11 .entry-title{padding:24px 24px 0 0;}
.td_module_11 .td-excerpt{margin-right:24px;}
.td_block_12 {margin-bottom:48px;padding-bottom:0;}
.td-post-views{display:none;}
.block-title a, .block-title label {padding: 6px 12px 5px 12px;background:unset !important;}
.block-title span {padding: 0;}
.post header .entry-title {font-size:24px;line-height:32px;}

/* BLOCKQUOTE CRE8 */

.td-page-content blockquote,
.td-post-content blockquote,
.wpb_text_column blockquote,
.td_block_text_with_title blockquote,
.bbpress blockquote,
.woocommerce #tab-description blockquote,
.mce-content-body blockquote,
.comment-content blockquote {
	padding: 10px 40px;
	margin: 0;
	clear: both;
}

.td-page-content blockquote p:first-child:before,
.td-post-content blockquote p:first-child:before,
.wpb_text_column blockquote p:first-child:before,
.td_block_text_with_title blockquote p:first-child:before,
.bbpress blockquote p:first-child:before,
.woocommerce #tab-description blockquote p:first-child:before,
.mce-content-body blockquote p:first-child:before,
.comment-content blockquote p:first-child:before {
  position: absolute;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAALBAMAAABSacpvAAAALVBMVEUAAAC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLRK0HxpAAAADnRSTlMAd+67mWZR3SKqMxGIzB8/1rAAAABlSURBVAjXFcexDQEBAAXQd+KCRm4CDZURFGICMYFadTHBxQQmEDHCzWAI9XGJ8s/ANS95FBvccKwYr5kuUQ/5omm5dpQ9Fu+H2efEPX07Sg62f+bJ2T6pJkmnTi5FslM2L56r9geMACBhjTsodgAAAABJRU5ErkJggg==') no-repeat;
  left: 0;
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.td-page-content blockquote p,
.td-post-content blockquote p,
.wpb_text_column blockquote p,
.td_block_text_with_title blockquote p,
.bbpress blockquote p,
.woocommerce #tab-description blockquote p,
.mce-content-body blockquote p,
.comment-content blockquote p {
	text-transform: none !important;
	font-weight: bold;
	font-size: 15px;
	line-height: 25px;
}
.td-page-content blockquote p:after,
.td-post-content blockquote p:after,
.wpb_text_column blockquote p:after,
.td_block_text_with_title blockquote p:after,
.bbpress blockquote p:after,
.woocommerce #tab-description blockquote p:after,
.mce-content-body blockquote p:after,
.comment-content blockquote p:after {
  position: absolute;
  bottom: 10px;
  right: 0;
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAALBAMAAABSacpvAAAALVBMVEUAAAC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLRK0HxpAAAADnRSTlMA3ZnuqndmIhG7VYhEMzOiL2oAAABkSURBVAjXY+D1E2PgULZuYGB89+4A07t3AQzn3r1T4Hv3ToCh7t27CUDRBwxAYQe2d+8MGBiuAuWr5BwYGBjeFTAwzEtgYOB6xMDA8RAowGnOwMD6CsjIA4oWKwBFXYGcLQ0MAFHHH+tW1OhlAAAAAElFTkSuQmCC') no-repeat;
}

/* BLOCKQUOTE CRE8 */

/* Captions */
.wp-caption-text, .wp-caption-dd {
    margin: 6px 0 26px 0;
    font-size: 15px;
    font-style: normal;
    font-weight: normal;
    line-height: 20px;
}
.td-a-rec.td-a-rec-id-content_inline {text-align:center;}
@media (max-width: 480px) {
	li#wp-admin-bar-wpseo-menu {display:none !important;}
	.smaller-right .td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb {
		height: auto;
		/* responsive portrait phone */
	}
	.smaller-right .td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb img.entry-thumb {
		object-fit:fill;
	}
	#td-header-menu {background-color:inherit;}
	.td_block_slide .td-slide-meta {width:100%;margin:0;}
	.iosSlider-col-2 .td_module_slide {height: 310px;}
	.iosSlider-col-2 {height: 310px !important;}
}
@media (min-width: 481px) and (max-width: 800px) {
  .smaller-right .td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb {
 	 height: 173px;
  /* responsive portrait phone */
  }
}
@media (min-width: 801px) and (max-width: 1140px) {
  .smaller-right .td_block_18 .td-column-1 .td_module_mx8 .td-module-thumb {
 	 height: 228px;
  /* responsive portrait phone */
  }

}