@import url("https://use.typekit.net/xjn3qqk.css");

:root {
  --green : #006B77;
  --yellow: #FABC2E;
  --burgundy: #5B1513;
  --burgundy: #5B1513;
  --headfont: 'univia-pro', 'helvetica narrow', sans-serif;
}


#middle {
	/* font-family: 'univia-pro', 'Helvetica Neue', sans-serif; */
	font-size: 17px;
	width: 100%;
	margin-top: 0;
}

#header-top-banner {
  height: 156px;
  background-color: var(--green );
  position: relative;
  border-radius: 0 0 16px 0;
  display: inline-block;
  width: 80%;
}
#header-top-banner img {
  max-width: 90%;
}

#header {
  background-color: #fff;
  padding-bottom: 0;
  height: auto;
}

#header-top-title {
  position: absolute;
  right: 68px;
  top: 54px;
  vertical-align: top;
}
#header-top-subtitle {
  color: var(--burgundy);
  font-family: var(--headfont);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  text-align: center;
  position: absolute;
  bottom: 16px;
  line-height: 100%;
  width: 100%;
  text-transform: uppercase;
}
#header-top-photo {
  display: inline-block;
  margin: 22px 12px 10px 18px;
  vertical-align: top;
}
#header-top-logos {
  display: inline-block;
  margin:12px;
  width: 150px;
  vertical-align: top;
}
@media screen and (max-width:960px) {
  #header-top-banner {
    width: 96%;
  }
  #header-top-logos {
    width: auto;
  }
  #header-top-photo {
    height: 70px;
    width: 70px;
    margin: 12px;
  }
  #header-top-subtitle {
    position: relative;
    width: 50%;
    margin-top: 14px;
    display: inline-block;
    text-align: left;
    padding: 12px;
  }

}

@media screen and (max-width:760px) {
  #header-top-photo {
    display: none;
  }
  #header-top-title {
    right: 32px;
  }
}
@media screen and (max-width:580px) {
  #header-top-banner {
    width: 100%;
  }
  #header-top-subtitle {
    width: 100%;
    text-align: center;
    padding-bottom: 0;
  }
  #header-top-title {
    right: 14px;
  }
  #header-top-logos {
    width: 100%;
    margin: 0 auto 12px auto;
    text-align: center;
  }

}

.middle-inner {
  width: 100%;
  margin: 0 auto;
  padding: 16px 10px;
  box-sizing: border-box;
  background-color: #fff;
}
.middle-inner-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

textarea, input[type="text"] {
  font-family: 'Red Hat Display', 'Helvetica Neue', sans-serif;
}

#leftsidebar {
	width: 16%;
	margin-right: 3%;
	min-height: 10px;
  min-height: 1px;
}
#textarea {
	width: 62%;
	margin: 0;
  max-width: none;
}
#rightsidebar {
	width: 20%;
  position: absolute;
  right:0;
}
.rightsidebar-inner {
  margin-left: 6px;
  padding: 0 6px 0 18px;
  border-left: 2px solid #E1B15C;
}

.noleftsidebar #textarea {
  width: 80%;
}
.norightsidebar #rightsidebar {
	display: none;
}
.norightsidebar #textarea {
	width: 80%;
}
.norightsidebar.noleftsidebar #textarea {
	width: 100%;
  max-width: none;
}




@media screen and (max-width:810px) {
  #leftsidebar {
    width: 22%;
  }
  #textarea {
    width: 74%;
    padding: 0;
  }
  #rightsidebar, .noleftsidebar #textarea {
    width: 100%;
    position: relative;
  }
  #rightsidebar {
    border-top: 2px solid #687BCE;
    padding-top: 24px;
    margin: 30px 0 0 0;
  }
  .rightsidebar-inner {
    border: 0;
  }
}



h1, p.menuhead {
	background-image: none;
}
h1  {
	padding: 0;
  color: var(--green );
  font-size: 180%;
  line-height: 120%;
  font-weight: 600;
  font-family: var(--headfont);
}
h2 {
	padding: 0;
  color: var(--green );
  font-size: 120%;
  line-height: 120%;
}
p.menuhead {
	padding: 0;
  color: #D87500;
  font-family: 'Arimo', sans-serif;
}


.microsite-header {
	position: relative;
	background-color: var(--green );
	width: 100%;
	text-align: center;
	padding: 0 10px;
	height: 32px;
	margin: 0 0 24px 0;
}

