@charset "utf-8";

/*html {

}

body {
	background: white;
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	color: #000;
}*/

/* ~~ Element/tag selectors ~~ */


/* ul, ol, dl { Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. 
	padding: 0;
	margin: 0;
}*/

/*li {
	list-style: none;
}
*/
/*h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	*/ /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	/*padding-right: 15px;
	padding-left: 15px;*/ /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. 
}*/



/*h1, h2, h3, h4, h5, h6 {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}*/

hr {
	border-top: #ccc thin solid;
}

a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */





p{
	text-align: justify;
}

a:link {
	color: #414958;
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}

a:visited {
	color: #4E5869;
	text-decoration: none;
}

a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
	color: #20242c;
}

/*.container {
	height: 100%;
	width: 96%;
	/*max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
	/*min-width: 780px; a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
	/*background: none;*/
	/*margin: 0 auto;*/  /*the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
	/*z-index: 0;
}*/

.bullets {
	list-style: disc;
}

.numbers {
	list-style: decimal;
}

.lalpha {
	list-style: lower-alpha;
}

.ualpha {
	list-style: upper-alpha;
}

.shadow, .hover_shadow:hover, .shadow-list li {
	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
}

.hover_shadow {
	box-shadow: none;
}

.transition {
	-webkit-transition: all 0.75s ease 0s;
	-moz-transition: all 0.75s ease 0s;
	-ms-transition: all 0.75s ease 0s;
	-o-transition: all 0.75s ease 0s;
	transition: all 0.75s ease 0s;
}

.rounded_bottom {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.rounded_top {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.wrapper {
	display: none;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.wrapper td {
	vertical-align: middle;
	text-align: center;
}
/* [class^="icon-"], [class*=" icon-"] {
 background-image: url("../img/glyphicons-halflings.png");
}
 .icon-white, .nav-pills > .active > a > [class^="icon-"], .nav-pills > .active > a > [class*=" icon-"], .nav-list > .active > a > [class^="icon-"], .nav-list > .active > a > [class*=" icon-"], .navbar-inverse .nav > .active > a > [class^="icon-"], .navbar-inverse .nav > .active > a > [class*=" icon-"], .dropdown-menu > li > a:hover > [class^="icon-"], .dropdown-menu > li > a:focus > [class^="icon-"], .dropdown-menu > li > a:hover > [class*=" icon-"], .dropdown-menu > li > a:focus > [class*=" icon-"], .dropdown-menu > .active > a > [class^="icon-"], .dropdown-menu > .active > a > [class*=" icon-"], .dropdown-submenu:hover > a > [class^="icon-"], .dropdown-submenu:focus > a > [class^="icon-"], .dropdown-submenu:hover > a > [class*=" icon-"], .dropdown-submenu:focus > a > [class*=" icon-"] {
 background-image: url("../img/glyphicons-halflings-white.png");
}*/
.icon-white{
	color:white;
}

body {
	/* This background picture comes from subtlepatterns.com  */
	/*Please keep this comment, it is the license requirement to use this image.*/
	/*background: url(../img/mooning.png) repeat;*/
}

ol, ul {
	list-style: none;
}

.navbar .btn-navbar {
	padding: 10px 10px;
	margin-top: 11px;
}

.navbar .brand {
	padding: 5px 5px 5px 10px;
}

.navbar .divider-vertical {
	height: 65px;
}

.breadcrumb-container{
	margin-top: 40px;
}

.breadcrumb{
	background-color: #eee;
}

.breadcrumb-inline{
	display:inline;
}

#brand-text {
	font-weight: bold;
	vertical-align: -4px;
	display: none;
}

#brand-image {
	margin: 0 .5em 0 0;
}

#brand-image img {
	height: 30px;
	padding-right: .3em;
}

#content_frame {
	background: rgba(255,255,255,0.8);
	border-radius: 10px;
	padding-bottom: 40px;
	-webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
}

