.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.active {
    background-color: #f9b700;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 900px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
}

/*durch die responsive Klasse werden die Einträge auf Smartphones vertikal angezeigt*/
@media screen and (max-width: 900px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* The alert message box */
.alert {
    padding: 20px;
    box-shadow:  0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 15px;
    /*display: inline-block;*/
}

/* The close button */
.closebtn {
    margin-left: 15px;
    font-weight: bold;
    float: right;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}

body{
    font-family: sans-serif;
    font-size: 22px !important;
}

.center {
    margin: auto;
    width: 90%;
    text-align: center;
}

.left {
    margin: auto;
    width: 90%;
}

.front-layer{
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
}

.hide{
    display: none;
}

.arrow-right {
    width: 0;
    height: 0;
    float:right;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 40px solid #333;
}

.arrow-left {
    width: 0;
    height: 0;
    float:left;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-right: 40px solid #333;
}

.tile{
    height:350px;
    width:350px;
    font-size:30px;
    margin: 20px;
}

.scrollbox{
    border-radius: 5px;
    height:200px;
    background: white;
    font-size:16px;
    overflow:auto;
    text-align:justify;
}

fieldset { border: 2px solid #333;
    border-radius: 6px;
    background: white; }

input{
    /*width: 80%;*/
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
}

button{
    cursor: pointer;
    background-color: white;
    border-radius: 6px;
    border: 2px solid #333;
    padding: 6px 12px;
}

select{
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
}

.kartei{ /*Rand um den ConsTrainer*/
    width: 80%;
    padding: 12px 20px;
    border-radius: 6px;
    border: 2px solid #333;
    text-align: center;
    margin: auto;
}

.col
{
    background: white;
    background-repeat:no-repeat;
    background-size: 100px;
    background-position: center;
    margin: 10% 1%;
    /*padding-bottom: 300px; /* wenn man will, dass klein gezoomt wird: padding-bottom prozentual und width prozentual */
    float: none;
    width: 200px;
    height: 200px;
    /*margin: 1% 1%;*/
}

.stats{
    background-image: url("../img/bar-chart.png");
}

.user{
    background-image: url("../img/man-user.png");
}

.awards{
    background-image: url("../img/trophy.png");
}

.chat{
    background-image: url("../img/chat.png");
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: #f9b700 !important;
    color: #ffffff;
}

/*Tabellen*/
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2}

th {
    background-color: #333;
    color: white;
}


.container {
    text-align: left;
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    border: 2px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.container:hover input ~ .checkmark {
    background-color: #ccc;
}

.container input:checked ~ .checkmark {
    background-color: #f9b700;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

a {
    color:inherit;
}

html{
    font-size: 100%;
}

body{
    /* The default font size will be 10 pixels with the default web browser font size setting*/
    font: 0.625em/1em Verdana, Geneva, Arial, Helvetica, sans-serif;
    line-height: 1.4;
}

input, select, textarea, button, table{
    font-size: 22px;
    /*font-size:1.5vw;*/
}

#info_box{
    display: none;
    margin: 5%;
}

#draggable ,
#draggableTwo {
    width: 300px;
    height: 155px;
    padding: 0.5em;
    x-border: 1px solid #000;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color: #fff;
    margin: auto;
    cursor: pointer;
}