/* -------------
    SOMMAIRE
------------- */

/*
    @AUTHOR : Nicolas BOUDOT

    STRUCTURE
    Structure globale du site
*/

/*
  01 - HEADER (EN-TETE)
  02 - ZONE INTERIEURE (CONTENU)
  03 - COLONNES
  04 - FOOTER (PIED DE PAGE)
        Newsletter & Catalogue
        Réassurance
        Contact + Menus
        Copyright
  05 - PAGE ERREUR
*/



/* -----------------------
  01 - HEADER (EN-TETE)
------------------------ */

.header {
    position: relative;
    z-index: 999999;
}
.headerInner {
    display: flex;
    align-items: center;
    padding: 0 38px 0 37px;
    position: fixed;
    left: 50%;
    z-index: 9999;
    top: 26px;
    width: 100vw;
    transform: translateX(-50%);
    min-height: 70px;
    border-radius: 60px;
}
.headerInner::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: rgba(44, 44, 44, 0.7);
    backdrop-filter: blur(12px) brightness(2);
    content: '';
}
html.overflow-hidden .headerInner::before {
    background: none;
    backdrop-filter: none;
}

.headerInner {
    max-width: 100%;
}

@media (min-width: 576px) {

    .headerInner {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .headerInner {
        max-width: 720px;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {

    .headerInner {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .headerInner {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {

    .headerInner {
        max-width: 1320px;
    }
}
@media screen and (max-width:991px) {
    .headerInner {
        backdrop-filter: none;
        padding: 10px 38px 10px 37px;
        width: calc(100vw - 20px);
    }
}


/* OLD */

/**********************************
    structure globale du site
***********************************/


/* ------------
HEADER (EN-TETE)
--------------*/

#header > .inner {
    padding: 10px 0;
}
/* Header scroll nav down */
header.scrollUp.nav-down {
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.32);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.32);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.32);
}
        /* logo */
        .logo {
            position: relative;
            z-index: 99;
        }
		.logo img {
			max-width: 260px;
            max-height: 120px;
		}
        @media (max-width:767px) {
            .logo img {
                max-width: 160px;
            }
        }
        /* header top bar */
		.headertopBar {
            background-color: var(--color-primary);
			padding: 5px 0;
		}
        .headertopBar a{
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            width: 30px;
            height: 30px;
        }
		.headertopBarRs li:not(:first-child) {
			margin: 0 0 0 5px;
		}


/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/


/* ----------------------
HEADER PAGE
-----------------------*/

.headerPage {
    background-color: var(--grey);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.blog .headerPage , .tax-ml_category .headerPage{
    margin-bottom: 0;
}
.blog #contents , .tax-ml_category #contents{
    position: relative;
    z-index: 999;
    margin-top: -8rem;
}
@media (max-width:539px) {
    .headerPage{
        margin-bottom: 30px;
    }
}
@media (min-width:540px) {
    .headerPage{
        margin-bottom: 40px;
    }
}
@media (min-width:992px) {
    .headerPage{
        margin-bottom: 60px;
    }
}
@media (min-width:1200px) {
    .headerPage{
        margin-bottom: 90px;
    }
}
.headerPage::before {
    content: '';
    width: 1863px;
    height: 1863px;
    border-radius: 50%;
    position: absolute;
    pointer-events: none;
    top: 28%;
    right: -63%;
    background-color: var(--color-primary);
    mix-blend-mode: overlay;
    z-index: 10;
}
@media screen and (max-width:991px) {
    .headerPage::before {
        right: -90%;
    }
}
@media screen and (max-width:800px) {
    .headerPage::before {
        right: -113%;
    }
}
@media screen and (max-width:768px) {
    .headerPage::before {
        right: -161%;
    }
}
@media screen and (max-width:570px) {
    .headerPage::before {
        right: -210%;
    }
}
@media screen and (max-width:500px) {
    .headerPage::before {
        right: -252%;
    }
}
@media screen and (max-width:420px) {
    .headerPage::before {
        right: -308%;
    }
}
@media screen and (max-width:370px) {
    .headerPage::before {
        right: -359%;
    }
}
@media screen and (min-width:1367px) {
    .headerPage::before {
        top: 27%;
        right: -35%;
    }
}
.headerPage::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 130px;
    background: var(--white);
    z-index: 10;
    pointer-events: none;
    border-radius: 50% 50% 0 0;
    transform: scale(1.1);
}
		.headerPage-text {
            padding-top: 5rem;
            padding-bottom: 5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 250px;
            position: relative;
            z-index: 10;
            flex-direction: column;
		}
        .bloc-headerPage-blocs {
            height: 90vh;
        }
        @media screen and (max-width:768px) {
            .headerPage-text {
                min-height: 870px;
            }
        }
        .headerPage-text > div {
            margin-top: -8rem;
        }
        .headerPage-text .col-50-responsive {
            max-width: 100%;
        }

        @media screen and (min-width:992px) {
            .headerPage-text .col-50-responsive {
                max-width:  70%;
            }
        }
        @media screen and (min-width:1201px) {
            .headerPage-text .col-50-responsive {
                max-width: 60%;
            }
        }
        .headerPage-picture img {
            opacity: 0.27;
            filter: grayscale(1);
        }
        .page-template-page-home .headerPage-picture img {
            opacity: .6;
        }
        .headerPage-text .desc {
            padding-right: 28px;
        }
        .headerPage-text .desc p {
            color: var(--white);
            font-size: 1.6rem;
        }
        .headerPage-text .desc a {
            pointer-events: all;
        }
/* Search bar */
.search-bar {
    margin-left: 32px;
    min-width: 15px;
}
@media screen and (max-width:991px) {
    .search-bar {
        display: none;
    }
}
.search-bar form {
    display: flex;
    align-items: center;
    position: absolute;
    top: -11px;
    right: 0;
}
.search-bar .search-field {
    max-width: 0;
    width: 286px;
    overflow: hidden;
    background-color: var(--white);
    border: 0;
    outline: 0;
    border-radius: 50px;
    line-height: 1;
    min-height: 24px;
    padding: 0;
    transition: max-width .5s;
    color: var(--grey);
    font-family: var(--font-secondary);
    font-size: 1.4rem;
}
.search-submit {
    background: none;
    border: 0;
    cursor: pointer;
    outline: 0;
    padding: 0;
    position: relative;
    z-index: 99;
}
.search-bar-active .search-submit .icon-search::before {
    color: var(--grey);
}
.search-submit .icon-search{
    display: block;
    font-size: 2.1rem;
    transform: rotate(-41deg);
}
header.search-bar-active .search-bar .search-field {
    max-width: 300px;
    transition: max-width .5s;
    margin-right: -25px;
    padding: 0 15px;
}
header.search-bar-active .search-bar .search-field:hover, header.search-bar-active .search-bar .search-field:focus {
    border: 1px solid var(--grey);
}
header.search-bar-active .search-bar .search-field:focus::placeholder {
    color: transparent;
}
.btn-close-search {
    display: none;
}
header.search-bar-active .btn-close-search {
    display: block;
    margin-left: 22px;
    margin-top: 5px;
    cursor: pointer;
}
/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
/* -------------------
FOOTER (PIED DE PAGE)
--------------------*/
footer#footer {
}
	footer#footer ul {
		margin: 0;
        padding-right: 24px;
	}
		footer#footer ul li {
			padding: 0;
		}
			footer#footer ul li a, .footer--adresse p {
				font-size: 1.4rem;
				color: var(--white);
                font-family: var(--font-secondary);
                text-decoration: none;
                line-height: 157%;
			}
            footer#footer .headertopBarRs {
                margin-top: 3.2rem;
            }
            @media screen and (max-width:768px) {
                footer#footer .headertopBarRs {
                    margin-left: auto;
                }
                .footer--adresse {
                    padding-left: 0;
                }
            }
            footer#footer .headertopBarRs a {
                font-size: 2.5rem;
            }
            footer#footer .headertopBarRs li {
                margin-right: 12px;
            }
            footer .like-h3 {
                color: var(--white);
                margin-bottom: 23px;
                font-size: 2.7rem;
                text-transform: uppercase;
            }
