@font-face {
    font-family: "Heavitas";
    src: url("../fonts/heavitas.woff2") format("woff2");
}

@media only screen and (min-width: 960px) {
    body:after {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 15px;
        background: #e3000f;
    }
}

.custom-text {
    color: #737373;
    font-size: 22px;
}

.custom-text-title {
    font-weight: bold;
    color: #737373;
    font-size: 22px;
}

/** NAVBAR **/
.uk-navbar {
    padding: 10px;
}

.uk-navbar img {
    margin-left: 20px;
}


/** HEADER SECTION **/
/* === HEADER BACKGROUND === */
.header-container>div {
    height: 100%;
    min-height: auto !important;
    padding: 0;
}

@media only screen and (max-width: 960px) {

    .header-container {
        height: 30vh !important;
    }
}

@media only screen and (min-width: 960px) {

    .header-container {
        height: 79vh !important;
    }
}

/* === HEADER PARALLAX === */
.header-container div,
.header-image picture {
    height: 100%;
}

.header-image {
    display: flex;
}

.header-image img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 55%;
}

.header-image picture,
.header-image img {
    width: 100%;
}

/* === HEADER GREY SECTION === */
@media screen and (min-width: 1770px) {
    .header-grey-section {
        width: 50%;
        margin-left: 15%;
        padding: 100px 20px 100px 20px;
    }

    .header-grey-section-title {
        font-family: Heavitas;
        color: black;
        font-size: 70px;
        position: absolute;
        width: 40%;
        left: 5%;
        z-index: 3;
        top: -150px;
    }

    .header-grey-section h3 {
        font-size: 20px;
        font-family: Heavitas;
    }

    .header-grey-section-column-right {
        background-color: #f5f5f5;
        position: absolute;
        z-index: 2;
        right: 0px;
        bottom: -250px;
    }
}

@media screen and (max-width: 1770px) and (min-width: 960px) {
    .header-grey-section {
        width: 50%;
        margin-left: 15%;
        padding: 60px 5px 60px 5px;
    }

    .header-grey-section-title {
        font-family: Heavitas;
        color: black;
        font-size: 70px;
        position: absolute;
        width: 40%;
        left: 5%;
        z-index: 3;
        top: -200px;
    }

    .header-grey-section h3 {
        font-size: 20px;
        font-family: Heavitas;
    }

    .header-grey-section-column-right {
        background-color: #f5f5f5;
        position: absolute;
        z-index: 2;
        right: 0px;
        bottom: -250px;
    }
}

@media screen and (max-width: 960px) {
    .header-grey-section {
        text-align: center !important;
        padding: 20px;
        background-color: #f5f5f5 !important;
    }

    .header-grey-section-title {
        font-family: Heavitas;
        color: black;
        font-size: 30px;
        text-align: center;
    }

    .header-grey-section h3 {
        font-size: 20px;
        font-family: Heavitas;
    }

    .header-grey-section-column-right {
        background-color: #f5f5f5;
    }
}


/** CUSTOM HTML **/
/* == SECTION TITLES === */
.custom-header-container {
    display: flex;
    text-align: center;
}

.custom-header-row {
    width: 30px;
    border: 1px solid #676767;
}

.custom-header-row.left {
    margin: auto 0px auto auto;
}

.custom-header-row.right {
    margin: auto auto auto 0px;

}

.custom-header-hero {
    margin: auto 50px auto 50px;
    font-size: 20px;
    font-weight: bold;
    font-family: Heavitas;
    color: #676767;
}

.custom-header-hero-black {
    font-size: 20px;
    font-family: Heavitas;
    color: #000;
}

.custom-header-title {
    text-align: center;
    font-family: Heavitas;
    color: black;
    font-size: 72px;
}

@media only screen and (max-width: 960px) {

    .custom-header-hero {
        margin: auto 20px auto 20px;
    }

    .custom-header-title {
        font-size: 35px;
    }
}

/* #region Carousel Overflow Section */
.goldtest-section-overflow-right,
.goldtest-section-overflow-left {
    display: flex !important;
    height: 100%;
}

