html, body {
    background-color: #f8f9fa!important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    color: #212529;
    font-size: 15px;
}

/** GENERAL **/

.container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

button, .button, input[type="submit"] {
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    background-color: #005b7c;
    border: 1px solid #005b7c;
    box-shadow: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

button.disabled, .button.disabled, input[type="submit"].disabled {
    opacity: 0.5;
}

button.small, .button.small, input[type="submit"].small {
    padding: 5px;
    font-size: 13px;
}

button:hover, .button:hover, input[type="submit"]:hover {
    color: #fff;
    background-color: #004664;
    border-color: #004664;
}

.notice {
    padding: 12px;
    margin-left: 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border: 1px solid #f0f0f0;
    border-left: 4px solid #32dc32;
    background: #fff;
}

.notice.error {
    border-left: 4px solid #dc3232;
}

.loading {
    display: none;
    position: relative;
    width: 64px;
    height: 40px;
    margin: 0 auto;
}

.loading div {
    position: absolute;
    top: 15px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #005b7c;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.loading div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.loading div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.loading div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(19px, 0);
    }
}

/** TOP BAR **/

.topbar {
    padding: 10px 0;
}

.topbar .nav-menu {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

.topbar .nav-menu li {
    display: inline-block;
}

.topbar .user-info a,
.topbar .nav-menu li a,
.topbar .nav-menu li span {
    padding: 0 5px;
    text-decoration: none;
    font-weight: 500;
    color: #666;
    opacity: .5;
}

.topbar .user-info a:hover,
.topbar .nav-menu li a:hover,
.topbar .nav-menu li span {
    color: #333;
    opacity: 1;
}

.topbar .user-info {
    float: right;
    font-weight: 500;
    color: #666;
}

.topbar .user-info a {
    padding: 0;
    text-decoration: underline;
}

header {
    text-align: center;
    padding: 40px 0;
}
header .logo {
    margin-bottom: 30px;
}
header h1 {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2;
}

.login header h1 {
    display: none;
}

main {
    width: 400px;
    margin: 0 auto;
}

main .form-group {
    margin-bottom: 20px;

}

main #upload-form .form-group:not( .submit ) {
    background: #fff;
    padding: 15px 20px;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
}

main .form-group.submit {
    margin-top: 35px;
}

main .form-group p {
    margin-top: 0;
}

main .form-group label {
    display: inline-block;
    margin-bottom: 10px;
    cursor: pointer;
}

main .form-group .standard-text {
    display: block;
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

/* USER MANAGER SECTION */

body.manage-users main {
    width: 750px;
}

main .users-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

main .users-list-table th,
main .users-list-table td {
    border-bottom: 1px solid #212529;
    box-sizing: border-box;
    vertical-align: middle;
    padding: 10px 5px;
    text-align: center;
}

main .users-list-table th.username-col,
main .users-list-table td.username-col-value {
    text-align: left;
}

main .users-list-table td {
    border-bottom-color: #6666;
}

main .users-list-table td.last_update-col-value {
    font-size: 0.9rem;
}

main .users-list-table tbody tr:last-child td {
  border-bottom: none;
}

main .users-list-table td.actions-col-value a {
    width: auto;
    display: inline-block;
    padding: 5px 10px;
}

main .manage-users-topbar {
    margin-bottom: 20px;
}

main .manage-users-topbar a.button {
    float: right;
    width: auto;
    padding: 5px 10px;
}

main select {
    width: 100%;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

body.update-user p {
    font-weight: 600;
    margin-bottom: 30px;
}

body.update-user .password-error {
    font-size: 14px;
    display:none;
}
body.update-user .password-error span {
    color: #ff0000;
}
body.update-user .password-error small {
    font-style: italic;
}