#course_shortcut_form select {
	margin-left: 2px;
	margin-bottom: 0px;
}

#course_shortcut_form label {
	display: inline;
	font-size: 14px;
	line-height: 20px;
	cursor: default;
	color: #999;
}

.course-info {
/*	background: #99D5FF;*/
	margin: 20px 20px 20px 0px;
	padding: 10px 20px;
	max-height:200px;
	overflow:hidden;
}

.course-info h3{
	color:white;
	padding:0.5em 1em;
	margin:-10px -20px 10px -20px;
}


.course-info.code h3{
	background:rgb(0, 45, 76);
}

.course-info.instructor h3{
	background:rgb(0, 112, 188);
}

.course-info.book h3{
	background:rgb(51, 171, 255);
}

.course-info .caption h4{
	font-family:Verdana, Geneva, sans-serif;
}

.course-info ul, .course-info a img{
	height:0;
	opacity:0;
	
}

.course-info:hover ul, .course-info:hover a img{
	height:auto;
	opacity:1;
	transition:height 0.75s ease;
}

.course-info:hover{
	max-height:900px;
}

/*For the case you don't want the photo to hide*/
/*.course-info a.photo-link {
	display: block;
}*/

.course-info a.photo-link {
	display: none;
}

.course-info:hover a.photo-link{
	display:block;
}

.course-info a.photo-link img{
	width:200px;
}

.course-info ul, .course-info ol{
	margin:10px 0 0 0;
}

.course-info .caption .label{
	margin-right:5px;
}

.grey-text {
	color: #666;
}

.white-text {
	color: white;
}

#header_bg {
/*background-color: white;
	width: 100%;
	padding: 0 10%;
	margin: auto -10%;
	height: 30px;
	font-size: 70%;*/
}

#header_bg h1, #category h2 {
	height: 0;
	text-indent: -9999em;
	margin: 0;
	padding: 0;
}

.jumbotron {
	background: no-repeat center center;
	background-size: cover;
	overflow: hidden;
	padding:0 0 0 60px;
	
	font-size:1.2vw;
}

.jumbotron .titles {
	display: inline-block;
	color: white;
	text-shadow: 3px 3px 5px #000;
	filter: dropshadow(color=#000000, offx=3, offy=3);
	/*position:static;
	top:180px;
	left:0px;*/
	background: rgba(0,112,188,0.6);
	padding: 20px 60px 20px 120px;
	margin: 90px 30px 30px -60px;
	-webkit-border-radius: 0px 10px 10px 0px;
	border-radius: 0px 10px 10px 0px;
}

.jumbotron .titles .breadcrumb {
	background: rgba(245,245,245,0.6);
	display: inline-block;
	margin-bottom: 0px;
	padding-top:5px;
	padding-bottom:5px;
	opacity:0.7;
}

.jumbotron .titles .breadcrumb:hover{
	opacity:1.0;
}

.jumbotron .titles h1{
	font-size:3vw;
}

.breadcrumb > li > .divider {
	color: #fff;
}

.jumbotron .titles p {
	padding-top: 20px;
	font-size: 1.3em;
}

#main-menu {
	position: absolute;
	top: 65px;
	left: -20px;
	padding-bottom: 10px;
}

#main-menu-caret {
	margin-top: 38px;
}

#main_content {
	padding-bottom: 20px;
	line-height: 1.7em;
}

#main_content p,
#main_content table,
#main_content>ul,
#main_content>ol {
	margin-top: 1.5em;
	margin-bottom: 2em;
}

#main_content .nospace {
	margin-bottom: 0;
}

#main_content .nospace1 {
	margin-top: 0;
}

.white-border td {
	border: 1px white solid;
}

.no-left-padding{
	padding-left: 0;
}

/*fix the dropdown menu problem in IE8 */
.navbar-inner, .navbar-inverse.navbar-inner{
	filter:none;
}

#search-bar input {
	width: 120px;
	margin-left: 20px;
}

