/*general*/

html {
    font-size: 16px;
}

body {
    /* override font in zone page */
    font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #172b4d;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, .btn, a, .td-name, td, .form-control, label {
    font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* helper */

.relative {
    position: relative;
}

.justify-flex-end {
    justify-content: flex-end;
}

.nth-align-center {
    display: flex;
    align-items: center;
}

/* margin */

.mt-05 {
    margin-top: .5rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mr-05 {
    margin-right: .5rem !important;
}

.mr-1 {
    margin-right: .5rem !important;
}

.mr-2 {
    margin-right: 2rem !important;
}

.mr-3 {
    margin-right: 3rem !important;
}

.ml-1 {
    margin-left: .5rem !important;
}

.ml-2 {
    margin-left: 2rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

#hidden_file {
    display: none;
}

.nth-cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    width: inherit;
    white-space: nowrap;
}

.nav.nav-pills a {
    color: inherit;
}

a {
    color: var(--primary);
    cursor: pointer;
}

a:hover,
a:focus {
    color: var(--primary-dark);
}

/* filter row */

.nth-filter-row {
    margin-bottom: 20px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.nth-filter-row ul {
    font-size: 1rem;
}

.nth-filter-row input, .nth-filter-row select {
    background: transparent;
}

/*navbar*/

#bootstrap-overrides .navbar-default {
    border-color: transparent;
    background-color: var(--header-background);
}

.navbar-default .navbar-toggle {
    border-color: transparent;
}

.navbar-img > img {
    max-height: 30px !important;
}

/*no_authenticated*/

body.nth-no_authenticated .container-fluid {
    min-height: calc(100vh - 52px);
}

/*structural*/

.nth-page-title {
    font-weight: 400;
    color: #182a4e;
}

.nth-login-row > .col-xs-12 {
    min-height: calc(100vh - 52px);
}

/*modal*/

#bootstrap-overrides .modal-content {
    border: none;
}

.modal-header {
    border: none;
}

.modal-footer {
    border: none;
}

/*btn*/

.btn {
    line-height: 1.846;
}

#bootstrap-overrides .btn {
    border-radius: 12px;
}

#bootstrap-overrides .btn.btn-default.group-button {
    display: flex;
    box-shadow: none;
}

.close {
    font-size: 34px;
    font-weight: 300;
    line-height: 24px;
    opacity: 0.6;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.btn-primary-outline {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    background-color: #fff !important;
}

/* badge */

.badge {
    font-size: 15px;
    background-color: #f7f9fc;
    color: #181e39;
    font-weight: 500;
    width: fit-content;
    margin: 2px 0;
    border: 1px solid #d6d8da;
    border-radius: 4px;
}

#bootstrap-overrides .btn-danger.btn-outline {
    color: var(--danger);
    background-color: #fff;
    border: 1px solid var(--danger);
}

#bootstrap-overrides .btn-danger.btn-outline:hover {
    color: #fff;
    background-color: var(--danger-dark);
    border: 1px solid var(--danger-dark);
}

/*dashboard-card-home*/

#bootstrap-overrides #nth-total-sim.panel-default.nth-dashboard-panel {
    background-image: url("../img/sim.svg");
    background-size: 160px;
    background-repeat: no-repeat;
    background-position: 123% 221%;
}

/*panel*/

#bootstrap-overrides .panel-default {
    border: none;
}

.panel-footer {
    border-top: none;
}

/*form*/

label {
    font-weight: normal;
}

.form-control {
    border: none !important;
    box-shadow: inset 0 -1px 0 #ddd !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    padding: 10px 0;
}

.form-control-fix {
    border: none;
    box-shadow: none;
}

.input-group-addon {
    border: none;
    background-color: transparent;
    box-shadow: inset 0 -1px 0 #ddd;
    border-radius: 0;
}

.form-horizontal .control-label {
    font-weight: 400;
}

legend {
    border: none;
    font-size: 1.8rem;
    font-weight: 300;
    color: #616161;
}

/*navs*/

.nav-tabs {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin: -15px;
}

#bootstrap-overrides .nav.nav-tabs > li a {
    background-color: inherit;
}

#bootstrap-overrides .nav.nav-tabs li:first-child a {
    border-top-left-radius: 4px;
}

