/* Branding */
@import url('../fonts/akrobat/akrobat.css');

.gray-bg {
    background: #f3f3f4 url('../brand/line_right.svg') bottom right no-repeat fixed;
    background-size: 21% 77%;
}

#login-form {
    margin-top: -25%;
}

#airbit-logo {
    width: 150px;
    height: 52px;
}

.navbar .navbar-brand #airbit-logo {
    width: 120px;
    height: 41px;
}

.top-navigation .navbar-brand {
    padding: 9px 16px;
    margin-right: 5px;
    background: white;
}

.top-navigation .wrapper.wrapper-content,
.top-navigation.body-small .wrapper.wrapper-content,
.body-small .top-navigation .wrapper.wrapper-content {
    padding-top: 0px;
}

.top-navigation .dropdown-menu > li > a.thin {
    padding: 3px 20px !important;
}

.top-navigation .dropdown-menu > li > a.unlink {
    cursor: default !important;
}

.top-navigation .dropdown-menu > li > a.unlink:hover {
    background: transparent;
    color: inherit;
}

.dropdown-divider {
    margin: 0px !important;
}

.active-role {
    border-left: 5px solid #ccc;
    border-radius: 0px !important;
}

#app-name {
    font-family: 'Akrobat';
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #172B47;
}

.container #app-name {
    height: 40px;
    padding-top: 10px;
    color: #aaa;
    font-size: 0.85rem;
}

/* Select company */
.nav-select-company {
    display: block;
    min-width: 200px;
    width: 100%;
    margin-top: 5px;
}

.nav-select-company .input-group-append {
    width: calc(100% - 45px);
}

.nav-select-company .chosen-container-single .chosen-single {
    padding: 2px 12px;
}

.nav-select-company .form-control-sm {
    height: 30px !important;
    padding: 4px 12px 4px 8px !important;
}

.nav-license {
    min-width: 400px;
}

/* Disabled links */
a.disabled{
    pointer-events: none;
    cursor: default;
}

a.disabled .far {
    color: #aaa !important;
}

/* Dsiabled forms */
fieldset[disabled] .input-group-text,
fieldset[disabled] select,
fieldset[disabled] select option {
    background-color: rgb(233, 236, 239) !important;
}

/* Animation duration */
.animated {
    -webkit-animation-duration: 0.6s !important;
    animation-duration: 0.6s !important;
}

/* Custom styles */
.cursor-pointer {
    cursor: pointer;
}

.navbar.fix {
    -moz-box-shadow: 0 0 8px 3px rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 0 8px 3px rgba(0, 0, 0, .15);
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, .15);
}

.dashboard-map {
    display: block;
    margin: 0;
    padding: 0;
    min-height: 450px;
    height: 100%;
    border: 1px solid #ddd;
}

#perf-chart-traffic {
    display: none;
}

.graph-canvas {
    min-height: 250px;
    height: 100%;
}

.ibox.fullscreen .ibox-content .dashboard-map {
    height: calc(100vh - 90px);
}

.ibox.fullscreen .ibox-title {
    border: none;
}

.fullheight, .ibox.fullheight {
    height: calc(100% - 25px);
    background-color: white;
}

.ibox-title.wo-tools {
    padding-right: 15px;
}

.ibox-title h5 * {
    color: inherit !important;
}

.has-error .input-group .form-control,
.has-error .input-group .input-group-text,
.has-error .input-group .btn.dropdown-toggle,
.has-error .input-group .btn.btn-white {
    border-color: #ed5565;
}

.input-group .input-group-text {
    border: 1px solid #e5e6e7;
}

.input-group-text {
    background-color: transparent !important;
}

.nav-select-company .input-group-text {
    background-color: white !important;
}

.input-group-text label {
    font-size: 0.7rem;
    margin: 0;
    padding: 0;
    cursor: pointer;
    margin-left: 3px;
}

#add-to-queue-form .input-group-text {
    padding: 0.375rem 0.425rem !important;
}

.input-group.date .input-group-addon {
    cursor: default !important;
    border-right: 0px !important;
}

