﻿body {
    font-size: 13px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Arial";
}

.brand-logo img {
    height: 43px !important;
    position: absolute;
    top: 5px;
}

@media (min-width: 768px) {
    .navbar > .container .navbar-brand {
        margin-left: 0;
    }
}

.login-page {
    background-image: url("img/login-bg.jpg");
    background-size: cover;
}

.login-box {
    border: 1px solid #cdcdcd;
    background: #fff;
    padding-top: 10px;
}

.login-logo {
    margin-bottom: 0;
}

a {
    color: #3659a5;
}

    a:hover,
    a:active,
    a:focus {
        outline: none;
        text-decoration: none;
        color: #3659a5;
    }

.content-wrapper .content {
    padding-top: 2px;
}

.main-header {
    background-color: #357ebd;
}

.navbar-nav > li > a {
    color: white;
}

.navbar-nav .hotline {
    color: #ffef00 !important;
}

.main-header .nav > li > a:hover {
    color: white;
    background: none;
}

.nav .open > a,
.main-header .nav .open > a:hover {
    background: none;
    border: none;
}

.main-header .navbar-nav > li > .dropdown-menu {
    padding-top: 0;
}

.main-header .nav .open > .dropdown-toggle {
    background: none !important;
    border: none !important;
    color: white !important;
}

.nav-tabs-custom > .nav-tabs > li > a {
    border: none;
    text-transform: uppercase;
    font-family: "Arial";
    font-weight: bold;
    padding: 10px 12px;
}

.nav-tabs-custom > .nav-tabs {
    padding-bottom: 2px;
    border-radius: 0px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: none;
}

.nav-tabs-custom > .nav-tabs > li > a:hover {
    color: #357ebd;
}

.select2-container .select2-selection--single {
    height: auto;
    border-radius: 0px;
}

.tree-table a,
.tree-table a:hover,
.tree-table a:active,
.tree-table a:focus {
    color: #333333;
}

.statusProcess {
    display: none;
}

.toolbar {
    margin-bottom: 10px;
    display: block;
    width: 100%;
    float: left;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ddd;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #337ab794;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #1e6087;
    }

.btn-find {
    margin-left: 10px;
}

.input-group.date {
    width: 135px;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active:active {
    background-color: #357ebd;
}

    .datepicker table tr td.active.active.focus,
    .datepicker table tr td.active.active:focus,
    .datepicker table tr td.active.active:hover,
    .datepicker table tr td.active.highlighted.active.focus,
    .datepicker table tr td.active.highlighted.active:focus,
    .datepicker table tr td.active.highlighted.active:hover,
    .datepicker table tr td.active.highlighted:active.focus,
    .datepicker table tr td.active.highlighted:active:focus,
    .datepicker table tr td.active.highlighted:active:hover,
    .datepicker table tr td.active:active.focus,
    .datepicker table tr td.active:active:focus,
    .datepicker table tr td.active:active:hover {
        background-color: #357ebd;
    }

.tooltip-inner {
    /*min-width: 150px; /* the minimum width */*/
}

.toolbar .t-datepicker {
    width: 145px;
    margin-right: 10px;
}

.toolbar .label-picker {
    float: left;
    line-height: 34px;
    margin-right: 10px;
}

.toolbar .select2-container {
    margin-right: 10px;
    float: left;
}

.toolbar > .form-control {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.toolbar > input {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.toolbar > button {
    float: left;
    margin-bottom: 10px;
    margin-right: 10px;
}

.toolbar > .btn {
    float: left;
    margin-bottom: 12px;
    margin-right: 10px;
    height: 34px;
}

.main-header .navbar .top-header-text {
    color: white;
    font-weight: bold;
    line-height: 50px;
    margin-left: 130px;
    font-size: 20px;
}

.meter-total-row {
    background-color: #a0ff88 !important;
}

.no-data-row {
    background-color: #ffc5c5 !important;
}

.abnormal-data-row {
    background-color: #ffdca5 !important;
}

.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion,
.box-header .box-title {
    color: #357ebd;
    font-weight: bold;
}

.login-box-msg {
    font-size: 17px;
    padding: 0 0 20px 0;
    font-weight: bold;
}

.nav-tabs-custom > .nav-tabs .dropdown-menu > li {
    border-bottom: 1px solid #e1e1e1;
}

.nav-tabs-custom > .nav-tabs .dropdown-menu {
    border-bottom: 2px solid #357ebd;
}

    .nav-tabs-custom > .nav-tabs .dropdown-menu > li > a {
        line-height: 20px;
        text-transform: uppercase;
        font-size: 12px;
        padding: 4px 20px;
    }

.fixed-table-toolbar .glyphicon {
    color: #357ebd;
}

.brand-color {
    color: #357ebd;
}

.detail-chart {
    margin-bottom: 15px;
}

.nav-tabs > li > a > .fa {
    margin-right: 5px;
}

.description-block > .description-header {
    margin: 0 0 5px 0;
}

.link-import-meter {
    font-weight: bold;
    color: red;
}

a.link-import-meter:hover {
    color: red;
}

.meter-toolbar span[data-select2-id='3'] {
    min-width: 200px;
}

.meter-toolbar span[data-select2-id='5'] {
    min-width: 100px;
}

.meter-updatetool-tab {
    margin-bottom: 0;
    box-shadow: none;
}

    .meter-updatetool-tab input[type="text"] {
        margin-bottom: 12px;
    }

#fSearch #btnSearch {
    float: left;
    cursor: pointer;
    color: #357ebd;
    border: 1px solid #d2d6de;
    padding-top: 6px;
    padding-bottom: 7px;
}

    #fSearch #btnSearch:focus {
        outline: none;
    }

#fSearch #pSearchKeyword {
    width: 200px;
    margin-left: 10px;
}

