﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.90);
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1100px) {
    #cover-message {
        left: 43% !important;
    }
}

@media only screen and (max-width: 768px) {
    #cover-message {
        left: 40% !important;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
    background-color: #ffffff;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}


/*Circle Dot*/
.dot-green {
    height: 18px;
    width: 18px;
    background-color: green;
    border-radius: 50%;
    border: black;
    border-style: solid;
    border-width: thin;
    display: inline-block;
}

.dot-green-map {
    height: 15px;
    width: 15px;
    background-color: #0fc125;
    border-radius: 50%;
    border: none;
    display: inline-block;
}

.dot-red {
    height: 18px;
    width: 18px;
    background-color: red;
    border-radius: 50%;
    border: black;
    border-style: solid;
    border-width: thin;
    display: inline-block;
}

.dot-red-map {
    height: 15px;
    width: 15px;
    background-color: red;
    border-radius: 50%;
    border: none;
    display: inline-block;
}

.dot-grey {
    height: 18px;
    width: 18px;
    background-color: #a7a7a7;
    border-radius: 50%;
    border: black;
    border-style: solid;
    border-width: thin;
    display: inline-block;
}

/*Disabled pagination*/
.btn-disable-pagination {
    color: dimgray;
}

    .btn-disable-pagination:focus, .btn-disable-pagination:hover {
        color: dimgray;
    }

/*Hide up down arrow keys on input type number*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../lib/font/OpenSans-Regular-webfont.woff');
    font-weight: normal;
    font-style: normal;
}

.table-border-none > thead > tr > th, td {
    border-bottom: 0px;
    border-top: 0px;
}

.right_col {
    min-height: 768px !important;
}

.input-group-custom {
    width: 0%;
    background-color: #eee0;
    border: none;
    padding: 0px;
}

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(4,58,78,0.76);
    z-index: 9999;
    display: none;
}

#cover-message {
    color: #fff;
    left: 46%;
    top: 45%;
    position: absolute;
    text-align: center;
    z-index: 99999;
}

    #cover-message > i {
        vertical-align: sub !important;
    }

#cover-message-text {
    font-size: 14px !important;
}

/*@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: white;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}*/

/* table header color */
.table > thead > tr {
    background-color: #e0e0e0;
}

.pull-right-custom {
    float: right !important;
    margin-right: 10px;
}

.form-control {
    height: 38px;
}

/*Action button colors*/
.btn-action-view {
    color: #8675d8 !important;
}

    .btn-action-view:hover {
        color: #5f4db5 !important;
    }


.btn-action-edit {
    color: #dc820d !important;
}

    .btn-action-edit:hover {
        color: #bf6f08 !important;
    }

.btn-action-delete {
    color: #d60909 !important;
}

    .btn-action-delete:hover {
        color: #bb0909 !important;
    }

.btn-action-list {
    color: #1a9fd6 !important;
}

    .btn-action-list:hover {
        color: #076284 !important;
    }

.btn-action-activate {
    color: #0cce0b !important;
}

    .btn-action-activate:hover {
        color: #0aaf09 !important;
    }

.btn-action-deactivate {
    color: #e8bb0a !important;
}

    .btn-action-deactivate:hover {
        color: #cea609 !important;
    }

.btn-action-reset {
    color: #0bbfa8 !important;
}

    .btn-action-reset:hover {
        color: #099e8b !important;
    }

.btn-dark-overlay {
    color: #ffffff !important;
    background-color: #545454 !important;
    border-color: #171717 !important;
}

    .btn-dark-overlay:hover {
        color: #ffffff !important;
        background-color: #000000 !important;
        border-color: #000000 !important;
    }

/* td vertical align */
.table > tbody > tr > td {
    vertical-align: middle;
}

/* th vertical align */
.table > thead > tr > th {
    vertical-align: middle;
}

.table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.table-hover > tbody > tr:hover {
    /*background: linear-gradient(90deg, rgba(12, 191, 100, 0.17) 0%, rgba(11, 125, 193, 0.11) 80%, rgba(65, 153, 251, 0) 100%);*/
    background: rgba(11, 125, 193, 0.11);
    cursor: pointer;
    box-shadow: 0px 0px 5px rgba(9, 88, 136, 0.14);
}

.modal-content {
    border-bottom: 0px;
}

/* graph width change when pdf download */
.graph-pdf-width {
    width: 1000px !important
}

@media (max-width: 945px) { /* use the max to specify at each container level */
    .action-nowrap {
        display: flex;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
    }
}

/*@media (min-width: 992px) and (max-width: 1175px) { /* use the max to specify at each container level */
.action-nowrap {
    display: flex;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    place-content: center !important;
}
/*}*/

input[type=number] {
    -moz-appearance: textfield;
}

@media (max-width: 767px) {
    #btnDeletePreset {
        margin-top: 10px !important;
    }

    #btnSavePreset {
        margin-top: 10px !important;
    }
}

.table-h-scroll {
    overflow-x: auto;
}

.table-v-scroll {
    overflow-y: auto;
}

.btn-update {
    color: #fff;
    background-color: #0d800f;
    border-color: #0b690d;
    width: fit-content;
}

