/*
Theme Name: AHDB Europe Theme
Theme URI: https://armstrong.space/
Template: twentytwentyfour
Author: Armstrong
Author URI: https://armstrong.space/
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments,translation-ready,wide-blocks,block-styles,style-variations,accessibility-ready,blog,portfolio,news
Version: 1.2.1727274119
Updated: 2024-09-25 16:21:59

*/

:root {
    --color-white: #ffffff;
    --color-lightgray: #9D9D9D;
    --color-gray: #575756;
    --color-blue: #04043F;
    --color-red: #eb0000;
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
    text-decoration: none;
}

/* --------- General --------- */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

p a,
.rank-math-html-sitemap__item a {
    transition: all 0.3s;
    text-decoration: underline !important;
}

p a:hover,
.rank-math-html-sitemap__item a:hover {
    text-decoration: none !important;
}

hr {
    max-width: 70px !important;
}

.mobile_show {
    display: none !important;
}

@media screen and (max-width: 1200px) {
    .mobile_show {
        display: flex !important;
    }

    .mobile_hide {
        display: none !important;
    }
}

body .wp-site-blocks .wp-block-group[class*="-background-color"] h1, body .wp-site-blocks .wp-block-group[class*="-background-color"] h2, body .wp-site-blocks .wp-block-group[class*="-background-color"] h3, body .wp-site-blocks .wp-block-group[class*="-background-color"] h4, body .wp-site-blocks .wp-block-group[class*="-background-color"] h5, body .wp-site-blocks .wp-block-group[class*="-background-color"] h6, body .wp-site-blocks .wp-block-group[class*="-background-color"] p, body .wp-site-blocks .wp-block-group[class*="-background-color"] a:where(:not(.wp-element-button)), body .wp-site-blocks .wp-block-group[class*="-background-color"] .wp-element-caption {
    color: inherit !important;
}

/* -- Inclined Bands -- */
.inclined_band_mobile_show {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .inclined_band_mobile_show {
        display: block !important;
    }

    .inclined_band_mobile_hide {
        display: none !important;
    }
}

/* -- Buttons -- */

.button-hover-transparent-effect a,
a.button-hover-transparent-effect {
    transition: all 0.3s;
}

.button-hover-transparent-effect:hover a,
a.button-hover-transparent-effect:hover {
    background-color: transparent !important;
    color: var(--color-red) !important;
}

.button-hover-transparent-blue-effect a,
a.button-hover-transparent-blue-effect {
    transition: all 0.3s;
}

.button-hover-transparent-blue-effect:hover a,
a.button-hover-transparent-blue-effect:hover {
    background-color: transparent !important;
    color: var(--color-blue) !important;
}

.button-hover-red-effect a,
a.button-hover-red-effect {
    transition: all 0.3s;
}

.button-hover-red-effect:hover a,
a.button-hover-red-effect:hover {
    background-color: var(--color-red) !important;
    border-color: var(--color-red) !important;
    color: var(--color-white) !important;
}

.button-hover-white-effect a,
a.button-hover-white-effect {
    transition: all 0.3s;
}

.button-hover-white-effect:hover a,
a.button-hover-white-effect:hover {
    background-color: var(--color-white) !important;
    color: var(--color-red) !important;
}

.button-hover-blue-effect a,
a.button-hover-blue-effect {
    transition: all 0.3s;
}

.button-hover-blue-effect:hover a,
a.button-hover-blue-effect:hover {
    background-color: var(--color-blue) !important;
    color: var(--color-white) !important;
}

