/*
Add fonts
 */
@import "../fonts/fontstyle.css";

/*
General classes
 */
.row {display: flex}
.col-md-4 {width: 25%; padding: 10px}
.mt-3 {margin-top: 3rem}
.mb-3 {margin-bottom: 3rem}
.mtb-3 {margin-top: 3rem; margin-bottom: 3rem}
.d-none, .hidden {display: none}
.text-center {text-align: center}
.text-right {text-align: right}
a{transition: all .3s ease}
a:hover {color: #006ab5}
.primary-color {color: #006ab5}
/*
Header
 */
body.ag-sticky header {
    position: fixed;
    z-index: 99;
    width: 100%;
    background: #fff;
    box-shadow: 0px 0px 10px #d9d9d9;
    top: 0;
    left: 0;
    animation-name: animStickymenu;
    animation-duration: 0.7s;
}

@keyframes animStickymenu {
    0% {top: -100%}
    100% {top: 0}
}

body.ag-sticky #ag-topheader {
    padding: 0;
}

body.ag-sticky .ag-top-logo {
    padding: 15px 0 5px 0;
}

body.ag-sticky .ag-top-logo img {
    height: 40px;
    width: auto;
}

body.ag-sticky .ag-top-logo .blog-description {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 6px;
}



.container-topheader {
    background: #fceee9;
    padding: 0 15px;
}

#ag-topheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.ag-top-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.ag-top-logo .blog-description
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 15px;
    color: #463f3d;
    font-family: "Lora",Arial,sans-serif;
    font-size: 18px;
    font-style: italic;
}

.ag-top-logo img {
    width: 312px;
    max-width: 100%;
}

.container-topheader ul.menu {display: flex;}

.container-topheader ul.menu li {
    position: relative;
    margin-left: 25px;
    font-size: 16px;
    line-height: 35px;
    font-weight: bold;
}

.container-topheader ul.menu > li:after {
    content: '';
    position: absolute;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background: #006ab5;
    right: -13px;
    top: 15px;
}

.container-topheader ul.menu > li:last-child:after {content: none;}

.container-topheader ul.menu li.menu-item-has-children .sub-menu {
    position: absolute;
    width: 275px;
    top: 100%;
    background: #fceee9;
    left: 0;
    padding: 5px 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
}

nav.ubermenu  ul.ubermenu-nav {text-align: center}

nav .ubermenu-nav {text-align: center;}

.main-menu nav.ubermenu li.ubermenu-item-level-0.ubermenu-current-menu-item a {color: #006ab5; font-weight: 600}

.container-topheader ul.menu li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.main-menu .ubermenu .ubermenu-target-with-image {margin: 0 20px;}

.ag-topheader-right {display: flex}

.ag-topheader-right ul[id^="menu-topmenu-right"] li.menu-item a {
    display: block;
    padding-left: 25px;
}


.ag-topheader-right ul[id^="menu-topmenu-right"] li.menu-item:first-child a {
    background: url('../img/user.png') left 30% no-repeat;
    background-size: 15%;
}

.ag-topheader-right ul[id^="menu-topmenu-right"] li.menu-item:last-child a {
    background: url('../img/basket.png') left 30% no-repeat;
    background-size: 16%;
}

.main-menu .ubermenu .ubermenu-target-with-image {margin: 0 20px;}

#ag-topheader .ag-topheader-right .ubermenu span.ubermenu-target-title {padding-left: 5px;}

/*
Popup newsletter
 */

#ag-popine-newsletter {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
}

.showpopup #ag-popine-newsletter {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.popine-inner-container {
    width: 45%;
    margin: 150px auto;
    background: #fff;
    position: relative;
    transition: all .6s ease;
}

.showpopup .popine-inner-container {
    margin: 50px auto;
}

.popup-close {
    display: block;
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 20px;
    border-radius: 50px;
    background: #006ab5;
    width: 45px;
    height: 45px;
    color: #fff;
    line-height: 45px;
    font-weight: 600;
    cursor: pointer;
}

#ag-popine-newsletter h2 {
    padding: 85px 15px 45px 15px;
    color: #463f3d;
    font-family: "Lora",Arial,sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

#ag-popine-newsletter p {
    padding: 0 10%;
    font-size: 12px;
    text-align: left;
    font-family: "Objectivity",Arial,sans-serif;
    line-height: 18px;
    font-weight: normal;
    color: #989491;
}

.container-form-newsletter {
    padding: 60px 15%;
    background: url("../img/newsletter.jpg") center bottom no-repeat;
    background-size: cover;
    margin-top: 30px;
    display: flex;
}

.container-form-newsletter .wpcf7-submit {
    border: none;
    background: #006ab5;
    color: #fff;
    padding: 15px 25px;
    cursor: pointer;
    font-family: "Lora",Arial,sans-serif;
    font-style: italic;
}

.container-form-newsletter .wpcf7-form-control.wpcf7-email {
    padding: 25px 15px;
}

.container-form-newsletter .wpcf7-form-control-wrap.your-email::after {
    position: absolute;
    content: '';
    display: block;
    width: 16px;
    height: 50px;
    right: -1px;
    top: -17px;
    background-image: url("../img/input-left.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.container-form-newsletter .wpcf7-not-valid-tip {
    position: absolute;
    bottom: 40px;
    font-size: 12px;
}

#ag-popine-newsletter form.wpcf7-form .wpcf7-response-output {
    margin: 0;
    padding: 5px;
    border: none;
    background: transparent;
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
}

#ag-popine-newsletter form.wpcf7-form.invalid .wpcf7-response-output {color: #dc3232;}
#ag-popine-newsletter form.wpcf7-form.sent .wpcf7-response-output {color: green;}

/*
Page site map
 */
