﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Layout.css
Editor: Shellsirius
CreateDate:2018/11/27
Version: 1.0
---------------------------
【 Table of Contents 】
	Materialize架構
=================================================================================*/

/*===============================================================================
                                     全域設定
=================================================================================*/
h6 {
    font-size: 1rem;
    font-weight: bold;
    color: #287CAE;
}

/*-----------------------查詢區域-----------------------*/
.MyInputTitle {
    font-size: 1rem;
    font-weight: bold;
    color: #0B6DC2;
    padding-left: 14px;
}

    .MyInputTitle i {
        font-size: 1rem;
        margin-right: 0.5rem;
        color: #EFDCED;
    }
.MyQueryArea {
    border: 3px solid #8AC3E9;
    padding: 1rem;
    border-radius: 5px;
}

    .MyQueryArea h4 {
        font-size: 1.25rem;
        color: #000;
    }

        .MyQueryArea h4 i {
            color: #8AC3E9;
            margin-right: 0.5rem;
        }

    .MyQueryArea .row {
        margin-top: 1rem;
    }
    .MyQueryArea .input-field input {
        color: #333;
    }

        .MyQueryArea .input-field > label {
            color: #287CAE;
            font-weight: bold;
        }

    .MyQueryArea .CommandArea {
        text-align: center;
    }

/*-----------------------查詢結果-----------------------*/
.MyCard {
    margin-top: 1rem;
    border: 1px solid #CCC;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    color: #000;
}

    .MyCard:hover {
        color: #000;
        box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
        transform: translate(-2px, -2px);
        -ms-transform: translate(-2px, -2px);
        -moz-transform: translate(-2px, -2px);
        -webkit-transform: translate(-2px, -2px);
    }

    .MyCard .card-title {
        padding: 0.5rem;
        border-bottom: 1px solid #CCC;
        line-height: 2.25rem;
    }

        .MyCard .card-title:after {
            content: ".";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }

        .MyCard .card-title span {
            float: right;
            border-radius: 5px;
            padding: 0.5rem;
            line-height: 1rem;
            font-weight: bold;
        }

            .MyCard .card-title span.checking1 {
                border: 2px solid #e88422;
                color: #e88422;
            }

            .MyCard .card-title span.checking2 {
                border: 2px solid #e25858;
                color: #e25858;
            }

            .MyCard .card-title span.checking3 {
                border: 2px solid #b12467;
                color: #b12467;
            }

            .MyCard .card-title span.ready {
                border: 2px solid #129e9d;
                color: #129e9d;
            }

            .MyCard .card-title span.pass {
                border: 2px solid #249e21;
                color: #249e21;
            }

            .MyCard .card-title span.archive {
                border: 2px solid #a08080;
                color: #a08080;
            }

    .MyCard .card-content {
        padding: 0.5rem;
        display: table;
        width: 100%;
    }

        .MyCard .card-content p, .MyCard .card-content h5 {
            display: table-cell;
            vertical-align: middle;
        }

        .MyCard .card-content p {
            line-height: 1.5rem;
            font-weight: bold;
        }

        .MyCard .card-content h5 {
            text-align: right;
            font-size: 1.5rem;
            font-weight: bold;
        }

@media only screen and (min-width: 601px) {
    .row .MyCard.col.m6 {
        width: calc(50% - 1rem);
        margin: 0.5rem;
    }

}

@media only screen and (min-width: 993px) {
    .row .MyCard.col.l12 {
        width: 100%;
        margin: 0.5rem 0;
    }
}



@media only screen and (min-width: 1201px) {
    .row .MyCard.col.xl6 {
        width: calc(50% - 1rem);
        margin: 0.5rem;
    }
}

/*-----------------------詳細資料-----------------------*/
.input-field > .select-wrapper.disabled+label, .input-field.col label {
    font-size: 1rem;
    font-weight: bold;
    color: #0B6DC2;
}

    .input-field > input[type=text]:not(.browser-default):disabled+label,
    .input-field > input[type=text]:not(.browser-default)[readonly="readonly"]+label,
    .input-field > label:not(.label-icon).active {
        font-size: 1rem;
        font-weight: bold;
        color: #0B6DC2;
        transform: translateY(-14px) scale(1);
    }

        .input-field > label i, .input-field > label:not(.label-icon).active i {
            font-size: 1rem;
            margin-right: 0.5rem;
            color: #EFDCED;
        }


