* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.nodisplay {
    display: none;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.align-center {
    display: flex;
    justify-content: center;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.col-1 {width: 10%;}
.col-2 {width: 20%;}
.col-3 {width: 30%;}
.col-4 {width: 40%;}
.col-5 {width: 50%;}
.col-6 {width: 60%;}
.col-7 {width: 70%;}
.col-8 {width: 80%;}
.col-9 {width: 90%;}
.col-10 {width: 100%;}

[class*="col-"] {
    padding: 5px;
    float: left;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

[type*="button"] {
    background-color: gray;
}

/*-----------------------------------
# Topnav
-----------------------------------*/

.auth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: auto;
}

.auth > img {
    width: 50%;
}

.auth > h1, .auth > h2, .auth a {
    color: white;
}

.auth button {
    width: 50%;
}

/*-----------------------------------
# Button
-----------------------------------*/

button {
    border: none;
    cursor: pointer;
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 12px;
    border-radius: 6px;
    background-color: dodgerblue;
}

button:hover {
    background-color: rgb(67, 161, 255);
}

button > i {
    min-width: 30px;
}

/*-----------------------------------
# Topnav
-----------------------------------*/

.topnav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: dodgerblue;
    overflow: hidden;
    height: 50px;
    z-index: 5;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.topnav > a:last-child {
    float: left;
    text-decoration: none;
    width: 15%;
    height: 100%;
    padding: 5px;
    display: flex;
    align-items: center;
}

.topnav > a:last-child > img {
    width: 100%;
    height: 100%;
    margin: 0;
}

.topnav h2 {
    color: dodgerblue;
    font-weight: normal;
}

.menu {
    float: left;
    text-decoration: none;
    color: white;
    width: 5%;
    height: 100%;
    padding: 5px;
    font-size: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu:hover {
    border-bottom: 5px solid white;
    padding-bottom: 0;
}

/*-----------------------------------
# Sidebar
-----------------------------------*/

.sidebar {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    width: 15%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: white;
    z-index: 5;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sidebar > a {
    display: block;
    float: left;
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 15px;
    width: 100%;
}

.sidebar > a.active {
    color: dodgerblue;
    border-left: 5px solid dodgerblue;
    padding-left: 10px;
}

.sidebar > a:last-child {
    margin-bottom: 0;
}

.sidebar > a:hover {
    color: dodgerblue;
    border-left: 5px solid dodgerblue;
    padding-left: 10px;
}

.sidebar i {
    min-width: 30px;
}

/*-----------------------------------
# Form
-----------------------------------*/

form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5px;
    width: 100%;
    background-color: white;
}

label {
    width: 100%;
    color: dodgerblue;
    margin: 2px;
}

input, select, textarea {
    width: 100%;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 4px;
    padding: 7px 9px;
    margin: 2px;
    background-color: white;
    font-size: 17px;
}

textarea {
    resize: none;
}

input:focus, textarea:focus {
    outline: none;
}

#progressBar {
    padding: 5px;
    background-color: limegreen;
    color: white;
    font-weight: bold;
    text-align: center;
}

/*-----------------------------------
# Text
-----------------------------------*/

.text-blue {
    color: dodgerblue;
    font-weight: bold;
    text-align: center;
}

.text-success {
    color: limegreen;
    font-weight: bold;
    text-align: center;
}

.text-danger {
    color: red;
    font-weight: bold;
    text-align: center;
}

/*-----------------------------------
# Main
-----------------------------------*/

.main {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5px;
}

.main h1 {
    color: dodgerblue;
    font-weight: normal;
}

/*-----------------------------------
# Card
-----------------------------------*/

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 6px;
    margin: 5px;
}

.card > button {
    width: 100%;
}

/*-----------------------------------
# Table
-----------------------------------*/

.table {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    color: gray;
    font-weight: bold;
}

th, td {
    border: none;
    border-bottom: 1px solid rgb(220, 220, 220);
    text-align: left;
    padding: 10px;
}

table a {
    text-decoration: none;
    color: black;
}

table a:hover {
    color: dodgerblue;
}

table i {
    min-width: 30px;
}

/*-----------------------------------
# Badge
-----------------------------------*/

.badge {
    padding: 6px;
    border-radius: 24px;
    font-weight: bold;
}

.badge-blue {
    color: dodgerblue;
    background-color: rgba(30, 143, 255, 0.3);
}

.badge-success {
    color: limegreen;
    background-color: rgba(50, 205, 50, 0.3);
}

.badge-danger {
    color: red;
    background-color: rgba(255, 0, 0, 0.3);
}

.badge-orangered {
    color: orangered;
    background-color: rgba(255, 68, 0, 0.3);
}

.badge-warning {
    color: orange;
    background-color: rgba(255, 166, 0, 0.3);
}

/*-----------------------------------
# Modal
-----------------------------------*/

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-bg {
    position: absolute;
    z-index: 20;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-body {
    position: relative;
    z-index: 30;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 6px;
    margin: 5px;
    padding: 5px;
    max-height: 100%;
    overflow-y: auto;
}

.modal-body > h1 {
    color: dodgerblue;
    font-weight: normal;
}

/*-----------------------------------
# Status
-----------------------------------*/

.status {
    display: flex;
    align-items: center;
}

.status > i {
    border-radius: 50%;
    padding: 30px;
    font-size: 30px;
    margin: 5px;
}

/*-----------------------------------
# Media
-----------------------------------*/

@media only screen and (max-width: 600px) {

    .col-vs-1 {width: 10%;}
    .col-vs-2 {width: 20%;}
    .col-vs-3 {width: 30%;}
    .col-vs-4 {width: 40%;}
    .col-vs-5 {width: 50%;}
    .col-vs-6 {width: 60%;}
    .col-vs-7 {width: 70%;}
    .col-vs-8 {width: 80%;}
    .col-vs-9 {width: 90%;}
    .col-vs-10 {width: 100%;}

    .auth {
        width: 95%;
    }

    .topnav > a:last-child {
        width: 35%;
    }
    
    .topnav h2 {
        display: none;
    }

    .menu {
        width: 25%;
    }

    .sidebar {
        width: 90%;
    }

    .sidebar-status {
        display: none;
    }

    .main {
        top: 50px;
        width: 100%;
    }

}

@media only screen and (min-width: 601px) {

    .col-s-1 {width: 10%;}
    .col-s-2 {width: 20%;}
    .col-s-3 {width: 30%;}
    .col-s-4 {width: 40%;}
    .col-s-5 {width: 50%;}
    .col-s-6 {width: 60%;}
    .col-s-7 {width: 70%;}
    .col-s-8 {width: 80%;}
    .col-s-9 {width: 90%;}
    .col-s-10 {width: 100%;}

    .auth {
        width: 90%;
    }

    .topnav > a:last-child {
        width: 35%;
    }
    
    .topnav h2 {
        display: none;
    }

    .menu {
        width: 25%;
    }

    .sidebar {
        width: 85%;
    }

    .sidebar-status {
        display: none;
    }

    .main {
        top: 50px;
        width: 100%;
    }

}

@media only screen and (min-width: 768px) {

    .col-m-1 {width: 10%;}
    .col-m-2 {width: 20%;}
    .col-m-3 {width: 30%;}
    .col-m-4 {width: 40%;}
    .col-m-5 {width: 50%;}
    .col-m-6 {width: 60%;}
    .col-m-7 {width: 70%;}
    .col-m-8 {width: 80%;}
    .col-m-9 {width: 90%;}
    .col-m-10 {width: 100%;}

    .auth {
        width: 80%;
    }

    .topnav > a:last-child {
        width: 25%;
    }
    
    .topnav h2 {
        display: none;
    }

    .menu {
        width: 25%;
    }

    .sidebar {
        width: 80%;
    }

    .sidebar-status {
        display: none;
    }

    .main {
        top: 50px;
        width: 100%;
    }

}

@media only screen and (min-width: 992px) {

    .col-l-1 {width: 10%;}
    .col-l-2 {width: 20%;}
    .col-l-3 {width: 30%;}
    .col-l-4 {width: 40%;}
    .col-l-5 {width: 50%;}
    .col-l-6 {width: 60%;}
    .col-l-7 {width: 70%;}
    .col-l-8 {width: 80%;}
    .col-l-9 {width: 90%;}
    .col-l-10 {width: 100%;}

    .auth {
        width: 60%;
    }

    .topnav > a:last-child {
        width: 20%;
    }

    .topnav h2 {
        display: block;
    }

    .menu {
        width: 10%;
        display: none;
    }

    .sidebar {
        width: 20%;
    }

    .sidebar-status {
        display: block;
    }

    .main {
        top: 50px;
        left: 20%;
        width: 80%;
    }

}

@media only screen and (min-width: 1200px) {

    .col-xl-1 {width: 10%;}
    .col-xl-2 {width: 20%;}
    .col-xl-3 {width: 30%;}
    .col-xl-4 {width: 40%;}
    .col-xl-5 {width: 50%;}
    .col-xl-6 {width: 60%;}
    .col-xl-7 {width: 70%;}
    .col-xl-8 {width: 80%;}
    .col-xl-9 {width: 90%;}
    .col-xl-10 {width: 100%;}

    .auth {
        width: 30%;
    }

    .topnav > a:last-child {
        width: 15%;
    }

    .topnav h2 {
        display: block;
    }

    .menu {
        width: 5%;
        display: none;
    }

    .sidebar {
        width: 15%;
    }

    .sidebar-status {
        display: block;
    }

    .main {
        top: 50px;
        left: 15%;
        width: 85%;
    }

}