.goldtest-section-overflow-right>div {
    margin: auto 100px auto 100px !important;
}

.goldtest-section-overflow-left>div {
    margin: auto 150px auto 50px !important;

}


@media only screen and (max-width: 1200px) {
    .goldtest-section-overflow-right>div {
        margin: auto 0px auto 140px !important;
    }

    .goldtest-section-overflow-left>div {
        margin: auto 180px auto -20px !important;
    }
}

@media only screen and (max-width: 960px) {

    .goldtest-section-overflow-right>div,
    .goldtest-section-overflow-left>div {
        margin: auto 30px auto 0 !important;
    }

    .goldtest-section-overflow-title,
    .goldtest-section-overflow-text {
        text-align: center;
    }

    .goldtest-section-overflow-divider {
        position: relative;
        left: calc(50% - 30px);
    }

    .goldtest-section-overflow-right div:has(> .uk-button.uk-button-primary),
    .goldtest-section-overflow-left div:has(> .uk-button.uk-button-primary) {
        display: flex;
    }

    .goldtest-section-overflow-right .uk-button.uk-button-primary,
    .goldtest-section-overflow-left .uk-button.uk-button-primary {
        margin: auto;
    }
}

.goldtest-section-overflow-title {
    font-family: Heavitas;
    font-size: 30px;
}

.goldtest-section-overflow-divider {
    border: 3px solid #00000019;
    width: 50px;
}

/* #endregion */

/* #region Goldtest Header */
.goltest-header .header-row,
.goldtest-header-dark .header-row {
    display: flex;
    position: relative;
}

.goldtest-header div:has(> .header-hero),
.goldtest-header-dark div:has(> .header-hero) {
    width: fit-content;
}

.goldtest-header .header-hero,
.goldtest-header-dark .header-hero {
    margin: 0;
    text-align: center;
    width: fit-content;
    font-family: Heavitas;
    color: #676767;
    font-size: 20px;
}

.goldtest-header div:has(> .header-divider),
.goldtest-header-dark div:has(> .header-divider) {
    position: relative;
}

.goldtest-header .header-divider,
.goldtest-header-dark .header-divider {
    position: absolute;
    top: 50%;
    width: 30px;
    border: 1px solid #676767;
}

.goldtest-header .header-divider.left,
.goldtest-header-dark .header-divider.left {
    right: 0;
}

.goldtest-header .header-title,
.goldtest-header-dark .header-title {
    text-align: center;
    font-family: Heavitas;
    font-size: 72px;
}

@media only screen and (max-width: 960px) {

    .goldtest-header .header-hero,
    .goldtest-header-dark .header-hero {
        margin: auto 20px auto 20px;
    }

    .goldtest-header .header-title,
    .goldtest-header-dark .header-title {
        font-size: 35px;
    }
}

.goldtest-header-dark .header-title,
.goldtest-header-dark .header-hero {
    color: white;
}

.goldtest-header-dark .header-divider {
    border-color: white;
}

/* #endregion */

/* #region Yootheme Override */
#tm-main .uk-container {
    max-width: 1300px;
}

#tm-main .section-full .uk-container {
    max-width: 100%;
}

#tm-main .section-xl .uk-container {
    max-width: 1800px;
}

.uk-section {
    position: relative;
}

@media only screen and (max-width: 960px) {
    .uk-container {
        padding: 0;
    }
}

.uk-button.uk-button-primary {
    color: white;
    background: #e3000f;
    border-color: #e3000f;
    font-family: Heavitas;
    font-size: 18px;
    padding: 22px 35px;
    line-height: 22px;
}

.uk-button.uk-button-primary:hover {
    background: #cd000e;
    border-color: #cd000e;
}

.uk-button.uk-button-secondary {
    color: white;
    background: black;
    border-color: black;
    font-family: Heavitas;
    font-size: 18px;
    padding: 22px 35px;
    line-height: 22px;
}

/*  #endregion */

/* #region Home About */

.goldtest-home-about div:has(> .uk-button.uk-button-secondary) {
    display: flex;
}

