/*
Theme Name: Taota 2017
Description: Child theme for Ultra theme
Author: JTDesign
Template: themify-ultra
*/
/* font */

/* write custom css below */
a{
	color:#b1126e;
	text-decoration:none;
}
#content{
	padding: 0;
}
/* menu */
#main-nav .current_page_item>a, 
#main-nav .current-menu-item>a,
#main-nav .page_item:hover a,
#main-nav a:hover{
	color:#b1126e;
}
h1, h2, h3, h4, h5, h6{
	/*font-family: 'Marmelad', 'Tahoma',sans-serif;
	font-family: 'Alice', 'Tahoma', serif;*/
	color:#231f20;
	letter-spacing: .05em;
}
/* bnt */
.module-buttons.dark-pink-bg a{
	background-color: #b1126e;
	color:#fff;
	text-transform:uppercase;
}
.module-buttons.dark-pink-bg a:hover{
	background-color: #ea88b7;
}

/* home slider */
.themify_builder .module.btn-slider a.modules-reveal,
.themify_builder .module.btn-slider .modules-show-less{
	position: absolute !important;
    z-index: 999;
    bottom: 60px;
    right: 5%;
	padding: .8em 1em;
	text-transform:uppercase;
	text-decoration:none;
	font-weight:500;
}

.themify_builder .module.btn-slider a{
	background:#b1126e;
}
.themify_builder .module.btn-slider a:hover{
	background:#ef35a0;
}
.home-slider,
.home-slider .carousel-wrap,
.home-slider .carousel-wrap .caroufredsel_wrapper,
.home-slider .carousel-wrap .caroufredsel_wrapper ul,
.home-slider .carousel-wrap .caroufredsel_wrapper ul li{
	margin:0;
	max-height:400px;
}
.home-slider.module-slider .carousel-pager{
	position: absolute;
    bottom: 3%;
	margin: 0 auto;
    width: 100%;
	color: #fff;
}
.home-slider.module-slider .slide-content{
	background:none;
	left: auto !important;
    right: 0;
    text-align: right;
	color:#b1126e;
	top: 5% !important;
	width:50%;
}
.home-slider.module-slider .slide-content .slide-title{
	color:#b1126e;
	font-size:3em;
}
.about-text{
	max-width:1160px;
}
.tb_section-about{
	background:#b1126e;
}
.about-text h2,
.about-text{
	color:#fff;
	margin: 0 auto;
}
.home-slider-about.home-slider{
	background:url(http://taota.com/taota2017/cms/wp-content/uploads/2017/08/slider-bg2.jpg);
	background-repeat:no-repeat;
	background-size:100%;
}
.module-slider.brand-slider{
	margin-bottom:.5em;
}
.module-slider.brand-slider .carousel-prev, 
.module-slider.brand-slider .carousel-next{
	top: 39%;
	padding: 5px;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    line-height: .8em;
    vertical-align: middle;
}
.module-slider.brand-slider .slide-image{
	border-radius:50%;
	overflow:hidden;
}
/* heading */
.module-fancy-heading .fancy-heading{
	font-size: 2.5em;
	font-weight:300;
}
.module-fancy-heading .sub-head{
	font-size:45%;
	line-height: 1.5em;
}
.light-bg-heading .fancy-heading span.sub-head{
	color:#b1126e;
}
.dark-bg-heading .fancy-heading span.sub-head{
	color:#ea88b7;
}
.dark-bg-heading .fancy-heading span.main-head{
	color:#fff;
}

/* contact form */
.wpcf7-form p{
	margin-bottom:0;
}
.wpcf7-form input,
.wpcf7-form textarea{
	padding: .3em .5em;
	border: 1px solid #ea88b7;
	background:#fff;
	    max-width: 100%;
}
.wpcf7-form label{
	color:#fff;
}
.wpcf7-form input.wpcf7-submit{
	padding: .8em 1em;
	border-radius:0;
	border: none;
	background:#ea88b7;
	border:2px solid #ea88b7;
	font-weight:500;
	width: 100%;
}

.wpcf7-form input.wpcf7-submit:hover{
	background:rgba(234, 136, 183,.4);
	border:2px solid #ea88b7;
}
.contact .module-box-content ul{
	margin-left:0;
}
.contact .module-box-content ul li{
	border-bottom: 1px solid #ea88b7;
    list-style: none;
}
span.wpcf7-not-valid-tip{
	color:#ea88b7;
}
div.wpcf7-validation-errors{
	border: 1px solid #ea88b7;
	color: #fff;
}
.wpcf7-form label em{
		font-size:.8em;
	}
/* social-links */
.social-links .icon-medium i{
	width: 28px;
    height: 28px;
	font-size: 20px;
}
/* post */
.loops-wrapper.overlay .post-image+.post-content a, 
.loops-wrapper.polaroid .post-image+.post-content a,
.themify_builder .post-content .post-title a{
	text-decoration:none !important;
	font-weight:500;
	text-align:left;

}
.loops-wrapper.overlay .post-image+.post-content a:hover, 
.loops-wrapper.polaroid .post-image+.post-content a:hover,
.themify_builder .post-content a:hover,
.post-title a:hover{
	color:#b1126e;
}
.loops-wrapper .post-image{
	margin-bottom:0;
}
.loops-wrapper .post-content{
	padding:3% 5%;
	text-align:justify;
}
.loops-wrapper.overlay .entry-content{
	padding:1%;
}
.loops-wrapper.grid2 .entry-content{
	min-height: 180px;
}
.loops-wrapper article:nth-child(even){
	background:rgba(234, 136, 183,.2);
}
.loops-wrapper article:hover>.post-image{
	opacity:.5;
}
.loops-wrapper article:hover{
	background:rgba(245, 245, 245,1);
	border:1px solid rgba(245,245,245,1);
}
.loops-wrapper article .post-image img {
	background:#e9e9e9;
}

.loops-wrapper .post-title{
	min-height:55px;
}
/* partners post */
article.category-brands .post-date-wrap,
.single-post article.category-brands .post-title,
.single-post article.category-brands figure.post-image {
	display:none;
}
article.category-brands .partners-logo {
	border-radius: 50%;
    text-align: center;
    position: absolute;
    bottom: -100px;
    left: 50%;
    margin-left: -100px;
    box-shadow: 1px 1px 12px rgba(0,0,0,.5);
    overflow: hidden;
}
.page-header{
	margin-bottom:10%;
}
article.category-brands .module_row{
	position:relative;
}
article.category-brands .block-title{
	text-align:center;
}
/* single post */
.single-post .module-text h2{
	text-align:center;
	color:#414141;
	text-transform:uppercase;
	margin:0 auto 3%;
	width:80%;
}
.single-post .module-text h2:after{
	content:"";
	width:30%;
	height:2px;
	display:block;
	background:#b1126e;
	margin:0 auto;
}
.single-post .post-content{
	position:relative;
}
.single-post .post-content .post-date-wrap .post-date.entry-date{
	position:absolute;
	width: 100% !important;
    text-align: center;
	top:-100px;
}
.single .post-content .post-date-wrap:not(.post-date-inline){
	height:37px;
}
/* relative-post-grid */
.module-post.relative-post-grid .builder-posts-wrap.loops-wrapper{
	height:auto  !important;
}
.module-post.relative-post-grid .loops-wrapper article.post{
	position:relative !important;
	left:auto !important;
	top:auto !important;
	display:inline-block;
}
.module-post.relative-post-grid .loops-wrapper article.post .entry-content{
	height:200px;
}


/* single post */
.single-post .post-title a{
	color:#b1126e;
}
.single-post .post-title a:hover{
	color:#ea88b7;
}
.loops-wrapper.list-post .post-date-wrap:not(.post-date-inline) .post-date, .single .post-content .post-date-wrap:not(.post-date-inline) .post-date{
	background-color:#ea88b7;
}
.post-nav .arrow{
	color:#ea88b7;
}
.post-nav .arrow:hover,
.post-nav span a:hover span {
   color:#b1126e;
}
/* widget */
.widget .tptn_posts .tptn_after_thumb a.tptn_link{
	display:block;
	font-weight:700;
}
.widget .tptn_posts .tptn_after_thumb span.tptn_date,
.widget .tptn_posts .tptn_after_thumb span.tptn_list_count{
	font-size:.8em;
	font-style:italic;
}
/* sidebar */
#sidebar{
	background:#e6e6e6;
	padding: 0 1%;
}
/* search */
#headerwrap #searchform .icon-search:before,
#headerwrap #searchform #s:focus, #headerwrap #searchform #s:hover, #headerwrap #searchform .icon-search:hover+#s{
	background-color: #b1126e;
}
.trigger-search span {
    display: none;
}
.main-nav .ti-search{
	color:#b1126e;
}
#searchform-wrap{
	float:right !important;
}
/* share */
.at-share-btn{
	background-color:#b1126e !important;
	border-radius: 50% !important;
}