.form-control-sm, .input-group-sm>.form-control {
    border-radius: 1px;
}

label.required:after {
    content: "*";
    display: inline;
    color: #ed5565;
    margin-left: 5px;
}

.asterisk-input:after {
    content: "*";
    color: #ed5565;
    position: absolute;
    left: 0px;
    top: 7px;
}

td.actions,
div.actions,
td.actions *,
div.actions * {
    font-size: 13px;
}

td.actions a,
div.actions a {
    margin-left: 1px;
    margin-right: 1px;
}

td a.text-primary:focus,
td a.text-primary:hover,
div.actions a.text-primary:focus,
div.actions a.text-primary:hover {
    color: #222 !important;
}

td.actions a:focus,
td.actions a:hover,
div.actions a:focus,
div.actions a:hover {
    color: #1ab394 !important;
}

div.actions a.btn:focus,
div.actions a.btn:hover {
    color: white !important;
}
div.actions a.btn-primary:focus,
div.actions a.btn-primary:hover {
    background-color: #18a689 !important;
    border-color: #18a689 !important;
}


select.form-control:not([size]):not([multiple]).select-per-page {
    height: 1.75rem;
    width: 45px;
    padding: 0px;
    font-size: 0.8rem;
}

.text-sm select.form-control:not([size]):not([multiple]).select-per-page {
    height: 1.5rem;
    font-size: 0.7rem;
}

.text-sm * {
    font-size: 0.7rem;
}

.table.td-align-middle tr td,
.table.th-align-middle tr th {
    vertical-align: middle !important;
}

.table.td-align-top tr td,
.table.th-align-top tr th {
    vertical-align: top !important;
}

.table.table-sm tr th,
.table.table-sm tr td {
    padding: 0.3rem 0.2rem;
    font-size: 0.75rem;
}

.label.label-sm {
    display: inline-block;
    font-size: 0.61rem !important;
    line-height: 0.61rem;
    padding: 4px 3px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.label-white.label-sm,
.badge-white.label-sm {
    border: 1px solid #ddd;
    padding: 1px 4px;
}

.label-darkgray {
    background-color: #b1babe !important;
    color:  #3e3e3e;
}

.table th.mac {
    width: 15% !important;
}

.mac-cmd {
    cursor: pointer;
}

.dev-data {
    display: inline-block;
    max-width: 200px;
}

.mcast-data {
    display: inline-block;
    max-width: 400px;
}

.dev-data .fa,
.mcast-data .fa {
    cursor: pointer;
}

.bootstrap-tagsinput {
    width: 100%;
    border-radius: 1px;
}

.bootstrap-tagsinput .tag {
    color: inherit !important;
    line-height: 2.2;
}

.bootstrap-tagsinput .tag.label-danger {
    color: white !important;
}

.form-group .i-checks,
.form-group .icheckbox_square-green {
    margin-top: calc(0.275rem + 1px);
}

.freq .label {
    font-size: inherit !important;
    font-weight: normal;
    line-height: 2.2;
}

.popover {
    max-width: 340px !important;
}

.popover-header {
    font-size: 0.8rem;
}

.popover-body {
    font-size: 0.7rem;
}

.popover-body ul {
    padding: 0;
    padding-left: 1rem;
    margin: 0;
}

[data-toggle='popover'] {
    cursor: pointer
}

.pagination-sm .page-link,
.pagination-sm .page-item span {
    padding: 5px 7px;
    font-size: 0.8rem;
    line-height: 0.8rem;
}

.table-scollable {
    display: block;
    overflow: auto;
    max-height: calc(100vh - 280px);
}

.modal-dialog.modal-im .table-scollable {
    max-height: calc(100vh - 200px);
}

*[data-tooltip] {
    cursor: pointer;
}

.tooltip {
    font-size: 0.8rem;
}

.modal-body .tooltip {
    font-size: 0.7rem;
}

.modal-dialog.modal-wide {
    max-width: calc(100vw - 80px);
}

.onoffswitch .onoffswitch-label {
    margin-bottom: 0px;
}

.modal-content .btn-modal-close {
    position: absolute;
    z-index: 2100 !important;
    right: 1px;
    top: 1px;
    width: auto;
    border: 0;
    padding: 2px 4px;
    font-size: 1rem;
    line-height: 1rem;
    color: #878a8c;
    border-left: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0 !important;
    border-bottom-left-radius: 5px !important;
}

.modal-content .btn-modal-close:hover {
    color: inherit;
    background-color: #f0f0f0;
    border-left: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
}

#console-settings .input-group-text .cb-icon,
#add-to-queue-form .input-group-text .cb-icon {
    font-size: 0.8rem;
    margin-left: 3px;
}

