
@font-face {
    font-family: 'Roboto-Regular';
    src: url('/fonts/Roboto-Regular.eot');
    src: url('/fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Roboto-Regular.svg#Roboto-Regular') format('svg'),
        url('/fonts/Roboto-Regular.ttf') format('truetype'),
        url('/fonts/Roboto-Regular.woff') format('woff'),
        url('/fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'inherit';
    src: url('/fonts/inherit.eot');
    src: url('/fonts/inherit.eot?#iefix') format('embedded-opentype'),
        url('/fonts/inherit.svg#inherit') format('svg'),
        url('/fonts/inherit.ttf') format('truetype'),
        url('/fonts/inherit.woff') format('woff'),
        url('/fonts/inherit.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

::selection {
    background-color: white;
    color: silver;
}

body {
    margin: 0px;    
    font-family: Roboto-Regular;
    font-size: 1em;
}

#background {
    height:100%;
    width:100%;
    position: fixed;    
    background-color: slategrey;
    background-image: none;
    background-position: top center;    
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -99;
}

#headwrap {
    background-color: none;
    background-image: none;
    background-position: top center;    
    background-repeat: no-repeat;
    z-index: +1;
}

#main {  
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 100vh;
}

#header {
    max-width: 1200px;
    margin:auto;
    /*overflow: auto;*/ /* check topusermenu */
    padding: 10px 10px 0px 10px;
}

@media screen And (min-width: 701px) {    
    #header {display: grid; grid-template-columns: 1fr auto;display: -ms-grid; -ms-grid-columns: 1fr auto;}
}

@media screen And (max-width: 700px) {
    .smallHide {display: none;}
    .largeHide {}
}

@media screen And (min-width: 701px) {
    .smallHide {}
    .largeHide {display: none;}
}

/*
 *      GENERAL
*/

a {
    text-decoration: none;
    color: #87a890;
    font-weight: bold;
}

h1 {
    color: black;
    font-family: Roboto-Regular;
    margin-top: 0px;
    font-size: 1.4em;
    text-shadow: 1px 1px 2px white;
}

h2 {    
    margin-top: 0px;
    font-size: 1.2em;
    border-bottom: 1px solid silver;    
}

.colorinh2 {
    color: black;
}

h3 {    
    margin-top: 0px;
    padding-left: 20px;
    font-size: 1.1em;
    color: white;
    background-image: linear-gradient(to right, #87a890, rgba(255,255,255,0));
}

hr {
    border: 1px solid #B7D8C0;
}

img {
    vertical-align: middle;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.hidden {
    /*visibility: hidden;*/
    display: none !important;
}

.clickable {cursor: pointer;}

.visible {
    visibility: visible;
}

.button {
    display: inline-block;
    cursor: pointer;

    font-size: 0.9em;
    font-weight: bold; 
    color: white;
    text-decoration: none;

    margin-top: 10px;
    padding: 10px 50px 10px 50px;

    background-color: #87a890;
    border:none;
    border-radius: 20px;
    box-shadow: 0px 0px 5px 0px #87a890;
    /*transition-duration: 1s;*/
}

.button:hover {
    box-shadow: 0px 0px 5px 0px silver;
}

.button.thin {
    padding: 2px 7px;
    margin: 0px;
    width: auto;
    border-radius: 5px;
    box-shadow: none;
    font-weight: normal;
}

video {
    width: 100%;
    max-width: 600px;
}

table {
    border-collapse: collapse;
}

thead {
    background-color: #4f5d73;
    color:white;
}

td {
    padding: 5px 10px;
}

@media screen And (min-width: 701px) {
    td {padding: 5px 20px;}
}

.breadcrumb {
    margin: 20px;
}

/*
*   LOGO
*/
#logo {
    font-family: Roboto-Regular;
    color: white;
    text-shadow: 0px 5px 5px black;
    -ms-column: 1;
    -ms-row: 1;
    padding: auto;
    text-align: left;
}

#logbox {
    -ms-grid-column: 2;   
    grid-row: 1;
    grid-column: 2;
}

