html, body, h1, h2, h3, h4, h5, h6, table {
    font-family: AvenirLTStd-Book, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #565655;
    --bs-body-color: #565655;
    --bs-table-color: #565655;
}

body {
    z-index: 1;
    font-size: 1rem;
}

table {
    vertical-align: initial !important;
}

body:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center;
}

.animated-icon2 {
    width: 30px;
    height: 25px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.animated-icon2 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.animated-icon2 span {
    background: #565655;
}

.animated-icon2 span:nth-child(1) {
    top: 0px;
}

.animated-icon2 span:nth-child(2), .animated-icon2 span:nth-child(3) {
    top: 10px;
}

.animated-icon2 span:nth-child(4) {
    top: 20px;
}

.animated-icon2.open span:nth-child(1) {
    top: 11px;
    width: 0%;
    left: 50%;
}

.animated-icon2.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.animated-icon2.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.animated-icon2.open span:nth-child(4) {
    top: 11px;
    width: 0%;
    left: 50%;
}

nav.navbar {
    background-color: #b1b2b3;
    width: 100%;
    z-index: 9999;
    flex: 1;
    padding: 0.3em;
    display: flex;
    justify-content: flex-start;
    position: sticky;
    top: 0;
}

.navbar-toggler {
    padding: 0px;
    border: 0px;
    margin: 0px;
    margin-left: 4px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

nav .usernumbersearch {
    white-space: nowrap;
    position: absolute;
    top: 0.3em;
    right: 0.3em;
    margin-left: 80px;
}


.navbar-brand {
    margin: 0px;
    padding: 0px;
}

main {
    padding: 1em;
    padding-bottom: 4em;
}

.starter-template {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: auto;
    flex-flow: column;
}

.starter-template > div {
    /* display: flex;
     flex: 1;
     justify-content: flex-start;
     margin: 0px;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    overflow-y: auto;
    margin: 0px;
    height: 100%;
}

.lgncol > div {
    width: 50%;
    min-width: 300px;
    padding-left: 2em;
    padding-right: 2em;
}

.col {
    width: 50%;
}

.smcrowerror {
    font-weight: 900;
    cursor: pointer;
}

.badge {
    display: inline-block;
    padding: 0px;
    font-weight: 700;
    font-size: initial;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    float: right;
    color: #000000;
}

.perclasstotals {
    display: flex;
    flex-flow: wrap;
    flex-basis: max-content;
    justify-content: flex-start;
}

.classtotals {
    margin: 0.5em;
    border-radius: 4px;
    background-color: rgba(177, 178, 179, 0.7);
    padding: 1em;
    min-width: 200px;
    width: 20%;
    position: relative;
    padding-bottom: 2em;
}


.percentage {
    padding-top: 1em;
    text-align: right;
    position: absolute;
    bottom: 0px;
    right: 10px;
}

.classtotals ul {
    margin: 0px;
    padding: 0px;
    background-color: transparent;
}

.classtotals li {
    border: 0px;
    text-align: left;
    padding: 0px;
    margin: 0px;
    background-color: transparent;
}

.nowrap {
    white-space: nowrap;
}

table, th, td, tr, tbody {
    border: 0px;
}

.notification-bar {
    position: fixed;
    top: 0px;
    z-index: 9999;
    width: 100%;
}

.notification-bar ul {
    margin: 0px;
    padding: 0px;
}

.notification-bar ul li {
    text-decoration: none;
    min-height: 0px;
    line-height: 50px;
    text-align: center;
    position: relative;
    cursor: pointer;
    font-size: 110%;
}

.notification-bar ul li:after {
    content: "";
    background-image: url(../emperorassets/close.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #ffffff;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 4px;
    right: 4px;
}

.warning-message {
    font-weight: bold;
    color: #ffffff;
    background-color: #ff3333;
}

.success-message {
    font-weight: bold;
    color: #ffffff;
    background-color: #89db9c;
}

.info-message {
    font-weight: bold;
    color: #ffffff;
    background-color: #32779a;
}


.btn-container .btn {
    margin-bottom: 0.2em;
}

label.form-label {
    margin: 0px;
    margin-top: 1em;
    margin-left: 0.3em;
}

a.page-link {
    margin: 0.4em;
    border-radius: 3px !important;
    color: #565655;
    background-color: transparent;
    border: solid 1px #565655;
}

.page-link:hover {
    color: #b1b2b3;
    background-color: transparent;
    border: solid 1px #b1b2b3;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: " \25B4\25BE"
}

.copyr {
    position: fixed;
    bottom: 0px;
    padding: 0.5em;
    width: 100%;
    text-align: center;
    z-index:-1;
}

/* LOADER */
.npreloader-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(227, 242, 253, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 7px solid #32779a;
    border-radius: 50%;
    border-top: 7px solid #33bbff;
    opacity: 1;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.awardstack label {
    float: left;
}

.awardstack td:last-child {
    vertical-align: bottom;
}

#sortable {
    text-decoration: none;
    list-style-type: none;
    padding: 0px;
}

#sortable li {
    border-radius: 3px;
    background-color: #b1b2b3;
    margin: 0.5em;
    padding: 1em;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 120%;
}

.ui-sortable-helper {
    border: solid 2px #33bbff;
    box-shadow: 0px 0px 5px #32779a;
}

option:disabled {
    color: rgba(177, 178, 179, 0.7);
}

.userlevels, .userlevelselector {
    justify-content: left !important;
}

.userlevelselector {
    padding-bottom: 1em;
}

.userlevelselector form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.userlevelselector form button {
    white-space: nowrap;
}

.userlevelselector form select {
    min-width: 250px;
    width: 30%;
}

.grecaptcha-badge {
    bottom: 0px !important;
}

.pointlessconfirmbtn {
    text-align: center;
    font-size: 200%
}

.pagination li {
    padding: 0.1rem;
}

.ctnr_class {
    border: 1px solid #666666;
    border-radius: 7px;
    padding: 0.5rem;
    margin: 0.3rem;
    background-color: rgba(177, 178, 179, 0.7);
}

.ctnr_class > h6 {
    font-weight: 900;
    text-decoration: underline;
}

.ctnr_classoptions {
    text-align: right;
}


.ctnr_printoptions {
    text-align: left;
}

.ctnr_printoptions a {
    margin: 0px;
    margin-bottom: 1rem;
}

.classglobals ul li {
    text-decoration: none;
    cursor: pointer;
}

.classglobals ul {
    list-style: none;
    padding: 0px;
}

.ctnr_classoptions {
    flex-direction: row !important;
}

.ctnr_classoptions a {
    margin-right: 0.5rem;
}


#modelscontainer, #classescontainer, .title {
    display: flex;
    flex-flow: wrap;
    flex-basis: max-content;
    justify-content: flex-start;
}

.lead{
    width:100%;
}

.title .lead{
    width:50%;
    text-align: left;
}
.title .classoptions, .title .modeloptions{
    width:50%;
    text-align: right;
}
.classoptions button, .modeloptions button {
    margin-bottom: 0.5rem;
}

#modelscontainer > div, #classescontainer > div {
    min-width: 400px;
    max-width: 650px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0.3rem;
    background: rgba(255,255,255,0.3);
    position: relative;
    min-height: 260px;
}

#newmodelform > div, #newclassform > div {
    margin-bottom: 0.3rem;
}

.standalone {
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.3);
    margin: 0.3rem;
    margin-bottom: 0.5rem;
    min-width: 400px;
    max-width: 650px;
}

.model ul, .class ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.model ul li, .class ul li {
    text-decoration: none;
    padding-bottom: 0.5rem;
}

.model ul li span, .class ul li span,.model ul li label, .class ul li label {
    font-weight: 600;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
}

.form-group .form-half {
    width: 48%;
    display: inline-block;
}

.form-group .form-half + .form-half {
    margin-left: 4%;
}

.form-actions {
    text-align: center;
}

.form-actions button, .form-actions . btn-spoof {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.form-actions button:hover {
    background: #0056b3;
}


.socials{
    display:flex;
    flex-flow: nowrap;
}

.socials div{
    padding-top:0.5rem;
    padding-right:0.5rem;
}


#user_privacy, #user_public, #ispresent, #showpassword
{
    width: auto;
    float: left;
    padding: 0.5rem;
    margin: 6px;
}