.dropdown .dropdown-menu {
    /* Left aligment and flexible width */
    right: auto !important;
    left: auto !important;
}

.dropdown .dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
}

.navbar-nav .dropdown .dropdown-menu li {
    width: max-content !important;
}

.short-cname {
    display: inline-block;
    max-width: 120px;
}

.short-login-email {
    display: inline-block;
    max-width: 180px;
}

.regional-params .carousel-indicators li {
    background-color: #ddd;
}

.regional-params .carousel-indicators li.active {
    background-color: #999;
}

/* Chart tooltip */
.chart-tooltip {
    position: absolute;
    z-index: 2100 !important;
    left: -9999px;
    word-wrap: break-word;
    max-width: 150px;
    padding: 0 0.2em;
    color: #fefefe;
    background: #222;
    border: 1px solid #000;
    border-radius: 2px;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.2), 0 0px 10px rgba(0,0,0,0.05) inset;
}

.date-rage-note,
.date-rage-note * {
    font-size: 0.7rem;
}

.date-rage-note {
    display: inline-block;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 6px;
}

/* Max width for input in input group */
.input-group .mw-5 {
    max-width: 5%;
}

.input-group .mw-10 {
    max-width: 10%;
}

.input-group .mw-15 {
    max-width: 15%;
}

.input-group .mw-20 {
    max-width: 20%;
}

.input-group .mw-25 {
    max-width: 25%;
}

/* Pyload data and MAC input background text */
.hex-data,  .hex-mac {
    background: transparent url('../img/payload_label.png') no-repeat;
    background-position: right -1px top -1px;
}

.hex-mac {
    background-image: url('../img/mac_label.png');
}

/* Media specific by width */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 520px;
    }
}

@media (min-width: 768px) {
    .modal-dialog.modal-wide.modal-im {
        max-width: 700px;
    }

    .modal-dialog.modal-wide.graph-view-modal {
        max-width: 90vw;
    }
}

@media (min-width: 992px) {
    .modal-dialog.modal-wide.modal-im {
        max-width: 920px;
    }

    .modal-dialog.modal-wide.graph-view-modal {
        max-width: 90vw;
    }
}

@media (min-width: 1366px) {
    .modal-dialog.modal-wide {
        max-width: 1286px;
    }

    .modal-dialog.modal-wide.modal-im {
        max-width: 920px;
    }

    .modal-dialog.modal-wide.graph-view-modal {
        max-width: 90vw;
    }
}

@media (max-width: 576px) {
    .modal-dialog.modal-wide,
    .modal-dialog.modal-wide.modal-im {
        max-width: none;
    }

    .modal-dialog.modal-wide.graph-view-modal {
        max-width: 90vw;
    }
}

/* Media specific by height */
@media (max-height: 576px) {
    .table-scollable,
    .modal-dialog.modal-im .table-scollable {
        max-height: none;
    }

    #login-form {
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    .date-range-text, .date-range-text * {
        font-size: 0.75rem !important;
        line-height: 1.75;
    }
}

.modal-dialog.console-view-modal {
    max-width: 70vw;
}
.modal-dialog.console-view-modal .modal-footer {
    display: none;
}

.console {
    background-color: #000;
    height: 75vh;
    border: 2px solid #000;
    overflow-y: scroll;
}

.console-btn-disabled {
    pointer-events: none;
    opacity: 0.35 ;
}

