/*
  Crossroads Mobile Explore
  Special styles for presenting special styles for the mobile optimized version of the explore page
*/

.explore-nav {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3000;
  line-height: 1;

  .explore-up {
    display: block;
  }

  .explore-down {
    display: block;
  }
}

.fp-viewing-3, .fp-viewing-5 {
  .explore-nav {
    a {
      color: #fff;
    }
  }
}

.explore {
  .fp-tableCell {
    vertical-align: top;
  }
  .section {
    position: relative;
    overflow: hidden;
    h1 {
      margin: 0;
    }
  }
  .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .opening-title,
  .studentministry-title,
  .drums-title,
  .meet-title {
    font-family: "HelveticaNeue-CondensedBold","Roboto Condensed", Helvetica, sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1.1px;
  }
  .meet-title {
    color: $brand-primary;
  }
  .map-title,
  .kidsclub-title,
  .photos-title,
  .coffee-title,
  .clothes-title, {
    font-family: "Helvetica Neue","Roboto", Helvetica, sans-serif;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1;
    color: $brand-primary;
  }
  .map-desc,
  .photos-desc,
  .coffee-desc,
  .clothes-desc,
  .photos-desc,
  .meet-desc {
    color: $gray-light;
  }

  // Opening
  .opening {
    background-color: #002D4E;
    color: #ffffff;
    .img-background {
      background-size: cover;
      background-position: 50% 50%;
      background-repeat: no-repeat;
      background-image: url(//crossroads-media.imgix.net/images/explore/opening/explore_opening_bg.jpg?dpr=2&w=375&h=627&fit=crop);
      @media (min-width: $screen-sm-min) {
        background-image: url(//crossroads-media.imgix.net/images/explore/opening/explore_opening_bg.jpg?dpr=2&w1440&ixjsv=1.1.2&q=50);
      }
    };
    .opening-title {
      font-size: 2.075rem;
      line-height: 2.075rem;
      margin-bottom: 8px;
      color: #fff;
      @media (min-width: $screen-sm-min) {
        font-size: 2.875rem;
        line-height: 2.875rem;
      }
    }
    a {
      text-decoration: underline;
      color: #fff;
    }
    .opening-img-placeholder {
      //opacity: .3;
    }

    .opening-scroll-down {
      position: absolute;
      width: 100%;
      bottom: 10px;
      z-index: 4;
      text-align: center;

      .icon {
        border: 2px solid white;
        border-radius: 50%;

        &:hover {
          //opacity: .7;
        }
      }
    }
  }

  .preload-bubble {
    height: 1px;
    width: 1px;
  }

  .explore-home {
    .icon {
      color: #6E8496;

      .icon {}
      &:hover {
        color: #C1CBD4;
      }
    }
  }

  // Map
  .map {
    background-color: #d9dbe0;
    .map-position {
      @extend .vertical-bottom;
      top: 50%;
      .map-content {
        background-color: rgba(217, 219, 224, 0.9);
        padding-top: $line-height-computed;
        padding-bottom: $line-height-computed;
        @media (min-width: $screen-md-min) {
          background-color: transparent;
        }
      }
    }
    .map-img {
      position: absolute;
      top: 0%;
      left: 0%;
      max-width: initial;
      transform: translate(-30%, 0%);
      width: 170%;
      @media (min-width: $screen-md-min) {
        width: 96%;
        transform: translate(30%, 0%);
      }
    }
    .map-flag {
      position: absolute;
      top: 0%;
      left: 0%;
      max-width: initial;
      width: 20%;
      visibility: hidden;
      @media (min-width: $screen-md-min) {
        width: 9%;
      }
    }
    .map-flag-mason {
      transform: translate(379%, 0%);
    }
    .map-flag-westside {
      transform: translate(71%, 69%);
    }
    .map-flag-oakley {
      transform: translate(247%, 100%);
    }
    .map-flag-uptown {
      transform: translate(170%, 103%);
    }
    .map-flag-florence {
      transform: translate(55%, 145%);
    }
    @media (min-width: $screen-md-min) {
      .map-flag-mason {
        transform: translate(1122%, 23%);
      }
      .map-flag-westside {
        transform: translate(737%, 111%);
      }
      .map-flag-oakley {
        transform: translate(957%, 150%);
      }
      .map-flag-uptown {
        transform: translate(857%, 155%);
      }
      .map-flag-florence {
        transform: translate(667%, 211%);
      }
    }

    .map-desc {
      color: #999999;
    }
    .map-more a {
      color: #af5e31;
      margin-right: 2%;
      visibility: hidden;
      a:hover {
        color: #5f331b;
      }
    }
  }

  // Kids Club
  .kidsclub {
    @include gradient(#F4A000,#FFCF00);
    position: relative;

    .kc-logo {
      margin: 0 auto;
      position: relative;
      z-index: 0;
    }
    .kidsclub-title {
      z-index: 2;
    }
    .kidsclub-desc {
      z-index: 2;
    }
    .bubble-container {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 150px;
      @media (min-width: $screen-sm-min) {
        width: 250px;
      }
    }
    .bubble-stick {
      z-index: 1;
      //visibility: hidden;
      transform: translateY(0%);
    }
    .bubbles {
      position: absolute;
      right: 10%;
      top: 0;
      transform: translateY(0%);
      width: 140px;
      height: 140px;
      z-index: 0;
    }
    .bubble{
      position: absolute;
      right: 3%;
      bottom: 49%;
      display: none;
    }
    .smallBubble{
    	width:60px;
    	height:60px;
      background-color:transparent;
      background-image:url(//crossroads-media.s3.amazonaws.com/images/explore/kidsclub/explore_kidsclub_bubble.png);
      background-size:60px;
    	}
    .mediumBubble{
    	width:100px;
    	height:100px;
      background-color:transparent;
      background-image:url(//crossroads-media.s3.amazonaws.com/images/explore/kidsclub/explore_kidsclub_bubble.png);
      background-size:100px;
    }
    .largeBubble{
    	width:140px;
    	height:140px;
      background-color:transparent;
      background-image:url(//crossroads-media.s3.amazonaws.com/images/explore/kidsclub/explore_kidsclub_bubble.png);
      background-size:140px;
    }
  }

  // Student Ministry
  .studentministry {
    background: #0F0901;

    .studentministry-img {
      position: absolute;
      top: 0;
      left: 50%;
      width: 550px;
      height: 416px;
      max-width: 550px;
      margin-left: -275px;
    }

    .studentministry-container {
      color: #fff;
      a {
        color: #18afe4;
      }
    }

    .studentministry-title {
      color: #18afe4;
    }
  }

  // Coffee
  .coffee {
    background: linear-gradient(to bottom, rgba(217,219,224,1) 0%, rgba(217,219,224,1) 50%, rgba(238,241,247,1) 60%, rgba(217,219,224,1) 77%, rgba(232,234,239,1) 100%);
    position: relative;

    .cup-bottom,
    .cup-top,
    .cup-coffee,
    .cup-lid {
      position: absolute;
      top: 0%;
      left: 0%;
      max-width: initial;
      transform: translate(30%, 20%);
      width: 90%;
      @media (min-width: $screen-md-min) {
        transform: translate(100%, 10%);
      }
    }
    .cup-coffee {
      visibility: hidden;
    }
    .cup-lid {
      visibility: hidden;
    }
    .sugar {
      position: absolute;
      top: 0%;
      left: 0%;
      max-width: initial;
      transform: translate(16%, 376%);
      width: 24%;
      @media (min-width: $screen-md-min) {
        transform: translate(250%, 341%);
      }
    }
  }

  // Drums
  .drums {
    background-color: #000;
    color: #F2EFE3;
    text-align: center;

    .drums-title {
      color: #fff;
      line-height: 1;
    }
    .drums-desc {
      line-height: 17px;
    }
    .img-background {
      filter: blur(35px) brightness(4.75);
      transition: all 1500ms cubic-bezier(0.23,1,.32,1);
    }
  }

  // Clothes
  .clothes {
    .clothes-pile {
      width: 120%;
      position: absolute;
      top: 0%;
      left: 0%;
      max-width: initial;
      transform: translate(0%, -10%);
      z-index: -1;
    }
  }

  // Photos
  .photos {
    background: #DAD7DB;
    overflow: hidden;
    .img-background {
      display: none;
      @media (min-width: $screen-md-min) {
        display: block;
      }
    }
    .camera {
      position: absolute;
      left: 0;
      bottom: 0;
      max-width: 700px;
      display: none;

      @media (min-width: $screen-sm-min) {
        display: block;
      }

      @media (max-width: $screen-md-min) {
        max-width: 500px;
      }
    }
    .photos-content-container {
      margin-top: 0%;
      z-index: 10;

      @media (min-width: $screen-sm-min) {
        margin-top: 5%;
      }
    }
    .photos-container {
      margin-top: 25%;
      @media (min-width: $screen-sm-min) {
        margin-top: 8%;
      }
    }
    .photo1,
    .photo2,
    .photo3,
    .photo4 {
      position: absolute;
      top: 0%;
      left: 0%;
      width: 80%;
      margin-left: 10%;
      margin-top: 10%;
      visibility: hidden;
    }
    .photo1 {
      transform: rotate(-11deg) translate(0%, -50%);
    }
    .photo2 {
      transform: rotate(2deg) translate(-23%, -9%);
    }
    .photo3 {
      transform: rotate(-19deg) translate(20%, 27%);
    }
    .photo4 {
      transform: rotate(14deg) translate(-24%, 58%);
    }
    @media (min-width: $screen-sm-min) {
      .photo1 {
        transform: rotate(-11deg) translate(0%, -50%);
      }
      .photo2 {
        transform: rotate(2deg) translate(-13%, -9%);
      }
      .photo3 {
        transform: rotate(-19deg) translate(0%, 27%);
      }
      .photo4 {
        transform: rotate(5deg) translate(-10%, 75%);
      }
    }
    @media (min-width: $screen-md-min) {
      .photo1 {
        transform: rotate(-11deg) translate(10%, -50%);
      }
      .photo2 {
        transform: rotate(2deg) translate(-3%, -9%);
      }
      .photo3 {
        transform: rotate(-19deg) translate(10%, 27%);
      }
      .photo4 {
        transform: rotate(5deg) translate(-15%, 75%);
      }
    }
    @media (min-width: $screen-lg-min) {
      .photo4 {
        transform: rotate(5deg) translate(-40%, 60%);
      }
    }
  }

  // Meet
  .meet {
    .meet-desc {
      color: #999999;
      a {
        @extend .link-secondary;
      }
    }
  }

  .meet-scroll-top-cont {
    position: absolute;
    bottom: 10px;

    .icon {
      border: 2px solid $cr-blue;
      border-radius: 50%;
      display: block;
      clear: both;
      margin: 0 auto;
    }

    &:hover {
      color: $cr-orange;
      .icon {
        color: $cr-orange;
        border-color: $cr-orange;
      }
    }
  }

  // Animations
  .fade {
    opacity: 0;
    visibility: hidden;
  }
  .fade-bg {
    visibility:hidden;
  }
  .fade-fast {
    opacity: 0;
    visibility: hidden;
  }
  .rise10 {
    opacity: 0;
    visibility:hidden;
    transform: translateY(10px) translateZ(0) translate3d(0, 0, 0);
    transform-style: preserve-3d
  }
  .trans1500 {
    transition: all 1500ms cubic-bezier(0.23,1,.32,1);
  }
  .trans1000 {
    transition: all 1000ms cubic-bezier(0.23,1,.32,1);
  }
  .trans800 {
    transition: all 800ms cubic-bezier(0.23,1,.32,1);
  }

} //explore
