/*
Theme Name: Bootstrap Basic
Theme URI: http://rundiz.com
Author: Vee Winch
Author URI: 
Description: Bootstrap v.3 basic theme for developers to build their new theme very fast and easy. You can support theme author by <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9HQE4GVV4KTZE" target="donate">donate</a>. To follow what was changed, please look for <a href="https://github.com/Rundiz/bootstrap-basic" target="commits">commits</a> of this theme at Github.
Version: 1.0.13
License: MIT
License URI: http://opensource.org/licenses/MIT
Text Domain: bootstrap-basic
Domain Path: /languages/
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, front-page-post-form, post-formats, threaded-comments, translation-ready

This theme built with Twitter Bootstrap v.3. It is basic theme with basic style for build new theme with Bootstrap.

*/


/*
Required WordPress CSS
*/

@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);

* {
  font-family: 'Noto Sans TC', sans-serif;
}

/* Custom Global css*/
html, body {
    /* 設定body高度為100% 拉到視窗可視的大小 */
    height: 100%;
    font-family: 'Noto Sans TC', sans-serif;

}

.clearfix {
  overflow: auto;
  zoom: 1;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.bypostauthor {
}


/* WordPress gallery */
.gallery-caption {
}
.gallery {
	margin-bottom: 1.6em;
}
.gallery-item {
	display: inline-block;
	padding: 1.79104477%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-icon img {
	margin: 0 auto;
}
.gallery-caption {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: block;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


.sticky {
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Custom Global css*/
html, body {
    /* 設定body高度為100% 拉到視窗可視的大小 */
    height: 100%;
}

.nav-pills > li > a {
  padding: 21px;
  font-size: 15px;
  text-align: center;
  background: #F9BE61;
  color : white;
}

.nav-pills > li.active a {
  background: #EFC900;
  color : black;
}

.nav-pills > li.active a:hover {
  background: #EFC900;
  color : black;
}

.nav-pills > li.active a:focus {
  background: #EFC900;
  color : black;
}

#wrapper {
    /* 設定高度最小為100%, 如果內容區塊很多, 可以長大 */
    min-height: 100%;
    /* 位置設為relative, 作為footer區塊位置的參考 */
    position: relative;
}

#header_container {
    /* 設定header的高度 */
    height: 280px;
    box-sizing: border-box;
}

#content {
    /* 留出header及footer區塊的空間 */
    /* padding-top: 280px; */
    padding-bottom: 265px;
}

.site-footer {
    /* 設定footer的高度 */
    height: 265px;
    box-sizing: border-box;
    /* 設定footer絕對位置在底部 */
    position: absolute;
    bottom: 0;
    /* 展開footer寬度 */
    width: 100%;
}

/* Custom grid view css  */

.bg{ /*background-color: #dfdfdf; */}
.rwrapper{padding: 5px;}

.rwrapper-news{padding: 10px;}

.rlisting{background-color: #efefef;overflow: hidden;border-radius: 10px}
.rlisting img{width: 100%}
.nopad{padding:0;}
.rfooter{background: #f1f3f5;border-top: 1px #ebebeb solid;width: 100%;padding:10px 15px}
.rlisting h5,.rlisting p{padding:0 15px;}



.readmore {
    background: #EFC900;
    border: 0px;
    color: white;
    font-size: 14px;
    text-shadow: none;
    font-weight: 400;
}

/*  Custom contact us css */

.contact_container > h3{
  font-weight: 400;
}

.contact_container > .title{
    border-left: 10px solid #8a8a8a;
    color : #F0C800;
    padding-left: 10px;
}

.contact_container > .content{
    padding-left: 20px;
    color : #8c8c8c;
}

/* Course Details css*/

.content_container {
  border-left: 3px solid #8a8a8a;
}

.content_container > h3{
  font-weight: 400;
}

.content_container > .title{
    color : #F0C800;
    padding-left: 12px;
}

.content_container > .content{
    padding-left: 20px;
    color : #8c8c8c;
}

.introduction{
  /* background-color: #F0C800; */
  color: white;
  padding: 18px;
  font-size: 15px;
}

/* Custom Index.php css*/

#course:after {
    content: "\f19c";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 180px;
    color: lightblue;
    top: 50%;
    left: 50%;
    margin: -129px 0 0 -90px;
    z-index: 1;
}

#table:after {
    content: "\f0ce";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 220px;
    color: lightblue;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -100px;
    z-index: 1;
}

#tutor:after {
    content: "\f19d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 200px;
    color: lightblue;
    top: 50%;
    left: 50%;
    margin: -140px 0 0 -125px;
    z-index: 1;
}

#report:after {
    content: "\f0f6";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 220px;
    color: lightblue;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -100px;
    z-index: 1;
}

.icon {
  z-index: 2;
  position: absolute;
  top: 15px;
  bottom: 0;
  left: 15px;
  right: 0;
  text-align:center;
  padding-top:calc(50% - 30px);
  font-size: 50px;
}

/* Tabs panel */
.tabbable-panel {
  /* border:1px solid #eee; */ 
  padding: 10px;
  background-color: #F0C800;
  padding:10px;
}

.tabbable-panel-important-x {
  /* border:1px solid #eee; */ 
  padding: 10px;
  padding:10px;
}

