/*
Theme Name: Ethikk-Immo - Divi
Description: Theme enfant de Divi pour Ethikk-Immmo
Author: Ludovic Tisné-Grimaud
Author URI: https://www.tisne-grimaudinformatique.fr
Template: Divi
Version: 1.0
*/

:root{
	--ethikk-pink: #f61484;
}

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}

#logo {
	width:196px;
}

.alert-message {
	color: #fff;
}


/** Menu a gauche */
#et-top-navigation {
    float: left;
    padding-left: 225px;
}

#top-menu .menu-item {
    text-transform: uppercase;
}

/*.et_pb_contact p {
    display: inline-block;
}*/
.et_contact_bottom_container {
    margin-top: 0;
}


.et_fixed_nav #et-top-navigation{
	/*transition: none;*/
	padding-left: 226px !important;
	width: 100%;
}

#top-menu-nav,
#top-menu{
	width: 100%;
}

#top-menu li li a{
	padding: 6px 0px;
	font-size: 18px;
}

/* Bouton estimation gratuite*/
#menu-item-1223{
	float: right;
}

.bck-zfc {
	-webkit-font-smoothing: antialiased;
	text-align: center;
	box-sizing: border-box;
	margin: 0;
	outline: 0;
	-webkit-text-size-adjust: 100%;
	vertical-align: baseline;
	background: transparent;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif!important;
	
}

#top-menu #menu-item-1223 a{
	text-decoration: none;
	line-height: 1.7em!important;
	border: 2px solid;
	transition-property: all!important;
	position: relative;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
	transition: all 300ms ease 0ms;
	display: inline-block;
	padding: 10px 15px !important;
	color: #FFFFFF!important;
	border-width: 4px!important;
	border-color: #f61484;
	border-radius: 0px;
	letter-spacing: 2px;
	font-size: 14px !important;
	font-weight: 700!important;
	text-transform: uppercase!important;
	background-color: var(--ethikk-pink);
	margin-top: -20px;
}


media only screen and (min-width: 981px){
	.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
		padding: 30px 0 0 0;
	}
}


body #page-container .et_pb_section .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button{
	/*border-width:10px !important;*/
}

/****************************************************************************/
/**************                                            ******************/
/**************                NOS BIENS                   ******************/
/**************                                            ******************/
/****************************************************************************/
.filtre-recherche{
	background-color: var(--ethikk-pink);
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px 20px;
	grid-auto-flow: row;
}
/*.liste-biens {  
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px 40px;
	grid-auto-flow: row;
}*/

.bien-info-container{
	width: 33%;
	padding: 20px;
}

.bien-info {
	background-color: #FFFFFF;
	border-color: #FFFFFF;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
	height: 100%;
}

.bien-info:nth-child(3n)
{
	margin-right: 0px!important;
}

.bien-info .miniature{
	margin-left: -30px!important;
	margin-right: -30px!important;
}

.bien-info .miniature img{
	width: 100%;
	height: 250px;
	object-fit: cover;
}
.bien-info h4,
.agent-info h4{
	text-align: center;
	font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000000!important;
    line-height: 1.5em
}

.bien-info h5,
.agent-info h5{
	font-weight: 500;
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
	font-family: 'Nanum Gothic',Helvetica,Arial,Lucida,sans-serif !important;
	line-height: 1.8em;
	text-align: center;
	color: #000000!important;
	box-sizing: border-box !important;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	vertical-align: baseline;
	background: transparent;
	padding-bottom: 0;
}

.bien-info .price{
	font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--ethikk-pink) !important;
    line-height: 1.4em;
	text-align: center;
	margin: 15px auto;
}

.btn-voir-plus {
	color: #000000!important;
    border-width: 2px!important;
    border-radius: 0px!important;
    font-size: 14px!important;
    font-family: 'Ubuntu',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: RGBA(255,255,255,0)!important;
	line-height: 40px!important;
	display: inline-block!important;
}
.btn-voir-plus:after{
	font-size: 32px !important;
}


/****************************************************************************/
/**************                                            ******************/
/**************                NOS AGENTS                  ******************/
/**************                                            ******************/
/****************************************************************************/
.liste-agents {  
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 40px 40px;
	grid-auto-flow: row;
}

.agent-info .photo-agent{
	text-align: center;
}
.agent-info .photo-agent img{
	width: 225px;
	height: 225px;
	object-fit: cover;
	border-radius: 225px;
	transition: transform 300ms ease 0ms;
}

.agent-info .photo-agent a:hover img{
	transform: scale(0.75);
}

.agent-info p.description{
	font-family: 'Nanum Gothic',Helvetica,Arial,Lucida,sans-serif;
	line-height: 1.8em;
	text-align: center;
	color: #000000!important;
	margin: 0 0 15px 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
}

