﻿@import url("../fonts/font-awesome/css/font-awesome.min.css");

body {
  padding-top: 0px;
  padding-bottom: 30px;
  font-size: 1.6em;
  line-height: 1.6;
}

mark {
	background-color:#FFFF00;
}

#masthead {
	/* min-height:270px; */
	padding-bottom: 30px;
	background-color:#000044;
  	color:#aaaacc;
}

#masthead h1 {
	font-size: 48px;
	line-height: 1.6;
}

#masthead .well {
	margin-top:13%;
	background-color:#111155;
  	border-color:#000033;
}

.icon-bar {
	background-color:#fff;
}

.navbar-bright {
	background-color:#111155;
    color:#fff;
}
  
.navbar-bright a, #masthead a {
  	color:#aaaacc;
}

.navbar-bright li > a:hover {
    background-color:#000033;
}

/* --- Text --- */
.highlight-text					{color:#FF8000; }
.highlight-textbox				{background-color:#d8d3e0;padding:20px;}
.padding-left-tab				{padding-left: 30px;}
.paragraph						{height: 30px;}

/* --- modal --- */
div .modal-fullwidth {
	width:98%; 
}
div .modal-padding {
	padding:30px;
}
/* --- Table --- */
table thead tr {
	background:#aaaacc;
}

/* --- Que --- */
table {
    border-collapse: initial;
    border-spacing: 2px;
}
    table tr th {
        padding: 10px 8px 10px 8px;
        background-color: #8064a2;
        color: #fff;
        font-weight: bold;
        border: none;
    }
    table tr:nth-child(even) td {
        padding: 10px 8px 10px 8px;
        background-color: #d8d3e0;
        color: #333;
        border: none;
    }
    table tr:nth-child(odd) td {
        padding: 10px 8px 10px 8px;
        background-color: #edeaf0;
        color: #333;
        border: none;
    }

table.maths_table {
    border-collapse: initial;
    border-spacing: 0px;
	color:#FFF;
	margin:0 0 0 0;
	width:auto;
}
    table.maths_table tr:nth-child(even) td {
        padding: 0px 0px 0px 0px;
		background-color:transparent;
        color: #000;
        border: none;
    }
    table.maths_table tr:nth-child(odd) td {
        padding: 0px 0px 0px 0px;
		background-color:transparent;
        color: #000;
        border: none;
    }
table.text_middle {
	vertical-align:middle;
}
	table.text_middle tr:nth-child(even) td {
		vertical-align:middle; 
	}
	table.text_middle tr:nth-child(odd) td {
		vertical-align:middle; 
	}
	
input[type="text"] {
    border: 1px solid #999;
    padding: 2px 2px 2px 2px;
    background-color: #fff;
    color: #333;
    font-family: LiHei Pro, 微軟正黑體, MHei, Hei, Verdana, Geneva, sans-serif;
}
    input[type="text"]:disabled {
        background-color: #eee;
    }
    input[type="text"].showAnswer {
        background-color: #6f2c91;
        color: #fff;
    }

/*
 * Overwrite the hidden checkbox & radio set by main_interactive.css
 */
input[type=checkbox] {
	visibility: visible;
}

input[type=radio] {
	visibility: visible;
	cursor: pointer;
}

input[name^=activity]{
	line-height: 1.6;
	margin-left: 6px;
	margin-right: 6px;
}

select {
    border: 1px solid #999;
    padding: 2px 2px 2px 2px;
    background-color: #fff;
    color: #333;
    font-family: LiHei Pro, 微軟正黑體, MHei, Hei, Verdana, Geneva, sans-serif;
}
    select:disabled {
        background-color: #eee;
    }
    select.showAnswer {
        background-color: #6f2c91;
        color: #fff;
    }

span.showAnswer {
    background-color: #6f2c91;
    color: #fff;
}
span.radioItem {
    margin: 0px 0px 0px 10px;
    padding: 5px 5px 5px 5px;
}
span.radioItem label {
        cursor: pointer;
}
span.tipsbox {
    background-color: #d8d3e0;
	padding: 3px 10px 3px 10px;
}
div.tipsbox {
    background-color: #d8d3e0;
	padding: 3px 10px 3px 10px;
	position:relative;
	left:0px;
	top:-40px;
	float:right;
	min-width: 200px;
}
div.tipsboxMC {
    background-color: #d8d3e0;
	padding: 3px 10px 3px 10px;
	position:relative;
	left:30px;
	min-width: 200px;
}
span.tickCross {
    color: red;
}

input[type="submit"], input[type="button"] {
	border: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
	width: 82px;
	height: 33px;
	background-color: #6f2c91;
	color: #fff;
	font-family: LiHei Pro, 微軟正黑體, MHei, Hei, Verdana, Geneva, sans-serif;
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	text-align: center;
	text-decoration: none;
	text-indent: 0;
	display: inline-block;
}
    input[type="submit"]:hover, input[type="button"]:hover {
        background-color: #8064a2;
    }
    input[type="submit"]:active, input[type="button"]:active {
        position: relative;
        top: 1px;
    }
    input[type="submit"]:disabled, input[type="button"]:disabled {
        background-color: #dfdfdf;
        color: #777;
    }
    input[type="submit"]:disabled:active, input[type="button"]:disabled:active {
        position: relative;
        top: 0px;
    }

div[class^="solution-"] {
    padding: 0.8em 1.6em 0.8em 1.6em;
    background-color: #e4d8ec;
}

div.hil-explain {
    padding: 0.8em 1.6em 0.8em 1.6em;
    background-color: #e4d8ec;
}

button.tone-corporate{
  height: 28px;
  background-color: #6f2c91;
  color:white;
  font-size: 16px;
  border: none;
  margin: 5px 5px;

}
button.tone-corporate:hover{
  background-color: #775986;
  color:white;
}
button.tone-corporate:active{
  background-color: #775986;
  color:white;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.5);
}
button.tone-corporate.active{
  background-color: #775986;
  color:white;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.5);
}
button.tone-corporate.disabled{
  background-color: rgba(111, 44, 145, 0.6);
}