.btn-update:hover {
    color: #fff;
    background-color: #0b690d;
    border-color: #0b690d;
}

/* terminal status */
.terminal-status-default{
    color: lightgrey; 
}
    .terminal-status-default:hover {
        color: darkgrey;
    }

.terminal-status-active {
    color: lawngreen;
}
    .terminal-status-active:hover {
        color: #6fde03;
    }

.terminal-status-inactive {
    color: red;
}
    .terminal-status-inactive:hover {
        color: #e20303;
    }

/* alert row color */
.alert-active {
    background-color: rgba(255,0,0,0.28) !important;
}
.alert-badge {
    position: absolute;
    top: -16px;
    right: 2px;
    padding: 3px 6px;
    border-radius: 50%;
    background-color: rgba(255,0,0,0.79);
    color: white;
}

/* switchery */
.switchery-default {
    border-radius: 20px !important;
    height: 20px !important;
    width: 38px !important;
}

.switchery > small {
    width: 20px !important;
    height: 20px !important;
}

/* alert danger (custom) */
.alert-danger-custom {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

    .alert-danger-custom hr {
        border-top-color: #e4b9c0;
    }

    .alert-danger-custom .alert-link {
        color: #843534;
    }

/* pnotify custom class dark*/
.pnotify-dark-custom {
    color: #fff;
    background-color: rgba(0,0,0,0.67);
    border-color: rgba(0,0,0,0);
}

/* map popup info */
.map-message-header {
    font-weight: bold;
}

.map-meassge-link {
    color: #acd6fb;
}

.map-meassge-link:hover {
    color: #8ec2ef;
}

.fa-bell-animation {
    animation: alertAnimation 2s ease infinite;
}

@keyframes alertAnimation {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

.tile_count .tile_stats_count {
    border-bottom: none;
    padding: 0 6px 0 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-bottom: 10px;
}

.tile_count .tile_stats_count:before {
    /*content: "";*/
    position: absolute;
    left: 0;
    height: 90px;
    border-left: 2px solid #ADB2B5;
    margin-top: 10px;
}

/*For smaller device, tab control should not appear*/
@media (max-width: 768px) {
    .nav-tabs > li {
        float: none;
        border: 1px solid #dddddd;
    }

    .nav-tabs > li.active {
        background: #eeeeee;
    }

    .nav-tabs > li.active > a {
        border: 1px solid transparent;
    }

    .nav > li > a:hover, .nav > li > a:focus, .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        background: none;
        border: 1px solid transparent;
    }
}

/* big drop down */
.big-drop-down-list {
    width: 130px !important;
}

/* label dark */
.label-dark {
    background-color: #565656;
}

/* table header */
.th-custom {
    text-align: center;
    font-weight: bold;
    border: 1px solid #ffffff !important;
}

/* add margin-top for smaller devices in voice divs */
@media (max-width: 768px) {
    .play-voice {
        margin-top: 10px;
    }

    .play-voice-dropdown {
        padding-left: 30px;
    }
}

/* change xxs devices styles*/
@media (max-width: 360px) {
    .xxs-device-text {
        font-size: 9px;
    }

    .xxs-btn {
        padding: 5px 10px;
        font-size: 9px;
        line-height: 1.5;
        margin-bottom: 0px !important;
    }

    .xxs-btn-same-height {
        padding: 9px 10px;
        font-size: 10px;
        line-height: 1.5;
        margin-bottom: 0px !important;
    }

    .xxs-label-text {
        font-size: 11px;
    }

    .xxs-set-sensor-text {
        white-space: normal;
    }
}

/* change xxs devices styles*/
@media (max-width: 420px) {
    .xxs-set-sensor-text {
        font-size: 8px;
    }

    .xxs-tab-content-border {
        border: none !important;
    }

    #alert-settings-div-digital{
        height: 440px !important;
    }

    #digital-clock-div {
        width: unset !important;
        display: block !important;
    }
}

@media (max-width: 375px){
    #btnDeletePreset {
        margin-top: 10px !important;
    }
}

/* thead to upper in all tables */
thead {
    text-transform: uppercase !important;
}

/* If browser is Edge 16+ */
@supports (-ms-ime-align:auto) {
    .table {
        border-collapse: separate !important;
    }
}

/* If browser is Edge 12+ to 15 */
@supports (-ms-accelerator:true) {
    .table {
        border-collapse: separate !important;
    }
}

/* If browser is IE 10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .table {
        border-collapse: separate !important;
    }
}

.btn-less-styles {
    background-color: rgba(0,0,0,0) !important;
}

    .btn-less-styles:active {
        box-shadow: none !important;
    }

/* row animation */
.td-bgcolor-green-animation {
    background-color: rgb(21, 138, 95) !important;
    animation: rowAnimation 2s ease-in-out infinite;
}

.td-bgcolor-dark-animation {
    background-color: rgb(84, 84, 84) !important;
    animation: rowAnimation 2s ease-in-out infinite;
}

@keyframes rowAnimation {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.2;
    }
}

/* datatables pull left */
.searchbox-pull-left {
    float: left !important;
}