/* partner-info */

.partner-info {
	padding: 2%;
    background: #FBE7F1;	
}

.partner-info h3.module-title {
	font-weight:700;
	color: #B1126E;
}

.partner-info .ui.builder_button.pink {
	background-color: #B1126E;
	font-weight: bold;
    text-transform: uppercase;
    border-radius: 50em;
	border-color: #B1126E;

}

.partner-info .ui.builder_button.pink:hover {
	background-color: #96125e;

}

.partner-info .ui.pink, 
.partner-info  .ui.pink.nav li a, 
.partner-info  .ui.pink.nav ul li a, 
.partner-info  .ui.pink.module-tab .tab-nav li a {
	color: #fff;
}

.partner-info .module-image.auto_fullwidth img {
    height: auto!important;
}

.partner-info .partner-text-padded {
	padding-left: 2%;
}

.partner-info {
	margin-bottom: 2em;
}

/* footer */
#footerwrap{
	background:#f5f5f5;
	color:#808285;
}
#footerwrap .section-col a{
	color:#414141;
}
#footer-logo{
	margin:0 auto .8em;
}
.footer-left-col #footer .widget, .footer-right-col #footer .widget{
	margin:0;
}
#footer .footer-text{
	display:inline-block;
}
.footer-right-col .back-top .arrow-up a{
	background-color: rgba(177,18,110, .7);
	color:#fff;
}
.footer-right-col .back-top .arrow-up a:hover{
	background-color: rgba(177,18,110, 1);
}