button.tone-gray{
  height: 28px;
  background-color: #e6e6e6;
  color:black;
  font-size: 16px;
  border: none;
  margin: 5px 5px;
}
button.tone-gray:hover{
  background-color: #4d4d4d;
  color:white;
}
button.tone-gray:active{
  background-color: #4d4d4d;
  color:white;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.75);
}
button.tone-gray.active{
  background-color: #4d4d4d;
  color:white;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.75);
}
button.tone-gray.disabled{
  background-color: rgba(230, 230, 230, 0.6);
  color:rgba(255, 255, 255, 0.6);
}

/* --- List --- */
ol.parentheses {
	counter-reset: list;
	margin: 0;
}

ol.parentheses > li {
	list-style: none;
	position: relative;
}

ol.parentheses > li:before {
	counter-increment: list;
	content: "(" counter(list, decimal) ") ";
	position: absolute;
	left: -1.4em;
}

/* --- caption --- */
.hil-caption{
/* 	font-size: 15px; 
	font-weight: bold;  */
	text-align: left;
	margin-top: 15px;
}

/* --- FA + Glyphicons Icon --- */
.icon{
  display: inline-block;
  font-family: FontAwesome, 'Glyphicons Halflings';
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0.09em);
}

.icon-close, .icon-tick{
	transform: translate(0, 0);
}

.icon.icon-inter:before{content: "\e068"}
.icon.icon-photo:before{content: "\e060"}
.icon.icon-video:before{content: "\e059"}
.icon.icon-ani:before{content:"\e072"}
.icon.icon-table:before{content:"\e012"}
.icon.icon-close:before{content:"\f00d"}
.icon.icon-close2:before{content:"\e088"}
.icon.icon-tick:before{content:"\f00c"}
.icon.icon-tick2:before{content:"\e089"}
.icon.icon-larrow:before{content:"\e079"}
.icon.icon-rarrow:before{content:"\e080"}
.icon.icon-fullscr:before{content:"\e140"}

.glyphicon.icon-photo:before{content:"\e060"}
.glyphicon.icon-inter:before{content:"\e068"}
.glyphicon.icon-video:before{content:"\e059"}
.glyphicon.icon-ani:before{content:"\e072"}


/* --- old Glyphicons Icon --- */
/*
.icon{
	position:relative;
	top:2px;
	display:inline-block;
	font-family:'Glyphicons Halflings';
	font-style:normal;
	font-weight:400;
	line-height:1;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	padding: 10px 5px 10px 0px;
}
.icon-photo:before{content:"\e060"}
.icon-inter:before{content:"\e068"}
.icon-video:before{content:"\e059"}
.icon-ani:before{content:"\e072"}
.icon-close:before{content:"\e088"}
.icon-tick:before{content:"\e089"}
.icon-close2:before{content:"\e083"}
.icon-tick2:before{content:"\e084"}
.icon-larrow:before{content:"\e079"}
.icon-rarrow:before{content:"\e080"}
.icon-fullscr:before{content:"\e140"}
*/


/* --- MC (RBT table)--- */
table.rbttable {
    border-collapse: initial;
    border-spacing: 2px;
}
table.rbttable tr th {
	padding: 5px 3px 5px 3px;
	background-color: #99CCFF;
	color: #333;
	font-size: 0.9em;
	font-weight: bold;
	border: none;
}
table.rbttable tr td {
	padding: 5px 3px 5px 3px;
	background-color: #FFF;
	color: #333;
	font-size: 0.9em;
	border: none;
}
table.rbttable .rbtbody { background-color:#FF9;}

/* --- Video (Responsive)--- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;	/* 16:9 (For a video with a 4:3 aspect ratio, we set padding-bottom to 75%) */
    padding-top: 30px; 
	height: 0; 
	overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#google_translate_element {
	text-align:right;
}