.console::-webkit-scrollbar {
    width: 3px;
    background-color: #a0a0a0;
}

.console::-webkit-scrollbar-thumb {
    background-color: #666666;
}

.console-highlight-grep .grep-message {
    background-color: white;
    color: #000;
}

.console-hide-grep .no-grep-message {
    display: none;
}

.console-msg {
    font-family: monospace;
    white-space-collapse: break-spaces;
    user-select: none;
    margin-left: 5px;
}

.console-msg-wrapper {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    padding: 5px 0px 0px 5px;
}

.console-msg-copy {
    cursor: pointer;
}

.console-msg-debug {
    color: #ad30ad;
}

.console-msg-warning {
    color: #fec223;
}

.console-msg-error {
    color: #b8022a;
}

.console-msg-info {
    color: #44944A;
}

.console-view-modal .modal-body .hr-line-dashed {
    display: none;
}

select[readonly] {
    pointer-events: none;
}

.modal-dialog.modal-half {
    max-width: 70vw;
}

.btn-link {
    color: #337ab7 !important;
}

@media (min-width: 1380px) {
  .container {
    max-width: 1300px;
  }
}

@media (min-width: 1860px) {
  .container {
    max-width: 1780px;
  }
}

#cookie-policy {
    left: 16px;
    bottom: 32px;
    z-index: 2040;
    background-color: white;
    max-width: 45vh;
    border: 1px solid #aaa;
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(0,0,0,.2);
}

#cookie-policy .cookie-policy-footer {
    width: 100%;
}

.docs-view{
    height: 65vh;
    overflow-y: scroll;
}

.docs-view::-webkit-scrollbar {
    width: 3px;
    background-color: #a0a0a0;
}

.docs-view::-webkit-scrollbar-thumb {
    background-color: #666666;
}

.caption-top {
    caption-side: top;
}

.overflow-hidden {
    overflow: hidden
}

.cursor-pointer {
    cursor: pointer
}

.frequencies-model-list-entry {
    gap: 0.5rem;
    grid-template-columns: 22px 60px 1fr 2fr 2fr 2fr 2fr;
    align-items: baseline;
}

.d-grid {
    display: grid;
}

.label-list{
    margin-right: 5px;
    margin-top: 5px;
}

.license-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-label{
    display: inline-block;
    padding: .2em .4em;
}

.chosen-results > .highlighted-option {
    background-color: #ffeeba
}
.chosen-choices > .search-choice.highlighted-option {
    background-color: #ffeeba !important;
}

.label-gray-border{
    border: 1px solid transparent;
    border-radius: 0.25rem;
    border-color: #ccc;
}

.data-direct {
    font-size: 1.15rem !important;
    vertical-align: middle !important;
}

.text-gray {
    color: #676a6c !important;
}

.tabs-container .nav-tabs .nav-name {
    max-width: 200px;
}

.clockpicker-popover {
    z-index: 9999 !important;
}

@media (min-width: 992px) {
    .col-lg-13-1,
    .col-lg-13-2,
    .col-lg-13-4 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-lg-13-1 {
        flex: 0 0 7.6923%;
        max-width: 7.6923%;
    }

    .col-lg-13-2 {
        flex: 0 0 15.3846%;
        max-width: 15.3846%;
    }

    .col-lg-13-4 {
        flex: 0 0 30.7692%;
        max-width: 30.7692%;
    }
}

.js-sortable-list .table-row {
    border-bottom: 1px solid #eee;
}
.js-sortable-list .table-row:last-child {
    border-bottom: none;
}
.ui-sortable-placeholder {
    background: #f9f9f9;
    border: 1px dashed #ccc;
    visibility: visible !important;
}

.cursor-move {
    cursor: move;
}

.zero-line-height {
    line-height: 0;
}

.contact-table-row {
    grid-template-columns: 60px auto;
    gap: 1em;
    align-items: start;
    margin-bottom: 1rem !important;
}

.contact-grid{
    gap: 1rem;
    align-items: start;
}

.column-grid-1-2 {
    grid-template-columns: 1fr 2fr ;
}

