@font-face{
    font-family: 'Danube';
    src: url('fonts/DANUBE__.TTF') format('truetype');
}

* {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html,body{
    -webkit-overflow-scrolling : touch !important;
    overflow: auto !important;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif !important;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    line-height: 14px;
    color: black;
}


body img {max-width: 100%;}
a {
    text-decoration: none;
    color: #121212;
}
a:hover {
    text-decoration: none;
    color: #000;
}

header {
    box-sizing:border-box;
    padding: 5px 50px;
    height:91px;
    background-color: rgba(255,255,255,0.7);
    color: white;
    border-bottom:1px solid #cea349;
    position:fixed;
    width:100%;
    z-index:99998;
    top: 0px;
}

header a {
    color: black;
    font-size: 18px;
}

.topright-cell {
    display:table-cell;
    text-align:right;
    vertical-align:middle;
    width:220px;
}

.expandable {
    /* overflow set to hidden to hide the expanded text */
    overflow: hidden;
    /* all style changes will ease-in-out for 1s */
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s;
}

.headerlinkmobile
{
        vertical-align:middle;
        border-bottom:1px solid #c2c2c2;
        color:black;
        padding:20px;
        box-sizing:border-box;
        cursor:pointer;
}

footer {
	font-size: 13px;
}

footer a {
    color: white;
}

.footer-links a {
    padding-right: 75px;
    font-size: 21px;
    line-height: 25px;
    color: white;
}

.footer-links a:last-of-type {
    padding-right: 0px;
}


.emsar {
    font-family: 'Danube';
    color: white;
    font-size: 11px;
}

.taproom-image {
    width: 30%;
    margin: 0 auto;
}

.taproom {
    margin-top: -15%;
    background-color: white;
    padding: 15% 5% 5% 5%;
}

.taproom-name {
    font-weight: bold;
    font-size: 2.9em;
    text-align:center;
    line-height: 1.5;
}

.directions {
    padding-right: 10px;
}

.directions a {
    font-size: 20px;
    color: #a7a8aa;
}

.taproom-phone {
    font-weight: bold;
    margin: 10px 0px;
    text-align:center;
}

.table-day {
    padding-right: 20px;
    padding-bottom: 20px;
}

.table-time {
    padding-bottom: 20px;
}

.dotted-line {
    margin: 5vw 0px;
    border-top: 1px dotted;
}

#about-box {
    position:absolute;
    right:0px;
    width:53%;
    padding:60px;
    background-color:rgba(255,255,255,0.7);
    box-sizing:border-box;
    top: calc(50% + 45px);
    transform: translateY(-50%);
}

#about-box .niceinput {
    margin-bottom: 10px;
}

#contact-box {
    width:70%;
    margin:0 auto;
}



#purchase-box {
    position:absolute;
    right:5%;
    bottom: 12%;
    width:65%;
    padding:60px;
    background-color:rgba(255,255,255,0.7);
    box-sizing:border-box;
}

.purchase-break {
    display:none;
}

#badge {
    width: 60%;
}

.beer-select {
    border-radius: 5px;
    font-size:17px;
    color:#757575;
    padding:10px 45px 10px 10px;
    box-sizing:border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    background-image: url(/images/select.png);
    background-position: 100% 0;
    background-repeat: no-repeat no-repeat;
    vertical-align:middle;
    height: 45px;
}

.simplebox {
    border: 1px solid #dddddd;
    background-color: #ffffff;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 10px;
}

.formrow {margin: 5px 0px;}
.formlabel {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    text-align: right;
    width: 34%;
    margin-right: 1%;
    font-weight: bold;
    line-height: 45px;
}
.formbox {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    text-align: left;
    width: 65%;
}

.formbox select {
    border-radius: 5px;
    font-size:17px;
    color:#757575;
    padding:10px 45px 10px 10px;
    box-sizing:border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    background-image: url(/images/select.png);
    background-position: 100% 0;
    background-repeat: no-repeat no-repeat;
    vertical-align:middle;
    height: 45px;
    width: 100%;
}


.formbox input[type='text'], .formbox input[type='password'], .niceinput {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    height: 45px;
}

.formbox textarea, .full-textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 5px 1.7%;
    border-radius: 4px;
    border: 1px solid #ccc;
    height: 100px;
}


.black-button {
    font-size: 17px;
    line-height: 1.11;
    letter-spacing: .3px;
    padding: 10px 40px;
    border-radius: 20px;
    margin-top: 20px;
    border: 0;
    font-weight: 100;
    color: #ffffff;
    background-color: black;
    cursor:pointer;
}

.formbox input[type='submit'] {
    box-sizing: border-box;
    background: #1a5522;
    border: 0;
    -webkit-appearance: none;
    color: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
}

.white-button {
    font-size: 14px;
    line-height: 1.11;
    letter-spacing: .3px;
    padding: 5px 0px;
    width: 90px;
    border-radius: 20px;
    border: 0;
    font-weight: 100;
    color: black;
    background-color: white;
    cursor: pointer;
    margin:0px 10px;
}


