html {
  height: 100%;
}
body {
  overflow-y:scroll;
  background-image: url(../img/background_plan_01.jpg);
  background-color: #FAF4F4;
  background-repeat: repeat-x;
  background-position: center top;
  height: 100%;
}
nav a {
  color: #fff;
}
nav a:hover, nav a:active {
  color: #fff;
  outline: none;
  text-decoration: none;
}
nav {
  position:relative;
  height: 100%;
}
nav:before {
  position: absolute;
  left:0;
  top:0;
  height:50%;
  width:100%;
  content: "";
  background-color: #0E4559;
  display: block;
  z-index: -1;
}
nav:after {
  position: absolute;
  left:0;
  bottom:0;
  height:50%;
  width:100%;
  content: "";
  background-color: #0B3C4D;
  display: block;
  z-index: -1;
  visibility: visible;
}

img.logo {
  max-height: 100%;
  box-sizing: border-box;
  padding: 15px 0 20px 10px;
}

nav div {
  height: 100%;
}
nav ul,
nav li {
  height: 100%;
}
nav ul {
  display: flex;
  justify-content: space-evenly;
  padding: 0;
}
nav ul li {
  float:left;
  list-style:none outside none;
  cursor:pointer;
  color: #fff;
}
.nav-text {
  display: none;
}
nav li a {
  padding: 35px 20px !important;
  font-weight: bold;
  white-space: nowrap;
  display:block;
}
.content-div {
  display:none;
}

header {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 95px;
  z-index: 100;
}
main {
  padding-top: 95px;
  padding-bottom: 40px;
  box-sizing: border-box;
  background-color: #ffffff;
  min-height: 100%;
}
.header-img img {
  max-width: 100%;
  opacity: 0.65;
}
footer {
  margin-top: -40px;
  height: 40px;
  background-color: #0B3C4D;
  font-size: 12px;
  text-align: center;
  padding-top: 10px;
  color: #fff !important;
  z-index: 100;
  position: relative;
}
footer a {
  color: #fff !important;
}
footer img {
  padding: 0 5px;
}
.carousel-caption {
    left: 0;
    width: 50%;
    top: 0;
    height: 50%;
    padding: 20px 40px;
    text-align: left;
    color: #000;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100 */
background: -moz-linear-gradient(-65deg, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-65deg, rgba(255,255,255,1) 40%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(155deg, rgba(255,255,255,1) 40%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.carousel-caption h5 {
  font-weight: bold;
  font-size: 24px;
}
.carousel-caption h5:after {
  display:block;
  content:"";
  height: 1px;
  margin: 15px 0;
  background-color: black;
  width: 40%;
}
.carousel-indicators {
  justify-content: flex-end;
  margin-right: 10px;
  margin-bottom: 5px;
}
.carousel-indicators li {
  width: 15px;
  height: 15px;
  background-color: transparent;
  border:1px solid #fff;
  cursor: pointer;
}
.carousel-indicators li.active {
  background-color: #fff;
}
.content {
  padding: 40px 40px 300px 40px;
}
.container {
  position:relative;
  z-index: 0;
}
.content-div {
  height:100%;
  box-sizing: border-box;
  z-index: -2;
  overflow: hidden;
}
.content-div:after {
  display:block;
  z-index:-1;
  position:absolute;
  left:0;
  width: 100%;
  height: 50%;
  bottom:40px;
  opacity:0.4;
  content:"";
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 30%;
}
.content-div#home:after {
  background-image: url('../img/home-01.png');
}
.content-div#about:after {
  background-image: url('../img/brown_bug_with_carrot.png');
}
.content-div#download:after {
  background-image: url('../img/download_02.png');
}
.content-div#faq:after {
  background-image: url('../img/faq_carrot.png');
}
.content-div#publications:after {
  background-image: url('../img/carrot_books.png');
}
.content-div#contact:after {
  background-image: url('../img/contact_carrot.png');
}
.subject-table {
  margin: 0 auto;
}
.subject-table th,
.subject-table td {
  padding: 2px 8px;
}
.subject-table th:not(:first-child),
.subject-table td:not(:first-child) {
  text-align: right;
}
.subject-table thead {
  border-top: 2px solid #000;
  border-bottom: 1px solid #000;
}
.subject-table tfoot {
  border-top: 1px solid #000;
  border-bottom: 2px solid #000;
}/*
.contact-wrapper .contact {
  float:left;
  width: 33.33%;
  padding: 5px;
  border-left: 30px solid transparent;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  text-align: center;
  position: relative; 
}
.contact-wrapper .contact:nth-child(3n+3) {
  border-right: 30px solid transparent;
}
.contact-wrapper .contact:first-line {
  font-weight: bold;
}
.contact-wrapper .contact:after {
  content: "";
  background-color: #faf4e7;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display:block;
  position: absolute;
  z-index: -1;
background: rgb(240,222,187);
background: -moz-linear-gradient(to right top, rgba(240,222,187,1) 0%, rgba(240,222,187,1) 50%, rgba(250,244,231,1) 50%, rgba(250,244,231,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(240,222,187,1) 0%,rgba(240,222,187,1) 50%,rgba(250,244,231,1) 50%,rgba(250,244,231,1) 100%); 
background: linear-gradient(to right top, rgba(240,222,187,1) 0%,rgba(240,222,187,1) 50%,rgba(250,244,231,1) 50%,rgba(250,244,231,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0debb', endColorstr='#faf4e7',GradientType=1 );
}
.contact-wrapper:before {
  display:block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 7px solid #764828;
  content: "";
}
.contact-wrapper { 
  border: 10px solid #54280E;
  position: relative; 
  background-color: #d7b574;

background: rgb(215,181,116); 
background: -moz-linear-gradient(to right top, rgba(215,181,116,1) 0%, rgba(215,181,116,1) 50%, rgba(239,214,159,1) 50%, rgba(239,214,159,1) 100%); 
background: -webkit-linear-gradient(45deg, rgba(215,181,116,1) 0%,rgba(215,181,116,1) 50%,rgba(239,214,159,1) 50%,rgba(239,214,159,1) 100%); 
background: linear-gradient(to right top, rgba(215,181,116,1) 0%,rgba(215,181,116,1) 50%,rgba(239,214,159,1) 50%,rgba(239,214,159,1) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d7b574', endColorstr='#efd69f',GradientType=1 ); 
  z-index: -10;
}
.contact-wrapper:after {
  clear:both;
  display:block;
  content: "";
}*/