.column-grid-1-1{
    grid-template-columns: 1fr 1fr ;
}

.contact-grid-time {
    grid-template-columns: 1fr auto 1fr ;
    gap: 4px;
    align-items: start;
}

.contact-table-row .form-control-sm,
.contact-table-row .table-row-elem-wrap {
    height: 35px !important;
}

.contact-table-row label {
    margin-bottom: 0;
}

.form-control[readonly].clockpicker {
    background-color: #FFFFFF;
}

.label-notification {
    --label-padding-x: 0.45em;
    --label-padding-y: 0.3em;
    --label-margin-top: -0.5rem;
    --label-margin-left: -0.75rem;
    position: absolute;
    padding: var(--label-padding-y) var(--label-padding-x);
    margin-top: var(--label-margin-top);
    margin-left: var(--label-margin-left);
}

.notification-item {
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    border: 1px solid #e5e6e7;
}

.weekdays-green-list {
    padding-left: 0;
    display: flex;
    display: -webkit-box; /* Android 4.3-, Safari без оптимизации */
    -webkit-box-pack: justify; /* Android 4.3-, Safari без оптимизации */
    display: -webkit-flex; /* оптимизация для Safari */
    -webkit-justify-content: space-between; /* оптимизация для Safari */
    justify-content: space-between;
	text-align: justify; /* IE10-, Firefox 12-22 */
}
.weekdays-green-list .weekdays-green-day {
    position: relative;
    display: block;
    line-height: 14px;
    color: black;
    background-color: #fff;
    border: 1px solid #E5E6E7;
    border-radius: 50%;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding-top: 7px;
    font-size: 10px;
    text-align: center;
    font-weight: 600;
}
.weekdays-green-list .weekday-selected {
    background-color: #53B095;
    border: 1px solid #53B095;
    color: white;
}

.weekDays-green-rounds {
    padding-left: 0 !important;
    display: flex !important;
    display: -webkit-box !important;
    -webkit-box-pack: justify !important;
    display: -webkit-flex !important;
    -webkit-justify-content: space-between !important;
    justify-content: space-between !important;
	text-align: justify !important;
}
.weekDays-green-rounds a {
    position: relative !important;
    display: block !important;
    line-height: 14px !important;
    color: black !important;
    background-color: #fff !important;
    border: 1px solid #E5E6E7 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    width: 30px !important;
    height: 23px !important;
    padding-top: 7px !important;
    font-size: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
}
.weekDays-green-rounds .selectedDay {
    background-color: #53B095 !important;
    border: 1px solid #53B095 !important;
    color: white !important;
}

.ntf-bell .dropdown-menu {
    z-index: 10000;
}

.dropdown-menu.dropdown-alerts a,
.dropdown-menu.dropdown-alerts a:hover,
.dropdown-menu.dropdown-alerts a i {
    color: #212529 !important;
}

.ntf-bell-width {
    width: 310px;
}

a.dropdown-toggle i.fa-bell {
    color: #999c9e !important;
}

.menu-content .dropdown-item {
    padding: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 0;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: unset;
}

.fs-1 {
    font-size: 1rem;
}

.fs-09 {
    font-size: 0.9rem;
}

.text-average {
    color: #fc7523 !important;
}

.text-disaster {
    color: #c71d1d !important;
}

.label-average {
    background-color: #fc7523;
    color: #FFFFFF;
}

.label-disaster {
    background-color: #c71d1d;
    color: #FFFFFF;
}

.modal-dialog.graph-view-modal {
    max-width: 90vw;
    min-height: 700px;
}

.table-border-right {
    border-right: 1px solid #dee2e6 !important;
}

@media (max-width: 991px) {
    .ntf_bell.dropdown {
        position: static;
    }
    .ntf_bell .dropdown-menu {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none;
        margin-top: 0.5rem;
    }

    .navbar-collapse .ntf_bell {
        display: block;
        width: 100%;
        padding: 10px 15px;
        margin: 0;
    }

    .navbar-collapse .ntf_bell .dropdown-toggle {
        display: inline-flex;
        align-items: center;
    }
}
