/* Globals */
body {
  position: relative;
  padding-top: 3.5rem;
  font-family: "Lato", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #373a3c;
}
footer a {
	color: #f0a400;
}
h1 {
	margin-top: 2rem;
}
h2 {
	margin-top: 1.5rem;
}
h3 {
	margin-top: 1rem;
}
/* Page Name hidden for navbar-nav */
#page_name {
	display: none;
}

/* Lab */
div.lab li {
	padding: 4px 0px 4px 8px;
}

pre.code {
	padding: 6px 12px;
	border-radius: 3px;
	border: 1px solid rgba(200,200,100,0.3); 
	background-color: rgba(255,255,0,0.1);
}

/* Course Schedule */
.schedule .week h6 {
	text-transform: uppercase;
	font-weight: 700;
}
.schedule .week  {
	display: none;
}
@media (max-width: 576px) {
	.schedule .week {
		display: block;
	}
}

.card, .schedule .card-group > .card {
	margin-bottom: 0.75rem;
}
.schedule .card {
	border-color: rgba(0,0,0,0.2);
}
.schedule .card-body {
	padding: 0.5em;
}
.schedule .card h2 {
	float: right;
	font-size: 0.9rem;
	margin: 0 0 0.25rem 0.5rem;
}
.schedule .card h3 {
	display: none;
	float: right;
	font-weight: 700;
	font-size: 0.9em;
	margin: 0 0.5rem 0.25rem 0;
	text-transform: uppercase;
}
.schedule .card h3::after {
	content: ": "; 
}
@media (max-width: 576px) {
  .schedule .card h3 {
    display: block;
  }
}
.schedule .card h4 {
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 0.25rem;
}
.schedule .card h5 {
	font-size: 1.0rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.schedule .card.bg-primary h6 {
	text-transform: uppercase;
	font-weight: 500;
}
.schedule .card h6 {
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: 900;
	margin-bottom: 0.25rem;
}
.schedule .card p {
	font-size: 0.9rem;
	font-weight: 400;
	margin-bottom: 0.25rem;
	line-height: 1.2rem;
}
.schedule .card ul {
	font-size: 0.9rem;
	font-weight: 400;
	margin-bottom: 0.25rem;
	line-height: 1.2rem;
	padding: 0 0 0 20px;
}
.schedule .card li {
	padding: 0px;
}
.schedule .card.jan, .schedule .card.dec {
 background-color: rgba(0,122,255,0.2);
}
.schedule .card.feb, .schedule .card.nov  {
 background-color: rgba(23,162,185,0.2);
}
.schedule .card.mar, .schedule .card.oct {
 background-color: rgba(40,167,69,0.2);
}
.schedule .card.apr, .schedule .card.sep {
 background-color: rgba(255,193,8,0.2);
}
.schedule .card.may, .schedule .card.aug {
 background-color: rgba(220,54,69,0.2);
}
.schedule .card.none {
 background-color: rgba(0,0,0,0.2);
}
.schedule .card.bg-primary {
 color: #fff;
 text-align: center;
}
.schedule .card .btn {
	padding: 0.25rem 0.5rem;
	font-size: 0.9rem;
	border-radius: 0.2rem;
	margin-bottom: 2px;	
}

@media (max-width: 576px) {
  .schedule .day-head {
    display: none;
  }
}

/* Custom */
.main-section {
	font-weight: 300;
	color: #444;
	border-bottom: 1px solid rgba(0,0,0,.2);
	padding-top: 1rem;
	margin-bottom: 1rem;
}

/* Jumbotron */
.jumbotron {
	color: #222;
	background: #ffffff url("../img/bg2.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
	border-radius: 0;
}

/* Navbar */
.navbar-title {
	display: inline;
	font-size: 1.3rem;
}

/* Contact biography */
.contact-name {
 font-size: 1.6rem;	
}
.contact-title {
 font-size: 1.2rem;	
}
.biography {
	text-align: justify;
	font-size: 1rem;
}
.bio-image {
	padding-right: 1rem;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .biography {
        font-size: 0.9rem;
    }
}

/* Schedude my-schedule */
.my-schedule .day {
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}
.my-schedule .hour {
	font-weight: 900;
	text-align: right;
	font-size: 0.9rem;
}
.my-schedule .half {
	font-weight: 400;
	text-align: right;
	font-size: 0.9rem;
	color: #888;
}
.my-schedule .item {
	font-size: 0.9rem;
	line-height: 1.1rem;
	border-radius: 5px;	
	padding: 0.5rem 0;
	text-align: center;
	margin: 0.5rem 5rem;
	color: #666;
}
.my-schedule .item b {
	font-size: 1.0rem;
	color: #373a3c;
}
.my-schedule .item i {
	font-style: normal;
}
.my-schedule .item u {
	text-decoration: none;
	font-weight: 700;
	color: #373a3c;
}
.my-schedule .free, .my-schedule .hour, .my-schedule .half {
	display: none;
}
@media (min-width: 576px) {
	.my-schedule .item {
		font-size: 0.7rem;
		margin: 0;
	}
	.my-schedule .item b {
		font-size: 0.8rem;
	}
	.my-schedule .free, .my-schedule .hour, .my-schedule .half {
		display: block;
	}
}
@media (min-width: 768px) {
	.my-schedule .item {
		font-size: 0.8rem;
	}
	.my-schedule .item b {
		font-size: 0.9rem;
	}
}
@media (min-width: 992px) {
	.my-schedule .item {
		font-size: 0.9rem;
	}
	.my-schedule .item b {
		font-size: 1.1rem;
	}
}
.my-schedule .course-1 {
  background-color: #cdf;
  height: 6rem;
}
.my-schedule .course-2 {
  background-color: #dcf;
  height: 6rem;
}
.my-schedule .course-3 {
  background-color: #ccf;
  height: 12rem;
}
.my-schedule .office {
  background-color: #ffc;
}
.my-schedule .lunch {
  background-color: #ddd;
}
.my-schedule .free-period {
  background-color: #bbb;
}

/* Course color-sort */
#colorsort th {
	background-color: #eee;
	color: #000000;
}
#colorsort th.colorsort-active {
	background-color: #373a3c;
	color: #fff;
}
#colorsort thead th b {
	display: none;
}
#colorsort thead th abbr {
	display: inline;
}
@media (min-width: 768px) {
	#colorsort thead th b {
		display: inline;
	}
	#colorsort thead th abbr {
		display: none;
	}
}