#fSearch .select2-container {
    width: 130px !important;
    float: left;
}

#fSearch .input-group {
    float: left;
}

#fSearch .input-group-btn {
    float: left;
}

@media (max-width: 500px) {
    #fSearch {
        margin-left: 10px;
    }

        #fSearch .select2-container {
            margin-bottom: 5px;
        }

        #fSearch .input-group {
            margin-bottom: 5px;
        }

        #fSearch #pSearchKeyword {
            margin-left: 0px;
        }
}

@media (max-width: 1270px) {
    #fSearch #btnSearch {
        padding-top: 7px;
    }
}

.notice-badge {
    font-size: 10px;
}

#metermap,
#gatewaymap {
    width: 100%;
    height: 500px;
}

.change-line-confirm-url {
    float: left;
}

.billing-date-input {
    float: left;
    margin-left: 10px;
    width: 58px !important;
}

.ipport-input {
    float: left;
    margin-left: 10px;
    width: 165px !important;
}

.config-input {
    float: left;
    margin-left: 10px;
    width: 165px !important;
}

    .config-input.time-input {
        width: 50px !important;
    }

.change-confirm-url {
    float: left;
}

.toolbar .radio {
    float: left;
    margin: 0 10px 0 0;
    padding: 7px 0px;
}

#dTableEvent {
    background-color: #ddd;
}

    #dTableEvent .event-icon {
        max-height: 20px;
    }

.box-title {
    font-size: 17px !important;
}

.btn {
    font-size: 13px;
    padding: 6px 10px;
}

button:focus,
input:focus,
select:focus,
button:active:focus,
input:active:focus,
select:active:focus {
    outline: none !important;
    box-shadow: none;
}

.form-control {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 0px;
}

.leaflet-popup-content {
    font-size: 13px !important;
}

@media (max-width: 768px) {
    .main-header .navbar .top-header-text {
        display: none;
    }

    #navbar-collapse {
        background-color: #357ebd;
    }

        #navbar-collapse a {
            color: white;
        }

    .lang-chooser {
        margin-top: 10px;
    }
}

.input-group .input-group-addon {
    border-radius: 0;
}

.nav-tabs-custom {
    border-radius: 0;
    box-shadow: none;
}

    .nav-tabs-custom.nav-mainmenu {
        border: 1px solid #e7e7e7;
    }

.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 0;
}

table .td-label {
    padding-left: 10px;
}

.label-totalmeter {
    float: right;
    margin-top: 4px;
    background-color: #ececec;
    color: #333333;
}

.theader {
    font-weight: bold;
}

#monitor-meter-list {
    max-height: 500px;
    overflow: auto;
}

#monitor-meter-list .list-group {
    margin: 0;
}

#monitor-meter-list .customer-name {
    font-size: 12px;
}

#monitor-meter-list .meter-no {
    font-weight: bold;
}

#monitor-meter-list .blue {
    color: blue;
}

#monitor-meter-list .red {
    color: red;
}

.toggle-left-sidebar-btn {
    position: fixed;
    left: 10px;
    top: 200px;
    z-index: 999;
    background-color: #ecf0f5;
}

#sidebar {
    max-height: 600px;
    overflow: auto;
}