/* --- worksheet --- */
.hil-worksheet{
	background-color: white;
	background-color: white;
	border-right: 1px solid #D6D6D6;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	position: relative;
	padding: 0px 0px;
}

.hil-worksheet:after{
	content: "";
	background-color: white;
	position: absolute;
	top: 0;
	left: 0;
	height: 2px;
	width: calc(100% - 20px);
}

.hil-worksheet ul.worksheet{
	margin: 0;
	padding: 0;
	list-style: none;
}

.hil-worksheet ul.worksheet > li{
	margin-bottom: 2.4em;
}

.hil-worksheet ul.worksheet > li.btns{
	text-align: right;
	margin-right: 5%;
}

.hil-worksheet > .tab-pane{
	padding: 18px 3% 100px 3%;
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
}

.hil-worksheet > .tab-pane::-webkit-scrollbar
{
	width: 7px;
}

.hil-worksheet > .tab-pane::-webkit-scrollbar-track
{
	background-color: rgba(0,0,0,.04);
/* 	background-image: -webkit-gradient(linear, 0 0, 100% 0,
	                   color-stop(.5, rgba(0,0,0,.03)),
					   color-stop(.5, transparent), 
					   to(transparent)); */
}

.hil-worksheet > .tab-pane::-webkit-scrollbar-thumb
{
	border-radius: 9px;
	background-color: rgba(0,0,0,.23);
/* 	background-image: -webkit-gradient(linear, 0 0, 100% 0,
	                   color-stop(.5, rgba(0,0,0,.25)),
					   color-stop(.5, transparent), 
					   to(transparent)); */
}



/* custom bootstrap layout*/
@media (max-width:767px){
	.row-xs-2{ height: 200px; }	.row-xs-2h{ height: 250px; } .row-xs-3{ height: 300px; } .row-xs-3h{ height: 350px; } .row-xs-4{ height: 400px; } .row-xs-4h{ height: 450px; } .row-xs-5{ height: 500px; } .row-xs-5h{ height: 550px; } .row-xs-6{ height: 600px; } .row-xs-6h{ height: 650px; }
}
@media (min-width: 768px){
	.row-sm-2{ height: 200px; }	.row-sm-2h{ height: 250px; } .row-sm-3{ height: 300px; } .row-sm-3h{ height: 350px; } .row-sm-4{ height: 400px; } .row-sm-4h{ height: 450px; } .row-sm-5{ height: 500px; } .row-sm-5h{ height: 550px; } .row-sm-6{ height: 600px; } .row-sm-6h{ height: 650px; }
}
@media (min-width: 992px){
	.row-md-2{ height: 200px; }	.row-md-2h{ height: 250px; } .row-md-3{ height: 300px; } .row-md-3h{ height: 350px; } .row-md-4{ height: 400px; } .row-md-4h{ height: 450px; } .row-md-5{ height: 500px; } .row-md-5h{ height: 550px; } .row-md-6{ height: 600px; } .row-md-6h{ height: 650px; }
}
@media (min-width: 1200px){
	.row-lg-2{ height: 200px; }	.row-lg-2h{ height: 250px; } .row-lg-3{ height: 300px; } .row-lg-3h{ height: 350px; } .row-lg-4{ height: 400px; } .row-lg-4h{ height: 450px; } .row-lg-5{ height: 500px; } .row-lg-5h{ height: 550px; } .row-lg-6{ height: 600px; } .row-lg-6h{ height: 650px; }
}



/* @screen-sm allows 1px of leeway, which triggers this breakpoint too soon -- affects iPad mini layout */
/* Extra small devices Phones (<768px) */
@media (max-width: 767px) { /* @screen-xs-max */
	p.textboardcontent{
		margin-bottom: 0;
		-moz-column-count:1; /* Firefox */
		-webkit-column-count:1; /* Safari and Chrome */
		column-count:1;
	}
}
/* Small devices Tablets (��768px) */
@media (min-width: 768px) and (max-width: 991px) { /* min-width: @screen-sm-min and max-width: @screen-sm-max */
	p.textboardcontent{
		margin-bottom: 0;
		-moz-column-count:1; /* Firefox */
		-webkit-column-count:1; /* Safari and Chrome */
		column-count:1;
	}
}
/* Medium devices Desktops (��992px) */
@media (min-width: 992px) and (max-width: 1199px) { /* min-width: @screen-md-min and max-width: @screen-md-max */
	p.textboardcontent{
		margin-bottom: 0;
		-moz-column-count:2; /* Firefox */
		-webkit-column-count:2; /* Safari and Chrome */
		column-count:2;
		column-gap: 30px;
		-webkit-column-gap: 45px;
		column-gap: 45px;
	}
}
/* Large devices Desktops (��1200px) */
@media (min-width: 1200px) {	/* @screen-lg-min */
	p.textboardcontent{
		margin-bottom: 0;
		-moz-column-count:2; /* Firefox */
		-webkit-column-count:2; /* Safari and Chrome */
		column-count:2;
		-webkit-column-gap: 45px;
		column-gap: 45px;
	}
}