#logbox > div {
    display: inline-block;
    margin: 10px;
}

#logbox img {
    width: 24px;
}

/* small screen */
@media screen and (max-width:700px) {
    #logo {    
        /*width: 100vw;*/
        /*position: fixed;*/
        text-align: center;
        /*padding: 5px 0px 0px 5px;*/
        /*padding: 5px;*/
        font-size: 1.8em;    
        /*background-color: #87a890;*/
    }

    #logo a {
        vertical-align: super;
        text-decoration: none;
        color: white;
    }

    #logo img {
        max-width: 200px;
        max-height: 200px;
        vertical-align: bottom;
    }

    #logbox {display:none;}

    #subtitle {
        /*float: right;*/
        /*margin: 65px 20px 0px 0px;*/
        margin: 0px 10px 0px 10px;
        font-size: 1.2em;      
        font-family: Roboto-Regular;
        color: white;
        text-shadow: 0px 3px 5px black;
        text-align: center;
    }
}

/* large screen */
@media screen and (min-width:701px) {
    #logo {    
        /*padding: 15px 0px 0px 30px;*/
        font-size: 3em;
        font-weight: bold;
        grid-row: 1;
        grid-column: 1 / span 2;
    }

    #logo a {
        text-decoration: none;
        color: white;
    }

    #logo img {
        max-width: 200px;
        max-height: 200px;
    }

    #subtitle {    
        /*float: right;*/
        margin: 20px 0px 20px 0px;
        font-size: 2em;
        font-family: Roboto-Regular;
        color: white;
        text-shadow: 0px 3px 5px black;
        font-weight: bold;
        grid-column: span 2;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 2;
        text-align: right;
    }
}

/*
*   TOP NAV
*/
.topnav {
    font-size: 1em;
}

/* small screen */
@media screen and (max-width:700px) {
    #topnav {
        background-color: #87a890;
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        z-index: +1;
    }

    #topnavSmall {
        background-color: #87a890;
        padding: 5px;
    }

    #topnavSmall img {width: 32px;margin: 0px 10px 0px 10px;}
    #topnavSmall img.right {float: right;}

    /*#topnavLarge {height: 0px;background-color: #87a890;overflow: hidden;padding-left:20px;}*/
    /*    #topnavLarge.fold, #smallusermenu.fold {height: 0px;transition: height 0.3s ease-in-out;}
        #topnavLarge.unfold, #smallusermenu.unfold {height: 300px;transition: height 0.3s ease-in-out;}*/
    #topnavLarge, #smallusermenu {height: auto;max-height:0;background-color: #87a890;overflow: hidden;padding-left:20px;transition:.3s max-height 0s ease-in-out;}
    #topnavLarge.fold, #smallusermenu.fold {height:auto;max-height:0;overflow:hidden;transition:.3s max-height 0s ease-in-out;}
    #topnavLarge.unfold, #smallusermenu.unfold {height:auto;max-height:470px;overflow:auto;transition:.3s max-height 0s ease-in;}
    #topnavLarge.unfoldfinal, #smallusermenu.unfoldfinal {max-height:none;}

    .topnav {margin: 20px 0px 20px 0px;padding: 0px;font-family: Roboto-Regular;color: white;}
    .topnav.selected > a {color: #B7D8C0;}
    .topnav a {text-decoration: none;color: white;}

    .wolink {cursor: default;}

    .topnavsubcontentitem {padding: 5px 0px 5px 10px;}
    .topnavsubcontentitem.selected > a {color: #B7D8C0;}

    #cartbox {float: right;}
    #cartbox a {color: #B7D8C0;}
}

/* large screen */
@media screen and (min-width:701px) {
    #topnav {
        background-color: rgba(135, 168, 144, 0.8);
        position: sticky;
        position: -webkit-sticky;
        top: 0;
    }

    #topnavSmall {
        display: none;
    }

    #topnavLarge {
        max-width: 1100px;
        margin: auto;
        padding-left:10px;
    }

    .topnav {
        display: inline-block;
        padding: 7px;
        margin-right: 10px;
        font-family: Roboto-Regular;
        color: white;
    }

    .topnav:hover, .topnav.selected {
        background-color: #B7D8C0;
        border-radius: 20px;    
    }

    .topnavsubcontentitem:hover, .topnavsubcontentitem.selected {
        background-color: #B7D8C0;
    }

    .topnavsubcontentitem {
        padding: 7px 20px 7px 10px;
        margin: 5px 0px;
    }

    .topnavsubcontentitem a {
        display: inline-block;
        width: 100%;
    } 

    .topnavcontainer {
        display: none;
        position: absolute;
        margin: 7px 0px 7px 0px;
    }

    .topnavsubcontent {
        background-color: rgba(135, 168, 144, 0.8);
        border-radius: 5px;
        /*        border-top-left-radius: 0px;*/
        box-shadow: 0px 0px 10px grey;
        overflow: hidden;
    }

    .topnav:hover .topnavcontainer {
        display: block;
    }

    .topnav a {
        text-decoration: none;
        color: white;
    }

    .topnavsubshape {
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 10px solid rgba(135, 168, 144, 0.8);
        margin-left: 10px;
        position: relative;
    }

    .wolink {
        cursor: default;
    }
}