.black-button:hover, .formbox input[type='submit']:hover, .white-button:hover {
    -webkit-filter: brightness(90%);
}

.bdy {
    width:100%;
    max-width:1504px;
    margin-left: auto;
    margin-right: auto;
    padding:30px;
    box-sizing:border-box;
}

.events {
    padding: 50px;
}

.bdyheight {
    min-height: calc(100vh - 345px);
    margin-top: 100px;
    margin-bottom: 20px;
}

.verify-popup {
    position: fixed;
    z-index: 99999;
    background-color:black;
    color:white;
    width: fit-content;
    max-width: 865px;
    height: fit-content;
    max-height: 100%;
    font-size: 21px;
    text-align:center;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 40px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 100;
    border-radius: 10px;
    border: 1px solid white;
    line-height: 1;
}

#cvv,#cvv2 {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.75;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    text-align: center;
    cursor: pointer;
}


.viewcart-promo {
    background: #fff;
    padding: 15px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 15px;
}

#promo-box {
    display: none;
    margin-top: 10px;
}

#promo-box input[type='text'] {
    width: 100%;
    margin: 10px 0px;
    padding: 10px 3%;
    background: #f0f1f3 none repeat scroll 0 0;
    border: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    border-radius: 4px;
    box-sizing: border-box;
}

.continue_shopping {
    box-sizing: border-box;
    background: #1a5522;
    border: 0;
    -webkit-appearance: none;
    color: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    width: 150px;
    text-align: center;
}

.space5 {height: 5px;}
.space10 {height: 10px;}
.space15 {height: 15px;}
.space20 {height: 20px;}



.agua-text {
    text-align:justify !important;
    line-height:2;
    font-size:24px;
}

.horizontal-bar {
    background-image: url(images/horizontal-bar.png);
    height: 38px;
    margin:8px 0px;
}

#beer-text {
    position:absolute;
    width:100%;
    max-width:1490px;
    padding:20px;
    box-sizing:border-box;
    font-size:24px;
    line-height:2;
    color:black;
    left:50%;
    transform:translateX(-50%);
    top:13vw;
    text-align:center;
}


#agua-main {
    height:250vh;
    position:relative;
    z-index:1;
}

#agua-1 {
    transition:visibility 0.5s linear, opacity 0.5s linear;
    height:200vh;
    background-image: url(images/agua-santa-background.jpg); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center center; 
    background-attachment: fixed;
}

#agua-2 {
    margin-top:-150vh;
    visibility:hidden;
    opacity:0;
    position:relative;
    height:200vh;
    background-image: url(images/agua-santa-background-2.jpg); 
    background-repeat: no-repeat; background-size: cover; 
    background-position: center center; 
    background-attachment: fixed;
    transition: visibility 0.5s linear, opacity 0.5s linear;
}


#can {
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    position:fixed;
    z-index:99;
    width:15vw;
}

#can2 {
    width:24vw;
    top:calc(100vh - 18vw);
    transform:translateX(-50%);
    position:absolute;
    bottom:unset;
    z-index:9999;
    left:50%;
}

.black-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 9999;
    background-color: black;
    width: fit-content;
    max-width: 100%;
    height: fit-content;
    max-height: 100%;
    font-size: 20px;
    text-align: justify;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    transition: visibility 0.5s linear, opacity 0.5s linear;
    cursor:pointer;
    white-space:nowrap;
    display:table;
}

#homeimages-1 {
    display:inline-block;
    width:49.5%;
    margin-right:0.5%;
    position:relative;
}

#homeimages-2 {
    width:50%;
    display:inline-block;
}

.video-responsive {
	height:100%;
       width: 100%;
        background-image: url(images/background-image.jpg); 
        background-repeat: no-repeat; 
	background-position: center top; 
	background-attachment: fixed;
}

@supports not (-webkit-touch-callout: none) {
        .video-responsive {
        	height:100%;
        	position: fixed;
        	width: 100%;
        	background-image: url(images/background-image.jpg);
        	background-repeat: no-repeat;
        	background-size: cover;
        	background-position: center center;
        	background-attachment: fixed;
	}
}

.home-video {
	height: 100vh;
	position: relative;
        width: 100%;
}

.canvas,
.video {
        height: 100vh;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        background: #000;
        z-index: 5;

}
#over_video{
        position: absolute;
        width: 100%;
        height: 100%;
        text-align: center;
        top: 0;
        z-index: 10;
    margin-top: 20%;
}

#over_video p {
    margin: 0;
    padding: 0;
    float: left;
    background-size: 441px 393px;
    background-image: url(images/can2b.png);
    background-attachment: fixed;
    background-repeat: repeat-x;
    width: 177px;
    background-position: -40px 295px;
    position:relative;
    left: 50%;
}

.mobpad5 {
    padding-left: 50px;
    padding-right: 20px;
}

