﻿
html {
    overflow: hidden;
}
html, body {
    height: 100%;
    background-color: #fff;
    font-size: 16px;
}

.hedis-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background-color: #155671;
    transition: all 400ms ease;
    z-index: 3;
}

.hedis-sidebar-body {
    position: relative;
    height: calc(100% - 250px);
    width: 100%;
    margin-top: 75px;
    z-index: 1;
}

.hedis-sidebar-footer {
    position: relative;
    height: 100px;
    width: 100%;
}

@media (max-width: 768px) {
    .hedis-sidebar-body {
        height: calc(100% - 175px);
    }

    .hedis-sidebar {
        width: 100%;
        transform: translateX(-100%);
    }

    body.show-sidebar .hedis-sidebar {
        transform: translateX(0);
        overflow: auto;
    }
}



.hedis-sidebar-menu {
    padding: 15px 30px 15px 15px;
    margin: 0;
    margin-top: 150px;
    text-align: right;
}

    .hedis-sidebar-menu li {
        position: relative;
        list-style: none;
    }

        .hedis-sidebar-menu li > a {
            display: block;
            padding: 10px 12px;
            color: #fff;
            text-transform: uppercase;
            text-decoration: none;
            font-size: 11px;
            font-weight: 400;
            cursor: pointer;
            transition: all 400ms ease;
        }

    .hedis-sidebar-menu > li > a {
        font-size: 14px;
        line-height: 22px;
    }

    .hedis-sidebar-menu > li > ul {
        position: absolute;
        left: 100%;
        padding: 15px 15px 15px 45px;
        margin: -40px 0 0 0;
        background-color: #155671;
        text-align: left;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        z-index: 2;
        transform: translateY(100px);
        transition: all 400ms ease;
    }

    .hedis-sidebar-menu > li:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hedis-sidebar-menu > li.active > a,
    .hedis-sidebar-menu li:hover > a,
    .hedis-sidebar-menu li:hover > a::before {
        color: #1ab7ea;
    }

@media (max-width: 768px) {
    .hedis-sidebar-menu {
        padding: 15px;
        margin-top: 50px;
        text-align: center;
    }

        .hedis-sidebar-menu > li > ul {
            position: relative;
            left: auto;
            padding: 0;
            margin: 0;
            text-align: center;
            transform: translateY(0);
        }

            .hedis-sidebar-menu > li > ul > li > a {
                height: 0;
                padding: 0 12px;
            }

        .hedis-sidebar-menu > li:not(.active):hover > ul {
            opacity: 0;
            visibility: hidden;
        }

        .hedis-sidebar-menu > li.active > ul {
            padding: 0 0 15px 0;
            opacity: 1;
            visibility: visible;
        }

            .hedis-sidebar-menu > li.active > ul > li > a {
                height: 35px;
                padding: 10px 12px;
            }

    .hedis-sidebar-menu-is-list > a {
        position: relative;
    }

        .hedis-sidebar-menu-is-list > a::before {
            content: "\f107";
            font: normal normal normal 14px/1 FontAwesome;
            position: absolute;
            right: 10px;
            top: 50%;
            color: #fff;
            transform: translateY(-50%);
            transition: all 400ms ease;
        }

    .hedis-sidebar-menu-is-list.active > a::before {
        transform: translateY(-50%) rotate(180deg);
    }
}




.sc_social {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 180px;
}

.sc_socials_item {
    float: left;
    margin-right: 10px;
}

.social_icons {
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    transition: all 400ms ease;
}

    .social_icons:hover {
        color: #fff;
        background-color: #1ab7ea;
    }



.hedis-content {
    position: relative;
    min-height: 100%;
    margin-left: 300px;
    overflow: hidden;
    transition: margin 400ms ease;
}
.hedis-content .container,
.hedis-content .container-fluid {
    max-width: 100%;
}

@media (max-width: 768px) {
    .hedis-content {
        margin-left: 0;
    }
}


.famille-list {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 1;
}

    .famille-list > div {
        float: left;
        position: relative;
        width: 12.5%;
        transition: all 400ms ease;
    }

        .famille-list > div.is-hidden {
            opacity: 0;
            transform: translate(0, 100%);
        }

        .famille-list > div > a > div,
        .famille-list > div > div, 
        .details {
            margin-left: 30px;
            display: block;
            max-width: calc(100% - 60px);
            padding-bottom: calc(100% - 60px);
            border-radius: 100%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            box-shadow: 0 0 15px -5px #000;
            cursor: pointer;
        }

        .famille-list > div:hover {
            transform: scale(1.2);
        }

@media (max-width: 1800px) {
    .famille-list > div > a > div,
    .famille-list > div > div {
        margin-left: 20px;
        max-width: calc(100% - 40px);
        padding-bottom: calc(100% - 40px);
    }
}

