
html {
/* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

* {
	margin:0;
	padding:0;
	box-sizing:border-box;
	letter-spacing:normal;
	line-height:1.6;
	font-family: 'Open Sans';
	color:#230d19;
	scroll-behavior: smooth;
}

body {
	background: #FFFFFF; /* Old browsers */
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

.clear {
	clear:both;
}

.max-width {
  max-width:1400px;
  margin:0 auto 0;
  padding:0 22px 0;
}

.gold {
  color:#6600cc;
}

h1 {
  color: #6600cc;
  display:block;
    font-size: 42px;
    letter-spacing:-1px;
    line-height: 1.1;
    word-wrap:break-word;
    margin: 0 auto 44px;
    text-align: center;
    font-style: normal;
    padding: 4px 18px;
    font-weight: bold;
    text-transform: none;
}

h2 {
    font-family: 'Libre Caslon Text';
    color: #FFFFFF;
    display: block;
    font-size: 26px;
    text-transform: none;
    font-style:italic;
    font-weight: bold;
    line-height: 1;
    word-wrap: break-word;
    margin: 88px auto 33px;
    text-align: center;
    padding: 6px 18px 6px;
    background: #6600cc;
}

h3 {
  font-size:26px;
  line-height: 1.1;
  color:#230d19;
  font-weight:normal;
}

h4 {
  font-family: 'Libre Caslon Text', serif;
	font-size: 19px;
	line-height:1.3;
  font-weight:normal;
    text-align: center;
    margin: 0 auto 12px;
    opacity:.8;
}


h5 {
	display: block;
  font-weight: normal;
  margin: 0 auto 22px;
  text-transform: uppercase;
  font-size: 32px;
  line-height:1.2;
}

h6 {
	color:rgba(255,255,255,.4);
	text-align:right;
	font-size:16px;
	letter-spacing:1px;
	margin:0 auto 22px;
	text-transform:uppercase;
	font-style: italic;
}

p {
	 color: #230d19;
    font-size: 17px;
    text-transform: none;
    line-height: 1.5;
    font-weight: 400;
    margin:0 auto 27px;
    text-align:left;
    overflow:hidden;
    font-family: 'Open Sans';
}

span, strong, em {
  line-height:inherit;
  color: inherit;
}

/*blockquote .quote {
    font-family: 'Helvetica';
    font-size: 204px;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
    opacity: .15;
}

blockquote .quote-2 {
  font-family: 'Helvetica';
    font-size: 204px;
    line-height: 1;
    position: absolute;
    bottom: 0;
    right: 0;
    font-weight: bold;
    opacity: .15;
}*/

.quote-source {
  font-family: 'Nunito', sans-serif;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:4px;
  display:block;
  text-align:center;
  font-style:normal;
  margin:0 auto 0;
}

blockquote {
  font-size:21px;
    border-radius: 3px;
    position: relative;  /*  <--- */
    font-style: italic;
    text-align: center;
    padding: 0rem 1.2rem 1rem;
    width: 90%;  /* create space for the quotes */
    color: #FFFFFF;
    margin: 44px auto 0;
    /*background: #E8E8E8;*/
}

#about .section-wrapper blockquote {
  margin:0px auto 22px;
}
/* -- create the quotation marks -- */
blockquote:before,
blockquote:after{
    font-family: FontAwesome;
    position: absolute;
    /* -- inside the relative position of blockquote -- */
    top: 0px;
    color: #6600cc;
    font-size: 44px;
}
blockquote:before{
    content: "\f10d";
    margin-right: 0px;
    right: 100%;
}
blockquote:after{
    content: "\f10e";
    margin-left: 0px;
    left: 100%;  
    top: auto;
    bottom: 0px;
}

@media screen and (min-width: 850px) {

  .max-width {
    padding:0 44px 0;
  }

	h1 {
	    font-size: 52px;
	}

	h4 {
		font-size: 27px;
		margin: 0 auto 0;
	}
}

strong, em, a, span {
  font-family:inherit;
}

a {
  cursor:pointer;
	color:#6600cc;
  font-weight:bold;
	text-decoration:underline;
}

a:hover {
  color:#230d19;
}

hr {
  border: none;
    border-bottom: 3px dotted #6600cc;
    margin: 44px auto 44px;
    padding:0;
    max-width: 40%;
}

@media only screen and (min-width: 550px) {
  hr {
    margin: 11px auto 44px;
  }
}

section {
  /*background:#000000;*/
  position: relative;
  height: auto;
  display: block;
  align-items: center;
  justify-content: center;
  padding:88px 22px;
  overflow-x:hidden;
}

.section-wrapper {
	width:100%;
  padding:0;

}

.subpage {
  background:none;
}

