/*===================*/
/*=    CSS Reset    =*/
/*===================*/

html, body, main, header, img, table, tr, td, h1
{
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}


/*====================================*/
/*=    Loading Proxima Nova fonts    =*/
/*====================================*/

@font-face
{
  font-family: "ProximaNova-Thin";
  font-style: normal;
  font-weight: normal;
  src: url("//math.uchicago.edu/~tshirts/site/fonts/PN-thin.eot?#iefix") format("embedded-opentype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-thin.woff") format("woff"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-thin.ttf") format("truetype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-thin.svg#wf") format("svg");
}

@font-face
{
  font-family: "ProximaNova-Regular";
  font-style: normal;
  font-weight: normal;
  src: url("//math.uchicago.edu/~tshirts/site/fonts/PN-regular.eot?#iefix") format("embedded-opentype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-regular.woff") format("woff"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-regular.ttf") format("truetype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-regular.svg#wf") format("svg");
}

@font-face
{
  font-family: "ProximaNova-Semibold";
  font-style: normal;
  font-weight: normal;
  src: url("//math.uchicago.edu/~tshirts/site/fonts/PN-semibold.eot?#iefix") format("embedded-opentype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-semibold.woff") format("woff"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-semibold.ttf") format("truetype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-semibold.svg#wf") format("svg");
}

@font-face
{
  font-family: "ProximaNova-Light";
  font-style: normal;
  font-weight: normal;
  src: url("//math.uchicago.edu/~tshirts/site/fonts/PN-light.eot?#iefix") format("embedded-opentype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-light.woff") format("woff"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-light.ttf") format("truetype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-light.svg#wf") format("svg");
}

@font-face
{
  font-family: "ProximaNova-Bold";
  font-style: normal;
  font-weight: normal;
  src: url("//math.uchicago.edu/~tshirts/site/fonts/PN-bold.eot?#iefix") format("embedded-opentype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-bold.woff") format("woff"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-bold.ttf") format("truetype"),
       url("//math.uchicago.edu/~tshirts/site/fonts/PN-bold.svg#wf") format("svg");
}


/*=======================*/
/*=    General Stuff    =*/
/*=======================*/

body
{
  font-family: "ProximaNova-Regular", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 12pt;
  line-height: 125%;

  margin: 0 auto;
  width: 600px;
  padding: 0 50px 100px;

  max-height: 1000000px;  /* Fixes an annoying feature in mobile browsers */
                          /* where text on the page is resized            */
                          /* See http://stackoverflow.com/q/11694767      */
}

h1
{
  font-size: 16pt;
  text-align: center;
  margin: 30px auto;
  width: 600px;
}

a:link, a:hover, a:visited, a:visited:hover
{
  color: #1940e6;
  text-decoration: none;
  border-radius: 2px;
  padding: 1px 1px;
}

a:hover, a:visited:hover
{
  background-color: #cccccc;
}

td a:hover, td a:visited:hover
{
  background-color: transparent;
}

/* Fixes an error in Android's auto-fit.   */
/* See http://stackoverflow.com/q/8508889/ */
h1, p, ol, li
{
  background-image: url(//math.uchicago.edu/~tshirts/site/img/blank.png);
}

p
{
  margin: 20px 0;
}

li
{
  margin-top: 15px;
}

table
{
  border-collapse: collapse;
  margin: 25px auto;
}

td
{
  padding: 2px 2px;
}
