﻿@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/CSS/fonts/glyphicons-halflings-regular.eot');
    src: url('/CSS/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/CSS/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/CSS/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/CSS/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/CSS/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

body {
    font-size: 16px;
    font-family: Microsoft JhengHei;
}

h1, h2, h3 {
    font-family: Microsoft JhengHei !important;
}

.text-red {
    color: #FF0000;
}

.text-dark-red {
    color: #880000;
}

.toggle-sidebar-collapse {
    cursor: pointer;
}

.top-bar {
    background-position: 60% center;
    height: 74px;
    background-image: url('/IMG/banner_bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    transition: all ease 2s;
    /*animation: headerBg 15s ease 5s infinite;*/
}

@keyframes headerBg {
    0% {
        background-image: url('/IMG/banner_bg.png');
    }

    20% {
    }

    40% {
        background-image: url('/IMG/banner_bg2.png');
    }

    60% {
    }

    80% {
        background-image: url('/IMG/banner_bg.png');
    }

    100% {
    }
}

.top-bar .toggle-sidebar-collapse {
    position: fixed;
    top: 20px;
    z-index: 101;
}

.top-bar .logo img {
    max-width: 100%;
}

.top-bar .right {
    position: fixed;
    top: 20px;
    right: 20px;
}

.top-bar .notifications {
    display: none;
}

    .top-bar .notifications.show {
        display: inline-block !important;
    }

    .top-bar .notifications .inbox .dropdown-menu {
        left: -185px;
        top: 43px;
    }

    .top-bar .notifications .general .dropdown-menu {
        left: -226px;
        top: 43px;
    }

        .top-bar .notifications .general .dropdown-menu .notification-contents {
            max-height: 300px;
            overflow-y: auto;
        }

    .top-bar .notifications .notification-item .open .circle {
        top: 28px;
        left: 5px;
    }

    .top-bar .notifications .dropdown-menu ul {
        padding: 0px;
    }

        .top-bar .notifications .dropdown-menu ul > li {
            padding: 8px;
        }

    .top-bar .notifications .notification-header {
        border-bottom: solid 1px #f1f1f1;
    }

    .top-bar .notifications .notification-footer a {
        display: block;
        padding: 8px;
        color: #333;
        border-top: solid 1px #f1f1f1;
    }

.top-bar .logged-user .dropdown-menu {
    left: -80px;
    top: 42px;
}


.input-group-addon {
    border: none;
}

body.topnav-fixed #wrapper {
    padding-top: 75px;
}

/*左選單樣式*/
#left-sidebar {
    overflow-x: hidden;
}

    #left-sidebar .main-nav .slider {
        display: inline-block;
        vertical-align: top;
        width: 500px;
    }

ul.main-menu {
    display: inline-block;
    width: 230px;
    margin-bottom: 100px;
    vertical-align: top;
}

    ul.main-menu > li a {
        font-size: 16px;
        transition: none;
    }

        ul.main-menu > li a:hover, ul.main-menu li.active, ul.main-menu li.active a, ul.main-menu .back a {
            background-color: #198099;
            color: #fff;
        }

    ul.main-menu a.notification .text::after {
        content: "\f071";
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        float: right;
        margin-right: 10px;
        margin-top: 5px;
    }

    ul.main-menu a.notification.js-sub-menu-toggle .text::after {
        margin-right: 25px;
    }

    ul.main-menu a.notification.yellow .text::after {
        color: #FFB800;
    }

    ul.main-menu a.notification.red .text::after {
        color: #E60404;
    }

    ul.main-menu li.well {
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
        font-size: 14px;
        color: #555;
        background-color: #ececec;
        border-top: 1px solid #dfdfdf;
        text-decoration: none;
    }

        ul.main-menu li.well a {
            padding: 5px 15px;
            border: none;
        }

        ul.main-menu li.well .text {
            padding: 0px;
        }

        ul.main-menu li.well .progress {
            margin-bottom: 5px;
        }

        ul.main-menu li.well .progress-bar {
            float: none;
        }

        ul.main-menu li.well .progressbar-back-text {
            color: #555 !important;
        }

body.sidebar-fixed .left-sidebar {
    box-shadow: none;
}

body.sidebar-fixed .sidebar-float-active {
    box-shadow: 1px 4px 5px 4px rgba(0, 0, 0, 0.3);
}

.water-well li {
    display: block;
    position: relative;
    padding: 5px 15px;
    font-size: 14px;
    color: #555;
    background-color: #ececec;
    border-top: 1px solid #dfdfdf;
    text-decoration: none;
}

ul.main-menu .sub-menu.water-well a {
    padding: 0px;
    border: none;
}

