html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/*#model-checkboxes-div {
    display: grid;
    width: 100%;
    min-height: 100%;
    align-items: end;
    grid-template-columns: auto auto auto;
    grid-template-rows: 35px;
    grid-auto-flow: row;
    column-gap: 10px;
    row-gap: 5px;
}*/

.main-color {
    color: #0071c1 !important;
}

.main-color-bg {
    background-color: #0071c1 !important;
}

.small-margin-hr {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

#model-checkboxes-div div {
    margin-bottom: 15px;
}

.model-fieldset {
    margin-right: 3%;
    margin-bottom: 3%;
}

button.btn-link {
    outline: 0 !important;
    box-shadow: none !important;
}

#modal-edit[data-action="edit-user"] .modal-content {
    min-height: auto !important;
}

#modal-edit[data-action="edit-user"] .modal-dialog {
    height: 100% !important;
    min-width: auto !important;
}


/*.row .card .card-header {
    padding-bottom: 0 !important;
}*/
.float-right {
    float: right !important;
}

main {
    position: relative !important;
}

#menu-loading-html {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    z-index: 2;
    transition-duration: 0.2s;
}

#body-loading-html {
    position: absolute;
    width: 100%;
    height: calc(100% - 24px);
    background-color: #333;
    z-index: 2;
    transition-duration: 0.2s;
}

    #body-loading-html .card-body {
        background-color: #333 !important;
    }

.color-circle-preview {
    padding: 7px 0;
}

    .color-circle-preview .circle {
        border-radius: 200px;
        display: flex;
        height: 60px;
        width: 60px;
        color: #fff;
        box-shadow: 0 3px 6px rgba(0,0,0,.3);
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        transition-duration: 0.2s;
    }

    .color-circle-preview.selected {
        color: forestgreen !important;
    }

#circle-preview-other-colors-div .color-circle-preview.selected > .circle {
    cursor: pointer;
    box-shadow: 0 0 6px forestgreen;
    border: 4px solid forestgreen;
    transition-duration: 0.2s;
}

#circle-preview-other-colors-div .color-circle-preview:hover > .circle {
    cursor: pointer;
    box-shadow: 0 0 12px forestgreen;
    transition-duration: 0.2s;
}

.color-circle-preview .circle .name {
    text-align: center;
    max-width: 90%;
    text-transform: capitalize;
}

.color-circle-preview > .titles {
    display: flex;
    flex-flow: column;
    align-items: center;
    line-height: 12px;
    margin-top: 3px;
}

    .color-circle-preview > .titles .hex {
        font-size: 0.6rem;
    }

.color-circle-preview .circle.blue {
    background-color: #2980B9;
}

.color-circle-preview .circle.default {
    background-color: #217166;
}

.color-circle-preview .circle.grey {
    background-color: #5D6D7E;
}

.color-circle-preview .circle.coral {
    background-color: #CD6155;
}

.color-circle-preview .circle.purple {
    background-color: #A569BD;
}

.color-circle-preview .circle.darkpurple {
    background-color: #3F51B5;
}

.color-circle-preview .circle.darkerpurple {
    background-color: #8A2BE2;
}

#colors-div #color-selection {
    flex-flow: column;
    padding-top: 27px;
    padding-left: 15px;
}

    #colors-div #color-selection .green-degrade-bg {
        color: #fff;
    }

.green-degrade-bg {
    background: linear-gradient(90deg, #417A6A, #fff 90%);
    padding: 7px;
}

.bg-light-green {
    background-color: #228b2233 !important;
}

.text-green {
    color: forestgreen !important;
}

.text-red {
    color: firebrick !important;
}

.text-yellow {
    color: yellow !important;
}


.empty-mandatory-fields-warning {
    display: none;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    /*font-size: 1vw;*/
    top: -10px;
    opacity: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 3px;
    background-color: rgba(255,0,0,0.7);
    color: #fff;
    pointer-events: none;
    z-index: 10;
    transition: top 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

    .empty-mandatory-fields-warning.relative {
        display: flex;
        position: relative;
        transition: top 0.2s ease-in-out, opacity 0.2s ease-in-out;
    }

    .empty-mandatory-fields-warning.absolute {
        display: flex;
        position: absolute;
        transition: top 0.2s ease-in-out, opacity 0.2s ease-in-out;
    }

    .empty-mandatory-fields-warning.show {
        display: flex;
        flex-flow: wrap;
        gap: 10px;
        top: 0;
        opacity: 1;
        pointer-events: all;
        transition: top 0.2s ease-in-out, opacity 0.2s ease-in-out;
    }

    .empty-mandatory-fields-warning #header {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .empty-mandatory-fields-warning #messages {
        display: flex;
        width: 100%;
        justify-content: center;
    }


.close-mandatory-fields-warning {
    padding: 5px 0px;
    cursor: pointer;
}

.empty {
    border: 2px solid red !important;
    transition-duration: 0.15s;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.modal-footer {
    border-top: none !important;
}

#preloader {
    background-color: rgba(0,0,0,0.3) !important;
}

.modal .modal-header .btn-close {
    margin: 0 !important;
}

.datatable-icon {
    font-size: 1.5rem !important;
    font-weight: bolder !important;
}

.form-control,
input[type=checkbox] {
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
}

input[disabled] {
    background-color: rgba(0,0,0,0.1) !important;
    cursor: not-allowed !important;
}

.choices[data-type="select-one"] .choices__list.choices__list--dropdown {
    /*height: calc(100vh - 500px);*/
}

    .choices[data-type="select-one"] .choices__list.choices__list--dropdown .choices__item {
        padding-right: 0px !important;
        padding-left: 20px !important;
    }

#modal-edit-ip .choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
    max-height: 250px !important;
}

