﻿/*ul.treeview-menu {
    width: auto !important;
}*/
.content-wrapper {
    /*min-height: 935px !important;*/
}

#title-menu-header:after {
    font-size: 20px;
    display: inline-block;
    margin: -5px 0px -5px 10px;
    color: white;
    font-weight: 700;
    /*content: "HỆ THỐNG GIÁM SÁT & ĐIỀU HÀNH ĐÔ THỊ THÔNG MINH";*/
    content: attr(main-title);
}
li.disabled>ul>li>a>span, li.disabled>ul>li>a>i {
    color: #666;
}
.skin-blue .sidebar-menu>li:hover>a, .skin-blue .sidebar-menu>li.active>a, .skin-blue .sidebar-menu>li.menu-open>a {
    background: #5eb1d6;
}
.skin-blue .sidebar-menu .treeview-menu > li.active > a, .skin-blue .sidebar-menu .treeview-menu > li > a:hover {
    background-color: #398f9a;
    margin-left: -5px;
}
.skin-blue .sidebar-menu .treeview-menu>li.active>a>i, .skin-blue .sidebar-menu .treeview-menu>li>a:hover>i {
    margin-left: 5px;
}
.skin-blue .sidebar-menu>li>.treeview-menu {
    background: #578cab;
}
li.header {
    color: white !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px !important;
}
li.header>img {
    width: 30px;
    margin-right: 7px;
}
tbody#violateContent>tr>th {
    padding-left: 0px;
}
.lSPager>li>a>img {
    height: 60px !important;
    width: 110px !important;
    margin: auto;
}
.lSPager>li:hover {
     border: 1px solid lightblue;
}
.sidebar-menu, .main-sidebar .user-panel, .sidebar-menu>li.header {
    white-space: unset;
}
.pagination-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.albery-item video {
    width: 100%;
}
ul#image-gallery img, ul#image-gallery video {
    width: 100%;
}
span.info-box-text {
    white-space: inherit;
}
.info-box-icon>img {
    height: 45px;
    margin-top: -10px;
}
.item-cmr {
    border-bottom: 1px solid #d2d6de75;
}
canvas#pieChart {
    width: 100% !important;
}
@keyframes jump {
  0%   {transform: translate3d(0,0,0) scale3d(1,1,1);}
  40%  {transform: translate3d(0,30%,0) scale3d(.7,1.5,1);}
  100% {transform: translate3d(0,100%,0) scale3d(1.5,.7,1);}
}
.jump {
  transform-origin: 50% 50%;
  animation: jump .5s linear alternate infinite;
}
.info-box:hover, .info-box.active {
    border-top: 5px solid rebeccapurple;
    cursor: pointer;
}
.info-box:hover>.info-box-icon, .info-box.active>.info-box-icon {
    margin-top: -5px;
}
.cmr-error {
    background-color: #f39c12;
    padding: 1px 7px;
    color: white;
    border-radius: 3px;
}
.cmr-warning{
    background-color: #dd4b39;
    padding: 1px 7px;
    color: white;
    border-radius: 3px;
}
.cmr-notuse {
    background-color: #7b6e6c;
    padding: 1px 7px;
    color: white;
    border-radius: 3px;
}

.cmr-layout{
    background-color: #d9d3d2;
    padding: 1px 7px;
    color: black;
    border-radius: 3px;
}
ul#tblPage>li {
    cursor: pointer;
}
    /*padding: 5px;*/
}
.content-wrapper {
    height: 1000px;
}
button.btn {
    font-weight: 600;
}
.mf-input-group .label-danger {
    font-weight: 100;
}
label#lbImageName {
    font-weight: 100;
}
ul.pager a {
    cursor: pointer;
    margin: 0px 15px;
}
label.error {
    color: red;
}
ul.treeview-menu>li:hover {
    background-color: #2a5a6f;
}

div#waitting.active {
    display: inline !important;
}

.has-error>input {
    border-color: red !important;
}

table.mf-table-f td {
    max-width: 250px;
    overflow-wrap: break-word;
    flex-wrap: wrap;

    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;*/
}

button#ExportHistory {
    position: absolute;
    top: 0;
}
div#dataEmployee_filter * {
    width: 99%;
}
div#dataEmployee_paginate, div#idHistoryView_paginate {
    float: right;
}
.st-nghi {
    background-color: yellow;
    text-align: center;
}
.st-vang {
    background-color: red;
    color: white;
    text-align: center;
}
.st-som {
    background-color: #00c0ef;
    color: white;
    text-align: center;
}
.st-tre {
    background-color: gray;
    color: white;
    text-align: center;
}
.face-cut {
    width: 80px;
}