.microsite-title {
  font-family: 'Arimo', sans-serif;
	padding: 14px;
	text-align: center;
	font-weight: 600;
	color: #044459;
	font-size: 44px;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 100%;
	width: 100%;
}

table.highlight {
	background-color: #E2EBFE;
}
table.highlight.white {
	background-color: #ffffff;
  border: 2px solid #E1B15C;
}
table.highlight td, #textarea table.highlight td {
	padding: 10px;
}
table.highlight h2 {
  color: #D87500;
}

ul.sidemenu {
	font-size: 16px;
}
ul.sidemenu li a {
  position: relative;
}
ul.sidemenu li.submenuOn a:link, ul.sidemenu li.submenuOn a:visited {
  color: #0D87B0;
}
ul.sidemenu li.submenuOn a, ul.sidemenu li.submenuOn a:link, ul.sidemenu li.submenuOn a:visited, ul.sidemenu li.submenuOn ul li.submenuOn a, ul.sidemenu li.submenuOn ul li.submenuOn a:link, ul.sidemenu li.submenuOn ul li.submenuOn a:visited {
  background-image: none;
}
ul.sidemenu li.submenuOn a:before {
  content: "\f0da";
  font-family: 'FontAwesome';
  color: #0D87B0;
  position: absolute;
  top: 4px;
  left: 0;
}
ul.sidemenu li a:hover {
  color: #333;
}
ul.sidemenu li a:hover:before {
}

#headerphotocontainer {
  width: 100%;
}
@media screen and (max-height:700px) {
	#headerphotocontainer {
		max-height: 320px;
		overflow: hidden;
	}
}

.card {
  background-color: #fff;
}

#header-slider h2 {
  font-size: 30px;
  padding: 36px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 2px;
}
#header-slider h2.white {
  color: #fff;
}
#header-slider h2.yellow {
  color: #f3d64e;
}
#header-slider h2.blue {
  color: #263b95;
}
#header-slider h2.black {
  color: #000000;
}
#header-slider h2.dropshadow {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
}
#header-slider {
  max-height: 480px;
  overflow: hidden;
}
@media screen and (max-height:760px) {
  #header-slider {
    max-height: 380px;
  }
}
.project-cards {
  justify-content: center;
  margin: 0 -1%;
}
.project-cards.bio {
  justify-content: flex-start;
}
.project-card {
  max-width: 31%;
  margin:0 1% 12px 1%;
  -webkit-transition: .3s;
  transition: .3s;
  border-radius: 18px;
  background-color: #fff;
}
.project-card.bio {
  max-width: 48%;
  margin:0 1% 12px 1%;
  -webkit-transition: .3s;
  transition: .3s;
  border-radius: 18px 18px 0 0;
}
.personnel .project-card {
  max-width: 180px;
}

.project-card:hover {
  cursor: pointer;
  background-color: #dae9f6;
}
.project-card-text {
  padding: 12px 10px;
}
.project-card-photo {
  height: 0;
  padding-bottom: 56.18%;
  box-sizing: content-box;
}
.personnel .project-card-photo {
  padding-bottom: 133.33%;
}
.project-card-photo img {
  border-radius: 18px;
  -webkit-transition: .3s;
  transition: .3s;
}
.project-card:hover .project-card-photo img {
  filter: brightness(0.9);
}
h3.project-card-title {
  font-size: 120%;
  margin: 0 0 12px 0;
  -webkit-transition: .3s;
  transition: .3s;
}
.project-card:hover h3.project-card-title {
  color: #0f69bc;
}


@media screen and (max-width:860px) {
  .project-card {
    width: 48%;
    max-width: 340px;
  }
  .personnel .project-card {
    max-width: 240px;
  }
}
@media screen and (max-width:620px) {
  .project-card {
    width: 100%;
  }
  .project-card video {
    width: 100%;
  }
}

