﻿
body, html {
    margin-top: 0px;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('/webfonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('/webfonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../webfonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../webfonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../webfonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../webfonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
}

@font-face {
    font-family: 'Digital-7';
    src: url('/webfonts/digital-7 (mono).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.led-display {
    font-family: 'Digital-7';
    font-size: 2rem; /* Chỉnh kích thước font tùy ý */
    text-align: right; /* Canh giữa cho nội dung */
    padding: 0px;
    margin: 0px;
    line-height: 1.7rem;
    float: right;
}

body {
    background-color: #fff;
    margin: 2px;
    padding: 5px;
    overflow-x: hidden;
}

.jumbotron {
    position: relative;
    padding-top: 0px;
    margin-top: 1px;
    background: linear-gradient(45deg, #0e5a81,#118cc7, #4CAF50, #2E7D32, #1E88E5, #0D47A1);
}

.container-fluid {
    padding: 0;
    margin: 0;
}

.no-display {
    display: none;
}

img.logo {
    width: 90px;
    float: left;
    padding: 2px;
    padding-right: 5px;
}

.ten-tu-dien {
    font-weight: bold;
    color: red;
    text-align: center;
}

    .ten-tu-dien div {
        text-align: center;
    }

        .ten-tu-dien div.kihieu {
            font-size: 24px;
        }

.div-ngay {
    display: inline !important;
    white-space: nowrap !important;
}

.nowarp {
    white-space: nowrap;
}

input.chon-ngay {
    padding: 0.3rem 0.375rem 0.375rem 0.3rem;
    margin-right: 0.2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    display: inline !important;
    width: 190px;
}

input.chon-date {
    padding: 0.3rem 0.375rem 0.375rem 0.3rem;
    margin-right: 0.2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    display: inline !important;
    width: 120px;
}

.table-view-sensor {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

td.mybox {
    height: 220px;
    border: dashed 1px red;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
}

.my-block {
    padding: 2px; /* Khoảng cách bên trong */
}

.ui-day-doc {
    background-size: 6px 40px;
    width: 6px;
    height: 40px;
    position: relative;
}

    .ui-day-doc.dong {
        background-image: url('../images/day_doc_dong.png');
    }

    .ui-day-doc.cat {
        background-image: url('../images/day_doc_cat.png');
    }

.ui-day-out {
    background-size: 20px 40px;
    width: 20px;
    height: 40px;
    left: 10.8px;
    top: 129px;
    position: absolute;
}

    .ui-day-out.dong {
        background-image: url('../images/out_dong.png');
    }

    .ui-day-out.cat {
        background-image: url('../images/out_cat.png');
    }

.ui-day-ngang {
    background-size: 74px 6px;
    position: relative;
    width: 75px;
    height: 6px;
    left: 20px;
    top: 70px;
}

    .ui-day-ngang.dong {
        background-image: url('../images/day_ngang_dong.png');
    }

    .ui-day-ngang.cat {
        background-image: url('../images/day_ngang_cat.png');
    }

.ui-day-doc-len {
    height: 156px;
    left: 90px;
    top: -88px;
}

.ui-day-doc-phan-doan {
    height: 147.5px;
    left: 90px;
    top: -79px;
}

.ui-day-doc-tren {
    left: 18.5px;
    top: 1px;
    height: 50px;
}

.ui-day-doc-tren-mc {
    left: 18.5px;
    top: 1px;
    height: 50px;
}

.ui-day-doc-duoi {
    left: 18.6px;
    top: -1px;
    height: 20px;
}


.ui-may-cat {
    background-size: 42px 80px;
    left: 0px;
    width: 42px;
    height: 80px;
    position: relative;
}

.ui-ten {
    position: relative;
    text-align: right;
    width: 50px;
    left: -43px;
    top: -16px;
}


.ui-may-cat.dong {
    background-image: url('../images/mc_dong2.png');
}

.ui-may-cat.cat {
    background-image: url('../images/mc_cat2.png');
}

.ui-mba {
    background-size: 72px 84px;
    position: relative;
    width: 72px;
    height: 84px;
    left: -15px;
    top: -1px;
}

    .ui-mba.dong {
        background-image: url('../images/mba_dong.png');
    }

    .ui-mba.cat {
        background-image: url('../images/mba_cat.png');
    }

.ui-name {
    position: absolute;
    text-align: left;
    bottom: -5px;
    left: -15px;
    width: 115px;
}

.block-mc {
    position: relative;
    height: 185px;
    width: 45px;
    z-index: 2;
}

.ui-may-cat-1 {
    left: 435px;
    top: 4px;
}

.ui-may-cat-2 {
    left: 1229px;
    top: -181px;
}

.ui-may-cat-3 {
    left: 436px;
    top: -95px;
}

.ui-may-cat-4 {
    left: 1230px;
    top: -280px;
}

.ui-may-cat-5 {
    left: 28px;
    top: -515px;
}

.ui-may-cat-6 {
    left: 156px;
    top: -699px;
}

.ui-may-cat-7 {
    left: 300px;
    top: -884px;
}

.ui-may-cat-8 {
    left: 621px;
    top: -1069px;
}

.ui-may-cat-9 {
    left: 818px;
    top: -1254px;
}

.ui-may-cat-10 {
    left: 956px;
    top: -1438px;
}

.ui-may-cat-11 {
    left: 1102px;
    top: -1623px;
}

.ui-thanh-cai {
    background-size: 500px 20px;
    width: 650px;
    height: 20px;
    position: relative;
}

    .ui-thanh-cai.dong {
        background-image: url('../images/thanh_cai_dong.png');
    }

    .ui-thanh-cai.cat {
        background-image: url('../images/thanh_cai_cat.png');
    }

.ui-thanh-cai-1 {
    left: 20px;
    top: -483px;
}

.ui-thanh-cai-2 {
    left: 690px;
    top: -503px;
}

.ui-tdv {
    position: absolute;
    text-align: left;
    bottom: 4px;
    left: -15px;
    width: 115px;
}

.ui-u, .ui-v {
    position: absolute;
    text-align: right;
    width: 70px;
}

.ui-u {
    left: 18px;
    top: 21px;
}

.ui-v {
    left: 8px;
    top: 40px;
}

.ui-35kv {
    position: absolute;
    width: 50px;
    left: 3px;
    top: -158px;
}

.ui-6kv {
    position: absolute;
    width: 50px;
}

.ui-6kv-1 {
    left: 371px;
    top: -25px;
}

.ui-6kv-2 {
    left: 582px;
    top: -25px;
}

#so-do-na-duong2 {
    padding-top:5px;
    height: 565px;
    width: 1400px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    overflow: hidden;
}



.tiep-dia-ngang {
    position: relative;
    width: 120px;
    height: 55px;
}

.tiep-dia-tron {
    position: absolute;
    background-size: 40px 40px;
    width: 40px;
    height: 40px;
    left: 39px;
    top: -1px;
}

.tiep-dia-ngang.dong .tiep-dia-tron {
    background-image: url('../images/cau_dao_dong.png');
}

.tiep-dia-ngang.cat .tiep-dia-tron {
    background-image: url('../images/cau_dao_cat.png');
}

.tiep-dia-ngang .tiep-dia-trai {
    position: absolute;
    background-size: 40px 6px;
    width: 40px;
    height: 6px;
    left: 0px;
    top: 16px;
}

    .tiep-dia-ngang .tiep-dia-trai.dong {
        background-image: url('../images/day_ngang_dong.png');
    }

    .tiep-dia-ngang .tiep-dia-trai.cat {
        background-image: url('../images/day_ngang_cat.png');
    }

.tiep-dia-ngang .tiep-dia-dat {
    position: absolute;
    background-size: 30px 20px;
    width: 30px;
    height: 20px;
    left: 78px;
    top: 10px;
    background-image: url('../images/ground-left.png');
}

.tiep-dia-ngang .tiep-dia-chu {
    position: absolute;
    left: 45px;
    top: 35px;
}

.cau-dao-ngang {
    position: relative;
    width: 435px;
    height: 65px;
}

    .cau-dao-ngang .cau-dao-day-trai, .cau-dao-ngang .cau-dao-day-phai {
        position: absolute;
    }

    .cau-dao-ngang .cau-dao-day-trai {
        background-size: 40px 6px;
        width: 140px;
        height: 6px;
        left: 0px;
        top: 26px;
    }

    .cau-dao-ngang.cau-dao-3 .cau-dao-day-phai {
        background-size: 225px 6px;
        width: 231px;
        height: 6px;
        left: 180px;
        top: 26px;
    }
    .cau-dao-ngang.cau-dao-4 .cau-dao-day-trai {
        background-size: 275px 6px;
        width: 210px;
        height: 6px;
        left:-70px;
        top: 26px;
    }

    .cau-dao-ngang.cau-dao-4 .cau-dao-day-phai {
        background-size: 100px 6px;
        width: 136px;
        height: 6px;
        left: 180px;
        top: 26px;
    }


    .cau-dao-ngang .cau-dao-day-trai.dong, .cau-dao-ngang .cau-dao-day-phai.dong {
        background-image: url('../images/day_ngang_dong.png');
    }

    .cau-dao-ngang .cau-dao-day-trai.cat, .cau-dao-ngang .cau-dao-day-phai.cat {
        background-image: url('../images/day_ngang_cat.png');
    }

    .cau-dao-ngang .cau-dao-icon {
        position: absolute;
        background-size: 40px 40px;
        width: 40px;
        height: 40px;
        left: 140px;
        top: 9px;
    }

    .cau-dao-ngang.dong .cau-dao-icon {
        background-image: url('../images/cau_dao_dong.png');
    }

    .cau-dao-ngang.cat .cau-dao-icon {
        background-image: url('../images/cau_dao_cat.png');
    }

    .cau-dao-ngang .cau-dao-chu {
        position: absolute;
        left: 142px;
        top: 44px;
    }

/*xxxx*/
.cau-dao-doc {
    position: relative;
    width: 50px;
    height: 100px;
}

    .cau-dao-doc .cau-dao-day-tren, .cau-dao-doc .cau-dao-day-duoi {
        position: absolute;
    }
    .cau-dao-doc .cau-dao-day-tren {
        background-size: 6px 30px;
        width: 6px;
        height: 40px;
        left: 23px;
        top: -10px;
    }
    .cau-dao-doc .cau-dao-day-duoi {
        background-size: 6px 30px;
        width: 6px;
        height: 15px;
        left: 23px;
        top:70px;
    }
   

   

        .cau-dao-doc .cau-dao-day-tren.dong, .cau-dao-doc .cau-dao-day-duoi.dong {
            background-image: url('../images/day_doc_dong.png');
        }

        .cau-dao-doc .cau-dao-day-tren.cat, .cau-dao-doc .cau-dao-day-duoi.cat {
            background-image: url('../images/day_doc_cat.png');
        }


    .cau-dao-doc .cau-dao-icon {
        position: absolute;
        background-size: 40px 40px;
        width: 40px;
        height: 40px;
        left: 6px;
        top: 30px;
    }


    .cau-dao-doc.dong .cau-dao-icon {
        background-image: url('../images/cau_dao_doc_dong.png');
    }

    .cau-dao-doc.cat .cau-dao-icon {
        background-image: url('../images/cau_dao_doc_cat.png');
    }

    

    .cau-dao-doc .cau-dao-chu {
        position: absolute;
        left: -33px;
        top: 35px;
    }
/*xxxx*/

.tiep-dia-doc {
    position: relative;
    width: 50px;
    height: 120px;
}

    .tiep-dia-doc .tiep-dia-tren {
        position: absolute;
        background-size: 6px 20px;
        width: 6px;
        height: 20px;
        left: 23px;
        top: 0px;
    }

        .tiep-dia-doc .tiep-dia-tren.dong {
            background-image: url('../images/day_doc_dong.png');
        }

        .tiep-dia-doc .tiep-dia-tren.cat {
            background-image: url('../images/day_doc_cat.png');
        }



    .tiep-dia-doc .tiep-dia-tron {
        position: absolute;
        background-size: 40px 40px;
        width: 40px;
        height: 40px;
        left: 6px;
        top: 19px;
    }

    .tiep-dia-doc.dong .tiep-dia-tron {
        background-image: url('../images/cau_dao_doc_dong.png');
    }

    .tiep-dia-doc.cat .tiep-dia-tron {
        background-image: url('../images/cau_dao_doc_cat.png');
    }

    .tiep-dia-doc .tiep-dia-dat {
        position: absolute;
        background-image: url('../images/ground-doc.png');
        background-size: 20px 30px;
        width: 20px;
        height: 30px;
        left: 16px;
        top: 58px;
    }

    .tiep-dia-doc .tiep-dia-chu {
        position: absolute;
        left: 12px;
        top: 85px;
    }

.block-ok-1 {
    position: relative;
    left: 0px;
    top: 97px;
}

.block-ok-2 {
    position: relative;
    left: 90px;
    top: 2px;
}
.block-ok-3 {
    position: relative;
    left: 90px;
    top: -11px;
}


.mba-tu-dung {
    position: relative;
    width: 70px;
    left: 753px;
    top: -2724.5px;
}

.mba-tu-dung-ten {
    position: absolute;
    left: -25px;
    top: 119px;
}

.tiep-dia-1 {
    left: 366px;
    top: -1992px;
}
.tiep-dia-2 {
    left: 558px;
    top: -2231px;
}
.tiep-dia-3 {
    left: 921px;
    top: -2351px;
}
.tiep-dia-4 {
    left: 1158px;
    top: -2047px;
}

.cau-dao-2 {
    left: 340.5px;
    top: -2523px;
}

.cau-dao-3 {
    left: 364.5px;
    top: -2195px;
}

.cau-dao-4 {
    left: 846px;
    top: -2500px;
}

.cau-dao-5 {
    left: 1134px;
    top: -2623px;
}
