﻿  /*==========setting by basic stard==========*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html,body,form  {
 height: 100%;
}
iframe {
	padding:0;
	margin:0;
}
  /*==========  setting by basic end  ==========*/

  .clearfix:before,
 .clearfix:after {
 content:"";
 display:table;
 }
 .clearfix:after {
   clear:both;
 }
.clearfix {
   zoom:1; /* IE <8 */
}
.pull-right {
	float: right!important;
}
.pull-left {
	float: left!important;
}

		/*==========================  左側開合使用  ===========*/
#TGMapTool
{
	top: 0;
	/*left: -400px;  106.1.25 b222 改成先打開*/ 
	left: 0px;
	position: fixed;
	z-index: 9999;
	border-left-style: solid;
	border-left-width: 1px;
	border-left-color: #666666;
	height:100%;
	min-height:100%;
	background-color: #fff;
}
 
#banner{
	text-align: center;
}
#banner_tab,#banner_taba {
	position: absolute;
	right: -24px;
	width: 24px;
	top:0;
	height:30px;
	text-align: center;
	background-color:#e0e0e0;
	padding: 0;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	box-shadow: 3px 0px 2px rgba(0,0,0,0.5);
	cursor: pointer;
}
#banner_tab p,#banner_taba p {
	display: block;
	padding: 0;
	font-size: 12px;
	margin: 6px 0;
	vertical-align: middle;
	text-align: center;
}
#banner_tab p a,#banner_taba p a {
	display: block;
}
.TGMapToolHeight {
	overflow-y: scroll;
	height: 665px;
}
/*
.bannerFormHori h4 {
	text-align: center;
	font-family:微軟正黑體,Arial, Helvetica, sans-serif;
	font-weight:900;
}
.bannerFormHori span.control-label,.bannerFormHori select,.bannerFormHori input {
	float: left!important;
}
.bannerFormHori span {
	font-family:標楷體,Arial, Helvetica, sans-serif,微軟正黑體;
	font-weight:900;
}
.bannerFormHori select,.bannerFormHori input {
	width:auto!important;
}*/
		/*==========================  主體共用  ===========*/
body {
	font-family: 微軟正黑體;
}

#container {
 min-height:100%;
 height: auto !important;
 height: 100%; /*IE6不識別min-height*/
 position:relative;
 z-index:100;
}

#TGMap {
	position:fixed;
	width:100%;
	height:97%;
	z-index:1;
}
#footer {
 position: fixed;
 bottom: 0;
 width: 100%;
 height: 3%;/*腳部的高度*/
 background-image: linear-gradient(to bottom, #c0c0c0 0%, #e0e0e0 15%);
 clear:both;
 z-index:10;
}
.TxtMapInformation ul {
	font-size:85%;
	padding:8px 15px;
}

