/* ================= Global ================== */
.table th,
.table td {
    white-space: nowrap;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 0.5rem;
}

table th a span:nth-child(2) {
    font-size: 15px !important;
    position: relative;
    top: -1px;
    float: right;
    cursor: pointer;
    margin-left: 20px;
}

table i.eye-icon {
    color: #5f647d !important;
    /* color: #9c27b0 !important; */
}

table th {
    color: #344767;
}

table td {
    vertical-align: middle !important;
}

table td.td-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

table td.td-actions .btn {
    margin-bottom: 0;
}

table td.verified-checks i {
    /* font-size: 1.1rem; */
    position: relative;
    top: 3px;
}

table td.td-actions form {
    margin-right: 7px;
}

.event-submission-table-wrapper table td.td-actions form {
    margin-right: 0px;
    display: contents;
}

table>thead>tr>th {
    padding: 5px !important;
}

table>thead>tr>th:not(:last-child) {
    padding-right: 7px !important;
}

table.table-invoice th {
    font-size: 15px !important;
    padding: 10px !important;
}

table.table-invoice td {
    font-size: 15px !important;
    padding: 10px !important;
}

.table-responsive {
    margin-top: 6px !important;
}

.judges-orientation-table td:first-child,
.judges-orientation-table td:nth-child(2) {
    vertical-align: top !important;
}

.judges-orientation-table td:nth-child(4) {
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.judges-orientation-table tr {
    border-top: 1px solid rgb(240, 242, 245) !important;
}

.judges-orientation-table tr:first-child {
    border-top: 0px !important;
}

i.info-icon {
    font-size: 15px;
    position: relative;
    top: 2px;
}

label.col-form-label {
    margin-left: 0;
}

@media(max-width: 767px) {
    label.col-form-label {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left !important;
        color: #000000;
        justify-content: start !important;

    }

    label.col-form-label+.col-sm-10 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left !important;
        color: #000000;
        justify-content: start !important;

    }
}

/* ================= Global classes ================== */
@media (min-width: 768px) {
    .drop-perpage + span.text-muted {
        white-space: pre;
    }
}
.w-max-content{
    width: max-content;
}
.drop-perpage{
    width: auto;
    min-width: 57px;
    border: 1px solid #e0e0e0;
    padding-left: 6px;
    font-weight: 500;
    appearance: auto;
        -webkit-appearance: auto;
        -moz-appearance: auto;

}
.drop-perpage:focus,
.drop-perpage:active {
    border: 1px solid #e0e0e0;
}
.sidenav .navbar-nav {
    padding-bottom: 200px;
}
.navbar-vertical .navbar-brand>img,
.navbar-vertical .navbar-brand-img {
    max-height: unset;
    width: 100%;
}

.sidenav-header {
    display: flex;
    align-items: center;
}

body.g-sidenav-hidden .sidenav-header a{
    padding: 12px 6px;
}
.navbar-brand img{
    max-width: 188px;
}
@media (max-width: 767px) {
    .navbar-brand {
        margin: 0px !important;
    }
}

.login-nav-links {
    padding-right: 202px;
}



li.nav-item .sidenav-normal {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 991px) {
    .w-md-max-content {
        width: max-content;
    }
}

.min-h-53vh {
    min-height: 53vh;
}

.loading {
    animation: spin 1s linear infinite;
}

.td-overflow-400 {
    max-width: 370px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.ck-editor{
    width: 100% !important;
}

/* Payment table invoice cell responsive truncation */
.payment-invoice-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-invoice-cell a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.payment-invoice-cell a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .payment-invoice-cell {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .payment-invoice-cell {
        max-width: 150px;
    }
}

.max-content {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

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

    100% {
        transform: rotate(360deg);
    }
}

table th span:nth-child(2) {
    color: #7b809a;
}

table th a:hover span {
    color: #e91e63;
}

table .disabled-sorting:before,
table .disabled-sorting:after {
    display: none !important;
}

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

.form-switch .toggle {
    margin-right: 9px;
}

.choices[data-type*='select-multiple'] .choices__inner input {
    width: 100% !important;
}

.choices[data-type*='select-one'] {
    margin-bottom: 0;
}

.choices[data-type*='select-one'] .choices__inner {
    padding: 0;
    align-items: end;
    border-radius: 0 !important;
}

form.dropzone {
    min-height: 45px;
    padding: 10px;
}

@media(min-width: 576px) {
    form.dropzone {
        max-height: 32px;
        padding: 5px;
        min-height: 32px;
    }
}

.choices .choices__list--single .choices__placeholder {
    opacity: 1 !important;
}

.required .choices .choices__placeholder::after {
    content: " *";
    color: #F44335;
}

.choices .choices__list.choices__list--single .choices__item--selectable form.dropzone .dz-default.dz-message {
    margin: 0;
}

.choices[data-type*='select-one']:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    content: "\f107";
    margin-left: auto;
    color: #7b8098de;
    transition: all 0.2s ease-in-out;
}

