﻿
body, html {
    margin-top: 0px;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('/fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
}

body {
    background-color: #fff;
    margin: 3px;
    padding: 3px;
    overflow-x: hidden;
}

.wave {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    height: 95px;
}

    .wave + .wave {
        z-index: 1;
    }

img.logo {
    height: 65px;
    float: left;
    padding-right: 10px;
}

img.logo2 {
    height: 65px;
    float: right;
    padding-left: 10px;
}

.jumbotron {
    position: relative;
    padding-top: 0px;
    margin-top: 1px;
    background-color: #7680ba !important;
}

.container-fluid {
    padding: 0;
    margin: 0;
}

.header h2 {
    display: inline;
}

.jconfirm.jconfirm-light.jconfirm-open {
    z-index: 999 !important;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

.not-show {
    display: none;
}

@media (min-width: 1024px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 575.98px) {
    img.logo {
        height: 85px;
        float: left;
        padding-right: 10px;
    }

    img.logo2 {
        display: none;
    }

    .wave {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1;
        height: 90px;
    }

    .table-responsive-sm {
        width: 335px !important;
    }

    td {
        white-space: nowrap !important;
    }

    .pc-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }
}

@media (max-width: 393px) {
    .table-responsive-sm {
        width: 335px !important;
    }

    td {
        white-space: nowrap !important;
    }

    img.logo2 {
        display: none;
    }
}

.table-company tr > td {
    padding-bottom: 5px;
}

#table-control-panel td.space-begin {
    padding-bottom: 10px;
    padding-right: 5px;
}

#table-control-panel td.space {
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

#table-control-panel td.space-end {
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 0px;
}


.my-cell-pp {
    -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 */
}

.sensor-popup {
    /* height: 500px;*/
}

.sensor-info {
    position: relative;
    z-index: 2;
    padding-bottom: 5px;
}

#sensor-chart {
    position: relative;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 3;
    height: 400px;
}


.div-ngay {
    display: inline !important;
    white-space: nowrap !important;
}

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;
}

.my-cell-pp {
    padding-top: 5px;
}

.my-cell {
    position: relative;
    height: 140px;
    padding-left: 3px;
    padding-right: 0px;
    background-color: #008081;
}

