/** Main Styles */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

html {
    position: relative;
    min-height: 100%;
}

body {
    color: #333;
    font-family: /*'Whitney',*/ 'Roboto', sans-serif;
    font-size: 15px;

    position: relative;
    height: 100%;
    padding-bottom: 120px;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -webkit-font-smoothing: antialiased;
}

.small-caps {
    font-variant: small-caps;
}

.container {
    width: 100%;
    max-width: 960px !important;
    padding: 10px 30px;
    margin: 0 auto;

}

.highlight-card {
    min-height: 200px;
    margin-top: -200px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

nav .container, footer .container {
    padding: 0 30px;

}

h1, h2, h3, h4, h5, h6 {
    color: #547171;
    font-family: 'Arial', sans-serif;
}

h3 {
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 15px;
}

h3.small-caps {
    font-size: 1.5em;
    text-transform: lowercase;
    font-weight: 500;
}

a, a:hover, a:active, a:focus {
    color: #16A085;
}

.text-muted {
    opacity: 0.6;
    font-size: 0.9em;
}

.footnote {
    margin-top: 30px;
}

/** Nav */

.navbar {
    background-color: #f5f5f5;
    border-radius: 0;
    border: 0;

    box-shadow: rgba(63, 69, 180, 0.17255) 0px 0px 12px 0px;
    margin-bottom: 0;
}

.nav > li > a {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 11px;
}

.navbar-default .navbar-nav > .active > a {
    background-color: transparent !important;
    border-bottom: 4px solid #547171;
}

/* Center the navigation */
@media (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }

    .status, .online .pulse-ring {
        display: inline-block;
    }
}

/** Jumbotron */

.jumbotron {
    background-color: #547171;
    background-size: cover;
    color: #FFFFFF;
    padding-bottom: 200px;
    margin-bottom: 0;
    overflow: hidden;
    font-family: /*'Hoefler Text',*/ "Helvetica Neue", Helvetica, Arial, sans-serif;
    /*font-style: italic;*/
}

.jumbotron .container {
    background-repeat: no-repeat;
    background-position: 90% 100%;
    /*background-size: auto 260px;*/
}

.jumbotron.staff {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/cream-cheese.png');
    background-size: cover;
}

.jumbotron.mission {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/sandwich-spread.png');
    background-size: cover;
}

.jumbotron.lectures {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/bagel-tower.png');
    background-size: cover;
}

.jumbotron.assignments {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/bagel-recipe.jpg');
    background-size: cover;
}

.jumbotron.home {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/default-bagel.jpg');
    background-size: cover;
}

.jumbotron h1 {
    /*font-family: Whitney;*/
    font-size: 4em;
    text-shadow: 2px 2px #f061a0;
    text-shadow: 4px 4px black; 
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;

    color: #FFFFFF;

    margin-bottom: 15px;
    font-weight: 900;
}

.jumbotron.home h1 {
    /*text-transform: lowercase;*/

    font-size: 6em;
    line-height: 0.8em;

    margin: 0;
    padding-bottom: 25px;
}

.jumbotron h2 {
    margin-top: 0;
    color: #FFFF00;
    text-shadow: 4px 4px black; 
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

    margin-bottom: 50px;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 2em;
}

@media (max-width: 768px) {
    .jumbotron .container {
        padding: 10px 0px;
    }

    .jumbotron h1 {
        font-size: 3.2em;
    }
}

/** About */

/*.about h3 {
    border-bottom: none;
    margin-bottom: 10px;
}
*/
/** Announcements */

.announcements-list li {
    margin-bottom: 20px;
}

.announcements-list h4 {
    margin-bottom: 0;
}

/** Assignments */

.current-link {
    font-size: 2em;
    opacity: 0.9;
}

.current-link .fa {
    margin-left: 7px;
    transition: margin 0.1s ease-in;
}

.current-link:hover {
    opacity: 1.0;
}

.current-link a:hover, a:focus, a:active {
    text-decoration: none;
}

.current-link a:hover .fa {
    margin-left: 12px;
    transition: margin 0.1s ease-out;
}

.deadline {
    font-weight: bold;
}

.table {
    margin-top: 30px;
}

.table td ul {
    padding-left: 15px;
}

/** Responsive Tables
* http://css-tricks.com/responsive-data-tables/
*/

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
        border-top: 0;
        margin-bottom: 20px;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        min-height: 2.2em;
        position: relative;
        padding-left: 50% !important;
    }

    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;

        font-weight: bold;
    }

    /*
    Label the data
    */
    .assignments td:nth-of-type(1):before { content: "Assignment"; }
    .assignments td:nth-of-type(2):before { content: "Out"; }
    .assignments td:nth-of-type(3):before { content: "Due"; }
    .assignments td:nth-of-type(4):before { content: "Solutions"; }

    .projects td:nth-of-type(1):before { content: "Projects"; }
    .projects td:nth-of-type(2):before { content: "Out"; }
    .projects td:nth-of-type(3):before { content: "In"; }

    .hours td:nth-of-type(1):before { content: "Day"; }
    .hours td:nth-of-type(2):before { content: "Time"; }
    .hours td:nth-of-type(3):before { content: "TA"; }
    .hours td:nth-of-type(4):before { content: "Location"; }

    .lectures td:nth-of-type(1):before { content: "Number"; }
    .lectures td:nth-of-type(2):before { content: "Date"; }
    .lectures td:nth-of-type(3):before { content: "Topic"; }
    .lectures td:nth-of-type(4):before { content: "Notes"; }
    .lectures td:nth-of-type(5):before { content: "References"; }

}

