﻿/*!
 * Site designed by: Jordan Zoucha of Sandhills Publishing.
 *
 * This code was ran through an auto prefixer to maximize compatibility. If you wish to run it through the same auto prefixer, you may find it at https://autoprefixer.github.io/
 *
 */

/*--- HEADER STYLES ---------------------*/
header {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #1a1a1a;
    background-color: #eeeeee;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='37' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='100' y1='33' x2='100' y2='-3'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='100' y1='135' x2='100' y2='97'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23cacaca' fill-opacity='0.05'%3E%3Crect x='100' width='100' height='100'/%3E%3Crect y='100' width='100' height='100'/%3E%3C/g%3E%3Cg fill-opacity='0.05'%3E%3Cpolygon fill='url(%23a)' points='100 30 0 0 200 0'/%3E%3Cpolygon fill='url(%23b)' points='100 100 0 130 0 100 200 100 200 130'/%3E%3C/g%3E%3C/svg%3E");
	/* background by SVGBackgrounds.com */
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 9999;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
/* LOGO
------------------------------------------------*/
.logo {
 width: calc(10.625rem + ((1vw - 3.2px) * 13.2488));
 padding: calc(0.9375rem + ((1vw - 7.68px) * 1.2153)) 0;
}
/***** Start of primary nav ******/
#menu-button {
    display: none;
}
nav.mobile {
    display: none;
}
nav.primary {
    position: relative;
    margin: 0;
    background-color: rgb(26, 26, 26);
    -webkit-box-shadow: 2.5px 4.33px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2.5px 4.33px 5px 0px rgba(0, 0, 0, 0.75);
    z-index: 9999;
}
nav.primary ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    padding: 8px 0;
}
nav.primary ul li {
    display: inline-block;
    width: auto;
    margin: 0;
    list-style-type: none;
}
nav.primary ul li a, #buttons div a {
    -webkit-transition: .4s ease-in;
    -webkit-transition: .2s ease-in;
    transition: .2s ease-in;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 27px;
    font-family: "Oswald";
    color: #d8cbc7;
    font-weight: 500;
}
nav.primary ul li a:hover {
    color: white;
}
/* Appearance of the sub-level links */
nav.primary ul li li a {
    font-size: 27px;
    padding: 14px 10px 8px;
    text-align: left;
    color: #d8cbc7;
    border-right: none;
    border-left: none;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    position: absolute;
    display: none;
}
nav.primary ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
}
nav.primary ul li:hover > ul {
    line-height: 1.8;
    z-index: 9999;
    display: block;/* position: relative; */
}
nav.primary ul ul li {
    position: relative;
    display: block;
    float: none;
    width: 200p;
    margin: 0;
    background: rgb(26, 26, 26);
}

@media screen and (max-width: 1730px) {
nav.primary ul li a {
    padding: 0 7px;
}
}

@media screen and (max-width: 1575px) {
#header {
    padding: 0 20px;
}
nav.primary ul li a, nav.primary ul li li a, #buttons div a {
 font-size: calc(0.9375rem + ((1vw - 6.5px) * 1.2973));
}
}

@media screen and (min-width: 1021px) and (max-width:1575px) {
#header {
 height: calc(7.548125rem + ((1vw - 10.2px) * 16.2162));
}
#header img {
 width: calc(14.0625rem + ((1vw - 10.2px) * 40));
padding-right: calc(1.875rem + ((1vw - 10.2px) * 3.6036));
}
}

/******** End of primary Nav ***************/

@media screen and (max-width: 649px) {
.slideDown {
 top: calc(7.5625rem + ((1vw - 3.2px) * 9.7143));
    -webkit-animation: .4s ease-out 0s 1 slideIn;
    animation: .4s ease-out 0s 1 forwards slideIn;
}
.slideUp {
    -webkit-animation: .4s ease-out 0s 1 slideOut;
    animation: .4s ease-out 0s 1 slideOut;
}
#header {
    display: block;
    flex-direction: column;
    height: auto;
    padding: 0;
    background: #d0d0d0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
}
#header img {
    display: block;