/* Scholarship pub-list */
.pub-list li u {
	display: block;
	text-decoration: none;
}
.pub-list li p {
	margin-left: 0;
}

@media (min-width: 768px) {
	.pub-list li u {
		float: left;
	}
	.pub-list li p {
		margin-left: 5rem;
	}
}

/* Vita */
.vita-updated {
	font-weight: 300;
	font-size: 0.8rem;
}
.vita-name {
	font-weight: 300;
}
.vita-title {
	font-weight: 400;
	font-size: 1.2rem;
	color: #666;
}
.vita-section {
	font-size: 1.1rem;
}
.vita-button {
	float: right;
	font-size: 1.2rem;
}

/* Footer */
footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 5rem;
  color: #888;
  text-align: center;
  background-image: linear-gradient(to top, #373a3c 0%, #121314 100%);
  background-color: #202830;
}
footer a {
	color: #ba6870;
}
footer a:hover {
	color: #d9a0a5;
}
.footer-links {
  padding-left: 0;
  margin-bottom: 20px;
}
.footer-links li {
  display: inline-block;
}
.footer-links li + li {
  margin-left: 15px;
}

/* Carousel */
.carousel h2 {
	font-size: 1.4rem;
}

.carousel, .carousel-item {
  height: 300px;
}
.carousel .carousel-item .carousel-caption {
	bottom: auto;
	top: 30px;
	left: 15%;
	right: auto;
	display: inline;
	padding: 10px 20px;
	background-color: rgba(0,0,0,.3);
	border-radius: 5px;
}
#main-carousel .carousel-item .bottom-caption {
	top: auto;
	bottom: 50px;
}

@media (min-width: 576px) {
	.carousel, .carousel-item {
		height: 400px;
	}
}
@media (min-width: 768px) {
	.carousel, .carousel-item {
		height: 500px;
	}
}
@media (min-width: 992px) {
	.carousel, .carousel-item {
		height: 600px;
	}
}
.carousel .item1 {
	background: #000 url('../img/background1.jpg') no-repeat center center;
}
.carousel .item2 {
	background: #000 url('../img/background2.jpg') no-repeat center center;
}
.carousel .item3 {
	background: #000 url('../img/background3.jpg') no-repeat center center;
}

.navbar-nav .nav-item .nav-link {
	margin: 8px 0 0;
}

@media (min-width: 768px) {
	.navbar-nav .nav-item .nav-link {
		margin: 0 4px;
	}
}