.contact-wrapper .contact {
  padding: 15px;
  text-align: center;
  position: relative; 
  max-width: 360px;
  margin: 40px auto;
}
.contact-wrapper .contact:first-line {
  font-weight: bold;
}
.contact-wrapper .contact:after {
  content: "";
  background-color: #faf4e7;
  border: 7px solid #764828;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display:block;
  position: absolute;
  z-index: -1;
background: rgb(240,222,187);
background: -moz-linear-gradient(to right top, rgba(240,222,187,1) 0%, rgba(240,222,187,1) 50%, rgba(250,244,231,1) 50%, rgba(250,244,231,1) 100%);
background: -webkit-linear-gradient(45deg, rgba(240,222,187,1) 0%,rgba(240,222,187,1) 50%,rgba(250,244,231,1) 50%,rgba(250,244,231,1) 100%); 
background: linear-gradient(to right top, rgba(240,222,187,1) 0%,rgba(240,222,187,1) 50%,rgba(250,244,231,1) 50%,rgba(250,244,231,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0debb', endColorstr='#faf4e7',GradientType=1 );
}
.contact-wrapper { 
  width: 50%;
  float:left;
}
.clearfix:after {
  clear:both;
  display:block;
  content: "";
}
.contact-wrapper .uni-logo {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  max-height: 200px;
}
@media screen and (max-width: 768px) {
  header {
    height: auto;
    position: static;
  }
  main {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
  }
  nav li a {
    padding: 15px 20px !important;
  }
  nav ul {
    display: block;
  }
  img.logo {
    height: 60px;
    padding: 0;
  }
  .nav-text {
    color:#fff;
    display:inline-block;
    font-size:1.2rem;
    line-height:1;
    max-width:100%;
    text-align:center;
    vertical-align:middle;
    margin: 0;
    padding: 10px 100px;
    cursor: pointer;
  }
  .nav-text:after {
    content:"\f008";
    font-family:"mfg";
    font-size:1.1rem;
    margin-left:0.5rem;
    text-align:right;
  }
  .top-nav ul {
    display:none;
  }
  .top-nav ul.show-menu {
    display:block;
  }
  .top-nav ul li {
    float:none;
    display:block;
    text-align: center;
  }
}
@media screen and (max-width: 1199px) {

}
@media screen and (max-width: 991px) {
  .contact-wrapper { 
    width: 100%;
    float:none;
  }
}