html {
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
}

body, html {
    margin: 0;
    width: 100%;
    height: 100%;
    background: #230707;
    position: relative;
    font-size: 20px;
}

nav {
    width: 100%;
}

promotion {
    display: block;
    background-color: #8f0000;
    color: #faf4a4;
    font-display: fallback;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    text-align: center;
    padding: 0.5rem;
}

promotion a {
    color: inherit;
}


banner {
    text-align: center;
    display: block;
    width: 100%;
    height: 25.5rem;
    background-color: #a7a9ac;
    background-image: url(../images/hatchBGPattern.png);
    background-size: 5.55rem 5.55rem;
    background-repeat: repeat;
    position: relative;
}

banner .anim_logo {
    width: 100%;
    max-width: 27rem;
    height: 16rem;
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translate(-50%);
    background-image: url(../images/logo_bg.jpg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    flex-flow: column nowrap;
    align-items: stretch;
    overflow: hidden;
    padding: 0.2rem;
}

banner .anim_logo .lightRow {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

banner .bulb {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0.27rem 0.25rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 460px) {
    banner .anim_logo {
        justify-content: center;
    }
    banner .bulb {
        margin: 1.5vw 0.25rem;
    }
}

banner .bulb0 {
    background-image: url(../images/bulb0.png);
}
banner .bulb1 {
    background-image: url(../images/bulb1.png);
}
banner .bulb2 {
    background-image: url(../images/bulb2.png);
}
banner .bulb3 {
    background-image: url(../images/bulb3.png);
}
banner .bulb4 {
    background-image: url(../images/bulb4.png);
}
banner .bulb5 {
    background-image: url(../images/bulb5.png);
}
banner .bulb6 {
    background-image: url(../images/bulb6.png);
}
banner .bulb7 {
    background-image: url(../images/bulb7.png);
}
banner .bulb8 {
    background-image: url(../images/bulb8.png);
}

banner h1 {
    color: black;
    font-display: swap;
    font-family: "Federo", sans-serif;
    font-size: 2rem;
    width: 100vw;
    margin-bottom: 1.75rem;
    position: absolute;
    bottom: 0;
    text-align: center;
    display: block;
}

article {
    display: block;
    background-color: #230707;
    color: #faf4a4;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

section {
    padding: 1rem 2.5rem;
}

article a {
    color: #d9bf35;
    text-decoration: underline;
}

article h2 {
    font-family: "Federo", sans-serif;
    color: #d9bf35;
    font-size: 2.51rem;
}



.blackBG {
    background-color: #000000;
}

.redBG {
    background-color: #771214;
}

.yellowBG {
    background-color: #d9bf35;
}

.hatchBG {
    background-color: #a7a9ac;
    background-image: url(../images/hatchBGPattern.png);
    background-size: 5.55rem 5.55rem;
    background-repeat: repeat;
    color: #000000;
}

.imgFit {
    max-width: 20rem;
    width: 100%;
    height: auto;
}

section {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: stretch;
    max-width: 100vw;
}

.flex23 {
    flex: 0 1 64%;
    min-width: 15rem;
    position: relative;
}

.flex13 {
    flex: 0 1 32%;
    min-width: 10rem;
    position: relative;
}

.flex14 {
    flex: 0 1 25%;
    position: relative;
}

.socialMediaIcons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    flex-flow: row wrap;
}

.centered {
    text-align: center;
}

.ctaButton {
    background-color: #d9bf35;
    color: #771214;
    font-family: Federo, Arial, sans;
    font-weight: 400;
    font-size: 2.5rem;
    text-transform: uppercase;
    outline: 0.5rem solid #d9bf35;
    border: 0.2rem outset #771214;
    height: 7rem;
    width: 90%;
    cursor: pointer;
    margin: 0.5rem auto 2rem;
    text-align: center;
    align-items: center;
    align-content: space-around;
    display: flex;
    flex-flow: row;
}

.ctaButton * {
    width: 100%;
}

.ctaButton:hover {
    background-color: #faf4af;
    border: 0.2rem inset #771214; /*400808;*/
    color: #771111;
}
    
.ctaButton.active {
    background-color: #504420;
    display: none;
}

.ctaButton.pressed {
    background-color: #504420;
    border: 0.2rem outset #400808;
}

footer {
    padding-top: 50px;
    background: #000000;
    text-align: center;
    color: #faf4a4;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.footerDiamond {
    font-size: 0.7em;
}

footer a {
    text-decoration: none;
    color: inherit;
}

.slideDown10 {
    position: relative;
    display: block;
    top: 10%;
}
.slideDown25 {
    position: relative;
    display: block;
    top: 25%;
}
.slideDown75 {
    position: relative;
    display: block;
    top: 75%;
}
.slideDown100 {
    position: relative;
    display: block;
    top: 100%;
}

.yelpBadge {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    margin-bottom: 10px;
}

.yelpBadge > img {
    display: none;
}

.socialIcon {
    width: auto;
    height: 35px;
    margin-right: 5px;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.7em;
    text-align: center;
}

.privacy {
    font-size: 0.7em;
    text-align: right;
}

.imgFill {
    width: 100%;
    height: auto;
    margin-top: 30px;
    box-sizing: border-box;
}

.review {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    flex-flow: column nowrap;
}
.review .quote {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
    order: 2;
}

.citation {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    font-size: 0.8em;
    font-family: Federo, Arial, sans-serif;
    margin-top: 10px;
    order: 1;
}

.citation .name {
    text-align: center;
    flex: 1 1 20%;
}

.citation .reviewDate {
    text-align: center;
    flex: 1 1 20%;
}
.citation .source {
    text-align: right;
    flex: 1 1 20%;
}

.citation .source a {
    color: #d9bf35;
}

.stars {
    min-width: 120px !important;
    max-width: 120px !important;
    width: 120px !important;
    flex: 0 0 120px !important;
}
.stars .star {
    background-image: url(../images/stars.png);
    background-repeat: no-repeat;
    background-size: auto 100%; 
    width: 20px;
    height: 20px;
    display: inline-block;
    #margin-right: 4px;
}

.stars .emptyStar {
    background-position: left top;
    margin-left: -8px;
}

.stars .fullStar {
    background-position: right top;
}

#resova-iframe {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.reviewBox {
    max-height: 590px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#popover {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

#popoverContent {
    width: 25%;
    min-width: 250px;
    height: 25%;
    min-height: 300px;
    background-color: #fff;
    outline: 5px dashed red;
    outline-offset: -10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 2em;
    color: black;
}

.closeX {
    width: 2em;
    height: 2em;
    background-image: url(../images/x-button-icon.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 0.6em;
    top: 0.6em;
}

.promoTitle {
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
}

.promoText {
    font-size: 1em;
    font-weight: 200;
}

@media only screen and (min-width: 721px) {
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: black;
        z-index: 2;
    }
    
    nav .menuButton {
        display: none;
    }
    
    #navMenu {
        height: 3.3rem;
        width: 100%;
        display: flex !important;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    
    .navButton {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 10%;
        font-weight: 500;
        font-family: Federo, Arial, sans-serif;
        font-size: 1.1rem;
        text-transform: uppercase;
        cursor: pointer;
        border: none;
        outline: none;
        background: none;
        position: relative;
    }
    
    .navButton:not(:last-child):after {
        content: " ";
        width: 1rem;
        height: 1rem;
        background: url(../images/diamondGlyph.png);
        background-size: auto;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(54%, -50%);
    }
    
    .navButton.inactive {
        color: #faf4af;
    }
    
    .navButton.active {
        color: #d9bf35;
    }
    
    .navButton:hover {
        color: #fefe77;
    }
    
    footer section .footerDiamond:not(:last-child)::after {
        content: " ";
        width: 1rem;
        height: 1rem;
        background: url(../images/diamondGlyph.png);
        background-size: auto;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 0;
        transform: translateX(54%);
    }

    /*
    .imgFill {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    */

}

@media (min-width: 100px) and (max-width: 720px) {
    body, html {
        width: 100vw;
        height: 100vh;
        font-size: 20px;
    }
    
    nav {
        position: static;
        background-color: green;
        z-index: 1;
        overflow: hidden;
    }
    
    banner {
        max-height: 480px;
    }
    promotion {
        padding-right: 5rem;
    }
    
    nav .menuButton {
        position: fixed;
        top: 1%;
        right: 1%;
        height: 2rem;
        width: 2rem;
        background-image: url(../images/menuIcon.svg.png);
        background-repeat: no-repeat;
        background-position: center right;
        background-size: contain;
        z-index: 10;
    }
    
    #navMenu {
        position: fixed;
        height: 0;
        top: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        justify-content: top;
        align-items: center;
        z-index: 8;
        background-color: green;
    }
    
    .navButton {
        flex-basis: 4rem;
        flex-grow: 0;
        flex-shrink: 0;
        width: 100%;
        background-color: #e4c359;
        color: #771111;
        font-family: Federo, Arial, sans;
        font-weight: 400;
        font-size: 1rem;
        border: 0.2rem inset #400808;
    }
    
    .navButton.active {
        background-color: #504420;
        display: none;
    }
    
    .navButton.pressed {
        background-color: #504420;
        border: 0.2rem outset #400808;
    }
    
    banner {
        padding-top: 1rem;
    }
    
    banner .logo {
        margin: 1rem auto;
        bottom: auto;
    }
    
    section {
        flex-flow: column nowrap;
        padding: 1rem 1rem;
    }
    
    .citation .reviewDate {
        display: none;
    }
    
    .flex23,
    .flex13 {
        flex: 0 0 100%;
        width: 100%;
        min-width: 10rem;
    }
    
    .slideDown10, .slideDown25, .slideDown75, .slideDown100 {
        top: 0;
    }
    
    .gmap_canvas,
    .maprouter {
        width: 100%;
        position: static !important;
        top: 0;
        left: 0;
        text-align: left;
    }
    #gmap_canvas {
        width: 100vw;
        height: 100vw;
    }
    
    #resova-iframe {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .reviewBox {
        max-height: none !important;
        overflow: hidden;
    }
}
