/*

Theme Name: MyHome Child
Theme URI: http://myhome.tangibledesing.net
Author: TangibleDesign
Author URI: http://themeforest.net/user/tangibledesign
Description: Child
Version: 1.1
Template: myhome
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myhome-child
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

*/

body {
	overflow-x: hidden !important;
}

/***** GLOBAL ******/

.mdl-button {
    font-family: 'Crimson Text';
    letter-spacing: 3px;
}
/***** NAV ******/

.menu-menu-principal-container {
    float: right;
}

.texte_majuscule,
.texte_majuscule * {
	text-transform: uppercase !important;
}

.texte_blanc,
.texte_blanc * {
	color: #FFF !important;
}

html body #mega_main_menu.mh-primary > .menu_holder > .menu_inner > ul > li.lang-item{
    margin-right: 0px!important;
}

#mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link {
    padding: 0px 5px !important;
}

.mh-rs-search--middle #myhome-search-form-submit {
    z-index: 2;
}

/****** HOME *******/

.fullwidthbanner-container:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 21;
}

@media (min-width: 778px) {
	.mh-rs-search--type-6 #myhome-search-form-submit .mh-search__element:last-child {
		width:100%;
	}
}


	
/***** FOOTER ******/

footer .mh-footer-bottom  {
    text-align: center;
}

/***** SINGLE PAGE TITLE ******/

.mh-top-title-offset {
    margin-top: 0;
}

.mh-top-title--wide-bg, .mh-top-title--image-background {
	padding-top: 100px !important;
	padding-bottom: 100px !important;
}

.mh-social-icon {
	font-size: 32px;
	background-color: transparent;
	color: #fff !important;
}
.mh-social-icon:after {
	display:none;
}
.mh-social-icon:hover {
	background-color: transparent !important;
}
/***** CONTACT FORM ******/

form .vc_col-sm-6, form .vc_col-sm-12 {
    padding: 0 5px;
}
.form_champs {
    border: 1px solid rgba(0,68,208,0.2);
    padding: 0 30px 70px 30px;
}
.apporteur_form {
	margin-bottom: 50px;
}
.apporteur_form .submit-center {
	margin-top: 50px;
}
.form-sur-fond-bleu input, .form-sur-fond-bleu textarea{
    background-color: white;
    border: none;
    margin-bottom: 10px;
    color: #222222;
}
.form-sur-fond-blanc input, .form-sur-fond-blanc textarea{
    background-color: #EFF3F9;
    margin-bottom: 10px;
    border: none;
    color: #222222;
}
.form-sur-fond-bleu input:focus, .form-sur-fond-bleu textarea:focus{
    border: solid 1px;
    border-color: #CFDEFF !important;
    box-shadow: 0px 0px 2px 1px #CFDEFF;
    background-color: white !important;
}

.form-sur-fond-blanc input:focus, .form-sur-fond-blanc textarea:focus, .form-sur-fond-blanc input[type=text]:focus, .form-sur-fond-blanc input[type=email]:focus, .form-sur-fond-blanc textarea:focus{
    border: solid 1px;
    border-color: #CFDEFF !important;
    box-shadow: 0px 0px 2px 1px #CFDEFF;
    background-color: #EFF3F9 !important;
}
.form-sur-fond-bleu input:focus, .form-sur-fond-bleu textarea:focus, .form-sur-fond-bleu input[type=text]:focus, .form-sur-fond-bleu input[type=email]:focus, .form-sur-fond-bleu textarea:focus{
    border: solid 1px;
    border-color: #CFDEFF !important;
    box-shadow: 0px 0px 2px 1px #CFDEFF;
    background-color: white !important;
}
.wpcf7-form input::-moz-placeholder, .wpcf7-form textarea::-moz-placeholder, .wpcf7-form input:-moz-placeholder, .wpcf7-form textarea:-moz-placeholder{
    opacity: 0.6 !important;
    color: #222222;
    }
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder{
    opacity: 0.6;
    color: #222222;
    }
.wpcf7-form .wpcf7-select::placeholder{
    opacity: 0.6;
    color: #222222;
    }
.wpcf7-form input[type="submit"] {
    font-family: 'Crimson Text';
    letter-spacing: 3px !important;
    margin: 0 auto !important;
    }
