:root {
    --scrollbar: 0px;
}

@media only screen and (min-width: 1440px) {
    :root {
        --scrollbar: 16px;
    }
}

@supports (-moz-appearance: none) {
    :root {
        --scrollbar: 0px;
    }
}

@supports (-webkit-scrollbar: none) {
    :root {
        --scrollbar: -1px;
    }
}


/* Mac */
@media only screen and (min-width: 1440px) and (-webkit-device-pixel-ratio: 2) {
    :root {
        --scrollbar: 0px;
    }
}

@supports (-webkit-touch-callout: none) {
    :root {
        --scrollbar: 0px;
    }
}



html {
    overflow-x: hidden;
}

section.full-wide {
    position: relative;
    width: calc(100vw - var(--scrollbar)) !important;
    max-width: calc(100vw - var(--scrollbar)) !important;
    margin-left: calc(-50vw + var(--scrollbar)/2) !important;
    margin-right: calc(-50vw + var(--scrollbar)/2) !important;
    left: 50%;
    right: 50%;
}

section.full-wide > .content-box {
    max-width: 1440px;
    padding: 0 1rem;
    margin: 0 auto;
}

.auto-padding {
    padding-top: 8vw;
    padding-bottom: 8vw;
}

.bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-mask ~ * {
    position: relative;
    z-index: 0
}

.bg-fixed {
    background-attachment: fixed;
}

.left-center {
    background-position: left center;
}

.left-bottom {
    background-position: left bottom;
}

.right-top {
    background-position: right top;
}

.right-center {
    background-position: right center;
}

.right-bottom {
    background-position: right bottom;
}

.center-top {
    background-position: center top;
}

.center-center {
    background-position: center center;
}

.center-bottom {
    background-position: center bottom;
}

.cover {
    background-size: cover;
}

.contain {
    background-size: contain;
}