﻿/* Here's where we can set all our basic color variables to reference later 
*/
:root {
    --ui-blue: #00558C;
    --ui-green: #00664F;
    --ui-grey: #63666A;
    /*No longer part of the brand
--font-red: darkred;  
        --background-red: pink; 
--ui-light-green: #00C389;
        --background-blue: #015581;
        --ui-light-blue: #00A9E0;
        --ui-light-grey: #BBBCBC;*/
    /* --ui-red: #BD472A; */
    --ui-red: #e62c0e;
    --ui-yellow: #FFCD00;
}

@font-face {
    font-family: 'Antonio-Bold';
    src: url('../fonts/antonio/Antonio-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto-Thin';
    src: url('../fonts/Roboto/Roboto-Thin.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto-Light';
    src: url('../fonts/Roboto/Roboto-Light.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto-Regular';
    src: url('../fonts/Roboto/Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto-Bold';
    src: url('../fonts/Roboto/Roboto-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto-Italic';
    src: url('../fonts/Roboto/Roboto-RegularItalic.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto-Black';
    src: url('../fonts/Roboto/Roboto-Black.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Zilla-Slab-Regular';
    src: url('../fonts/Zilla_Slab/ZillaSlab-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Zilla-Slab-Bold';
    src: url('../fonts/Zilla_Slab/ZillaSlab-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

/* End color variables */

.needsAttention{
    /* A secret class for highlighting anything we still need to fix - missing links, sample information, etc. */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto-Regular';
    font-size: 100%;
}

h1 {
    /*reset styles*/
    margin: 0;
    padding: 0;
    /* end reset styles*/
    font-family: Antonio-Bold;
    font-variant: small-caps;
    font-size: 4em;
}

h2 {
    font-family: Zilla-Slab-Regular;
    font-size: 2rem;
    /*padding: 0 2%;*/
}

h3 {
    font-family: Roboto-Bold;
    font-weight: 200;
    font-size: 1.2rem;
    /*background-color: white;*/
    /*padding: 0 5%;*/
}

h4 {
    font-family: Roboto-Bold;
    font-weight: 200;
    font-size: 1rem;
}

b, strong { 
    font-family: Roboto-Bold;
    font-style: normal;
    font-weight: normal;
}

i, em { 
    font-family: Roboto-Italic;
    font-style: normal;
    font-weight: normal;
}

table {
    border-collapse:collapse;
    /*width:100%;*/
}

table.border td, table.border th{
border:1px solid #ddd;
}

table td, table th {
    padding:1em;
    text-align:left;    
}

/* special table class for schedules, like on 2e Summit */
.schedule {
 width:35em;
 /* we float left so that you can fit two days of a schedule next to each other on a large screen */
 float:left;
}

table.schedule td, table.schedule th {
    padding: .2em;
}


    ul {
        display: block;
        list-style-type: disc;
        list-style-position: outside;
        margin: 0;
        padding: 5px;
    }

ol {
    display: block;
    list-style-type: decimal;
    list-style-position: outside;
    margin:0;
    padding:5px 40px 5px 80px;
}


.hero-banner-content {
    height: -webkit-calc(90vh - 140px);
    height: calc(90vh - 140px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, 1));
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-content: flex-end;
    -ms-flex-line-pack: end;
    align-content: flex-end;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    width:100%;
}

.hero-banner h1 {
    color: #ffffff;
    background: none;
    font-size: 5vw;
    position: absolute;
    bottom: calc(15% + 60px);
    left: 50%;
    margin-left: -30%;
}

.intro {
    font-family: Roboto-Thin;
    font-size: 20px;
}

p {
    Xpadding: 0 5%;
}

sup { 
    font-size: 50%;
}

.wrapper {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "ui-header"
        "bbc-header"
        "hero-banner"
        "body-content"
        "bbc-footer";
}

.ui-header {
    grid-area: ui-header;
    display: none;
    background-color: #000000;
    color: #ffffff;
    height:40px;
}

.ui-logo {
    width: 140px;
}

.bbc-header {
    grid-area: bbc-header;
    /*display: flex;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;*/
    /*height: 100px;*/
    /*margin-bottom: -102px;*/
    width: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
    z-index: 999;
    transition: ease 0.5s;
}

.bbc-header-content {
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-basis: 33%;
        -ms-flex-preferred-size: 33%;
            flex-basis: 33%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 0px;
}
.bbc-header-content .title{
    text-align: center; 
    margin-left: -50px; 
    margin-top: 15px; 
    line-height: 1em; 
    width: 350px;
}
.bbc-header-content .title h1, .bbc-header-content .title h2{
    font-family: Roboto-Black;
}

video#bgvideo {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    width:100%;
    height: auto;
    z-index: -100;
    background: url(placeholder.jpg) no-repeat;
    background-size: cover;
    object-fit:cover;
  /*position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;*/
}

/* Offsets in-page links to account for fixed header */
section:before {
    content: '';
    display: block;
    position: relative;
    width: 0;
    height: 5em;
    margin-top: -5em;
}

.hero-banner { 
    grid-area: hero-banner;
    /*border-bottom: 1px solid black;*/
    /* height: calc(100vh - 145px);
    background: url('https://belinblank.education.uiowa.edu/students/sstp/img/hero-banner.jpg') no-repeat;
    background: url(https://via.placeholder.com/1200x800.jpg/f2f2f2?text=Application+Test+Image) no-repeat; */
    background-size: cover;
    display: grid;
}

/* Safari 7.1+ */

_::-webkit-full-page-media, _:future, :root .safari_only {
  /*display: flex;*/
}

/*.application-hero {
    z-index: -1;
    background-image: url(https://via.placeholder.com/700x200.jpg/ffffff?text=Application+Test+Image);
    background-image: url(../img/sstp/hero-banner.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    z-index: 1000;
}*/

.application-vegas {
    display: -ms-grid;
    display: grid;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
        -ms-flex-align: end;
            align-items: flex-end;
    z-index: -1;
}

#page-nav {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
	/*grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;*/
    width: 100%;
    /*height: 125px;*/
    margin-top: -125px;
    font-family: Roboto-Light;
    font-variant: small-caps;
    font-size: .9rem;
    text-align: center;
    -webkit-transition: ease 0.5s;
    -o-transition: ease 0.5s;
    transition: ease 0.5s;
    z-index: 2;
}

#page-nav > a {
    -webkit-box-flex: 0;
    -webkit-flex: 0 32%;
        -ms-flex: 0 32%;
            flex: 0 32%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    text-decoration: none;
    line-height: 1.1rem;
    color: #ffffff;
}   
#page-nav a:hover {
    background: rgba(20, 20, 20, .8); 
    color: white;
    transition: all 0.5s;
}

.header-adjust {
    background-color: #ffffff;
}

.social {
    width: 35px;
    height: 35px;
    display: inline-block;
}

.facebook {
    background-image: url("https://belinblank.education.uiowa.edu/img/logo/social/facebook-circle-black-transparent.png");
    -webkit-transition: background-image 0.33s ease-in-out;
    -moz-transition-property: background-image 0.3s ease-in-out;
    -ms-transition-property: background-image 0.3s ease-in-out;
    -o-transition-property: background-image 0.3s ease-in-out;
    transition: background-image 0.3s ease-in-out;
    background-size: contain;
}

/*.facebook:hover {
    background-image: url("https://belinblank.education.uiowa.edu/img/logo/social/facebook-color.png");
    background-repeat: no-repeat;
    background-size: contain;
}*/

.twitter {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/twitter-circle-black-transparent.png") no-repeat;
    background-size: contain;
    -webkit-transition: background-image 0.33s ease-in-out;
    -moz-transition-property: background-image 0.3s ease-in-out;
    -ms-transition-property: background-image 0.3s ease-in-out;
    -o-transition-property: background-image 0.3s ease-in-out;
    transition: background-image 0.3s ease-in-out;
}

/*.twitter:hover {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/twitter-color.png") no-repeat;
    background-size: contain;
}*/

.instagram {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/instagram-circle-black-transparent.png") no-repeat;
    background-size: contain;
    -webkit-transition: background-image 0.33s ease-in-out;
    -moz-transition-property: background-image 0.3s ease-in-out;
    -ms-transition-property: background-image 0.3s ease-in-out;
    -o-transition-property: background-image 0.3s ease-in-out;
    transition: background-image 0.3s ease-in-out;
}

/*.instagram:hover {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/instagram-color.png") no-repeat;
    background-size: contain;
}*/

.wordpress {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/wordpress-circle-black-transparent.png") no-repeat;
    background-size: contain;
    -webkit-transition: background-image 0.33s ease-in-out;
    -moz-transition-property: background-image 0.3s ease-in-out;
    -ms-transition-property: background-image 0.3s ease-in-out;
    -o-transition-property: background-image 0.3s ease-in-out;
    transition: background-image 0.3s ease-in-out;
}

/*.wordpress:hover {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/wordpress-color.png") no-repeat;
    background-size: contain;
}*/

.youtube {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/youtube-circle-black-transparent.png") no-repeat;
    background-size: contain;
    -webkit-transition: background-image 0.33s ease-in-out;
    -moz-transition-property: background-image 0.3s ease-in-out;
    -ms-transition-property: background-image 0.3s ease-in-out;
    -o-transition-property: background-image 0.3s ease-in-out;
    transition: background-image 0.3s ease-in-out;
}

/*.youtube:hover {
    background: url("https://belinblank.education.uiowa.edu/img/logo/social/youtube-color.png") no-repeat;
    background-size: contain;
}*/


.scroll-top {
}

.body-content {
    grid-area: body-content;
    margin: auto;
    line-height: 2rem;
    /*width:90%;*/
}

.body-content > section {
    Xpadding: 1% 5%;
    padding-bottom:30px;
}

.body-content > section > h2{
    padding:0;
}

.body-content #photo-gallery ul {
    display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.tab-img-icon {
    width: 50px;
}

section #questions {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
}

.action-button {
  background-color: var(--ui-red); 
  /*border: 2px solid var(--ui-red);*/
  border-radius: 2px;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  /*display: inline-block;*/
  font-size: 16px;
  font-style: italic;
  color: #ffffff; 
  margin: 4px 2px;
  /*-webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;*/
  cursor: pointer;
  /* Button Shine */
  background-repeat: no-repeat;
  background-position: -140px -140px, 0 0; 
  background-image: -webkit-linear-gradient(
    top left,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: -moz-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );    
  background-image: -o-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  
  -moz-background-size: 250% 250%, 100% 100%;
  background-size: 250% 250%, 100% 100%;
  
  -webkit-transition: background-position 0s ease;
  -moz-transition: background-position 0s ease;       
  -o-transition: background-position 0s ease;
  transition: background-position 0s ease;
}

.action-button:hover {
  background-color: var(--ui-red);
  color: #ffffff;
  /* Button Shine */
  background-position: 0 0, 0 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.action-button img {
    width: 15px;
    margin: 5px 0 0 10px;
}

.info-button {
  background-color: var(--ui-blue); 
  border-radius: 2px;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-style: italic;
  color: #ffffff; 
  margin: 4px 2px;
  cursor: pointer;
  /* Button Shine */
  background-repeat: no-repeat;
  background-position: -140px -140px, 0 0; 
  background-image: -webkit-linear-gradient(
    top left,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: -moz-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );    
  background-image: -o-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  -moz-background-size: 250% 250%, 100% 100%;
  background-size: 250% 250%, 100% 100%;
  
  -webkit-transition: background-position 0s ease;
  -moz-transition: background-position 0s ease;       
  -o-transition: background-position 0s ease;
  transition: background-position 0s ease;
}

.info-button:hover {
  background-color: var(--ui-blue);
  color: #ffffff;
  /* Button Shine */
  background-position: 0 0, 0 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.signup-button {
  background-color: var(--ui-green); 
  border-radius: 2px;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-style: italic;
  color: #ffffff; 
  margin: 4px 2px;
  cursor: pointer;
  /* Button Shine */
  background-repeat: no-repeat;
  background-position: -140px -140px, 0 0; 
  background-image: -webkit-linear-gradient(
    top left,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: -moz-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );    
  background-image: -o-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  -moz-background-size: 250% 250%, 100% 100%;
  background-size: 250% 250%, 100% 100%;
  
  -webkit-transition: background-position 0s ease;
  -moz-transition: background-position 0s ease;       
  -o-transition: background-position 0s ease;
  transition: background-position 0s ease;
}

.signup-button:hover {
  background-color: var(--ui-green);
  color: #ffffff;
  /* Button Shine */
  background-position: 0 0, 0 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.signup-button img {
    width: 15px;
    margin: 5px 0 0 10px;
}

.body-content .log-in {
    font-size: .7em;
}

.body-content section.quote {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-style: italic;
    padding: 0% 0%;
    font-family: Zilla-Slab-Regular;
    font-size: 1.4rem;
    line-height: 1.7;
}

blockquote {
    border-left: 8px solid #FFCD00;
    text-align: left;
    padding-left: 1.875rem;
}

blockquote--homepage {
    padding: 50px 0;
}   

/*.blockquote-center blockquote:before {
    position: absolute;
    content: '';
    height: 10px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 15%;
    background-color: var(--ui-yellow);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    }*/

section.quote footer {
    font-family: Roboto-Bold;
    font-size: 1em;
}

section.quote img {
    width: 150px;
    height: 150px;
    margin-right: 30px;
}

.split-screen-container h3 {
    font-family: Roboto-Thin;            
}

.split-screen-container .homepage-emphasis {
    font-family: Roboto-Bold;
}
.bbc-footer {
    grid-area: bbc-footer;
    width: 100%;
    background-color: black;
    margin: auto;
    margin-top: 50px;
    width: 100%;
    font-size: .75rem;
    line-height: 1.5rem;
    color: #ffffff;
    padding: 0 0 30px 0;
}

.bbc-footer-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
     flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding-bottom: 30px;
    flex-direction:row;
    width:calc(100% - 6em);
}

.bbc-footer-content > div{
    width:20em;
}

.bbc-footer-content h4 {
    font-weight: 400;
    color: #FFCD00;
}

.bbc-footer-content h4:before {
    content: " | ";
    color: #ffcd00;
    font-size: 130%;
}

.bbc-footer-content a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
} 

.bbc-footer-content ul {
    display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.footer-logo {
    width: 225px;
        padding-top: 2em;
}

.bbc-footer-contact {
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    padding-top: 15px; 
    border-top: 5px solid white; 
    font-family: 'Montserrat', sans-serif;
    flex-direction:row;
    flex-wrap:wrap;
    /*width:calc(100% - 6em);*/
}

.bbc-footer-contact a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.bbc-footer-contact > span {
    width:20em;
}

.bbc-footer-newsletter{
    background-color: var(--ui-grey); 
    color: white; 
    padding:3em;
    text-align:center;
   
}

.bbc-footer-newsletter div{
    display:inline-block;
    text-align:left;
}

/* MailChimp subscribe footer styling */
#mc-embedded-subscribe-form input[type=checkbox]{display: inline; width: auto;margin-right: 10px;}
#mergeRow-gdpr {margin-top: 20px;}
#mergeRow-gdpr fieldset label {font-weight: normal;}
#mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;}
 #mc_embed_signup{background-color: var(--ui-grey); clear:left; font:14px Helvetica,Arial,sans-serif; width:100%;}
	                        /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
	                           We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */

.menu-social-icon {
    padding: 0 5%;
}

.program-video {
    width: 100%;
    height: 210px;
}

.video-container-centered {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.button-top-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-align-self: flex-end;
        -ms-flex-item-align: end;
            align-self: flex-end;
    margin: 30px 0 0 0;
}
.button-top-wrapper a {
    width:2em;
}

.button-top {
	background-color:#f5f5f5;
	-webkit-border-radius:42px;
	border-radius:42px;
	display:inline-block;
	cursor:pointer;
	color:#000000;
	font-family:Verdana;
	font-size:12px;
	padding:20px 15px;
	text-decoration:none;
    text-align: center;
    line-height: .9rem;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.button-top:hover {
	background-color:#ebebeb;
    transition: ease 0.3s;
}

.to-top-image {
    width: 100%;
}

.to-top-image:hover {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: bottom;
}

/* info days date grid */
#dates {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
    -ms-flex-pack: space-evenly;
     justify-content: space-evenly;
    padding: 0;
}

.date-card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    text-align: center;
    padding: .5em 0 1em 0;
    margin-bottom: 1em;
}

    .date-card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

.date-container {
    margin: 1em;
    padding: 2px 16px;
}

    .date-container .day {
        font-size: 4em;
        padding: .2em 0;
    }

#dates a.sign-up {
    background-color: #c8ffb7;
    transition: 0.3s;
    height: 40px;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    border-radius: 3px;
}

    #dates a.sign-up:hover {
        background-color: green;
        color: white;
        text-decoration: none;
    }

.bounce {
    animation-name: bounce-7;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
}

@keyframes bounce-7 {
    0%   { transform: scale(1,1)      translateY(0); }
    10%  { transform: scale(1.1,.9)   translateY(0); }
    30%  { transform: scale(.9,1.1)   translateY(-100px); }
    50%  { transform: scale(1.05,.95) translateY(0); }
    57%  { transform: scale(1,1)      translateY(-7px); }
    64%  { transform: scale(1,1)      translateY(0); }
    100% { transform: scale(1,1)      translateY(0); }
}

.lead-text-emphasis {
    font-size: 1.5rem;
}

@media screen and (min-width: 801px) and (max-width:1400px) {
    .hero-banner h1 {
        bottom: calc(40% + 60px);
    }
}
        @media screen and (min-width: 360px) and (max-width:800px) {
            .hero-banner h1 {
                font-size: 7vw;
                position: absolute;
                bottom: calc(50% + 60px);
                left: 50%;
                margin-left: -30%;
            }

            .bbc-header-content h1 {
                font-size: 1.75em;
                /*width:300px;*/
            }

            .bbc-header-content h2 {
                font-size: .85em;
                /*width:300px;*/
            }

            .program-video {
                width: 100%;
                height: 450px;
            }

            .bbc-logo {
                width: 9.375em;
                padding-right: 12.5em;
                margin-top: 5px;
            }

            .body-content {
                max-width: 85%;
            }

                .body-content section.quote {
                    padding: 5%;
                    font-size: 1.2em;
                }

            section.quote img {
                width: 50px;
                height: 50px;
                margin-right: 10px;
            }

            .bbc-header-content .title {
                width: 240px;
                font-size: 70%;
            }

            #page-nav > a {
                padding: 5px 0;
            }
        }

        @media screen and (min-width:501px) and (max-width: 800px) {

            .program-video {
                width: 100%;
                height: 350px;
            }

            .bbc-logo {
                width: 9.375em;
                padding-right: 5em;
                margin-top: 5px;
            }



            /* At smaller screen sizes, we have to make the subheading for the Center skinnier to avoid inpinging on the hamburger menu icon*/
            .bbc-header-content h1 {
                font-size: 1.5em;
                /*width:300px;*/
            }

            .bbc-header-content h2 {
                font-size: .7em;
                /*width:300px;*/
            }
        }
        /* BEGIN BIG SCREEN */
        @media screen and (min-width: 801px) {
            ul {
                padding: 5px 40px 5px 80px;
            }

            .body-content {
                max-width: 80%;
            }

            #page-nav {
                /*display: flex;*/
                /*grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 1fr;*/
                height: 80px;
                margin-top: -80px;
                transition: ease 0.5s;
            }

                #page-nav > a {
                    -webkit-box-flex: 1;
                    -webkit-flex: 1;
                    -ms-flex: 1;
                    flex: 1;
                    min-width: 10%;
                }

            /* puts some nice space between instances of a schedule table, usually between two days on one line on a big screen */
            .schedule:nth-child(even) {
                margin-right: 10em;
            }
        }
        /* END BIG SCREEN */
        .bbc-header-content {
        max-width: 100%;
    }
    .bbc-header-content h1{
        font-size: 2em;
        /*width:300px;*/
    }
    .bbc-header-content h2{
        font-size: 1em;
        /*width:300px;*/
    }

    .ui-header {
        display: block;
    }


    .program-video {
    width: 100%;
    height: 450px;
    }
    .bbc-footer-content {
	    grid-template-columns: repeat(4, 1fr);
	    grid-auto-rows: 1fr;
        width: 100%;
        margin: auto;
    }
    .bbc-logo {
    width: 9.375em;
    padding-right: 12.5em;
    margin-top: 5px;
    }
}

/* Slippry Portfolio Photo Gallery */
.portfolio .sy-controls {
    display: block;
}
.portfolio .sy-pager {
    margin: 1.5em 0;
}
#portfolio-demo li {
    list-style: none;
}
.sy-caption-wrap .external-captions {
    background: rgba(20, 20, 20, .6); 
    padding: 10px;
    font-size: .75rem;
    color: #ffffff;
}