.water-well .text {
    padding: 0px;
}

.water-well .progress {
    margin-bottom: 5px;
}

.water-well .progress-bar {
    float: none;
}

.main-header {
    margin-bottom: 20px;
}

select.form-control {
    padding-right: 20px;
}

.datepicker > div {
    display: block;
    border: none;
}

ul.span {
    padding: 0px;
    display: inline;
}

    ul.span li {
        margin: 0;
        padding: 0;
        display: inline;
    }

        ul.span li a {
            font-size: 1em;
            border: none;
            padding: 5px 8px;
            color: #555;
        }

            ul.span li a:hover, ul.span li a a:focus {
                border: none;
                text-decoration: none;
                background-color: #ececec;
                border-bottom: 1px solid #E1E1E1;
                text-decoration: none;
            }

        ul.span li.active a, ul.span li.active a:hover, ul.span li.active a:focus {
            background-color: #ececec;
            border-bottom: 1px solid #E1E1E1;
            text-decoration: none;
        }

.widget .check-all {
    padding-top: 4px;
}

.widget .widget-header .widget-header-toolbar .btn-borderless i {
    display: inline-block;
    top: 0px;
}

.widget .widget-content .table:last-child {
    margin-bottom: 0px;
}

#report-table th, #report-table td {
    white-space: nowrap;
    border-left: dashed 1px #ddd;
}

.easy-pie-chart .pumping {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    line-height: 110px;
    z-index: 2;
}

    .easy-pie-chart .pumping:after {
        content: '噸';
        margin-left: 0.1em;
        font-size: .8em;
    }

.progress-bar {
    background-color: #5cb85c;
}

    .progress-bar.yellow {
        background-color: #E7CD0C;
    }

    .progress-bar.red {
        background-color: #cb3935;
    }


.multiselect-container > li.multiselect-group label {
    padding: 0px;
}

.bottom-feature {
    position: fixed;
    bottom: 0px;
    right: 0px;
    left: 230px;
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
    border-left: 1px solid #e4e4e4;
    border-top: 1px solid #e4e4e4;
}

.footer {
    position: initial;
}

/*右側滑出樣式*/
.right-panel {
    background-color: rgba(255,255,255,.9);
    position: fixed;
    z-index: 1040;
    top: 0px;
    bottom: 0;
    right: -500px;
    width: 500px;
    color: rgb(0, 0, 0);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    transition: all ease .5s;
}

    .right-panel.open {
        box-shadow: none;
        right: 0px;
        box-shadow: -10px 0px 10px rgba(0, 0, 0, 0.06);
    }

    .right-panel .title {
        text-align: center;
        padding: 0px 20px;
        width: 100%;
        height: 50px;
        line-height: 50px;
        border-bottom: 1px solid #ccc;
    }

    .right-panel .body {
        padding: 20px;
        width: 100%;
        bottom: 0px;
        top: 0px;
        overflow-y: auto;
        overflow-x: hidden;
        margin-top: -20px;
        margin-bottom: 45px;
    }

    .right-panel .feature {
        border-top: 1px solid #ccc;
        text-align: center;
        padding: 0px 20px;
        position: absolute;
        right: 0px;
        left: 0px;
        bottom: 0px;
        background-color: #fff;
        width: 100%;
        height: 60px;
        line-height: 60px;
    }

#map .ol-marker {
    left: -11px;
    bottom: -11px;
    width: 22px;
    height: 22px;
}

#map .ol-popup.marker {
    bottom: 22px;
}

#map .well-point {
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 100%;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
}

    #map .well-point::after {
        content: "";
        border-radius: 100%;
        background-color: #5cb85c;
        position: absolute;
        width: 16px;
        height: 16px;
        margin-left: 2px;
        margin-top: 2px;
    }

    #map .well-point.yellow::after {
        background-color: #E7CD0C;
    }

    #map .well-point.red::after {
        background-color: #E60404;
    }


@media (max-width:767px) {
    #map .map {
        height: 300px;
    }

    .top-bar {
        animation: none;
    }

        .top-bar .logo {
            padding-left: 40px;
        }

            .top-bar .logo img {
                height: 20px;
                margin-top: 15px;
            }

        .top-bar .right {
            top: 40px;
            right: 0px;
        }

        .top-bar .logged-user .dropdown-menu {
            top: 22px;
        }

    .right-panel {
        right: -100%;
        width: 100%;
    }

        .right-panel.show {
            right: 0;
        }
}

@media (min-width:768px) {
    .top-bar .logo {
        padding: 0 200px 0 40px;
    }
}

@media (min-width:992px) {
}

@media (min-width:1200px) {
}