/*
 *      SINGLE PAGE
 */
.backlink {
    text-align: center;
}

.backlink a {
    display: inline-block;
    margin: 0px auto;
    padding: 5px 20px 5px 20px;
    border-radius: 10px;
    color: white;
    background-color: #87a890;
}

/*
 *      LEFT MENU
 */
#leftmenu a {
    display: block;
    margin: 20px 10px 20px 0px;
    color: slategrey;
}
#leftmenu a:hover {
    text-shadow: 0px 0px 1px silver;
}

#leftmenu img {
    width: 32px;
    margin-right: 5px;
}


/*
 *       CONTENT
 */ 
#contents {
    /*width: calc(100% - 20px);*/
    margin-top: 20px; 
}

.contentContainer {
    background-color: none;
    margin: 10px 0px 10px 0px;
}
.contentElement {background-color: none;}

.constrained {
    max-width: 1200px;
    margin:auto; 
    padding: 0px 10px 0px 10px;
}

.constrained.order {
    max-width: 1200px;
}

.validateorder {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.wide .block {
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.wide .photo {
    margin: 0;
    padding: 0;
}

.wide .photo img, .wide .photoORimg {
    width: 100%;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

.block {
    background-color: rgba(255,255,255, 0.8);    
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px -5px black;
}

@media screen and (min-width:500px) {
    .block {margin: 5px;}
}

.block > div {
    clear: both;
}

/* small screen */
@media screen and (max-width: 700px) {
    .contentElement {
        display: grid;
        grid-template-columns: 100%;
        grid-gap: 10px;
    }

    /*.accountContainer {display: none;}*/
    .leftusermenu {display: none;}

    .photo img, .photoORimg {
        width: 100%;    
        box-shadow: 0px 0px 10px 0px grey;
        border-radius: 5px;
    }

    .photo, .photoORimg {
        margin-bottom: 10px;
    }
}

/* large screen */
@media screen and (min-width: 701px) {
    .accountContainer {
        display: grid;
        grid-template-columns: auto 1fr;
        display: -ms-grid;
        -ms-grid-columns: auto 1fr;  
    }

    .contentElement {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr;  
    }

    .contentElement.order {
        display: grid;
        grid-template-columns: 2fr minmax(200px, 1fr);;
        grid-gap: 10px;
        display: -ms-grid;
        -ms-grid-columns: 2fr 1fr;
    }

    .cartContent {position: sticky; position: -webkit-sticky; top: 40px;}

    /*.photo {padding: 2px 5px 2px 5px;}*/
    .photo, .photoORimg {cursor:zoom-in;margin: 2px 5px 2px 5px;}
    .photo.left, .photoORimg.left {float: left; padding: 2px 20px 2px 2px;}
    .photo.right, .photoORimg.right {float: right;  padding: 2px 2px 2px 20px;}
    .photo.center, .photoORimg.center {float:none; padding: 2px 5px 2px 5px; text-align: center;}

    .photo img, .photoORimg {
        width: 200px;    
        box-shadow: 0px 0px 10px 0px grey;
        border-radius: 5px;
    }

    .photo, .photoORimg {margin-bottom: 10px;}

    .photo.micro img, .photoORimg.micro {width: 200px;}
    .photo.thumb img, .photoORimg.thumb {width: 300px;}
    .photo.small img, .photoORimg.small {width: 95%;}
    .photo.panorama img, .photoORimg.panorama {height: 130px; width: unset;}
    .large .photo.small img, .large .photoORimg.small {width: 500px;}
    .photo.mid img, .photoORimg.mid {width: 95vw;max-width: 95%;}
    .photo.full img, .photoORimg.full {width: 100%;}

    .large {
        grid-column: span 2;
        -ms-grid-column-span: 2
    }
}

/*
 *      CART
 */

.cartHead {display: grid;grid-template-columns: 1fr auto auto;}
.cartHead > div {text-align: center;margin: 0px 10px;}
.cartHead img {width:24px;}

.cartline {
    display: grid;
    grid-template-columns: 1fr auto 20px 80px 30px;
    display: -ms-grid;
    -ms-grid-columns: 1fr auto 20px 80px 30px;
}

.cartline > span {
    display: inline-block;
}

.cartrelease {
    color: white;
    background-color: #87a890;
    font-weight: bold;
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
}

.totalline {
    border-top: 1px solid black;
}

.disclaimer {
    font-style: italic;
    margin-top: 10px;
}


/*
 *      LOGIN
 */
#topusermenu, #smallusermenu {
    position: absolute;
    height: 0px;
    width: 250px;
    right: 0;
    margin-top: 10px;
    background-color: #4f5d73;
    border-radius: 5px;    
    transition: height 0.2s ease-out;
    overflow: hidden;
}

#smallusermenu {right:10px;}

#topusermenu a {
    display: block;
    margin: 30px 30px 10px 20px;
    color: white;
}
#smallusermenu a {
    display: block;
    margin: 30px 30px 10px 10px;
    color: white;
}

