table {
	font-size: 14pt !important;
}

.btn {
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	background-color: #56BCC8;
	border-color: #5A4C93;
}

.language_btn {
	margin: 0px 5px;
	background-color: #FFD966;
	font-size: 20px;
}

#header {
	vertical-align: top;
	/*height:120px;
	width:1000px;*/
	width: 100%;
	position: relative;
	/*background-color:#655A9C ;*/
	/*background-color: #5A4C93;*/;
}

#header .header_img {
	width: 100%;
}

#header .online_img {
	float:right;
	margin-right: 10%;
	width: 27%;
	min-width:200px;
	margin-top:-80px;
}

#header .menu_btn {
	position: absolute;
	right: 20px;
	top: 15px;
}

#header .menu_btn img {
	width: 90px;
}

.catalog_menu {
	padding-left: 5%;
	margin-top: 50px;
	width: 95%;
	z-index:9;
}

.back_btn {
	position: absolute;
	right: 2%;
	width: 25%;
}

.back_btn img {
	width: 100%;
}

.back_btn a {
	display: inline-block;
	text-decoration: none;
}

.back_img{
	background: linear-gradient(	to right, #08503a 0%, #387145 40%, #388145 60%, #08583a 100%);
	color: #e8d084;
	font-weight: bold;
	font-size: 24px;
	padding: 10px 25px;
	height: 100%;
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	margin-bottom: 10px;
	margin-left: 5px;
}

.header {
	position: absolute;
	width: 100%;
	height: 0px;
	top: 0;
	left: 8px;
	z-index: -1;
	/*background-color: #5A4C93;*/;
}

#language_div {
	position: absolute;
	right: 0;
	top: 0;
}

#title_div {
	padding-top: 10px;
	display: inline-block;
	/*width:600px;*/
	color: #FFD966;
	font-weight: bold;
}

.label_title {
	font-size: 22px;
}

.subtitle {
	color: #FFFFFF;
}

body {
	/*background-color: #f3f0f7;*/
	margin-top: 0px;
	font-family: Calibri, Microsoft JhengHei UI;
	margin: 0px !important;
}

#catalog_title {
	font-size: 18pt;
	font-weight: bold;
	color: #655A9C;
	text-shadow: 1px 1px #999;
}

.logo_img {
	width: 50px;
}

.logo_wrapper {
	width: 321px;
	height: 75px;
	float: right;
	margin-top: 46px;
	text-align: center;
	position: relative;
	background-color: #f3f0f7;
}

.logo_div {
	display: inline-block;
	font-size: 12px;
	text-align: left;
	vertical-align: middle;
	margin-left: 5px;
	margin-top: 6px;
}

#top_left_triangle_bp {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 95px 30px 0 0;
	border-color: #56BCC8 #655A9C transparent transparent;
	float: left;
}

#top_left_triangle_pb {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 95px 30px 0 0;
	border-color: #655A9C #56BCC8 transparent transparent;
	float: left;
}

#top_left_triangle_p {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 95px 30px 0 0;
	border-color: #655A9C transparent transparent transparent;
	float: left;
}

.submenu {
	width: 200px;
	display: inline-block;
	font-size: 12px;
	vertical-align: top;
	margin-top: 10px;
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-o-transition: 0.5s ease;
}
.main {display:table;width:100%;margin-top:30px;}

.main_wrapper, .sidebar_wrapper {
	display: table-cell;
	vertical-align: top;
}

.main_wrapper {
	width: 70%;
}

.sidebar_wrapper {
	width: 29%;
	text-align:center;
	position:relative;
}
.sidebar_wrapper div {
	display:block;
}

.video_wrapper {
	position:relative;
	margin-left:10%;
}

#submenu nav {
	text-align:left;
}
#submenu {
	position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    z-index:1;
}


#video {
	border: 1px solid black;
}

#button_wrapper {
	margin-top: 10px;
	position: absolute;
	width:100%;
}


