@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,400,500,700,900|Roboto:400,500,700,900&display=swap');


@charset "utf-8";
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/*end normalize*/

html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}
audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline}
audio:not([controls]){display:none;height:0}[hidden],template{display:none}
a{
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}
a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
dfn{font-style:italic}mark{background:#ff0;color:#000}
small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none}svg:not(:root){overflow:hidden}
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{box-sizing:content-box;height:0;overflow:visible}
button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold}
button,input{overflow:visible}button,select{text-transform:none}
button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}
button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner{border-style:none;padding:0}
button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring{outline:1px dotted ButtonText}
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}
legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}
[type=checkbox],[type=radio]{padding:0}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-input-placeholder{color:inherit;opacity:0.54}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
/* End extract */




:root {
  --main-color:#527787;/*blue*/
  --main-colorDarker:#44626f;
  --main-colorLighter:#87b2bb;
  --color-fire:#CC0000;/*火警*/
  --color-normal:#59B200;/*正常*/
  --color-close:#993399;/*隔離*/
  --color-error:#999999;/*故障*/
  --color-warning:#FF6633;/*預警*/
  --color-monitor:#3370BA;/*監視器*/
}

html, body {
	font-family: 'Roboto', sans-serif;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.7;
	position: relative;
	height: 100%;
	margin: auto;
	background-color:var(--main-color);
	}

@media screen and (max-width: 425px) {
	html, body{
	font-weight: 400;
	}
}



a {
		text-decoration: none;
		transition:all .3s;
}



button, a {
	cursor:pointer;
}


input[type=text],
input[type=tel],
input[type=password],
input[type=number],
input[type=email],
input[type=date],
input[type=file],
select {
	width: 100%;
  padding: 10px;
  margin: 5px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
  outline:none;
}
input[type=text]:focus,
input[type=tel]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=file]:focus,
select:focus {
	width:100%;
	border:solid 1px var(--main-color);
	background: #fff;
	padding: 9px;
}


/* The radio */
.radio {
	display: inline-block;
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding-right: 20px;
}

.radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio .checkmark {
	position: absolute;
	top: 4px;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #eee;
	border-radius: 50%;
}

.radio:hover input ~ .checkmark {
    background-color: #ccc;
}

.radio input:checked ~ .checkmark {
	background-color:var(--main-color);
}

.radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio input:checked ~ .checkmark:after {
    display: block;
}

.radio .checkmark:after {
 	top: 6px;
	left: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}


/*The checkbox*/
.checkbox {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	margin-right:30px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 100%;
	font-size:17px;
}


.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


.checkbox .checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
}

.checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox input:checked ~ .checkmark {
	background-color: var(--main-color);
}

.checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkbox .checkmark:after {
  left: 7px;
  top: 2px;
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*開關*/
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 5px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--main-colorLighter);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



.login {
	display:flex;
	flex-wrap:no-wrap;
	width:920px;
	margin:auto;
	padding:240px 0;
}
.logo,
.login-form {
	width:50%;
	padding:20px 80px;
	color:#fff;
}
.logo {
	text-align:center;
	border-right:solid 1px #fff;
}
.logo img {
	width:80%;
	margin:auto;
	display:block;
}


.login-form input[type=text],
.login-form input[type=password] {
	border:none;
	outline:none;
	padding:6px;
	background-color:transparent;
}
.login-form input[type=text],
.login-form input[type=password] {
	border-bottom:solid 1px #fff;
	color:#fff;
}
.login-form input[type=submit] {
	background-color:#FFFFFF;
	border-radius:8px;
	border:none;
	outline:none;
	width:100%;
	padding:6px;
	margin-top:25px;
	cursor:pointer;
	color:var(--main-color);
    opacity: .9;
	transition:all .3s;
}
.login-form input[type=submit]:hover {
	opacity: 1;
}
.login-form ::placeholder {
  color: #fff;
  opacity: 1; /* Firefox */
}

.login-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #fff;
}

.login-form ::-ms-input-placeholder { /* Microsoft Edge */
 color: #fff;
}

.login-form p {
	margin:5px 0px;
}


header,
main {
	width:1000px;
	margin:auto;
}

.header {
	display:flex;
	justify-content: space-around;
    	align-items: flex-end;
}

