/*
Theme Name: Gillion Child
Description: Child theme for Gillion theme
Author: Shufflehound
Author URI: http://shufflehound.com
Template: gillion
*/

html.form-open {
    overflow: hidden;
}

html.form-open .contact-button {
    opacity: 0;
}

/* HEADER */
header .container .header-content .socials .icon-twitter {
    width: 14px;
    height: 14px;
    color: #2b2b2b;
    opacity: 0.8;
}

.primary-desktop .sh-header-middle .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.primary-desktop .sh-header-middle .header-content > div { width: 33.33% }

.primary-desktop .sh-header-middle .header-content h1 {
    color: #505050;
    font-size: 26px;
    line-height: 1.1;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.primary-desktop .sh-header-middle .header-content h1 span {
    display: block;
    font-weight: normal;
    text-transform: none;
}

.primary-desktop .header-search {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 80px;
}

.primary-desktop .header-search > div:first-child {
    display: flex;
    align-items: center;
}

.primary-desktop .header-search > div:first-child .languages {
    position: relative;
    margin-left: 20px;
    line-height: 1;
    transition: transform 0.2s ease-in-out 0.1s;
}

.primary-desktop .header-search > div:first-child .languages:hover a {
    opacity: 1;
    transform: translateY(0);
}

.primary-desktop .header-search > div:first-child .languages span,
.primary-desktop .header-search > div:first-child .languages a{
    display: block;
    width: 100%;
    color: #505050;
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;
}

.primary-desktop .header-search > div:first-child .languages span {
    display: flex;
    justify-content: center;
}

.primary-desktop .header-search > div:first-child .languages span.multi-lang {
    cursor: pointer;
}

.primary-desktop .header-search > div:first-child .languages span svg {
    width: 12px;
    height: 8px;
    margin-top: 4px;
    margin-left: 10px;
}

.primary-desktop .header-search > div:first-child .languages a {
    position: absolute;
    left: -10px;
    bottom: -24px;
    display: block;
    width: fit-content;
    padding: 3px 10px;
    text-decoration: none;
    transform: translateY(-30px);
    opacity: 0;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
    background-color: white;
    z-index: 2;
}

.primary-desktop .header-search > div:first-child .languages a:last-child {
    bottom: -48px;
}

.primary-desktop .header-search > div:last-child a {
    padding: 6px;
}

.primary-desktop .header-search > div:last-child a i {
    font-size: 16px;
    opacity: 0.8;
    transition: font-size 0.3s ease-out, opacity 0.2s ease-in-out;
}

.primary-desktop .header-search > div:last-child a:hover i {
    font-size: 18px;
    opacity: 1;
}

.primary-desktop .sh-sticky-header {
    background-color: #0091D5;
    border: none;
}

.primary-desktop .sh-sticky-header .sh-header-standard {
    border: none;
}

.primary-desktop .sh-sticky-header .sh-header-standard ul {
    padding: 30px 0;
    transition: padding 0.3s ease-in-out;
}

.primary-desktop .sh-sticky-header-active .sh-header-standard ul {
    padding: 16px 0;
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li {
    padding: 0 14px;
    border-right: 1px solid white;
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li.current-menu-item a {
    color: white !important;
    opacity: 0.6;
    cursor: default;
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li.current-menu-item:hover a {
    color: white;
    text-decoration: none;
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:last-child {
    border-right: none;
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li a {
    color: white;
    line-height: 1 !important;
}

@media screen and (max-width: 1200px){
    .primary-desktop .sh-sticky-header .sh-header-standard ul li a {
        font-size: 12px;
    }
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:hover a {
    color: white !important;
    text-decoration: underline;
}

/* POST LIST */
@media screen and (max-width: 530px) {
    .sh-page-layout-default .entry-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

/* SINGLE POST */
.post-item-single-container .post-single-content h3 {
    margin: 20px 0 8px;
    color: #0091D5;
}
.post-item-single-container .post-single-content h4 {
    font-weight: normal;
}

.post-item-single-container .post-single-content ul ul li {
    list-style: circle;
}

.post-item-single-container .post-single-content a:not(.has-background),
.layout-global_default .page-content a:not(.has-background) {
    position: relative;
    color: #0091D5;
    font-weight: 500;
    text-decoration: none;
}

.post-item-single-container .post-single-content a:hover:not(.has-background),
.layout-global_default .page-content a:hover:not(.has-background) {
    text-decoration: underline;
}

.post-item-single-container .post-content-share-bar {
    margin-top: 190px;
}

@media screen and (max-width: 768px) {
    .post-item-single-container .post-content-share-bar {
        margin-top: 0;
    }
}

.post-item-single-container .wp-block-image {
    margin-top: 3em;
    margin-bottom: 3em;
}

.post-item-single-container .wp-block-image .aligncenter figcaption {
    text-align: center;
}

.post-item-single-container .wp-block-embed .wp-block-embed__wrapper {
    display: flex;
    margin-top: 3em;
    margin-bottom: 3em;
}
.post-item-single-container .wp-block-embed.aligncenter .wp-block-embed__wrapper {
    justify-content: center;
}

.slick-track {
    margin-left: 0;
}

/* CATEGORIES ICONS */
.primary-desktop .sh-sticky-header .sh-header-standard ul li a::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    transform: translateY(3px);
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:nth-child(1) a::before {
    background: center no-repeat url(./icons/picto-muffin.svg);
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:nth-child(2) a::before {
    background: center no-repeat url(./icons/test.svg);
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:nth-child(3) a::before {
    background: center no-repeat url(./icons/loupe.svg);
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:nth-child(4) a::before {
    margin-right: 4px;
    background: center no-repeat url(./icons/documents.svg);
}

.primary-desktop .sh-sticky-header .sh-header-standard ul li:nth-child(5) a::before {
    background: center no-repeat url(./icons/email.svg);
}

/* CATEGORIES */
/* health */
#content .blog-list article.category-sante-chimie-des-specialites .post-thumbnail .post-categories-container a, /*fr*/
#content article.category-sante-chimie-des-specialites .post-item-single-container .post-categories-container a, /*fr*/
#content .post-related article.category-sante-chimie-des-specialites .post-categories-container a, /*fr*/
.sh-widget-posts-slider .post-categories-container .post-categories a.category-sante-chimie-des-specialites, /*fr*/
#content .blog-list article.category-healthcare-chemicals .post-thumbnail .post-categories-container a, /*en*/
#content article.category-healthcare-chemicals .post-item-single-container .post-categories-container a, /*en*/
.sh-widget-posts-slider .post-categories-container .post-categories a.category-healthcare-chemicals, /*en*/
#content .post-related article.category-healthcare-chemicals .post-categories-container a /*en*/
{
    color: white;
    background-color: #7D82EA;
}

/* food */
#content .blog-list article.category-boulangerie-patisserie-snacking .post-thumbnail .post-categories-container a, /*fr*/
#content article.category-boulangerie-patisserie-snacking .post-item-single-container .post-categories-container a, /*fr*/
#content .post-related article.category-boulangerie-patisserie-snacking .post-categories-container a, /*fr*/
.sh-widget-posts-slider .post-categories-container .post-categories a.category-boulangerie-patisserie-snacking, /*fr*/
#content .blog-list article.category-bakery-pastry-viennese-pastry .post-thumbnail .post-categories-container a, /*en*/
#content article.category-bakery-pastry-viennese-pastry .post-item-single-container .post-categories-container a, /*en*/
.sh-widget-posts-slider .post-categories-container .post-categories a.category-bakery-pastry-viennese-pastry, /*en*/
#content .post-related article.category-bakery-pastry-viennese-pastry .post-categories-container a, /*en*/
#content .blog-list article.category-bakery-food .post-thumbnail .post-categories-container a, /*en*/
#content article.category-bakery-food .post-item-single-container .post-categories-container a, /*en*/
.sh-widget-posts-slider .post-categories-container .post-categories a.category-bakery-food, /*en*/
#content .post-related article.category-bakery-food .post-categories-container a /*en*/
{
    color: white;
    background-color: #C7B299;
}

.post-switch .post-switch-item-disabled {
    display: none;
}
.post-switch-item .post-categories-container .post-categories a {
    padding: 0;
    color: white;
}

/* BLOG LIST */
#content .blog-list .post-thumbnail {
    max-height: 200px;
}
#content .blog-list .post-thumbnail img {
    object-fit: cover;
}

#content .blog-single .post-content-container .read-more-link,
#content .blog-list .post-content-container .read-more-link
{
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    color: #0091D5;
    font-weight: normal;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}
#content .blog-single .post-content-container .read-more-link:hover,
#content .blog-list .post-content-container .read-more-link:hover
{
    color: #086997;
}

/* POST RELATED */
.post-related .post-related-item .post-container .post-content-container {
    position: relative;
}
.post-related .post-related-item .post-container .post-content-container .read-more-link {
    position: absolute;
    right: 20px;
    bottom: 10px;
    margin-top: 0;
}

/* CONTACT */
.contact-fixed-container {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    z-index: 5010;
    transition: opacity 0.3s ease-in-out;
}

.contact-fixed-container .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: -1;
}

.contact-fixed-container .contact-form {
    display: flex;
    justify-content: center;
    width: 800px;
    max-height: 96%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.contact-fixed-container .contact-form > div {
    padding: 50px;
    overflow-y: auto;
}
.contact-fixed-container .contact-form > div a {
    position: relative;
    color: #0091D5;
    font-weight: 500;
    text-decoration: none;
}

@media screen and (max-width: 1366px) {
    .contact-fixed-container .contact-form > div {
        padding: 30px;
    }
}

@media screen and (max-width: 576px){
    .contact-fixed-container .contact-form > div {
        padding: 20px;
    }

    .contact-fixed-container .contact-form > div h2 {
        padding-right: 20px;
    }

}

.contact-fixed-container .contact-form .close-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px;
    cursor: pointer;
    background-color: white;
    z-index: 10;
}

@media screen and (max-width: 576px){
    .contact-fixed-container .contact-form .close-btn {
        width: 44px;
        height: 44px;
        padding: 8px;
    }

}

.contact-fixed-container.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-fixed-container.active .contact-form {
    transform: translateY(0);
}

.contact-button {
    position: fixed;
    right: 30px;
    bottom: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #0091D5;
    box-shadow: 0 3px 6px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 5011;
    transition: opacity 0.3s ease-out;
}

.contact-button svg {
    width: 50px;
    height: 50px;
}

@media screen and (max-width: 768px) {
    .contact-fixed-container .contact-form {
        width: 600px;
    }

}

@media screen and (max-width: 576px) {
    .contact-fixed-container {
        padding: 0 1rem;
    }

    .contact-button {
        bottom: 76px;
        right: 10px;
        width: 70px;
        height: 70px;
    }

    .contact-button svg {
        width: 40px;
        height: 40px;
    }
}

/* FORM */
.wpcf7 {
    display: flex;
    justify-content: center;
}
.wpcf7 form {
    width: 100%;
    margin: 20px 0;
}

.wpcf7 label {
    position: relative;
}
.wpcf7 label em {
    position: absolute;
    right: -8px;
    top: -2px;
    color: #4d90d1;
    font-size: 12px;
}

.wpcf7 form .important-information {
    display: inline-block;
    margin: 10px 0 20px 0;
    padding: 10px 30px;
    color: #0091d5 !important;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #0091D4;
    border-radius: 8px;
}

.wpcf7 form .fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wpcf7 form .fieldset.col2 .form-group {
    width: 48%;
}

@media screen and (max-width: 768px){
    .wpcf7 form .fieldset.col2 .form-group {
        width: 100%;
    }
}

.wpcf7 form .form-group select {
    color: black;
    background-color: white;
}
.wpcf7 form .form-group textarea {
    max-width: 100%;
}

/* FOOTER */
footer .container .footer-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

footer .container .footer-content > div {
    display: flex;
    justify-content: center;
    width: 26%;
    color: white;
    font-weight: normal;
}

footer .container .footer-content i {
    margin-top: 4px;
    margin-right: 10px;
    font-size: 20px;
}

footer .container hr {
    opacity: 0.3;
}

footer .container .footer-content > div.footer-contact {
    flex-wrap: wrap;
}

footer .container .footer-content > div.footer-contact .socials {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

footer .container .footer-content > div.footer-contact .socials a {
    margin: 0 10px;
}

footer .container .footer-content > div.footer-contact .socials .icon-twitter {
    position: relative;
    top: 4px;
    width: 18px;
    height: 18px;
    color: white;
}

footer .sh-copyrights .container .sh-copyrights-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-weight: normal;
    text-align: center;
}

footer .sh-copyrights .container .sh-copyrights-info ul {
    display: flex;
    margin: 0;
    padding: 0;
}

footer .sh-copyrights .container .sh-copyrights-info ul li {
    margin: 0 10px;
    list-style: none;
}

footer .sh-copyrights .container .sh-copyrights-info ul li a {
    font-size: 12px;
    font-weight: normal;
}

@media screen and (max-width: 900px){
    footer .container .footer-content {
        flex-direction: column;
        align-items: center;
    }
    footer .container .footer-content > div {
        width: 100%;
        max-width: 320px;
    }
    footer .container .footer-content > div.footer-logo {
        margin-bottom: 20px;
    }
    footer .container .footer-content > div.footer-contact {
        width: auto;
    }

    footer .sh-copyrights .container .sh-copyrights-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer .sh-copyrights .container .sh-copyrights-info ul {
        justify-content: center;
        margin-top: 10px;
    }
}

#cookie-notice #cn-accept-cookie {
    color: #0091D5;
    background-color: white;
}

#cookie-notice #cn-more-info {
    color: white;
    background-color: #505050;
}
.field-info {
    margin-top: 20px;
    font-size: 10px;
    font-style: italic;
}

.consent-banner {
    --consent-checkbox-background: #C7C7C7
}
.consent-banner .consent-content > button {
    font-size: 14px!important;
}
.consent-banner .consent-content p {
    line-height: 1.4;
}
.consent-banner .buttons button {
    font-size: 1.4rem !important;
}