/* Hide header when scrolling down */
.page-header.scroll-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Show header when scrolling up */
.page-header.scroll-up {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* Make header sticky */
.page-header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: transform 0.3s ease;
}

.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f062";
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    color: #1f2029;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.lightScrollIcon::after {
    color: #ecedf3 !important;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f062";
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    opacity: 0;
    background-image: linear-gradient(298deg, #da2c4d, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 3;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-circle {
    height: 46px;
    width: 46px;
    position: absolute;
    left: 0;
    top: 0;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #1f2029;
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover svg.progress-circle path {
    stroke: url(#progressGradient);
}

nav[aria-label="Main menu"] .data-\[active\]\:border-primary[data-active],
nav[aria-label="Main menu"] .hover\:border-primary:hover {
    border-color: #e30613!important
}

.footer-content{
    text-align: center;
}

.footer-content .menu-footer{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-content .menu-footer .menu-item{
    padding: 0 10px;
}

.footer-content .menu-footer .menu-item a{
    color: #c9002b;
    text-transform: uppercase;
    font-size: 16px;
}

.footer-content .footer-copyright{
    font-size: 14px;
}
.hero-image, .hero-image + section{
    display: none;
}

.sticky-right-teaser{
    position: fixed;
    top: calc(50% - 115px);
    right: -5px;
    z-index: 50;
}
.sticky-right-teaser [data-content-type=row][data-appearance=contained]{
    padding: 0;
}
.sticky-right-teaser [data-content-type=row][data-appearance=contained] > div{
    padding: 0;
    margin: 0;
}
.sticky-right-teaser .contact-page-teaser{
    max-width: 122px;
    margin-top: 5px;
}
.lang-wrap{
    background: #e20c1a;
    padding: 3px;
    border-radius: 10px;
    position: relative;
    right: -42px;
    width: 75px;
}
.lang-wrap button:focus{
    outline: none;
    border-color: #e20c1a;
    box-shadow: none;
}
.lang-wrap nav{
    width: 75px;
    z-index: 10;
    box-sizing: border-box;
    position: absolute;
    right: -2px;
    top: 100%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px;
    margin: 4px 0px 0px;
    padding: 0px;
    list-style: none none;
    background: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(187, 187, 187);
    border-image: none;
    border-radius: 10px;
}
.lang-wrap nav:before, .lang-wrap nav:after{
    content: "";
    display: block;
    height: 0px;
    position: absolute;
    width: 0px;
}
.lang-wrap nav:before{
    z-index: 99;
    right: 13px;
    top: -12px;
    border-width: 6px;
    border-style: solid;
    border-image: none;
    border-color: transparent transparent rgb(255, 255, 255);
}
.lang-wrap nav:after{
    z-index: 98;
    right: 12px;
    top: -14px;
    border-width: 7px;
    border-style: solid;
    border-image: none;
    border-color: transparent transparent rgb(187, 187, 187);
}
@media only screen and (max-width: 1023px){
    .sticky-right-teaser{
        right: -3px;
    }
    .sticky-right-teaser .contact-page-teaser{
        max-width: 85px;
    }
    .lang-wrap{
        right: -8px;
    }
}
@media only screen and (max-width: 767px) {
   .progress-wrap{
        right: 10px;
   }
   .footer-content .menu-footer{
        display: block;
        width: 100%;
   }
}

@media only screen and (max-width: 639px) {
    .sticky-right-teaser{
        top: 125px;
        right: 0;
        z-index: 10;
    }
    html[lang="en"] .sticky-right-teaser{
        top: 110px
    }
    .sticky-right-teaser .contact-page-teaser{
        max-width: 70px;
    }
    .lang-wrap{
        right: 0;
    }
}

.catalog-category-view .page-main .page.messages + .container{
    display: none;
}

html[lang="en"] [data-content-type=row][data-appearance=contained],
html[lang="en"] [data-content-type=row][data-appearance=contained] > div,
html[lang="vi"] [data-content-type=row][data-appearance=contained],
html[lang="vi"] [data-content-type=row][data-appearance=contained] > div{
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.sticky-right-teaser [data-content-type=row][data-appearance=contained] > div [data-content-type=html]{
    margin-left: auto;
}


#cms-page{
    overflow: inherit!important;
}

html[lang="en"] #header,
html[lang="en"] .page-footer,
html[lang="vi"] #header,
html[lang="vi"] .page-footer{
    display: none;
}

html[lang="en"] .sticky-right-teaser, html[lang="en"] .lang-wrap,
html[lang="vi"] .sticky-right-teaser, html[lang="vi"] .lang-wrap    {
    right: 0;
}

html[lang="en"] .messages.container,
html[lang="vi"] .messages.container{
    display: none;
}

html[lang="en"] .page-main-full-width .columns,
html[lang="vi"] .page-main-full-width .columns{
    display: block;
}

#header > div{
    max-width: 1700px;
}

.page-header [x-ref="mobileMenuNavLinks"] {
    height: 100vh!important;
}