.goldtest-home-about .uk-button.uk-button-secondary {
    margin: auto;
}

/* #endregion */


/* #region Overflow Carousel */
.carousel-overflow {
    position: relative;
}

.carousel-overflow .uk-slidenav-container {
    margin: 0;
    width: 100%;
}

.carousel-overflow .uk-position-bottom-right .el-slidenav,
.carousel-overflow .uk-position-top-right .el-slidenav,
.carousel-overflow .uk-position-bottom-left .el-slidenav,
.carousel-overflow .uk-position-top-left .el-slidenav {
    position: absolute !important;
    margin: 0;
    padding: 0;
    bottom: unset;
    top: unset;
    left: unset;
    right: unset;
    width: 90px;
    height: 90px;
    transform: none;
    display: flex;
    background: black;
    border: none;
    z-index: 10000;
}

.carousel-overflow .uk-position-bottom-right .el-slidenav svg,
.carousel-overflow .uk-position-top-right .el-slidenav svg,
.carousel-overflow .uk-position-bottom-left .el-slidenav svg,
.carousel-overflow .uk-position-top-left .el-slidenav svg {
    margin: auto;
    height: 40px;
    width: 40px;
    color: white;
}

.carousel-overflow .uk-position-bottom-right .el-slidenav {
    bottom: 25px;
    right: 0;
}

.carousel-overflow .uk-position-bottom-right .el-slidenav:nth-child(2) {
    bottom: 25px;
    right: -92px;
}

.carousel-overflow .uk-position-bottom-left .el-slidenav {
    bottom: 25px;
    left: 0;
}

.carousel-overflow .uk-position-bottom-left .el-slidenav:nth-child(1) {
    bottom: 25px;
    left: -92px;
}

.carousel-overflow .uk-position-top-left .el-slidenav {
    top: 25px;
    left: 0;
}

.carousel-overflow .uk-position-top-left .el-slidenav:nth-child(1) {
    top: 25px;
    left: -92px;
}

.carousel-overflow .uk-position-top-right .el-slidenav {
    top: 25px;
    right: 0;
}

.carousel-overflow .uk-position-top-right .el-slidenav:nth-child(2) {
    top: 25px;
    right: -92px;
}

.carousel-overflow .el-content,
.carousel-overflow .el-overlay {
    position: unset;
}


.carousel-overflow .item-content {
    position: absolute;
    width: 380px;
}

.carousel-overflow .uk-slideshow-items:has(+ .uk-position-bottom-right) .item-content,
.carousel-overflow .uk-slideshow-items:has(+ .uk-position-bottom-left) .item-content {
    top: 50px;
}

.carousel-overflow .uk-slideshow-items:has(+ .uk-position-top-right) .item-content,
.carousel-overflow .uk-slideshow-items:has(+ .uk-position-top-left) .item-content {
    top: 150px;
}

.carousel-overflow .uk-slideshow-items:has(+ .uk-position-bottom-right) .item-content,
.carousel-overflow .uk-slideshow-items:has(+ .uk-position-top-right) .item-content {
    right: -190px;
}

.carousel-overflow .uk-slideshow-items:has(+ .uk-position-bottom-left) .item-content,
.carousel-overflow .uk-slideshow-items:has(+ .uk-position-top-left) .item-content {
    left: -190px;
}

.carousel-overflow .el-item,
.carousel-overflow .uk-slideshow-items {
    overflow: visible;
}

