/*!
Theme Name: Abrets
Template: theme-ns
Author: Pierre ARNAUD
Version: 1.0.0
Text Domain: default
*/
body.sc-on {
    padding-top: var(--head-height);
}

.sc-on .head {
    height: var(--head-height);
}

.head-r-soc, .head-r-ct {
    display: none;
}

.head-logo-a {
    position: relative;
}

.head-logo-sc {
    opacity: 0;
    position: absolute;
    transition: opacity var(--time);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.top-on .head-logo-sc {
    opacity: 1;
}

@media (min-width: 992px) {
    .head {
        padding-right: 6rem;
    }

    .head-in {
        color: var(--color-white);
        position: relative;
        transition: transform var(--time), color var(--time);
    }

    .head-search {
        top: var(--head-height);
    }

    .top-on .head-in {
        color: var(--color-neutral);
    }

    .head-r {
        justify-content: flex-end;
    }

    .head-top {
        display: none;
    }

    .head-r-ct {
        align-items: center;
        background: var(--color-main);
        color: var(--color-white);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        list-style: none;
        position: absolute;
        margin: 0;
        padding: .5rem;
        right: -4rem;
        top: calc(var(--head-pad-top) * -1);
        bottom: calc(var(--head-pad-top) * -1);
        width: 3rem;
    }

    .head-r-ct i {
        font-size: 1.8em;
        line-height: 1;
        margin-right: 0 !important;
    }

    .head-r-soc {
        background: var(--color-white);
        color: var(--color-neutral);
        display: block;
        padding: .5em;
        position: absolute;
        right: -6rem;
        top: 0;
        bottom: 0;
        width: 2rem;
        top: calc(var(--head-pad-top) * -1);
        bottom: calc(var(--head-pad-top) * -1);
    }

    .head-r-soc .social-wr {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 100%;
    }

    .head-r-soc .social {
        line-height: 1;
        margin: 0;
        padding: .1em 0;
    }

    .sc-on .head-menu > .menu-item.mega-menu > .sub-menu {
        top: var(--head-height);
    }
}

@media (min-width: 1200px) {
    .sc-on .head .head-logo img {
        max-height: var(--logo-height);
    }
}

.front .page-head {
    align-items: flex-end;
    min-height: calc(100vh - var(--head-height));
    padding-bottom: 0;
}

.front .page-head-bg {
    bottom: 10rem;
}

.head-tr .front .page-head-bg:after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%);
    top: 0;
    height: 100%;
}

.social img {
    max-height: 17px;
    height: auto;
    width: 17px;
}

.front-top-wr {
    background: var(--color-white);
    border-top: 10px solid var(--color-main);
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1em 1em;
    text-align: center;
}

.front .page-head h1 {
    color: var(--color-main);
    margin: 2rem 0 .5rem;
}

.front .front-top p {
    color: var(--color-main);
    font-size: 1.2em;
    line-height: 1.2;
}

.front .front-top .btn {
    min-width: 0;
    min-height: 0;
    padding: .25rem;
}

.front .front-top .btn i {
    font-size: 2em;
    line-height: 0;
    margin: 0;
}

@media (max-width: 991.98px) {
    .front-top-wr {
        padding-bottom: 3.5rem;
    }
}

.foot-main {
    background: var(--color-soft);
    color: var(--color-black);
}

.foot-logo {
    border-bottom: 1px solid currentColor;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
}

a.foot-soc {
    word-break: break-all;
}

.foot-main .social-wr {
    font-size: 1.5em;
    margin-top: 1.5rem;
}

.foot-img {
    height: auto;
    max-width: 100%;
}

.foot .social img {
    max-height: 29px;
    width: 29px;
}

#foot-ct {
    background: var(--color-neutral);
    color: var(--color-white);
    overflow: auto;
    overscroll-behavior-y: none;
    padding: 2.5em 1.5em 1.5em;
    position: fixed;
    top: 0;
    left: 100%;
    bottom: 0;
    width: var(--quickform-width);
    z-index: 1100;
    transition: transform var(--time), visibility 0s var(--time);
    visibility: hidden;
}

.fct-on #foot-ct {
    transform: translate3d(-100%, 0, 0);
    transition: transform var(--time), visibility 0s;
    visibility: visible;
}

#foot-ct-in {
    padding-top: 1em;
}

#foot-ct-in .ct-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 1em;
}

#foot-ct-in .ct-icon {
    background: var(--color-white);
    color: var(--color-main);
    margin: 0 0 .5em;
}

#foot-ct-in .social img {
    filter: opacity(0.5) drop-shadow(0 0 0 var(--color-main)) saturate(400%);
}

#foot-ct-cl {
    position: absolute;
    right: 1em;
    top: .5em;
}

#foot-ct hr {
    opacity: 1;
    margin: 1em -1.5em;
}

#foot-ct .social-wr {
    justify-content: center;
}

body.fct-on .head-in, body.fct-on #main {
    transform: translate3d(calc(-1 * var(--quickform-width)), 0, 0);
}