/*!
 * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
body {
    background-color: #fdfdfd;
    font-family: "Helvetica", "Times New Roman", "微軟正黑體", "sans-serif";
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 15px 15px;
    /*min-height: 568px;*/
    background-color: white;
    height: 100%;
}

@media (min-width: 768px) {
    #page-wrapper {
        position: inherit;
        /*margin: 0 0 0 250px;*/
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}

.navbar /*tristan*/ {
    /*min-height: 50px;*/
}

.navbar-menu {
    background-color: #dedede;
    border-bottom-color: #999;
}

.nav-traptype {
    margin-left: 15px;
}

    .nav-traptype a#CurrentTrapType {
        color: deeppink;
        font-size: 1em;
        background-color: #cecece;
    }

.navbar-top-links {
    margin-right: 0;
}

    .navbar-top-links li {
        display: inline-block;
    }

        .navbar-top-links li:last-child a {
            padding-left: 30px;
            padding-right: 30px;
        }

        .navbar-top-links li a {
            padding: 15px 15px;
            line-height: 50px;
            font-weight: bold;
            /*min-height: 50px;*/
        }

.nav-traptype ul li a {
    line-height: 36px;
}

/* tristan */
.navbar-top-links li a i:first-child {
    color: #666;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

    .navbar-top-links .dropdown-menu li:last-child {
        margin-right: 0;
    }

    .navbar-top-links .dropdown-menu li a {
        padding: 3px 20px;
        min-height: 0;
    }

        .navbar-top-links .dropdown-menu li a div {
            white-space: normal;
        }

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}
/* tristan */
.navbar-top-links li.on {
    background-color: #eee;
}

.navbar-top-links li.auth a, .navbar-top-links li.auth a i {
    color: #e83929;
}

.nav-traptype.navbar-top-links li a:hover {
    background-color: deeppink;
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

    .btn-primary.btn-outline:hover,
    .btn-success.btn-outline:hover,
    .btn-info.btn-outline:hover,
    .btn-warning.btn-outline:hover,
    .btn-danger.btn-outline:hover {
        color: white;
    }

.glyphicon {
    top: 0px;
}

i.icon-left {
    margin-right: 5px;
}

i.icon-right {
    margin-left: 5px;
}

.btn-full {
    width: 100%;
}

.btn-w {
    width: 80px;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

/*.login-panel {
  margin-top: 25%;
}*/

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: transparent;
}

    table.dataTable thead .sorting_asc:after {
        content: "\f0de";
        float: right;
        font-family: fontawesome;
    }

    table.dataTable thead .sorting_desc:after {
        content: "\f0dd";
        float: right;
        font-family: fontawesome;
    }

    table.dataTable thead .sorting:after {
        content: "\f0dc";
        float: right;
        font-family: fontawesome;
        color: rgba(50, 50, 50, 0.5);
    }

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 18px;
        line-height: 1.33;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 10px 16px;
        border-radius: 35px;
        font-size: 24px;
        line-height: 1.33;
    }

.show-grid [class^="col-"] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee !important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

    .panel-green > .panel-heading {
        border-color: #5cb85c;
        color: white;
        background-color: #5cb85c;
    }

    .panel-green > a {
        color: #5cb85c;
    }

        .panel-green > a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #d9534f;
}

    .panel-red > .panel-heading {
        border-color: #d9534f;
        color: white;
        background-color: #d9534f;
    }

    .panel-red > a {
        color: #d9534f;
    }

        .panel-red > a:hover {
            color: #b52b27;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow > .panel-heading {
        border-color: #f0ad4e;
        color: white;
        background-color: #f0ad4e;
    }

    .panel-yellow > a {
        color: #f0ad4e;
    }

        .panel-yellow > a:hover {
            color: #df8a13;
        }

/*=== tristan ===*/
.container-fluid {
    padding-top: 15px;
}

.sys-logo {
    height: 50px;
    width: auto;
    margin: 15px 10px;
    float: left;
}

/* index home page*/
.brand-title {
    font-family: "標楷體";
    color: #000;
    font-size: 24px;
    float: left;
    padding: 5px 0;
    line-height: 65px;
}

.panel .toolbar {
    background-color: #999;
}

.required label:before {
    font-family: FontAwesome;
    content: "\f069";
    color: red;
}

.msg {
    bottom: 5px;
}

#map {
    width: 100%;
    height: 700px;
    border: 1px solid #666;
}

    #map #OpenLayers_Control_Attribution_7 {
        bottom: 0;
    }

/* 分布圖 */
div.disease input {
    background-color: lightpink;
}

div.map-sidemenu {
    position: absolute;
    height: auto;
    z-index: 999;
    font-family: "Helvetica", "Times New Roman", "微軟正黑體", "sans-serif";
    opacity: .92;
}

