#logo-text, #computer, #science {
  font-family: 'Product Sans' !important;
}
body, p, div, h1, h2, h3, h4, h5, h6, span, a {
  font-family: 'Roboto' !important;
}
p {font-weight: 300;}
.mdl-layout-title img {
  height: 41px;
}
.mdl-layout-title a {
  font-family: "Product Sans", sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 32px;
}
#logo-text {
  display: inline;
}
#computer {
  max-width: 135px;
  display: inline-block;
  overflow: hidden;
  margin-bottom: -5px;
}
#science {
  max-width: 92px;
  display: inline-block;
  overflow: hidden;
  margin-bottom: -5px;
}
.admultiaudience header {
  background: url('/images/banner-1.jpg') center / cover;
  transition: background 0.5s;
}
.hero-text {
  max-width: 530px;
  margin: 50px auto 100px;
  padding: 0 24px;
  text-align: center;
}
.hero-text p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 300;
}
.hero-text h3 {
  margin-bottom: 15px;
}
.yellow {
  color: #ffeb3b;
}
.mdl-tabs__tab-bar p {
  line-height: 48px;
  padding: 0 24px;
  white-space: nowrap;
  font-size: 16px;
}
.mdl-tabs__tab {
  white-space: nowrap;
}
.content-panel {
  color: #fff;
  padding: 24px 48px;
  position: relative;
  display: flex;
  justify-content: center;
}
.content-panel:after {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-width: 30px;
  margin-top: -30px;
}
.content-panel a {
  text-decoration: none;
}
#teacher-panel .content-panel {
  background-color: #009688;
}
#teacher-panel .content-panel:after {
  border-color: transparent;
  border-right-color: #009688;
}
#parent-panel .content-panel {
  background-color: #03a9f4;
}
#parent-panel .content-panel:after {
  border-color: transparent;
  border-right-color: #03a9f4;
}
#technologist-panel .content-panel {
  background-color: #00bcd4;
}
#technologist-panel .content-panel:after {
  border-color: transparent;
  border-right-color: #00bcd4;
}

.mdl-layout__content {
  flex-shrink: 0;
}
.mdl-tabs__panel .mdl-grid {
  padding: 0;
  height: calc(90vh - 49px);
  min-height: 625px;
}
.mdl-cell--6-col {
  width: 50%;
  margin: 0;
}
.photo-panel {
  padding: 0;
  position: relative;
  min-height: 300px;
  transition: background-image 1s;
}
#teacher-panel .photo-panel {
  background: url('/images/highfive.jpg') center / cover;
}
#parent-panel .photo-panel {
  background: url('/images/parentpanel.jpg') center / cover;
}
#technologist-panel .photo-panel {
  background: url('/images/techpanel.jpg') center / cover;
}
.arrow-link {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}
.arrow-link i.material-icons {
  font-size: 16px;
  background-color: #fff;
  border-radius: 8px;
  vertical-align: sub;
  margin-left: 4px;
}
.photo-shim {
  color: #fff;
  padding: 24px;
  background: rgba(0,0,0,.6);
  background: -webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.6));
  background: -o-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.6));
  background: -moz-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.6));
  background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.6));
  position: absolute;
  bottom: 0;
  width: calc(100% - 48px);
}
.photo-shim i.material-icons {
  float: left;
  display: block;
}
.photo-shim p {
  font-size: 18px;
  line-height: 27px;
  font-weight: 300;
  display: table-cell;
}
.photo-shim i.material-icons {
  font-size: 48px;
  margin-right: 12px;
}
.content-panel-wrap {
  max-width: 490px;
  align-self: center;
}


.about-expand, .resource-expand {
  cursor: pointer;
}
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link.about-link, .mdl-layout__drawer .mdl-navigation .mdl-navigation__link.resource-link {
  margin-left: 10px;
  display: none;
}


.flip-container {
  perspective: 1000px;
  margin: 12px;
}
.flip-container:hover .flipper, .flip-container.hover .flipper {
  transform: rotateY(-180deg);
  cursor: pointer;
}

.flip-container, .front, .back {
  width: 100px;
  height: 100px;
  border-radius: 50px;
}

.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

.front {
  z-index: 2;
  transform: rotateY(0deg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
}
.back {
  transform: rotateY(180deg);
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.animation .front, .animation .back {
  background-color: #FF5151;
}
.animation .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/animationicon-100.png');
}
.art .front, .art .back {
  background-color: #9c28b1;
}
.art .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/articon-100.png');
}
.fashion .front, .fashion .back {
  background-color: #526cfd;
}
.fashion .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/fashionicon-100.png');
}
.friends .front, .friends .back {
  background-color: #ff9700;
}
.friends .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/friendsicon-100.png');
}
.games .front, .games .back {
  background-color: #0098a6;
}
.games .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/gamesicon-100.png');
}
.music .front, .music .back {
  background-color: #4cb6ac;
}
.music .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/musicicon-100.png');
}
.social .front, .social .back {
  background-color: #d71a80;
}
.social .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/socialicon-100.png');
}
.sports .front, .sports .back {
  background-color: #dc4437;
}
.sports .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/sportsicon-100.png');
}
.storytelling .front, .storytelling .back {
  background-color: #0e9c57;
}
.storytelling .front {
  background-image: url('https://csfirst-files.storage.googleapis.com/files/storytellingicon-100.png');
}
.theme-panel {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  padding: 24px;
}
.theme-panel-wrap {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  max-width: 395px;
  min-height: 350px;
  margin: 0 auto;
}
.mdl-grid.themes {
  margin: 24px 0;
}
.mdl-mini-footer {
  margin-top: 48px;
}
.clickbox {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
}

