/* Loading up the Karmina font */
@font-face {
  font-family: DTM-Mono;
  src: url(DTM-Mono.otf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Karmina;
  src: url(KarminaReg.otf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Karmina;
  src: url(KarminaBold.otf);
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: Karmina;
  src: url(KarminaItalic.otf);
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: Karmina;
  src: url(KarminaBoldItalic.otf);
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: M41_LOVEBIT;
  src: url(m41.TTF);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Opificio;
  src: url(Opificio.ttf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Press Start 2P";
  src: url(PressStart2P.ttf);
  font-weight: normal;
  font-style: normal;
}

/* Hack to fix IE bugs */
img {
  border: none;
}

/* Page section formatting */
body {
  font: normal 16px "Dosis", "PT Serif", Georgia, serif;
  text-align: center;
  color: #ccc;
  background-image: url("../images/undertale/title_bg.png");
  background-color: black;
  background-repeat: repeat;
}

h1,
h2,
h3,
h4,
h5 {
  font: normal 16px "M41_LOVEBIT", DTM-Mono, "IM Fell French Canon SC", Verdana, serif;
  font-variant: small-caps;
}

#content a {
  font-weight: bold;
  color: #999;
}

#content a:hover,
#content a:active {
  color: #eee;
}

#content-wrapper {
  margin-top: 1em;
  background: #000;
  width: 53em;
  margin: auto;
  border-radius: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -moz-border-radius: 10px;
  border-color: #0c242b;
  border-style: solid;
  border-width: 0.5em;
}

#content {
  padding: 1em;
  text-align: left;
}

#logo-img {
  /*padding:0.3em;*/
  width: 53em;
  vertical-align: middle;
}

#pagehead {
  /*	font-size:1.6em;
	border-color:#a6c939;
	border-style:none;
	border-width:0.25em;*/
}

.active {
  background: #dff4f2;
}

.post_header {
  padding: 0.5em 0em;
  text-align: left;
}

.post_header > h2 {
  padding: 0em;
  margin: 0em;
}

.post_header > h3 {
  font: italic 12px DTM-Mono, serif;
  padding: 0em;
  margin: 0em;
}

.code_text {
  font-family: Consolas, Inconsolata, "Courier New", monospace;
}

/* Styling to make the menubar work */
#menu {
  width: 53em;
  margin: auto;
  padding: 0em;
  list-style-type: none;
  overflow: hidden;
  background: #0c242b;
}

.menu_item {
  display: inline-block;
  font-weight: normal;
  padding-bottom: 0.4em;
  padding-top: 0.4em;
  padding-left: 0.5em;
  padding-right: 0.5em;

  -webkit-transform: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.menu_item:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  color: #fff;
}

.menu_item a {
  color: inherit;
  display: block;
  text-decoration: none;
}

.menu_item a:hover,
.menu_item a:active {
  color: #fff;
}

.menu_item img {
  vertical-align: middle;
  padding-right: 5px;
}

/* Styling for the "table" of staff images */
#staffTable {
  display: table;
  width: 98%;
  overflow: hidden;
}

div.imageRow {
  display: table-row;
}

div.staffImage {
  height: 340px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding-bottom: 18px;
}

/* Styling for actual tables (like office hours) */
table,
th,
td {
  border: 2px ridge #ccc;
}

table {
  width: 100%;
  margin: auto;
  border-collapse: collapse;
}

th {
  padding: 0.7em;
  font-size: 1.1em;
}

td {
  padding: 0.5em;
  border-spacing: 0em;
}

td.label {
  font-weight: bold;
  text-align: right;
  padding-right: 5px;
}

.h_flipped {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
