@font-face {
    font-family: latina;
    src: url("/client/media/neo-latina.woff2");
}
@font-face {
    font-family: baumans;
    src: url("/client/media/baumans.woff2");
}
body{
    position: absolute;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0;
    font-size: 1.2em;
    font-family: baumans;
}
.logo{
    width: 3em;
    height: 3em;
    background-size: cover;
    background-image: url('/client/media/blitz_logo.svg');
}
/*Main Content Style*/
main{
    text-align: center;
}

/*Navigation Menu styles*/
nav{
    display: flex;
    font-family: latina;
    position: sticky;
    top: 0;
    background-color: #3e2723;
}
.navbar {
    width: calc(100% - 3em);
    height: auto;
    overflow: hidden;
}
.navbar a {
    float: left;
    font-size: 1.4em;
    color: white;
    text-align: center;
    padding: 0.6em;
    text-decoration: none;
}
.subnav{
    float: left;
}
.subnav .subnavbtn {
    height: 2em;
    font-size: 1.4em;  
    border: none;
    color: white;
    padding: 0.3em;
    background-color: inherit;
    font-family: inherit;
}
.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #ffc107;
    width: 100%;
    z-index: 1;
}
.subnav-content a {
    float: left;
    color: #000000;
    text-decoration: none;
    text-align: left;
}
.navbar a:hover, .subnav-content a:hover, .subnav:hover > .subnavbtn {
    background-color: #cddc39;
    color: black;
}
.subnav:hover > .subnav-content {
    display: block;
}

/*Flash messages*/
.flash{    
    text-align: center;
    box-shadow: 5px 5px 5px lightgrey;
    border-radius: 1em;
    margin: 1em;
    padding: 0.5em;
    color: white;
    background-color: #8d0030;
    font-weight: bold;
}
.flash-X{
    text-decoration: none;
    color: #ffffff;
    margin-right: 1em;
    float: right;
}
.flash-X:hover{
    color: #000000;
}

/*Mobile phone*/
@media only screen and (max-width: 749px){
    .flexCont{
        text-align: left;
		padding: 1%;
        margin: 1%;
        display: flex;
        flex-flow: row wrap;
        align-items: start;
    }
    .boxFlex, .boxFlexS, .boxFlexL{
        width: 100%;
		flex-basis: 100%;
        margin: 0.5em 2%;
	}
}
/*Tablet*/
@media only screen and (min-width: 750px) and (max-width: 999px){
    .flexCont{
        text-align: left;
		padding: 2%;
        margin: 2%;
        display: flex;
        flex-flow: row wrap;
        align-items: start;
    }
    .boxFlex{
        width: 100%;
		flex-basis: 100%;
        margin: 0.5em 2%;
	}
	.boxFlexS{
        width: 100%;
        flex-basis: 33%;
        margin: 0.5em 1%;
    }
    .boxFlexL{
        width: 100%;
        flex-basis: 74%;
        margin: 0.5em 1%;
    }
}
/*Desktop*/
@media only screen and (min-width: 1000px){
    .flexCont{
        text-align: right;
		padding: 2%;
        margin: 2%;
        display: flex;
        flex-flow: row wrap;
        align-items: start;
    }
    .boxFlex{
        width: 100%;
		flex-basis: 45%;
        margin: 0.5em 2%;
	}
	.boxFlexS{
        width: 100%;
        flex-basis: 24%;
        margin: 0.5em 1%;
    }
    .boxFlexL{
        width: 100%;
        flex-basis: 82%;
        margin: 0.5em 1%;
    }
}

/*Input elements*/
select{
    text-align-last: center;
}
.inputText {
    overflow: hidden;
    text-align: center;
}
.inputElem{
    width: 100%;
    overflow-y: auto;
    color: #795548;
    background-color: #607d8b26;
    border-radius: 0.5em;
    border-style: dotted;
    border-color: #804e17;
    border-width: thin;
    font-size: 100%;
    font-family: baumans;
}
.normalButton {
    color: #FFFFFF;
    background-color: #3e2723;
    border: none;
    transition: background-color 0.5s, color 0.5s;
    border-radius: 0.5em;
    cursor: pointer;
    border-style: dotted;
    border-width: thin;
    font-size: 100%;
    font-family: baumans;
}
.normalButton:hover {
    color: #000000;
    background-color: #ffc107;
}
.normalButton:disabled {
    background-color: #ccc;
}

/*Checkbox style*/
input[type=checkbox]{
    display:none;
}
input[type=checkbox] + span{
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.3em;
	margin-right: 0.3em;
	background-image: url("/client/media/checkbox.svg");
	background-size: cover;
	cursor: pointer;
	font-size: inherit;
}
input[type=checkbox]:hover + span{
	background-image: url("/client/media/checkbox_hover.svg");
}
input[type=checkbox]:checked:hover + span{
	background-image: url("/client/media/checkbox_checked_hover.svg");
}
input[type=checkbox]:checked + span{
	background-image: url("/client/media/checkbox_checked.svg");
}
input[type=checkbox]:disabled + span{
    background-color: #f2dce4;
	cursor: default;
}

/*Table style*/
table{
    width: 100%;
    table-layout: auto;
}
th{
    background-color: #cddc399c;
}
tr:nth-child(even) {
    background-color: #e7ecee;
}

