/*

 Theme Name:     Mexcare

 Theme URI:      http://www.elegantthemes.com/demo/?theme=Divi

 Description:    This is Child Theme for Mexcare

 Author:         Ecolohosting

 Author URI:     http://ecolohosting.com/

 Template:       Divi

 Version:        1.0.0

*/

 

/* Add Custom CSS after this line */





#logo {
	display: inline-block;
	float: none;
	margin-bottom: 0;
	max-height: 100%;
	transform: translate3d(0px, 0px, 0px);
	transition: all 0.4s ease-in-out 0s;
	vertical-align: middle;
	max-height:90% !important;
}
/* menu */


#top-header {  max-height:50px; transition:max-height .3s ease; position: relative; }
#top-header.et-fixed-header { /*max-height:0;*/ visibility: hidden; }
#main-header { transition:top .3s ease; }
#main-header.et-fixed-header { top:0!important; }
.admin-bar #main-header.et-fixed-header { top:32px!important; }








.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_split #et-top-navigation nav > ul > li > a {
	padding-bottom: 20px;
}
.et-fixed-header #top-menu li.current-menu-ancestor > a, .et-fixed-header #top-menu li.current-menu-item > a {
	border-bottom: 3px solid #e5ba39;
	margin-bottom: 15px;
}
#et-secondary-nav li {
	text-align: left !important;
}
#main-header {/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0.40+0,0+95 */
	background: -moz-linear-gradient(top, rgba(255,255,255,0.35) 0%, rgba(255,255,255,.35) 95%, rgba(255,255,255,.35) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.35) 0%, rgba(255,255,255,.35) 95%, rgba(255,255,255,.35) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0.35) 0%, rgba(255,255,255,.35) 95%, rgba(255,255,255,.35) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6ffffff', endColorstr='#00ffffff', GradientType=0 ); /* IE6-9 */
}
.rs-background-video-layer iframe {visibility: inherit !important;}

