@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    outline: none;
    -webkit-appearance: none;
    font-family: 'Roboto';
}

main {
    min-height: calc(100% - 130px)
}

h1 {
    text-align: center;
}

hr {
    border: 0;
    height: 0;
    margin: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

footer {
    color: #6c6c6c;
    text-align: center;
    padding: 10px 0;
    clear: both;
}

button, a {
    cursor: pointer;
    border: 0;
}

span[class^="icon-"] {
    font-size: 24px;
}

body {
    margin: 0;
}

/** nav */
.nav {
    overflow: hidden;
    background-color: #ffffff;
    height: 50px;
    -webkit-box-shadow: 0px -2px 10px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px -2px 10px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px -2px 10px 1px rgba(0, 0, 0, 0.75);
}

.nav a span {
    margin-right: 5px;
}

.nav img {
    height: 40px;
    margin: 5px;
    float: right;
}

.nav a {
    float: left;
    display: block;
    color: #5a5a5a;
    text-align: center;
    padding: 13px;
    text-decoration: none;
    font-size: 17px;
}

.nav a:hover {
    background-color: #4dbbb5;
    color: #FFFFFF;
    box-shadow: none;
}

a:hover, a:focus {
    box-shadow: none;
}

.nav .icon {
    display: none;
}

.nav a:nth-last-child(2) {
    float: right;
}

@media screen and (max-width: 1300px) {
    .nav a:not(:first-child) {
        display: none;
    }

    .nav a:nth-last-child(2) {
        float: none;
    }

    .nav a.icon {
        float: right;
        display: block;
    }

    .nav a:not(:last-child) {
        border-bottom: 1px solid #e8e8e8;
    }

    .nav a:last-child {
        width: 24px;
    }

    .nav.responsive {
        height: unset;
        position: relative;
    }

    .nav img {
        float: unset;
    }

    .nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/** login*/
.login {
    min-width: 280px;
    max-width: 500px;
    height: 500px;
    margin: 10px auto;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
}

select {
    width: calc(100% - 52px) !important;
}

.login input, .register input, .app input, .app select {
    width: calc(100% - 72px);
    margin: 20px auto;
    padding: 18px 10px;
    font-size: 14px;
    border-radius: 0;
    border: none;
    background-color: #e8e8e8;
}

input:valid {
    -webkit-box-shadow: inset -4px 0 0 0 #92ec94;
    -moz-box-shadow: inset -4px 0 0 0 #92ec94;
    box-shadow: inset -4px 0 0 0 #92ec94;
}

input:invalid {
    -webkit-box-shadow: inset -4px 0 0 0 #ff7b7b;
    -moz-box-shadow: inset -4px 0 0 0 #ff7b7b;
    box-shadow: inset -4px 0 0 0 #ff7b7b;
}

.login span, .register span, .app span {
    font-size: 24px;
    padding: 13px 14px 15px 14px;
    background-color: #4dbbb5;
    color: #ffffff;
}

.app input[type='date'] {
    padding: 15px 10px 16px 10px;
}

.app input[type='color'] {
    margin: 20px auto;
    height: 18px;
    padding: 17px 10px;
}

.login h1, .register h1, .app h1 {
    margin: 0 auto;
    font-size: 36px;
    color: #5a5a5a;
}

.login button, .register button, .app button, .app .button {
    margin: 0 auto;
    display: block;
    padding: 15px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    font-size: 14px;
    -webkit-box-shadow: 0px 0px 5px -1px rgba(128, 128, 128, 1);
    -moz-box-shadow: 0px 0px 5px -1px rgba(128, 128, 128, 1);
    box-shadow: 0px 0px 5px -1px rgba(128, 128, 128, 1);
    background-color: #5c5c5c;
    color: #ffffff;
}

.login button:focus, .register button:focus, .app button:focus {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(128, 128, 128, 1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(128, 128, 128, 1);
    box-shadow: 0px 0px 5px 0px rgba(128, 128, 128, 1);
}

.login a {
    display: block;
    margin-top: 10px;
    color: #2b2b2b;
}

/**register*/

.register {
    min-width: 280px;
    max-width: 500px;
    margin: 10px auto;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
}

.app {
    min-width: 280px;
    max-width: 800px;
    margin: 10px auto;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
}

.app button, .app .button {
    width: 200px;
    margin: 10px auto;
}

/** error */
.failure {
    background-color: #ffa5a5;
    padding: 5px;
    border-left: 5px solid #ff0000;
}

.success {
    background-color: #b7ffa5;
    padding: 5px;
    border-left: 5px solid #27ff00;
}

.confirmLink {
    margin-top: 100px;
    display: block;
    color: #ffffff;
    background-color: #4dbbb5;
    text-align: center;
    padding: 15px;
    text-decoration: none;
}

/** table */

.table table tr td button {
    background-color: transparent;
}

.table table tr td .remove {
    color: #ff0000;
}

.table table {
    border-spacing: 0;
    border-collapse: collapse;
}

.table thead tr th {
    background-color: #4dbbb5;
    padding: 10px;
    color: #ffffff;
    min-width: 100px;
    text-align: left;
}

.table tbody tr td {
    padding: 10px;
    color: #5a5a5a;
}

.table tbody tr:nth-child(even) td {
    background-color: rgba(77, 187, 181, 0.25);
}

.table {
    width: 80%;
    margin: 50px auto;
    overflow-x: scroll;
    border-radius: 10px;
}

.table table {
    margin: 0 auto;
}

.table table img {
    height: 50px;
}

.table table a {
    text-decoration: none;
    COLOR: #5a5a5a;
}

/**overview*/
.overviewItem {
    width: 300px;
    height: 150px;
    background-color: #4dbbb5;
    color: #ffffff;
    display: inline-block;
    margin: 10px;
    text-decoration: none;
}

.overviewItem span:first-child {
    font-size: 68px;
    float: right;
    padding: 10px;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.overviewItem:hover span:first-child {
    font-size: 96px;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.overviewItem span {
    background-color: transparent;
}

.overviewItem:hover {
    -webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.overviewItem span:nth-child(2) {
    font-size: 26px;
    padding-top: 55px;
    padding-left: 10px;
    display: block;
}

.overviewItem span:last-child {
    display: block;
    font-size: 26px;
    padding: 15px 0 10px 10px
}

.open td {
    background-color: rgba(255, 0, 0, 0.5) !important;
    color: #000000 !important;
}

.paied td {
    background-color: rgba(0, 255, 0, 0.5) !important;
    color: #000000 !important;
}

.delete {
    position: absolute;
    width: 300px;
    background-color: #ffffff;
    height: 150px;
    left: calc(50% - 150px);
    top: calc(50% - 75px);
    -webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.delete .yes {
    bottom: 0;
    right: 0;
    position: absolute;
    padding: 10px;
    width: 100px;
    background-color: #ff0000;
    color: #ffffff;
    margin: 10px;
}

.delete .no {
    width: 100px;
    margin: 10px;
    padding: 10px;
    background-color: #d0d0d0;
    bottom: 0;
    left: 0;
    position: absolute;
}

.delete h3 {
    text-align: center;
    margin-top: 45px;
}

.delete p {
    text-align: center;
    margin: 10px;
}

.add {
    height: 50px;
    width: 50px !important;
    background-color: #4dbbb5 !important;
    color: #ffffff !important;
    position: fixed;
    right: 10px;
    bottom: 10px;
    border-radius: 50px;
}

.add span {
    font-size: 20px !important;
    padding: 0 !important;
}

.close {
    height: 30px;
    width: 30px !important;
    background-color: #ff0000 !important;
    color: #ffffff !important;
    padding: 4px !important;
    position: fixed;
    right: 10px;
    top: 10px;
    border-radius: 50PX;
}

.close span {
    font-size: 16px !important;
    padding: 0px !important;
    background-color: transparent;
}

#new {
    display: none;
    position: fixed;
    width: 60%;
    height: 100%;
    top: 0;
    overflow-y: scroll;
    padding: 0 20%;
    z-index: 999;
    left: 0;
    background-color: #ffffff;
}

@media screen and (max-width: 600px) {
    #new {
        width: calc(100% - 20px);
        padding: 0 10px;
    }
}

@media screen and (max-width: 450px) {
    #edit button {
        display: block;
        float: unset;
    }
}

.edit {
    color: #5a5a5a;
}

.show {
    display: block !important;
}

.left {
    float: left;
}

.right {
    float: right;
}

.introduction {
    height: 50px;
}

.introduction span {
    background-color: transparent;
}

.introduction .icon-cross {
    color: #ff0000;
}

.introduction .icon-check {
    color: #00ff00;
}

.introduction a {
    text-decoration: none;
    color: #5a5a5a;
}

.switch {
    position: relative;
    width: 70px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.switch-checkbox {
    display: none;
}

.switch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 30px;
    padding: 0;
    line-height: 30px;
    border: 2px solid #999999;
    border-radius: 30px;
    background-color: #EEEEEE;
    transition: background-color 0.3s ease-in;
}

.switch-label:before {
    content: "";
    display: block;
    width: 30px;
    margin: 0;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 38px;
    border: 2px solid #999999;
    border-radius: 30px;
    transition: all 0.3s ease-in 0s;
}

.switch-checkbox:checked + .switch-label {
    background-color: #34C240;
}

.switch-checkbox:checked + .switch-label, .switch-checkbox:checked + .switch-label:before {
    border-color: #34C240;
}

.switch-checkbox:checked + .switch-label:before {
    right: 0;
}

.print-all {
    margin: 40px auto 0;
    display: block;
    text-align: center;
    text-decoration: none;
}

.print {
    margin: 40px auto 0;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

input.uppercase::first-letter {
    text-transform: uppercase;
}

.removeAthlete {
    margin: 0 auto;
    display: block;
    background-color: #5A5A5A;
    color: #ffffff;
    padding: 10px 30px;
}

.text {
    background-color: #ffffff;
    padding: 5px;
    margin: 0 auto;
    text-align: center;
    display: block;
    border-radius: 20px;
}

.remove span {
    color: red;
    background-color: transparent;
    float: right;
}

thead tr input {
    border: 0;
    padding: 5px 10px;
}

.hidden {
    display: none;
}

.showTable {
    display: table-row !important;
}

.table table thead tr:first-child th:last-child {
    text-align: right;
}

.icon-search {
    cursor: pointer;
}

.link {
    margin: 10px 0 20px;
    display: block;
}

#editor div {
    margin: 5px auto;
    display: block;
    width: fit-content;
}

#editor button {
    cursor: pointer;
    padding: 10px;
    color: #ffffff;
    display: inline-block;
    width: unset;
    margin: 0;
    background-color: #4dbbb5;
}

#editor button span {
    padding: 0;
}

#send_text {
    width: 90%;
    -webkit-box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
    margin: 40px auto 0;
    height: 200px;
    padding: 10px;
}