
html {
    height: 100%;
}
body {
    min-height: 100%;
    font-weight: 400;
    font-family: 'Titillium web';
    font-size:14px;
    position:relative;
color:white;
background-color: #3B1216;
}

header{
    background:url(/images/header-bari.jpg) no-repeat center;
    background-size:cover;
}

header .cache{
    background:#172E3FCC;
}

header #header-logo{
    padding:50px 0;
}

header #header-logo img{
    height:100px;
}

/** MENU BAS **/
.navbar{
    margin-bottom:0;
}

.navbar-menu{
    background:transparent;
    transition: top 0.5s;
}

.header-logo img{
    height:50px;
    transition: height 0.5s;
}

#navbar{
    padding:10px 0;
    transition: padding 0.5s;
    text-align:center;
}

#navbar ul{
    float: none;
    margin: auto;
    display: inline-block;
}

#navbar > ul > li{
    margin-left:2px;
}

#navbar > ul > li > a:link,
#navbar > ul > li > a:visited,
#navbar > ul > li > a:focus,
#navbar > ul > li > a:hover{
    color:#FFF;
    font-size:18px;
    line-height:25px;
    font-weight:300;
    border-radius:5px;
    padding:10px;
    background:none;
    text-transform:uppercase;
    margin-left: 10px;
    margin-right: 10px;
}

#navbar > ul > li > a:hover{
    color:#CCC;
}

/** DROPDOWN **/
#navbar > ul > li.open > a{
    border-radius:5px 5px 0 0;
}

#navbar > ul > li.open .dropdown-menu{
    margin-top: -1px;
    min-width: 100%;
    background:#450706;
    border:none;
    border-radius:0 0 5px 5px;
    padding:5px 0 10px;
}

#navbar > ul > li.open .dropdown-menu a:link,
#navbar > ul > li.open .dropdown-menu a:visited,
#navbar > ul > li.open .dropdown-menu a:focus,
#navbar > ul > li.open .dropdown-menu a:hover{
    color:#FFF;
    font-size:16px;
    padding:5px 15px;
    background:none;
}

#navbar > ul > li.open .dropdown-menu a:hover{
    background-color:transparent;
}

.scrolled .navbar-menu{
    top:0;
}

.scrolled .navbar-inverse{
    opacity:0;
}

.scrolled .header-logo img{
    height:40px;
}

.header-image{
    background:#E0E0E0 url('/images/header.jpg') center;
    background-size:cover;
}

.header-image h1{
    color:#FFF;
    font-size:60px;
    width:75%;
    text-transform: uppercase;
    font-weight:300;
    text-align:center;
    margin:auto;
    position:relative;
    top: calc(40% - 70px);
    background: rgba(0,0,0,0.5);
    padding: 50px 0;
}

.scrolled #navbar{
    padding:0;
}

.container{
    max-width:1000px;
    width:100%;
}



    @media (max-width: 768px) {

        .page-contenu{
            padding:100px 0 50px 0;
        }
    }

h1,
h2,
h3,
h4{
    color:white;
    margin-bottom:20px;
}

h1 small,
h2 small,
h3 small,
h4 small{
    color:#FFF;
}

.modal h1,
.modal h2,
.modal h3,
.modal h4{
    color:#333;
}

.modal input{
    color:#333;
}

.page-contenu h1{
    text-align:center;
    margin:50px 0;
}

.page-contenu h3{
    font-size: 25px;
    margin: 0;
}

.page-contenu h4{
    font-weight:300;
}

.page-contenu p {
    padding:5px 0 0;
    text-align: justify;
}

a:link:not(.btn),
a:visited:not(.btn),
a:hover:not(.btn){
    color: white;
    text-decoration:none;
}

.encart h2{
    padding-top:50px;
    font-size:35px;
}

.encart.white a:link,
.encart.white a:visited,
.encart.white a:hover{
    color:#FFF !important;
    text-decoration:none;
}


.footer{        
    /*position:absolute;
    bottom:0;
    left:0;
    width:100%;
     * */
    background: #C81517;
    color:#FFF;
    font-size:12px;
    line-height:18px;
    margin-top:50px;
    padding-bottom:10px;
}

.footer h2,
.footer .h2{
    margin-bottom:20px;
    color:#FFF;
    font-size:16px;
}

.footer h2 small,
.footer .h2 small{
    font-size:16px;
}

.footer h3{
    font-size:16px;
    text-transform:uppercase;
    color:#FFF;
}

.footer .fa{
    margin-right:5px;
}

.footer-container{
    max-width:1000px;
    margin:auto;
    padding:20px;
}

.footer .footer-container a:link,
.footer .footer-container a:visited,
.footer .footer-container a:active,
.footer .footer-container a:hover{
    color:#EEE;
}

.footer .footer-container a:hover{
    color: white;
}

.footer ul.liste{
    padding:0;
    list-style-type:none;
}

.footer ul li a{
    display:block;
    margin-top:5px;
    margin-bottom:5px;
    text-transform:uppercase;
    color:#CCC;
}

