@charset "UTF-8";



* { box-sizing: border-box; }



html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0;
  color: #333;
  background-color: #f6f6ef;
}


figure{
  margin-left: 0;
  margin-right: 0;
  
}

figcaption{
  margin-top: 1rem;
}



figcaption *{
  margin-left: 0;
}





img{
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0;
}


/* ------------------ structure ------------------- */


#content {
  width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

}
#left {
  position: absolute;
  top:0;
  width: 50%;
  height: 100%;
  overflow: auto;
  /*padding: 3rem 0 3rem 3rem;*/
  padding: 2rem;
  color: #111;

}

#left.reveal--no-content{
  display: none;
}
#left.reveal--no-right-content{
  width: 100%;
}




#right {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: auto;
  /*padding: 3rem 3rem 3rem 0 ;*/
  padding: 2rem;

/*  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
  -moz-box-shadow:    0px 0px 10px 0px rgba(0,0,0,0.25);
  box-shadow:        0px 0px 10px 0px rgba(0,0,0,0.25);*/


  /*background-color:#ecebd9;*/
  color: #111;

  background-color: transparent;
  background-image: url('../images/back.png');
  background-repeat: repeat-y;
  background-position: 0 0;
  background-size: 150%;
}

#left.reveal--no-content + #right.reveal{
  height:100%;
  position: relative;
  width: 100%;
  left: 0%;
  background:#ecebd9;
}

#left.reveal--no-right-content + #right{
  display: none;
}

#right:before{
  content: '';
  position: absolute;
  top:0;
  bottom: 0;
  right: 0;
  left: 150px;
  background-color:#ecebd9;
}


.inner{

  padding: 4rem 5rem;

  width: 100%;
  text-align: left;
  clear: both;
  position: relative;

}

#left .inner{
  max-width: 800px;
}
#right .inner{
  max-width: 800px;
}

.overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0;
  pointer-events:none;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -ms-transition: opacity 1s;
  transition: opacity 1s;
}


.fading-out{
  -webkit-filter: blur(5px);
  filter: blur(5px);
} 
.fading-out .overlay{
  opacity: .2;

}


#left .inner{
  float: right;
}

#right .inner{
  float: left;
}


.recipient, .highlight{
  margin-bottom: 5rem;
}
.load {
  margin-top: 5rem;
}



@media screen and (max-width: 768px){
  html, body {
    height: auto;
    overflow: visible;
  }

  #content {
    height: auto;
    position: relative;
  }

  #left, #right{
    position: relative;
    height: auto;
    width: 100%;
    display: block;
    float: none;
    clear: both;
    margin: 0;
    left: 0;
    padding: 1rem;
    text-align: center;
  }
  #left .inner, #right .inner{
    width: 100%;
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
    float: none;
  } 
  #right{
  padding-top:3rem;
  background-image: url('../images/back-90.png');
  background-repeat: repeat-x;
  background-position: 0 0;
  background-size: 100%;
  }
  #right:before{
  content: '';
  position: absolute;
  top:150px;
  bottom: 0;
  right: 0;
  left: 0;
  background-color:#ecebd9;
}


  .recipient, .highlight{
    margin-bottom: 3.5rem;
  }
  .load {
    margin-top: 3.5rem;
  }


}

/* ------------------ highlights ------------------- */



.highlight{
  margin-bottom: 8rem;
}

.highlight-year{
  font-weight: normal;
}




@keyframes logo-shrink {
  from {width: 240px;}
  to {width: 120px;}
}


/* ------------------ logo ------------------- */


.logo{
  width: 110px;
  margin-bottom: 1rem;
  position: relative;
  top:-2rem;

  -webkit-transition: width .5s;
  -moz-transition: width .5s;
  -o-transition: width .5s;
  -ms-transition: width .5s;
  transition: width .5s;

  text-align:center;
  margin-left:auto;
  margin-right:auto;
  padding-right: 2rem;


}

.logo.large{
  width: 200px;
  max-width: 100%;
}

@media screen and (max-width: 768px){
  .logo{
    width: 100px;
    padding: 0;
    margin-bottom: 2rem;
  }
}

/* ------------------ menu ------------------- */


.menu{

  list-style: none;
  margin-bottom: 5rem;
  margin-left: 0;
  padding-left: 0;

}

@media screen and (max-width: 768px){
  .menu{
    margin-bottom: 3.5rem;
  }
}


.menu .menu-item{

  display: inline-block;
  margin-right: .2rem;
  margin-bottom: .2rem;
  text-align: center;

}