@media screen and (max-width: 1200px) {
	.about-text h2, .about-text{
		padding:0 2%;
	}
	.themify_builder_row.contact .col4-2.first.tb-column,
	.themify_builder_row.contact .col4-2.last.tb-column{
		width: 100% !important;
	}
	.themify_builder_row.contact .col4-2.first.tb-column .module-map .map-container{
		max-height:300px;
	}
}
@media screen and (max-width: 1024px){
	.module-post.relative-post-grid .loops-wrapper{
		width:80%;
		margin:0 auto;
	}
	.module-post.relative-post-grid .loops-wrapper article.post{
		width:49.7%;
		
	}
}
@media screen and (max-width: 860px) {
	.home-slider.module-slider .slide-content {
    width: 100%;
	max-width: 90%;
	margin: 0 auto;
	position: absolute !important;
	background:rgba(255,255,255,.4);
	height:100%;
	top:0 !important;
	}
	
	
	.themify_builder_row.contact .col4-2.last .module-box-content.ui ul li{
		width:100% !important;
		display:inline-block;
		margin:0 1.5%;
	}
	.module-slider.slider-caption-overlay .slide-image img{
		height:100%;
		max-width: none;
		width: auto;
	}
}

@media screen and (max-width: 780px){
	.module-post.relative-post-grid .loops-wrapper{
		width:100%;
	}
}
@media screen and (max-width: 680px) {
	.home-slider.module-slider .slide-content .slide-title {
    font-size: 2em;
	}
	.home-slider, .home-slider .carousel-wrap, .home-slider .carousel-wrap .caroufredsel_wrapper, .home-slider .carousel-wrap .caroufredsel_wrapper ul, .home-slider .carousel-wrap .caroufredsel_wrapper ul li{
		height:300px;
	}
	.themify_builder_row.contact .col4-2.last .module-box-content.ui ul li{
		width:46% !important;
	}
	.module-post.relative-post-grid .loops-wrapper article.post {
    width: 49.5%;
	}
	.single-post .post-content .post-date-wrap .post-date.entry-date {
    top: -67px;
	}
	.single .post-content .post-date-wrap:not(.post-date-inline) {
    height: 10px;
	}
	
	.partner-info .module-image.auto_fullwidth img {
		margin-bottom: 2%;
	}
	
	.partner-info {
		padding: 2em;
	}
	
}
@media screen and (max-width: 580px) {
	.themify_builder_row.contact .col4-2.first,
	.themify_builder_row.contact .col4-2.last{
		width: 100% !important;
	}
	.home-slider.module-slider .slide-content {
    top: 5%;
	height: 100%;
	}
	.wpcf7-form input.wpcf7-submit{
		margin-bottom:3%;
	}
	.module-post.relative-post-grid .loops-wrapper article.post{
		width: 76%;
		display: block;
		margin: 0 auto;
		
	}
}


 @media screen and (max-width: 480px) {
	 .themify_builder_row.contact .col4-2.last .module-box-content.ui ul li{
		width: 100% !important;
	}
	
	/*.themify_builder .module.btn-slider a.modules-reveal, .themify_builder .module.btn-slider .modules-show-less {
    position: relative !important;
    bottom: auto;
    right: auto;
	    margin-bottom: 3%;
	}
	.button-link-modules_reveal.btn-slider{
    text-align:center;
	}*/
	.themify_builder .module.btn-slider a.modules-reveal, .themify_builder .module.btn-slider .modules-show-less{
		position:relative !important;
		right: auto;
		bottom: 0;
		border: 0;
	}
	.btn-slider{
		text-align:center;
	}
	.module-post.relative-post-grid .loops-wrapper article.post{
		width: 96%;
		
	}
} 

@media screen and (max-width: 420px) {
	
}