/***************************************
 * Sticky Footer Styles
 ****************************************/
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto -80px;
  /* Pad bottom by footer height */
  padding: 0 0 80px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 80px;
  background-color: #f5f5f5;
}


/****************************************
 * Custom page CSS 
 ****************************************/

blockquote {
	font-size: 100%; /* override bootstrap, which increases font size */
}

.inset {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    padding: 12px;
    font-size: 95%;
    display: table;
    margin: 25px;
}

.toc {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    padding: 12px;
    font-size: 95%;
    display: table;
}

.barredheader {
    margin: 25px 0 20px 0;
    padding: 8px 12px;
    background: #d9d9ce;
}

body > .container {
  padding: 20px 10px 0;
}
.container .text-muted {
  margin: 20px 0;
}

.footer > .container {
  padding-right: 0px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

.go-top {
	position: fixed;
	bottom: 1em;
	right: 1em;
    color: black;
    padding: 0.5em;
	display: none;
}

.go-top:hover {
    opacity: 0.6;
    transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}

span.glyphicon-circle-arrow-up {
    font-size: 35px;
}

ul.no-bullet {
	list-style-type: none;
}

a {
	text-decoration: none;
	opacity: 1;
/*
	transition: opacity .25s ease-in-out;
   	-moz-transition: opacity .25s ease-in-out;
   	-webkit-transition: opacity .25s ease-in-out;
*/
}

a:hover {
	text-decoration: none;
/*	opacity: 0.75;*/
}

.glyphicon {
    font-size: 25px;
}

body { 
    overflow-x: hidden;
}

#brand {
    margin-top: -13px;
}

/*!
 * Start Bootstrap - Scrolling Nav HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
}

.page-header {
    border-bottom: none;
}

#logo {
    float: left;
}

@media(min-width:992px) {
     #logo {
        float: right;
    }
}

@media(max-width:414px){
    #logo {
        width: 90px;
        height: 90px;
    }
}

@media(min-width:769px) {
    .page-header {
        padding-top: 80px;
    }
    
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
    }
}

/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.page-section {
    height: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: left;
    background: #fff;
}

.sched-section {
    height: 100%;
    padding-top: 60px;
    padding-bottom: 50px;
    text-align: left;
    background: #fff;
}

.rsrc-section {
    height: 100%;
    padding-top: 80px;
    padding-bottom: 100px;
    text-align: left;
    background: #fff;
}

.psets-section {
    height: 100%;
    padding-top: 80px;
    padding-bottom: 200px;
    text-align: left;
    background: #fff;
}

h2.pad-below {
	padding-bottom: 25px;
}

/****************************************
 * Tables
 ****************************************/

table { 
    table-layout: fixed;
    word-wrap: break-word;
}

table.requirements {
    border-collapse: separate;
    border-spacing: 20px 10px;
}

/****************************************
 * Schedule Styling taken from 2110.css
 ****************************************/

table.sched {
  width: 100%;
  border-collapse: collapse;
  }
table.sched th {
  padding: .5ex .5em;
  margin: 0;
  font-weight: bold;
  text-align: left;
  }
table.sched td {
  padding: .3ex .5em;
  margin: 0;
  vertical-align: middle;
  border-style: none;
}
table.sched tr { padding: 0; 
  margin: 0; 
  border:solid; 
  border-width: 1px 0px;
  border-color: #CCC
}

table.sched tr.header {
  color: white;
  background-color: #888;
  border-top: 6px solid white;
}

tr.topic {
	text-align: center;
	font-weight: bold;
	color: white;
	background: #b31b1b;
}

tr.holiday {
	text-align: left;
	color: #888888;
}

.date {
    float: left;
    margin-right: 5px;
}

tr.event {
	text-align: left;
	background: #d7d6d1;
}

td.date  {
    width: 2.6cm;
    text-align: left;
}

td.links {
    width: 3.0cm;
    text-align: left;
}

td.lectnum {
	width: 3.0cm;
	text-align: left;
}

tr.lecture {
	background-color: #FFFFFF;
}

tr.recitation {
	background-color: #fafaf7;
}

tr.recitation_unnumbered {
	background-color: #fafaf7;
}

tr.exam {
	text-align: left;
	background: #ffc000;
}

.pad-top {
	padding-top: 25px;
}