#topusermenu a img, #smallusermenu a img {
    width: 32px;
    margin-right: 5px;
}

#topusermenu a:hover {    
    text-shadow: 0px 0px 2px silver;
}

#topuserbox {
    position: relative;
}

#topuserbox:hover #topusermenu {
    height: 410px;
    transition: height 0.2s ease-in;
}

.toploginboxarrow {
    display: inline-block;
    position: absolute;
    margin-top: -20px;
    margin-left: 240px;    
    border: 10px solid rgba(255,255,255,0);
    border-bottom-color: #B7D8C0;
}

form.login {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    max-width: 300px;
    padding-bottom: 20px;
    border-radius: 5px;
}

.notice {
    font-size: 0.7em;
    font-style: italic;
    margin-top: 5px;
}

@media screen and (min-width:500px) {
    form.login {padding: 10px;}
}

form.login input {
    box-sizing: border-box;
}

label.login {
    display: block;
    margin-top: 15px;
    margin-left: 10px;
    text-align: left;
}

input.login, textarea.login {
    height: 30px;
    font-size: 1.0em;
    border: 1px solid #87a890;
    border-radius: 2px;
    padding-left: 5px;
    margin: 0px;
}

textarea.login {
    height: 180px;
}

input.login:focus, textarea.login:focus {
    box-shadow: 0px 0px 3px 1px #87a890;
}