.menu-top {
    right: 15px;
    top: 10px;
    width: 180px;
}

.menu-right {
    right: 15px;
    bottom: 15px;
    width: 180px;
}
/* 左側圖例  dac2ec*/
.menu-left {
    left: 15px;
    bottom: 15px;
    width: 250px;
}

div.map-sidemenu div.alert, div.out-sidemenu div.alert {
    background-color: white;
    margin: 5px 0;
    padding: 5px 10px;
}

    div.map-sidemenu div.alert .header {
        /*position: relative;
    width: 100%;*/
        font-size: 1.1em;
        text-align: left;
        font-weight: bold;
    }

    div.map-sidemenu div.alert hr, div.out-sidemenu div.alert hr {
        margin: 4px 0;
        border-color: #ccc;
    }

    div.map-sidemenu div.alert .checkbox {
        font-size: 12px;
        padding: 0;
    }

        div.map-sidemenu div.alert .checkbox.checkbox-single {
            padding-left: 4px;
        }

    div .map-sidemenu div.alert .options label {
        font-weight: normal;
    }

    div.map-sidemenu div.alert .color {
        display: inline-block;
        width: 16px;
        height: 16px;
        background-color: black;
        margin-right: 5px;
    }

div.map-sidemenu div.device .row div {
    font-size: 1em;
    padding-top: 5px;
}

div.map-sidemenu div.disease div, div.out-sidemenu div.disease div {
    margin: auto;
    padding: 0;
    line-height: 28px;
}

div.map-sidemenu div.disease .row img, div.out-sidemenu div.disease .row img {
    width: 28px;
    height: auto;
}

div.map-sidemenu.menu-right .alert.species i {
    -webkit-text-stroke: 1px #333;
}

.leaflet-tooltip-pane {
    font-family: "Helvetica", "Times New Roman", "微軟正黑體", "sans-serif";
}

.out-sidemenu {
    border: 1px solid gray;
    margin-top: 15px;
}
/*#map div.map-sidemenu-left {
    margin-bottom: 0;
}
#map div.map-sidemenu-left table img:first-child{
    width: 20px;
    height: 20px;
    float: left;
}
#map div.map-sidemenu-left table img:last-child{
    width: 20px;
    height: 20px;
    float: right;
}
#map div.map-sidemenu-left table tr td:nth-child(2n){
    background-color: #d6b5ef;
}
#map div.map-sidemenu-left table tr td:nth-child(2n+1){
    background-color: #92d3dc;
}
.table>thead>tr>th{
    vertical-align: middle;
    text-align: center;
}*/
/* no used */
/*#map div.map-sidemenu div.alert .colorbar{
	display: inline-block;
	width: 16px;
	height: 64px;
	margin-right: 5px;
	background: -webkit-linear-gradient(#bfb7dc, #f5e9b6, #fd665c, #17a2b8);
	background: -o-linear-gradient(#bfb7dc, #f5e9b6, #fd665c, #17a2b8);
	background: -moz-linear-gradient(#bfb7dc, #f5e9b6, #fd665c, #17a2b8);
	background: linear-gradient(#bfb7dc, #f5e9b6, #fd665c, #17a2b8);
}
#map div.map-sidemenu div.alert .colorbar span{
	position: relative;
	display: inline-block;
	height: 22px;
	margin-left: 24px;
}*/
.modal.detail .modal-body {
    max-height: 500px;
    overflow-y: scroll;
}

.eggs-0 {
    background-color: red;
}

.pie-icon-label {
    margin: auto;
    color: black;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
}

select option {
    background-color: #f6f6f6;
}

.search-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    display: none;
}

.leaflet-tooltip {
    font-weight: bold !important;
}

.img-loading {
    width: 100px;
    height: auto;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2000;
    display: none;
}
/* Bootstrap */
.form-control[disabled] {
    background-color: #cfcfcf;
}

/* panel */
.panel-black {
    border-color: #444444;
}

    .panel-black > .panel-heading {
        color: #fff;
        background-color: #444444;
        border-color: #444444;
    }

        .panel-black > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #444444;
        }

        .panel-black > .panel-heading .badge {
            color: #444444;
            background-color: #fff;
        }

    .panel-black > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #444444;
    }

.panel-body {
    background-color: #fafafa;
}

.panel-cyan {
    border-color: #17a2b8;
}

    .panel-cyan > .panel-heading {
        color: #fff;
        background-color: #17a2b8;
        border-color: #17a2b8;
    }

        .panel-cyan > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #17a2b8;
        }

        .panel-cyan > .panel-heading .badge {
            color: #17a2b8;
            background-color: #fff;
        }

    .panel-cyan > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #17a2b8;
    }