.button-arrow-after a,
a.button-arrow-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.button-arrow-after a::after,
a.button-arrow-after::after {
    content: '';
    transition: all 0.3s;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('./assets/icons/white_arrow.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.button-arrow-after:hover a::after,
a.button-arrow-after:hover::after {
    background-image: url('./assets/icons/red_arrow.svg');
}

.button-arrow-after.button-hover-transparent-blue-effect:hover a::after,
a.button-arrow-after.button-hover-transparent-blue-effect:hover::after {
    background-image: url('./assets/icons/blue_arrow.svg');
}

.button-new-tab-after a,
a.button-new-tab-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.button-new-tab-after a::after,
a.button-new-tab-after::after {
    content: '';
    transition: all 0.3s;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('./assets/icons/white_new_tab.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.button-new-tab-after:hover a::after,
a.button-new-tab-after:hover::after {
    background-image: url('./assets/icons/red_new_tab.svg');
}

.button-white-download-after a,
a.button-white-download-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.button-white-download-after a::after,
a.button-white-download-after::after {
    content: '';
    transition: all 0.3s;
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url('./assets/icons/white_download.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.button-white-download-after:hover a::after,
a.button-white-download-after:hover::after {
    background-image: url('./assets/icons/red_download.svg');
}

.button-white-download-after.button-hover-transparent-blue-effect:hover a::after,
a.button-white-download-after.button-hover-transparent-blue-effect:hover::after {
    background-image: url('./assets/icons/blue_download.svg');
}

.button-white-download-after.button-hover-red-effect:hover a::after,
a.button-white-download-after.button-hover-red-effect:hover::after {
    background-image: url('./assets/icons/white_download.svg');
}

.button-download-after a,
a.button-download-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.button-download-after a::after,
a.button-download-after::after {
    content: '';
    transition: all 0.3s;
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url('./assets/icons/blue_download.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.button-download-after:hover a::after,
a.button-download-after:hover::after {
    background-image: url('./assets/icons/white_download.svg');
}

.red_arrow_link a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.red_arrow_link a::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('./assets/icons/red_arrow.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.blue_arrow_link a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.blue_arrow_link a::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('./assets/icons/blue_arrow.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.blue_new_tab_link a::after {
    margin-left: 6px;
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('./assets/icons/blue_new_tab.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.white_new_tab_link a::after {
    margin-left: 6px;
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('./assets/icons/white_new_tab.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.small_external_link a {
    font-size: inherit !important;
}

/* -- Breadcrumb -- */
.rank-math-breadcrumb a {
    font-size: inherit !important;
    line-height: inherit !important;
}

.rank-math-breadcrumb .separator {
    color: var(--color-red);
    margin: 0 8px;
}


/* -- Loader -- */

.loading_container {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    align-items: center;
}

.loading_container #loader {
    width: 75px;
    height: 75px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url('./assets/icons/spinner.svg');
    animation: spinnerRotation 2s infinite linear;
}

.loading_container #loader_text {
    color: var(--color-gray);
    /* font */
    font-size: 22px;
    line-height: 24px;
    font-weight: 700;
}


/* -- No result -- */

.no_result {
    text-align: center;
    color: var(--color-gray);
    /* font */
    font-size: 22px;
    line-height: 24px;
    font-weight: 700;
}

/* -- Spinner Animation -- */

@keyframes spinnerRotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}


/* -- Responsive Columns -- */
@media screen and (max-width: 768px) {
    .mobile_reverse_columns {
        flex-direction: column-reverse;
    }
}

/* -- Responsive Main Banner -- */
@media screen and (max-width: 425px) {
    .page_cover_banner {
        min-height: initial !important;
    }

    .page_cover_banner .padding_banner {
        padding-top: 190px !important;
        padding-bottom: 50px !important;
    }
}


/* --------- Header --------- */
header>div {
    z-index: 1000;
}

.header_nav a {
    transition: all 0.3s;
}

.header_nav a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.header_nav .wpml-language-switcher-navigation-block .wp-block-navigation-item>div {
    width: 100% !important;
}

.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
    min-width: 225px !important;
}

.mobile_header_nav .wp-block-navigation__responsive-container {
    background-color: var(--color-blue) !important;
}

.mobile_header_nav .wp-block-navigation__responsive-container-open svg {
    width: 35px;
    height: 35px;
}

.mobile_header_nav .wp-block-navigation__responsive-container-content>* {
    box-sizing: border-box;
    width: 100%;
}

.mobile_header_nav .wp-block-buttons {
    padding: 4px 6px 15px 6px;
}

.mobile_header_nav .wp-block-buttons a {
    font-family: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
}

.mobile_header_nav ul li:not(:has(.mobile_header_nav_site_logo)):not(.wp-block-navigation-submenu) {
    box-sizing: border-box;
    width: 100%;
    padding: 3px 6px 5px 6px;
}

.mobile_header_nav ul li a {
    width: 100%;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
}

.mobile_header_nav ul li:has(.mobile_header_nav_site_logo) {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    align-items: center !important;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block {
    width: 100% !important;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block>.wp-block-navigation-submenu {
    align-items: stretch;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block>.wp-block-navigation-submenu .wp-block-navigation-submenu {
    width: 100% !important;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation-submenu__toggle {
    padding: 3px 6px 5px 6px;
    width: 100% !important;
    box-sizing: border-box;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation-submenu__toggle.is-open {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation-submenu__toggle .current-language-item {
    gap: 10px;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation-submenu__toggle .current-language-item .wp-block-navigation__submenu-icon {
    display: inline-block !important;
    transition: all 0.3s;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation-submenu__toggle.is-open .current-language-item .wp-block-navigation__submenu-icon {
    transform: rotate(180deg);
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation__submenu-container {
    padding: 0 !important;
    width: 100% !important;
    display: none;
}

.mobile_header_nav.wp-block-navigation .wpml-language-switcher-navigation-block .wp-block-navigation__submenu-container .wp-block-navigation-item>div {
    width: 100% !important;
}

/* --------- Footer --------- */
.footer_links_column a {
    transition: all 0.3s;
}

.footer_links_column a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.footer_social_icons img {
    box-sizing: content-box;
    background-color: #0e76a8;
    padding: 12px;
    border: 2px solid #0e76a8;
    transition: all 0.3s;
}

.footer_social_icons figure:hover img {
    background-color: transparent;
}

.footer_nav a[target="_blank"]::after {
    content: '';
    margin-left: 4px;
    transition: all 0.3s;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('./assets/icons/white_new_tab.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

@media screen and (max-width: 768px) {
    .footer_address_row {
        flex-direction: column;
        margin-bottom: 30px !important;
    }

    .footer_container {
        gap: 30px !important;
    }

    .footer_logo_column {
        text-align: center;
    }

    .footer_ahdb_column,
    .footer_ahdb_column .is-layout-flex,
    .footer_links_column {
        align-items: center !important;
    }

    .footer_ahdb_column p,
    .footer_links_column p {
        text-align: center !important;
    }

    .footer_links_column ul {
        justify-content: center !important;
    }

    .footer_social_icons img {
        padding: 10px;
    }
}

@media screen and (max-width: 425px) {
    .footer_social_icons img {
        padding: 8px;
        width: 20px !important;
    }
}

/* --------- Home --------- */
#home_banner_container,
#home_banner_text_container {
    position: relative;
}

#home_banner_container #video-banner-pause {
    color: var(--color-white);
    background: none;
    border: none;
    position: absolute;
    bottom: 75px;
    right: 25px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    /* font */
    font-family: 'minerva-modern', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
}

#home_banner_container #video-banner-pause .play {
    display: none;
}

.home_ressources .wp-block-post,
.home_ressources .wp-block-post>div {
    height: 100%;
}

.home_ressources .wp-block-post figure img {
    height: 380px;
    width: auto;
}


.home_ressources .wp-block-post .ressource_texts,
.home_ressources .wp-block-post .ressource_texts .wp-block-post-excerpt {
    flex-grow: 1;
}

@media screen and (max-width: 768px) {
    .home_ressources .wp-block-post>div {
        gap: 30px;
        padding: 20px !important;
    }

    .home_ressources .wp-block-post .ressource_texts {
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .home_best_container>.wp-block-group {
        flex-basis: 100% !important;
    }
}

@media screen and (max-width: 425px) {
    #home_banner_text_container>div {
        padding-top: 190px !important;
        padding-bottom: 90px !important;
    }

    #home_banner_container #video-banner-pause {
        bottom: 40px;
        right: 10px;
    }

    .home_species_container::before,
    .home_species_container::after {
        content: none;
    }

    .home_ressources .wp-block-post figure img {
        height: auto;
        width: 100%;
    }
}

/* --------- Single Post --------- */
.single_ressource_download_container {
    display: inline-block;
}

.single_ressource_download {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 3px solid var(--color-white);
    padding: 16px 30px;
    cursor: pointer;
    background-color: transparent;
    color: var(--color-white);
    transition: all 0.3s;
    /* font */
    font-weight: 900;
    text-transform: uppercase;
}

.single_ressource_download::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    transition: all 0.3s;
    background-image: url('./assets/icons/white_download.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.single_ressource_download:hover {
    background-color: var(--color-white);
    color: var(--color-blue);
}

.single_ressource_download:hover::after {
    background-image: url('./assets/icons/blue_download.svg');
}

.single_other_ressources .wp-block-post,
.single_other_ressources .wp-block-post>div {
    height: 100%;
}


.single_other_ressources .wp-block-post .ressource_texts,
.single_other_ressources .wp-block-post .ressource_texts .wp-block-post-excerpt {
    flex-grow: 1;
}

@media screen and (max-width: 1024px) {
    .single_other_ressources .wp-block-post>div {
        gap: 30px;
        padding: 20px !important;
    }

    .single_other_ressources .wp-block-post .ressource_texts {
        gap: 15px;
    }

    .single_other_ressources .wp-block-post .wp-block-read-more {
        padding: 10px 14px !important;
    }
}

/* --------- Beef --------- */
.choose_quality_beef {
    position: relative;
}

.choose_quality_beef>* {
    z-index: 2;
}


.choose_quality_beef::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50px;
    width: 328.985px;
    height: 272px;
    background-image: url('./assets/icons/beef_white_icon.svg');
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 425px) {
    .choose_quality_beef::after {
        content: none;
    }
}

/* --------- Lamb --------- */
.choose_quality_lamb {
    position: relative;
}

.choose_quality_lamb>* {
    z-index: 2;
}


.choose_quality_lamb::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 64px;
    width: 300px;
    height: 268px;
    background-image: url('./assets/icons/lamb_white_icon.svg');
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 425px) {
    .choose_quality_lamb::after {
        content: none;
    }
}

/* --------- Contact --------- */
.contact_image {
    height: 100%;
}

.contact_icon {
    border-radius: 50%;
    padding: 15px;
    background-color: var(--color-red);
}

@media screen and (max-width: 425px) {
    .contact_informations {
        padding: 20px !important;
    }

    .contact_icon {
        padding: 5px;
    }

    .contact_icon img {
        width: 35px !important;
        height: 35px !important;
    }
}

/* -- Contact Form -- */
.wpcf7-form .form-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wpcf7-form .form-row:last-of-type {
    margin-bottom: 0;
}

.wpcf7-form .form-row .input-container {
    position: relative;
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wpcf7-form .form-row .input-container.full-width {
    width: 100%;
}

.wpcf7-form .form-row .input-container label {
    transition: all 0.3s ease-in-out;
    color: var(--color-blue);
    /* font */
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0.72px;
}

.wpcf7-form .form-row .input-container label .required {
    color: var(--color-red);
}

.wpcf7-form .form-row .input-container .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.wpcf7-form .form-row .input-container input:not([type="checkbox"]),
.wpcf7-form .form-row .input-container select,
.wpcf7-form .form-row .input-container textarea {
    padding: 20px;
    border: none;
    color: var(--color-gray);
    /* font */
    font-family: Avenir;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.72px;
}

.wpcf7-form .form-row .input-container select {
    appearance: none;
    background-image: url("./assets/icons/chevron_down.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position-x: calc(100% - 20px);
    background-position-y: 50%;
}

.wpcf7-form .form-row .input-container .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    color: var(--color-red);
    /* font */
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.72px;
}


.wpcf7-form .form-row .input-container .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .form-row .input-container .wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #525252;
    /* font */
    font-size: 16px;
    line-height: normal;
    font-weight: 400;
}

.wpcf7-form .form-row .input-container .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
    margin: 0;
    border: 1px solid #E9E9E9;
    border-radius: 0;
    box-sizing: border-box;
    width: 17px;
    height: 17px;
}

.wpcf7-form .form-row .input-container .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
    width: calc(100% - 27px);
}

.wpcf7-form .form-submit {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.wpcf7-form .form-submit input[type="submit"] {
    cursor: pointer;
    padding: 18px 32px;
    background-color: var(--color-blue);
    color: var(--color-white);
    border: 3px solid var(--color-blue);
    font-weight: 800;
    transition: all 0.3s;
    /* font */
    font-size: 18px;
    text-transform: uppercase;
}

.wpcf7-form .form-submit input[type="submit"]:hover {
    background-color: transparent;
    color: var(--color-blue);
}

.wpcf7-form .wpcf7-response-output {
    margin: 0 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--color-red);
}

@media screen and (max-width: 600px) {
    .wpcf7-form .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .wpcf7-form .form-row .input-container {
        width: 100%;
    }
}