/* universal text styles */
@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon.eot");
  src: url("../fonts/icomoon.eot?#iefix") format("embedded-opentype"), url("../fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.ttf") format("truetype"), url("../fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
  font-family: 'icomoon';
  content: attr(data-icon);
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
.icon-arrow-right, .icon-arrow-down, .icon-search, .icon-menu, .icon-menu-2, .icon-arrow-left, .icon-arrow-right-2 {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.icon-arrow-right:before {
  content: "\e001";
}

.icon-arrow-down:before {
  content: "\e002";
}

.icon-search:before {
  content: "\f002";
}

.icon-menu:before {
  content: "\e004";
}

.icon-menu-2:before {
  content: "\e005";
}

.icon-arrow-left:before {
  content: "\e003";
}

.icon-arrow-right-2:before {
  content: "\e006";
}

.icon-cancel:before {
  content: "\e000";
}

.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}

/* CSS3 Two Tone borders - IE9+ */
/* Fix for responsive images - use on IMG tag */
/* Mobile icons for retina display */
/** 
 * Mixin divides width of parent between children. It requires the parent to 
 * have a size class representing the number of children (eg: class="size_3"). 
 * It will take this and divide the width by that number of elements.
 *
 * Note: In silverstripe templates you can use $Count on a set of items you 
 * are about to loop throught to get the total number. EG:
 * <ul class="size_{$Menu.Count}">
 */
ul {
  padding-left: 1.5em;
}
.content-area ul li {
  list-style-image: url(../images/content-ul-li.gif);
}

iframe {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  padding: 5px;
}
img.right {
  float: right;
  clear: right;
  margin: 0 0 18px 18px;
}
img.left {
  float: left;
  clear: left;
  margin: 0 18px 18px 0px;
}
img.leftAlone {
  margin: 0 18px 18px 0;
  float: none;
  display: block;
  clear: both;
}
img.center {
  display: block;
  margin: 0 auto 18px auto;
  clear: both;
}

.captionImage {
  max-width: 100%;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  border: 1px solid #ddd;
  padding: 5px;
}
.captionImage.left {
  float: left;
  margin: 0 18px 18px 0px;
}
.captionImage.right {
  float: right;
  margin: 0 0 18px 18px;
}
.captionImage.leftAlone {
  float: none;
  margin: 0 18px 18px 0px;
}
.captionImage.center {
  margin: 0 auto 18px;
}
.captionImage p {
  clear: both;
  padding: 5px 0 0px;
  color: #ccc;
}
.captionImage img, .captionImage iframe {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  margin: 0 0 5px 0;
}

a {
  color: #8B6693;
  cursor: pointer;
}
a:visited {
  color: #8B6693;
}
a:hover {
  color: #84B96F;
}

/*** LINK ICONS ***/
a[href$=".pdf"],
a[href$=".PDF"],
.pdf {
  padding-right: 22px;
  background: url(../images/icons/page_white_acrobat.png) no-repeat right 0;
}
#old a[href$=".pdf"], #old
a[href$=".PDF"], #old
.pdf {
  background: none;
  padding-left: 0;
  padding-right: 0;
}

a[href$=".doc"],
a[href$=".DOC"],
.doc {
  padding-right: 22px;
  background: url(../images/icons/page_word.png) no-repeat right 0;
}

a[href$=".xls"],
a[href$=".XLS"],
.xls {
  padding-right: 22px;
  background: url(../images/icons/page_excel.png) no-repeat right 0;
}

a[href$=".gz"],
a[href$=".GZ"],
a[href$=".gzip"],
a[href$=".GZIP"],
a[href$=".zip"],
a[href$=".ZIP"],
.archive {
  padding-right: 22px;
  background: url(../../../themes/nmit/images/icons/page_white_zip.png) no-repeat right 0;
}

a[href$=".exe"],
a[href$=".EXE"],
.application {
  padding-right: 22px;
  background: url(../../../themes/nmit/images/icons/application.png) no-repeat right 0;
}

h1 a {
  color: #524250;
  text-decoration: none;
}
h1 a:visited, h1 a:hover {
  color: #524250;
  text-decoration: none;
}

h2 {
  font-size: 1.6em;
  font-weight: 500;
}

h2 small {
  font-weight: normal;
  font-size: 0.6em;
}

#site-title h1 {
  font-size: 4em;
}
@media only screen and (max-width: 939px) {
  #site-title h1 {
    font-size: 2em;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 939px) {
  br {
    line-height: 30px;
  }
}

td[valign=top] {
  vertical-align: top;
}
td[valign=middle] {
  vertical-align: middle;
}

blockquote {
  background: #e9ebe3 url(../images/blockquote.gif) repeat-x 0 0;
  font-style: normal;
  margin: 0 0 25px 0;
  height: auto !important;
  height: 1px;
  padding: 15px 15px 30px 15px;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
}
blockquote h3 {
  font-weight: 500;
  margin-top: 0;
}
blockquote img.left, blockquote img.right {
  border: 2px solid #DFDFD9;
  background: #FFFFFF;
  padding: 8px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

hr {
  background-color: #735C71;
  color: #735C71;
  height: 1px;
  border: 0 none;
}

.content-area hr {
  background: #FFFFFF;
  height: 1px;
  margin: 0;
}

table, td, th {
  vertical-align: inherit;
}

table {
  max-width: 100%;
}
@media only screen and (max-width: 939px) {
  table {
    width: auto !important;
  }
}