.quote-nav {
  position: absolute;
  bottom: 10px;
  cursor: pointer;
}
.quote-nav.before {
  left: 40%;
}
.quote-nav.next {
  right: 40%;
}

#student-panel .student-signin {
  background-color: #673ab7;
}

#student-panel p {
  font-size: 16px;
}
#student-panel .content-panel-wrap {
  text-align: center;
}
#student-panel .content-panel-wrap {
  align-self: flex-start;
}
.student-signin .mdl-textfield {
  margin: 16px 8px;
  padding: 0;
}
.student-signin .mdl-textfield__label:after {
  background-color: rgb(255,64,129);
  bottom: 0;
}
.student-signin .mdl-textfield__input {
  color: rgba(0,0,0,.87);
  padding: 8px;
  background-color: #fff;
}
.student-signin .mdl-textfield__label {
  top: 8px;
  padding: 0 8px;
}
.student-signin fieldset[disabled] .mdl-textfield .mdl-textfield__input, .student-signin .mdl-textfield.is-disabled .mdl-textfield__input {
  background-color: #fff;
  color: rgba(0,0,0,.87);
}

.student-signin .android-head-spacer img {
  position: absolute;
  bottom: 0;
  left: calc(50% - 91px);
}
#student-panel .content-panel:after {display: none;}

#student-panel .student-explore {
  background-color: #f5f5f5;
}
.student-explore {
  color: inherit;
}
.student-explore .flip-container, .student-explore .front, .student-explore .back {
  width: 75px; height: 75px;
}
.student-explore .flip-container {
  margin: 5px;
}
.student-explore .theme-panel-wrap {
  max-width: 265px;
  min-height: 255px;
}

.mdl-button.mdl-js-button.outlined {
  color: #fff;
  border: 1px solid #fff;
}


.student-signin .content-panel-wrap .ssi-panel {
  transition-property: max-height;
  transition-duration: .3s;
  transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
  max-height: 460px;
}

.student-signin .content-panel-wrap div.signin-hide {
  overflow: hidden;
  max-height: 0;
}
.ssi-club {
  width: 350px;
  margin: 0 auto;
}
.ssi-club .mdl-card__title {
  justify-content: center;
}
.ssi-back {
  cursor: pointer;
}
.ssi-club-theme .front {
  width: 75px; height: 75px;
  position: inherit;
}
.ssi-club .mdl-card__supporting-text {
  display: flex;
}
.ssi-club-theme {
  margin-right: 24px;
}
.ssi-club-desc {
  text-align: left;
}

.ssi-panel .mdl-checkbox.is-checked .mdl-checkbox__tick-outline {
  background: rgb(255,255,255)url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K");
}
.ssi-panel .mdl-checkbox__ripple-container .mdl-ripple {
  background-color: #fff;
}
.ssi-panel .mdl-checkbox.is-checked .mdl-checkbox__box-outline, .ssi-panel .mdl-checkbox .mdl-checkbox__box-outline {
  border-color: #fff;
}

.ssi-panel .mdl-textfield.is-invalid .mdl-textfield__error {
  background-color: #fff9c4;
  padding: 8px;
  width: 100%;
}

.ssi-error {
  background-color: #fff9c4;
  color: #d50000;
  padding: 8px;
}

div.hidden {
  opacity: 0;
  width: 1px;
  height: 1px;
}

@media (max-width: 839px) {
  .mdl-tabs__panel .mdl-grid {
    height: auto;
  }
  .content-panel-wrap {
    max-width: none;
  }
  .theme-panel-wrap {
    max-width: none;
    min-height: 0;
    justify-content: center;
  }
  .mdl-layout-title img {
    height: 32px;
  }
  .mdl-layout-title a {
    font-size: 27px;
  }
  .mdl-tabs__tab-bar p {
    display: none;
  }
  .student-signin .android-head-spacer {
    height: 150px;
  }
  #student-panel .student-explore {order: 2;}
  #student-panel .student-signin {order: 1;}
}

@media (max-width: 839px) and (min-width: 480px) {
  .mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
    width: 100%;
  }

}
@media (max-width: 479px) {
  .mdl-cell--6-col{
    width: 100%;
  }
  .mdl-layout-title img {
    height: 24px;
  }
  .mdl-layout-title a {
    font-size: 19px;
  }
  #try-now-button.visible {
    display: none !important;
  }
  #dashboard-button.visible {
    display: none !important;
  }
  .mdl-tabs__tab {
    padding: 0 7px;
  }
}
#try-now-button, #dashboard-button, #sign-in-button, #sign-out-button {
  display: none;
}
.student-signin.content-panel {
  min-height: 350px;
}
.mdl-layout__drawer-button {
  top: auto;
}

#cookie-statement {
  background-color: #5a5a5a;
  border: none;
  color: #fff;
  font-weight: bold;
  margin: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
  padding: 10px;
  text-align: center;
  display: none;
}

#cookie-statement a {
  background-color: #303030;
  border: 1px solid rgba(0,0,0,.1);
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  line-height: 19px;
  padding: 4px 8px;
  text-decoration: none;
  white-space: nowrap;
}