/* checkbox */
/* 20191126 */
/*input[type="checkbox"], input[type="radio"]{
	position: absolute;
	right: 9000px;
}*/
/*=== tonny ===*/

/*Radio Toggle*/

.toggle input[type="radio"] + .label-text:before {
    content: "\f204";
    font-family: "FontAwesome";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    width: 1em;
    display: inline-block;
    margin-right: 10px;
}

.toggle input[type="radio"]:checked + .label-text:before {
    content: "\f205";
    color: #16a085;
    animation: effect 250ms ease-in;
}

.toggle input[type="radio"]:disabled + .label-text {
    color: #aaa;
}

    .toggle input[type="radio"]:disabled + .label-text:before {
        content: "\f204";
        color: #ccc;
    }

/*--- Effects--*/
@keyframes effect {
    0% {
        transform: scale(0);
    }

    25% {
        transform: scale(1.3);
    }

    75% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

/*Checkbox*/
.checkbox {
    padding-left: 20px;
}

    .checkbox label {
        display: inline-block;
        position: relative;
        padding-left: 5px;
    }

        .checkbox label::before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 17px;
            height: 17px;
            left: 0;
            margin-left: -20px;
            border: 1px solid #cccccc;
            border-radius: 3px;
            background-color: #fff;
            -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        }

        .checkbox label::after {
            display: inline-block;
            position: absolute;
            width: 16px;
            height: 16px;
            left: 0;
            top: 0;
            margin-left: -20px;
            padding-left: 3px;
            padding-top: 1px;
            font-size: 11px;
            color: #555555;
        }
    /* 20191126 */
    /*.checkbox input[type="checkbox"] {
    opacity: 0; }*/
    /*=== tonny ===*/
    .checkbox input[type="checkbox"]:focus + label::before {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .checkbox input[type="checkbox"]:checked + label::after {
        font-family: 'FontAwesome';
        content: "\f00c";
    }

    .checkbox input[type="checkbox"]:disabled + label {
        opacity: 0.65;
    }

        .checkbox input[type="checkbox"]:disabled + label::before {
            background-color: #eeeeee;
            cursor: not-allowed;
        }

    .checkbox.checkbox-circle label::before {
        border-radius: 50%;
    }

    .checkbox.checkbox-inline {
        margin-top: 0;
    }

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #428bca;
    border-color: #428bca;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-danger input[type="checkbox"]:checked + label::before {
    background-color: #d9534f;
    border-color: #d9534f;
}

.checkbox-danger input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.checkbox-info input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-warning input[type="checkbox"]:checked + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}

.checkbox-warning input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox-success input[type="checkbox"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

.checkbox-success input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.radio {
    padding-left: 20px;
}

    .radio label {
        display: inline-block;
        position: relative;
        padding-left: 5px;
    }

        .radio label::before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 17px;
            height: 17px;
            left: 0;
            margin-left: -20px;
            border: 1px solid #cccccc;
            border-radius: 50%;
            background-color: #fff;
            -webkit-transition: border 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out;
            transition: border 0.15s ease-in-out;
        }

        .radio label::after {
            display: inline-block;
            position: absolute;
            content: " ";
            width: 11px;
            height: 11px;
            left: 3px;
            top: 3px;
            margin-left: -20px;
            border-radius: 50%;
            background-color: #555555;
            -webkit-transform: scale(0, 0);
            -ms-transform: scale(0, 0);
            -o-transform: scale(0, 0);
            transform: scale(0, 0);
            -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
        }

    .radio input[type="radio"] {
        opacity: 0;
    }

        .radio input[type="radio"]:focus + label::before {
            outline: thin dotted;
            outline: 5px auto -webkit-focus-ring-color;
            outline-offset: -2px;
        }

        .radio input[type="radio"]:checked + label::after {
            -webkit-transform: scale(1, 1);
            -ms-transform: scale(1, 1);
            -o-transform: scale(1, 1);
            transform: scale(1, 1);
        }

        .radio input[type="radio"]:disabled + label {
            opacity: 0.65;
        }

            .radio input[type="radio"]:disabled + label::before {
                cursor: not-allowed;
            }

    .radio.radio-inline {
        margin-top: 0;
    }

.radio-primary input[type="radio"] + label::after {
    background-color: #428bca;
}

.radio-primary input[type="radio"]:checked + label::before {
    border-color: #428bca;
}

.radio-primary input[type="radio"]:checked + label::after {
    background-color: #428bca;
}

.radio-danger input[type="radio"] + label::after {
    background-color: #d9534f;
}

.radio-danger input[type="radio"]:checked + label::before {
    border-color: #d9534f;
}

.radio-danger input[type="radio"]:checked + label::after {
    background-color: #d9534f;
}

