/* 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,
td.actions * {
    font-size: 13px;
}

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

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

td.actions a:focus,
td.actions a:hover {
    color: #1ab394 !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.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');
    display: none;
}

/* 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;
    }
}

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

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

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

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

/* 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
}

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