/*-------------------後臺權限管理--------------------------*/
.col-GS-admin {
    padding: 0 0!important;
}
.tabs-GS-admin-wrap {
    border-bottom: 1px solid #1882c9;
}
.tab-GS-admin{
	background-color: #80bae1;
}
.tab-GS-admin > input{color: #FFF!important;}
.tab-GS-admin-active{
	background-color: #1882c9;
	color: #FFF!important;
}
.btn_add {
	background-color: #84B1ED;
	color: #ffffff;
	padding:0px 16px 0px 32px;
	background-image: url(../images/Btn_add.png);
	background-repeat: no-repeat;
	background-position: 4px center;
	border: 1px solid transparent;
}
.btn_add:hover {
	background-color:#3684ed;
	color: #ffffff;
}
.btn_add:active {
	position:relative;
	top:1px;
}
.table_list-GS-admin{
	width: 100%;
	border: 0px solid #ddd;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
}
.table_list-GS-admin.left{
	text-align: left;
}
.table_list-GS-admin .right{
	text-align: right;
}
.table_list-GS-admin .center{
	text-align: center;
}
.table_list-GS-admin th {
	font-family: "微軟正黑體";
	font-size: 1.1rem;
	font-weight: 600;
	color: #FFF;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: normal;
	background-color: #1882c9;
	border-bottom: 1px solid #FFF;
	border-right: 1px solid #FFF;
	padding-right: 8px;
	padding-left: 8px;
}
.table_list-GS-admin th:last-child{border-bottom: 0px solid #FFF;}
.table_list-GS-admin td{
	font-family: "微軟正黑體";
	font-size: 1rem;
	color: #000;
	text-align: left;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-right: 8px;
	padding-left: 8px;
	background-color: transparent;
	border-bottom: 1px solid #ddd;
}
.table_list-GS-admin td a{
	font-family: "微軟正黑體";
	font-size: 1rem;
	color: #004eff;
	text-align: left;
	text-decoration: none;
	margin-right: 5px;
	margin-left: 5px;
}
.table_list-GS-admin tr:hover{
	background-color: #ffeccb;
}
.table_list-GS-admin tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}
.table_list-GS-admin-btnS{
	display: inline-block;
	padding: 6px 10px;
	margin: 4px;
	font-size: 0.8rem;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #333;
	background-color: #fff;
	border-color: #ccc;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	font-family: "微軟正黑體";
	line-height:1;
	height: auto;
}
.table_list-GS-admin-btnS:hover, .table_list-GS-admin-btnS:active {
	background-color: #e6e6e6;
	cursor: pointer;
	color: #000;
}
.table_list-GS-admin-btnS:focus, .table_list-GS-admin-btnS.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(131, 131, 131, 0.25);
  transition:all 0.5s;
}
.table_list-GS-admin-btnS.active {
	background-color: #e6e6e6;
	cursor: pointer;
	color: #000;
}
.btn_Coral{
	background-color: #f26c6c;
	border: 1px solid transparent;
	color: #FFF;
}
.btn_Coral:hover, .btn_Coral:active {
	background-color: #f24848;
	color: #FFF;
}
.btn_GreenLake{
	background-color: #6bcad2;
	border: 1px solid transparent;
	color: #FFF;
}
.btn_GreenLake:hover, .btn_GreenLake:active {
	background-color: #33c6d2;
	color: #FFF;
}
.btn_Gray {
	background-color: #dadada;
	color: #000;
	border: 1px solid transparent;
}
.btn_Gray:hover, .btn_Gray:active {
	background-color: #bdbdbd;
	color: #000;
}
.btn_GreenLake >input, .btn_Coral>input{color: #FFF!important;}

/*-----------------------------地圖-----------------------------*/
.MyMapArea {
    position: relative;
}

.MyMap {
    width: 100%;
    height: 400px;
    /*background-color: #e2f1f5;*/
    position: relative;
}

#mapid {
    height: 400px;
}

#MyLayer {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 999;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    padding: 5px;
    text-align: right;
}

    #MyLayer.off .layer {
        display: none;
    }

