@import "../vendor/css/reset.css";
@import "../vendor/css/jquery.fullPage.css";

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

/* Fonts
* --------------------------------------- */
@font-face {
    font-family: 'cabin';
    src: url('../vendor/fonts/cabin/cabin-regular-webfont.eot');
    src: url('../vendor/fonts/cabin/cabin-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../vendor/fonts/cabin/cabin-regular-webfont.woff2') format('woff2'),
         url('../vendor/fonts/cabin/cabin-regular-webfont.woff') format('woff'),
         url('../vendor/fonts/cabin/cabin-regular-webfont.ttf') format('truetype'),
         url('../vendor/fonts/cabin/cabin-regular-webfont.svg#cabinregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Typography
* --------------------------------------- */
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'cabin', sans-serif;
  color: #333;
}
h1, h2,h3, h4, h5{
  text-align: left;
  font-weight: bold;
}



/* Backgrounds will cover all the section
* --------------------------------------- */
#fullpage > div {
  background-position: 50% 50%;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

/* Defining each section background and styles
* --------------------------------------- */
#section0 {
  background-image: url(../images/slides/imgp8473.1280.800.jpg);
}

#section1 {
  background-image: url(../images/slides/9358.1280.800.jpg);
}

#section2 {
  background-image: url(../images/slides/9305.1280.800.jpg);
}

#section3 {
  background-image: url(../images/slides/8317.1280.800.jpg);
}

#section4 {
  background-image: url(../images/slides/8427.1280.800.jpg);
}

#section5 {
  background-image: url(../images/slides/8357.1280.800.jpg);
}

#section6 {
  background-image: url(../images/slides/8441.1280.720.jpg);
}

#section7 {
  background-image: url(../images/slides/9466.1280.800.jpg);
}

#section8 {
  background-image: url(../images/slides/9306.1280.800.jpg);
}

#section9 {
  background-image: url(../images/slides/9358.1280.800.jpg);
}

#section10 {
  background-image: url(../images/slides/9466.1280.800.jpg);
}

#section11 {
  background-image: url(../images/slides/9353.1280.800.jpg);
}

 /*Adding background for the slides
* --------------------------------------- */
#slide1 {
  background-image: url(../images/slides/IMGP9359.jpg);
}

#slide2 {
  background-image: url(../images/slides/IMGP9401.jpg);

}



/* Nav
* --------------------------------------- */
.header-wrap {
  height: 70px;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  width: 100%;
  z-index: 25;
}

.isMobile .header-wrap { background: none; }

