﻿body {
	font-family: Arial, Helvetica, sans-serif, Microsoft YaHei, Microsoft JhengHei, '微软雅黑体', '微軟雅黑體', '微軟正黑體', '黑體';
    background-color:#FFF;
    overflow-x: hidden;
    transition: all 0.3s;
    /*background-image:url(../../Images/blur-close-up-domestic-776970_1920x1080.jpg);*/
    background-repeat:no-repeat;
    background-attachment: fixed;
}
body:after{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background-color:#FFF;
    opacity:0.8;
    z-index:-1;
}
.wrapper > div > .container,
.wrapper > div > .container-fluid{
    margin-top:4em;
    padding:1em;
    min-height:80vh;
    background-color:rgba(255, 255, 255, 0.8);
    border-radius:10px;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
@media all and (max-width: 736px){
    #main {
        padding: 0;
    }
    .wrapper > div > .container,
    .wrapper > div > .container-fluid {
        min-height:50vh;
    }
}
a {
    -moz-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    -webkit-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    -ms-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    transition: border-bottom-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    color: #008ed6;
    border-bottom: dotted 0px rgba(88, 88, 88, 0.5);
}
.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
    font-size: 65%;
}
.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    font-weight: 400;
    line-height: 1;
    color: #666;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
	width:90%;
}
.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}
.input-group-addon, .input-group-btn {
   min-width:50px;
    white-space: nowrap;
    vertical-align: middle;
}
.ui-datepicker-trigger
{
	position: relative;
    font-size: 0;
    white-space: nowrap;
	min-width:20px;
    white-space: nowrap;
    vertical-align: middle;
	display: table-cell;
}
.ui-datepicker-trigger:hover
{
	-webkit-filter: opacity(50%);
    filter: opacity(50%);
}
.ui-datepicker select{
    border-bottom: 0;
    -webkit-appearance: menulist-button;
    padding-left:2px;
}
.ui-datepicker select:focus{
    border-bottom: 0;
    outline: none;
}


.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}

.text-center
{
    text-align: center;
}
a:hover {
    border-bottom-color: transparent;
    /*color: #ff669e !important;*/
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-bottom-color: #008ed6;
    box-shadow: inset 0 -1px 0 0 #008ed6;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	color: #008ed6 !important;
	box-shadow: inset 0 0 0 2px #008ed6;
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	border-color: #008ed6;
	box-shadow: 0 0 0 1px #008ed6;
}

input[type="submit"].special:hover,
input[type="reset"].special:hover,
input[type="button"].special:hover,
button.special:hover,
.button.special:hover {
	background-color: #008ed6;
	color: #fff;
	color: #fff !important;
}

input[type="submit"].special:active,
input[type="reset"].special:active,
input[type="button"].special:active,
button.special:active,
.button.special:active {
	background-color: #008ed6;
	color: #fff;
	color: #fff !important;
}

.flatpickr-day.today:focus, .flatpickr-day.today:hover {
    border-color: #008ed6;
    background: #008ed6;
    color: #fff;
}

.flatpickr-next-month svg:hover, .flatpickr-prev-month svg:hover {
    fill: #008ed6;
}

.flatpickr-day.today {
    border-color: #008ed6;
}

.flatpickr-day.selected, .flatpickr-day.selected:focus, .flatpickr-day.selected:hover {
    background: #008ed6;
    color: #fff;
    border-color: #008ed6;
}


.hidden
{
	visibility:hidden;
}

.nondisplay{
    display:none !important;
}

.padding-right{
    padding-right:0.5em;
}

.ui-datepicker-trigger
{
	position: relative;
    font-size: 0;
    white-space: nowrap;
	min-width:20px;
    white-space: nowrap;
    vertical-align: middle;
	float:right;
    margin-top :-30px;
    left:-12px;
}
.ui-datepicker-trigger:hover
{
	-webkit-filter: opacity(50%); filter: opacity(50%);
}
.bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10001;
    top: 0;
    left: 0;
    opacity: 0.7;
}
.Notice {
    display: none;
    position: fixed;
    float: left;
    z-index: 9999999;
    top: 10vh;
    font-weight: 1000;
    background: #FFF;
    width: 70%;
    min-height: 70%;
    left: 15vw;
    margin: auto 0;
    border-radius: 10px;
    padding:5em 5em 1.5em 5em;
}
.Notice > .close {
    position: absolute;
    top: 0.3em;
    right: 1em;
}
.Notice > .close a:hover{
    text-decoration:none;
}

@media (max-width: 1600px){
    .Notice {
        padding: 2em 1.5em 1.5em 1.5em;
    }
}

@media (max-width: 767px){
    .Notice {
        left: 5vw;
        width: 90%;
    }
}

