:root {
    --max-width: 1300px;
}

/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    /* Fallback for browsers that do not support gradients */
    background-color: #CEC8B7;
    /* Circular gradient background */
    background-image: radial-gradient(circle at center, #F4F3F1, #CEC8B7);
    /* Center the background */
    background-size: cover;
    /* Fill the entire viewport with the background */
    min-height: 100vh;
    margin: 0;

    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #5c554e;
    text-align: left;
    
    height: 100%;
    display: flex;
    flex-direction: column;

    background-image: url(../images/footer_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom 5em left 0;    
}

.bottom_logo {
    max-width: 160px;
    margin: 1em auto;
    margin-bottom: 0;
}

footer {
    margin-top: 2em;
    min-height: 6em;
    background-color: #59564E;
    color:rgba(216, 211, 197);
    padding: 1em;
    font-size: 90%;
}

footer a {
    color: #dcb948;
}

#content {
    flex: 1;
    padding: 0 1.2em;
}

section {
    max-width: var(--max-width);
    margin: auto;
    border-left: 3px dashed rgba(0,0,0,.4);
    border-top: 10px solid #dcb948;
    background-color: rgba(243, 240, 232, 0.9);
}

section .wrapper {
    margin: 0 .5em;
}


img {
    max-width: 100%;
}

img.border {
    border: 1px solid rgba(0,0,0,.6);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #454B4D;
    margin: .5em 0;
}

@font-face {
    font-family: 'SairaStencil';
    src: url(../assets/fonts/SairaStencilOne-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'AllertaStencil';
    src: url(../assets/fonts/AllertaStencil-Regular.ttf) format('truetype');
}


h1 {
    font-family: 'SairaStencil';
    font-size: 280%;
    line-height: 100%;
    margin: .2em 0;
}

h2 {
    font-family: 'AllertaStencil';
}

a {
    color: #1F8CD6;
    text-decoration: none;
}

a:hover {
    color: #175E91;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    padding: 2rem 3rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Content Styling */
header {
    background-color: #F1EFEB;
    color: #777;
    border-bottom: 1px solid #57544d;
    box-shadow: 0 0 10px rgba(0,0,0,.8);
    /*display: flex;*/
    margin-bottom: 6em;
}

header .bg-top {
    background-color: #171517;
    background-image: url('../images/header_bg_stripe.png');
    background-position: center;
    background-repeat: no-repeat;
    height: 45px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    border-bottom: 1px solid #fff;
}

header .slogan {
    font-size: 120%;
    font-family: 'SairaStencil';
    align-self: end;
    padding-top: 2.2em;
    padding-right: 2em;
    padding-bottom: 2em;
    justify-self: end;
}

/*
header * {
    display: flex;
	flex-direction: row;
    align-content: flex-start;
    justify-content: space-between;
    flex-wrap : wrap
}
*/

header .logo-container {
    margin: 0 auto;
    width: 280px;
    margin-bottom: -5em;
    z-index: 2;
}

header .navigation-container {
    display: flex;
    flex-direction: column;
}

header .wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: .5em 1em;

    display: grid;
    grid-template-columns: 320px calc(100% - 320px);
}

.productContainer {
    display: flex;
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: 1px dashed rgba(0,0,0,.4);
}

.productContainer:last-child {
    border-bottom: none;
}

.productContainer .productImage {
    flex-basis: 300px;
    padding: 1em;
}

.productContainer .productDescription {
    flex-basis: calc(100% - 300px);
}

@media only screen and (max-width: 800px) {
    header .wrapper {
        grid-template-columns: 100% !important;
    }

    section .wrapper {
        padding: .8em 1em;
    }

    header .logo-container {
        margin-bottom: 0;
    }

    header {
        margin-bottom: 2em;
    }

    header .slogan {
        padding: .5em;
        padding-top: 0;
        font-size: 100%;
        align-self: center;
    }

    header .main-nav {
        align-self: center;
    }

  .logo-container {
    margin-top: 2.5em !important;
  }

  #content {
     padding: 0 .2em;
}


  footer {
    margin-top: 5em;
    }
    footer div {
        padding: .5em;
    }
    footer p {
        margin: 0;
    }

    .productContainer {
        flex-direction: column !important;
    }

    .productImage {
        text-align: center;
    }
}

header a {
    color: #777;
}

header .logo {
    width: 100%;
   
}

/* Menu Settings */

.main-nav {
    margin: 0 1em;
    align-self: end;
    display: flex;
}

.main-nav ul {
    margin: 0;
    padding: 0;
   
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
}

.main-nav ul li a {
    background-color: #E3E2DE;
    position: relative;
    display: block;
    line-height: 40px;
    color: #827A70;
    /*border: 1px solid #827A70;*/
    padding: 0 1em;
    white-space: nowrap;
}

.main-nav > ul > li > a {
    border-radius: 4px;
    margin-right: .8em;
    border: 1px solid rgba(0, 0, 0, .1);
}

/*Active dropdown nav item */
.main-nav ul li:hover > a, .main-nav ul li.selected:hover > a {
    background-color: #5a534b;
    color: #F1EFEB;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Selected Dropdown nav item */
.main-nav ul li.selected > a {
    border: 1px solid rgba(0, 0, 0, .3);
    background-color: #827A70;
    color: #F1EFEB;
    text-shadow: 0 0 10px rgba(0,0,0,.8);
    box-shadow: 0 .25rem .8rem rgba(0,0,0,.15)!important;
}

/* Dropdown CSS */
.main-nav ul li {position: relative;}

.main-nav ul li ul {
    position: absolute;
    background-color: #3d3935;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}
.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}
.main-nav .has-children > a:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}

.contentItem01 {
    clip-path: polygon(100% 0,100% 100%,0 80%,0 30%);
    background-color: #9b9688;
    padding: 6em 4em;
    color: #fff;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.rounded {
    border-radius: 0.25rem!important;
}

.mb-2 {
    margin-bottom: 2rem;
}