.sidenav {
	margin: 20px 0 0;
	padding: 0;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;/*  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
          box-shadow: 0 1px 4px rgba(0,0,0,.065);*/
}

/* IE9/10 CSS HACK */
/*@media screen and (min-width:0\0) {  
    .sidenav{
		box-shadow:none;
	}
}*/

.unit_pinyin {
	color:			blue;
	font-size:		12pt;
	font-family:	arial;
	font-weight:	bold;
	visibility:		hidden;
}

.partB_pinyin {
color: blue;
font-size: 12pt;
font-family: arial;
font-weight: bold;
}

.sidebar {
	background: none;
}

.sidebar .sidenav {
	padding-left: 0;
	padding-right: 0;
	margin-left: 30px;
	margin-right: 10px;
	background: none;
}

.sidebar .sidenav > li {
	display: block;
}

.sidenav.affix-top {
	top: 500px;
}

.sidenav.affix {
	position: fixed;
	top: 20px;
}

.sidenav .icon-chevron-right {
	float: right;
	margin-top: 2px;
	margin-right: -6px;
	margin-left: 10px;
	opacity: .2;
}

/*.sidenav > li > ul.list-level-2 {
	display:none;
}
.sidenav > li:hover > ul.list-level-2 {
	display:block;
}*/

/*.sidenav > li.active:hover {
	border-left: rgb(0,112,188) 5px solid;
	margin-left:-5px;
}*/

.sidenav > li.active:hover > ul > li {
	border-left: rgb(0,112,188) 5px solid;
	margin-left:-5px;
}

.sidenav > li > ul.list-level-2 > li > a {
	margin-left: 3em;
	text-decoration: none;/* or we can use: */
	/*padding-left:3em;*/
}

.sidenav > li > a, .sidenav > li > ul.list-level-2 > li > a {
	display: block;
	/*width: 190px \9;*/
	margin: 0 0 -1px;
	padding: 14px 14px;
}

.sidenav > li > ul.list-level-2 > li > a {
}

.sidenav > li > a, .sidenav > li > ul.list-level-2 > li > a {
	border: 1px solid #e5e5e5;
}
 .sidenav > li:first-child > a, {
 -webkit-border-radius: 6px 6px 0 0;
 -moz-border-radius: 6px 6px 0 0;
 border-radius: 6px 6px 0 0;
}

.sidenav > li:last-child > a {
	-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
}

.sidenav > li.active > a, .sidenav > li:hover > a{
	color: white;
	background: rgb(0, 112, 188);
}

.sidenav > li > ul.list-level-2 > li:hover > a, .sidenav > li > ul.list-level-2 > li.active > a {
	background: #99D5FF; /*(shade of blue 0 112 188)*/
}

#to-top {
	display: block;
	background: rgb(0,0,0);
	border-radius: 4px 4px 4px 4px;
	text-align: center;
	position: fixed;
	bottom: 10px;
	right: 30px;
	cursor: pointer;
	color: #ffffff;
	font-size: 16px;
	z-index: 500;
	opacity: 0.4;
}

#to-top a {
	display: block;
	padding: 5px 10px;
}

#to-top:hover {
	opacity: 0.8;
}

.thumbnail.with-caption {
	display: inline-block;
	background: #f5f5f5;
	padding:2px;
}

.thumbnail.with-caption p {
	text-align: center;
	margin: 0;
	padding-top: 0.5em;
}

.thumbnail.with-caption small:before {
	content: '\2014 \00A0';
}

.thumbnail.with-caption small {
	width: 100%;
	text-align: right;
	display: inline-block;
	color: #999;
}

ul.footer_list li {
	float: left;
	padding: 20px 8px;
}

#UST-logo-p, #copyright {
	text-align: center;
	width: 100%;
}

#copyright {
	font-size: 80%;
	line-height: 1em;
}

#UST-logo {
	text-align: center;
	padding: 20px 8px 0px 8px;
}

