﻿body {
    padding: 0 !important;
    margin: 0 !important;
}
.jumbotron {
    background-color: #6f42c1;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

table.table tr:hover{
    background-color: yellow;
}
.sensor-data {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 2px solid red;
    width: 300px;
}

.control-box {
    background-color: #f0f0f0f0;
    text-align: center;
    margin-top: 10px;
    vertical-align: middle;
    font-weight: bold;
    padding: 5px;
}

.box-mode {
    padding-right: 15px;
}

    .box-mode .mode {
        text-transform: uppercase;
    }

    .box-mode select {
        border: 0;
        background-color: #f0f0f0f0;
        vertical-align: middle;
    }

.box-status {
    padding-left: 15px;
    padding-right: 15px;
}

.box-error {
    padding-left: 15px;
}

.box-status img {
    height: 32px;
    vertical-align: middle;
}

.box-error img {
    height: 32px;
    vertical-align: middle;
}

.blink-animation {
    animation: blink-animation 0.2s steps(5, start) infinite;
    -webkit-animation: blink-animation 0.2s steps(5, start) infinite;
    font-weight: bold;
}

.box-alert {
    animation: blink-animation 0.2s steps(5, start) infinite;
    -webkit-animation: blink-animation 0.2s steps(5, start) infinite;
    display: inline;
}

.box-ok {
    background-size: 32px 32px;
    display: inline;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.box-mode, .box-status, .box-error {
    display: inline;
    margin-bottom: 3px;
}


.findpath {
    text-align: right;
}

    .findpath img {
        height: 64px;
        vertical-align: middle;
        text-align: center;
    }

    .findpath .text {
        display: none;
    }

#past-tab {
    color: red;
}

.nav-item button.active {
    font-weight: bold;
    color: #0A58CA !important;
}

.active#past-tab {
    color: red !important;
}

#footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

.hidden{
    display:none;
}



div.mb-3 {
    margin-top: 5px !important;
    margin-bottom: 0px !important;
}
img.telegram {
    height: 20px;
    vertical-align: middle;
}
img.call {
    height: 20px;
    vertical-align:middle;
}
img.map-path {
    height: 20px;
    vertical-align: middle;
}
img.yesno {
    height: 20px !important;
    vertical-align: middle;
}
.tienchu, .diff-days {
    color: blueviolet;
}
#app-title{}
.logo_here {
    background-image: url('images/bmce_logo.png');
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: 135px 155px;
}
@media only screen and (max-width: 400px) {
    .logo_here {
        background-image: url('images/bmce_logo.png');
        background-repeat: no-repeat;
        background-position-x: right;
        background-size: 135px 175px;
    }
}
@media only screen and (max-width: 600px) {
    .findpath {
        text-align: left;
    }

        .findpath .text {
            display: inline;
        }

    .logo_here {
        /*background-image: url('images/reminder.png');
        background-repeat: no-repeat;
        background-size: 68%;
        background-position-x: right;
        background-position-y: 10px !important;*/
    }
}

.accordion{
    padding-left:0;
    padding-right:0;
}
.accordion-button {
    padding: 5px 5px 5px 5px;
}

.accordion-item {
    background-color: #fff;
    border: 0;
}
.accordion-body {
    padding: 0;
}

.select2-container .select2-selection--single{
    padding-top: 3px;
    height: 38px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    position: absolute;
    top: 1px;
}
.pre {
    display: block;
    unicode-bidi: embed;
    white-space: pre;
}