width: calc(16.6875rem + ((1vw - 3.2px) * 26.1429));
    margin-right: auto;
    margin-left: auto;
    padding: 13px 0;
}
/*==============================
	Mobile Nav Styles			
================================*/
nav.primary {
    display: none;
}
#menu-button {
    /* font-size: 24px; */
    position: relative;
    /* line-height:60px; */
    z-index: 9999; /* needs to be lower than nav.mobile, adjust as needed */
    display: inline-block;
    width: 74%;
    /* height: 37px; */
    text-align: center;
    background: rgb(26, 26, 26);
    -webkit-box-shadow: 2.5px 4.33px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2.5px 4.33px 5px 0px rgba(0, 0, 0, 0.75);
}
#menu-button a {
    font-family: 'Oswald', sans-serif;
 font-size: calc(1.0625rem + ((1vw - 3.2px) * 1.3423));
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    color: #d8cbc7;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    padding: 2px 0;
}
.menu-toggle .fas {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}
nav.mobile {
    position: absolute;
    z-index: 9998; /* needs to be higher than #menu-button, adjust as needed */
    display: block;
    visibility: hidden;
    overflow: auto;
    /* left: -250px; */
    width: 100%;
    height: auto;
    background: #d8cbc7;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .95));
    -webkit-filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .95));
    -webkit-box-shadow: 2.5px 4.33px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2.5px 4.33px 5px 0px rgba(0, 0, 0, 0.75);
}
/* MENU #header SOCIAL MEDIA */
nav.mobile .social-media {
    font-size: 16px;
    position: relative;
    display: inline-block;
    padding: 0 0 0 15px;
    text-decoration: none;
    word-spacing: 13px;
    color: #ccc !important;
}
nav.mobile .social-media a:link, nav.mobile .social-media a:visited {
    text-decoration: none;
    color: #ccc;
}
nav.mobile .social-media a:hover, nav.mobile .social-media a:active {
    text-decoration: underline;
    color: #fff;
}
/* MENU #header STYLES */
nav.mobile .mobile_top {
    font-size: 18px;
    font-weight: 400;
    position: relative;
    display: block;
    margin: 50px 0 10px 0;
    padding: 0;
    color: #999;
}
/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: -38px;
    right: 13px;
    padding: 3px 8px 3px;
    text-decoration: none;
    color: #999;
    background: #222;
}
nav.mobile .menu-toggle:hover {
    /* Menu close button on hoveer */
    color: #fff;
}
/* MENU LIST STYLE */
nav.mobile ul {
    font-weight: 300;
    margin: 0;
    padding: 0;
    list-style: none;
}
nav.mobile ul li {
    /* border-bottom: 1px solid #151515; */
    position: relative;
    border-top: 1px solid #454545;
}
/* FIRST LEVEL */
nav.mobile ul li a {
    font-family: 'Oswald', sans-serif;
 font-size: calc(1.0625rem + ((1vw - 3.2px) * 1.3423));
    position: relative;
    display: block;
    padding: 5px;
    /* border-left:4px #333 solid; */
    text-align: -webkit-auto;
    text-decoration: none;
    color: rgb(26, 26, 26);
    text-transform: uppercase;
}
nav.mobile ul li a:hover {
    color: #fff;
    border-left: 4px #e12a28 solid; /* border highlight - Change to fit match site colors */
    background: rgb(26, 26, 26);
}
/* SECOND LEVEL */
nav.mobile ul li li:last-child {
    border: none;
}
nav.mobile ul li li a {
    position: relative;
    display: block;
    padding: 10px 10px 10px 15px;
    text-decoration: none;
    color: #d0d0d0;
    border-left: 4px #444 solid;
    background: #444;
}
nav.mobile ul li li a:hover {
    background: black;
}
/* THIRD LEVEL */
nav.mobile ul li li li:last-child {
    border: none;
}
nav.mobile ul li li li a {
    position: relative;
    display: block;
    padding: 10px 10px 10px 25px;
    text-decoration: none;
    color: #ccc;
    border-left: 4px #555 solid;
    background: #555;
}
nav.mobile ul li li li a:hover {
    background: rgba(85,85,85,.5);
}
nav.mobile ul li .click {
    /* dropdown menu idicator arrow be sure to include this image with your image files */
    position: absolute;
    z-index: 12399994;
    top: 0;
    right: 0;
    display: block;
    width: auto;
    height: auto;
    padding: 10px 20px;
    cursor: pointer;
    color: #fff;
}
.nav-footer {
    font-size: 14px;
    line-height: 16px;
    position: relative;
    padding: 15px 0;
    text-align: center;
    color: #1b1b1b;
}
/* FONT AWESOME ICONS */
nav.mobile ul li a .fa {
    font-weight: 100;
    width: 25px;
    margin: 0 6px 0 0;
    padding: 8px 3px;
    text-align: center;
    border-radius: 30px;
    background: #292929;
    text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
nav.mobile ul li .fa-chevron-down {
    color: rgb(26, 26, 26);
}
}

@media screen and (max-width: 649px) {
#menu-button {
    width: 100%;
}
}

@media screen and (max-width:450px) {
#menu-button {
    width: 100%;
}
}
/*----INVENTORY STYLES - KEEP AT BOTTOM OF CSS----*/
.logo {
    display: unset;
    max-width: unset;
}

/*----IE ONLY STYLES - KEEP AT BOTTOM OF CSS----*/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
#notInventory header {
    -ms-flex-pack: distribute !important;
    justify-content: space-around !important;
}
}
