﻿* {
	margin:0;
	padding:0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 12pt;
    /*text-align: center;*/
    color: #333333;
    margin: 0;
    padding: 0;
    background: white; /*#dedede*/
    /*line-height: normal;*/
    /*background-color: #FFFACD;*/ /*#F3F3F3;*/
    /*background-image: url(../imagess/background.jpg);*/
    /*background-position: center center;*/
    /*font-family: 'Belgrano', serif;*/
}

#wrapper {
    display: none;
}

.container {
    padding: 0 15px;
}

.affix {
    top: 0;
    width: 100%;
    z-index: 9999 !important;
}

.affix + .container-fluid {
    padding-top: 100px;
}

.affixbar {
    /*border-radius: 5em;*/
    border-top-left-radius: 5em;
    border-top-right-radius: 5em;
    background-color: MidnightBlue;
}
/*===Scroll Indicator===*/
.progress-container {
    width: 100%;
    height: 8px;
    background: #dedede;
}

.progress-bar {
    height: 8px;
    background-color: MidnightBlue;
    width: 0%;
}

#header {
	color: #d1bfa6;
	padding-top:10px;
	background-color: #6e3f0f;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #6e3f0f;
    
}
#header h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-size: 42px;
	line-height:140%;
	color:#6e3f0f;
	margin-top:10px;
	margin-bottom: 10px;
	background-color: #f7f2e3;
}
#header p {
	font-family:Arial, Helvetica, sans-serif;
	font-size:120%;
	font-weight:bold;
	line-height:140%;
	margin-top: -5px;
	margin-left: 40px;
	margin-bottom:5px;
}

/*#Logoheader {
    background-color:darkkhaki;
}

#Logoheader div{
    height: 113px;
    background-image: url(../image/Logo/header.jpg);   
    background-repeat: no-repeat;
}*/

/*===MEGA MENU===*/

/*修正li disabled bug*/
li.disabled {
    cursor: not-allowed;
}

li.disabled a {
    pointer-events: none;
    opacity: 0.6;
}

.navbar-collapse {
    /*height: 400px;*/
    overflow-y: scroll;
    opacity: 1;
}

.navbar {
    margin-bottom: 0px;
}

.navbar-default {
    color: white;
    border: none;
    background-color: MidnightBlue;
    /*border-color: #ADFF2F;*/
    z-index: 9999;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #e7e7e7;
    border-bottom-color: #e7e7e7;
}

.navbar-default .navbar-brand:hover {
    background-color: black;
}

/*.navbar-nav li.dropdown:hover {
    color: rebeccapurple;
}*/
.dropdown-menu {
    background-color:black;
    opacity:0.8;
}

.menu-large {
    position: static !important;
}

.megamenu {
    padding: 20px 0px;
    width: 100%;
}

.megamenu > li > ul {
    padding: 0;
    margin: 0;
}

.megamenu > li > ul > li {
    list-style: none;
}

.megamenu > li > ul > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: white;
    white-space: normal;
    transition: 0.2s;
}

.megamenu > li ul > li > a:hover,
.megamenu > li ul > li > a:focus {
    text-decoration: none;
    color: #FFA500;
    padding: 3px 25px;
    /*background-color: #f5f5f5;*/
}

.megamenu.disabled > a,
.megamenu.disabled > a:hover,
.megamenu.disabled > a:focus {
    color: #999999;
}

.megamenu.disabled > a:hover,
.megamenu.disabled > a:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    cursor: not-allowed;
}

.megamenu li .dropdown-header {
    color: darkorange;
    font-size: 16px;
}

.megamenu ul {
    /*border-left-style: solid;*/
    /*border-right-style: solid;
    border-right-color: gray;*/
    border-right: 1px gray solid;
    /*border-left-color: #008000;*/
}

@media screen and (max-width: 768px) {
.megamenu {
    margin-left: 0;
    margin-right: 0;
}

.megamenu > li {
    margin-bottom: 30px;
}

.megamenu > li:last-child {
    margin-bottom: 0;
}

.megamenu.dropdown-header {
    padding: 3px 15px !important;
}

.navbar-nav .open .dropdown-menu .dropdown-header {
    color: #fff;
}

}