/*
#et_search_icon:hover, .mobile_menu_bar::before, .mobile_menu_bar::after, .et-social-icon a:hover, .comment-reply-link, .form-submit .et_pb_button, .entry-summary p.price ins, .woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price, .woocommerce .star-rating span::before, .woocommerce-page .star-rating span::before, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce-page input.button.alt:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce #content input.button.alt:hover, .woocommerce-page #content input.button.alt:hover, .woocommerce a.button:hover, .woocommerce-page a.button:hover, .woocommerce button.button, .woocommerce-page button.button:hover, .woocommerce input.button:hover, .woocommerce-page input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #respond input#submit:hover, .woocommerce #content input.button:hover, .wp-pagenavi span.current, .wp-pagenavi a:hover, .et_password_protected_form .et_submit_button, .nav-single a, .posted_in a, #top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a {
	color: rgba(0, 0, 0, 0.6);
	border-bottom: 3px solid #e5ba39;
	margin-bottom: 25px;
}

*/
.et_header_style_left #et-top-navigation nav > ul > li > a { font-weight: bold; color: rgba(0, 0, 0, 0.6); margin-bottom: 25px; }
.et-fixed-header#top-header #et-secondary-nav li ul.sub-menu { background-color: white; }
.et-social-google-plus a.icon::before { content: "\e09d" }
.current-menu-item > a{ border-bottom: 3px solid #e5ba39; }

/*contact form*/

div.wpcf7-mail-sent-ok{
	border:none;}

div.wpcf7-validation-errors{
	border:none;
	color:#DEAD36;}
	
#et-secondary-nav li ul{
	background-color: #ffffff;
	}

.contact-form div {
	width: 49%;
	float: right;
	font-size: 15px;
	padding: 0 5px 10px;
	color: #222;
}
.contact-form div:nth-child(5) {
	width: 100%;
	float: left;
	display: block
}
.contact-form textarea {
	width: 98%;
	float: right;
	font-size: 15px;
	overflow: hidden;
	background: #fff;
}
.contact-form .wpcf7-submit {
	width: 80%;
}
 .contact-form textarea::placeholder {
color:#222
}
.contact-form {
	font-size: 15px;
	color: #111 !important;
	width: 98%;
}
.contact-form input[type="text"], .contact-form input[type="password"], .contact-form input[type="tel"], .contact-form input[type="email"], input.text, .contact-form input.title, .contact-form textarea, .contact-form select {
	background: #fff;
	color: #222;
	font-family: "Open Sans",Arial,sans-serif;
}
 .contact-form input::placeholder {
color: #000;
}
/*contact form review*/
.contact-form-review input[type="text"], .contact-form-review input[type="password"], .contact-form-review input[type="tel"], .contact-form-review input[type="email"], input.text, .contact-form-review input.title, .contact-form-review textarea, .contact-form-review select {
	background: #fff;
	color: #222;
	margin-bottom: 10px;
	font-family: "Open Sans",Arial,sans-serif;
}

.contact-form-review span{color:#ffffff}
.contact-form-review .title {
	color: #e0bd4d;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
}
/*contact form review*/
.review-btn{
	background: #e5ba39 none repeat scroll 0 0;
    display: block;
    padding: 5px;
    text-align: center;
    width: 100%;}

.review-btn a{
	color: #333333;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%
	}


.contact-form-review .contact-details{
	margin-bottom:5px;}
/* contact form footer*/

.contact-form-review div:nth-child(7){
	padding-left:13px;}

.bottom_form {
	width: 90%;
	max-width: 500px; 
	margin: 0 auto;
}

.bottom_form li {
	list-style: none !important;
	margin-bottom: 20px;
}

.bottom_form li input{
	width: 100%;
	height: 50px;
	padding: 0 7px;
	font-size: 16px;
}
.bottom_form li input[type='submit'] {
	background: #70c44f;
	color: white;
	font-size: 15px;
	border: none
} 
.bottom_form textarea {
	width: 100%;
	height:300px;
}
/*
.wpcf7-form p {
	width: 49%;
	float: right;
	font-size: 15px;
	padding: 5px;
}
.wpcf7-textarea {
	width: 100%;
	float: right;
	font-size: 15px;
	padding: 5px;
	overflow: hidden;
}
.wpcf7-form p:nth-child(6) {
	width: 98%;
	display: block;
	float: right;
	right: 0px;
}
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	width: 100%;
}
.wpcf7-form-control.wpcf7-text {
	width: 100%;
}
input[type="text"], input[type="password"], input[type="tel"], input[type="email"], input.text, input.title, textarea, select {
	background-color: #535353;
	border: 1px solid #a6a6a6;
	color: #fff;
	padding: 6px;
}
.wpcf7-submit {
	background: #e5ba39;
	color: #333333;
	padding: 6px;
	font-size: 15px;
	float: right!important;
	cursor: pointer;
	border: none;
}
.wpcf7-submit:hover {
	background: #fff;
	color: #1E285C;
}
*/
.footer-info {
	text-align: center !important;
}
.e-mail::before {
	content: attr(data-website) "@" attr(data-user);
	direction: rtl;
	unicode-bidi: bidi-override;
}
.learn-more-container {
	border-radius: 5px
}
.separator {
	position: relative;
	overflow: hidden;
}
.separator:after {
	display: inline-block;
	content: "";
	height: 4px;
	background: #E5BA39;
	position: absolute;
	width: 100%;
	top: 50%;
	margin-top: -2px;
	margin-left: 10px;
}
/*pullquotes css*/

 

/*Pull quote text styling*/

blockquote.et-pullquote p {
	font-size: 22px;
	line-height: 35px;
	font-style: italic;
	letter-spacing: 1px;
	color: #666;
	font-weight: 300;
}
/*Pull quotes with open quotation mark*/

 

blockquote.et-pullquote.left.quote, blockquote.et-pullquote.right.quote {
	position: relative;
	border-left: none;
}

blockquote.et-pullquote.left.quote:before {
	content: "\201C";
	font-size: 75px;
	position: absolute;
	top: 10px;
	left: -16px;
	font-family: lato;
	color: #888;
}
blockquote.et-pullquote.right.quote:before {
	content: "\201C";
	font-size: 75px;
	position: absolute;
	top: 10px;
	left: -16px;
	font-family: lato;
	color: #888;
}
/*Pull quotes with top border*/

blockquote.et-pullquote.left.topborder, blockquote.et-pullquote.right.topborder {
	border-left: none;
	border-top-width: 5px;
	border-top-style: solid;
	padding: 5px;
}
/*Pull quotes with dark background*/

blockquote.et-pullquote.left.dark, blockquote.et-pullquote.right.dark {
	border-left: none;
	padding: 10px;
	background: #333;
}
blockquote.et-pullquote.left.dark p, blockquote.et-pullquote.right.dark p {
	color: #fff;
}
 @media all and (min-width: 700px) {
blockquote.et-pullquote {
	padding: 0 20px;
	max-width: 100%;
}
/*Pull quote Left*/

blockquote.et-pullquote.left {
	float: left;
	margin: 20px 20px 20px -10%;
}
/*Pull quote Right*/

blockquote.et-pullquote.right {
	float: right;
	margin: 20px -10% 20px 20px;
}
}
.locations .et_pb_tabs_controls li a {
	padding: 5px 15px 3px;
}
.case-of-study .post-content {
	display: none;
}
.case-of-study p, .author.vcard a {
	color: #bfbfbf !important;
}
/*Blog Module Reviews*/



.client-review .post-content {
	text-align: right;
}
.client-review .post-content p {
	text-align: justify;
}
.client-review .post-content:after {
	display: none !important
}
.client-review article {
	position: relative !important;
	background: #fff !important;
	border: 4px solid #E5BA39!important;
	border-radius: 10px;
	margin-bottom: 185px;
}
.client-review article:after,  .client-review article:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	visibility: visible;
}
.client-review article:after {
	border-color: rgba(105, 86, 90, 0);
	border-top-color: #fff;
	border-width: 17px;
	margin-left: -17px;
	z-index: 9999;
}
.client-review article:before {
	border-color: rgba(245, 245, 10, 0);
	border-top-color: #E5BA39;
	border-width: 23px;
	margin-left: -23px;
	z-index: 1;
}
.client-review .et_pb_image_container:before {
	background: rgba(0, 0, 0, 0.77) none repeat scroll 0 0;
	border-radius: 12px;
	content: " ";
	filter: blur(6px);
	height: 1px;
	position: absolute;
	top: 114px;
	width: 90px;
}
.client-review .et_pb_image_container {
	position: absolute !important;
	bottom: -135px;
	width: 90px;
	height: 90px;
	left: 50%;
	border-radius: 100px;
	margin-left: -45px;
}
/*Blog module fade effect*/



.post-content:after {
	background: -moz-linear-gradient(top, rgba(30,40,92,0) 0%, rgba(30,40,92,1) 82%, rgba(30,40,92,1) 100%);
	background: -webkit-linear-gradient(top, rgba(30,40,92,0) 0%, rgba(30,40,92,1) 82%, rgba(30,40,92,1) 100%);
	background: linear-gradient(to bottom, rgba(30,40,92,0) 0%, rgba(30,40,92,1) 82%, rgba(30,40,92,1) 100%);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0 );
	content: '';
	display: block;
	height: 120px;
	position: relative;
	top: -120px;
	left: 0px;
}
.et_pb_blog_grid .post-content:after {
	margin-bottom: -70px;
}
.et_pb_posts a.more-link, .et_pb_blog_grid a.more-link {
	margin-bottom: -25px;
	margin-top: 25px;
	position: inherit;
	text-align: center;
	text-transform: capitalize;
	font-size: 16px;
	color: #0066CC;
	letter-spacing: 2px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	display: block;
}
.et_pb_posts a.more-link:hover, .et_pb_blog_grid a.more-link:hover {
	color: #888;
}
.et_pb_image_container {
	margin: -20px -19px 10px;
}
.header-padding-top {
	padding-top: 35px !important;
}
.fa-user, .fa-phone, .fa-envelope {
	color: rgb(229,186,57)
}
.fa-check-circle-o {
	color: #1E285C;
}
/*Blog button style*/

