@font-face {
    font-family: h1_font;
    src: url(../../fonts/h1_font.ttf);
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html, body, main {
    height: 100%;
    width: 100%;
}
body {
    font-size: .9vw;
    background-color: #b7b4aa;
    font-family: sans-serif;
}
button:focus {outline:0;}
main {
    display: -webkit-box;
    display: -ms-flexbox;
    grid-template-columns: 2fr 15fr;
    display: grid;
}
section {
    padding-top: 2vw;
    width: 100%;
    color: #fffbf8;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.product {
    float: left;
    width: 70%;
    margin-bottom: 2%;
}

.product .product-images,
.product .product-form {
    display: none;
}
.fancybox-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    max-width: 1000px;
    max-height: 750px;
}
.fancybox-stage {
    width: 52%;
    background: #fff;
}
.fancybox-form-wrap {
    position: absolute;
    top: 40px;
    right: 0;
    bottom: 40px;
    width: 48%; 
    background: #fff;
}
.fancybox-form-wrap::before, 
.fancybox-form-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}
.fancybox-form-wrap::before {
    width: 8px;
    background: #f4f4f4;
}

.fancybox-form-wrap::after {
    width: 1px;
    background: #e9e9e9;
}
.fancybox-form-wrap .fancybox-button--close {
    position: absolute !important;
    top: 0;
    right: 0;
    background: #F0F0F0;
    color: #222;
    padding: 7px;
}
.fancybox-button:hover {
    color: #111;
    background: #e4e4e4;
}
.fancybox-form-wrap .fancybox-button--close:before {
    display: inline-block;
    content: "\00d7";
    font-size: 30px;
}


.fancybox-inner .product-form {
    overflow: auto;
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 50px;
    left: 0;
    padding: 0 50px;
    text-align: left;
}
.fancybox-inner {
    opacity: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.fancybox-is-open .fancybox-inner {
    opacity: 1;
}

.fancybox-is-closing .fancybox-fx-fade {
    opacity: 1 !important; /* Prevent double-fading */
}
.product-bullets {
    list-style: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    z-index: 99999;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.product-bullets li {
    display: inline-block;
    vertical-align: top;
}

.product-bullets li a {
    display: block;
    height: 30px;
    width: 30px;
    position: relative;
}

.product-bullets li a span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 20px;
    height: 20px;
    border-radius: 99px;
    text-indent: -99999px;
    overflow: hidden;
    background: #fff;
    -webkit-box-shadow: 0px 0px 2px rgb(0,0,0);
    box-shadow: 0px 0px 2px rgb(0,0,0);
}

.product-bullets li.active a span {
    background: #464545
}
.menuItemContainer {
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
    grid-gap: 2%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.menuItemContainer img {
    width: 100%;
    max-width: 100px;
    height: auto;
}
.menuItemContainer button {
    height: 34%;
    background-color: #696456;
    width: 100%;
    border: none;
    font-weight: bold;
    font-size: 20px;
    color: #fbfcfc;
}
.menuItemContainer p {
    text-decoration: none;
    color: black;
    font-size: 20px;
}
/* Styling for fancyBox demo pages */
.fancybox-slide > div > h2:first-child {
    margin-top: 10px;
}

.btn {
    background: #FF6666;
    border-width: 0;
    color: #fff;
    text-decoration: none;
    padding: 7px 20px;
    line-height: 1.5;
    border-radius: 20px;
    text-transform: uppercase;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 80%;
    font-weight: 700;
    margin: 5px 5px 5px 0;
    display: inline-block;
    cursor: pointer;
    outline: none;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn:hover, .btn:focus {
    color: #fff;
}

.imglist a {
    display: inline-block;
}

.imglist img {
    height: 160px;
    margin-bottom: 4px;
}

.tright {
    text-align: right;
}

.tright .btn {
    margin-left: 10px;
}

.hidden {
    display: none;
}

.grid {
    float: left;
    width: 30%;
    padding: 20px;
    background: #eee;
    margin: 0 20px 20px 0;
}
.product-form h3 {
    text-align: center;
}

.black_arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0 1% 1% 0;
    font-size: 20px;
    color: black;
}



/*navigation bar*/
aside {
    background: #080808ab;
    width: 100%;
    height: 100%;
    overflow: none;
    z-index: 1;
    text-align: center;
    padding: 0;
}
nav {
    display: block;
}
aside nav img {
    width: 100%;
}
aside a {
    display: block;
    padding: 1.7vw 0 0 0;
    color: #fff;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    text-transform: uppercase;
    font-size: 19px;
    letter-spacing: .1vw;
}
aside a i {
    margin-bottom: 0.2vw;
    font-size: 1.8vw !important;
}
.top_nav .icon {
    display: none;
}



@media (max-width: 1400px) {
    aside a {
        padding: 3vw 0 0 0;
        font-size: 17px;
    }
    aside a i {
        font-size: 2.5vw !important;
    }
    .menuItemContainer button {
        height: 40%;
        font-size: 17px;
    }
}

@media (max-width: 1100px) {
    main {
        grid-template-columns: 3fr 15fr;
    }
    aside a {
        padding: 4vw 0 0 0;
        font-size: 19px;
    }
    .product {
        width: 85%;
    }
    .menuItemContainer button {
        height: 55%;
        font-size: 17px;
    }
}

@media screen and (max-width: 800px) {
    main {
        grid-template-columns: 5fr 15fr;
    }
    aside a i {
        font-size: 5vw !important;
    }
    aside a {
        font-size: 20px;
    }
    .product {
        width: 95%;
    }
    .menuItemContainer button {
        height: 70%;
    }
    .menuItemContainer {
        grid-template-columns: 1fr 4fr 1fr;
    }

}
@media screen and (max-width: 600px) {
    main {
        grid-template-columns: unset;
        height: auto;
    }
    aside {
        background: #080808d9;
    }
    aside a i {
        font-size: 8vw !important;
    }
    aside nav img {
        width: 100%;
        max-width: 120px;
        height: auto;
    }
    aside nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .top_nav a:not(:first-child) {display: none;}
    .top_nav a.icon {

        float: right;
        display: block;
    }
    .top_nav.responsive {position: relative;}
    .top_nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .top_nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .product {
        width: 98%;
        margin-bottom: 10%;
    }
    .menuItemContainer {
        grid-template-columns: auto;
    }
    .menuItemContainer img {
        margin: 0 auto;
    }
    .menuItemContainer button {
        height: 100%;
        font-size: 20px
    }
    section {
        position: relative;
    }
    .fancybox-stage{
        top: 0;
        position: absolute;
        left: 0;
        width: 100%;
        height: 50%;
    }
    .fancybox-form-wrap {
        bottom: 0 !important;
        position: absolute;
        left: 0;
        top: unset !important;
        right: 0;
        height: 50%;
        width: 100%;
    }
    .fancybox-inner .product-form {
        top: 50px;
        bottom: 7px;
        padding: 0 7px;
        font-size: 16px;
    }
    .black_arrow {
        padding: 0;
        padding-right: 2%;
    }
}