.site-nav {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  /*height: 40px;*/
  z-index: 70;
  width: 100%;
  padding: 0;
  margin:0;
  width: auto;
  letter-spacing: 1px;

  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.site-nav .site-nav-list {
  display: inline-block;
}

.site-nav .site-nav-item {
  padding: 0 1rem;
  display: inline-block;
}

.site-nav a, .site-frontpage-info-wrap {
  color: rgba(38,35,125,1);
  font-size: 1.3rem;
}

.site-nav-link, .site-logo {
  text-shadow: 0px 0px 6px rgba(0,0,0, 0.2);
}

body.invert .site-nav-link,
body.invert .site-logo,
body.invert-menu-only .site-nav-link,
body.invert-menu-only .site-logo {
  text-shadow: 0px 0px 6px rgba(0,0,0, 0.7);
}

.site-nav a,
.site-frontpage-info-wrap a,
.site-small-info-wrap a,
.emergent-text {
  color: rgba(38,35,125,1);
}

body.invert .site-logo a,
body.invert .site-small-info-wrap a,
body.invert .site-main-headline {
  color: rgba(255,255,255,1);
}

body.invert-menu-only .site-nav a {
  color: rgba(255,255,255,1);
}

.site-logo.default {
  color: rgba(38, 35, 125, 1);
}

body.invert .site-logo .site-logo-link-wrap img.invert {
  z-index: 1;
}

.site-nav a:active,
.site-nav a:hover,
.site-nav li.active a {
  color: rgba(38,35,125,0.5);
}



.slide-content-wrap {
  max-width: 45rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 1.5rem;
  margin: 0 auto;
  border: 0;
  padding: 2rem;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
}
.slide-content-wrap {
  background-color: rgba(255, 255, 255, 1);
}

/* john */
.slide-content-wrap p {
  text-align:justify;
  letter-spacing:1px;
  line-height:1.3;
  margin-bottom:10px;
}

.slide-content-wrap h3{
  letter-spacing: 2px;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.slide-content-wrap h4{
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 3px;
}




/* Top Logo
* --------------------------------------- */
.site-logo {
  position: fixed;
  left: 4rem;
  top: 1.1rem;
  z-index: 10;
  width: 19rem;
  font-size: 0.9rem;
  display: block;
}
.site-logo a { color:rgba(38, 35, 125, 1); }
.site-logo .site-logo-link { position: relative; }
.site-logo .site-logo-link-wrap {
  float: left;
  margin-right: 0.5rem;
}

.site-logo .site-logo-link-wrap img {
  height: 36px;
  /* was 44px */
}
.site-logo .site-logo-link-wrap img.invert {
 position: absolute;
 left:0;
 z-index: -1;
}
.site-logo .contact-link-wrap {
  line-height: 1.3;
}
.site-logo .text-wrap { float: left; }

.site-frontpage-info-wrap {
  position: absolute;
  text-align:center;
  right:18rem;
  top: 6rem;
  font-size: 1.5rem;
}

.site-frontpage-info-wrap .site-logo-link { position: relative; }
.site-frontpage-info-wrap .site-logo-link-wrap { float: none; }
.site-frontpage-info-wrap .text-wrap { float: right; }
.site-frontpage-info-wrap .contact-link-wrap {
  line-height: 1.4;
  text-align: center;
}
.more-logo {
    display: block;
  #  margin-left: auto;
 #   margin-right: auto;
    width: 40%;
}


/* Bottom menu
* --------------------------------------- */
#infoMenu li a {
  color: #fff;
}
.logo-tagline {
  display: block;
}


/* Map/Legend
* --------------------------------------- */
.map-legend {
  position: absolute;
  right: 1rem;
  text-align: right;
  top: 7rem;
  color:#000;
}
.map-legend a { color:#000; }

.map-legend img { vertical-align: middle; margin: auto; }
.c { text-align: center; }




/* Form
* --------------------------------------- */
form { width: 80%; overflow: auto; padding:3px 0; margin:0 auto; }
label {
  clear: both;
  display: block;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid gray;
  overflow:auto;
  line-height:32px;
  font-size: 1rem;
}
input, textarea {
  line-height: 32px;
  border: 0 none;
  font-family: 'cabin';
  float: right;
  margin-left: 2rem;
  width: 70%;
  font-size: 1rem;
}
textarea { }
input:focus, textarea:focus {
  _border-bottom: 1px solid;
}
input.error, textarea.error {
  border-bottom: 1px solid #f00;
}
button {
    cursor: pointer;
    float: right;
    margin-top:10px;
    clear: both;
    background-color: #f4f4f4;
    border: 1px solid;
    border-radius: 2px;
    color: #646464;
    display: inline-block;
    font-size: 0.9em;
    height: 32px;
    line-height: 32px;
    position: relative;
    width: 120px;
}


/* Media Queries
* --------------------------------------- */
#fullpage { left:0; }
#isMobile { display: none; height: 0; }
#mobile_menu, .mobile-only { display:none; }
body.shift #fullpage { left:260px; }
body.shift #site-nav { left:0; }
body.shift .site-logo { left:24rem;}


@media only screen and (max-width: 1125px) {
  html { font-size:90%; }
  #isMobile { display: block; height: 1px; }
  #site-nav {
    left: -280px;
    position: fixed;
    width: 280px;
  }
  .site-nav .site-nav-list { width:100%; }
  .site-nav .site-nav-item {
    display: block;
  }
  .site-nav .site-nav-list li[hidden] { display:none!important;}
  .site-nav a {
    border-bottom: 1px solid;
    display: block;
    font-size: 1.2rem;
    line-height: 2;
  }
  #mobile_menu {
    left: 305px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    border:0;
    display: block;
  }
  body.shift #fullpage {
      left: 280px;
  }


  .mobile-only { display: block; }
  .site-logo { left: 4rem; }
  .site-logo .text-wrap { padding-top: 3px; }

  .site-frontpage-info-wrap {
    top:1rem;
    right:0;
    font-size: 0.8rem;
  }
  .site-frontpage-info-wrap img {
    width:30%
  }

  .mobile-logo .tag {
    line-height: 1.3;
    padding-top:6px;
    text-align:center;
  }

  .mobile-logo img {
    width:41%;
    float: left;
    margin-left: 5%;
    display: block;
  }
  .mobile-logo a {
    border:0;
    font-size: 1rem;
    line-height: 1.4;
  }
  .mobile-nav-hilight {
    background-color: #f1f1ef;
    clear: both;
    margin-bottom: 12px;
    margin-top: 20px;
    overflow: auto;
    padding: 5px 0;
    text-align: center;
  }

  .fp-tableCell { vertical-align: top; }
  .slide-content-wrap { max-width: 90%; margin-top: 100px; }
}