.subpage .section-wrapper {
  margin:44px auto 66px;
  height:auto;
}

section#top {
	height: 100vh; /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
	display: flex;
  /*-webkit-box-shadow: inset 0px 0px 19px 0px rgba(0,0,0,0.62);
    box-shadow: inset 0px 0px 19px 0px rgba(0,0,0,0.62);
  border-bottom: 1px dotted rgba(255,255,255,.5);*/
  }

.bg {
  background-image:none;
  background:none;
  background-attachment:none;
}


.mobile {
	display:block;
	filter: contrast(1.2) brightness(1.4);
}

.mobile img {
	width: 100%;
    border: 1px solid rgba(255,255,255,.2);
    margin: 0 auto 44px;
}

@media screen and (min-width: 850px) {

	section {
		background:none;
	}

  .section-wrapper {
    padding:0 22px 0;

  }

  .subpage .section-wrapper {
    margin:66px auto 88px;
  }

	.mobile {
		display:none;
	}

	.bg {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  z-index: -1;
	  background-size: cover;
	  background-position: center;
	  background-repeat: no-repeat;
	}

}

/* ----- NAV BAR ----- */

#nav {
  height:57px;
  background: rgba(7,18,22,0);
  padding:1px 0px 0px 0px;
  text-align:center;
  position:fixed;
  top:0;
  right:0;
  left:0;
  z-index:105;
  transition:1s ease;
  max-width:none;
  margin:0 auto 0;
  border-bottom:1px dotted rgba(0,0,0,0);
    box-shadow: none;
    background: rgba(246,187,66,0);
}

#nav.scroll {
  background: rgba(255,255,255,.98);
  box-shadow: 0px 0px 7px rgba(0,0,0,.1);
}

#nav-apply {
  color: #6600cc !important;
  transition:.5s ease !important;
}

.hamburger {
  display:inline;
  position: fixed;
  top: 18px;
  right: 22px;
  height: 28px;
  width: 32px;
  cursor: pointer;
  z-index: 113;
  background-attachment: fixed;
  -webkit-transition: .5s;
  transition: .5s;
}

.hamburger.active .top {
  -webkit-transform: translateY(7px) translateX(0) rotate(45deg);
          transform: translateY(7px) translateX(0) rotate(45deg);
}

.hamburger.active .middle {
  opacity: 0;
}

.hamburger.active .bottom {
  -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
}

.hamburger span {
  background: #6600cc;
  border: none;
  height: 3px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}

.hamburger:hover span {
  opacity:.8;
}

.hamburger span:nth-of-type(2) {
  top: 9px;
}

.hamburger span:nth-of-type(3) {
  top: 18px;
}

.hamburger .text {
  display: none;
    position: absolute;
    bottom: -10px;
    font-size: 9px;
    text-transform:uppercase;
    text-align:center;
    top:25px;
    width: 100%;
    opacity: .8;
    letter-spacing: 1px;
    color:rgba(255,255,255,.7);
}

#nav-title-small {
  display:inline;
  float:left;
  width: 240px;
  margin: 14px 0 0 0;
  transition:1s ease;
  opacity:1;
}

#nav-items {
  display:none;
  margin:0 auto 0;
  float:right;
    margin: 13px 0 0 0px;
    /* float: left; */
    text-align: left;
}

#nav-items ul {
  display: block;
  margin:0 auto 0;
  padding:0;
}

#nav-items ul li {
  padding: 0px 0px 0px 16px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin:0;
  transition:ease .3s;
}

#nav-items ul li.nav-item a {
    font-weight: bold;
    text-transform: none;
    letter-spacing: 0px;
    text-decoration: none;
    font-size: 18px;
    color: #6600cc;
    transition: ease .3s;
    padding: 2px 8px;
    display: inline-block;
    font-family: 'Open Sans';
}

#nav-items ul li.social {
  margin:0;
  padding:0;
  float:right;
  border:none;
  transform:translateY(-2px);
}

#nav-items ul li.social a i {
  color: rgba(255,255,255,.8);
  font-size:18px;
  margin: 2px 12px 0 0;
  transition:ease .3s;
}

#nav-items ul li.social a:last-of-type i {
  margin: 2px 0px 0 0;
}

#nav-items ul li.nav-item a:hover, #nav-items ul li.social a:hover i {
  color: #6600cc;
  cursor:pointer;
}


.nav-title:hover {
  filter:brightness(1.6);
}

.nav-title-small:hover {
  filter:brightness(1.6);
}
  
#nav a.button {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c9daf8+0,FFFFFF+100 */
  padding:3px 12px;
  background:#ed3024;
  color: #FFFFFF;
  z-index:20;
  position:relative;
  float:right;
  margin:9px;
}