.swal-title {
    overflow-wrap: break-word;
}

table.mf-table-f td, table.mf-table-f th {
    border-color: #ddd !important;
}

a.logo {
    background-color: white !important;
}

p.input-mutil-face {
    display: none;
    color: red;
    font-weight: 600;
    font-size: 1.1em;
}

p.has-active {
    display: block;
}

div#waitting {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #00000080;
    z-index: 9999;
    text-align: center;
    color: white;
    font-size: 3em;
}

div#waitting>i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#violateContent {
    font-family: Tahoma !important;
}

#violateImg {
    font-family: Tahoma !important;
}

#violateImg > tr > td > img {
    width: 540px;
}

@media (max-width:425px) {
    #violateImg > tr > td > img {
        width: 350px;
    }
    .size_thum.popup-gallery img {
        width: 100% !important;
        height: 100% !important;
    }
    table.phone td {
        max-width: 100% !important;
        min-height: 15px;
    }
    label.toggle-check {
        margin-right: 0px !important;
    }
    #title-menu-header:after {
        /*content: "HỆ THỐNG GT THÔNG MINH";*/*/
        font-size: 15px;
    }
    td.hide-table-cell {
        display: none !important;
    }
}

.blackimgss {
    margin: 0 auto;
    max-width: 280px;
    height: 280px;
    padding: 3px;
    border: 3px solid #d2d6de;
}

.product-img {
    margin-top: 5px;
    width: 60px;
    height: 60px;
}

.dataTables_wrapper .dataTables_paginate {
    float: left;
}

.blackimg {
    margin: 0 auto;
    width: 100%;
    padding: 3px;
    border: 3px solid #d2d6de;
    max-height: 420px;
}

video#videoEvidentBlackList {
    width: 100%;
    max-height: 420px;
}

.btnZoom {
    position: absolute;
    right: 25px;
    top: 55px;
    background-color: rgba(0, 0, 0, 0.38);
    padding: 0px 10px;
    font-size: 2.0em;
    cursor: pointer;
    border-bottom-left-radius: 5px;
}

.no-data-blacklist {
    font-weight: 600;
}

div#divInfo > label {
    max-width: 300px;
    width: 45%;
}

ul#listOfDr > li > a > p > i {
    width: 15px;
    text-align: center;
}

.select2-container--default .select2-selection--multiple {
    margin: 10px 0px;
    border-radius: 2px !important;
    border-color: lightgray !important;
    padding: 0px 10px;
}

li.select2-selection__choice {
    color: black !important;
}

i#history-item-evident-loadmore:hover {
    border: 1px solid lightgray;
    background-color: black;
}

i#history-item-evident-loadmore {
    position: absolute;
    right: 10px;
    bottom: 25px;
    color: white;
    z-index: 99999;
    cursor: pointer;
    font-size: 1.5em;
    padding: 8px 10px;
    border-radius: 10px;
    background-color: #3333338f;
}

.item-img-train, .item-img-old, .item-img-avatar, .item-img-old-avatar {
    width: 130px;
    height: 150px;
    border: 1px solid lightgray;
    padding: 2px;
    display: inline-block;
    overflow: hidden;
    margin: 0px 5px;
}

    .item-img-train > i, .item-img-old > i, .item-img-avatar > i, .item-img-old-avatar > i {
        position: absolute;
        cursor: pointer;
        z-index: 2;
        color: white;
        background-color: #00000070;
        padding: 3px;
        border-bottom-right-radius: 2px;
    }

    .item-img-train > p, .item-img-old > p, .item-img-avatar > p, .item-img-old-avatar > p {
        position: absolute;
        width: 125px;
        z-index: 1;
        height: 145px;
        vertical-align: middle;
        color: red;
        font-weight: 600;
        padding-top: 30px;
        text-align: center;
    }

    .error-img > p {
        background-color: #eeeeeea3;
    }

.item-img-train > img, .item-img-old > img, .item-img-avatar > img, .item-img-old-avatar > img {
    width: 100%;
}

.error-img {
    border-color: red;
}

span.item-required {
    color: red;
}

.toggle-check-input {
    width: 1px;
    height: 1px;
    position: absolute;
}

.toggle-check-text {
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    background: #CCC;
    padding: 0.25em 0.5em 0.25em 2em;
    border-radius: 1em;
    min-width: 2em;
    color: #FFF;
    cursor: pointer;
    transition: background-color 0.15s;
}

    .toggle-check-text:after {
        content: ' ';
        display: block;
        background: #FFF;
        width: 1.1em;
        height: 1.1em;
        border-radius: 1em;
        position: absolute;
        left: 0.3em;
        top: 0.4em;
        transition: left 0.15s, margin-left 0.15s;
    }

    .toggle-check-text:before {
        content: 'No';
    }

