/* Import Fonts */
@import url('https://fonts.googleapis.com/css?family=Crimson+Text:400,700');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');



/* Global CSS */
html, body {
  width: 100%;
  height: 100%;
  color: #3c64ce !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

a {
  color: #3c64ce;
}

.container-fluid {
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.noPadding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}



/* The side navigation menu */
.sidenav {
  height: 100%;
  width: 84px;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #e7e7e7;
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenav.mobi-view {
  height: 84px !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

/* The navigation menu links */
.sidenav a {
  width: 84px;
  height: 84px;
  text-align: center;
  text-decoration: none;
  color: #3c64ce;
  display: block;
  text-indent: -9999px;
  background-position: center top;
  background-repeat: no-repeat;
}

.sidenav .gutter a:hover, .sidenav .gutter .social ul li a:hover {
  color: #fff;
  background-position: center bottom;
}

.sidenav span {
  top: 50%;
  transform: translateY(-50%);
  position: relative;
}

.sidenav .gutter {
  height: 100%;
}

.sidenav .gutter .search, .sidenav .gutter .add {
  width: 84px;
}

.sidenav .gutter .search a {
  background-image: url(../images/icons/search.png);
}

.sidenav .gutter .add a {
  background-image: url(../images/icons/add.png);
}

.sidenav .gutter .hamburger {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.sidenav .gutter .hamburger a {
  background-image: url(../images/icons/NAV_MENU_01.png);
  background-position: center top;
  transition: 0.5s;
}
.sidenav .gutter .hamburger a:hover {
  background-image: url(../images/icons/NAV_MENU_02.png);
  background-position: center top;
}

.sidenav .gutter .social {
  bottom: 0;
  position: absolute;
  z-index: 500;
}

.sidenav .gutter .social ul, .sidenav .gutter .social ul li {
  margin: 0; padding: 0;
}

.sidenav .gutter .social .fb {
  background-image: url(../images/icons/facebook.png);
}

.sidenav .gutter .social .twitter {
  background-image: url(../images/icons/twitter.png);
}


.menu {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu a {
  color: #3c64ce;
  font-size: 4vw;
  text-align: center;
  width: auto;
  height: auto;
  text-indent: inherit;
  margin-bottom: 50px;
  line-height: 100%;
  font-weight: 700;
}

.menu a:hover {
  color: #fff;
}

.menu a.active {
  color: #fff;
}

.menu a:last-of-type {
  margin-bottom: 0;
}

.menu .add-box {
  width: 100%;
  padding: 19px 0 19px 0px;
  display: block;
  border: 4px solid #3c64ce;
  text-align: center;
  font-size: 1.2vw;
  font-weight: 400;

}
.menu .add-box:hover, .menu .add-box.active {
  background-color: #3c64ce;
  color: #fff;
}

.menu .add-box span {
  top: auto;
  transform: none;
  position: relative;
}

.sidenav .legal {
  position: absolute;
  bottom: 50px;
  width: 100%;
  display: none;
  z-index: 50;
}

.sidenav .legal ul {
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.sidenav .legal ul li {
  color: #3c64ce;
  display: inline-block;
  font-size: .75vw;
  height: 22px;
  margin-right: 5px;
  line-height: 22px;
}

.sidenav .legal ul li a {
  text-decoration: none;
  color: #3c64ce;
  width: auto; height: auto;
  display: inline-block;
  text-indent: inherit;
}
.sidenav .legal ul li a:hover {
  color: #fff;
}

.sidenav .legal ul li a#df-icon {
  text-indent: -9999px;
  width: 22px;
  height: 22px;
  background: url(../images/icons/df-icon.png) no-repeat;
  background-position: center top;
  display: inline-block;
}

.sidenav .legal ul li a#df-icon:hover {
  background-position: center bottom;
}

.sidenav .menu-closebtn {
  display: none;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  position: absolute;
  background-image: url(../images/icons/Close_Menu.png);
  text-indent: -9999px;
  width: 84px; height: 84px;
  transition: 0.2s;
}
.sidenav .menu-closebtn:hover {
  background-image: url(../images/icons/Close_Menu_rollover.png);
}

.df-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(23, 28, 41, .80);
  overflow: auto;
  z-index: 999;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
}


#main {
  background: url(../images/home-placeholder.jpg) no-repeat center top;
  background-size: cover;
  height: 100%; width: 100%;
  overflow: auto;
}

#intro {
  width: 60%;
  height: auto;
  background-color: #e7e7e7;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  overflow: auto;
  display: none;
  max-width: 900px;
}

#intro h1 {
  font-size: 70px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0;
  margin: 50px auto 25px;
}

