@import url('https://fonts.googleapis.com/css?family=Merriweather|Open+Sans&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    margin-bottom: 40px;
}

header {
    overflow: hidden;
    background-color: #222222;
    padding: 10px 10px;
    margin-bottom: 20px;
}

header a {
  float: left;
  color: #f1f1f1;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

header a:hover {
  /*background-color: #ddd;*/
  color: #f05f40;
  -o-transition:.4s;
  -ms-transition:.4s;
  -moz-transition:.4s;
  -webkit-transition:.4s;
  /* ...and now for the proper property */
  transition:.4s;
}

header img {
    position: absolute;
    float: left;
    width: 60px;
    left: 10px;
    top: 7px;
}

label {
    display: inline-block;
    margin-top: 10px;
}

.signupsuccess {
    font-weight: 700;
    color: green;
}

.loginerror, .signuperror {
    font-weight: 700;
    color: red;
}

.calcmanager {
    display: block;
    width: 80%;
    margin: auto;
}

.table-container {
    display: inline-block;
    border-collapse: collapse;
    width: 400px;
    height: 300px;
    margin-right: 40px;
    margin-bottom: 40px;
    vertical-align: top;
}

.table-container table {
    width: 100%;
    height: 100%;
}

.table-container th, .table-container td {
	border: 1px solid #222222;
    border-collapse: collapse;
    padding: 3px;
    width: 50%;
}

.table-container td{
	background-color: #f1f1f1;
}

.table-container th{
	background-color: #5F5F5F;
	color: white;
}

.table-container input[type=number]{
    width: 100%;
    padding: 5px;
    border: none;
    height: 100%;
}

.table-container input[type=submit] {
    background-color: #f05f40;
    border: none;
    border-radius: 300px;
    color: white;
    height: 40px;
    text-transform: uppercase;
    margin: 2px 2px;
    cursor: pointer;
    width: 50%;
    float: right;
}

.table-container input[type=submit]:hover {
    opacity: 0.8;
}

.form-signup input {
    width: 200px;
    margin-bottom: 10px;
}

.index, .admin {
    width: 80%;
    max-width: 800px;
    margin: auto;
}

.index a:link, .index a:visited, .admin a:link, .admin a:visited {
    float: left;
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 20%;
    height: 140px;
    line-height: 40px;
    margin-right: 20px;
    text-align: center;
    text-decoration: none;
}


.admin a:link, .admin a:visited {
    width: 40%;
}

.index a:hover, .index a:active, .admin a:hover, .admin a:active {
    opacity: 0.8;
}


a.green-link:link, a.green-link:visited {
    background-color: #3AC148;
}

a.blue-link:link, a.blue-link:visited {
    background-color: #3A6CC1;
}

a.purple-link:link, a.purple-link:visited {
    background-color: #753AC1;
}

a.red-link:link, a.red-link:visited {
    background-color: #C13A3A;
}

.background-container {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    overflow: auto;
    position: fixed;
    background: url(images/background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login, .registration, .recovery, .inserttoken {
    background-color: #FFFFFF;
    width: 500px;
    height: 600px;
    margin: 7em auto;
    padding: 50px;
    box-shadow: 0px 11px 35px 2px rgba(0, 0, 0, 0.14);
}

.registration {
    height: 750px;
}

.login img, .registration img, .recovery img, .inserttoken img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    margin-top: 5px;
    width: 50%;
}

.login a:link, .login a:visited, .registration a:link, .registration a:visited, .recovery a:link, .recovery a:visited, .inserttoken a:link, .inserttoken a:visited {
    color: #0000EE;
}

.login input[type=text], .login input[type=password], .login input[type=email]{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.login button {
    background-color: #f05f40;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.login button:hover {
  opacity: 0.8;
}



.registration input[type=text], .registration input[type=email], .registration input[type=password], .recovery input[type=email], .inserttoken input[type=text], .inserttoken input[type=password], .deleteaccount input, .changepassword input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.registration button, .recovery button, .inserttoken button, .deleteaccount button, .changepassword button {
    background-color: #f05f40;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.registration button:hover, .recovery button:hover, .inserttoken button:hover, .deleteaccount button:hover, .changepassword button:hover {
     opacity: 0.8;
}


.deleteaccount, .changepassword {
    width: 80%;
    max-width: 600px;
    margin: auto;
}


.profile {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.profile h1 {
    width: 100%;
}

.profile table {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.profile th, .profile td {
    padding: 20px;
    width: 50%;
    text-align: left;
    border-bottom: 1px solid #dadada;
}


.profile a:link, .profile a:visited {
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    background-color: #f05f40;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.profile a:hover{
    opacity: 0.8;
}

.users {
    width: 80%;
    margin: auto;
}

.users table {
  border-collapse: collapse;
  width: 100%;
}

.users table, .users td, .users th {  
  border: 1px solid #ddd;
  text-align: left;
}

.users th, .users td {
  padding: 10px;
}

.users tr:nth-child(even){background-color: #f2f2f2;}

.users button {
    width: 100%;
    display: inline-block;
     padding: 0.35em 1.2em;
     border: 0.1em solid #ddd;
     margin-bottom: 6px;
     box-sizing: border-box;
     text-decoration: none;
     font-weight: 300;
     color: #000000;
     background-color: #FFFFFF;
     cursor: pointer;
     text-align: center;
    /* transition: all 0.2s; */
}

.users button:hover {
     color: #FFFFFF;
     background-color: #000000;
}

@media all and (max-width:30em){
     .users button {
         display:block;
         margin:0.4em auto;
     }
}


.users ul {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333333;
}

.users li {
  float: left;
}

.users li a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

.users li a:hover {
    background-color: #111111;
}

.dropdown {
    width: 100%;
}

 /* Dropdown Button */
.dropbtn {
    width: 100%;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown i {
    padding: 0;
    margin: 0;
    font-size: 20px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    margin-bottom: 0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}


.pagination {
    color: white;
    height: 50px;
}

.pagecounter {
    float: right;
    text-align: right;
    line-height: 50px;
}

.align-left {
    float: left;
}

.align-right {
    float: right;
}

.gdpr{
	width: 60%;
	margin-left: 20%;
}

@media screen and (max-width:1000px){
        .gdpr{
	width: 80%;
	margin-left: 10%;
	}
}



@media screen and (max-width:800px) {
    /* For mobile phones: */    
    .index a:link, .index a:visited {
        width: 40%;
        height: 200px;
        line-height: 100px;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    
    .admin a:link, .admin a:visited {
        width: 100%;
        height: 200px;
        line-height: 100px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width:600px) {
    .index a:link, .index a:visited {
            width: 100%;
            margin-bottom: 20px;
    }
    
    .profile {
        width: 100%;
    }
    
    .background-container {
        background-image: none;
        background-color: white;
    }
    
    .login, .registration, .recovery, .inserttoken {
        width: 100%;
        max-width: 100%;
        height: 100%;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
    }
}


@media screen and (max-width:500px) {
    header a {
        float: none;
        display: block;
        text-align: center;
    }
    
    header .align-right {
        float: none;
    }
    
    .header-logo {
        position: relative;
        display: none;
    }
    
    .calcmanager {
        display: block;
        width: 95%;
        margin: auto;
    }

    .table-container {
        display: block;
        border-collapse: collapse;
        width: 100%;
        margin-right: 0px;
    }
}