/*POPUP中的table*/
.leaflet-popup .Mytable {

    }

        .leaflet-popup .Mytable caption {
            font-size: 1.25rem;
            font-weight: bold;
            color: #0B5CA2;
            line-height: 2rem;
            border-bottom: 2px solid #a9d4ef;
            margin-bottom: 0.5rem;
			caption-side: top!important;
        }

        .leaflet-popup .Mytable tr {
            border-bottom: 1px dashed #a9d4ef;
        }

            /*.leaflet-popup .Mytable tr:last-child {
                border-bottom: none;
            }*/

        .leaflet-popup .Mytable th, .leaflet-popup .Mytable td {
            padding: 0.25rem 2px;
			font-size: 1rem;
        }

        .leaflet-popup .Mytable th, .leaflet-popup .Mytable td:first-child {
            font-weight: bold;
        }

        .CaptionOnly .leaflet-popup .Mytable caption {
            border-bottom: none;
            color: #333;
            margin-bottom: 0;
        }
/*------------------------preloader-----------------------*/
.preloader-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    left: 0;
    top: 0;
    z-index: 9999;
}

.preloader {
    top: 50%;
    left: 50%;
    height: 60px;
    margin: -30px 0 0 -40px;
}

    .preloader, .preloader .lines, .preloader .lines .line {
        width: 80px;
        position: absolute;
    }

        .preloader .lines {
            height: 40px;
        }

            .preloader, .preloader .lines, .preloader .lines .line {
                width: 80px;
                position: absolute;
            }

                .preloader .lines .line.line-1 {
                    top: 0;
                    -webkit-animation: slide 2s ease 0s infinite;
                    -moz-animation: slide 2s ease 0s infinite;
                    animation: slide 2s ease 0s infinite;
                }

                .preloader .lines .line.line-2 {
                    top: 15px;
                    -webkit-animation: slide 2s ease .25s infinite;
                    -moz-animation: slide 2s ease .25s infinite;
                    animation: slide 2s ease .25s infinite;
                }

                .preloader .lines .line.line-3 {
                    top: 30px;
                    -webkit-animation: slide 2s ease .5s infinite;
                    -moz-animation: slide 2s ease .5s infinite;
                    animation: slide 2s ease .5s infinite;
                }

                .preloader .lines .line {
                    height: 10px;
                    background-color: #000;
                    clip: rect(0,0,20px,0);
                }

                .preloader .lines .line {
                    background-color: #8AC3E9;
                }

                .preloader .loading-text {
                    color: #8AC3E9;
                }

                .preloader .loading-text {
                    position: absolute;
                    top: 50px;
                    text-align: center;
                    width: 100%;
                    color: #000;
                    font-size: 13px;
                    font-family: sans-serif;
                    letter-spacing: 3px;
                    line-height: 10px;
                    height: 10px;
                    -webkit-animation: fade 1s ease 0s infinite;
                    -moz-animation: fade 1s ease 0s infinite;
                    animation: fade 1s ease 0s infinite;
                }

/*MODAL*/
.modal {
}

    .modal .modal-title {
        padding: 1rem;
        background-color: #3e7fb7;
    }

        .modal .modal-title h4 {
            color: #FFF;
        }

    .modal .modal-footer {
        border-top: 1px solid #CCC;
    }

    /*popup回報狀態*/
.popup-title{
    font-size: 2rem;
    font-weight: bold;
    color: #F16B6F;
    margin-bottom: 10px;
}
.txt-area{
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}
.txt-info-area{
    background-color: #f3fbfd;
    padding: 1rem;
    margin: 10px 0;
    border-radius: 8px;
}
.txt-info-area > p {
    color: #3e7fb7;
    font-weight: 600;
}
.popup-title-alert{
    font-size: 1.25rem;
    font-weight: bold;
    color: #3e7fb7;
    margin-bottom: 10px;
}
.popup-title-alert > i{
    margin-right: 4px;
}
.txt-info-ul{
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem;
}
.txt-info-ul > li{
    padding: 0.5rem 0;
}
.txt-info-ul:last-child{
    border-bottom: 0px;
}

@-moz-keyframes slide {
    0% {
        clip: rect(0,0,20px,0);
    }

    30%,50% {
        clip: rect(0,80px,20px,0);
    }

    100%,80% {
        clip: rect(0,80px,20px,80px);
    }
}

@-webkit-keyframes slide {
    0% {
        clip: rect(0,0,20px,0);
    }

    30%,50% {
        clip: rect(0,80px,20px,0);
    }

    100%,80% {
        clip: rect(0,80px,20px,80px);
    }
}

@keyframes slide {
    0% {
        clip: rect(0,0,20px,0);
    }

    30%,50% {
        clip: rect(0,80px,20px,0);
    }

    100%,80% {
        clip: rect(0,80px,20px,80px);
    }
}

@-webkit-keyframes fade {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@-moz-keyframes fade {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fade {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.ui-widget-overlay {
    z-index: 9999;
}