@media only screen and (max-width: 960px) {
    .carousel-overflow {
        margin-bottom: 350px !important;
        width: 100%;
    }

    .carousel-overflow .uk-position-bottom-right .el-slidenav,
    .carousel-overflow .uk-position-top-right .el-slidenav,
    .carousel-overflow .uk-position-bottom-left .el-slidenav,
    .carousel-overflow .uk-position-top-left .el-slidenav {
        bottom: -300px !important;
        left: unset !important;
        right: unset !important;
    }

    .carousel-overflow .uk-position-bottom-right .el-slidenav:nth-child(1),
    .carousel-overflow .uk-position-top-right .el-slidenav:nth-child(1),
    .carousel-overflow .uk-position-bottom-left .el-slidenav:nth-child(1),
    .carousel-overflow .uk-position-top-left .el-slidenav:nth-child(1)

    /* .carousel-overflow .el-slidenav:nth-child(1) { */
    .carousel-overflow .uk-position-bottom-right .el-slidenav:nth-child(1),
    .carousel-overflow .uk-position-top-right .el-slidenav:nth-child(1),
    .carousel-overflow .uk-position-bottom-left .el-slidenav:nth-child(1),
    .carousel-overflow .uk-position-top-left .el-slidenav:nth-child(1) {
        left: calc(50% - 60px) !important;
    }

    /* .carousel-overflow .el-slidenav:nth-child(2) { */
    .carousel-overflow .uk-position-bottom-right .el-slidenav:nth-child(2),
    .carousel-overflow .uk-position-top-right .el-slidenav:nth-child(2),
    .carousel-overflow .uk-position-bottom-left .el-slidenav:nth-child(2),
    .carousel-overflow .uk-position-top-left .el-slidenav:nth-child(2) {
        left: calc(50% + 1px) !important;
    }

    .carousel-overflow .uk-slideshow-items:has(+ .uk-position-bottom-right) .item-content,
    .carousel-overflow .uk-slideshow-items:has(+ .uk-position-bottom-left) .item-content,
    .carousel-overflow .uk-slideshow-items:has(+ .uk-position-top-right) .item-content,
    .carousel-overflow .uk-slideshow-items:has(+ .uk-position-top-left) .item-content {
        left: calc(50% - 190px) !important;
        top: unset !important;
        bottom: -150px !important;
    }

    .carousel-overflow .uk-position-cover {
        height: 100%;
    }

    .carousel-overflow .uk-position-bottom-right .el-slidenav,
    .carousel-overflow .uk-position-top-right .el-slidenav,
    .carousel-overflow .uk-position-bottom-left .el-slidenav,
    .carousel-overflow .uk-position-top-left .el-slidenav {
        width: 60px;
        height: 60px;
    }

    .carousel-overflow .uk-slidenav-container {
        margin: 30px;
        width: 100%;
    }
}

/* #endregion*/

.menu-goldtest:hover * {
    color: #fff !important;
    border-color: #efefef;
}


/* LOGIN PAGE */
@media (min-width: 1200px) {

    #customer_login .u-column1,
    #customer_login .u-column2 {
        width: calc(50% - 45px);
    }
}

@media (min-width: 640px) and (max-width: 1200px) {

    #customer_login .u-column1,
    #customer_login .u-column2 {
        width: 100%;
    }
}

#customer_login {
    width: auto;
    margin: auto;
    grid-column-gap: 10px;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    height: fit-content;
    padding: 0;
    margin: 20px;
    padding: 30px;
    box-shadow: 0 0 20px #efefef;
}

#customer_login h2 {
    font-size: 40px;
    font-family: 'Heavitas' !important;
}

#customer_login label {
    font-size: 15px !important;
    font-family: Heavitas !important;
    color: #676767 !important;
    font-weight: 300 !important;
    padding-bottom: 15px;
    padding-top: 10px;
}

#customer_login select,
#customer_login input[type=text],
#customer_login input[type=password],
#customer_login input[type=number],
#customer_login input[type=tel],
#customer_login input[type=email] {
    border-color: #777771;
    border-bottom: none;
    background-color: #EDEDED;
    font-family: inherit;
    font-weight: 400;
    height: 60px;
    margin-bottom: 15px;
    color: #737373 !important;
    font-size: 22px !important;
}

#customer_login button {
    color: white;
    background: #e3000f !important;
    border-color: #e3000f !important;
    font-family: Heavitas !important;
    font-size: 18px !important;
    padding: 10px 30px !important;
}

#customer_login input[type=checkbox] {
    width: 30px !important;
    height: 30px !important;
    border-color: #777771 !important;
    border-radius: 10px;
}