.ten {
    height: 40px;
    position: absolute;
    top: 2px;
    left: 10px;
    padding-right: 5px;
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.ten-ngam {
    position: absolute;
    top: 95px;
    left: 13px;
    right: 51%;
    bottom: 30px;
    color: #000;
    text-align: left;
    font-size: 10px;
    white-space: nowrap;
}

.ten-ngam1 {
    position: absolute;
    top: 95px;
    left: 13px;
    width: 31%;
    bottom: 30px;
    color: #000;
    text-align: left;
    font-size: 10px;
    white-space: nowrap;
}

.ten-mai {
    position: absolute;
    top: 95px;
    right: 13px;
    bottom: 30px;
    color: #000;
    text-align: right;
    font-size: 10px;
    white-space: nowrap;
}

.ten-mai1 {
    position: absolute;
    top: 95px;
    left: 34.5%;
    width: 31%;
    bottom: 30px;
    color: #000;
    text-align: center;
    font-size: 10px;
    white-space: nowrap;
}

.ten-mai2 {
    position: absolute;
    top: 95px;
    left: 67%;
    right: 13px;
    bottom: 30px;
    color: #000;
    text-align: right;
    font-size: 10px;
    white-space: nowrap;
}

.giatri-ngam {
    position: absolute;
    top: 40px;
    left: 10px;
    right: 51%;
    bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    color: #000;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 65px;
    white-space: nowrap;
    cursor: pointer;
}

.giatri-ngam1 {
    position: absolute;
    top: 40px;
    left: 10px;
    width: 31%;
    bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    color: #000;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 65px;
    white-space: nowrap;
}

.giatri-ngam0 {
    position: absolute;
    top: 40px;
    left: 10px;
    right: 10px;
    bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    color: #000;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 65px;
    white-space: nowrap;
    cursor: pointer;
}

.giatri-mai {
    position: absolute;
    top: 40px;
    left: 51%;
    right: 10px;
    bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    color: #000;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 65px;
    white-space: nowrap;
}

.giatri-mai1 {
    position: absolute;
    top: 40px;
    left: 34.5%;
    width: 31%;
    bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    color: #000;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 65px;
    white-space: nowrap;
}

.giatri-mai2 {
    position: absolute;
    top: 40px;
    width: 31%;
    right: 10px;
    bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
    color: #000;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 65px;
    white-space: nowrap;
}

.time-ngam {
    position: absolute;
    left: 10px;
    right: 51%;
    bottom: 7.5px;
    height: 20px;
    color: white;
    text-align: left;
    white-space: nowrap;
}

.time-ngam1 {
    position: absolute;
    left: 10px;
    width: 31%;
    bottom: 7.5px;
    height: 20px;
    color: white;
    text-align: left;
    white-space: nowrap;
}

.time-mai {
    position: absolute;
    left: 51%;
    right: 10px;
    bottom: 7.5px;
    height: 20px;
    color: white;
    text-align: right;
    white-space: nowrap;
}

.time-mai1 {
    position: absolute;
    left: 34.5%;
    width: 31%;
    bottom: 7.5px;
    height: 20px;
    color: white;
    text-align: center;
    white-space: nowrap;
}

.time-mai2 {
    position: absolute;
    right: 10px;
    width: 31%;
    bottom: 7.5px;
    height: 20px;
    color: white;
    text-align: right;
    white-space: nowrap;
}

.dothi {
    position: absolute;
    height: 30px;
    right: 10px;
    top: 5px;
}

.dothi-ghep {
    position: absolute;
    height: 30px;
    left: 10px;
    bottom: 5px;
}

.time-offset {
    position: absolute;
    height: 30px;
    right: 10px;
    bottom: 4px;
    color: white;
}

.cell {
    cursor: pointer;
}

.trend {
    position: absolute;
    right: 1px;
    top: 1px;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    width: 10px;
    height: 10px;
}

    .trend.up {
        background-image: url('../images/up.png');
    }

    .trend.down {
        background-image: url('../images/down.png');
    }

.disconnect {
    color: yellow !important;
    background-color: #008081 !important;
    animation: blinker 1s linear infinite;
}

.sos {
    color: red !important;
    animation: blinker-red 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blinker-red {
    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.box-selec-mfm384 .vselec {
    font-weight: bold;
    text-align: right;
}

.box-selec-mfm384 .mtime {
    text-align: right;
}


.box-selec-mfm384 {
    border: 2px solid gray;
    padding: 5px;
}

    .box-selec-mfm384 table {
        padding: 0px;
        margin: 0px;
    }

    .box-selec-mfm384 .fan.on {
        background-image: url('/images/fan_on.png');
        -webkit-animation: rotating 0.5s linear infinite;
        -moz-animation: rotating 0.5s linear infinite;
        -ms-animation: rotating 0.5s linear infinite;
        -o-animation: rotating 0.5s linear infinite;
        animation: rotating 0.5s linear infinite;
    }

    .box-selec-mfm384 .fan {
        background-repeat: no-repeat;
        background-size: 24px 24px;
        width: 24px;
        height: 24px;
        padding-left: 5px;
        display: inline-block;
    }

    .box-selec-mfm384 div.fan {
        margin: 0px;
        margin-left: 5px;
    }

    .box-selec-mfm384 .fantxt.on::after {
        /*content: 'ON';*/
        color: blue;
        font-weight: bold;
    }

    .box-selec-mfm384 .fantxt.off::after {
        /*content: 'OFF';*/
        color: red;
        font-weight: bold;
    }

    .box-selec-mfm384 .fan.off {
        background-image: url('/images/fan_off.png');
    }


@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}







.sensor-info .btn-info {
    height: 17px !important;
    width: 17px !important;
    margin-bottom: 5px;
    background-image: url('../images/info.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px 16px;
}

.my-progress{
	position: relative;
	top:-64px;
	margin-left:auto;
	margin-right:auto;
	width:100px;
}
.my-progress1{
	position: relative;
	top:-64px;
	margin-left:auto;
	margin-right:auto;
	width:100px;
}
.my-progress2{
	position: relative;
	top:-64px;
	margin-left:auto;
	margin-right:auto;
	width:100px;
}
.my-progress3{
	position: relative;
	top:-64px;
	margin-left:auto;
	margin-right:auto;
	width:80px;
}