.elegantdesign a.more-link {
	background-color: #e5ba39;
	border-radius: 8 px;
	color: #fff;
	display: inline-block;
	float: none;
	font-size: 14px;
	font-style: italic;
	font-weight: 600;
	margin-top: 10px;
	padding: 8px 16px;
}
.elegantdesign a.more-link:hover {
	color: #20292f;
}
.faq-shadow {
	-webkit-box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.15);
}

/* Pagina FAQS */
/* Cambio de color en texto de tab activa */
.faqs-tabs .et_pb_tabs_controls a { color: #29568e !important; }
.faqs-tabs .et_pb_tab_active a { color: #e5ba39 !important; }


 @media only screen and ( min-width: 980px ) {
.elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before {
	content: '2 .column.size-1of2' !important;
}
.elegantdesign .et_pb_column .column.size-1of2 {
	width: 47% !important;
	margin-right: 6%;
}
}
 @media only screen and ( max-width: 980px ) {
 	.no_pb,
 	.no_pb .et_pb_row {
    padding-top: 0;
}
.et_pb_section_1 .et_pb_row {
    padding-bottom: 0;
    padding-top: 0;
}
.et_pb_module.client-review .et_pb_post {
    margin-bottom: 170px !important;
}

.elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before {
	content: '2 .column.size-1of2' !important;
}
.elegantdesign .et_pb_column .column.size-1of2{width:100%!important;margin-right:0;}
.reverse_div{display:flex;flex-direction:column-reverse;}
.reverse_div .et_pb_column:first-child {
    margin-bottom: 0;
    margin-top: 45px;
}
.no_space_b {
	padding-top: 0 !important;
    padding-bottom: 0;
    margin-bottom: 0 !important;
}
.no_space_b .et_pb_row {
    padding-top: 0;
}
header#main-header {
    height: 80px;
}

/*menu mobile*/
#page-container #main-header.et-fixed-header {
    position: fixed;
    width: 100%;
    top: 0 !important;
    background-color: #f5f5f5;
    -moz-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75);
    -webkit-box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75);
    box-shadow: 0 5px 5px rgba(182, 182, 182, 0.75) !important;
}