.submit-center{
    text-align: center;
    margin-left: 1%;
}
.wpcf7-form #separateur::before{
    content: '';
    position: relative;
    display: block;
    height: 2px;
    width: 90px;
    background: #CFDEFF;
    margin: 40px auto;
}
.wpcf7-form .wpcf7-select{
    background-color: white !important;
    padding: 10px auto;
    border-color: rgba(0,0,0,0);
    margin: 10px auto;
    -webkit-appearance: none;
}
.wpcf7-form .form-titre-section{
    font-family: 'Crimson Text';
    font-size: 25px;
    padding-bottom: 40px;
    color: #0D2B69;
    width: 100%;
    text-align: center;
}
.wpcf7-form .center{
    text-align: center;
}
.wpcf7-form #distance{
    height: 10px;
    width: 100%;
    display: block;
}
.wpcf7-form #distance2{
    height: 30px;
    width: 100%;
    display: block;
}
.col_form_bleu .form-sur-fond-bleu {
	display: flex;
	flex-flow: wrap;
}

.form_contact {
	margin: 50px 0;	
}

.form_contact .vc_col-sm-6, .form_contact .vc_col-sm-12 {
	padding: 10px;
}

.form_contact .wpcf7-form .wpcf7-mail-sent-ok {
	background: none !important;
	color: #4d4d4d !important;
	margin-bottom: 0 !important;
}

.form_contact .wpcf7-form .wpcf7-validation-errors {
	display: none !important;
}

/*---FOOTER---*/
.mh-footer__inner {
    padding-top: 70px;
}
.widget:first-child{
    height: 250px; 
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-right: 10%;
    margin-bottom: 0px !important;
}
.widget:first-child .mh-footer__contact a:hover{
    color: #a5a5a5;
}
.mh-footer__logo{
    opacity: 0.2;
    width: 40%;
    margin-right: 80px;
}
.mh-footer__logo img{
    height: 200px !important;
}
.mh-footer__text{
    text-transform: uppercase;
    font-family: 'Crimson Text';
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 30px;
}
.mh-footer__contact{
    width: 60%;
}
.widget_pages{
    width: 40% !important;
}
.widget_pages ul{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
footer .fa-instagram {
	font-size: 20px;
	padding-right: 15px;
}
.footer_insta:hover {
	color: #a5a5a5 !important;
}
.widget_pages ul .page_item {
    width: 50%;
    display: inline-block; 
    padding-right: 40px;
}
.widget_pages ul .page-item-31 a{
    border-bottom: 1px solid #4d4d4d !important;
}
.mh-search-horizontal {
    margin-top: 20px;
}
.mh-search__results-wrapper {
    margin: 25px 0 20px;
    padding-left: 0;
}
#myModal {
	position:fixed;
	display: none;
	width: 100%;
	height: 100%;
	z-index: 1000000;
}
#myModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px 40px;
    border: 1px solid #888;
    width: 60%;
    min-width: 400px;
    height:60%;
}

#myModal .close {
	background-color:#fff;
	border: none;
	font-size: 27px;
}

path.carte_hover {
	fill: #0d2b69 !important;
}

.paca_texte path.carte_hover, .paca_texte rect.carte_hover, .neuilly_texte path.carte_hover, .neuilly_texte rect.carte_hover, .boulogne_texte path.carte_hover, .boulogne_texte rect.carte_hover, text.carte_hover {
	fill: #e7e7e7 !important;
}

.paca_texte path, .paca_texte rect, #field-zone button {
	pointer-events: none;
}

#field-zone {
	cursor: pointer;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

#field-arrondissement {
	position:relative;
}

.svg-inline--fa.fa-map-marked {
    width: 20px;
    position: absolute;
    z-index: 2;
    right: 31px;
    top: 13px;
}

.mh-menu ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_recent_entries ul li a, .widget_nav_menu ul li a, .widget_categories ul li a, .widget_archive ul li a {
    padding: 10px 30px 10px 0;
}

.page-id-31 .mh-top-title--wide-bg:after,
.page-id-402 .mh-top-title--wide-bg:after{
    z-index: -1;
}

#myhome-social-icons-widget-2 {
	display: none;
}

footer .mh-footer__inner .mh-layout {
	margin-bottom: 50px;
}

.home .upb_row_bg {
	background-size: 140% !important;
	background-position: 50% 60% !important;
}


.swiper-slide img{
	object-fit: cover;
	width: 100%;
}


.swiper-container--single .swiper-slide:before,
.swiper-container--single .swiper-slide:after {
	display: none;
} 