#intro p {
  font-size: 18px;
  font-weight: 400;
  width: 75%;
  line-height: 200%;
  margin: 0 auto;
}

#intro p.thanks {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Crimson Text', serif;
  margin-bottom: 10px;
}

#intro a {
  padding: 20px 30px;
  display: inline-block;
  border: 4px solid #3c64ce;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #3c64ce;
  text-decoration: none;
  margin: 40px auto 60px;
}
#intro a:hover {
  background-color: #3c64ce;
  color: #fff;
}

#intro .intro-close {
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(../images/icons/Close_Menu.png);
  text-indent: -9999px;
  width: 84px;
  height: 84px;
  transition: 0.2s;
  margin: 0;
  border: 0;
}
#intro .intro-close:hover {
  background-image: url(../images/icons/Close_Menu_rollover.png);
  background-color: transparent;
  color: transparent;
}


.df-tooltip {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  display: none;
  position: absolute;
  top: 100px;
  left: 75px;
  z-index: 1500;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #fff;
  border-radius: 5px;
  letter-spacing: 1px;
  text-align: center;
  padding-left: 0;
}

.df-tooltip:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid rgba(0,0,0,.7);
  left: -10px;
  top: 3px;
  position: relative;
}

#tipFacebook {
  bottom: 96px;
  left: 75px;
  top: auto;
}

#tipTwitter {
  bottom: 22px;
  left: 75px;
  top: auto;
}


/* Search Panel */
.search-panel {
  background-color: #e7e7e7;
  width: 0;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
}

.search-panel input {
  float: right;
  display: inline-block;
  background: url(../images/icons/serach_hov.png) no-repeat #fff;
  width: 100%;
  height: 84px;
  border: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #3c64ce;
  padding-left: 100px;
}

.search-panel input:focus {
  color: #3c64ce;
}

.search-panel #search-close {
  top: 0;
  right: 0;
  position: absolute;
  background-image: url(../images/icons/Close_Menu.png);
  text-indent: -9999px;
  width: 84px; height: 84px;
  transition: background-image 0.2s ease;
}

.search-panel .results-wrapper {
  width: 100%;
  margin-top: 150px;
  display: none;
}

.results-wrapper ul {
  width: 100%;
  margin: 0; padding: 0;
}

.results-wrapper ul li {
  width: 100%;
  color: #3c64ce;
  font-size: 24px;
  list-style: none;
  height: 84px;
  line-height: 84px;
  padding: 7px 0  7px 84px;
  margin-bottom: 10px;
}

.results-wrapper ul li:hover {
  background-color: #3c64ce;
  color: #fff;
}

.results-wrapper ul li span.avatar {
  display: inline-block;
  width: 70px;
  height: 70px;
  position: relative;
  overflow: hidden;
  margin-right: 20px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  float: left;
  background-color: #000000;
}

.results-wrapper ul li span.avatar img {
  display: inline;
  margin: 0 auto;
  height: 100%;
  width: auto;
  vertical-align: baseline;
  position: relative;
  transform: translateX(-50%);
  left: 50%;
}

.results-wrapper ul li span.name {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
}

/* Slide out Panel */
.slide-panel {
  background-color: #e7e7e7;
  width: 0;
  height: 100%;
  position: fixed;
  overflow-y: auto;
  top: 0;
  left: 0;
  z-index: 500;
}

.slide-panel .wrapper {
  padding: 0 5% 0 15%;
  display: none;
}

.slide-panel .first-slide {
  height: 100%;
}

.slide-panel h2 {
  font-size: 80px;
  color: #3c64ce;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: .8;
  padding-bottom: 30px;
  padding-top: 15%;
}

.slide-panel p {
  font-size: 36px;
  color: #3c64ce;
  line-height: 150%;
  font-weight: 400;
  font-family: 'Crimson Text', serif;
  width: 85%;
}

.slide-panel p span {
  font-weight: 700;
  font-size: 100px;
  vertical-align: bottom;
  line-height: 0;
}

.slide-panel p span.signature {
  font-size: 48px;
  line-height: 1;
}

.slide-panel p strong {
  font-size: 30px;
}

.slide-panel #scrollDown {
  background: url(../images/icons/about-arrow.png) no-repeat;
  background-position: center top;
  position: relative;
  left: 50%;
  margin-top: 5%;
  transform: translateX(-50%);
  text-indent: -9999px;
  width: 84px;
  height: 84px;
  display: block;
}
.slide-panel #scrollDown:hover {
  background-position: center bottom;
}

.slide-panel .scrollUp {
  background: url(../images/icons/up.png) no-repeat;
  background-position: center top;
  position: relative;
  left: 50%;
  margin-top: 10%;
  transform: translateX(-50%);
  text-indent: -9999px;
  width: 84px;
  height: 84px;
  display: block;
}