/*導覽列修改*/
.navbar{
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition:all 0.2s ease;
    position:fixed;
    width:100%;
    z-index:1030;
}
.navbar-header button:hover,
.navbar-header button:focus{
    color:#585858 !important;
    box-shadow:inset 0 0 0 2px #585858 !important;
}
.fixed-navbar{
    background-color: #FFF;
    box-shadow: 0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15);
}
.navbar a{
    text-decoration: none;
    color: #585858;
    font-weight:bolder;
    border-bottom: dotted 0px rgba(88, 88, 88, 0.5);
}
.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav > li > a{
    color: #eee;
}
.navbar-nav>li>.dropdown-menu{
    border-radius:6px;
}
@media screen and (min-width: 992px) {
    .navbar-nav>li>.dropdown-menu {
        max-height: 85vh;
        overflow-y: auto;
        border-radius:6px;
    }
    .navbar-nav>li>.dropdown-menu::-webkit-scrollbar-track {
        background-color: #fbedd2;
    }
    .navbar-nav>li>.dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }
    .navbar-nav>li>.dropdown-menu::-webkit-scrollbar-thumb {
        background-color: #B2945B;
        border-radius: 6px;
    }
}
.navbar-toggle .icon-bar{
    background-color: #585858;
}
.navbar-fixed-top{
    background-color:#FFF;
    box-shadow: 0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15);
}
.navbar button {
    color:transparent;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
    border-radius:3px;
    margin-right:5px;
}
@media (max-width: 767px){
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a{
        color: #eee;
    }
    .navbar-brand{
        font-size:1.6em;
    }
    .navbar-ul-color{
        background-color: rgba(88, 88, 88, 0.9);
    }
    .navbar .navbar-ul-color a{
        color:#FFF !important;
    }
    .nav > li > a:focus,
    .nav > li > a:hover {
        background-color: transparent;
    }
    .nav > li.dropdown.open > a:focus,
    .nav > li.dropdown.open > a:hover {
        background-color: #eee;
    }
    .navbar .navbar-ul-color ul li.dropdown.open a:focus,
    .navbar .navbar-ul-color ul li.dropdown.open a:hover{
        color:#585858 !important;
    }
}
/*原生input[type=date]修改*/
input[type=date]{
    border-radius:8px;
    padding:0.2em 1em;
}
.LoadingImg{
    position:fixed;
    left:calc(50% - 32px);
    top:40%;
}
footer{
    z-index:2;
}
footer a {
    color: #000;
}
footer a:hover {
    text-decoration:none;
}

/*分頁處理*/
.pagination>.active>a
, .pagination>.active>a:focus
, .pagination>.active>a:hover
, .pagination>.active>span
, .pagination>.active>span:focus
, .pagination>.active>span:hover {
    z-index:1;
    color: #fff !important;
    cursor: default;
    background-color: #008ed6;
    border-color: #008ed6;
    border-radius:100px;
    box-shadow: 0 4px 5px 0 rgba(0, 125, 170, 0.14), 0 1px 10px 0 rgba(0, 125, 170, 0.12), 0 2px 4px -1px rgba(0, 125, 170, 0.2);
}
.pagination>li>a
, .pagination>li>span{
    border-radius:100px;
    padding: 0.5em;
    min-width:23px;
    border:0;
    width:2.7em;
    background-color: transparent;
}

ul.pagination > li {
     padding-left: 0; 
}

/*分隔線*/
.hr_yellow{
    border-top:10px solid #ffe36a;
    border-right:0;
    border-left:0;
    margin:1em 0 1em 0;
}

.hr_green{
    border-top:10px solid #69ffd4;
    border-right:0;
    border-left:0;
    margin:1em 0 1em 0;
}

.hr_pink{
    border-top:10px solid #ff69a7;
    border-right:0;
    border-left:0;
    margin:1em 0 1em 0;
}
.hr_blue{
    border-top:10px solid #008ed6;
    border-right:0;
    border-left:0;
    margin:1em 0 1em 0;
}
.hr_black{
    border-top:10px solid #585858;
    border-right:0;
    border-left:0;
    margin:1em 0 1em 0;
}
.red_start:before{
    content: "※"; 
    padding-right: 2px;
    color: red;
}

.blue_start:before{
    content: "※"; 
    padding-right: 2px;
    color: blue;
}

/*勾選調整*/
table tbody input[type="checkbox"] + label:before,
table tbody input[type="radio"] + label:before{
    top: -1em;
}

.SortASC::after{
    content:' ▲';
}
.SortDESC::after{
    content:' ▼';
}

/*disabled*/
input[disabled=disabled]
,input[disabled]
,textarea[disabled=disabled]
,textarea[disabled]
,select[disabled=disabled]
,select[disabled]
{
    background-color:#eee;
}

.emailQuery{
    border-radius:6px;
    padding:1em;
    background-color:#FFF;
    z-index:1;
    position:absolute;
}
.emailQuery >ul li{
    cursor:pointer;
}
.emailQuery > ul li:hover, li.Querylifocus{
   background-color:#ff669e;
   color:#FFF;
}
div.aQuery{
    display:none;
}
div.aQuery > #abtnQuery{
    padding:1em;
    text-align:right;
}
div.aQuery > #abtnQuery:after{
    background-image: url("../../Images/magnifying-glass_720x720.png");
    background-size:2em;
    background-repeat:no-repeat;
    content: "";
    width: 2em;
    height: 2em;
    right: 80px;
    position: absolute;
    display: inline-block;
}
@media all and (max-width: 736px){
    div.QueryDiv{
        display:none;
    }
    div.aQuery{
        display:block;
    }
}
.noscroll{
    overflow:hidden
}

.navbar-nav .dropdown-menu .material-icons {
    margin-right: .5rem;
}