@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700');
@import url('https://fonts.googleapis.com/css?family=Chilanka');

* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", serif;
}

html {
    overflow-y: auto;
    overflow-x: hidden;
}

html, body {
    background-color: white;

}

nav {
    position: fixed;
    width: 100%;
    min-width: 100%;
    height: 5.375em;
    background-color: #266e77;
    flex: 0 1 auto;
    z-index: 5;
    top: 0;
    overflow: hidden;
}

#logo-background {
    display: none;
    position: absolute;
}

.nav-content {
    max-width: 62.5em;
    margin: auto;
    display: flex;
    width: 100%;
}

.nav-logo {

    margin-top: -1em;
    position: relative;
    min-height: 8em;
    min-width: 9em;
    margin-left: 25px;
}

#logo {
    position: absolute;
    z-index: 100;
    left: 27px;
    height: 45%;
    width: 50%;
    top: 30px;
}

.fit-content {
    width: fit-content;
}

button {
    background-color: #55a6b0;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-color: #00000000;
    padding: 0.6em;
    height: fit-content;
    -webkit-tap-highlight-color: transparent;
}

.center {
    margin: auto;
    position: relative;
    display: block;
}

.logout-button {
    right: 1.5em;
    top: 1.3em;
    position: absolute;
    font-size: 1em;
    margin: auto;
    display: block;
}

.nav-wrapper {
    position: fixed;
    right: -800px;
    background-color: #266e77;
    white-space: nowrap;
    font-size: 1.25em;
    transition: right 0.5s;
    padding-top: 7.5em;
    padding-bottom: 2em;
    height: 100%;
    width: 55%;
    top: 0;
    z-index: 10;
}

.not-visible {
    display: none;
}

.content {
    width: 100%;
    padding-top: 5.375em;
}

h1 {
    font-family: Chilanka, sans-serif;
    font-weight: bolder;
    font-size: 2em;
    color: #173438;
    padding-left: 1.5em;
    padding-bottom: 1em;

}

h2 {
    font-family: Chilanka, sans-serif;
    font-weight: bolder;
    color: white;
    margin-bottom: 1em;
    text-align: left;
    padding-left: 0.5em;
}

.login {
    margin: 10em auto auto;
    padding-top: 2em;
    text-align: center;
    background-color: #266e77;
    padding-bottom: 2em;
}

#remember-me {
    width: 1em;
    height: 1em;
    margin-bottom: 2em;
}

label {
    color: white;
}


.login input[type="text"], input[type="password"] {
    width: 70%;
    max-width: 300px;
    height: 50px;
    font-size: 18px;
    margin-bottom: 20px;
    padding-left: 5px;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 0.6em;
    margin: auto;
    margin-top: 2em;
    display: block;

    background-color: #55a6b0;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-color: #00000000;
}

input[type="submit"]:hover {
    background-color: #b3dadf;
    cursor: pointer;
}


input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    color: #f2f2f2;
}

input[type="checkbox"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -2px 10px 0 0;
    vertical-align: middle;
    background: url(images/check_radio_sheet.png) left top no-repeat;
    cursor: pointer;
}

input[type="checkbox"]:checked + label span {
    background: url(images/check_radio_sheet.png) -19px top no-repeat;
}

@media (min-width: 720px) {
    .login {
        width: 100%;
        max-width: 500px;
        padding: 3em;
        border-radius: 10px;
    }
}