.toggle-check-input:checked ~ .toggle-check-text {
    background: #8ad869;
    padding-left: 0.5em;
    padding-right: 2em;
}

    .toggle-check-input:checked ~ .toggle-check-text:before {
        content: 'Yes';
    }

    .toggle-check-input:checked ~ .toggle-check-text:after {
        left: 100%;
        margin-left: -1.4em;
    }

.btn-action {
    /*width: 250px;*/
}

.div-search-image {
    margin-top: 50px;
}

section.content-header>h1 {
    /*text-transform: uppercase;*/
    text-transform: capitalize;
    font-weight: 600;
}

.img-info-center {
    width: 80px;
    text-align: center;
}

.i-more-center {
    width: 50px;
    text-align: center;
}

span.info-help {
    display: block;
    font-size: 0.9em;
    color: gray;
}

#live_stream {
    /*height: 600px;*/
}

@media screen and (max-width: 600px) {
    #live_stream {
        height: 300px;
    }

    table.phone {
        border: 0;
    }

    .img-info-center, .i-more-center {
        width: 100% !important;
        text-align: center !important;
    }

    .div-search-image {
        margin-top: 0px;
    }

    table.phone caption {
        font-size: 1.3em;
    }

    table.phone thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.phone tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table.phone td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        min-height: 35px;
    }

        table.phone td::before {
            /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase;
        }

        table.phone td:last-child {
            border-bottom: 0;
        }

    .btn-action {
        width: 100%;
        height: 45px;
    }

    label.toggle-check {
        margin-right: 20px;
        margin-top: 5px;
    }

    td.btn-action:before {
        margin-top: 8px;
    }

    ul.pager .input-group {
        width: 100px !important;
    }
}

img.active {
    height: 20px;
}

li.flag-icon > img {
    height: 30px;
    margin: 0px 10px;
}

li.flag-icon:hover {
    cursor: pointer;
    background-color: aliceblue;
}

.radio > label {
    margin-right: 35px;
}

.mf-input-group > .input-group-addon {
    width: 140px !important;
}

div#img-search {
    text-align: center;
    border: 1px solid lightgray;
    padding: 2px !important;
    cursor: pointer;
}

    div#img-search > img {
        height: 120px;
        max-width: 320px;
    }

    div#img-search > i {
        position: absolute;
        right: 5px;
        top: 5px;
    }

.vertical-center {
    vertical-align: middle !important;
}

div#bang-luuluong .vertical-center {
    vertical-align: middle;
}

.item-data {
    border: 2px solid #f08080bf;
    margin-bottom: 10px;
    padding: 5px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 10px;
}
.item-info {
    display: grid;
}
strong.item-name {
    font-size: 1.35em;
}
span.item-time {
    font-size: 0.9em;
    color: #000000ba;
    font-style: italic;
}
.item-data>img {
    width: 100px;
    padding: 1px;
    border: 1px solid lightgray;
    border-radius: 3px;
}

/* Modifine checkbox */
.check-control-modifine {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 17px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.check-control-modifine input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.check-control-modifine:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check-control-modifine input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check-control-modifine input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check-control-modifine .checkmark:after {
  left: 10px;
  top: 5px;
  width: 6px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.face-detect-hide {
    height: 0;
    transition: height 0.2s ease-out;
    overflow: hidden;
}

.face-detect-show {
    height: auto;
    overflow: hidden;
    transition: height 0.2s ease-out;
}

.traffic-count-hide {
    height: 0;
    transition: height 0.2s ease-out;
    overflow: hidden;
}

.traffic-count-show {
    height: auto;
    overflow: hidden;
    transition: height 0.2s ease-out;
}

.quatai-count-hide {
    height: 0;
    transition: height 0.2s ease-out;
    overflow: hidden;
}

.quatai-count-show {
    height: auto;
    overflow: hidden;
    transition: height 0.2s ease-out;
}

.img-auto::after {
    position: absolute;
    content: "Auto";
    right: 0;
    top: 0;
    background-color: greenyellow;
    padding: 0px 5px;
    font-weight: 600;
    border-bottom-left-radius: 2px;
}

.swal-title {
    font-size: 20px;
}
.swal-text {
    text-align: center;
}
li.open-link {
    cursor: pointer;
}

.onHeaderMenu {
    position: absolute;
    right: 12px;
    top: 48%;
    margin-top: -7px;
    font-size: 18px;
}

.onHeaderMenu i:hover {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(90deg);
}