.btn-wrapper {
	text-align: center;
}

.agent-info .btn-voir-plus {
	color: var(--ethikk-pink) !important;
}


body.single-wei_agent .et_pb_title_featured_container img{
	width: 400px;
    height: 400px;
    object-fit: cover;
}

#lien-bien-vendu{
	color: #f61484!important;
    border-width: 4px!important;
    border-radius: 0px;
    letter-spacing: 4px;
    font-size: 14px;
    font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
	padding: 12px 30px;
}

#lien-bien-vendu:hover{
    color: #ffffff!important;
    border-color: #2a2a2a!important;
    background-image: initial;
    background-color: #2a2a2a;
}

#lien-bien-vendu:hover:after{
	line-height: inherit;
    font-size: inherit!important;
    margin-left: 0.3em;
    left: auto;
    font-family: ETmodules!important;
    font-weight: 400!important;
}
/****************************************************************************/
/**************                                            ******************/
/**************              RECHERCHE RAPIDE              ******************/
/**************                                            ******************/
/****************************************************************************/
.recherche_rapide {  
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px 10px;
	grid-auto-flow: row;
}

.recherche_rapide .ville { grid-area: 1 / 1 / 2 / 2; }
.recherche_rapide .type { grid-area: 1 / 2 / 2 / 3; }
.recherche_rapide .prix { grid-area: 2 / 1 / 3 / 3; }
.recherche_rapide .rechercher { grid-area: 2 / 3 / 3 / 4; }

.recherche_rapide button{
	color: #FFFFFF!important;
    border-width: 10px!important;
    border-color: #f61484;
    border-radius: 0px;
    letter-spacing: 4px;
    font-size: 14px;
    font-family: 'Rubik',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    background-color: #f61484!important;
}
.recherche_rapide button:hover{
	padding: 0.3em 1em!important;
	border-width:10px !important;
}
.recherche_rapide button::after{
	content:'';
}

.filtre-recherche {
	margin-bottom: 40px;
}

.filtre-recherche input{
	background-color: #eee;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
}

.filtre-recherche select {
	color: #999;
    background-color: #eee;
    padding: 16px 20px 16px 16px;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
}

/****************************************************************************/
/**************                                            ******************/
/**************              PAGE BIEN                     ******************/
/**************                                            ******************/
/****************************************************************************/
.single-wei_property .entete{
	display: grid;
	grid-template-columns: 50% 50%;
	gap: 10px 50px;
	grid-auto-flow: row;
}

.slick-prev{
	left: -30px !important;
}
.slick-prev:before, .slick-next:before{
	color: var(--ethikk-pink) !important;
	font-size: 25px!important;
}

.single-wei_property .titre-bien h1,
.single-wei_property .prix-bien{
	font-size: 30px;
}
.single-wei_property .prix-bien{
	color: var(--ethikk-pink);
	font-weight: 700;
}

.single-wei_property h2{
	font-size: 16px;
	color: var(--ethikk-pink);
}

.single-wei_property .descriptif{
	margin: 40px 0;
	padding: 25px;
}

.separateur{
	height: 5px;
	width: 100px;
	background-color: var(--ethikk-pink);
	margin: 20px 0;
}

.separateur-noir{
	background-color: #000;
}

.single-wei_property .caracteristiques-wrapper{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px 40px;
	grid-auto-flow: row;
	margin: 40px 0;
}

.single-wei_property .dpe,
.single-wei_property .ges,
.single-wei_property .caracteristiques{
	padding: 25px;
}

.single-wei_property .dpe,
.single-wei_property .ges{
	text-align: center;
}

.single-wei_property .contact-wrapper{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	grid-auto-flow: row;
	margin: 0;
}

.single-wei_property .contact-wrapper h2{
	font-size: 42px;
	color: #333333;
}
.single-wei_property .contact-wrapper .contact-form-wrapper{
	background-color: var(--ethikk-pink);
	padding: 80px 6vw;
}

.single-wei_property .contact-wrapper .contact-form-wrapper input,
.single-wei_property .contact-wrapper .contact-form-wrapper textarea{
	width: 100%;
	font-size: 14px;
	line-height: 1.8em;
	color: #999;
	padding: 16px;
}
.single-wei_property .contact-wrapper .contact-form-wrapper textarea{
	min-height: 150px;
}
.single-wei_property .contact-wrapper .contact-form-wrapper button{
	color: #fff!important;
	border-width: 4px!important;
	float: right;
}

.contact-agent-wrapper{
	background-color: #000;
	padding: 38px 10px;
	text-align: center;
}

.single-wei_property .contact-agent-wrapper .photo-agent{
	border-radius: 1000px;
    overflow: hidden;
	box-shadow: 10px 10px 0px 0px var(--ethikk-pink);
	display: inline-block;
	margin-bottom: 20px;
}