.lose-rabbit {
    display: block;
    height: 200px;
    margin: 50px auto;
}

.staff-update-soon {
    text-align: center;
}

/** Lectures */

.next-lecture-title {
    font-size: 2em;
}

tr.next-lecture {
    background-color: #FFF4DC;
    color: #666;
}

/** Staff */

.staff .container {
    overflow: auto;
}

.staff h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 25px;
}

.tas h2 {
    margin-bottom: 10px;
}

.tas {
    clear: both;
}

.staff p {
    margin-bottom: 0;
}

.staff ul {
    list-style: none;
    padding-left: 0;
}

.info {
    margin: 15px 0px;
}

.masonry {
    -moz-column-gap: 1em;
    -webkit-column-gap: 1em;
    column-gap: 1em;
}

@media only screen and (min-width: 400px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 700px) {
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}

.col-sm-12, .col-xs-12 {
    padding-left: 0;
    padding-right: 0;
}

.container .person {
    height: 120px;
}

.head-tas .container {
    padding: 0;
}

.head-tas .profile-picture {
    margin-right: 15px;
}

.head-tas li {
    margin-bottom: 15px;
}

.masonry li {
    display: inline-block;
    width: 100%;
    padding: 15px 0;
}

.profile-picture {
    height: 200px;
    margin-bottom: 15px;
    max-width: 200px;
    border-radius: 5px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*background-image: url('../images/staff/staff_loading.png');*/

    -webkit-user-select: none;
    -webkit-touch-callout: none;
    transform: rotate(0deg);
}


/** Staff Pictures */

.professor .profile-picture {
    background-image: url(' ../img/everything-bagel.png');
}

.professor .profile-picture:hover {
    background-image: url(' ../img/rocco.jpg');
}

.nikhil .profile-picture {
    background-image: url(' ../img/sesame-bagel.png');
}

.nikhil .profile-picture:hover {
    background-image: url(' ../img/nikhil.jpg');
}

.saachi .profile-picture {
    background-image: url(' ../img/cinnamon-raisin-bagel.jpeg');
}

.saachi .profile-picture:hover {
    background-image: url(' ../img/saachi.png');
}

.styopa .profile-picture {
    background-image: url(' ../img/cheese-bagel.png');
}

.styopa .profile-picture:hover {
    background-image: url(' ../img/styopa.png');
}

.yizhi .profile-picture {
    background-image: url(' ../img/garlic-bagel.png');
}

.yizhi .profile-picture:hover {
    background-image: url(' ../img/yizhi.png');
}

.jay .profile-picture {
    background-image: url(' ../img/cinnamon-raisin-bagel.jpeg');
}

.jay .profile-picture:hover {
    background-image: url(' ../img/jay.jpg');
}

.hantao .profile-picture {
    background-image: url(' ../img/onion-bagel.jpeg');
}

.hantao .profile-picture:hover {
    background-image: url(' ../img/hantao.jpeg');
}

.jan .profile-picture {
    background-image: url(' ../img/poppyseed-bagel.jpg');
}

.jan .profile-picture:hover {
    background-image: url(' ../img/jan_photo.jpg');
}

.yasaman .profile-picture {
    background-image: url(' ../img/blueberry-bagel.png');
}

.yasaman .profile-picture:hover {
    background-image: url(' ../img/stick-figure.png');
}

.yuhao .profile-picture {
    background-image: url(' ../img/sesame-bagel.png');
}

.yuhao .profile-picture:hover {
    background-image: url(' ../img/yuhao.jpg');
}

.liam .profile-picture {
    background-image: url(' ../img/sesame-bagel.png');
}

.liam .profile-picture:hover {
    background-image: url(' ../img/liam.jpeg');
}

.yunya .profile-picture {
    background-image: url(' ../img/onion-bagel.jpeg');
}

.yunya .profile-picture:hover {
    background-image: url(' ../img/yunya.JPG');
}

.toby .profile-picture {
    background-image: url(' ../img/garlic-bagel.png');
}

.toby .profile-picture:hover {
    background-image: url(' ../img/toby.jpeg');
}





/** Footer */
.footer {
  position: absolute;
  bottom: 0;
  padding-top: 20px;
  padding-bottom: 10px;
  width: 100%;
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .footer p:first-child {
        margin-bottom: 0;
    }

    .footer .text-right {
        text-align: left;
        margin-top: 0;
    }
}