.et_mobile_menu{margin-left:-30px;padding:5%;width:calc(100% + 60px);background-color: #1e285c !important;}

.mobile_nav.opened .mobile_menu_bar:before {content: "\4d";}
.container.et_menu_container {  width: calc( 100% - 60px); }
.et_mobile_menu li a {
    color: white;
    text-transform: uppercase;
}
 /*submenu*/
 #main-header .et_mobile_menu li ul.hide { display: none !important; }

#mobile_menu .menu-item-has-children {
    position: relative;
}
#mobile_menu .menu-item-has-children > a {
    background: transparent;
}

#mobile_menu .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;    color: white;
}

span.menu-closed:before {
    content: "\4c";
    display: block;
    color: inherit;
    font-size: 16px;
    font-family: ETmodules;
}

span.menu-closed.menu-open:before {
    content: "\4d";
}

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

.wpcf7-form p { width: 100% !important; }

}
/* MAP SCROLLING FIX */

/* In order to make this work, the map iframe must be inside the a div with the class gmap-fix. */

/* The add a height to  the class "gmap-fix" you if would have a fixed height. Don't add a height if responsive is requiered. */

/* The class "vcontainer" would be required in case you need a responsive map. Edit the padding-bottom and the min-height in case the height needs to be adjust.  */

/* The class "map_overlay" is the real fix for scrolling map. */



.gmap-fix {
	position: relative; /* height: -- Your fixed height here -- ; */
}
.vcontainer {
	height: 0;
	overflow: hidden;
	padding-bottom: 30% !important;
	position: relative;
	min-height: 350px;
}
.vcontainer iframe, .vcontainer object, .vcontainer embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.map_overlay {
	position: absolute;
	z-index: 9999;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