@media only screen and (min-width: 850px) {
  #nav-items {
    display:inline-block;
  }
  
  .hamburger {
      display:none;
  }
  .overlay {
      display:none;
    }

}


/* ----- OVERLAY RULES ----- */

.overlay {
  position: fixed;
  color:#FFFFFF;
  background: rgba(0,0,0,.98);
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  -webkit-transition: opacity .35s, visibility .35s, height 1s;
  transition: opacity .35s, visibility .35s, height 1s;
  overflow: hidden;
  z-index:100;

}

.overlay.open {
  /*opacity: 1;*/
  visibility: visible;
  height: 100%;
}

/*.overlay.open li {
  -webkit-animation: fadeIn .5s ease forwards;
          animation: fadeIn .5s ease forwards;
}*/

.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}
  
.overlay-item {
  text-align:center;
  margin:0 auto 0;
  background: none;
  cursor: pointer;
  border: none;
  outline: none;
  display:block;
  text-transform: none;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
  line-height:1.4;
    letter-spacing:0px;
    position: relative;
    color: #FFFFFF;
    text-decoration: none;
    -webkit-transition: .35s;
    transition: .35s;
  padding:2px;
}

.overlay-item:hover {
  color:#6600cc;
}

.overlay .social {
  margin:22px auto 22px;
}

.overlay .social a {
  display:inline-block;
  margin:0 8px 0;
  text-align:center;
  color:#6600cc;
  font-size:28px;
}

.overlay .social a i:hover {
  color:#f7adae;
}

/* TOP */

#top {
  padding:0;
  text-align:center;
  /*border: 4px solid rgba(246,187,66,1);*/
  transition:1s ease;
}

/*#top.scroll {
 border: 4px solid rgba(246,187,66,0);
}*/

#top .section-wrapper {
  /*height:100%;*/
  padding:0;
}

#top-logo {
  width: calc(100% - 0px);
  max-width:744px;
  margin: 22px auto 22px;
  bottom: 4%;
  left:22px;
  padding:33px 22px 22px;
  /*position: absolute;*/
  vertical-align: bottom;
      max-width: 600px;
    margin: 22px auto 22px;
}

#top-logo-title {
  width: 100%;
  position: relative;
}

/*#top-logo.mobile {
  display:block;
}

#top-logo.desktop {
  display:none;
}*/

@media only screen and (min-width: 850px) {
  #top-logo {
  width: calc(100% - 88px);
  left:44px;
}
/*#top-logo.mobile {
  display:none;
}

#top-logo.desktop {
  display:block;
}*/
  }


/* HOME */

#home {
  background:#FFFFFF;
}

#home p {
  color:#230d19
}

p .special {
}

/* ABOUT */

#about .section-wrapper p a {
  color:#230d19;
}

#about .section-wrapper p a:hover {
  color:#6600cc;
}

#about ol {
  margin:22px 22px 33px;
}

#about ol li {
  margin: 0 auto 12px;
  font-family: 'Open Sans';
  font-size: 17px;
}

.gallery {
  height: 140px;
}

.gallery-item {
  max-height: 100%;
}

.gallery img {
  height:140px;
  width:auto;
  margin:0 4px 0;
  display:inline-block;
}

/* LEADERSHIP */

#leadership {
  display:block;
  height:auto;
}

.billing-wrap {
  display:block;
  margin:0 auto 44px;
  text-align:center;
  max-width:1000px;
}

.billing {
  text-align: center;
  padding: 11px 22px;
  display:block;
  vertical-align:top;
  text-decoration:none;
}

.billing h3 {
  text-transform: none;
  font-size: 18px;
  line-height: 1.2;
  margin:0 auto 0px;
  transition:.3s ease;
  font-weight:bold;
}

a.billing h3:hover {
  color:#6600cc;
  transform:scale(1.02);
}

.billing h4 {
  font-family: 'Libre Caslon Text', serif;
  color:#6600cc;
  font-style:italic;
  font-weight:400;
  font-size:18px;
  text-transform:none;
  margin:0 auto 12px;
}

.billing p.first-job {
  text-align:center;
  margin:0 auto 12px;
}

.billing a {
  font-weight:bold;
}

.bio {
  background:#FFFFFF;
  color:#230d19;
  position: relative;
  padding: 55px 33px 33px;
  width: auto;
  max-width: 900px;
  margin: 22px;
  overflow:scroll;
    border-radius: 0px;
    border: 4px solid #6600cc;
}

.bio .bio-wrap h2 {
  background: none;
  margin: 0 auto 33px;
  color: #230d19;
  border:none;
}