.menu a{
  text-decoration: none;
  color: #333;
  padding: .5rem 1rem;
  /*line-height: 1.1;*/
  line-height: normal;
  background-color: #fff;
  border: 2px solid #333;
  display: inline-block;


  margin-left: auto;
  margin-right: auto;



  -webkit-transition: background-color .5s, color .5s;
  -moz-transition: background-color .5s, color .5s;
  -o-transition: background-color .5s, color .5s;
  -ms-transition: background-color .5s, color .5s;
  transition: background-color .5s, color .5s;

/*  padding-bottom: .15rem;
  border-bottom: 2px solid;
  margin-right: 1.25rem;
  color: #dd542a;*/

}


.menu .menu-item.is-active a,
.menu a:hover,
.menu a.clicked{
  background-color: #333;
  color: #fff;
}


.label{
 padding: .5rem 1.25rem;
 background-color: #fff;
 border: 2px solid #333;
 background-color: #333;
 color: #fff;
 width: auto;
 margin-right: auto;
 display: inline-block;
}

.boxed{
  line-height: 1.1;
  text-decoration: none;
  color: #fff;
  padding: .5rem 1rem;
  line-height: normal;
  background-color: #20a4b8; 
  border: 2px solid #20a4b8; 
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  -webkit-transition: background-color .5s, color .5s;
  -moz-transition: background-color .5s, color .5s;
  -o-transition: background-color .5s, color .5s;
  -ms-transition: background-color .5s, color .5s;
  transition: background-color .5s, color .5s;
}

button, .button, .boxed, .menu a{
  text-align: left;
}

/*
@media screen and (min-width: 1000px){
  .discretionary-block{
    display: inline-block;
  }
}*/

/* ------------------ funding ------------------- */

.fund{
  border-bottom: 2px solid #20a4b8;

  padding-bottom: 2rem;
  margin-bottom: 6rem;

}

.fund:last-child{
  border-bottom:none;
  margin-bottom: 0; 
}

.fund-apply-info {
  font-weight: bold;

  color: #fff;
  background-color: #333; 
  display: block;
  padding: 1.5rem 4rem !important;
  margin-bottom: 2rem;
  margin-left: 0;

}

.fund-apply-info ul{
  padding: 0;
  margin-left: 2rem;

}
.fund-apply-info li{
  margin-bottom: 0rem;
}

.fund-apply-info-button{
  margin-bottom: 4rem;
}


.quicklinks.menu .menu-item{
  display: block;
  text-align: left;
}


/* ------------------ blockquote ------------------- */


figure.blockquote{
  color: #20a4b8;
}

blockquote {
  font-family: 'Recoleta-Medium', Georgia, serif;
  margin-left: 0;
}
blockquote > *{
  margin-left: 0;
}


.blockquote p {
  font-family: inherit;
  font-size: 1.5rem;
}
.blockquote figcaption{
 font-family: "Walsheim", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size: inherit;
}


/* ------------------ groups ------------------- */


.group{
  margin-bottom:5rem;
  border-bottom:2px solid ;
}


@media screen and (max-width: 768px){
  .group{
    margin-bottom:4rem;
  }
}


/* ------------------ carousel ------------------- */

.carousel{
  margin-bottom: 5rem;
  position: relative;

}
.carousel ul{
  overflow: hidden;
  position: relative;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  height: 0;
  margin-bottom: 0;

}


.carousel li{
  position: absolute;
  top:0;
  opacity: 0;
  margin: 0 !important;
  width: 100%;


  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -o-transition: opacity .5s;
  -ms-transition: opacity .5s;
  transition: opacity .5s;
}

.carousel li:first-child{
  opacity: 1;
}


.carousel nav{
  color: #333;
  padding: .55rem 1.5rem .35rem 1.5rem;
  background-color: #fff;
  border: 2px solid #333;
  display: inline-block;
  margin-left: 0rem;
  position: relative;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.carousel nav button{
  padding: 0 !important;
  margin: 0;
  background: transparent;
  border: none;
  color: #333;
}

.carousel nav .index,
.carousel nav .counter{
  min-width: 1.5rem;
  text-align: center;
  display: inline-block;
}

.carousel .caption{
  display: inline-block;
  margin-top: 3rem;
}
.carousel .accession{
  color: #999;
}


.lds-circle {
  display: inline-block;
  transform: translateZ(1px);
  position: absolute;

  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
}
.lds-circle > div {
  display: inline-block;
  width: 51px;
  height: 51px;
  margin: 6px;
  border-radius: 50%;
  background: #fff;
  animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes lds-circle {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
  }
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(1800deg);
    animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
  }
  100% {
    transform: rotateY(3600deg);
  }
}


/* ------------------ collection ------------------- */

.collection{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ------------------ loading ------------------- */

.inner .load{
  -webkit-transition: height .5s;
  -moz-transition: height .5s;
  -o-transition: height .5s;
  -ms-transition: height .5s;
  transition: height .5s;
}


/* ------------------ secure ----------------------*/

.alert{
  color: red;
  margin-bottom: 3rem;
}