#bootstrap-overrides .nav.nav-tabs li:last-child a {
    border-top-right-radius: 4px;
}

/*nav-pills*/

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    background-color: var(--primary);
    border-radius: var(--border-radius);
}

.nav-pills > li > a {
    border-radius: var(--border-radius);
    padding: 5px 18px !important;
}

/*progress*/

.progress {
    box-shadow: none;
    border-radius: 50px;
}

.bootstrap-table .table .progress {
    margin-bottom: 0;
}

/*table*/

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

/*loader*/

#bootstrap-overrides .loader {
    position: fixed;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

#bootstrap-overrides .panel .loader {
    position: inherit;
}

#bootstrap-overrides .loader::after {
    content: '';
    display: block;
    position: absolute;
    left: 57%;
    top: 50%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

#bootstrap-overrides .panel .loader::after {
    left: 45%;
    top: 50%;
}

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

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

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: left;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    #bootstrap-overrides .loader::after {
        left: 45%;
    }
}


/*checkbox & radio*/

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

input[type="radio"],
input[type="checkbox"] {
    margin: 4px 0 0;
    margin-top: 1px \9;
    line-height: normal
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px
}

.radio,
.checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px
}

.radio label,
.checkbox label {
    min-height: 23px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    position: absolute;
    margin-left: -20px;
    margin-top: 4px \9
}

.radio + .radio,
.checkbox + .checkbox {
    margin-top: -5px
}

.radio-inline,
.checkbox-inline {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    vertical-align: middle;
    font-weight: normal;
    cursor: pointer
}

.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
    margin-top: 0;
    margin-left: 10px
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
    cursor: not-allowed
}

.radio-inline.disabled,
.checkbox-inline.disabled,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox-inline {
    cursor: not-allowed
}

.radio.disabled label,
.checkbox.disabled label,
fieldset[disabled] .radio label,
fieldset[disabled] .checkbox label {
    cursor: not-allowed
}

.has-success .help-block,
.has-success .control-label,
.has-success .radio,
.has-success .checkbox,
.has-success .radio-inline,
.has-success .checkbox-inline,
.has-success.radio label,
.has-success.checkbox label,
.has-success.radio-inline label,
.has-success.checkbox-inline label {
    color: #4caf50
}

.has-warning .help-block,
.has-warning .control-label,
.has-warning .radio,
.has-warning .checkbox,
.has-warning .radio-inline,
.has-warning .checkbox-inline,
.has-warning.radio label,
.has-warning.checkbox label,
.has-warning.radio-inline label,
.has-warning.checkbox-inline label {
    color: #ff9800
}

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
    color: #e51c23
}

@media (min-width: 768px) {
    .form-inline .radio,
    .form-inline .checkbox {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 0;
        vertical-align: middle
    }

    .form-inline .radio label,
    .form-inline .checkbox label {
        padding-left: 0
    }

    .form-inline .radio input[type="radio"],
    .form-inline .checkbox input[type="checkbox"] {
        position: relative;
        margin-left: 0
    }
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 7px
}

.form-horizontal .radio,
.form-horizontal .checkbox {
    min-height: 30px
}

[data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none
}

.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
    margin-top: 0
}

@media (min-width: 768px) {
    .navbar-form .radio,
    .navbar-form .checkbox {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 0;
        vertical-align: middle
    }

    .navbar-form .radio label,
    .navbar-form .checkbox label {
        padding-left: 0
    }

    .navbar-form .radio input[type="radio"],
    .navbar-form .checkbox input[type="checkbox"] {
        position: relative;
        margin-left: 0
    }
}

.radio label,
.radio-inline label,
.checkbox label,
.checkbox-inline label {
    padding-left: 25px
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="radio"],
.checkbox-inline input[type="radio"],
.radio input[type="checkbox"],
.radio-inline input[type="checkbox"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    margin-left: -25px;
}

input[type="radio"],
.radio input[type="radio"],
.radio-inline input[type="radio"] {
    position: relative;
    margin-top: 6px;
    margin-right: 4px;
    vertical-align: top;
    border: none;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer
}

input[type="radio"]:focus,
.radio input[type="radio"]:focus,
.radio-inline input[type="radio"]:focus {
    outline: none
}