#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	color: #5A4C93;
	z-index:9;
	width:100%;
	/*margin-left:2px;*/
	margin-right:2px;
}

#nav .submenu_label {
	display: inline-block;
	width: 80px;
}

#nav a {
	display: inline-block;
	text-decoration: none;
	color: #dac77f;
	/*width: 10em;*/;
}

#nav li {
	width:100%;
}
#nav li:hover ul {display:block;}
#nav li ul {
	background: #08583a;
	color: #dac77f;
	position:absolute;
	display:none;
	border-radius: 10px;
	padding: 10px 0px;
	width: auto;
	min-width:350px;
	right:5%;
}

#nav li ul li {
	padding-left: 20px;
	padding-top: 3px;
	padding-bottom: 3px;
	white-space: nowrap;
	width: calc(100% - 20px);
}

#nav li ul li:not(.parent):hover {
	background: #dac77f;
}
#nav li ul li:not(.parent):hover a{
	color: #08583a !important;
}

#nav li:hover ul {
	left: auto;
}

.replay_wrapper {
	position: absolute;
  	left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.replay_wrapper a {
	margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.replay_wrapper img {
	margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.exit_wrapper {
	position:absolute;bottom:0;left:0;right:0;margin:auto;
}
#image_container{
	
	border: 1px solid #D7D3E5;
	box-shadow: 2px 2px 2px 2px #999;
}
#image_wrapper {
	position: absolute;
	/*border:1px solid #5A4C93;*/
	width:100%;
	top:0;
	left:0;
}

.desc_text {
	color: #5A4C93;
	font-weight: bold;
	/*font-size:18px;*/;
}

#video_description_cell {
	vertical-align: top;
}

#video_description {
	padding-top: 10px;
	max-width: 200px;
}

.chapter_div {
	width: 60%;
}

.chapter_link {
	text-decoration: none;
	color: #000000;
	position: relative;
	display: table;
	width:100%;
}

.chapter_link img {
	width: 100%;
	float:right;
}

.chapter_link div {
	display: inline-block;
	position:relative;
	width:100%;
}
.chapter_link:hover img {
	opacity: 0.8;
	/*background: url('../img/catalog_btn_hover.gif') no-repeat;*/;
}
.chapter_link.submenu_child{
	display:none;
}
.chapter_link.submenu_child img {
	 width:90% !important;float:right;
}
.chapter_link.submenu_child.parent7 img{
	width:80% !important;
}
.chapter_link div.sign {
		position:absolute;
		left: 100%;
    font-size: 4vw;
    top: 0;
    bottom: 0;
    margin: auto;
    width:auto;
}
.chapter_link div.sign.negative {
	display:none;
}
.chapter_link div:hover strong {
	color: #170077;
}

.chapter_link div strong {
	position: absolute;
  left: 3vw;
  top: 0;
  bottom: 1vw;
  font-size: 2vw;
  text-shadow: 1px 1px rgb(70 70 70);
  
  white-space: nowrap;
  margin: auto;
  display: table;
}
.chapter_link.submenu_child div strong {
	 left: calc(10% + 3vw);
}
.chapter_link.submenu_child.parent7 div strong{
	 left: calc(20% + 3vw);
}

.sub_link {
	text-decoration: none;
}

.text_18 {
	/*font-size:18px;*/;
}

.text_18 td {
	/*padding: 5px 0px;*/;
}

.exit_btn_div {
}

.exit_btn_div a {
	text-decoration: none;
}

.exit_btn_div div {
	/*background: url('../img/left_btn.gif') no-repeat;
	height:30px;
	width:170px;*/
	padding: 23px 0px 0px 100px;
	color: #5A4C93;
}

.default_font {
	color: #655A9C;
}

.main_menu {
	display: none;
}


/* mobile */

/* Style the navigation menu */
.topnav {
	overflow: hidden;
	background-color: #08583a;
	position: absolute;
	width: 40%;
	right: 0;
	top: 0;
	z-index: 1;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
	display: none;
}