.microsite-header .sf-menu {
  margin-left: 0;
  border: 0;
  font-family: 'Arimo', sans-serif;
}
.microsite-header .sf-menu a, .microsite-header .sf-menu a:visited {
  color: #fff;
  padding-left: 14px;
  padding-right: 14px;
}
.microsite-header .sf-menu li {
  border: 0;
}
.microsite-header .sf-menu > li.menuOn > a, .microsite-header .sf-menu > li.menuOn > a:visited {
  color: var(--yellow);
}
.microsite-header .sf-menu > li:hover > a, .microsite-header .sf-menu > li.sfHover > a, .microsite-header .sf-menu > li:hover > a:focus, .microsite-header .sf-menu > li:hover > a:hover, .microsite-header .sf-menu > li > a:hover,
.microsite-header .sf-menu > li.menuOn:hover > a, .microsite-header .sf-menu > li.menuOn.sfHover > a, .microsite-header .sf-menu > li.menuOn:hover > a:focus, .microsite-header .sf-menu > li.menuOn:hover > a:hover, .microsite-header .sf-menu > li.menuOn > a:hover
 {
  color: var(--green );
  background-color: var(--yellow);
}
.microsite-header .sf-menu > li > ul {
  margin-left: 0;
}
.microsite-header .sf-menu  li  ul  li  a, .microsite-header .sf-menu  li  ul  li  a:visited {
  color: var(--green );
}
.microsite-header .sf-menu > li > ul > li:hover > a, .microsite-header .sf-menu > li > ul > li.sfHover > a, .microsite-header .sf-menu > li > ul > li:hover > a:focus, .microsite-header .sf-menu > li > ul > li:hover > a:hover, .microsite-header .sf-menu > li > ul > li > a:hover {
  color: #fff;
}

div.product-review {
	margin: 12px 0;
	border-top: 1px solid #ccc;
	padding: 10px 0;
	font-size: 92%;
}
.product-review-name {
	font-weight: 600;
	margin: 0 14px;
}
.product-review-rating {
	margin-bottom: 10px;
}
div.product-reviews {
	-webkit-transition: .3s;
	transition: .3s;
}
div.product-reviews.off {
	max-height: 0;
	overflow-y: hidden;
}

#reviewpopup {
	width: 100%;
	max-width: 600px;
	background-color: #fff;
	border: 1px solid #85b111;
	box-shadow: 0 0 6px rgba(0,0,0,0.5);
	opacity: 1;
	padding: 12px;
	display: block;
}
#popupscreen {
	position: fixed;
	z-index: 1100;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	-webkit-transition: .5s;
	transition: .5s;
	display:flex;
	justify-content:center;
	align-items:center;
	opacity: 1;
}
#popupscreen.hidden {
	opacity: 0;
	display: none;
	-webkit-transition: .3s;
	transition: .3s;
}
.reviewform label {
	display: inline-block;
	width: 20%;
	padding-right: 10px;
	box-sizing: border-box;
}
.ratingimage {
	display: inline-block;
	width: 128px;
	height: 18px;
	overflow: hidden;
}
.ratingimage img {
	position: relative;
}
.ratingimage.rating15 img {
	top:-27px;
}
.ratingimage.rating20 img {
	top:-54px;
}
.ratingimage.rating25 img {
	top:-81px;
}
.ratingimage.rating30 img {
	top:-108px;
}
.ratingimage.rating35 img {
	top:-135px;
}
.ratingimage.rating40 img {
	top:-162px;
}
.ratingimage.rating45 img {
	top:-189px;
}
.ratingimage.rating50 img {
	top:-216px;
}
.rating-star:hover {
  cursor: pointer;
}


@media screen and (max-width:660px) {

  #textarea {
    width: 100%;
    clear: none;
  }

  .microsite-header table {
    display: none;
  }
  .microsite-header {
    height: 6px;
  }
  #rightsidebar {
    border-top: 2px solid #687BCE;
    padding-top: 24px;
    margin: 30px 0 0 0;
  }
}

img.outlined {
  border: 2px solid var(--green );
  box-sizing: content-box;
}

.news-box {
  width: 240px;
  padding: 12px;
  border: 1px solid var(--green);
  margin-bottom: 10px;
  font-family: var(--headfont);
  clear: both;
  float: left;
  margin-left: -260px;
  margin-right: 18px;
}
.news-box ol {
  padding-left: 1.0em;
}
.news-box.highlight {
  border-left: 0;
  border-right: 0;
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  background-color: #eee;
}
@media screen and (max-width:1260px) {
  .news-box {
    margin-left: -100px;
  }
}
@media screen and (max-width:810px) {
  .news-box {
    margin-left: 12px;
    margin-right: 10px;
    float:right;
  }
  #textarea {
    width: 100%;
  }
}
@media screen and (max-width:700px) {
  .news-box {
    width:100%;
    float: none;
  }
  .columns1 {
    display: inline-block;
    vertical-align: top;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
  }
  .news-box-container {
    order: 2;
  }
  .research-text-container {
    order: 1;
  }
  .news-references {
    order: 3;
  }

}
