/* ======================================================= */
/*                         GENERAL                         */
/* ======================================================= */



html {
--background: #ffffff;
--text: #000000;
--text2: #2b2b2b;
--opacity: 1;
--fade: rgba(255, 255, 255, 0.79);
--imgPage: url("/assets/images/bgimg.jpg") no-repeat center top ;
}

html[data-theme='dark'] {
--background: #000000;
--text: #ffffff;
--text2: #6d6c6c;
--opacity: 0.4;
--fade: rgba(0, 0, 0, 0.79);
--imgPage: url("/assets/images/bgimg-dark.jpg") no-repeat center top ;


}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
  transition: all 750ms ease !important;
  transition-delay: 0 !important;
}
/* Reset */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 15px;
  top: 4px;
right: 6px
  
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 0px;
  bottom: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: 0 0px 10px #212121;
    background: white url('/modele/images/sun.png');

  background-repeat: no-repeat;
  background-position: center;
}

input:checked + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ccc;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
    box-shadow: 0 0px 15px #ffffff;

    background: white url('/modele/images/moon.png');

  background-repeat: no-repeat;
  background-position: center;
}

.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}


body {
    font-size: 14px;
background: var(--background);
color: var(--text);
}
.marginauto { margin: auto;}

a{
color: var(--text)
}
.lang {
  position: absolute;
  right: 15px;
  top: -38px;
  z-index: 50;
}
.index .lang {
  top: -38px;
}
/* ======================================================= */
/*                          INDEX                          */
/* ======================================================= */
.detail .main-content, .agence .main-content, .alerte-email .main-content, .estimation .main-content, .mentions-legales .main-content, .contact .main-content, .page-erreur, .recherche-detaillee .main-content {
  background: var(--background);
}
/* HEADER */
.index .wrapper {
    position: relative;
    height: 100vh;
    background: #000000;
}
.header {
    background: transparent;
}
.moteur {
    padding: 0;
    position: absolute;
    bottom: 10%;
    left: 20%;
    width: 60%;
    min-height: inherit;
    z-index: 20;
    background-color: transparent;
}
.moteur {
    display: none;
}
.index .moteur {
    display: block;
}
/* MENU */
#navbarSupportedContent .dropdown ::before {
    right: -17px;
}
/* section 1 */
.index .main-content {
    padding: 0;
    margin-top: 0;
}
.section {
    padding: 2rem;
}
.index .produits {
    padding-right: 15px;
    padding-left: 15px;
}
.prod_accueil {
    margin: auto;
}
.prod_accueil article {
    margin: auto 15px;
}
.titre-section {
    font-size: 3em;
    line-height: 1;
color: var(--text2)!important;

}
.titre-section span{
    font-weight: 700;
    text-transform: uppercase;
    color: #17a2b8;
}
.titre-section::after {
    content: "";
    display: block;
    position: relative;
    background: var(--text2);
    height: 4px;
    width: 60px;
    margin: 15px 0;
}

.prod_accueil {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    flex-wrap: nowrap;
}

.lafficheur li:hover, .lafficheur li.active {
    background-color: #17a2b8!important;
}
.prod_accueil .block_info {
    z-index: 0;
    padding: 10px;
    text-align: center;
    margin-top: -57px;
    min-height: auto;
    background: var(--fade);
    color: var(--text2);
}

/* section 2 */
.btn-row2 {
    background: #17a2b8;
    margin: 0 0 7px 0;
    vertical-align: middle;
    padding: 14px 10px;
}
.btn-row2:hover {
    background: #2b2b2b;
}
.img-rond {
    border-radius: 50%;
}

/* section 3 */
.cat {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0;
    cursor: pointer;
    margin-bottom: 20px;
}
.card-img {
    width: 100%;
    border-radius: 0;
}
.cat-infos-overlay {
    position: absolute;
    z-index: 2;
    top: auto;
    right: 0;
    background: var(--fade);
    color: #000;
    width: 100%;
    height: 57px;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    bottom: 0;
}
.cat:hover .cat-infos-overlay {
    background: var(--fade);
    width: 100%;
    height: 57px;
}
.cat-text {
    color: var(--text2);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .1em;
    margin-bottom: 0;
}
.cat-text::after {
    content: "";
    display: block;
    position: relative;
    background: #17a2b8;
    height: 2px;
    width: 80px;
    margin: 8px auto 0 auto;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
 .cat-text-small {
    color: #000;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    display: block;
}


/* LISTING */
.detail-biens-similaires { margin-top: 20px;}
.detail-biens-similaires .block_info {
    margin-top: -75px;
}


/* ======================================================= */
/*                       RESPONSIVE                        */
/* ======================================================= */
@media (min-width: 992px) {
    header .navbar {
        background: rgba(0,0,0,0.5);
    }
    .list-inline-item:not(:last-child) {
        margin-right: 0;
    }
    .nav-main {
        padding: 0;
    }
    .nav-main li {
        padding: 0 15px;
    }
    .navbar-nav {
        margin-top: 0;
    }
    .nav-main li a {
        padding-bottom: 0;
    }
    .header__logo {
        width: 16%;
    }
    .dropdown-menu {
        margin-top: 0;
    }
    .nav-main li a:hover {
        color: #17a2b8 !important;
    }
    .nav-main li .dropdown-menu a:hover {
        color: #fff !important;
    }
}

@media (max-width: 991px) {
    .index .prod_accueil, .detail .prod_accueil {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .index .produits {
        padding-right: 0;
        padding-left: 0;
    }
    .prod_accueil article {
        margin: 0 15px 15px 15px;
    }
    .titre-section {
        padding: 15px;
    }
    .prod_accueil .info_prix {
        line-height: 12px;
    }
    .search__form-item:nth-child(1) {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .search__form-item:nth-child(n+2) {
        width: calc(100% / 2 - 0px);
        margin-right: 0;
    }
    .search__form-item.c_valid {
        width: 100%;
    }
    .btn-row2 {
        margin: 0 7px 9px 15px;
    }
    .prod_accueil .info_ville {
        font-size: 11px;
    }
    .cat {
        margin: 15px 9px;
    }
}

@media (max-width: 768px) {
    .search__form-item:nth-child(n+2) {
        margin-bottom: 5px;
        vertical-align: top;
        width: calc(100% / 1 - 10px);
        margin-left: 5px;
    }
    .search__form-item:nth-child(1) {
        width: 100%;
        margin-left: 5px;
        margin-right: 5px;
    }
}
@media (max-width: 560px) {
    .titre-section {
        font-size: 2.5em;
    }
    .index .prod_accueil, .detail .prod_accueil {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .prod_accueil .block_info {
        margin-top: -61px;
    }
    .img-rond {
        border-radius: 50%;
        width: 50%;
    }
    .btn-row2 div { text-align: center;}
}





/* ======================================================== */
/*                           VIDEO                          */
/* ======================================================== */
.home-visuel-wrapper {
    width: 100%;
    /* float: left; */
    background: #1b1b1b var(--imgPage);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.home-visuel-wrapper .video-wrapper {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    opacity: var(--opacity)
}
.home-visuel-wrapper .video-wrapper {
    display: none;
}
.index .home-visuel-wrapper .video-wrapper {
    display: block;
}
.home-visuel-wrapper .video-wrapper #player {
    width: 100vw;
    height: 100vh;
}
.home-visuel-wrapper .video-wrapper #player .sliderVideo {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {

}

@media (max-width: 420px) {
    .home-visuel-wrapper {
        position: initial;
    }
}