input[type="radio"]:before,
.radio input[type="radio"]:before,
.radio-inline input[type="radio"]:before,
input[type="radio"]:after,
.radio input[type="radio"]:after,
.radio-inline input[type="radio"]:after {
    content: "";
    display: block;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    -webkit-transition: 240ms;
    -o-transition: 240ms;
    transition: 240ms
}

input[type="radio"]:before,
.radio input[type="radio"]:before,
.radio-inline input[type="radio"]:before {
    position: absolute;
    left: 0;
    top: -3px;
    background-color: #2196f3;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0)
}

input[type="radio"]:after,
.radio input[type="radio"]:after,
.radio-inline input[type="radio"]:after {
    position: relative;
    top: -3px;
    border: 2px solid #666666
}

input[type="radio"]:checked:before,
.radio input[type="radio"]:checked:before,
.radio-inline input[type="radio"]:checked:before {
    -webkit-transform: scale(.5);
    -ms-transform: scale(.5);
    -o-transform: scale(.5);
    transform: scale(.5)
}

input[type="radio"]:disabled:checked:before,
.radio input[type="radio"]:disabled:checked:before,
.radio-inline input[type="radio"]:disabled:checked:before {
    background-color: #bbbbbb
}

input[type="radio"]:checked:after,
.radio input[type="radio"]:checked:after,
.radio-inline input[type="radio"]:checked:after {
    border-color: #2196f3
}

input[type="radio"]:disabled:after,
.radio input[type="radio"]:disabled:after,
.radio-inline input[type="radio"]:disabled:after,
input[type="radio"]:disabled:checked:after,
.radio input[type="radio"]:disabled:checked:after,
.radio-inline input[type="radio"]:disabled:checked:after {
    border-color: #bbbbbb
}

input[type="checkbox"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    position: relative;
    border: none;
    margin-bottom: -4px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="checkbox"]:focus,
.checkbox input[type="checkbox"]:focus,
.checkbox-inline input[type="checkbox"]:focus {
    outline: none
}

input[type="checkbox"]:focus:after,
.checkbox input[type="checkbox"]:focus:after,
.checkbox-inline input[type="checkbox"]:focus:after {
    border-color: #2196f3
}

input[type="checkbox"]:after,
.checkbox input[type="checkbox"]:after,
.checkbox-inline input[type="checkbox"]:after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin-top: -2px;
    margin-right: 5px;
    border-radius: 2px;
    -webkit-transition: 240ms;
    -o-transition: 240ms;
    transition: 240ms;
    background-color: #fff;
    border: 2px solid #666666;
}