#partners .first-slide p {
  text-align: center;
  width: 100%;
  padding: 15% 0 5%;
  font-size: 48px;
}

#partners .help {
  font-size: 48px;
  margin-top: 5%;
}

.part-bio {
  width: 90%;
  margin-bottom: 10%;
  margin-left: 5%;
}

.part-bio .part-logo {
  display: block;
  margin-bottom: 50px;
}

.part-bio p {
  font-size: 36px;
  line-height: 150%;
}

.part-bio p span {
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  vertical-align: inherit;
  text-transform: uppercase;
  text-decoration: underline;
  font-family: 'Montserrat', sans-serif;
}

.part-bio p span a {
  color: #3c64ce;
  text-decoration: none;
}

.us-logo {text-align: center; width: 100% !important;}
.us-logo img {display: block; margin: 0 auto 25px;}
.slide-panel .us-logo span {color: #3c64ce; font-family: 'Montserrat', sans-serif; font-weight: 700;
    vertical-align: inherit; font-size: 36px;}

/* Video Intro */
#video-wrap {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}
::-webkit-scrollbar {
    display: none;
}

#intro-video {
  width: 100%;
  height: 100%;
}

#skip-btn {
  z-index: 2001;
  position: absolute;
  top: 0;
  right: 0;
  background: url(../images/skip-btn.png) no-repeat;
  background-position: center top;
  text-indent: -9999px;
  width: 148px;
  height: 84px;
}
#skip-btn:hover {
  background-position: center bottom;
}


/* ++++++++++++==========

    Media Queries for mobile
    Mobile breakpoint is set at 1024px

    ++++++++++++========== */


@media screen and (max-width: 1024px) {

  .sidenav {
    height: 60px;
    width: 100%;
    top: 0;
    left: 0;
  }

  .sidenav a {
    height: 60px;
    width: 60px;
  }

  .sidenav .gutter .search a {
    background-image: url(../images/icons/search-mobile.png);
  }

  .sidenav .gutter .add a {
    background-image: url(../images/icons/add-mobile.png);
  }

  .sidenav .gutter .hamburger a {
    background-image: url(../images/icons/NAV_MENU_01-mobile.png);
    background-position: center top;
    transition: 0.5s;
  }
  .sidenav .gutter .hamburger a:hover {
    background-image: url(../images/icons/NAV_MENU_02-mobile.png);
    background-position: center top;
  }

  .sidenav .gutter .social .fb {
    background-image: url(../images/icons/facebook-mobile.png);
  }

  .sidenav .gutter .social .twitter {
    background-image: url(../images/icons/twitter-mobile.png);
  }

  .sidenav .gutter .hamburger {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }

  .sidenav .gutter .search, .sidenav .gutter .add {
    float: left;
  }

  .sidenav .gutter .social {
    top:0;
    right: 0;
    position: absolute;
  }

  .sidenav .gutter .social ul, .sidenav .gutter .social ul li {
    margin: 0; padding: 0;
  }

  .sidenav .gutter .social ul li {
    display: inline-block;
  }

  .sidenav .menu-closebtn {
    top: auto;
    right: auto;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
  }

  .menu {
    width: 75%;
  }

  .menu a {
    font-size: 8vw;
    width: auto;
    height: auto;
  }

  .menu .add-box {
    font-size: 4vw;
    max-width: 550px;
    margin: 0 auto
  }

  .sidenav .legal {
    bottom: 5%;
    z-index: 500;
  }

  .sidenav .legal ul li {
    font-size: 2vw;
  }

  .sidenav .legal ul li:first-of-type {
    display: block;
    text-align: center;
    margin-bottom: -10px;
  }

  #intro {
    top: 55%;
    width: 85%;
  }

  #intro h1 {
    font-size: 250%;
  }

  #intro p.thanks {
    font-size: 150%;
    line-height: 1.4;
    width: 60%;
  }

  #intro .intro-close {
    display: none;
  }

  #tipFacebook {
    display: none !important;
  }

  #tipTwitter {
    display: none !important;
  }
  .search-panel {
    top: -60px;
    width: 100%;
    height: 0;
  }

  .search-panel input {
    height: 60px;
    background: url(../images/icons/search-mobile.png) no-repeat #fff;
    background-position: left bottom;
    padding-left: 80px;
  }

  .search-panel #search-close {
    width: 60px;
    height: 60px;
    background-position: center;
  }

  .search-panel .results-wrapper {
    margin-top: 100px;
  }

  .results-wrapper ul li {
    padding: 7px 0 7px 60px;
  }

  .slide-panel {
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
  }

  .slide-panel .wrapper {
    padding: 84px 10% 0;
  }

  .slide-panel h2 {
    font-size: 200%;
    line-height: 1;
  }

  .slide-panel p {
    font-size: 150%;
    width: 100%;
  }

  .slide-panel p span {
    font-size: 250%;
  }

  .slide-panel p span.signature, .slide-panel p strong {
    font-size: 100%;
    width: 100%;
  }

  #partners .first-slide p {
    font-size: 10vw;
    margin-bottom: 15%;
  }

  #partners .help {
    font-size: 150%;
  }

  #partners p span {
    font-size: 100%;
  }

  .part-bio {
    margin-bottom: 15%;
  }

  #video-wrap, #intro-video {
    display: none;
    visibility: hidden;
  }

  .df-tooltip {
    display: none;
    position: absolute;
    top: 60px;
    left: 63px;
    z-index: 1500;
  }

  .df-tooltip:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,.7);
    left: 40px;
    top: -35px;
    position: relative;
  }

}