.overadded {background-color: #dfd;}
.disabled {background-color: Gainsboro;font-style: italic;color:gray}

/*
 *      Map - Points of Sale
 */
.map {
    height: 300px;
    overflow: hidden;
    z-index: 0;
}

@media screen and (min-height:851px) {
    .map {height: 450px;}
}

.markerIcon > .markerTop{
    display: inline-block;
    padding: 8px;
    border-radius: 20px;
    background-color: rgba(135, 168, 144, 0.8); 
}

.markerTop > div {
    width: 24px;
    height: 24px;
    border-radius: 15px;
    /*background-color: #76c2af;*/    
}

.markerBottom {       
    border: 20px solid rgba(255,255,255,0);
    border-bottom: 0px;    
    border-top: 40px solid rgba(135, 168, 144, 0.8);
    margin: -21px 0px 0px 0px;    
}

.prodstore  {
    background-color: #B7D8C0;
}

.leaflet-popup-content img {
    max-width: 100%;
    max-height: 200px;
}



/*
 *   CONTACT
 */
.contact {
    position: relative;
    /*display: inline-block;*/
    text-align: center;
    margin: auto;
}

fieldset {
    border: none;
    padding: 0px;
}

.contact label {
    display: inline-block;
    width: 150px;
}

.contact input {
    width: 300px;
    margin-bottom: 15px; 
    height: 30px;
    font-size: large;
    font-family: Roboto-Regular;
}

.contact input[type=submit] {    
    height: unset;
}

.contact textarea {
    width: 300px;
    min-height: 200px;
    margin-bottom: 15px; 
    vertical-align: top;
    font-size: large;
    font-family: Roboto-Regular;
}

#contactmap {
    height: 400px;
    overflow: hidden;
    z-index: 0;
}

.mandatory_fields {
    margin-top: 10px;
}

span.mandatory_star {
    color: #E84E1B;
    margin-left: 3px;
}

span.mandatory_text {
    font-style: italic;
}

label {
    padding-right: 20px;
}

input, textarea {
    width: 100%;    
}

@media screen and (min-width:500px) {
    input, textarea {width: 300px;}
}

input[type=radio] {
    width: unset;
    margin: 7px;
}

/*
 *  Releases
 */
.releasesContainer {
    margin-bottom: 20px;
}

.releaseMasterName {
    padding-bottom: 10px;
}

.cutoffchild {
    display: inline-block;
    padding: 0px 5px;
    cursor: pointer;
    color: grey;
}

@media screen And (max-width: 800px) {
    .cutoffchild {padding: 5px;}
}

.cutoffchild.selected {
    color: #87a890;
    font-weight: bold;
}

.selectionContainer {
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px 5px 20px;
    font-weight: bold;
    color: white;
    background-color: #87a890;
    border-radius: 10px;
    max-width: max-content;
}

/*
 *   Products
 */
.productsContainer {
    display: flex;
    flex-wrap: wrap;  

    margin-bottom: 10px;
}

/*.product {
    background-color: lightgoldenrodyellow;    
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px -5px black;
}*/

/*.productTileContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 20px;
    margin-bottom: 10px;
}*/

.productTile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-color: #f7f6de;
    overflow: auto;
    border-radius: 10px;   
    border: none;

    padding-bottom: 15px;
}

.productTile:hover {
    box-shadow: unset;
}

@media screen and (max-width:600px) {
    .productTile {width: 97%;margin: 5px;}
}

@media screen and (min-width:601px) and (max-width:701px) {
    .productTile {width: 48%;margin: 5px;}
}

@media screen and (min-width:701px) and (max-width:950px) {
    .productTile {width: 95%;margin: 10px;}
}

@media screen and (min-width:951px) {
    .productTile {width: 46.5%;margin: 10px;}
}

.productTileName, .productTileName a {
    font-size: 1.2em;    
    text-align: center;
    padding: 5px;
    color: #f7f6de;
    background-color: rgba(0,0,0,0.4);
    font-weight: bold;
}

.productTileSupplier {
    padding: 5px 10px;
}

.productTileImageSupplier img {
    float:right;
    width: 100px;
}

.productTileImage {
    text-align: center;
}

.productTileImage img {
    max-width: 100%;
    max-height: 200px;
    cursor: zoom-in;
}

.productTileImage img.pinned {
    float: left;
    margin: 0px 10px 10px 0px;
    max-width: 120px;
    max-height: 120px;
    box-shadow: 1px 1px 2px 0px silver;
}

.productTileDescription {
    flex: 1 1 auto;
    padding: 5px 10px;
    font-size: 0.9em;
}

