/* Old IE */
#ie {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: black;
    display: block;
}

/* Universal */
body,
html {
    width: 100%;
    height: 100%;
}
body {
    font-family: museo-sans-rounded, sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.5;
    margin: 0;
    display: block;
    overflow-x: hidden;
}
* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: relative;
    outline: none !important;
}
:root {
    font-size: 16px;
}
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

.d-grid {
    display: -ms-grid;
    display: grid;
}
.full-container {
    max-width: 1600px;
}
.container {
    width: 100%;
    margin: 0 auto;
}
.left {
    float: left;
}
a {
    display: block;
    text-decoration: none;
    word-break: break-word;
}
img {
    display: block;
    border-style: none;
    width: 100%;
}

/* Page specific */
body.complete #loader {
    left: 100vw;
    -webkit-transition: all 0.6s cubic-bezier(.77,0,.175,1);
    -o-transition: all 0.6s cubic-bezier(.77,0,.175,1);
    transition: all 0.6s cubic-bezier(.77,0,.175,1);
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
}
#loader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: white;
    z-index: 9998;
    position: fixed;
    height: calc(var(--vh, 1vh) * 100);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
#loader svg#pre {
    /* margin: 0 auto; */
    width: 100%;
    /* max-width: 200px; */
}
#desktop-alert {
    display: block;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 9999;
    background-color: rgba(0,0,0,0.85);
}
#desktop-alert.closed {
    display: none;
}
#desktop-alert .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
}
#desktop-alert .container h2 {
    color: white;
    font-weight: 900;
    font-size: 2.5rem;
    text-align: center;
}
header#masthead {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    background-color: white;
    width: 100%;
    z-index: 999;
    -webkit-box-shadow: 0 -5px 10px 5px rgb(0 0 0 / 50%);
    box-shadow: 0 -5px 10px 5px rgb(0 0 0 / 50%);
}
header#masthead .header-backing {
    background-color: white;
}
header#masthead .header-backing .container {
    padding: 0 1rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-grid-columns: 140px 1fr 60px 90px;
    grid-template-columns: 140px 1fr 60px 90px;
}
header#masthead .header-backing .container #main-logo {
    min-width: 60px;
    max-width: 90px;
    width: 6rem;
    padding: 0.7rem 0;
    margin: 0 auto;
}
a {
    background-color: transparent;
}
#hero {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.4)),to(rgba(0,0,0,0.4))), url('../img/hero_bg.jpg');
    background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url('../img/hero_bg.jpg');
    background-image: linear-gradient(0deg, rgba(0,0,0,0.4),rgba(0,0,0,0.4)), url('../img/hero_bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
#hero #hero-content {
    padding: 0 1rem;
    max-width: 600px;
    width: 100%;
}
#hero #hero-content h1 {
    color: white;
    font-weight: 900;
    text-align: center;
    font-size: 2.5rem;
    -webkit-filter: drop-shadow(0 0.2rem 0.1rem rgba(0, 0, 0, 0.6));
            filter: drop-shadow(0 0.2rem 0.1rem rgba(0, 0, 0, 0.6));
    margin: 0 0 1rem 0;
    line-height: 1;
}
#hero #hero-content p {
    font-weight: 700;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    -webkit-filter: drop-shadow(0 0.2rem 0.1rem rgba(0, 0, 0, 0.6));
            filter: drop-shadow(0 0.2rem 0.1rem rgba(0, 0, 0, 0.6));
}

#loading-section {
    width: 90%;
    max-width: 450px;
    padding: 1rem;
    background-color: rgba(0,0,0,0.85);
    position: fixed;
}
#loading-section h1#loading-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 400;
}
#loading-section #loading {
    margin: 0 auto;
    width: 50%;
    max-width: 100px;
}
.preloader-contain {
    margin: 0 auto;
    width: 50%;
    max-width: 200px;
}

.modal {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: rgba(0,0,0,0.85);
    padding: 1rem;
}
.modal.close,
.modal.close .modal-dialog {
    opacity: 0;
    -webkit-transition: all 0.6s cubic-bezier(.77,0,.175,1);
    -o-transition: all 0.6s cubic-bezier(.77,0,.175,1);
    transition: all 0.6s cubic-bezier(.77,0,.175,1);
}
.modal-close .modal-dialog {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}
.modal-dialog {
    background-color: white;
    padding: 1.2rem;
    height: 100%;
}
.modal-content {
    height: 100%;
    border-radius: 10px;
    overflow-y: scroll;
}
.modal-content #logo {
    width: 70%;
    max-width: 150px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.modal-content #check {
    width: 25%;
    max-width: 150px;
    min-width: 100px;
    margin: 0 auto;
}
.modal-body .container {
    padding: .5rem;
    margin: 2rem 0;
}
.modal-body .container p {
    display: block;
    color: white;
    font-size: 1rem;
    margin: 0;
    width: 100%;
    text-align: center;
    margin: 0 auto 0.5rem auto;
}
.modal-body .container p a {
    color: white;
    text-decoration: underline;
    font-weight: 900;
    display: inline-block;
}
.modal-body .container p span {
    font-family: source-han-sans-simplified-c,sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 0.9rem;
}
.modal-content .container h3 {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}
.modal-content {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.modal-content #check,
.modal-content #bottles {
    display: none;
}
.modal-content.confirm #check,
.modal-content.confirm #bottles {
    display: block;
}
.modal-content #bottles {
    width: 85%;
    margin:  0 auto 2rem auto;
    max-width: 350px;
}
.modal-content.not-valid {
    background-image: url('../img/modal_bg.jpg');
}
.modal-content.not-valid .container {
    background-color: #012d74;
}
.modal-content.repeat {
    background-image: url('../img/modal_bg.jpg');
}
.modal-content.repeat .container {
    background-color: #0080c7;
}
.modal-content.confirm {
    background-image: -o-radial-gradient(circle, #b5daed, #90c4e3, #6badda, #4397d1, #0080c7);
    background-image: radial-gradient(circle, #b5daed, #90c4e3, #6badda, #4397d1, #0080c7);
}
.modal-content.confirm .container {
    background-color: #012d74;
}
.modal-content.not-valid .container,
.modal-content.repeat .container {
    margin-top: 70%;
}

footer {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
}
footer#colophon section#copyright {
    background-color: #0080c6;
    text-align: center;
    color: white;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.9rem;
}
strong {
    font-weight: bold;
}

@media all and (max-width: 1024px) {
    #desktop-alert {
        display: none;
    }
}
@media all and (min-width: 768px) {
    #hero #hero-content h1 {
        font-size: 4rem;
    }
}
/* #desktop-alert {
    display: none;
} */