/*

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

*/

/* Alert btn text color */
html body .mh-fixed-menu.mh-fixed-menu--transparent-light.mh-fixed-menu--active #mega_main_menu.mh-primary>.menu_holder:not(.sticky_container)>.menu_inner>ul>li>.item_link * {
    color: inherit!important;
 }

 /* Sub Menu Header Icons */
.mh-sub-xs {font-size:14px;color:#fff;padding-right:15px;padding-left:5px;}
.sitemap-fa:before {font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f0e8"; margin-right:5px;}
.logout-fa:before {font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f08b";margin-right:5px;} 
.legal-fa:before {font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f0e3";margin-right:5px;} 
.account-fa:before {font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f007";margin-right:5px;}
.data-fa:before {font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f21b";margin-right:5px;} 
.mh-top-header{border:none!important;}

div#villier-tab ul { padding:0; margin:0;}
div#villier-tab ul li{ list-style-type: none; display: inline-block;background: #F4F4F4; padding: 15px 30px; font-size:24px; margin-right:20px;}
div#villier-tab ul li{background:#b9b9b9; cursor:pointer;}
div#villier-tab ul li.active{ background:#9ebf16; color:#fff; font-weight:bold;}
div#villier-tab{z-index: 10;
    position: relative;
    top: -96px;
    padding: 0px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
/* Homepage Tab : Responsive */
@media (max-width:1164px) {
	div#villier-tab{z-index: 10;
		position: relative;
		top: -36px;
		left:12px;
		padding: 0px;
		max-width: 1140px;
		margin-left: auto;
		margin-right: auto;
	}
	div#villier-tab ul li{font-size:1px; color:#b9b9b9;}
	div#villier-tab ul li.active{ color:#9ebf16;}
	div#villier-tab ul li.active i {color:#fff!important }
	div#villier-tab ul li i{font-size:22px; color:#222!important}
}


div.estate-info{border-bottom:1px #696969 solid; padding:10px 0px;}

#field-property-type{display:none;}

/** Single Property settings **/
.mh-layout__sidebar-right{background:#b5ddf2; padding:10px; margin:0px!important;}
.mh-estate__details .mh-estate__details__price{ background:#b5ddf2!important; margin:0; padding:0px 0px 10px 0px;}
.mh-estate__details .mh-estate__details__price .loyer{color: #cc2200; font-weight: bold;}

/** Caracteristiques : Property panel **/

.mh-estate__section.features ul li.mh-estate__list__element{list-style-type: none;}
.mh-estate__section.features{background:#f0950f; color:#fff;}
.mh-estate__section.features ul li.mh-estate__list__element:before{font-family:"FontAwesome";content:"\f19d"; padding-right:10px; background:none!important; position:initial!important}

.mh-estate__section.features ul li.mh-estate__list__element.acces-handicapes:before{content:"\f193"}
.mh-estate__section.features ul li.mh-estate__list__element.acces-wifi:before{content:"\f1eb"}
.mh-estate__section.features ul li.mh-estate__list__element.ascenseur:before{content:"\f062"}
.mh-estate__section.features ul li.mh-estate__list__element.cafeteria:before{content:"\f0f4"}
.mh-estate__section.features ul li.mh-estate__list__element.laverie:before{content:"\f2cd"}
.mh-estate__section.features ul li.mh-estate__list__element.salle-de-sport:before{content:"\f1e3"}
.mh-estate__section.features ul li.mh-estate__list__element.service-daccueil:before{content:"\f0f3"}
.mh-estate__section.features ul li.mh-estate__list__element.parking:before{content:"\f1b9"}
.mh-estate__section.features ul li.mh-estate__list__element.gardien:before{content:"\f2b5"}
.mh-estate__section.features ul li.mh-estate__list__element.service-menage:before{content:"\f12d"}

/** Mega Menu **/
ul#menu-mh-sub {
	list-style:none;
}

#menu-mh-sub > li > a {
	color:white;
	font-family:Play,Arial;
}

ul#mega_main_menu_ul > li a span.link_text{font-size:20px!important;}
ul#mega_main_menu_ul > li a span.link_text:before{
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
	content:"\f19d";
	display:block;
	margin-bottom:25px;
	text-align:center;
	font-size:50px;
}

ul#mega_main_menu_ul > li.housing-fa:hover a span.link_text{color:#29aae3!important;}
ul#mega_main_menu_ul > li.student-fa:hover a span.link_text{color:#9bc012!important;}
ul#mega_main_menu_ul > li.about-fa:hover a span.link_text{color:#f5a945!important;}
ul#mega_main_menu_ul > li.current-menu-item:hover a span.link_text{color:#ffffff!important;}

#mega_main_menu.mh-primary.primary_style-flat.direction-horizontal.first-lvl-align-left.no-logo > .menu_holder > .menu_inner > ul > li:first-child > .item_link{padding-left:17px!important;}
ul#mega_main_menu_ul li.current-menu-item{background:#29aae3!important;}
ul#mega_main_menu_ul li.student-fa.current-menu-item{background:#9bc012!important;}
ul#mega_main_menu_ul li.about-fa.current-menu-item{background:#f5a945!important;}
ul#mega_main_menu_ul li.current-menu-item a span{color:#ffffff!important;}
ul#mega_main_menu_ul > li.housing-fa a span.link_text:before{ font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f1ad"; }
ul#mega_main_menu_ul > li.student-fa a span.link_text:before{ font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f19d"; }
ul#mega_main_menu_ul > li.about-fa a span.link_text:before { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f05a"; }
ul#mega_main_menu_ul > li.notif-fa a span.link_text:before{ font-family:"Font Awesome 5 Free"; font-weight: 900; content:"\f0f3";margin-bottom:0px; font-size:30px; display:inline-block; position:absolute; left:20px;}
ul#mega_main_menu_ul > li.notif-fa{
    /* background: #dd3333!important; */ /* Déplacé dans CSS additionnel - voir issue #22 */
    /* border-radius: 6px; */ /* Déplacé dans CSS additionnel - voir issue #22 */
    /* color: white!important; */ /* Déplacé dans CSS additionnel - voir issue #22 */
	margin-top:35px!important;
	/* height: 50px!important; */ /* Déplacé dans CSS additionnel - voir issue #22 */
}
ul#mega_main_menu_ul > li.notif-fa a{color:#ffffff!important;}
ul#mega_main_menu_ul > li.notif-fa a span{
	color:#ffffff!important;
	height: 50px!important;
	padding:0px 5px 0px 25px!important;
}


/** Mega Menu : responsive **/

@media (max-width: 1103px){
	ul#mega_main_menu_ul > li a span.link_text{font-size: 16px!important;}
}
@media (max-width: 1026px){
	ul#mega_main_menu_ul > li a span.link_text:before {display:inline-block; margin-bottom:initial!important; font-size:22px; text-align:left;}
	ul#mega_main_menu_ul > li.notif-fa{margin-top:0px!important; color:#fff!important; border-radius: 0px; height:auto!important;}
	ul#mega_main_menu_ul > li.notif-fa a{color:#fff!important; }
	ul#mega_main_menu_ul > li.notif-fa a span{height:65px!important;}
}

.mh-estate-vertical .mh-estate-vertical__primary, 
.mh-estate-vertical .mh-caption{
	display:none;
}
#myhome-listing-grid h5.mh-search__label{
	display:none
}

#myhome-listing-grid .mh-search__element{
	width:100%!important;
}

html body .mh-fixed-menu.mh-fixed-menu--transparent-light.mh-fixed-menu--active #mega_main_menu.mh-primary>.menu_holder:not(.sticky_container)>.menu_inner>ul>li.current-menu-item>.item_link * {
    color: #ffffff!important;
}
html body .mh-fixed-menu.mh-fixed-menu--transparent-light.mh-fixed-menu--active #mega_main_menu.mh-primary>.menu_holder:not(.sticky_container)>.menu_inner>ul>li>.item_link * {
    color: inherit!important;
}

.mh-fixed-menu--active .mobile_menu_active+.mega_main_menu_ul{height:auto!important}

/* Logo */
html body #mega_main_menu.mh-primary .nav_logo img{max-height:70px!important;}
@media (min-width:1023px) {
	html body #mega_main_menu.mh-primary .nav_logo img{height:70px!important;}	
}

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

/* Footable */
table#flat td:hover, table#flat tr:hover{cursor: pointer;}
table#flat i.avail{font-size:22px; text-align: center;}
table#flat i.avail.fa-times{ color:#cc2200}
table#flat i.avail.fa-check-square{  color:#007a5a; }
table#flat tr:hover{background:#9bc012; color:#fff}
table#flat .footable-detail-row, table#flat .footable-detail-row table tr:hover , table#flat .footable-detail-row table tr th:hover, table#flat .footable-detail-row table tr td:hover{background:initial!important; color:initial!important}
table.footable-details>tbody>tr>td, table.footable-details>tbody>tr>th{border:none;} 
table .footable-paging ul{margin:0; padding:0}
table tr.footable-header, table tr.footable-header:hover{background:#1f9ad6!important; color:#fff!important}
table .footable-paging .label{display: none;}
table .footable-paging .pagination{margin:0!important;}
table .footable-paging:hover{background:initial!important;}
div.noflat{background:#cc2200; padding:10px; color:#fff; text-align: center;}

/* Contact Form */
span.wpcf7-list-item {margin:0;}
.wpcf7-form input.wpcf7-form-control.wpcf7-submit{text-align:center; width:100%;}
.wpcf7-form .Consentement,.wpcf7-form .Accsauxdonnes,.wpcf7-form .Sendinblue{font-size:10px!important}

/* Account settings */
.mh-app__sidebar-nav .avatar {display:none;}
#myhome-panel-profile .mh-edit-profile__info button.secondary{display:none;}

/* Search Button */
.mh-save-search-button button:before {
    content: "\f0c7"!important;
    font-family: "FontAwesome";
	content: "\f19d";
	position:relative!important;
}

.agree-search{font-size:11px!important; padding:10px; margin:10px 0px 0px 0px; background:#fff6db}
.agree-search label{cursor:pointer;}
.agree-search p{font-weight: bold;}
.mh-save-search-window form button.disabled{background:#f4f4f4!important; color:#333!important;cursor: not-allowed;}

.mh-save-search-button button{background:#cc2200!important; color:#fff!important; transition: background-color 0.5s ease!important;}
.mh-save-search-button button:hover{background:#6b1302!important}

.box-availability{background:#f9c34b; padding:10px; border-radius: 6px; margin:0px 0px 15px 0px; color:#674805; text-align: center;}

/** Home **/
a.mh-post-grid__thumbnail {display:none!important;}