#customer_login input[type=checkbox]:checked {
    border-color: transparent !important;
}


/* Product list */
.goldtest-product-container {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    position: relative;
}

.goldtest-product .stock {
    position: absolute;
    top: 20px;
    left: 20px;
    width: fit-content;
}

.goldtest-product,
.goldtest-product:hover {
    text-decoration: none;
}

.goldtest-product .gender {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 22px;
    text-align: center;
}

.goldtest-product .sex {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: row;
}

.goldtest-product .thumbnail {
    padding: 80px 80px 20px 80px !important;
    max-height: 600px;
    margin: auto;
}

.wpf_form input[type='radio'] {
    display: none;
}

.wpf_form li {
    color: #676767;
    padding: 0 !important;
    border: 2px solid transparent;
}

.wpf_form li>label {
    padding: 10px 15px !important;
}

.wpf_form li:has(input[type='radio']:checked) {
    border: 2px solid black;
    color: black;
}

.goldtest-product .sex img {
    padding: 0 !important;
    width: 40px;
    height: 40px;
}

.goldtest-product .pro {
    width: 40px;
    height: 40px;

    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e3000f;
    border-radius: 10px;
    color: white;
    font-family: 'Heavitas';
    font-size: 14px;
}

.goldtest-product .label {
    margin: 0 !important;
    font-family: 'Heavitas';
    text-transform: uppercase;
    font-size: 20px !important;
    text-align: center;
}

.goldtest-product h2 {
    margin-top: 0 !important;
    text-align: center;
    font-family: 'Heavitas';
}

.goldtest-product .amount {
    text-align: center;
    width: 100%;
}

.goldtest-product>div {
    display: flex;
    flex-direction: column;
}


/* PRODUCT THUMBNAILS */
.rtwpvg-images {
    max-width: 100%;
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.swiper-initialized).rtwpvg-thumbnail-columns-4 .swiper-wrapper {
    display: flex;
    gap: 10px;
}

.rtwpvg-thumbnail-slider.swiper {
    width: fit-content;
}

.rtwpvg-thumbnail-wrapper {
    overflow: scroll !important;
}

.rtwpvg-slider-wrapper {
    margin-bottom: 20px !important;
    /* margin: auto auto 20px auto !important; */
    width: 100%;
}

.rtwpvg-container {
    position: relative;
}

.rtwpvg-single-image-container {
    background: white !important;
}

.rtwpvg-thumbnail-image.swiper-slide {
    width: 90px;
    height: 90px;
    background: white;
    opacity: 1 !important;
    border: 2px solid transparent;
    overflow: scroll;
}

.rtwpvg-thumbnail-image.swiper-slide:hover {
    border: 2px solid black;
}

/* NAVBAR */
.uk-navbar .uk-logo>img {
    opacity: 0;
}

.uk-navbar-container .uk-container {
    height: 120px;
    transition: all .2s;
}

.uk-navbar-container .uk-container .uk-navbar {
    height: 100px;
    padding: 10px 20px;
    transition: all .2s;
}

.uk-navbar .uk-logo {
    background: url('https://migration.goldtest.ch/wp-content/uploads/2024/07/goldtest-logo.svg') no-repeat 0 0 transparent;
    background-size: contain;
    background-position: center;
}

.uk-sticky-below .uk-navbar .uk-logo {
    background: url('https://migration.goldtest.ch/wp-content/uploads/2024/08/goldtest-logo-text.svg') no-repeat 0 0 transparent;
    background-size: contain;
    background-position: center;
}

.uk-sticky-below .uk-navbar-container .uk-container {
    height: 80px;
}

.uk-sticky-below .uk-navbar-container .uk-container .uk-navbar {
    height: 80px;
    padding: 0px 20px;
}