/* Android Phones */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (orientation: portrait) {

    #intro {
      top: 65%;
      transform: translateY(-65%);
      width: 90%;
    }

    #intro p {
      line-height: 150%;
    }

    #intro h1 {
      font-size: 200%;
      margin: 20px auto;
    }

    #intro p.thanks {
      font-size: 120%;
      line-height: 1.4;
      width: 100%;
    }

    #intro p {
      margin: 20px auto;
      font-size: 100%;
      width: 90%;
    }

    #intro p span {
      display: block;
    }

    #intro a {
      margin: 0 auto 15px;
      padding: 10px 30px;
    }

}

/* iphone 6 Portrait */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

    .sidenav .gutter {
      height: 84px;
    }

    .menu {
      z-index: 500;
    }

    .menu a {
      margin-bottom: 20px;
      padding: 15px 0;
    }

    #intro {
      top: 65%;
      transform: translateY(-60%);
      width: 90%;
    }

    #intro h1 {
      margin: 10px auto;
    }

    #intro p {
      line-height: 150%;
    }

    #intro h1 {
      font-size: 200%;
      margin: 20px auto;
    }

    #intro p.thanks {
      font-size: 120%;
      line-height: 1.4;
      width: 100%;
    }

    #intro p {
      margin: 20px auto;
      font-size: 100%;
      width: 90%;
    }

    #intro p span {
      display: block;
    }

    #intro a {
      margin: 0 auto 15px;
      padding: 10px 30px;
    }

    .slide-panel#partners .first-slide {
      margin-bottom: 80px;
    }

}


/* iPhone 6+ Portrait media queries */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {

  .sidenav .gutter {
    height: 84px;
  }

  .menu {
    z-index: 500;
  }

  .menu a {
    margin-bottom: 20px;
    padding: 15px 0;
  }

  #intro {
    top: 60%;
    transform: translateY(-60%);
    width: 90%;
  }

  #intro h1 {
    font-size: 200%;
    margin: 20px auto;
  }

  #intro p.thanks {
    font-size: 120%;
    line-height: 1.4;
    width: 100%;
  }

  #intro p {
    margin: 20px auto;
    font-size: 100%;
    width: 90%;
  }

  #intro p span {
    display: block;
  }

  #intro a {
    margin: 0 auto 15px;
    padding: 10px 30px;
  }

  .slide-panel#partners .first-slide {
    margin-bottom: 80px;
  }

}

/* iPad Portrait media queries */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px) {

    #scrollDown {
      display: none;
    }

    .sidenav .legal ul li:first-of-type {
      margin-bottom: 0;
    }

}

/* iPhone 5,6,6+ and iPad Landscape */
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape),
 only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape),
 only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape),
 only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: landscape) {

    .menu a {
       font-size: 150%;
       margin-bottom: 20px;
    }

    .menu .add-box {
      font-size: 150%;
      width: 75%;
      margin: 0 auto;
      padding: 5px;
    }

    .sidenav .menu-closebtn {
      bottom: 8%;
    }

    #intro {
      top: 90%;
      width: 85%;
    }

    #intro h1 {
      margin: 20px auto;
    }
}

/* iPad Landscape */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: landscape) {

  #intro {
    top: calc(50% + 42px);
    width: 85%;
  }
}


@media only screen and (max-width: 1024px){

  #introClose{
    position: absolute;
    top: -16px !important;
    right: -16px !important;
    background-image: url(../images/icons/Close_Menu.png);
    text-indent: -9999px;
    width: 64px !important;
    height: 64px !important;
    transition: 0.2s;
    margin: 0;
    border: 0;
    background-size: cover !important;
    padding:0 !important;
    display:block !important;
  }
}