@media (max-width: 1500px) {
    .famille-list > div > a > div,
    .famille-list > div > div {
        margin-left: 10px;
        max-width: calc(100% - 20px);
        padding-bottom: calc(100% - 20px);
    }
}

@media (max-width: 1200px) {
    .famille-list > div > a > div,
    .famille-list > div > div {
        margin-left: 5px;
        max-width: calc(100% - 10px);
        padding-bottom: calc(100% - 10px);
    }
}

@media (max-width: 768px) {
    .famille-list > div {
        width: 25%;
        margin-top: 20px;
    }

        .famille-list > div > a > div,
        .famille-list > div > div {
            margin-left: 20px;
            max-width: calc(100% - 40px);
            padding-bottom: calc(100% - 40px);
        }
}


.hedis-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: #fff;
    box-shadow: -10px -50px 15px 50px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.hedis-navbar-logo {
    float: left;
    width: 300px;
    height: 72px;
    margin: 0;
    padding: 0;
    text-align: center;
    background: #fff;
    transition: all 400ms ease;
}

    .hedis-navbar-logo > a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hedis-navbar-logo img {
        display: block;
        margin: 0 auto;
        height: 100%;
    }

.hedis-navbar-menu {
    float: left;
    width: calc(100% - 300px);
    transition: width 400ms ease;
}

.hedis-navbar-menu-right {
    float: right;
}

.hedis-navbar-menu-left,
.hedis-navbar-menu-right {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hedis-navbar-menu li {
    display: inline-block;
}

    .hedis-navbar-menu li > a {
        display: block;
        padding: 15px 20px;
        height: 72px;
        color: #333;
        font-size: 16px;
        line-height: 45px;
        text-decoration: none;
        cursor: pointer;
        transition: all 400ms ease;
    }

        .hedis-navbar-menu li > a > i {
            font-size: 20px;
        }

        .hedis-navbar-menu li > a:hover {
            color: #222;
            text-decoration: none;
            background-color: rgba(0, 0, 0, 0.1);
        }

    .hedis-navbar-visible-mobile,
    .hedis-navbar-menu li.hedis-navbar-visible-mobile {
        display: none;
    }

@media (max-width: 768px) {
    .hedis-navbar-logo {
        width: 160px;
        background: transparent;
    }

    .hedis-navbar-menu {
        width: calc(100% - 160px);
    }

    .hedis-navbar-visible-mobile {
        display: block;
    }

    .hedis-navbar-menu li.hedis-navbar-visible-mobile {
        display: inline-block;
    }

    .hedis-navbar-menu li > a {
        padding: 15px 15px;
    }
}


.hedis-navbar-padding {
    padding-top: 72px;
}

.hedis-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item {
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.hedis-carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    transform-origin: bottom center;
    transition: all 2000ms ease;
}

    .hedis-carousel-item.is-hidden {
        opacity: 0;
        transform: scale(2) rotateX(45deg);
    }

    .hedis-carousel-item::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.1;
    }

.hedis-carousel-content {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 100%;
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.1em;
    font-family: 'Raleway', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    color: #fff;
    transform: translate(-50%, 50%);
    transition: all 2400ms ease;
}

@media (max-width: 768px) {
    .hedis-carousel-content {
        top: 40%;
    }
}

.hedis-carousel-item.is-hidden .hedis-carousel-content {
    opacity: 0;
    transform: translate(-50%, -300%);
}

.owl-item.active .hedis-carousel-content,
.active > .hedis-carousel-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.hedis-carousel-content h2 {
    font-size: 2.5em;
    font-weight: bold;
}

.hedis-carousel-content p {
    font-size: 1.2em;
    font-weight: bold;
}

.hedis-carousel-content .is-uppercase {
    text-transform: uppercase;
}

.hedis-carousel-content h2.bigger {
    font-size: 3.5em;
}

.is-blue {
    color: #1ab7ea;
}

.hedis-carousel .owl-prev,
.hedis-carousel .owl-next {
    position: absolute;
    top: 45%;
    left: 0;
    width: 70px;
    height: 70px;
    outline: none;
    background-color: #12252d !important;
    color: #fff !important;
    font-size: 40px !important;
    opacity: 0.7;
    transform: translateY(-50%);
    transition: all 400ms ease;
}

.hedis-carousel .owl-next {
    left: unset;
    right: 0;
}

    .hedis-carousel .owl-prev > i,
    .hedis-carousel .owl-next > i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 400ms ease;
    }

    .hedis-carousel .owl-prev:hover,
    .hedis-carousel .owl-next:hover {
        opacity: 1;
    }

        .hedis-carousel .owl-prev:hover > i {
            transform: translate(-100%, -50%);
        }

        .hedis-carousel .owl-next:hover > i {
            transform: translate(0%, -50%);
        }