.top-logo {
	padding:0;
	width:60%;
}
.top-logo img {
	height:70px;
}
.login-info {
	text-align:right;
	padding:10px 0;
	width:40%;
	color:#fff;
}
.login-info a {
	color:#fff;
	padding-left:20px;
}
.login-info a:hover {
	color:#cce5eb;
}

.main-topic {
	background-color:#87b2bb;
	color:#fff;
	font-size:24px;
	padding:6px 10px;
	text-align:center;
}
.main-topic a {
	float:left;
	color:#fff;
	padding:0 15px;
}

.case-list {
	display: grid;
    grid-gap: 2px;
	grid-template-columns: 499px auto;
	width:100%;
}
.case-box {
	padding:15px 30px;
	background-color:#fff;
	color:#333;
	}

.case-box i,
.case-box h2,
.case-box h2 img {
	display:inline-block;
}
.case-box h2 {
	font-size:24px;
	font-weight:400;
	margin:0 0 6px 0;
	}
.case-box i {
	font-size:18px;
	padding-right:10px;
	color:#666;
}
.case-box i:hover {
	color:var(--main-color);
}
/*在線*/
.case-box i.fa-signal {
	color:#3B8DD9;
	}
	/*離線*/
.case-box i.fa-signal-slash {
	color:#AAAAAA;
	}
.case-box .icon-img {
	width:30px;
	padding-right:10px;
	margin-bottom: -3px;
}

.nav-btn {
	display:block;
	padding:10px 0;
}
.nav-btn a {
	display:inline-block;
	border:solid 1px #9A9A9A;
	border-radius:6px;
	padding:2px 15px;
	color:#6C6C6C;
	margin-right:5px;
}
.nav-btn a:hover {
	border:solid 1px #000;
	color:#000;
	}


.sort,
.control,
.setup {
	background-color:#fff;
	padding:30px 60px;
	display:block;
	width:100%;
}
.sort h2,
.control h2,
.setup h2 {
	color:#686868;
	font-weight:500;
}
.sort h2 a,
.control h2 a,
.setup h2 a {
	font-size:16px;
	font-weight:400;
	line-height:26px;
	display:inline-block;
	padding:2px 25px;
	border-radius:5px;
	border:none;
	background-color:var(--main-colorLighter);
	color:#fff;
	margin-left:30px;
	transition:all .3s
	}
.sort h2 a:hover,
.control h2 a:hover,
.setup h2 a:hover {
	background-color:var(--main-color);
}
	
	
.sort-list {
	display:block;
	padding:30px 0;
}
.sort-list ul {
	list-style:inside none;
	padding:0;
	margin:0;
}
.sort-list lI {
	display:inline-block;
	margin:15px 6px;
}
.sort-list lI a {
	padding:6px 30px;
	display:block;
	border-radius:5px;
	}
.sort-list lI a:hover {
	border-top:solid 1px #fff;
	border-bottom:solid 1px #fff;
	}
.explain {
	display:block;
	border-bottom:solid 1px #ccc;
	padding:10px 15px;
}
.explain span {
	display:inline-block;
	width:15px;
	height:15px;
	border-radius:50%;
	margin-right:8px;
}
.explain ul {
	list-style:inside none;
	padding:0;
	margin:0;
	}
.explain li {
	display:inline-block;
	padding-right:25px;
}


.detail {
	background-color:#fff;
	padding:0px;
	display:block;
	width:100%;
}
.detail .img img {
	width:100%;
	height:auto;
	border-top:solid 1px #ccc;
	border-bottom:solid 1px #ccc;
	display:block;
}
.detail .img span {
}

.detail-top {
	display:flex;
	justify-content: space-between;
	padding:10px 30px;
	color:#737373;
}
.detail-top-left {
	font-size:24px;
	font-weight:500;
}
.detail-top-right {
	text-align:right;
	padding-top:5px;
}
.detail-top-right a {
	color:#333;
}
.detail-top-right a:hover {
	color:var(--main-colorLighter);
}
.detail-top-right i {
	padding-right:10px;
}


.item-bar {
	background-color:#87b2bb;
	color:#fff;
	padding:5px 30px;
	}
.item-bar h3 {
	display:inline-block;
	font-size: 28px;
    padding-right: 40px;
    margin: 0;
	
}
.item-bar form {
	display:inline-block;
}

.table-basic {
	display:table;
	border-collapse:collapse;
	width:100%;
	text-align:center;
	color:#737373;
}
.table-basic th,
.table-basic td {
	padding:10px;
}