body.page-id-2886 .nq-c-Presentation {display: none}
.ag-sitemap {padding: 70px 15px;}
.ag-sitemap h2 {margin-bottom: 25px ;}
.ag-sitemap .wsp-pages-list {margin-left: 25px ; list-style: disc}
.ag-sitemap .wsp-pages-list li {margin-bottom: 10px ;}
.ag-sitemap .wsp-pages-list li.page_item_has_children {margin-top: 15px;}
.ag-sitemap .wsp-pages-list li.page_item_has_children ul {list-style: revert }
.ag-sitemap .wsp-pages-list li.page_item_has_children li {margin-left: 25px ;}


/*
Footer
 */
footer .widget {text-align: center;}

footer .footer-container-1 .widget {text-align: left;}

footer .footer-container-4 .widget {text-align: right;}

footer .widget span {display: block;}

footer .widget li {
    font-size: 14px;
    margin: 5px 0;
}

footer .widget h2 {
    font-family: "Lora", Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 12px;
    color: #006ab5;
}

footer .ag-footer-1 img {
    width: 165px;
    max-width: 100%;
}

footer .ciel-adresse {
    font-size: 15px;
    margin: 35px 0;
}

footer .ciel-phone {
    font-size: 20px;
    margin-bottom: 15px;
}

footer .footer-contact {text-decoration: underline;}

footer .ag-footer-3 {
    height: 100%;
    background: url('../img/blue_circle_claire.png') center center no-repeat;
}

footer .footer-inscription {
    display: inline-block;
    font-family: "Lora", Arial, sans-serif;
    font-style: italic;
    font-size: 18px;
    line-height: 25px;
    color: #006ab5;
    transition: color 0.3s;
    margin-top: 30px;
    border: 1px solid #006ab5;
    padding: 10px 40px;
}

footer .footer-inscription:hover {
    color: #fff;
    background: #006ab5;
}

footer .simple-social-icons {margin-top: 10px;}

footer .simple-social-icons ul {display: flex;}

#blog footer .simple-social-icons li {
    width: 50px;
    height: 50px;
    background-size: contain!important;
}

#blog footer .simple-social-icons li a {
    width: 100%;
    height: 100%;
    opacity: 0;
}

footer .simple-social-icons li.ssi-facebook {
   background: url("../img/fb-icone.jpg") center center no-repeat!important;
}

footer .simple-social-icons li.ssi-instagram {
   background: url("../img/instagram-icone.jpg") center center no-repeat!important;
}

footer .simple-social-icons li.ssi-youtube {
   background: url("../img/youtube-icone.jpg") center center no-repeat!important;
}

footer .footer-bottom-container {
    background: #fceee9;
    padding: 10px 0 6px;
}

footer .footer-bottom-container  .nq-u-wrapper,
footer .bottom-footer-menu .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .bottom-footer-menu .menu li{
    margin-right: 15px;
}

footer .bottom-footer-menu .menu li,
footer .bottom-footer-copyright {
    font-size: 13px;
}

body.ag-sticky .scroolToTop {
    right: 25px;
}

.scroolToTop {
    position: fixed;
    bottom: 25px;
    right: -55px;
    width: 50px;
    height: 50px;
    background: #006ab5;
    border-radius: 50%;
    transition: all .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 999;
    pointer-events: all;
}

/*
Responsive
 */
@media screen and  (max-width: 1110px) {
    .ubermenu a.ubermenu-target {
        padding: 15px 10px;
        font-size: 14px!important;
    }
}

@media screen and  (max-width: 768px) {
    .row{flex-direction: column}
    .col-md-4 {width: 100%}

    body > header {
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0px -2px 10px #000;
    }

    #menu-topmenu-left {
        display: none;
    }

    header .main-menu {
        width: 30%;
        display: inline-block;
        top: -15px;
        position: relative;
    }

    .ag-topheader-left{display: none;}

    .ag-topheader-right {
        width: 100%;
        justify-content: flex-end;
    }

    nav.ubermenu-main {
        position: absolute;
        z-index: 999;
        background: #fceee9;
        left: 0;
        box-shadow: 0px 0px 20px -10px #000;
        width: 270px!important;
        transform: translateX(-175px);
        max-width: 98vw;
    }

    nav.main-menu.nq-u-wrapper a.ubermenu-responsive-toggle{
        text-align: right;
    }

    .ubermenu-responsive-default.ubermenu.ubermenu-responsive .ubermenu-column, .ubermenu-responsive-default.ubermenu.ubermenu-responsive .ubermenu-column-auto {
        min-width: 100%;
        width: 100%;
    }

    .ag-top-logo {
        width: 65%;
        margin: 0;
        padding: 20px 20px 10px;
        display: inline-block;
    }

    .ag-top-logo .blog-description {
        text-align: left;
        font-size: 13px;
        margin: 0;
        display: none;
    }

    .ag-topheader-right ul li.menu-item a {
        width: 35px;
        overflow: hidden;
        font-size: 0;
        color: transparent;
        background-size: contain!important;
    }

    .popine-inner-container {width: 95%}

    header .ubermenu-skin-minimal.ubermenu-responsive-toggle {
        font-size: 16px;
        padding: 10px;
    }

    footer .footer-bottom-container  .nq-u-wrapper,
    footer .menu-footer-bottom-container .menu {
        flex-direction: column;
    }

    footer .menu-footer-bottom-container .menu {
        margin-bottom: 15px;
    }

    footer .menu-footer-bottom-container .menu li {
        margin-bottom: 5px;
    }

    footer .footer-container-1 .widget {
        text-align: center;
        padding: 5px 15px;
    }

    footer .footer-container-1 .widget ul {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    footer .footer-container-4 .widget {
        text-align: center;
    }

}