input[type="checkbox"]:checked:before,
.checkbox input[type="checkbox"]:checked:before,
.checkbox-inline input[type="checkbox"]:checked:before {
    content: "";
    position: absolute;
    top: 0;
    left: 6px;
    display: table;
    width: 6px;
    height: 12px;
    border: 2px solid #fff;
    border-top-width: 0;
    border-left-width: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

input[type="checkbox"]:checked:after,
.checkbox input[type="checkbox"]:checked:after,
.checkbox-inline input[type="checkbox"]:checked:after {
    background-color: #2196f3;
    border-color: #2196f3
}

input[type="checkbox"]:disabled:after,
.checkbox input[type="checkbox"]:disabled:after,
.checkbox-inline input[type="checkbox"]:disabled:after {
    border-color: #bbbbbb
}

input[type="checkbox"]:disabled:checked:after,
.checkbox input[type="checkbox"]:disabled:checked:after,
.checkbox-inline input[type="checkbox"]:disabled:checked:after {
    background-color: #bbbbbb;
    border-color: transparent
}

.has-warning input:not([type=checkbox]),
.has-warning .form-control,
.has-warning input.form-control[readonly],
.has-warning input[type=text][readonly],
.has-warning [type=text].form-control[readonly],
.has-warning input:not([type=checkbox]):focus,
.has-warning .form-control:focus {
    border-bottom: none;
    -webkit-box-shadow: inset 0 -2px 0 #ff9800;
    box-shadow: inset 0 -2px 0 #ff9800
}

.has-error input:not([type=checkbox]),
.has-error .form-control,
.has-error input.form-control[readonly],
.has-error input[type=text][readonly],
.has-error [type=text].form-control[readonly],
.has-error input:not([type=checkbox]):focus,
.has-error .form-control:focus {
    border-bottom: none;
    -webkit-box-shadow: inset 0 -2px 0 #e51c23;
    box-shadow: inset 0 -2px 0 #e51c23
}

.has-success input:not([type=checkbox]),
.has-success .form-control,
.has-success input.form-control[readonly],
.has-success input[type=text][readonly],
.has-success [type=text].form-control[readonly],
.has-success input:not([type=checkbox]):focus,
.has-success .form-control:focus {
    border-bottom: none;
    -webkit-box-shadow: inset 0 -2px 0 #4caf50;
    box-shadow: inset 0 -2px 0 #4caf50
}

/*scrollbar*/

body::-webkit-scrollbar {
    width: 0.9em;
}

body::-webkit-scrollbar-track {
    background-color: var(--body-color);
}

body::-webkit-scrollbar-thumb {
    background-color: #ccc !important;
    outline: 1px solid transparent;
    border-radius: 50px;
}

/*external-lib*/

.fs-arrow {
    font-family: "Font Awesome 6 Free";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    font-weight: 900;
    border: none !important;
    font-size: 11px;
    width: auto !important;
    right: 3px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fs-arrow:before {
    content: "\f078";
}

/*transfer*/

.transfer-double-content {
    padding: 0 !important;
}

.transfer-double {
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

.transfer-double-content-param {
    text-align: left !important;
    border-bottom: 1px solid transparent !important;
    display: none !important;
}

.transfer-double-list-search-input, .transfer-double-selected-list-search-input {
    background-color: transparent;
    width: 100% !important;
}

.btn-select-arrow {
    border-radius: 50px;
    height: 34px !important;
    line-height: 34px !important;
}

.transfer-double-content-left, .transfer-double-content-right {
    border: 1px solid transparent !important;
    box-shadow: 0 10px 30px rgba(0, 37, 132, .06);
    padding: 10px;
    border-radius: 10px !important;
    background-color: #f5f5f5;
    text-align: left;
}


@media (max-width: 1200px) {
    #transfer {
        text-align: center !important;
    }

    .transfer-double {
        width: auto !important;
        height: auto !important;
        display: inline-block;
    }

    .transfer-double-content-middle {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .btn-select-arrow + .btn-select-arrow {
        margin-bottom: 10px;
        margin-left: 10px;
    }

    .btn-select-arrow {
        display: inline;
    }

    .transfer-double-content-middle .icon-forward:before {
        content: "\e9d8";
    }

    .transfer-double-content-middle .icon-back:before {
        content: "\e9db";
    }

    .transfer-double-content-left, .transfer-double-content-right {
        height: 230px !important;
    }

    .transfer-double-list-main, .transfer-double-selected-list-main {
        height: 145px !important;
    }
}

/* edit transfer component */

.btn-arrow-active {
    background: var(--primary) !important;
}

.checkbox-group .checkbox-normal:checked + label:before {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.checkbox-group .checkbox-normal:hover + label:before {
    border-color: var(--primary) !important;
}

/* pagination */

.paginationjs {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

/* datepicker */

.daterangepicker {
    border: 1px solid #ededed !important;
    font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    font-size: 14px !important;
}

.daterangepicker .drp-buttons {
    border-top: 1px solid #ededed !important;
}

.daterangepicker.show-ranges.ltr .drp-calendar.left {
    border-left: 1px solid #ededed !important;
}

.daterangepicker.show-calendar .ranges {
    padding: 15px !important;
}

.daterangepicker .ranges li {
    border-radius: 5px !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
    margin: 5px 0;
}

.drp-calendar {
    padding: 10px !important;
}

.daterangepicker .drp-selected {
    font-size: 15px !important;
    padding: 20px !important;
    border: 1px solid #ededed !important;
    border-radius: 10px;
    font-weight: 600;
}

.daterangepicker:before, .daterangepicker:after {
    content: none !important;
}

/* FONTAWESOME BACK SUPPORT */

.fa-circle-play-o::before, .fa-play-circle-o::before {
    content: "\f144";
    font-weight: 400;
    font-size: 1.25em;
    line-height: .05em;
}

/* Divider */
.divider {
    height: 1px;
    display: block; /* for use on default inline elements like span */
    margin: 9px 12px;
    overflow: hidden;
    background-color: var(--sidebar-text-color);
}