@media (min-width: 768px) and (max-width: 1399px) {

  body.invert .site-nav a {
    color: rgba(255,255,255,1);
  }

  body.invert .site-nav-item.active .site-nav-link {
    color: rgba(255,255,255,0.7);
  }

  .site-nav {
    top:1.5rem;
    right:1.5rem;
  }
  .site-nav a {
    font-size: 1.2rem;
  }

  .site-frontpage-info-wrap {
    top:4rem;
    right:3rem;
    width: 23rem;
    font-size: 1.3rem;
  }
  .site-frontpage-info-wrap img {
    width:60%
  }
}
@media (min-width: 768px) and (max-width: 1399px) {

  .site-nav {
    top:1.5rem;
    right:1.5rem;
  }
  .site-nav a {
    font-size: 1.2rem;
  }

  .site-frontpage-info-wrap {
  	font-size: 1rem;
    top: 5rem;
  	right: 6rem;
  }

  .site-frontpage-info-wrap img {
  	width:50%
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {

  .site-frontpage-info-wrap {
  	font-size: 1.1rem;
  	right: 10rem;
  }

  .site-frontpage-info-wrap .contact-link-wrap {
    margin-bottom: 10px;
  }

  .site-frontpage-info-wrap img {
  	width:60%
  }
}
  @media (min-width: 1600px) {

  .site-nav .site-nav-item {
    padding: 0 1.5rem;
  }

  .site-nav a {
    font-size:1.2rem
  }

  .site-frontpage-info-wrap {
  	font-size: 1.3rem;
  	right: 18rem;
  }

  .site-frontpage-info-wrap .contact-link-wrap {
    margin-bottom: 20px;
  }
  .site-frontpage-info-wrap img {
  	width:70%
  }
}

.transition {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;

  opacity: 1;
}

.transition-active {
  opacity: 0;
}

.site-nav .dropdown {
  display: none;
  position: absolute;
  top: 2rem;

  background: rgba(255,255,255,0.8);
  padding: 1rem 2rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.site-nav-item.site-nav-item-dropdown-active {
  background: rgba(255, 255, 255, 0.8);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

a.next-page {
  bottom: 0;
  position: fixed;
  width: 100%;
  text-align: center;
}

a.previous-page {
  top: 0;
  position: fixed;
  width: 100%;
  text-align: center;
}

#isMobile a.previous-page {
  display: block;
}

a.next-page, a.previous-page {
  z-index: 15;
  opacity: 0.6;

  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

a.next-page:hover, a.previous-page:hover {
  opacity: 1;
}

a.next-page.transition-active {
  opacity: 0;
}

body.isMobile #map-canvas {
  height: 90% !important;
  top: 10% !important;
}

body.isMobile #section12 {
  background: rgba(38,35,125,1);
}

body.isMobile .map-legend {
  padding: 1rem 2rem;
  width: 100%;
  left: 0px;
  background: white;
  top: 30%;
}

#newPos {
  top: 75px;
}

body.isMobile .site-nav {
  height: 100%;
  padding-top: 0.4rem;
  background-color: white;
  top: 0;
}

body.isMobile .site-logo {
  width: 100%;
  left: 0;
  top: 3rem;
  position:absolute;
}

body.isMobile .site-logo-link-wrap {
  width: 100%;
  text-align: center;
}

body.isMobile .site-logo-link-wrap a {
  display: inline-block;
  margin: 0 auto;
}

body.isMobile .text-wrap {
  float: none;
  width: 100%;
  position: absolute;
  top: 3rem;
  text-align: center;
  font-size: 1.2rem;
}

body.shift .site-logo, body.shift .text-wrap { visibility: hidden; }

.back-to-site {
  color: white;
  font-size: 1.5rem;
  width: 100%;
  text-align: center;
  display: block;
  padding-top: 1.3rem;
  position: absolute;
}

.form-contact {
  width: 100%;
  margin: 0.6rem auto 1rem;
}

.form-contact textarea {
  margin: 0;
}

.emergent-text {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 1rem;
  border-top-left-radius: 5px;
  z-index: 50;
}

body.notMobile .previous-page {
  top: 70px;
}

body.isMobile {
  font-size: 0.8rem;
}

@media only screen and (max-height: 480px) {
  #site-logo {
    top: 0.5rem;
  }

  body.isMobile .site-logo .site-logo-link-wrap {
    text-align: right;
    padding-right: 0.5rem;
  }

  body.isMobile .text-wrap {
    text-align: right;
    font-size: 0.9rem;
    padding-right: 0.5rem;
    top: 2.8rem;
  }

  .contact-link-wrap:last-child {
    padding-top: 0.3rem;
  }
}


.homepage-tagline-wrap {
  bottom: 4rem;
  position: absolute;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1rem 2rem;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.homepage-tagline {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}


@media only screen and (max-width: 480px) {
  .homepage-tagline-wrap {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .homepage-tagline {
    padding: 0;
  }
}
