/*@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Molle:400i');
*/
/* Colour palette: http://www.colourlovers.com/palette/2379388/Absolut_Milk*/
:root {
    --primarybgcolor: #ffffff;
    --secondarybgcolor: #cdc3ab;
    --menybgcolor: #958E7C;
    --boxbgcolor:#EAEDE6;
    --linkcolor: #325187;
    --buttonbgcolor:#55565A;
    --buttontextcolor:#ffffff;
}
/*#61D4B0,#8EE696,#BAF77C,#E8FF65,#ECEDD5,#61D4B0,#8EE696,#BAF77C*/

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--primarybgcolor);    
}
h1, h2, h3, h4, h5, h6 { color: #333; font-family: Helvetica;font-weight:700;}


h1 { 
    font-size: 2em; margin-top:0px;margin-bottom:0.5em;
}
h2 { 
    font-size: 1.5em; margin-top:0px;margin-bottom:0.5em; 
}
h3, h4, h5, h6 { 
    font-size: 1em; 
}

p {
    line-height: 1.5em;
    margin-bottom:10px;
}
a, a:hover, a:visited, a:active {
    color: var(--linkcolor);
    text-decoration: none;
}

hr {
    border-top: 1px solid #999999;
    margin-top: 6px;
    margin-bottom: 6px;
}

.wrapper {
    float: left;
    height: 100%;
    width: 100%;
}

header {
    background-color: var(--secondarybgcolor);
    width: 100%;
    float: left;
    height: 8em;
    position: relative;
    z-index: 2;
}

header .topheader {
    width: 100%;
    height: 5em;
    padding:10px;
    display: block;
    float: left;
}

header .menuheader {
    width: 100%;
    height: 3em;
    display: block;
    float: left;
}

footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    float: left;
    text-align: center;
    z-index: 2;
    background-color: #999999
}
.logo {
    font-family: 'Molle', cursive;
    font-size: 3em;
    color:#FFFFFF;
}

.contentwrapper {
    float: left;
    height: 100%;
    width: 100%;
    margin-top: -8em;
    padding: 8em 0.0em 1.2em;
    position: relative;
    z-index: 1;
    background-color: #BBBBBB;
}
.centercontent {
    text-align:center;
}

.centercontent > ul {list-style-type: none; margin: 0 0 20px 0; padding:0px; background:none;font-size:1.2em;}
.centercontent > ul > li {  background-color: #e7e7e7; display: inline-block;padding:10px;  border-radius: 8px; position: relative; white-space: nowrap; margin: 10px; min-width: 200px; min-height:200px;}
.centercontent > ul > li > a { color: #000}
.centercontent > ul > li > a:hover { color: #00A0B0}


ul.topmenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--menybgcolor);
    height: 3em;
    width: 100%
}

li.menuleft {
    float: left;
}

li.menuright {
    float: right;
}

li.inforight {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 1em 1.4em;
}

.topmenu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 1em 1.4em;
    text-decoration: none;
}

.topmenu li a:hover {
    background-color: #AAAAAA;
}

div.narrow {
    width:30%;
    min-width:300px;
    float:left;
    padding: 10px;
    margin-top:1em;
    background-color: var(--boxbgcolor);
    border-radius: 10px;

}
div.narrowcenter {
    width:300px;
    float:none;
    margin-left: auto;
    margin-right:auto;
    margin-top:1em;
    padding: 10px;
    background-color: var(--boxbgcolor);
    border-radius: 10px;

}
div.broad {
    margin-top:1em;
    width:60%;
    min-width:300px;
    float:left;
    padding: 10px; 
}
ul.form > li{
    border:0px;
    padding:4px;
    margin:0px;
    background-color:none;
    text-align: left;
    list-style-type: none;    
}
input {
    border-radius: 6px;
    font-size: 1em;
    margin: 0;
    outline: 0;
    border: 1px solid #aaaaaa;
    padding: 8px;
}

input.loginbutton, a.loginbutton, a.loginbutton:hover, a.loginbutton:visited, a.loginbutton:active,  {
    display: block;
    background-color: var(--buttonbgcolor);
    color: var(--buttontextcolor);
    border-radius: 10px;
    border:none;
    padding: 10px;
    text-decoration:none;
}

header .loginbutton {
    float: right;
    position: relative;
    top: 1em;
    right: 1em;
}

.loginbutton:hover {
    background-color: #8888FF;
}

.nodrag {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.infodialog {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    padding: 2em;
    background-color: white;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 1em;
    z-index: 100;
    font-size: 1.5em;
}

.infobutton {
    display: block;
    background-color: #AAAAAA;
    color: #FFFFFF;
    border-radius: 0.75em;
    padding: 1em;
    text-decoration: None;
}

table {
/*    border: 2px solid black; */
    border-collapse: collapse;
}

th {
    border: 2px solid black;
    background-color: #444444;
    color: #BBBBBB;
    padding: 0 0.2em;
    text-align: left;
}

td {
    border: 2px solid black;
    padding: 0 0.2em;
    text-align: left;
}

td.asdf {
    border: none;
    background-color: #BBBBBB;
}

.asdf input {
    width: 4em;
    text-align: right;
}

.asdf button {
    width: 2em;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #f2f2f2
}

.loader {
    border: 0.5em solid #f3f3f3; /* Light grey */
    border-top: 0.5em solid #3498db; /* Blue */
    border-radius: 50%;
    width: 3em;
    height: 3em;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