.productTileQSetter {
    text-align: center;
    padding-top:10px;
}

.productTilePrice {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px 0px 10px 0px;       
}

.productTileActions  {    
    text-align: center;
}

.productTile label {
    width: 150px;
}

.productTile input[type=number] {
    width: 110px;
    text-align: right;
}

.quantity_setter {
    background-color: #B7D8C0;
    padding:10px 0px 10px 0px;
    border-radius: 60px; 
}

.quantity_to_add {
    padding: 10px 30px 10px 30px;
} 

.quantity_sign {    
    display: inline-block;
    width: 40px;
    height: 19px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    padding:10px 0px 10px 0px;
    background-color: #87a890;
    border-radius: 60px; 
}

.quantity_step {
    width: 20px;
    height: 10px;
    padding: 2px 0px 8px 0px;
}

.subrange_selector {
    margin: 5px;
    font-size: 1em;
}

.subrange_selector select {
    font-size: 1em;
    padding: 5px;
    min-width: 100px;
    max-width: 200px;
    background-color: #f7f6de;
    border: 1px solid silver;
}

#familyFilters {display: flex;}
#subfamilyFilterContainer {
    border-left: 3px solid #87a890;
    /*margin-left: 5px;*/
}
#subfamilyFilterContainer .family {
    /*background-color: white;*/
    padding: 0px 5px;
}

.family {
    display: inline-block;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #87a890;
    cursor: pointer;
}

.family.selected {
    background: #87a890;
    color:white;
}

#releaseNoteContainer {
    text-align: center;
}

.releaseNote {
    margin: 0px 10px 20px 10px;
    padding: 5px;
    border-left: 5px solid #87a890;
    border-radius: 10px;   
    display: inline-block;
    text-align: left;
}

.releaseNote .title {
    /*    font-size: 1.2em;*/
    font-weight: bold;
}

/******************
***   MESSAGE   ***
*******************/
div#msg {
    font-weight: bold;
    text-align: center; 
}

.error {      
    color: #B3272A;
    background-color: rgba(255,200,200,0.7);
    padding: 2px 0px;
}

.info {
    color: forestgreen;
    background-color: rgba(200,255,200,0.7);
    padding: 2px 0px;
}

.question {
    color: cornflowerblue;
    background-color: rgba(200,200,255,0.7);
    padding: 2px 0px;
}

.addedtocart {
    background-image: linear-gradient(to right, #98fb9800, #98fb988c, #98fb9800);
    padding: 4px;
}

span.errordeleter {
    cursor: pointer;
}

span.errordeleter img {
    margin: 0px 7px -3px 0px;
}

.fielderror {
    box-shadow: 0px 0px 3px 1px orangered;
}

.radioerror {
    box-shadow: 0px 0px 3px 1px orangered;
}

/******************
***   FOOTER   ***
*******************/
#footer {    
    text-align: center;
    background-color: rgba(255,255,255,0.5);
    padding: 20px 0px 20px 0px;
    margin-top: 10px;
}

#footer a {
    color: black;
    font-weight: normal;
    text-decoration: none;
}

#footer_left > a > img, #footer_left > img, #footer_right > a > img, #footer_right > img {
    margin: 5px 5px 5px 5px;
}

@media screen and (min-width: 701px) {
    #footer_left {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    #footer_right {
        grid-column: 2;
        grid-row: 1;
        padding-right: 20px;
        text-align: right;
    }

    #footer_content {
        max-width: 1200px;
        margin: auto;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 1fr;
    }
}

/*
 *      calendar
 */
input.calendar {
    width: 100px;
    font-size: 1em;
    font-weight: normal;
    cursor: pointer;
}
img.calendar {
    width: 24px;
    /*margin-right: -25px;*/
    cursor: pointer;
    vertical-align: bottom;
    margin: 0px 5px;
}

div.calendar {
    position: absolute;
    background-color: whitesmoke;
    font-weight: normal;
    color: #666;
    margin-top: 5px;
    padding: 2px;
    border: 3px double silver;
    text-align: center;
    z-index: +1;
    border-radius: 5px;
}