@media only screen and (max-width: 960px) {
    .uk-navbar-nav {
        display: none;
    }

    .tm-toolbar.tm-toolbar-default.uk-visible\@m {
        display: block !important;
    }

    .tm-toolbar.tm-toolbar-default.uk-visible\@m .uk-container>div {
        margin: auto !important;
    }

    .tm-header-mobile.uk-hidden\@m {
        display: none !important;
    }

    .tm-header.uk-visible\@m {
        display: block !important;
    }

    .uk-navbar .uk-logo {
        background: url('https://migration.goldtest.ch/wp-content/uploads/2024/08/goldtest-logo-text.svg') no-repeat 0 0 transparent;
        background-size: contain;
        background-position: center;
    }

    .uk-navbar-container .uk-container {
        height: 80px;
    }

    .uk-navbar-container .uk-container .uk-navbar {
        height: 80px;
        padding: 0px 20px;
    }

    .tm-header {
        position: sticky;
        top: 0;
        z-index: 99999999;
    }
}

.tm-toolbar .uk-container {
    width: 100%;
    margin: 0 !important;
    max-width: 100%;
}

.tm-toolbar .uk-container>div {
    margin: auto 100px auto auto;
}

#polylang-2 ul,
#polylang-3 ul {
    list-style-type: none;
    display: flex;
    gap: 10px;
    font-size: 16px;
}

#polylang-2 ul li a,
#polylang-3 ul li a {
    color: black;
    text-decoration: none;
}

.tm-toolbar-default {
    background: white;
    z-index: 999999;
}

.tm-toolbar .uk-container input::placeholder {
    color: #9f9b9b;
}

.tm-toolbar .uk-container input,
#tm-dialog-mobile form {
    border: 1px solid #e5e5e5 !important;
    color: black !important;
}

.tm-toolbar .uk-container input[type='submit'] {
    background: none;
}

#tm-dialog-mobile form {
    margin-top: 10px;
    width: 100%;
}

.tm-toolbar a {
    text-decoration: none;
    font-size: 16px !important;
    text-transform: capitalize !important;
}

#tm-dialog .menu-item {
    border-top: 2px solid #efefef;
    border-bottom: 1px solid #efefef;
    margin: 0;
    text-align: center;
}

#tm-dialog .menu-item:hover {
    background-color: #e30010;
}

#tm-dialog .menu-item a {
    font-family: Heavitas;
    color: black;
    font-size: 20px;
    padding: 30px 0;
    transition: none;
    display: flex;
    justify-content: center;
}

#tm-dialog .menu-item:hover a {
    color: #fff !important;
    border-color: #efefef;
}

/* .woocommerce {
    padding: 12px;
} */

/* .woocommerce-MyAccount-navigation {
    min-width: 200px;
} */

@media only screen and (max-width: 639px) {

    .woocommerce-MyAccount-navigation ul {
        gap: 10px;
        padding: 16px;
    }

    .woocommerce-MyAccount-navigation-link {
        background: #f2f2f2;
        padding: 0px !important;
        border: 2px solid transparent;
    }

    .woocommerce-MyAccount-navigation-link a {
        padding: 10px 20px !important;
        text-decoration: none;
    }

    .woocommerce-MyAccount-navigation-link.is-active {
        background: white;
        border: 2px solid black;
    }

    .woocommerce-MyAccount-navigation-link.is-active a {
        color: black !important;
    }

    .woocommerce-MyAccount-navigation-link:hover a {
        color: black !important;
    }
}

a {
    text-decoration: none !important;
}

.archive {
    padding: 0px !important;
}

.wpforms-form input[type='checkbox'] {
    height: auto !important;
}

.wpforms-form button[type='submit'] {
    color: white;
    background: #e3000f !important;
    border-color: #e3000f !important;
    font-family: Heavitas !important;
    font-size: 18px !important;
    padding: 10px 30px !important;
}

@media only screen and (min-width: 960px) {
    #tm-dialog .uk-margin-auto-vertical:has(#nav_menu-4) {
        display: none;
    }

    #tm-dialog .uk-margin-auto-vertical:has(#nav_menu-4)+.uk-grid-margin {
        margin-top: 0;
    }
}

.woocommerce:has(.woocommerce-MyAccount-navigation) {
    padding: 12px;
}

#tm-dialog {
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    ;
}