.jstree-icon.jstree-checkbox {
    background-image: none !important;
}

/*.jstree-anchor > .jstree-icon.jstree-checkbox::before {
    content: "\f146";
    font-family: "Line Awesome Free";
    font-size: 1.5em;
}

.jstree-anchor.jstree-clicked > .jstree-icon.jstree-checkbox::before {
    content: "\f14a";
    font-family: "Line Awesome Free";
    font-size: 1.5em;
}*/

.jstree-anchor > .jstree-icon.jstree-checkbox::before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Free";
    font-size: 1.5em;
    font-style: normal;
}

.jstree-anchor.jstree-clicked > .jstree-icon.jstree-checkbox::before {
    content: "\f14a";
    font-family: "Font Awesome 5 Free";
    font-size: 1.5em;
    font-style: normal;
    color: forestgreen;
}

.jstree-icon.jstree-ocl {
    background-image: none !important;
}

.jstree-node.jstree-open > .jstree-icon.jstree-ocl::before {
    content: "\f0d9";
    font-family: "FontAwesome";
    font-size: 1em;
    font-style: normal;
}

.jstree-node.jstree-closed > .jstree-icon.jstree-ocl::before {
    content: "\f0d7";
    font-family: "FontAwesome";
    font-size: 1em;
    font-style: normal;
}

#dns-sync-list-modal .nav-link {
    text-align: left !important;
}

.dns-zone-sync-card.card.border,
.dns-sync-card.card.border {
    border-width: 2px !important;
    border-left-width: 8px !important;
}

    .dns-zone-sync-card.card.border input[type="checkbox"],
    .dns-sync-card.card.border input[type="checkbox"] {
        border: 2px solid rgba(0,0,0,0.2) !important;
    }

.dns-zone-sync-item {
}

    .dns-zone-sync-item button.nav-link {
        border-radius: 0 0.25rem 0.25rem 0;
    }

#modal-sync-dns-account .nav-pills .nav-link.active,
#modal-sync-dns-account .nav-pills .show > .nav-link {
    background-color: rgb(225 225 225) !important;
    color: #000 !important;
}

.dns-zone-sync-card.active {
    /*.dns-zone-sync-item.active .dns-zone-sync-item-checkbox-div {*/
    /*background-color: #438a7a;*/
    background-color: rgb(225 225 225) !important;
}

.dns-zone-sync-card /*.dns-zone-sync-item-checkbox-div,*/
.dns-zone-sync-item .dns-zone-sync-item-checkbox-div {
    display: flex;
    background-color: transparent;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    margin-right: 10px;
    border-radius: 0.25rem 0 0 0.25rem;
}

.dns-zone-sync-item-checkbox-div input {
    margin: 0;
}

.dns-sync-depos {
    max-height: calc(100vh - 320px);
    overflow-y: auto;
}

.dns-sync-card {
    cursor: pointer;
}
/*
.logo.logo-dark img,
.logo-lg img {
    height: 100px;
}


}*/

.logo .logo-sm img {
    height: 28px !important;
}


.swal2-container .swal2-icon .swal2-success-line-tip {
    background-color: rgb(165,220,134) !important;
}

.swal2-container .swal2-icon .swal2-success-line-long {
    background-color: rgb(165,220,134) !important;
}

.swal2-container .swal2-icon .swal2-success-ring {
    border-color: rgb(165,220,134) !important;
}

div.validation-error input,
div.validation-error select {
    border: 2px solid firebrick;
    transition-duration: 0.2s;
}

div.validation-error::after {
    content: "This field is required!";
    font-size: .85rem;
    color: firebrick;
}

/*div.choices__inner {
    position: relative !important;
}

    div.choices__inner::before {
        content: "\f057";
        font-family: 'Line Awesome Free';
        position: absolute;
        right: 25px;
        top: 5px;
        font-size: 1.1rem;
    }*/

.clear-select {
    vertical-align: middle;
}

    .clear-select i {
        font-size: 1.1rem;
    }