.radio-info input[type="radio"] + label::after {
    background-color: #5bc0de;
}

.radio-info input[type="radio"]:checked + label::before {
    border-color: #5bc0de;
}

.radio-info input[type="radio"]:checked + label::after {
    background-color: #5bc0de;
}

.radio-warning input[type="radio"] + label::after {
    background-color: #f0ad4e;
}

.radio-warning input[type="radio"]:checked + label::before {
    border-color: #f0ad4e;
}

.radio-warning input[type="radio"]:checked + label::after {
    background-color: #f0ad4e;
}

.radio-success input[type="radio"] + label::after {
    background-color: #5cb85c;
}

.radio-success input[type="radio"]:checked + label::before {
    border-color: #5cb85c;
}

.radio-success input[type="radio"]:checked + label::after {
    background-color: #5cb85c;
}

/* checkbox */

/* 20190401 */
.map-logo {
    height: 50px;
    width: auto;
    /*margin-right:10px;*/
    /*margin-bottom:10px;*/
}

    .map-logo:hover, .map-logo.active {
        background-color: lightpink;
    }
/*=== tristan ===*/

/* 20195020*/
.copyright {
    text-align: center;
    margin: 5px;
}
/*=== harry ===*/

/* 20191126 */
.multiselect.dropdown-toggle {
    text-align: left;
}

.multiselect-container {
    width: 100%;
}
/*=== tonny ===*/

/* Login */
.dropdown-login {
    background-color: #eee;
}

.panel-login {
    padding: 15px;
    opacity: .95;
}

    .panel-login input {
        border: 1px solid #666;
    }

/* Query Panel*/
.panel.toolbar .panel-heading {
    padding: 5px 15px;
}

/* 分布圖 */
.label-serialno {
    background-color: transparent;
}

    .label-serialno span {
        font-weight: bold;
        color: #333;
    }
/*=== marker ===*/
.divIcon-hide {
    display: none;
}

.marker {
    position: relative;
    width: 40px;
    height: 40px;
    background-size: cover;
}

    .marker .serialno {
        display: none;
        position: absolute;
        top: -15px;
        font-size: 10px;
        line-height: 10px;
        width: 128px;
        font-weight: bold;
    }

    .marker .can {
        width: 40px;
        height: 40px;
        background-size: cover;
    }

/* 病例圖層 */
.onset-date.current {
    border: 3px solid #f44336;
}

/* 優先注意里*/
.alert-title-red {
    padding: 8px 15px;
    text-align: center;
    color: white;
    background-color: #d9534f;
}

.positive-rate-table {
    border: 2px solid #999;
}

    .positive-rate-table thead th, .positive-rate-table thead td {
        width: 25%;
        text-align: center;
        vertical-align: middle;
        background: #f0f0f0;
    }

    .positive-rate-table tbody tr th {
        background: #f0f0f0;
    }

    .positive-rate-table tbody tr td div p:first-child, .modal.detail .modal-body div p:first-child {
        font-weight: bold;
    }

    .positive-rate-table tbody tr td .btn {
        width: 100%;
    }

/* 綜合比較表 */
.comparision-table {
    border: 2px solid #999;
}

    .comparision-table thead th, .comparision-table thead td {
        text-align: center;
        vertical-align: middle;
        background: #A8DCD1;
    }

    .comparision-table thead tr th {
        border-color: #999;
    }

    .comparision-table tbody tr th {
        background: #f0f0f0;
    }

/* 風險地圖*/
.village-label {
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: "Helvetica", "Times New Roman", "微軟正黑體", "sans-serif";
    font-size: 14px;
    line-height: 20px;
    margin-top: -20px;
}

/* 分析圖表*/
.chart-container {
    display: none;
    width: 100%;
    /*overflow-x: hidden;*/
    overflow-x: scroll;
    overflow-y: hidden;
    border: 1px #666 solid;
    border-radius: 5px;
    margin-bottom: 20px;
}

    .chart-container .group-data {
        position: relative;
    }
    /* chart scroll bar */
    .chart-container::-webkit-scrollbar {
        display: inherit;
        height: 10px;
    }

    .chart-container::-webkit-scrollbar-track {
        /* background-color: #29b6f6*/
        /*background-color: #e7e7e7;*/
    }
/* 不可指定dom */
::-webkit-scrollbar-thumb {
    /*background: #29b6f6;*/
    background-color: #e7e7e7;
    border-radius: 5px;
}

.chart-container::-webkit-scrollbar-thumb:hover {
    /*background-color: #29b6f6;*/
    background-color: #e7e7e7;
    border-radius: 5px;
}

/* 20195029*/
.chart-download-icon {
    font-size: 2rem;
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.news-latest {
    padding-left: 10px;
    padding-top: 3px;
 
}