/*=======TGOSMAPTool內容部分=======*/
#bt-foot {
 position: fixed;
 bottom: 0;
 width: 100%;
 height: 50px;/*腳部的高度*/
 background-image: linear-gradient(to bottom, #c0c0c0 0%, #e0e0e0 15%);
 clear:both;
 z-index:10;
}
#TGMapTool {
	display: block;
	width:400px!important;
	padding:0;
	margin:0;
}
.Panel-while {
	display:block;
}
.Tool-min-height {
	min-height: 800px;
}
.Panel-while iframe {
	width: 100%;
	padding: 0;
	margin: 0;
	overflow:scroll;
}
/*=======頁籤部分=======*/
.Panel-while .nav-tabs {
	border-bottom: 1px solid #ddd;
	background-image: linear-gradient(to top, #c0c0c0 0%, #e0e0e0 15%);
}
.Panel-while .nav-tabs > li {
	float: left;
	border: 1px solid #eee;
	margin-bottom: -1px;
	background-color: #fff;
}
.Panel-while .nav-tabs > li > input[type=submit] {
	margin-right: 2px;
	line-height: 1.428571429;
	border: 1px solid transparent;
	background-color: transparent;
	padding:5px 10px;
	border-radius: 4px 4px 0 0;
}
.Panel-while .nav-tabs > li > input[type=submit]:hover {
	border-color: #eee #eee #ddd;
	background-color: #eee;
}
/*
.Panel-while .nav-tabs > li.active > input[type="submit"], .Panel-while .nav-tabs > li.active > input[type="submit"]:hover,.Panel-while .nav-tabs > li.active > input[type="submit"]:focus {
	color: #555;
	cursor: default;
	background-color: #fff;
	border: 1px solid #ddd;
	border-bottom-color: transparent;
}*/

/*======= 按鈕區 =======*/
.Bt-chooseArea {
 background-image: linear-gradient(to top, #c0c0c0 0%, #e0e0e0 15%);
}
.Bt-chooseArea input[type=submit]{
	background-color:transparent;
	border-style: none;
	border-width: 0px;
}

.Bt_Icon01 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon01.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon02 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon02.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon03 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon03.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon04 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon04.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon05 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon05.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon06 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon06.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon07 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon07.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon08 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon08.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Icon09 {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Icon09.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_Delete {
	width:40px;
	height:40px;
	background-image: url('../imagesmap/Bt_Delete.png');
	background-repeat: no-repeat;
	background-position: center center;
}
.Bt_close {
	width:15px;
	height:15px;
	background-image: url('../imagesmap/Bt_close.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-color:transparent!important;
}
.center-Area {
	margin:0 auto!important;
	float:none!important;
	text-align:center!important;
}
.center-Area:after,.center-Area:before {
	display:table;
	content:' ';
	height:8px;
}
.h1 {
 background-image: linear-gradient(to top, #c0c0c0 0%, #e0e0e0 15%);
	padding:5px 10px;
}
.h1 b {
	font-family:微軟正黑體;
	font-size:75%;
	font-weight:900;
	color:#ffff00;
	text-shadow: 0 0 5px #000;
	vertical-align:middle;
}
.h1 b,.h1 img {
	display:inline-block;
}
.h1 img {
	border-radius: 3px;
	vertical-align: middle;
	border: 2px #ffffff solid;
}
.form-control {
	padding: 2px 4px!important;
	height:inherit!important;
}
	/* ========================= 表格部份設定 ===================== */
	/* ----------- 表格偽裝成清單-用在查詢選項上 -----------*/
.listTable {
	display:table;
}
.listTable th,.listTable td {
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-color: #e6e6e6;
	border-bottom-color: #e6e6e6;
}
.listTable tr:first-child,
.listTable tr:last-child {
	border-top-style:none!important;
	border-bottom-style: none!important;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-color: inherit!important;
	border-bottom-color: inherit!important;
}
a {
	color:#333333;
	font-weight:900;
}
.h2-default {
	color:#ffffff;
	font-weight:900;
	background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
}
.h2-success {
	color:#ffffff;
	font-weight:900;
	background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
}

	/* ========================= 多項表單成一列設定 ===================== */
.form-group-Inline {
	display:table;	
}
.form-group-Inline {
	display:table;	
}
.navbar {
	min-height:inherit!important;
	margin-bottom: 0px!important;
}
.navbar input {
	display:inline-block;
}
.form-control-50 {
	width:50px!important;
	
}
.form-control-100 {
	width:100px!important;
	
}
.form-control-200 {
	width:200px!important;
	
}
.form-control-300 {
	width:300px!important;
	
}

.table {
	margin-bottom:inherit!important;
}
.table-tdheight th, .table-tdheight td {
	padding:3px 5px!important;
	
}
.table-textcenter th {
	text-align:center;
}
.table-textright th {
	text-align:right;
}
.table-default th {
	background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
}
	/* ========================= 圖層開關按鈕設定 ===================== */
.LayerControl {
	padding-left: 0;
	margin-bottom: 20px;
}
.LayerControl li {
	position: relative;
	display: block;
	padding: 5px 10px;
	margin-bottom: -1px;
	background-color: #fff;
	border: 1px solid #ddd;
	float:left;
	text-align:left;
}
.LayerControl li.A {
	width:50%;
}
.LayerControl li.B {
	width:100%;
}
.LayerControl li span,.LayerControl li div.onoffswitch {
	vertical-align:middle;
	display:inline-block;
}
LayerControl li:first-child {
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}
LayerControl li:last-child {
	margin-bottom: 0;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
.LayerControl li a {
	cursor: pointer;
}
.LayerControl li a b {
	margin-left:-5000px;
}
.LayerTable thead tr {
	background-color: #5bc0de;
	color:#fff;
	text-shadow:0px 0px 2px #000000,0px 0px 2px #000000;
}
.LayerTable tbody th {
	background-color: #ebebeb;
}
.LayerTable td div {
	display:block;
}
.LayerTable td div input ,.LayerTable td div img,.LayerTable td div span.sp {
	display:inline-block;
	margin:0 2px;
	float:left;
}
.LayerTable td div img {
	vertical-align: text-top;
	width:22px;
}
.LayerTable td div span.sp {
	content:" ";
	position:relative;
	display:block;
	left:24px;
	width:22px;
	border: 1px transparent solid;
}
.LayerTable td div input {
	margin-top:6px;
}
		/*==========================  折疊選單用  ===========*/
.tabPadding {
	padding:10px;
}
.tabPadding .panel {
	margin-bottom: 5px;
}
.panel-primary .tabHeading {
	color: #fff;
	background-color:transparent;
	border: 1px transparent;
}

		/*==========================  滑塊開關按鈕用  ===========*/
      .onoffswitch {
        position: relative; width: 60px;
        -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
    }
    span.onoffswitch-checkbox,.onoffswitch input {
        display: block;
    }
    .onoffswitch-label {
        display: block; overflow: hidden; cursor: pointer;
        border: 1px solid #999999; border-radius: 30px;
    }
    .onoffswitch-inner {
        display: block; width: 200%; margin-left: -100%;
        transition: margin 0.3s ease-in 0s;
    }
    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block; float: left; width: 50%; height: 20px; padding: 0; line-height: 20px;
        font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
        box-sizing: border-box;
    }
    .onoffswitch-inner:before {
        content: "ON";
        padding-left: 5px;
        background-color: #34C285; color: #FFFFFF;
    }
    .onoffswitch-inner:after {
        content: "OFF";
        padding-right: 5px;
        background-color: #EEEEEE; color: #999999;
        text-align: right;
    }
    .onoffswitch-switch {
        display: block; width: 16px; margin: 2px;
        background: #FFFFFF;
        position: absolute; top: 0; bottom: 0;
        right: 36px;
        border: 1px solid #999999; border-radius: 30px;
        transition: all 0.3s ease-in 0s; 
    }
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
        margin-left: 0;
    }
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
        right: 0px; 
    }
	/* ========================= 跳出視窗有黑底畫面 ===================== */
#dialog {
	/* 非IE瀏覽用設定，使其長寬都延展至100% */
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: 0px;
	background-color: rgba(0, 0, 0, 0.65);
	z-index: 1;
	text-align: center;
}
* html #dialog {
	position: absolute;
}
/*IE舊瀏覽器用，設定絕對定位*/
#msg {
	/*訊息區塊，背景設為白色，使用絕對定位*/
	position: fixed;
	top: 10%;
	left: 25%;
	width: 400px;
	z-index: 3;
	width:50%;
	border-top: 1em solid rgba(100%,100%,100%,0.6); 
	border-bottom: 1em solid rgba(100%,100%,100%,0.3); 
	border-left: 1em solid rgba(100%,100%,100%,0.5); 
	border-right: 1em solid rgba(100%,100%,100%,0.4); 
}
