body{
  padding: 1%;

}

button{
  display: inline-block;
  background: white;
  border: 1px;
  margin: 0 0 2%;
  font-family: sans-serif;
  font-weight: 300;
  font-size: 18px;
  padding: .5em 1em;
  border-radius: 5px;
  cursor: pointer;

}


.midtermLink {
    border-width: 1px;
    border-style: solid;
    border-color: #C4323A;
    margin: 10px;
    padding: 10px;
    width: 90%;
}

.midtermLink:hover {
  cursor: pointer;
    opacity: 0.5;
    -webkit-box-shadow: 0 4px 4px -2px #000000;
    -moz-box-shadow: 0 4px 4px -2px #000000;
    box-shadow: 0 4px 4px -2px #000000;
}

.but1 {

float: left;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 5px;
    border-color: white;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 5px;


}

.but1:hover {
 border-color: black;
    border-style: solid;
    border-width: 1px;
}


#topContact {
  position: absolute;
    top: 20px;
    right: 130px;
}


#topNav {
 margin-bottom: 5px;
}


#topFB {
  position: absolute;
    top: 20px;
    right: 10px;
}

.controls {
  display: none;
}

/* * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*/


.lectures { 
  color: white;
 background: #373737;
 }

.readings {background: #42a5f5;color: white;}

.classDocs {background: #FFEB3B; color: }

.ex {background: #9C27B0; color: white;}

.assignments {
background: ;
}

.marks {
background: ;
}



h1 {
  font-family: monospace;
  font-size: 50px;
  color: #C4323A;
}


h2{
  font-family: 'Droid Sans', sans-serif;
  /* color: #212020; */
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 1em;
}

h2:last-child{
  margin-bottom: 0;
}


h3{
  font-family: 'Droid Sans', sans-serif;
  /* color: #212020; */
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 1em;
}

h3:last-child{
  margin-bottom: 0;
}


p{
  font-family: 'Droid Sans', sans-serif;
 /* color: #333; */
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 1em;
}

p:last-child{
  margin-bottom: 0;
}








#mainContent {
}

.container{
  font-size: 0;
}

.container:after{
  content: '';
  display: inline-block;
  width: 100%;
}

.container .item,
.container .gap{
  display: inline-block;
  width: 49%;
}

.mix {
        /* max-height: 209px; */
    height: 160px;
    max-width: 250px;
    width: 250px;
    overflow: hidden;
    margin-right: 25px;
    float: left;

}

.mix:hover {
  cursor: pointer;
  opacity: 0.5;
  -webkit-box-shadow: 0 4px 4px -2px #000000;
    -moz-box-shadow: 0 4px 4px -2px #000000;
    box-shadow: 0 4px 4px -2px #000000;
}



.container .mix{
      text-align: left;
    /* background: #03899c; */
    margin-bottom: 25px;
    padding: 2%;
    vertical-align: top;
    display: none;
    -webkit-backface-visibility: hidden;
  /*  border-width: 1px;
    border-style: solid;
    border-color: #C4323A;
    */

  }

/* Flex box progressive enhancements: */
/*
.container{
  display: -webkit-flex;
  -webkit-flex-flow: row wrap;
  -webkit-justify-content: space-between;
  -webkit-align-content: flex-start;
}
*/

/*
@media all and (min-width: 420px){
  .container .mix,
  .container .gap{
    width: 32%;
  }
}*/