.mh-search .mh-search__label span {
	display:none;
}

.mh-search .mh-attribute__price .mh-search__label span {
	display:inline;
}
.cookie-bar-bar button#catapultCookie:hover {	
    color: white;
}



@media (max-width: 1100px) {
  
	.menu_holder li .link_text {
		font-size: 14px !important;
	}
	
	.lagence_col_txt > div, .hm_col_txt > div, .estimation_col_txt > div, .col_home_txt > div {
		padding-left: 50px !important;
		padding-right: 50px !important;
	}
	
	.col_home_txt .vc_empty_space {
		height: 50px !important;
	}
	
	.home .upb_row_bg {
		background-size: 180% !important;
		background-position: 50% 60% !important;
	}
}

@media (max-width: 1024px) {
	.mh-footer__row {
		display: flex;
	}

	footer .widget_pages ul .page_item {
		width: 100% !important;
	}
	
	.mh-footer__logo {
		margin-right: 40px;
	}
	
	footer .mh-footer__inner .mh-footer__row__column--1of2 {
		width: 100%;
	}
	.wpcf7-form-control-wrap.location-ou-vente {
	    min-height: 50px;
	}
}

@media (max-width: 767px) {
	.honoraire_prix p {
		font-size: 14px;
		height: 50px !important;
	}	
	
	.honoraire_prix_row {
		display: flex;
	}
	
	.home .upb_row_bg {
		background-size: cover !important;
		background-position: 50% 60% !important;
	}
	
	.apporteur_form .vc_col-sm-3 {
		float: left;
	}
	
	.mh-footer__row {
		flex-direction: column;
	}
	
	footer .widget_pages {
		width: 100% !important;
	}
	
	footer .widget_pages .page_item a {
		border: 0 !important;
	}
	
	footer .widget_pages ul {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	
	footer .widget_pages ul li.page_item {
		width: auto !important;
	}
	
	footer .mh-footer__inner .mh-layout {
		margin-bottom: 0;
	}
	
	.mh-footer__contact {
		width: 65% !important;
	}
	
	.mh-footer__logo {
		width: 30%;
	}
	
	footer .widget:first-child {
		height: 300px;
	}
	
	.mh-footer__logo {
		margin-right: 0;
	}
	
	.mh-footer__logo > img {
		margin-bottom: 50px;
	}
	
	.estimation_col_txt .vc_empty_space, .col_estimation_form .vc_empty_space, .hm_col_txt .vc_empty_space, .lagence_col_txt .vc_empty_space {
		height: 50px !important;
	}
	
	.apporteur_form .vc_col-sm-9 {
		float: right;
	}
	
	.separateur1 {
		padding-top: 35px !important;
	}
	
	.col_hm_form .form-sur-fond-bleu > div, .col_estimation_form  .form-sur-fond-bleu > div {
		width: 100%;
	}
	
	.lagence_last_bloc {
		flex-direction: column-reverse;
	}
	
	#myhome-search-form-submit {
		top: 40% !important;
	}
	
	mh-footer__logo {
		object-fit: contain;
	}
	
}

@media (max-width: 600px) {
	#myhome-search-form-submit {
		top: 30% !important;
	}
}

@media (max-width: 480px) {
	
	.apporteur_form .vc_col-sm-9, .apporteur_form .vc_col-sm-3  {
		float: none;
	}
	
	.apporteur_form .vc_col-sm-9 .wpcf7-list-item {
		margin-left: 0 !important;
		width: 100%;
	}
	
	.mh-estate-vertical__content {
		height: auto;
	}
	
	.mh-estate-vertical__buttons {
		position: unset;
	}
	
	.apporteur_form .vc_col-sm-9 .wpcf7-list-item input {
		float: left;
		margin-right: 10px;
	}
	
	.col_home_txt > div {
		padding-top: 300px;
	}
	
	.mh-estate-vertical__heading {
		font-size: 22px;
	}
	
	.mh-footer__logo {
		width: 100% !important;
		text-align: center;
	}
	
	footer .mh-footer__inner .mh-footer__row__column--1of2 {
		display: flex;
		height: auto;
		margin-bottom: 50px !important;
	}
	
	footer .mh-footer__inner .mh-footer__row__column--1of2.widget_pages {
		display: block !important;
	}
	
	#myhome-search-form-submit {
		top: 125% !important;
	}
	
	footer .widget_pages ul {
		flex-direction: column;
	}
}