.pad5right {
    padding-right: 50px;
}

.simpletable {
    display: table;
    width: 100%;
}
.row {display: table-row;}
.simplecell {display: table-cell; text-align: left;}

.summary-cll1 {
    width: 55%;
    text-align: left;
}
.summary-cll2 {
    width: 45%;
    text-align: right;
    font-weight: bold;
}


.simpleinline {
    display: inline-block;
    box-sizing: border-box;
    text-align: left;
}

.inline-container .simpleinline:last-child {margin-right: 0px;}

.inline-1-5, .mobinline-1-5 {
    width: 19%;
    margin-right: 1.25%;
}
.inline-2-5 {
    width: 38%;
    margin-right: 1.25%;
}
.inline-3-5 {
    width: 57%;
    margin-right: 1.25%;
}
.inline-4-5 {
    width: 79.75%;
    margin-right: 1.25%;
}
.inline-5-5 {
    width: 100%;
    margin-right: 0%;
}



.inline-1-12 {
    width: 7.325%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-2-12, .mobinline-2-12 {
    width: 15.75%;
    padding-left: 1.1%;
    vertical-align: top;
}
.inline-3-12, .mobinline-3-12 {
    width: 24.175%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-4-12, .mobinline-4-12 {
    width: 32.6%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-5-12 {
    width: 41.025%;
    margin-right: 1.1%;
    vertical-align: top;
}

.inline-6-12 {
    width: 49.45%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-7-12, .mobinline-7-12 {
    width: 57.875%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-8-12 {
    width: 66.3%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-9-12, .mobinline-9-12 {
    width: 74.725%;
    margin-right: 1.1%;
    vertical-align: top;
}
.inline-10-12 {
    width: 83.15%;
    padding-right: 1.1%;
}
.inline-11-12 {
    width: 91.575%;
    margin-right: 1.1%;
}
.inline-12-12 {
    width: 100%;
    margin: 0;
}




.nomobiletable {
    display:table;
}

.nomobilecell {
    display:table-cell;
}

.justmobile, .justmobileinline {
    display:none;
}


@media (max-width: 1800px) {
    .agua-text {
        font-size: 20px;
    }
}

@media (max-width: 1600px) { 
    #purchase-box {
	padding: 20px;
    }
}

@media (max-width: 1500px) {
    .agua-text {
        font-size: 17px;
    }

    #beer-text {
	font-size: 21px;
    }

    .purchase-break {
	display:block;
    }

    #badge {
	width: 40%;
    }
}

@media (max-width: 1300px) {
    .agua-text {
        font-size: 14px;
    }
}



@media (max-width: 1199px) {
    header {
        padding: 5px;
    }
    .mobpad5 {
	padding-left: 7%;
    }

    #beer-text {
        font-size: 18px;
    }
}

@media (max-width: 1130px) {
    .agua-text {
        font-size: 13px;
    }
}



@media (max-width: 1023px) {

    .inline-1-12, .inline-2-12, .inline-3-12, .inline-4-12, .inline-5-12, .inline-6-12, .inline-7-12, .inline-8-12, .inline-9-12, .inline-10-12, .inline-11-12 {
        width: 100%;
        padding: 0;
        margin: 0px 0px 10px 0px;
    }

    .mobpad5, .pad5right {
	padding: 20px;
    }

    .video-responsive {
	background-image: url(images/background-image-mobile.jpg);
	//background-attachment: scroll;
    }

    .bdy, .events {
	padding: 20px;
    }

    .home-video {
	height: auto;
        padding-top: 92px;
    }

    .home-video .video, .home-video canvas {
	height: auto;
	position: unset;
    }

    #beer-text {
    	position:static;
    	transform:none;
	text-align:left;
    }

    #purchase-box {
        position:static;
    	width:100%;
    	padding:20px;
    }

    #agua-main {
	height: 200vh;
    }

    #agua-1, #agua-2 {
	background-attachment:scroll;
    }

    #agua-2 {
	height: 150vh;
    }

    #can {
        width: 50vw;
    }

    #can2 {
	width: 75%;
	top: calc(100vh - 50vw);
    }

    .topright-cell {
	width: auto;
    }

    .black-popup {
	visibility: visible !important;
	opacity: 1 !important;
    }

    #about-box {
	position: static;
    	width: 100%;
	transform: none;
	padding: 20px;
	margin-top: 20px;
    }

    .verify-popup {
        padding: 30px;
    }

    #contact-box {
	width: 90%;
    }

    #homeimages-1 {
	display: block;
	width: 100%;
	margin-right: 0%;
	margin-bottom: 0.5%;
    }

    #homeimages-2 {
        display: block;
        width: 100%;
    }
    
    .nomobilecell, .nomobiletable {
	display: none;
    }

    .nomobile {
	display: none;
    }

    .justmobile {
	display: block;
    }

    .justmobileinline {
	display: inline-block;
    }
}