/* Footer contact */
.footer-contact {
    padding: 68px 0 35px 0;
}
.footer-contact .btn--white {
    padding: 0 45px;
}
.footer-contact .like-h2 {
    color: var(--white);
    margin-bottom: 10px;
}
.footer-contact p {
    color: var(--white);
    font-size: 1.7rem;
    line-height: 140%;
}
.footer-contact::after {
    content: '';
    position: absolute;
    width: 1964px;
    height: 1964px;
    top: 72px;
    left: 30%;
    z-index: 10;
    background-color: var(--color-primary);
    mix-blend-mode: multiply;
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
@media screen and (max-width:1366px) {
    .footer-contact::after {
        left: 23%;
    }
}
/* Footer gray */
.footer-gray {
    padding: 60px 0 53px 0;
    background-color: var(--grey);
}
@media screen and (max-width:768px) {
    .footer--logos > div {
        width: 93%!important;
        align-items: center;
        justify-content: flex-end!important;
    }
}
/* Footer Logos */
.footer-logos {
    padding: 33px 0 40px 0;
    background-color: var(--white);
}
.footer-logos .aspect-square {
    max-width: 95px;
}
.footer-logos .col-md-5 {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width:768px) {
    .footer-logos .col-md-6:not(.border-right-darkgray) .item:first-child {
        display: flex;
        justify-content: center;
    }
    .footer-logos .col-md-6:not(.border-right-darkgray) .item:not(:first-child) {
        width: 45%;
    }
    .footer-logos .col-md-6:not(.border-right-darkgray) .item:not(:first-child) .aspect-square {
        width: initial;
    }
}
.footer-logos .col-md-5:last-child .aspect-square {
    max-width: 70px;
}
footer .border-right-darkgray {
    position: relative;
}
footer .border-right-darkgray::after {
    content: '';
    position: absolute;
    right: 43px;
    top: 50%;
    width: 3px;
    height: 85%;
    background-color: var(--grey);
    transform: translateY(-50%);
}
@media screen and (max-width:768px) {
    footer .border-right-darkgray::after {
        width: 95%;
        height: 3px;
        right: 50%;
        transform: translate(50%);
        top: 0;
    }
    footer .border-right-darkgray {
        margin-top: 3rem;
    }
    .footer-logos .aspect-square {
        width: 40%;
        max-width: initial;
    }
    .footer-contact::after {
        top: 73%;
        left: 69%;
    }
    .footer-contact .absolute-full {
        object-position: 25%;
    }
}