@media screen and (max-width: 500px) {
    .calendar {width: 95vw;left:0;}
}

.calendar .head {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    /*margin-top: 15px;*/
    padding: 10px;
}

.calendar .head .left { cursor: pointer;float: left;}
.calendar .head .right { cursor: pointer;float: right;}
.closer { 
    cursor: pointer;
    color: white;
    background-color: black;
    padding: 0px 3px 0px 3px;
    border: 1px solid black;
    border-radius: 10px;
}

.calendar .foot {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    padding: 10px;
}
.calendar .foot > span {cursor: pointer;}
.calendar .foot img {margin:0px 5px;}

.calendar .legend {margin-top: 5px;}
.calendar .legend .monthday {width: 10px; margin: 0px 5px;}
.calendar .legend .monthday:hover {box-shadow: unset;}

.calendar .weekday {
    display: inline-block;
    width: 13%;  /* 35px */
    padding: 5px;
    color: powderblue;
}

.calendar .week {
    display: flex;
    justify-content: space-around;
}
.calendar .monthday {
    cursor: pointer;
    display: inline-block;
    width: 13%;  /* 35px */
    padding: 5px;
    border-radius: 10px;   
}

.calendar .monthday:hover {
    box-shadow: 0px 0px 2px 2px powderblue inset;
}

.calendar .othermonth {
    color: silver;
}

.calendar .today,.calendar .today.unselectable {background-color: Gainsboro;}

.calendar .selected {
    background-color: powderblue;
}

.calendar .error {
    background-color: AntiqueWhite;
}

.calendar .info {
    background-color: Honeydew;
}

.calendar .unselectable {
    cursor: default;
    /*background-color: unset;*/
    /*color:darkgray;*/
}
.calendar .unselectable:hover {
    box-shadow: unset;
}

/*
 *      recipes
 */
.recipe_title {
    padding: 10px;
    margin: -10px -10px 10px -10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 1.4em;
}

@media screen and (max-width:500px) {
    .recipe_index {margin: -5px;}
}

@media screen and (min-width: 701px) {
    .recipe_index {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 5px;
    }
}

.recipe_index {
    padding: 5px;
}

.recipe_index_classname {
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
}

.recipe_index_items {
    background-color: rgba(255,255,255, 0.8);
    margin-top: 5px;
    padding: 5px;
    box-sizing: border-box;
    height: calc(100% - 25px);
}

.recipe_index_detail {
    padding: 5px;
}

.recipe_index_detail a {
    color: #444444;
}

.recipe_index_detail a:hover {
    color: #87a890;
}

.recipe_image img {
    max-height: 32px;
}

@media (max-width: 700px){
    .recipe_table tr{
        display: block;
    }

    .recipe_table td {
        display: block;
    }
}

.recipe_table img {
    max-width: 95%;
}

#vitPopupContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: +1;
    display: flex;
    overflow: scroll;
}

#vitPopup {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: auto;
    /*    min-width: 500px;
        min-height: 200px;*/
    background: white;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px silver;
    padding: 17px;
    box-sizing: border-box;
}

.vitPopupCloser {
    position: absolute;
    top: 10px;
    right:10px;
}

#vitPopupContent {
}

#vitPopupContent.popInfo {
    margin-top: 25px;
}

#vitPopupContent.popProdTile {
    display: grid;
    grid-template-columns: 200px auto;
}

#vitPopupNavbar {
    display: flex;
    justify-content: space-around;
}

#vitPopupContent.popImage img {
    max-height: 90vh;
    max-width: 90vw;
}

#vitPopupButtons {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

#vitPopupButtons .popupButton {
    color:white;
    border-radius: 3px;
    background-color: #87a890;
    box-shadow: 0px 0px 5px 0px #87a890;
    padding: 5px 20px;
    min-width: 100px;
    text-align: center;
}

#vitPopupButtons .popupButton:hover {
    box-shadow: 0px 0px 5px 0px silver;
}

/*don't forget to leave a line at the end because custom css can be added*/