#hedis-search {
    position: relative;
}

    #hedis-search > a {
        position: relative;
    }

        #hedis-search > a > i {
            transition: all 400ms ease;
        }

            #hedis-search > a > i.fa-close {
                position: absolute;
                top: 50%;
                left: 50%;
                opacity: 0;
                transform: translate(-50%, -50px);
            }

    #hedis-search.active > a > i.fa-close {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    #hedis-search.active > a > i.fa-search {
        opacity: 0;
        transform: translateY(50px);
    }

    #hedis-search > div {
        position: absolute;
        top: 100%;
        right: 0;
        margin: 10px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 3px 15px -5px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translateX(50%);
        transition: all 400ms ease;
    }

    #hedis-search.active > div {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        transition: all 400ms ease;
    }

    #hedis-search > div input {
        border: none;
        outline: none;
        width: 200px;
    }

    #hedis-search > div button {
        border: none;
        outline: none;
        box-shadow: none;
        background-color: transparent;
    }

        #hedis-search > div button > i {
            transition: all 200ms ease;
        }

        #hedis-search > div button:hover > i {
            transform: translateX(50%);
        }

@media (max-width: 768px) {
    #hedis-search > div {
        position: fixed;
        top: 72px;
        left: 0;
    }

        #hedis-search > div input {
            width: calc(100% - 30px);
        }
}













section {
    position: relative;
    padding: 10px 0;
    color: #333;
}

.bg-grey {
    background-color: #f8f8f8;
}

.bg-img {
    background-image: url('../images/famille/famille6.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-img-overlay {
    position: relative;
    color: #fff;
}

    .bg-img-overlay::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        opacity: 0.3;
    }

.full-height,
.full-height-center {
    position: relative;
    height: calc(100vh - 72px);
}

    .full-height-center > .container-fluid,
    .full-height-center > .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

section h1,
section h2 {
    position: relative;
    margin-bottom: 40px;
}

    section h1::before,
    section h2::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -20px;
        height: 2px;
        width: 100px;
        background-color: #12252d;
        transform: translateX(-50%);
    }

section ul {
    padding: 0;
    margin: 10px 0;
    list-style: none;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.jumbotron {
    position: relative;
    padding: 10px 25px !important;
    border-radius: 3px;
}

    .jumbotron p {
        font-size: 17px;
    }


#hedis-sidebar-search {
    display: none;
}



/* NOUVEAU THEME */

html, body {
    background: #f0f0f0;
    height: initial;
}

.hedis-navbar {
    border: none;
    overflow: hidden;
    margin: 20px;
}

.hedis-navbar,
.hedis-navbar-logo,
.hedis-navbar-menu li > a {
    height: 90px;
}
/*
        .hedis-navbar-menu li > a {
            line-height: 1.2em;
            padding-top: 28px;
        }
            */
.hedis-navbar-menu li > a {
    line-height: 65px;
}

.hedis-sidebar {
    margin: 20px;
    top: 110px;
    width: 250px;
    z-index: 10;
}

body.catalogue .hedis-navbar-menu-right #hedis-search,
body.fiche-detaillee .hedis-navbar-menu-right #hedis-search {
    display: none;
}

.hedis-sidebar-body {
    margin-top: 0;
    height: unset;
}

.hedis-sidebar-menu {
    padding: 15px 30px;
    margin-top: 0;
    text-align: left;
}

    .hedis-sidebar-menu li > a {
        padding: 15px 12px;
    }

.card-block {
    background: #fff;
    padding: 20px;
}

.hedis-sidebar,
.hedis-navbar,
.card-block {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.hedis-content {
    padding: 10px;
    margin: 130px 20px 20px 290px;
    min-height: initial;
    height: calc(100vh - 150px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}


#hedis-search > div {
    position: fixed;
    top: 115px;
    right: 10px;
}
.hedis-navbar-menu {
    width: 100%;
}
@media (max-width: 768px) {
    #hedis-search > div {
        position: fixed;
        top: 115px;
        left: 10px;
    }
    .hedis-sidebar {
        width: calc(100% - 40px) !important;
        transform: translateX(-120%);
    }

    .hedis-content {
        margin-left: 20px;
    }
}


.breadcrumb.catalogue-breadcrumb {
    margin: 0px 0px 10px;
    padding: 10px;
    background: #d8effa;
}
footer {
    background: #2b718e;
    padding: 30px 0 10px 0;
    color: #fff;
    margin-top: 15px;
}

    footer .footer-bottom {
        background: #155671;
        margin-bottom: -10px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    footer a {
        color: #ccc;
    }

        footer a:hover {
            color: #fff;
        }

.footer-logo {
    max-height: 100px;
}

footer .plan-site ul {
    padding: 10px 0 20px 0;
}

footer .plan-site li {
    list-style: none;
}

footer .plan-site a {
    display: block;
    color: #ccc;
}

    footer .plan-site a:hover {
        color: #fff;
    }