.table-basic th {
	background-color:#d7d7d7;
	font-weight:400;
}
.table-basic td {
	padding:10px;
	border-bottom:solid 1px var(--main-color);
	background-color:#fff;
}
.table-basic td span {
	display:inline-block;
	width:15px;
	height:15px;
	border-radius:50%;
}

/*火警*/
.icon-fire,
a.icon-fire,
a.icon-fire:hover,
.table-basic td.icon-fire {
	background-color:var(--color-fire);
	color:#fff;
	border:solid 1px var(--color-fire);
}
/*正常*/
.icon-normal,
a.icon-normal,
a.icon-normal:hover,
.table-basic td.icon-normal {
	background-color:var(--color-normal);
	color:#fff;
	border:solid 1px var(--color-normal);
}
/*隔離*/
.icon-close,
a.icon-close,
a.icon-close:hover,
.table-basic td.icon-close {
	background-color:var(--color-close);
	color:#fff;
	border:solid 1px var(--color-close);
}
/*故障*/
.icon-error,
a.icon-error,
a.icon-error:hover,
.table-basic td.icon-error {
	background-color:var(--color-error);
	color:#fff;
	border:solid 1px var(--color-error);
}
/*預警*/
.icon-warning,
a.icon-warning,
a.icon-warning:hover,
.table-basic td.icon-warning {
	background-color:var(--color-warning);
	color:#fff;
	border:solid 1px var(--color-warning);
}
/*監視器*/
.icon-monitor,
a.icon-monitor,
a.icon-monitor:hover,
.table-basic td.icon-monitor {
	background-color:var(--color-monitor);
	color:#fff;
	border:solid 1px var(--color-monitor);
}
/*無資料*/
.icon-none,
a.icon-none,
a.icon-none:hover,
.table-basic td.icon-none {
	background-color: #e5e5e5;
    color: #A2A2A2;
	border:solid 1px #e5e5e5;
}

.pd-tab-bar {
	margin: 0px;
	padding: 0px;
	position: relative;
	display:grid;
	grid-gap:0 1px;
	grid-template-columns:499px auto;
}

.pd-tab-item {
	position: relative;
	padding: 8px 25px;
	text-align: center;
	background-color: #5b94a0;
	cursor: pointer;
	color: #fff;
	font-weight: 500;
	font-size:24px;
}

.pd-tab-item:hover {
	background-color:#5b94a0;
	color: #FFFFFF;
}
.pd-tab {
	padding-bottom:60px;
	display:block;
	background-color:var(--main-color);
}
.pd-tab .pd {
	margin-top: 0px;
}

.pd-tab .pd img {
	max-width:700px;
}

.tab-select, .tab-select:hover {
	color: #fff;
	background: var(--main-colorLighter);
}



.control-item {
	display: flex;
    justify-content: space-between;
	border-bottom:solid 1px #ccc;
	padding:10px;
}
.control-item .left {
	font-size: 18px;
    color: #666;
}
.control-item .right {
	text-align:right;
}
.control-item .right button {
	background-color:#90bb87;
	border:none;
	color:#fff;
	padding:2px 15px;
	border-radius:8px;
	opacity:.9;
	transition: all .3s;
}
.control-item .right button:hover {
	opacity:1;
}



.setup table {
	display:table;
	border-collapse:collapse;
	color: #666;
	width:100%;
}
.setup th,
.setup td {
	padding:8px 12px;
	border:solid 1px #ccc;
}
.setup th {
	background-color:#ededed;
	font-weight:400;
}
.setup td {
	text-align:center;
}
.setup td a {
	display: inline-block;
	padding:2px 10px;
	margin:0 2px;
	border:solid 1px;
	border-radius:5px;
	transition:all .3s;
	}
.setup td a.edit {
	border-color:var(--main-color);
	color:var(--main-color);
}
.setup td a.edit:hover {
	color:#fff;
	background-color:var(--main-colorLighter);
}
.setup td a.delete {
	border-color:#D45356;
	color:#D45356;
}
.setup td a.delete:hover {
	color:#fff;
	background-color:#E57476;
}


.btn {
	display:block;
	text-align:center;
	padding:20px;
}
.btn input,
.btn button {
	background-color:var(--main-colorLighter);
	color:#fff;
	border:none;
	border-radius:5px;
	cursor:pointer;
	transition:all .3s;
	padding:5px 30px;
}
.btn input:hover,
.btn button:hover {
	background-color:var(--main-color);
}