﻿@charset "utf-8";
/* CSS Document */

body {
  font-family: "微軟正黑體", "Microsoft JhengHei", "Droid Sans Mono", sans-serif;
  font-size: 14px;
  background-color:#FFFFFF;
}

.navbar-default {
	background-color:transparent;
}
.navbar-btn {
	margin-top:8px;
    padding: 0px;
}
.nav>li>a {
    padding: 10px 8px;
}

.tab-content-border {
	margin-top:10px;
	border:#CCC solid 3px;
	padding:7px;
	min-height:359px;
} 
.tab-top {
	margin-top:20px;
}

.left-menu .panel-body {
    padding: 0;
    margin: 0;
}

.left-menu, .left-menu ul, .left-menu li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.left-menu li {
    margin: 0;
    padding: 5px 0 5px 15px;
    border-bottom: 1px dashed #DDDDDD;
}
.left-menu li:nth-last-child(1) {
    border-bottom: none;
}

.big-banners {
    padding-bottom: 5px;
}

/*CMP*/
.cmp-detail .row {
    padding: 5px 0;
    border-bottom-color: #a9a9a9;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}

/*EnterpriceActive*/
.enterprice-active {
    /*max-height: 210px;*/
}
.enterprice-active img {
    width: 100%;
}
.show-act-pic img {
    width: 100%;
}

/*最新消息區*/
.news_list {
	width:100%;
	padding: 0;
	margin: 5px 0;
	list-style:none;
	margin-top:10px;
}
.news_list li {
	border-bottom:#333 dashed 1px;
	height:3em;
	line-height:3em;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
.news_list li .news_date {
	float:right;
	color:#333;
	font-size:0.9em;
}
.news_more {
	float: right;
	margin-top:0.5em;
	color:#2357E9;
	font-size:1.15em;
	font-weight:bold;
}

/* 主題專區 */
.banner_note {
	margin-top:10px;
	font-size:14px;
	font-weight:bold;
	line-height:20px;
}
.theme-box {
	width:220px;
	margin:auto;
}
.theme-box img {
	width:220px;
	height:100px;
	padding-top:3px;
}
.iframe-box {
	margin:auto;
}

/* 影音區 */
ul.playlist {
	margin-top: 0px;
	padding: 0;
	list-style: none;
}
ul.playlist li {
	display:inline;

}
ul.playlist li a img {
	border: 0;
}
.video {
	width: 100%;
}
.video_txt {
	margin-top:10px;
	font-size:20px;
	font-weight:bold;
	color:#4E8BCF;
	text-align:center;
}

.org_list ul {
	list-style:none;
	margin-left:-40px;
	margin-top:20px;
}
.org_list li {
	display:inline;
	margin:0 10px 10px 0;
}

/* thumbnail */
.enterprise {
    height: 400px;
    max-height: 400px;
}
.enterprise img {
    max-width: 200px;
    max-height: 200px;
}
.enterprise .caption h4 {
    height: 43px;
    max-height: 43px;
}
.enterprise .mainPro {
    height: 75px;
    max-height: 75px;
}
.enterprise .ellipsis {
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.enterprise .mainBtn .btn-default {
    background-color: #dcdcdc;
}


/*history*/
.under_history {
	margin:10px 0;
}

/*foot*/
#footer {
	padding:20px 0;
	background-color:#014F66;
	color:#fff;
}
#footer p {
	padding-left:10px;
	font-size:18px;
	font-weight:bold;
	color:#fff;
}
#footer .foot_txt {
	margin-top:20px;
	text-align:center;
	line-height:1.6em;
}
.count {
	margin:15px 0 20px 0;
	text-align:center;
}

.required {
    color:red;
}

/*Tooltip*/
.tooltippic
{
  text-decoration:none;
  position:relative;
}

.tooltippic span
{
  display:none;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  color:black;
  background:white; 
}

.tooltippic span img
{
  float:left;
  margin:0px 8px 8px 0;
    border-color: #a9a9a9;
    border-style: dashed;
    border-width: 1px;
}

.tooltippic:hover span
{
  display:block;
  position:absolute;
  top:0;
  left:0;
  z-index:1000;
  width:auto;
  max-width:320px;
  min-height:128px;
  border:1px solid black;
  margin-top:12px;
  margin-left:32px;
  overflow:hidden;
  padding:8px;
}

/*signbackground*/
.signbackground {
    -moz-background-size: 20%;
    -webkit-background-size: 20%;
    -o-background-size: 20%;
    background-size: 20%;
    background-repeat: no-repeat;
	background-position:right bottom;
	background-image: url("/images/2017_child.png");

}