/*#navbar {
  background-color: green;
  position: relative;
  top: 0px;
  width: 100%;
  display: block;
  transition: top 0.3s;
}

nav {
	position: relative;
	top:0px;
    display: block;
    transition: top 0.3s;
}

#navlist {
	padding: 0px 0;
	margin: 0px;
	font-family: 'Lobster', sans-serif;
    display: inline;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0%,10%,20%,0.6);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content .dropdown-header {
    display:inline-block;
    text-align: left;
    font-size:20px;
    color: black;
    margin-left: 0px;
    padding-left: 10px;
    white-space:nowrap;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.dropdown .icon {
  display: none;
}

li a, .dropbtn {
    position: relative;
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    margin: 0;
}
#navlist li {
    list-style: none;
    margin: 0;
    display: inline;
    float: left;    
}
#navlist li a {
    color: white; 
	padding: 4px 10px;
	margin-left: 0px;
	border-bottom: none;
    background-color: green;
    opacity: 0.8;
	text-decoration: none;
	text-shadow: none;
	font-size:20px;
	border-radius: 0px;
}

#navlist div {
	width: 100px;
}

@media screen and (max-width: 768px) {
  #navbar div ul li:not(:first-child) {display: none;}
  #navbar div ul li a.icon {
    float: left;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #navbar div ul li a.icon {
    top: 0px;
    right: 0;
    float: left;
    display: block;
  }

  #navbar.responsive div {position: relative;}
  #navbar.responsive div ul li{
    display: inline-block;
    width:100%
  }
  

}*/
/*===NarBar NEW===*/
/*.nar-bar-inner {
    display: block;
    position: relative;
    float: left;
}

.navigation ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: block;
}

.navigation ul li {
    height: 4rem;
    line-height: 4rem;
    display: inline;
    float: left;
    overflow: hidden;
    padding-left: 5px;
}

.navigation ul li a {
    text-decoration: none;
}

.navigation .sub-menu {
    width: 18rem;
    text-align: left;
    background: #90EE90;
    border: none;
    border-radius: 0;
    transition-property: transform,opacity,visibility,border-color;
    transition-duration: .4s;
    box-shadow: 0 0.2rem 0.2rem rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    z-index: 101;
    line-height: 1.8;
    position: absolute;
}

.navigation .sub-menu li {
    display: block;
    float:none;
}

.navigation .sub-menu ul {
    top: 0;
    left: 18rem;
    display: block;
    visibility: hidden;
    opacity: 0;
}

.navigation ul li:hover .sub-menu:not(.LastMenu) {
    display: block;
    visibility: visible;
    opacity: 1;
}

.contains-sub-menu ul {
    width: 18rem;
    text-align: left;
    background: #90EE90;
    border: none;
    border-radius: 0;
    transition-property: transform,opacity,visibility,border-color;
    transition-duration: .4s;
    box-shadow: 0 0.2rem 0.2rem rgba(0,0,0,.3);
    z-index: 101;
    line-height: 1.8;
    position: absolute;
}

.contains-sub-menu:hover .contains-sub-menu .sub-menu {
    top: 0;
    left: 18rem;
    display: block;
    visibility: hidden;
    opacity: 0;
}*/

/*===SubMenu===*/
/*
#nav {
    list-style: none inside;
    margin: 0;
    padding: 0;
    text-align: center;
}

#nav li {
    display: block;
    position: relative;
    float: left;
    background: #24af15;  menu background color /
    z-index: 999;
}

#nav li a {
    display: block;
    padding: 0;
    text-decoration: none;
    width: 150px;  this is the width of the menu items 
    line-height: 35px;  this is the hieght of the menu items 
    color: #ffffff;  list item font color 
}

#nav li li a {
    font-size: 80%;
}

#nav li li li a {
    font-size: 80%;
}
 smaller font size for sub menu items 
#nav li:hover {
    background: #003f20;
}
 highlights current hovered list item and the parent list items when hovering over sub menues 
#nav ul:not(.mega-sub-menu) {
    position: absolute;
    padding: 0;
    left: 0;
    display: none;  hides sublists 
    border: none;
    border-radius: 0;
    visibility: hidden;
    transition-property: transform,opacity,visibility,border-color;
    transition-duration: .4s;
    box-shadow: 0 0.2rem 0.2rem rgba(0,0,0,.3);
    opacity: 0;
}

 hides sub-sublists 
#nav li:hover ul ul {
    display: none;
}
#nav li:hover ul ul ul {
    display: none;
}

#nav li:hover ul {
    display: block;
    visibility: visible;
    opacity: 1;
}

 shows sublist on hover 
#nav li li:hover ul {
    display: block;  shows sub-sublist on hover 
    margin-left: 150px;  this should be the same width as the parent list item 
    margin-top: -35px;  aligns top of sub menu with top of list item 
}

#nav li li li:hover ul {
    display: block;  shows sub-sublist on hover 
    margin-left: 150px;  this should be the same width as the parent list item 
    margin-top: -35px;  aligns top of sub menu with top of list item 
}
*/