#layout-wrapper .btn:focus {
    box-shadow: none !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-gray {
    background-color: #f5f5f5 !important;
}

#dashboard-content {
    display: flex;
    height: 100%;
    width: 100%;
    flex-flow: column;
    height: calc(100vh - 175px);
}

/*#world-map svg {
    height: 100%;
}*/

/*#dashboard-content {
    display: grid;
    background-color: #fff;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 175px);
    align-items: center;
    grid-template-columns: auto;
    grid-template-rows: minmax(35%, auto) 1fr;
    grid-auto-flow: row;
    column-gap: 0;
    row-gap: 7px;
}*/
.modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
}

.modal .select2-container--default .select2-selection--single {
    height: 42px !important;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
    border: 1px solid #e9ebec !important;
}

    .modal .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px !important;
    }

/*table.dataTable {
    table-layout: fixed !important;
    width: 100% !important;
}*/

/*table.dataTable td:not(:nth-child(8)) {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }*/

/*table.dataTable td:nth-child(1) {
            width: 15%;
        }*/

#latest-devices-table_wrapper thead th:nth-child(1),
#latest-devices-table_wrapper tbody td:nth-child(1) {
    max-width: 120px !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap;
}
/*
    #latest-devices-table_wrapper thead th:nth-child(8),
    #latest-devices-table_wrapper tbody td:nth-child(8) {
        max-width: 30px !important;
    }*/


.logo .logo-lg img {
    height: 28px !important;
}



#models-bar-graph {
    /*position: absolute;
    right: 0;*/
    height: 100%;
}

/*#models-bar-graph .card {
        width: 300px;
    }*/

.creditAmount,
.specialCreditAmount {
    font-size: 0.7em;
    text-align: right;
    width: 100%;
    background-color: #f5f5f5;
    border: 1px solid #d6d6d6;
    padding-right: 5px;
}

.dataTables_processing {
    background: transparent !important;
}

.logo-lg img {
    width: 200px;
}

/* --------- COLOR DEFS ----------- */

[data-topbar=dark] #page-topbar {
    background-color: #242627 !important;
}

input,
select {
    /*border-color: #FCAF3B !important;*/
    /*border-color: #7d7d7d !important;*/
    background-color: #17191a !important;
    border: 1px solid #7d7d7d !important;
}

    input:focus,
    select:focus {
        /*border-color: #FCAF3B !important;*/
        /*border-color: #7d7d7d !important;*/
        border: 1px solid #0071c1 !important;
    }

.select2-container--default .select2-selection--single .select2-selection__rendered {
    background-color: #17191a !important;
    border: 1px solid #7d7d7d !important;
    color: #fff !important;
}

.select2-search.select2-search--dropdown {
    background-color: #17191a !important;
}

.select2 .selection .select2-selection.select2-selection--single {
    border: none !important;
}

.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #438a7a;
    color: #fff;
}

.select2-dropdown.select2-dropdown--below {
    background: #17191a !important;
}

.select2-container--open .select2-dropdown--above,
.select2-results__option {
    background: #17191a;
}

.select2-container--default .select2-results__option--selected {
    color: #000 !important;
}

.navbar-menu .navbar-nav .nav-link.active {
    color: #0071c1 !important;
    background: linear-gradient(to right, rgba(0, 113, 193, 0.1) 30%, transparent 100%);
}

    .navbar-menu .navbar-nav .nav-link.active:before {
        background-color: #0071c1 !important;
    }

.navbar-menu .navbar-nav .nav-link:hover,
.text-primary {
    color: #0071c1 !important;
}

a.btn-primary,
button.btn-primary {
    background-color: #0071c1 !important;
    border: #0071c1 !important;
}

.nav-border-top-primary .nav-link.active {
    color: #0071c1 !important;
    border-top-color: #0071c1 !important;
}

/*.nav-link:focus,*/ 
.nav-link:not(.active):hover {
    color: #0071c1 !important;
}

.form-check-input:checked {
    background-color: #0071c1 !important;
    border-color: #0071c1 !important;
}

.select2-container.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #0071c1 !important;
}

ul.nav-pills .nav-link.active,
ul.nav-pills .show > .nav-link,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
select option:checked,
select option:hover {
    background-color: #0071c1 !important;
    color: #fff !important;
}

.btn-soft-secondary {
    --in-btn-color: #fff !important;
    --in-btn-bg: #0071c17a !important;
    --in-btn-hover-color: #fff !important;
    --in-btn-hover-bg: #0071c1 !important;
    --in-btn-active-bg: #0071c1 !important;
}


@media (max-width: 768px) {
    #latest-devices-table_wrapper thead th:nth-child(1), #latest-devices-table_wrapper tbody td:nth-child(1) {
        white-space: normal !important;
    }

    .app-search {
        float: none !important;
        display: block !important;
        padding: 0 !important;
        margin-top: 7px;
    }
}