/*blockDisplay*/
.block-display {
    display: none;
}

/*dragBox*/
.drogBox {
    font-weight: bold;
    cursor: pointer;
    border-radius: 7px;
    border: 2px dashed #555;
    height: 150px;
}
.drogBox:hover {
    border: 2px dashed #888;
    box-shadow: inset 0 3px 4px #888;
}

/*HighLight*/
.mega {
    font-size: 1.8rem;
}
.highlight-text {
    display: block;
    color: #f35626;
    background-image: -webkit-linear-gradient(92deg, #feab3a, #f35626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: hue 60s infinite linear;
}
/*-----------------------------------*\
  $ANIMATIONS
\*-----------------------------------*/
@-webkit-keyframes hue {
  from {
    -webkit-filter: hue-rotate(0deg);
  }

  to {
    -webkit-filter: hue-rotate(-360deg);
  }
}

/*Radio button toggle switch*/
.switch-field {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Droid Sans Mono", sans-serif;
    padding: 5px 0px;
    overflow: hidden;
}

.switch-title {
    margin-bottom: 6px;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    float: left;
    display: inline-block;
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-shadow: none;
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 1px rgba(255, 255, 255, 0.1);
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
    color: rgba(255, 255, 255, 1);
    background-color: #31709c;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

.hiddenStepInfo {
    display: none;
}

.activeStepInfo {
    display: block !important;
}

.underline {
    text-decoration: underline;
}

.ajax-loading {
    position: absolute;
    top: 0;
    left: 20%;
    bottom: 0;
    height: 80%;
    margin: auto;
}

.step {
    margin-top: 27px;
}

.progress {
    position: relative;
    height: 25px;
}

.progress > .progress-type {
    position: absolute;
    left: 0px;
    font-weight: 800;
    padding: 3px 30px 2px 10px;
    color: rgb(255, 255, 255);
    background-color: rgba(25, 25, 25, 0.2);
}

.progress > .progress-completed {
    position: absolute;
    right: 0px;
    font-weight: 800;
    padding: 3px 10px 2px;
}

.step {
    text-align: center;
}

.step .col-md-3, .step .col-md-6  {
    background-color: #fff;
    border: 1px solid #C0C0C0;
    border-right: none;
}

.step .col-md-3:last-child, .step .col-md-6:last-child {
    border: 1px solid #C0C0C0;
}

.step .col-md-3:first-child, .step .col-md-6:first-child {
    border-radius: 5px 0 0 5px;
}

.step .col-md-3:last-child, .step .col-md-6:last-child {
    border-radius: 0 5px 5px 0;
}

/*.step .col-md-3:hover {
    color: #F58723;
    cursor: pointer;
}*/

.step .activestep {
    color: #F58723;
    height: 100px;
    margin-top: -7px;
    padding-top: 7px;
    border-left: 6px solid #5CB85C !important;
    border-right: 6px solid #5CB85C !important;
    border-top: 3px solid #5CB85C !important;
    border-bottom: 3px solid #5CB85C !important;
    vertical-align: central;
}

.step .fa {
    padding-top: 15px;
    font-size: 40px;
}

/* Judge Pic & QrCode */
.judgepic, .qrcodepic {
    margin-bottom: 15px;
}
.judgepic img {
    width: 250px;
}

/* Sidenav */
.group-list-btn {
    border-radius:10px;
    background-color: #da0e0e;
    padding: 5px;
    width: 50px;
    font-size: 16pt;
    cursor: pointer;
    position:fixed; 
    top:50%;
    z-index: 20;
    right:0px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #DBD8D8;
    overflow-x: hidden;
    transition: all 0.5s ease-in 0s;
    padding-top: 30px;
}
.sidenav .close-btn {
    position: absolute;
    cursor: pointer;
    display: block;
    margin: 10px;
    top: 0px;
    font-size: 20px;
    line-height: 22px;
}
.group-block {
    margin: 10px;
    height: 85%;
    min-height: 85%;
    max-height: 85%;
    overflow-y: auto;
}
.item-group {
    padding: 10px;
}

@media only screen and (max-width: 767px) {
	ul.playlist li a {
		margin-right: -3px;
	}
	.navbar-header .navbar-home img {
		display:none;
	}
	.navbar-collapse {
		background-color:#FCFCFC;
	}
	.navbar-padding-top {
		padding-top:0px;
	}
	.navbar-toggle {
		margin-top:18px;
	}
	
	.block {
		height:60px;
	}
	.block2 {
		width:100px;
		height:10px;
	}
	
	/*5大類別*/
	.subject_txt1 {
		font-size:12px;
		font-weight:bold;
		color:#fff;
	}
	.subject_txt1 a{
		display:block;
		color:#fff;
	}
	.subject_txt2 {
		font-size:12px;
		font-weight:bold;
	}
	.subject_txt2 a {
		display:block;
		color:#000;
	}
	
	/*5大類別色塊*/
	.subject_pink a {
		float:left;
		width:20%;
		height:50px;
		background-color:rgba(244,63,79,1);
		text-align:center;
		line-height:50px;
	}
	.subject_pink a:hover {
		display:block;
		background-color:rgba(244,63,79,0.7);
		
	} 

	.subject_green a {
		float:left;
		width:20%;
		height:50px;
		background-color:rgba(112,206,155,1);
		text-align:center;
		line-height:50px;
	}
	.subject_green a:hover {
		display:block;
		background-color:rgba(112,206,155,0.7);
	}

	.subject_yellow a {
		float:left;
		width:20%;
		height:50px;
		background-color:rgba(252,163,17,1);
		text-align:center;
		line-height:50px;
	}
	.subject_yellow a:hover {
		display:block;
		background-color:rgba(252,163,17,0.7);
	}

	.subject_purple a {
		float:left;
		width:20%;
		height:50px;
		background-color:rgba(102,0,140,1);
		text-align:center;
		line-height:50px;
	}
	.subject_purple a:hover {
		display:block;
		background-color:rgba(102,0,140,0.7);
	}
	
	.subject_darkpurple a {
		float:left;
		width:20%;
		height:50px;
		background-color:rgba(68,35,89,1);
		text-align:center;
		line-height:50px;
	}
	.subject_darkpurple a:hover {
		display:block;
		background-color:rgba(68,35,89,0.7);
	}
	
	.subject_blue a {
		float: left;
		width: 20%;
		height: 50px;
		background-color: rgba(0,204,204,1);
		text-align: center;
		line-height: 50px;
	}

	.subject_subject_blue a:hover {
		display: block;
		background-color: rgba(0,204,204,0.7);
	}

    .left-menu-block {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
	ul.playlist li a {
		margin-right: -2px;
	}
	.navbar-header .navbar-logo {
		display:none;
	}
	.navbar-padding-top {
		padding-top:20px;
	}
	
	/*5大類別*/
	.subject_txt1 {
		font-size:28px;
		font-weight:bold;
		letter-spacing:2px;
		color:#fff;
	}
	.subject_txt1 a{
		display:block;
		color:#fff;
	}
	.subject_txt2 {
		font-size:28px;
		font-weight:bold;
		letter-spacing:2px;
	}
	.subject_txt2 a {
		display:block;
		color:#000;
	}
	
	/*5大類別色塊*/
	.subject_pink a {
		float:left;
		width:50%;
		height:147px;
		background-color:rgba(244,63,79,1);
		text-align:center;
		line-height:147px;
	}
	.subject_pink a:hover {
		display:block;
		background-color:rgba(244,63,79,0.7);
	} 

	.subject_green a {
		float:left;
		width:50%;
		height:147px;
		background-color:rgba(112,206,155,1);
		text-align:center;
		line-height:147px;
	}
	.subject_green a:hover {
		display:block;
		background-color:rgba(112,206,155,0.7);
	}

	.subject_yellow a {
		float:left;
		width:50%;
		height:147px;
		background-color:rgba(252,163,17,1);
		text-align:center;
		line-height:147px;
	}
	.subject_yellow a:hover {
		display:block;
		background-color:rgba(252,163,17,0.7);
	}

	.subject_purple a {
		float:left;
		width:50%;
		height:147px;
		background-color:rgba(102,0,140,1);
		text-align:center;
		line-height:147px;
	}
	.subject_purple a:hover {
		display:block;
		background-color:rgba(102,0,140,0.7);
	}
	
	.subject_darkpurple a {
		float:left;
		width:100%;
		height:147px;
		background-color:rgba(68,35,89,1);
		text-align:center;
		line-height:147px;
	}
	.subject_darkpurple a:hover {
		display:block;
		background-color:rgba(68,35,89,0.7);
	}
	
	
	.subject_blue a {
		float: left;
		width: 100%;
		height: 147px;
		background-color: rgba(0,204,204,1);
		text-align: center;
		line-height: 147px;
	}

	.subject_blue a:hover {
		display: block;
		background-color: rgba(0,204,204,0.7);
	}
}