/* ================= Custom Checkbox ================== */
.custom-toggle {
    cursor: pointer;
    position: relative;
    width: 200px;
    height: 50px;
    background-color: #f44335;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-toggle.active {
    background-color: #4caf50;
}

.toggle-handle {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-toggle.active .toggle-handle {
    transform: translateX(150px);
}

.toggle-text {
    position: absolute;
    top: 56%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.yes-text {
    left: 25px;
    opacity: 0;
}

.no-text {
    right: 25px;
    opacity: 1;
}

.custom-toggle.active .yes-text {
    opacity: 1;
}

.custom-toggle.active .no-text {
    opacity: 0;
}

input.toggle-checkbox {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
    opacity: 0;
}

/* For demonstration, adding a second toggle that's compact */
.toggle-compact {
    width: 80px;
    height: 30px;
}

.toggle-compact .toggle-handle {
    width: 22px;
    height: 22px;
    top: 4px;
}

.toggle-compact.active .toggle-handle {
    transform: translateX(48px);
}

.toggle-compact .yes-text,
.toggle-compact .no-text {
    font-size: 12px;
}

.toggle-compact .yes-text {
    left: 13px;
}

.toggle-compact .no-text {
    right: 13px;
}

.new-form-check .form-check-input[type="checkbox"] {
    position: relative !important;
}

.new-form-check .form-check-input[type="checkbox"]:after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 11px !important;
    border: solid white !important;
    border-width: 0 3px 3px 0 !important;
    transform: rotate(45deg) !important;
    display: none !important;
}

.new-form-check .form-check-input[type="checkbox"]:checked:after {
    display: block !important;
}

/* ================= Modal ================== */
.modal .col-form-label {
    text-align: left !important;
    color: #000000;
    justify-content: start !important;
    position: relative !important;
    top: 0 !important;
}

.modal .dropdown-toggle {
    margin: 0 !important;
}

ul.pagination {
    flex-wrap: wrap;
    justify-content: center;
}

.upload-rubric .bootstrap-select {
    width: 100% !important;
    max-width: 340px;
}

.custom-file-label {
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    display: flex;
    align-items: center;
    max-width: 340px;
}

.custom-file-label:after {
    display: flex;
    align-items: center;
}

.btn-circle {
    border-radius: 50%;
    width: 27.6px;
    height: 27.1px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.alert .close {
    color: #fff;
    position: absolute;
    top: 4px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.alert-success {
    position: relative;
    padding: 2rem 4rem 2rem 2rem;
    background-color: #f0fff4;
}

.alert-success .material-icons {
    color: #fff !important;
    font-size: 1.5rem;
}

.alert-success li {
    padding: 4px 0;
    font-size: 0.9rem;
}

/* ------------------- Select2 overrids ------------------- */
/* multi Select */
/* .select2-container{
    width: 100% !important;
} */
.select2-container .select2-search--inline .select2-search__field {
    margin: 0;
    margin-bottom: 5px;
}

.select2-container--default .select2-selection--multiple {
    padding-bottom: 8px;
    background-color: #fff;
    border-radius: 0;
    border: none !important;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    font-size: 14px;
}

span.select2-selection.select2-selection--multiple.select2-selection--clearable {
    padding: 0;
    padding-bottom: 4px;
}

/* Container styling */
.select2-container--default .select2-selection--multiple {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 5px 0;
}

/* Selected choice styling */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #191919;
    border: none;
    border-radius: 20px;
    color: white;
    padding: 1px 10px 1px 20px;
    margin: 3px;
    font-size: 12.5px;
    font-weight: 700;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: #191919;
}

button.select2-selection__choice__remove {
    color: #fff !important;
    padding: 1px 4px 2px 7px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    cursor: default;
    padding-left: 4px;
    padding-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 1px solid #676767;
}

/* Single selects */

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    border-radius: 5px;
    background-color: #f0f2f5;
    color: #344767;
}

li.select2-results__option {
    font-size: 14px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ddd;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    color: #7b809a;
    line-height: 28px;
    font-size: 14px;
}

.select2-container--open .select2-dropdown--above {
    border-color: #ddd;
    display: block;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1rem 0.5rem;
}

.select2-container--open .select2-dropdown--below {
    border-color: #ddd;
    display: block;
    top: 5px;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1rem 0.5rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd;
    outline: none;
    border-radius: 5px;
}

.select2-container .select2-selection--single .select2-selection__clear {
    padding-top: 4px;
}

/* ================= Select2 Multiple Arrow Fix ================== */
.select2-selection--multiple::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #888;
    border-color: #888 transparent transparent transparent;

    pointer-events: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-right: 20px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* @media(min-width: 992px) {
    .col-md-6,
    .col-lg-6 {
        width: 50% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
} */

.col-xs-12 {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* Panels */
.panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.panel-default {
    border-color: #ddd;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    background-color: #313131;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
}

.panel-body b {
    font-weight: 500;
}

.panel-body {
    padding: 15px;
    font-size: 15px;
}

#additional-search-form .row {
    align-items: center;
}

#additional-search-form input {
    height: 28px;
    padding-bottom: 10px;
}

#additional-search-form input::placeholder {
    font-weight: 300 !important;
    color: #999999;
}