.single-wei_property .contact-agent-wrapper .photo-agent img{
	border-radius: 0;
}
.single-wei_property .contact-agent-wrapper .photo-agent a:hover img{
	transform: none;
}

.single-wei_property .contact-agent-wrapper .agent-info p.description a,
.single-wei_property .contact-agent-wrapper .agent-info h4{
	color: #fff !important;
	font-size: 30px;
}
.single-wei_property .contact-agent-wrapper .agent-info p.description a{
	font-size: 22px;
}
/****************************************************************************/
/**************                                            ******************/
/**************              ESTIMATION GRATUITE           ******************/
/**************                                            ******************/
/****************************************************************************/
.btn-estimation {
    background-color: var(--ethikk-pink) !important;
	color: #fff !important;
	cursor: pointer;
	padding: 15px !important;
	line-height: 25px !important;
	margin: 0 auto !important;
	display: block !important;
}
.btn-estimation:hover{
	opacity: 0.7;
}


/****************************************************************************/
/**************                                            ******************/
/**************              FOOTER                        ******************/
/**************                                            ******************/
/****************************************************************************/

.footer-widget .fwidget {
	margin-bottom: 0 !important;
}

@media only screen and (max-width: 1260px) {
	#main-header .container{
		width: 100%;
	}
}

@media only screen and (max-width: 1124px) {
	.filtre-recherche{
		grid-template-columns: 1fr 1fr 1fr;
	}
	.bien-info-container{
		width: 50%;
	}
	.liste-agents {  
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (max-width: 980px) {
	.liste-agents {  
		grid-template-columns: 1fr 1fr;
	}
	#menu-item-1223 {
		float: none;
	}
}

@media only screen and (max-width: 870px) {
	.filtre-recherche{
		grid-template-columns: 1fr 1fr;
	}
}

@media only screen and (max-width: 768px) {
	.recherche_rapide {  
		grid-template-columns: 1fr;
		gap: 10px 10px;
	}
	.recherche_rapide .ville { grid-area: auto; }
	.recherche_rapide .type { grid-area: auto; }
	.recherche_rapide .prix { grid-area: auto; }
	.recherche_rapide .rechercher { grid-area: auto; }
	.filtre-recherche{
		grid-template-columns: 1fr;
	}
	
	.bien-info-container{
		width: 100%;
		padding: 20px 0;
	}
	.single-wei_property .entete{
		grid-template-columns: 100%;
		gap: 10px 50px;
	}
	.single-wei_property .caracteristiques-wrapper{
		grid-template-columns: 1fr;
		gap: 20px 0px;
	}
	.single-wei_property .contact-wrapper{
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 600px) {
	.bien-info .miniature img {
		height: 200px;
	}
	.liste-agents {  
		grid-template-columns: 1fr;
	}
}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
    
}

input[type=range] {
	box-sizing: border-box;
	-webkit-appearance: none;
	   -moz-appearance: none;
			appearance: none;
	width: 90%;
	margin: 0 5%;
	padding: 0 2px;
	/* Add some L/R padding to ensure box shadow of handle is shown */
	overflow: hidden;
	border: 0;
	border-radius: 1px;
	outline: none;
	background: linear-gradient(white, white) no-repeat center;
	/* Use a linear gradient to generate only the 2px height background */
	background-size: 100% 2px;
	pointer-events: none;
  }
  input[type=range]:active,
  input[type=range]:focus {
	outline: none;
  }
  input[type=range]::-webkit-slider-thumb {
	height: 20px;
	width: 20px;
	border-radius: 20px;
	background-color: #fff;
	position: relative;
	margin: 5px 0;
	/* Add some margin to ensure box shadow is shown */
	cursor: pointer;
	-webkit-appearance: none;
			appearance: none;
	pointer-events: all;
	box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
  }
  input[type=range]::-webkit-slider-thumb::before {
	content: ' ';
	display: block;
	position: absolute;
	top: 13px;
	left: 100%;
	width: 2000px;
	height: 2px;
  }
  .multi-range {
	position: relative;
	height: 50px;
  }
  .multi-range input[type=range] {
	position: absolute;
	top: 8px;
  }
  .multi-range input[type=range]:nth-child(1)::-webkit-slider-thumb::before {
	background-color: red;
  }
  .multi-range input[type=range]:nth-child(2) {
	background: none;
  }
  .multi-range input[type=range]:nth-child(2)::-webkit-slider-thumb::before {
	background-color: white;
  }

  .multi-range .multi-range-label{
	color: white;
	position: absolute;
	text-align:center;
	top: -5px;
	width: 100%;
  }

#lower-value,
#upper-value{
	position: absolute;
	bottom:-5px;
}
#upper-value{
	right:0;
 }
 .slider-value{
	color: white;
 }