#myLinks a div {
	padding-left: 20px;
	text-shadow: 3px 3px #444;
}

/* Style navigation menu links */
.topnav a {
	color: #e8d084;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
	display: block;
}

/* Style the hamburger menu */
.mobilenav {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.mobilenav a.icon {
	background: #08583a;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
}

.mobilenav a {
	color: white;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
	opacity: 0.8;
	/*
	opacity: 0.5;
	color: black;
	*/
	color: white;
}

/* Style the active link (or home/logo) */
.active {
	background-color: #04AA6D;
	color: white;
}

.mobile {
	display: none;
}


.progress_bar_bg, .progress_bar
{
	width:270px;
	height:12px;
	-webkit-border-radius: 15px 15px 15px 15px;
	-moz-border-radius: 15px 15px 15px 15px;
	border-radius: 15px 15px 15px 15px;
	cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
}

.progress_bar_bg
{
	background:linear-gradient(#AAA, #DDD);
	border:1px solid black;
	text-align:left;
	display: inline-block;
}

.progress_bar
{
	background-color: #08583a;
	height:12px;
	display:inline-block;
	position:absolute;
}
.progress_bar_wrapper
{
	position:absolute;
	left:0;
	right: 0;
	margin-left:auto;
	margin-right:auto;
	width:400px;
	text-align:center;
	margin-top:10px;
}
.loading_img
{	
    z-index: -1;
}
@media screen and (min-width: 768px) {
	.mobile {display:none !important;
	}
}
@media screen and (max-width:767px) {
	#header .online_img {
		margin-right:2%;
		margin-top:0px !important;
	}
	.main_wrapper {
		width: 100% !important;
	}
	.chapter_div {
		width:100%;
	}

	.exit_btn_div {
		font-size: 10px !important;
	}

	.catalog_menu {
		padding-left: 0px;
		margin-top: 25px;
		width: 100%;
	}

	.desktop {
		display: none !important;
	}

	.mobile {
		display: block;
	}

	#header .header_img {
		width: 200%;
	}


	#header {
		overflow-x: hidden;
	}

	.main {
		display:flex;
		flex-direction: column-reverse;
	}

	/*.replay_wrapper {
		position: initial;
	  margin-top: initial;
	  margin-bottom: initial;
	  left: 0;
	  right: 0;
	}*/

	.replay_wrapper a {
		margin: auto;
		position: relative;
		left: 0;
		right: 0;
		bottom: 0;
		top: 0;
	}

	.replay_wrapper img {
		margin: auto;
		position: relative;
		left: 0;
		right: 0;
		bottom: 0;
		top: 0;
	}
	
	.video_wrapper {
		margin-left:0;
	}

	.sidebar_wrapper {
    width: 100%;
	margin-bottom: 5px;
  }
  #submenu {float:left;position:initial;}
  .replay_wrapper {float:right;}
  #nav li ul {width:95%; min-width: initial;right:initial;}
  #nav li ul li {
  	white-space:pre-wrap;
  }

  .chapter_link img { width:100%; }
  .chapter_link div { width:95%; }
  .chapter_link div strong {font-size:3vw;left:4vw;}
  .chapter_link div.sign {
  	left:95%;width:auto;font-size:6vw;
  }
  .replay_wrapper {position:initial;}
	.replay_wrapper img {
		margin: auto;
	    position: initial;
	}
	.progress_bar_wrapper {margin-top:60px;}
}

@media screen and (max-width:1000px) {
	#header .menu_btn {
		right: 15px;
		top: 10px;
	}
	#header .online_img {
		
		margin-top:-40px;
	}

	#header .menu_btn img {
		width: 80px;
	}

	.main_wrapper {
		width: calc(100% - 150px);
	}

	.back_btn {
		position: relative;
		display: block;
		right: initial;
	}
  	.video_wrapper {margin-left:1%;}
}