/*----------------------------- Table----------------------------- */
.table {
    font-size: 15px;
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 8px;
    text-align: left;
    border-left: none;
    border-right: none;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Timeline */
.timeline-centered {
    position: relative;
    padding-left: 15px;
    margin-top: 15px;
    overflow: hidden;
}

@media(max-width: 500px) {
    .timeline-centered {
        padding-left: 0px;
    }
}

tr.details-row ul li:last-child {
    margin: 0;
}

.timeline-entry {
    position: relative;
    margin-bottom: 36px;
}

.timeline-entry-inner {
    position: relative;
    display: flex;
    margin: 0;
}

.timeline-time {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: end;
    min-width: 85px !important;
}

@media(max-width: 500px) {
    .timeline-time {
        font-size: 13px;
    }
}

.timeline-time span {
    color: #3c4853;
    line-height: 1.4;
}

.timeline-time span:first-child {
    font-weight: 600;
}

.timeline-time span:last-child {
    font-weight: 400;
}

.timeline-icon {
    position: relative;
    z-index: 1;
    color: white;
    border: 3px solid #f6f6f6;
    padding: 2px;
    width: max-content;
    height: max-content;
    border-radius: 50%;
    margin: 0 10px;
    margin-right: 25px;
}

.timeline-icon i {
    color: #858585 !important;
    font-size: 16px;
}

.timeline-icon.begin:after {
    content: unset !important;
}

.timeline-icon:after {
    position: absolute;
    z-index: -1;
    content: "";
    top: 0;
    left: 15px;
    display: block;
    width: 3px;
    height: 500px;
    background: #f6f6f6;

    @media(max-width: 500px) {
        left: 11px;
    }
}

.timeline-icon span {
    place-content: center;
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

@media(max-width: 500px) {
    .timeline-icon {
        margin-right: 10px;
    }

    .timeline-icon span {
        width: 20px;
        height: 20px;
    }
}

.timeline-label {
    position: relative;
    padding: 18px;
    background-color: #f6f6f6;
    border-radius: 4px;
    border: none;
    width: 100%;
}

@media(max-width: 500px) {
    .timeline-label {
        padding: 10px;
    }
}

.timeline-label:after {
    content: '';
    position: absolute;
    top: 9px;
    width: 0;
    height: 0;
    border-style: solid;
    right: 99.5%;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f6f6f6 transparent transparent;

    @media(max-width: 500px) {
        content: none;
    }
}

.timeline-label h5 {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

@media(max-width: 500px) {
    .timeline-label h5 {
        font-size: 13px;
        word-break: break-word;
    }
}

/* Custom Background Colors */
.timeline-icon.green {
    background-color: #00a651;
}

.timeline-icon.red {
    background-color: #ee4749;
}

/* Well */
.well {
    padding: 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Tabs */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Fonts and Icons */
.fa-stack {
    display: inline-block;
    position: relative;
    width: 2em;
    height: 2em;
    vertical-align: middle;
}

.fa-circle {
    font-size: 2em;
}

.fa-check,
.fa-times {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    color: white;
}

.has-danger [class^='bmd-label'],
.has-danger [class*=' bmd-label'] {
    color: #f44336 !important;
}

.toggle-details {
    box-shadow: none !important;
}

/* ================= temporary ================== */
.fixed-plugin .fixed-plugin-button {
    bottom: 108px;
}

.event-management-wrapper {
    .select2-container {
        width: 100% !important;
    }
}


/* ================= dropzone ================== */
.dz-error-message {
    margin-top: 20px !important;
}

/* ================= MISC ================== */
.conference-selector-wrapper {
    margin-right: 15px;
}

#conference-selector-btn {
    display: flex;
    align-items: center;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#current-conference-name {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#current-loggedinas-name {
    display: block;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media(max-width: 767px) {
    #current-loggedinas-name {
        white-space: normal;
    }

}


/* ================= Page Judges ================== */
.single-contact-div:not(:last-child) {
    border-bottom: 1px solid #dee2e6 !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.bg-yellow {
    background-color: #f1c40f !important;
}