.encart-mea{
    position:fixed;
    bottom:25px;
    left:25px;
    border-radius:15px;
    padding:25px;
    background:rgba(0, 0, 0, 0.6);
    //background:rgba(214, 73, 75, 0.5);
    color:#FFF;
    text-transform:uppercase;
    text-align:center;
}

.form-offset{
    visibility:hidden;
}

.dropdown.form-selector > a{
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #C81517;
    margin-bottom: 15px;
}

.dropdown.form-selector > a span{
    float:right;
    margin-top: 10px;
}

.dropdown.form-selector.open{
    background:#FFF;
    color:#212121;
}

.dropdown.form-selector.open > a{
    color:#212121;
}
.dropdown.form-selector{
    margin-bottom: 25px;
}

.dropdown.form-selector.open .dropdown-menu{
    /*min-width:225px;*/
    width:100%;
    border-radius: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.dropdown.form-selector.open .dropdown-menu ul{
    list-style-type:none;
    text-align:left;
    margin: 0;
    padding: 0 15px 15px;
    max-height: 150px;
    overflow-y: auto;
}

.dropdown.form-selector.open .dropdown-menu a:link:not(.btn),
.dropdown.form-selector.open .dropdown-menu a:visited:not(.btn),
.dropdown.form-selector.open .dropdown-menu a:hover:not(.btn) {
    color:#212121;
    font-size: 16px;
    display: block;
    margin: 0 0 10px;
}

.dropdown.form-selector.open .dropdown-menu ul a i{
    width:20px;
}

.dropdown.form-selector.open .dropdown-menu .slider{
    margin:30px 0 20px;
    width:80%;
}

.dropdown.form-selector .slider-track-high,
.dropdown.form-selector .slider-track-low {
    background: #DDD;
}

.dropdown.form-selector .slider-selection {
    background: #C81517;
}

.immobilier-recherche .btn{
    width:100%;
    margin: 5px 0;
    padding: 8px;
}

.immobilier-recherche-inline .immobilier-recherche-container .row{
    display: flex;
}

.immobilier-recherche-inline .immobilier-recherche-container .row > div{
    flex: 1 1 0px;
    float:none;
    width:auto;
    margin:0;
}


@media (min-width: 481px) and (max-width: 992px) {

    .immobilier-recherche-inline .immobilier-recherche-container .row{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .immobilier-recherche-inline .immobilier-recherche-container .row > div{
        flex: 1 0 33%;
    }
}


@media (max-width: 480px) {

    .immobilier-recherche-inline .immobilier-recherche-container .row{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .immobilier-recherche-inline .immobilier-recherche-container .row > div{
        flex: 1 0 100%;
    }
}

.immobilier-recherche-inline .form-offset{
    display:none;
}

.immobilier-recherche-inline .dropdown.form-selector > a{
    font-size:12px;
    text-align: center;
}

.immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu {
    margin: -1px 0 0;
}

.immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu ul{
    padding: 10px 15px 0px;
}

.immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu a:link:not(.btn),
.immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu a:visited:not(.btn),
.immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu a:hover:not(.btn) {
    font-size:14px;
}

.immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu .slider{
    margin:40px 0 20px;
}

@media (min-width: 993px) {
    .immobilier-recherche-inline .dropdown.form-selector.open .dropdown-menu{
        min-width:250px;
    }
}

/** Catalogue **/
.img-formated{
    display:block;
    position:relative;
    width:100%;
    padding-bottom:65%;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    margin-bottom:10px;
}

.img-formated .badge{
    position:absolute;
    bottom:15px;
    right:15px;
    padding:10px 15px;
    font-size:16px;
    background:#C81517;
}

.img-formated .see-diaporama{
    position:absolute;
    display:none;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:#000000CC url('/images/icon-zoom.png') no-repeat center;
    background-size:100px;
}
.img-formated:hover .see-diaporama{
    display:block;
}

.icon-img,
.icon-img-bien
{
    display: inline-block;
    width:1.5em;
    height:1.5em;
    background: url(/images/picto-bien.png) no-repeat center;
    background-size:cover;
    margin-bottom:-5px;
}

.icon-img-surface{
    background-image: url(/images/picto-surface.png);
}

.icon-img-piece{
    background-image: url(/images/picto-pieces.png);
}

.icon-img-date{
    background-image: url(/images/picto-date.png);
}

.listing-container .btn{
    margin-top:20px;
}

/*** FICHE DETAIL **/
.bien-info-short{
    margin-top:50px;
    font-size:20px;
    line-height:50px;
}

.bien-info-short .icon-img{
    width:2em;
    height:2em;
    margin-bottom:-14px;
}

.titre-details, .video-details {
    display: inline-block;
    vertical-align: top;
}

.video-details {
        float: right;
    margin-top: 10px;
}

.video-details a{
    text-decoration: underline!important;
}

.background-primary, .btn-primary {
    background-color: #C81517!important;
    border-color: #C81517!important;
    border-radius: 10px!important;
}

.dropdown-menu {
    background-color: white;
    color: #3B1216!important;
}

.dropdown-menu a {
    color: #3B1216!important;
}

.slider-handle {
    background-color: #3B1216!important;
    background-image: none!important;
}