/*===MegaMenu===*/
/*.dropdown-menu {
    max-width: 100%;
    width: 100%;
}
.dropdown-content:before {
    content: "";
    clear: both;
}
.width-4 {
    width: 33.33333%;
}
.mega-sub-menu {
    height: auto;
    padding: 2rem 0 0;
    margin-left: 0;
    margin-right: 0;
    background-color:rebeccapurple;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;

    box-shadow: 0 0.2rem 0.2rem rgba(0,0,0,.3);
    opacity: 0;
    visibility: visible;
    z-index: -1;
    position: absolute;
}*/
/*.mega-sub-menu li{
    display:block;
}*/
/*.mega-sub-menu.row:after, .mega-sub-menu.row:before {
    display: none;
    content: "";
}*/
/*.mega-sub-menu::before {
    content: "";
    display: table;
    clear: both;
}*/
/*.dropdown-content {
    display: none;
    position: relative;
    background-color: #f9f9f9;
    width: 600px;
    left: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}*/

/*.dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font: inherit;
    margin: 0;
}*/

/*.dropdown-content .header {
    background: red;
    padding: 16px;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}*/

/* Create three equal columns that floats next to each other */
/*.column {
    float: left;
    width: 25%;
    padding: 10px;
    background-color: #ccc;
    height: 250px;
}

.column a {
    float: none;
    color: black;
    padding: 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.column a:hover {
    background-color: #ddd;
}*/

/* Clear floats after the columns */
/*.row:after {
    content: "";
    display: table;
    clear: both;
}*/

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
/*@media screen and (max-width: 600px) {
.column {
    width: 100%;
    height: auto;
}
}*/

/*#nav .icon {
    display: none;
}

@media screen and (max-width: 768px) {
    #navbar ul li:not(:first-child) {
        display: none;
    }

    #navbar ul li a.icon {
        float: left;
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #navbar ul li a.icon {
        top: 0px;
        right: 0;
        float: left;
        display: block;
    }

    #navbar.responsive {
        position: relative;
    }

        #navbar.responsive ul li {
            display: inline-block;
            width: 100%
        }
}*/

/*END Narbar*/

#Main {
    clear: both;
    position: relative;
}

/*#Content {
    padding-top:100px;
}*/

.Smooth {
    display: none;
    position: fixed;
    right: 5%;
    bottom: 5%;
    z-index:100;
}

.Smooth i {
    color:Maroon;
    font-size:48px;
}

.Smooth a i:hover {
    background-color: Maroon;
    color: white;
}

#footer {
    position: relative;
    background-color: #B0C4DE;
    font-family: 'Microsoft YaHei';
    /*font-size: 30px;*/
}

#footer > .container {
    padding-top: 60px;
    margin-bottom: 60px;
}

#footer > .container > div > div > p > a:hover,
#footer > .container > div > div > address > a:hover {
    text-decoration: none;
    color: white; /*#FFA500*/
    background-color: rebeccapurple;
    /*border: 2px solid red;*/
    padding: 0px;
    border-radius: 25px;
}

#footer > .container > div > div > p > a:focus,
#footer > .container > div > div > address > a:focus {
    text-decoration: none;
}

.Copyright {
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    padding: 25px 0;
    font-size: 13px;
    display: block;
    background-color: #778899;
    text-align: center;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #DCDCDC;
    border-radius: 50%;
    border-top: 16px solid #800000;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 6px;
    box-sizing: border-box;
    border: 26px solid #800000;
    border-color: #800000 transparent #800000 transparent;
    animation: lds-hourglass 1.2s infinite;
}
@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

/*修正標題高度*/
.ui-jqgrid .ui-jqgrid-htable th div {
    height:auto;
    overflow:hidden;
    padding-right:4px;
    padding-top:2px;
    position:relative;
    vertical-align:text-top;
    white-space:normal !important;
}

/**DataTable*/
.table.dataTable {
    /*font-family: Verdana, Geneva, Tahoma, sans-serif;*/
    font-size: 12px;
}

/*a:link, a:visited, a:active {text-decoration: none;color: #333333;}
a:hover {text-decoration: none;color: #999999;}*/

/**cookie*/
.grt-cookie {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: #FFF;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.grt-cookie-active {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
}

.grt-cookie p {
    font-size: 15px;
    font-family: Microsoft JhengHei UI Light;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    color: #222;
    font-weight: normal;
}

    .grt-cookie p a {
        color: #333;
        text-decoration: underline;
        font-size: 15px;
        margin: 0;
        padding: 0;
    }

.grt-cookie-button {
    display: inline-block;
    cursor: pointer;
    font-weight: normal;
    font-size: 15px;
    font-family: Microsoft JhengHei UI Light;
    padding: 6px 16px;
    margin-left: 12px;
    background: #333;
    color: #FFF;
    text-transform: capitalize;
    white-space: nowrap;
}

@media (max-width:767px) {

    .grt-cookie {
        flex-direction: column;
        padding: 15px;
    }

        .grt-cookie p, .grt-cookie p a {
            font-size: 13px;
        }

    .grt-cookie-button {
        font-size: 13px;
        padding: 3px 14px;
        margin: 8px 0 0 0;
    }
}