.bio .bio-wrap p {
  line-height:1.6;
  font-size:15px;
  text-align:left;
  overflow:visible;
  margin: 0 auto 17px;
}

#in-memoriam {
    border: dotted #6600cc 3px;
    padding: 44px 0 0px;
    margin: 88px auto 0;
    display: block;
    position: relative;
    border-radius: 12px;
}

#in-memoriam h2 {
  background:none;
  color:#6600cc;
  border:none;
  margin:0 auto 33px;
}

@media only screen and (min-width: 550px) {
  .billing {
    display:inline-block;
  }
}
  

/* FELLOWS */

#fellows {
  height:auto;
}

.headshot {
    display:block;
    float: none;
    margin: 0 auto 33px;
    width:100%;
    transform:rotate(-2deg);
    box-shadow: 4px 4px 0px #6600cc;

}

@media only screen and (min-width: 550px) {
  .headshot {
    width:240px;
    float: left;
    margin: 0 33px 33px 0;
  }

  #home .headshot {
  width:340px;
  margin:0 44px 33px 0;
}
}



/* APPLY */

#apply {
  height:auto;
}

#apply ol {
  margin:22px 22px 33px;
}

#apply ol li {
  margin: 0 auto 12px;
  font-family: 'Open Sans';
  font-size: 17px;
}

#apply p a {
  color:#6600cc;
}

/* FOOTER */

#footer {
  color:#FFFFFF;
  background:rgba(0,0,0,1);
  padding:88px 44px 111px;
  border-top: 1px dotted rgba(255,255,255,.5);
  box-shadow: -3px -3px 12px rgba(0,0,0,.42);
  /*border-top: 1px dotted #6600cc;*/
}

#footer p {
  color:#FFFFFF;
    margin: 0 auto 4px;
    text-align:center;
}

#footer p.mice {
    font-size: 11px;
    margin: 22px auto 22px;
}

#footer a {
  display:block;
  text-align:center;
  color:#FFFFFF
}

#footer h4 {
  opacity:1;
  color: #FFFFFF;
  font-family: 'Libre Caslon Text', serif;
}

#footer-h4 {
  font-family: 'Libre Caslon Text', 'Open Sans' !important;
}

#mc_embed_signup form {
    padding: 10px 0 10px 0 !important;
  }

#mc_embed_signup .mc-field-group {
  padding-bottom: 9px !important;
  margin: 0 auto 0;
  width:100%;
}

#mc_embed_signup .mc-field-group label {
    font-size:12px;
}

#mc_embed_signup .mc-field-group input {
  color:#000000 !important;
}

#mc_embed_signup_scroll {
  max-width: 500px;
  margin: 0 auto 0;
}

#mc_embed_signup .button {
  background: #6600cc !important;
  background-color: #6600cc !important;
  color:#FFFFFF !important;
  margin:0 auto 44px !important;
  display:block !important;
  text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 4px 17px 2px !important;
    -webkit-appearance: none !important;
    -webkit-border-radius:4px !important; 
}

#mc_embed_signup #mce-success-response {
  color: #a0a0a0 !important;
  padding: 0;
  margin: 7px auto 33px;
  text-align: left;
  font-size: 14px;
}

#mce-error-response {
  width: 100% !important;
  color: #FFFFFF !important;
}

/* BACKGROUNDS */

.frame-photo {
  border:solid 2px;
  border-bottom-color:#ffe;
  border-left-color:#eed;
  border-right-color:#eed;
  border-top-color:#ccb;
  max-height:100%;
  max-width:100%;
}

.frame {
  background-color:#ddc;
  border:solid 5vmin #eee;
  border-bottom-color:#fff;
  border-left-color:#eee;
  border-radius:2px;
  border-right-color:#eee;
  border-top-color:#ddd;
  box-shadow:0 0 5px 0 rgba(0,0,0,.25) inset, 0 5px 10px 5px rgba(0,0,0,.25);
  box-sizing:border-box;
  display:inline-block;
  margin:10vh 10vw;
  height:80vh;
  padding:8vmin;
  position:relative;
  text-align:center;
  &:before {
    border-radius:2px;
    bottom:-2vmin;
    box-shadow:0 2px 5px 0 rgba(0,0,0,.25) inset;
    content:"";
    left:-2vmin;
    position:absolute;
    right:-2vmin;
    top:-2vmin;
  }
  &:after {
    border-radius:2px;
    bottom:-2.5vmin;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
    content:"";
    left:-2.5vmin;
    position:absolute;
    right:-2.5vmin;
    top:-2.5vmin;
  }
}


.bg-subpage {
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: -1;
    background:#FFFFFF;
    /*background-image: url("../_img/bg-grid.jpg");
    background-attachment: fixed;*/
}
