:root{
    --ci-primary: #ff9100;
    --ci-primary-focus: #ffc983;
    --ci-secondary: #C28051;
    --ci-secondary-focus: #e0b18e;
}

.white {
    color: white !important;
}

body {
    height: 100%;

        font-family: Prompt;
        font-size: 1rem;
        font-weight: 400;

    /* background-color: black; */
}

.navbar {
color: white;
height: 8%;
background-color: var(--ci-primary)!important ;
}

/* 1. Position the parent container relatively */
.loader-container {
    position: relative; /* Essential for absolute positioning of children */
    width: 100%; /* Or a specific width */
    height: 400px; /* Or a specific height */
    /* Other styles for the container's content */
}

/* 2. Style the white, semi-transparent overlay */
.overlay-loader {
    position: absolute; /* Position relative to the parent .loader-container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* White with 70% opacity */
    display: flex; /* Centers the spinner inside */
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensures it's on top of the content */
}

/* 3. Style the spinner (simple CSS example) */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid  var(--ci-primary); /* Darker color for the spinning part */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.text-ci-primary {
    color: var(--ci-primary)!important;
}

.text-ci-primary-darker{
    color: var(--ci-primary)!important;
    filter: brightness(75%) !important;
}

.card{
    /* background-color: rgb(44, 44, 44); */
}

.card-camera {
    height: 55%
}

.card-map {
    height: 100%
}

.card-header{
    padding: 5px 5px 5px 17px !important;
}

.card-header-h6{
    background-color: var(--bs-card-cap-bg);
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
    padding: 5px 5px 1px 17px !important;
    margin-bottom: 0px !important;
}


#mapWrap {
    width: 100%;
    height: 100%; 
}


/* #video_1_html5_api {
    max-height: 20%;
} */

.video-js{
    object-fit: cover;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;

    /* object-fit: cover;
    position: relative !important;
    width: auto !important;
    height: 200px !important; */
}

.name_location {
    cursor: pointer;
    color: var(--ci-primary) !important;
    filter: brightness(75%) !important;
    /* color: black !important; */
}

.pop-up-camera-text-online {
    cursor: pointer;
    color: #008000 !important;
    /* filter: brightness(75%) !important; */
    /* color: black !important; */
}

.pop-up-camera-text-offline {
    cursor: pointer;
    color: #dc3545 !important;
    /* filter: brightness(75%) !important; */
    /* color: black !important; */
}
.table-text-secondary{
    /* color: grey; */
}

.form-check-input:checked{
    background-color: green;
}

@font-face {
    font-family: Prompt;
    src: url(../font/Prompt-Regular.ttf);
  }

.center{
    text-align: center;
}

.menu-div {
    align-content: center;
    padding-left:20;
    padding-right:20;
}

.navbar-toggler {
    display: none;
}

.dropdown-item:active{
    background-color: var(--ci-primary);
}

.container-fluid {
    padding: 20;
}


@media only screen and (max-width: 576px) {

    body{
        zoom: 80%;
    }
    
    .line-break-card{
        display: block;
    }
    .card-map{
        height: 300px;
    }
    .card-camera{
        height: 300px;
    }
    div.dataTables_filter{
        text-align: left !important;
    }
    
    #dataTable_filter input{
        width: 300px;
    }
}
@media only screen and (min-width: 577px) {

    .line-break-card{
        display: none;
    }

    #table_camera {
        font-size: 13px !important;
    }
    .dataTables_scrollHeadInner table thead tr th{
        padding:4px !important;
        font-size: 13px !important;
    }
    #table_camera tr td{
        padding:2px !important;
    }
    #filter-select{
        font-size: 13px !important;
        padding:2px !important;
        margin:0px !important;
    }
    #dataTable_filter label{
        font-size: 13px !important;
    }
    #dataTable_filter label input{
        font-size: 13px !important;
        padding:2px !important;
        margin:0px !important;
    }
}


@media only screen and (max-width: 767px) {
    .card-lists {
        /* height: 600px; */
        /* overflow:visible; */
    }
}

@media only screen and (min-width: 768px) {
    .card-lists {
        height: 42%;
        /* overflow:visible; */
    }
    .container-fluid {
        height: 90%;
    }
    .row-parent {
        height:100%;
        max-height:100%;
    }
}

.card-body {
    height: 100%;
    /* padding: 20px;
    padding: 0px;
    margin: 0px; */
}

.bg-primary {
    background-color: var(--ci-primary)!important ;
}

.shadow {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.button-header{
    margin-right: 11;
}

.btn-ci-primary{
    background-color: var(--ci-primary);
    color: white;
}

.btn-ci-primary:hover {
    background-color: white;
    border-color: var(--ci-primary);
    color: var(--ci-primary);
    /* filter: brightness(85%) !important; */
}

.hasDatepicker{
  border-style: solid;
  border-width: 1px;
  border-color: grey;
  border-radius: 0.35rem;
  color: grey;
  font-weight:lighter;
  padding-left: 12;
}

@media (min-width: 576px) {
  .h-md-100 {
    height: 100% !important;
  }
}

.btn-outline-light:hover{
    color: var(--ci-primary);
}

.page-link.active, .active > .page-link{
    background-color: var(--ci-primary)!important;
    border-color: var(--ci-primary)!important;
}

.link-ci-primary{
    color: var(--ci-primary) !important;
    filter: brightness(75%) !important;
}

.link-ci-primary:hover{
    /* color: var(--ci-primary) !important; */
    filter: brightness(25%) !important;
}

/*


.card-body {
    max-height: 100%;
    padding: 20px
    padding: 0px;
    margin: 0px;
} */

/* .chart-area {
    max-height: 45%;
}  */

/* 
#mapWrap {
    width: 100%;
    height: 100%; 
  }

  .chart-area {
    position: relative;
    height: 500px;
    width: 100%;
  }

  .card {
    height: 100%;
  }

  .container-fluid{
    height: 100%;
  } */

  .navbar-brand{
    margin-right: 0px !important;
  }

  .navbar {
    height: 80px;
  }