/*Fonctionnement de base


*****************************************/


h4 {
    font-size: 28px !important;
    font-weight: 200 !important;
}

.fontPlayfair {
    font-family: 'Playfair Display', serif !important;
}

h2 {
    font-weight: 200 !important;
}

h2 span {
    font-weight: 600 !important;
}

.btn:focus {
    box-shadow: 0 0 0 black;
}

h1 {
    font-weight: 200 !important;
}

h1 span {
    font-weight: 600 !important;
}


/*Gestion du header


*************************************/
header .w-100 {
    box-shadow: 0px 2px 5px rgba(100, 100, 100, 0.5);
    display: flex;
    background: white;
}

header a[class="active"] {
    color: black;
}

header .logo {
    padding: 20px 0;
}

header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


header .navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;

}

header .menu {
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
}

header .menu ul {
    float: right;
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}


header .reseauSociaux li {
    padding-left: 30px;
    font-size: 1.2em;

}

header .reseauSociaux li a {
    width: 30px;
    height: 30px;
    border: solid gray 1px;
    border-radius: 50%;
    text-align: center;

}

header .reseauSociaux li a:hover {
    border: solid 1px black;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style: none;
    color: black;
}

nav ul li a,
.logo a img {
    display: block;
    color: dimgray;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:active,
.logo a img:active {
    transition: 0s;
    transform: scale(0.9);
}


a:hover {
    color: black;
    text-decoration: none;
}

.propriete:hover div,
.propriete div:hover {
    display: block;
    opacity: 1;
}

.propriete div {
    transition: 0.5s;
    opacity: 0;
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px 15px;
}

/*Responsive

***********************************/

.button-toggle i {
    color: dimgray;
    font-size: 2em;
}

.button-toggle {
    display: none;
    height: 85px;
    width: 100px;
    border: none;
    background: rgba(240, 240, 240, 1);
    transition: 0.3s;
}

.button-toggle i {
    transition: 0.3s;
}

.button-toggle:hover {
    background: rgba(100, 100, 100, 1);
}

.button-toggle:hover i {
    color: rgba(220, 220, 220, 1);
}

.button-toggle:active i {
    transition: 0s;
    transform: scale(0.9);
}

.button-toggle:active {
    transition: 0s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5) inset, -2px -2px 5px rgba(255, 255, 255, 0.5) inset;

}

button:focus {
    outline: none;
}

@media screen and (max-width:991px) {
    .propriete div {
        display: block;
        opacity: 1;
    }

    .propriete p {
        padding-right: 20px;
    }

    .button-toggle {
        display: block;
    }

    .menu {
        display: none;
        width: 100%;
        top: 100px;
        right: -250px;
        z-index: 1019;
    }

    .menu ul {
        padding: 0 !important;
        flex-direction: column;
        align-items: flex-end;
        max-width: none !important;
        width: 100vw !important;
    }

    .menu ul li {
        text-align: end;
        width: 100%;
    }

    .menu ul li a {
        padding: 10px;
    }

    .menu ul li:hover {
        background: rgba(100, 100, 100, 0.1);
    }

    .propriete div {
        position: relative;
        text-align: end;
        top: 0;
        padding: 0;
        background: none;
    }

    .propriete div p {
        margin: 10px 0;
    }

    .navigation {
        justify-content: flex-end;
    }

    .menuToggleOpened i::before {
        content: '\f00d';
    }

    .menuOpened {
        display: block;
        position: absolute;
        right: 0;
        animation: menuOpenedAnimation 0.5s;
        animation-fill-mode: forwards;
        animation-timing-function: ease-in-out;
    }

    @keyframes menuOpenedAnimation {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }

        to {
            opacity: 1;
            transform: translateY(0%);
        }
    }
}

@media screen and (max-width:540px) {
    header .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo img {
        height: 30px;
    }

    .navigation {
        align-items: center;
        justify-content: center;
    }

    .button-toggle {
        height: 120px;
    }

    .reseauSociaux {
        width: 100%;
        justify-content: space-between;
    }

    .menu {
        top: 120px;
    }

    .reseauSociaux li {
        padding: 10px;
        padding-left: 10px !important;

    }

}

/*Gestion du header back office

*****************************************/

.header-conf p{
    margin: 0;
    padding: 10px 30px;
    border-right: solid 1px rgba(104,104,104,0.5);
    border-left: solid 1px rgba(104,104,104,0.5);
    color: white;
}

.header-conf p a{
    color:white;
    opacity: 0.8;
}

.header-conf p a:hover{
    color:white;
    opacity: 1;
}