/* Default mode */
.tabbable-line > .nav-tabs {
  border: none;
  margin: 0px;
  text-align:center;
  font-weight: 300;
}
.tabbable-line > .nav-tabs > li {
  margin-right: 2px;
  float:none;
  display:inline-block;
  *display:inline; /* ie7 fix */
  zoom:1; /* hasLayout ie7 trigger */
}
.tabbable-line > .nav-tabs > li > a {
  border: 0;
  margin-right: 0;
  color: #FFF;
  font-size: 20px;
  padding: 15px 15px 0px 15px;
}
.tabbable-line > .nav-tabs > li > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
  border-bottom: 4px solid #f8eaa3;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #FFF;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
  border-bottom: 4px solid #8B898B;
  position: relative;
}
.tabbable-line > .nav-tabs > li.active > a {
  border: 0;
  color: #FFF;
  background-color: #f0c831 !important;
}
.tabbable-line > .nav-tabs > li.active > a > i {
  color: #404040;
}

.tabbable-line >.nav-tabs > li.active > a:hover {
  border: none !important;
}

.tabbable-line > .tab-content {
  margin-top: -3px;
  background: #f0c831 !important;
  border: 0;
  /* border-top: 1px solid #eee; */
  padding: 15px 0;
}
.portlet .tabbable-line > .tab-content {
  padding-bottom: 0;
  background: #f0c831 !important;
}

/* Below tabs mode */

.tabbable-line.tabs-below > .nav-tabs > li {
  border-top: 4px solid transparent;
}
.tabbable-line.tabs-below > .nav-tabs > li > a {
  margin-top: 0;
}
.tabbable-line.tabs-below > .nav-tabs > li:hover {
  border-bottom: 0;
  border-top: 4px solid #fff09d;
}
.tabbable-line.tabs-below > .nav-tabs > li.active {
  margin-bottom: -2px;
  border-bottom: 0;
  border-top: 4px solid #f3565d;
}
.tabbable-line.tabs-below > .tab-content {
  margin-top: -10px;
  border-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}


/***************  重要資料 css   ****************/
/* Tabs panel */
.tabbable-panel-important {
  padding: 10px;
  margin-bottom: 30px;
}

.tabbable-panel-important-x {
  padding: 10px;
  padding:10px;
}

/* Default mode */
.tabbable-line-important > .nav-tabs {
  border: none;
  margin: 0px;
  text-align:center;
  font-weight: 300;
}
.tabbable-line-important > .nav-tabs > li {
  margin-right: 2px;
  float:none;
  display:inline-block;
  *display:inline; /* ie7 fix */
  zoom:1; /* hasLayout ie7 trigger */
}
.tabbable-line-important > .nav-tabs > li > a {
  border: 0;
  margin-right: 0;
  color: #888;
  font-size: 20px;
  padding: 15px 15px 0px 15px;
}
.tabbable-line-important > .nav-tabs > li > a > i {
  color: #FEFEFE;
}
.tabbable-line-important > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
  border-bottom: 4px solid #f8eaa3;
}
.tabbable-line-important > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #888;
}
.tabbable-line-important > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line-important > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line-important > .nav-tabs > li.active {
  border-bottom: 4px solid #F0C800;
  position: relative;
}
.tabbable-line-important > .nav-tabs > li.active > a {
  border: 0;
  color: #888888;
}
.tabbable-line-important > .nav-tabs > li.active > a > i {
  color: #404040;
}

.tabbable-line-important >.nav-tabs > li.active > a:hover {
  border: none !important;
}

.tabbable-line-important > .tab-content {
  margin-top: -3px;
  background: #f0c831 !important;
  border: 0;
  /* border-top: 1px solid #eee; */
  padding: 15px 0;
}
.portlet .tabbable-line-important > .tab-content {
  padding-bottom: 0;
  background: #f0c831 !important;
}

/* Below tabs mode */

.tabbable-line-important.tabs-below > .nav-tabs > li {
  border-top: 4px solid transparent;
}
.tabbable-line-important.tabs-below > .nav-tabs > li > a {
  margin-top: 0;
}
.tabbable-line-important.tabs-below > .nav-tabs > li:hover {
  border-bottom: 0;
  border-top: 4px solid #fff09d;
}
.tabbable-line-important.tabs-below > .nav-tabs > li.active {
  margin-bottom: -2px;
  border-bottom: 0;
  border-top: 4px solid #f3565d;
}
.tabbable-line-important.tabs-below > .tab-content {
  margin-top: -10px;
  border-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/*  Custom Important : Download  css */

.file_container {
  background: #EFC900;
  padding: 8px;
  font-size: 17px;
  color: white;
  font-weight: 300;
}


/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    /* left: 0; */
    right: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

@media only screen and (max-width: 800px) {
  
  /* Force table to not be like tables anymore */
  #no-more-tables table, 
  #no-more-tables thead, 
  #no-more-tables tbody, 
  #no-more-tables th, 
  #no-more-tables td, 
  #no-more-tables tr { 
    display: block; 
  }
 
  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  #no-more-tables tr { border: 1px solid #ccc; }
 
  #no-more-tables td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 50%; 
    white-space: normal;
    text-align:left;
  }
 
  #no-more-tables td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%; 
    padding-right: 10px; 
    white-space: nowrap;
    text-align:left;
    font-weight: bold;
  }
 
  /*
  Label the data
  */
  #no-more-tables td:before { content: attr(data-title); }
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
