/* --- COLORS ---
#E05017 - orange
#D34818 - dark orange
#FBB040 - yellow
#EFA441 - dark yellow
#484848 - slate
#3A3A3A - dark slate
#828282 - medium grey
#BABABA - light grey
*/


/* --- BASIC ELEMENTS --- */
html,
body {
  height: 100%;
}

body {
  font-family: 'Rokkitt', serif;
  font-size: 22px;
  color: #f15b65;
}

a {
  text-decoration: none;
  color: #efd963;
}

p {
  padding-bottom: 1em;
  line-height: 1.3;
}

h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-bottom: 0.5em;
}

h4 {
  font-weight: bold;
}


/* --- UTILITY CLASSES --- */

.st-width {
  width: 940px;
  margin: 0 auto;
}

/* --- LAYOUT --- */

header {
  position: fixed;
  top: 0;
  z-index: 999;
  height: 120px;
  width: 100%;
  background-color: #FFF;
  transition: min-height 0.3s;
  -moz-transition: min-height 0.3s;
  -webkit-transition: min-height 0.3s;
  box-shadow: 0px 1px 1px #bbb;
  -moz-box-shadow: 0px 1px 1px #bbb;
  -webkit-box-shadow: 0 1px 1px #bbb;
}
@media only screen and (min-width: 641px) {
  .splash header {
    min-height: 100%;
    position: relative;
    border-top: #efd963 5px solid;
  }
  .splash section#about {
    margin-top: 0;
  }
}
header .st-width {
  min-height: 100%;
  position: static;
}
header h1 {
  float: left;
  width: 220px;
  min-height: 100%;
  bottom: 20px;
  position: absolute;
}
header h1 svg {
  position: absolute;
  bottom: 0;
}


/* --- TRANSITION SHIZZLE --- */

.splash header h1 svg #orangeArrowLarge,
.splash header h1 svg #yellowArrowLarge {
  -webkit-transition: -webkit-transform 0.8s ease-in;
  -webkit-transform: translate3d(0, -2400px, 0);
  -webkit-transition-delay: 0.4s;
}
.splash header h1 svg #yellowArrowLarge {
  -webkit-transition-delay: 1s;
}
.splash header h1.svg-loaded svg #orangeArrowLarge,
.splash header h1.svg-loaded svg #yellowArrowLarge {
  -webkit-transform: translate3d(0,0,0);
}

.splash header h1 svg g#shiftLogo {
  -webkit-transition: -webkit-transform 0.8s ease-in;
  -webkit-transform: translate3d(0, -2400px, 0);
}
.splash header h1.svg-loaded svg g#shiftLogo {
  -webkit-transform: translate3d(0,0,0);
}

header nav {
  position: absolute;
  bottom: 20px;
  margin-left: 590px;
}

header nav a {
  font-size: 22px;
  color: #1e2248;
  display: inline-block;
  margin-left: 15px;
}
header nav a:hover {
  color: #354b7a;
}
header nav a:active {
  color: #354b7a;
}

section {
  background-color: #1e2248;
  padding-top: 60px;
  position: relative;
  font-size: 32px;
}

section#about { z-index: 92; }
section#photos { z-index: 91; }
section#register {
  z-index: 93;
  padding-bottom: 50px;
}
footer { position: relative; z-index: 95 }

section .st-width {
  padding-top: 150px;
  background: url(../images/arrow_rule_dark.png) no-repeat center top;
}
section#about .st-width {
  padding-top: 120px;
  background-image: none;
  width: 560px;
  text-align: justify;
  text-transform: uppercase;
  position: relative;
}
section#sponsors .st-width {
  background-image: url(../images/arrow_rule_light.png);
  overflow: auto;
  padding-bottom: 70px;
}

section#about {
  margin-top: 120px;
}

#about .heart {
  position: absolute;
  height: 670px;
  width: 800px;
  left: -500px;
  bottom: -110px;
  z-index: -1;
  background: url(../images/big_heart.png) no-repeat 0 0;
}
section#photos {
  overflow: auto;
}
section#photos ul li {
  float: left;
  width: 300px;
  height: 300px;
  margin: 0 20px 20px 0;
  overflow: hidden;
}
section#photos ul li:nth-child(3n) {
  margin-right: 0;
}
section#photos ul li img {
  display: block;
  width: 300px;
}
section#photos ul li a img {
  transition: width 0.2s, margin 0.2s;
  -moz-transition: width 0.2s, margin 0.2s;
  -webkit-transition: width 0.2s, margin 0.2s;
}
section#photos ul li a:hover img {
  width: 306px;
  margin-top: -3px;
  margin-left: -3px;
}

section#sponsors {
  color: #1e2248;
  background-color: #FFF;
}
#sponsors h3 {
  margin-top: 2em;
}
#sponsors > div > p {
  font-size: 40px;
}
#sponsors ul {
  font-size:0;
  text-align:left;
}

#sponsors ul li {
  width: 140px;
  margin-right: 20px;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-position: 10px 0;
  background-repeat: no-repeat;
  display:inline-block;
  vertical-align:top;
}

#sponsors ul li a {
	display: block;
	padding-top: 140px;
	color: #828282;
	text-align:center;
}
#sponsors ul li.last {
  margin-right: 0;
}
#sponsors ul li#primalwear { background-image: url(../images/sponsors/Primal.jpg); }
#sponsors ul li#g4g { background-image: url(../images/sponsors/g4g.jpg); }
#sponsors ul li#coHS { background-image: url(../images/sponsors/CHSL_Logo.png); }
#sponsors ul li#bigAgnes { background-image: url(../images/sponsors/BigAgnes.jpg); }
#sponsors ul li#denverbeer { background-image: url(../images/sponsors/DenverBeer.jpg); }
#sponsors ul li#osprey { background-image: url(../images/sponsors/Osprey.jpg); }
#sponsors ul li#phunkshun { background-image: url(../images/sponsors/Phunkshun.jpg); }
#sponsors ul li#leftHand { background-image: url(../images/sponsors/LeftHand.jpg); }
#sponsors ul li#crankBrothers {background-image: url(../images/sponsors/CrankBrothers.jpg); }
#sponsors ul li#framedeart {background-image: url(../images/sponsors/FrameDeArt.jpg); }
#sponsors ul li#pfb {background-image: url(../images/sponsors/pfb.jpg); }
#sponsors ul li#taxi {background-image: url(../images/sponsors/taxi.jpg); }
#sponsors ul li#techdwellings {background-image: url(../images/sponsors/techdwellings.jpg); }
#sponsors ul li#tokyoJoes {background-image: url(../images/sponsors/TokyoJoes.jpg); }
#sponsors ul li#projectrecycle {background-image: url(../images/sponsors/ProjectRecycle.jpg); }
#sponsors ul li#i9 {background-image: url(../images/sponsors/Industry9.jpg); }
#sponsors ul li#native {background-image: url(../images/sponsors/native.jpg); }


#sponsors ul li p,
#sponsors ul li h4 {
  margin: 10px;
}

section#register {
  color: #FFFFFF;
}

#register .date {
  text-align: center;
}
#register span {
  display: block;
  text-transform: uppercase;
  line-height: 0.7em;
}
#register .date .month{ font-size: 53px;  }
#register .date .day  { font-size: 104px; }
#register .date .year { font-size: 54px; }
#register .date .time { font-size: 30px; }

#register h2.join {
  background: url(../images/mini_chevron.png) no-repeat top center;
  padding-top: 80px;
  margin-top: 35px;
  text-align: center;
  font-size: 60px;
}

#register p {
  text-align: center;
  color: rgba(255,255,255, .75);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
}

#registration_form {
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  background-color: #354b7a;
  padding: 40px;
  margin-top: 10px;
}

#registration_form h2 {
  color: #efd963;
  font-size: 38px;
  border-bottom: rgba(255,255,255,.75) 4px solid;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

#registration_form fieldset {
  width: 300px;
}
#registration_form input,
#registration_form select {
  background-color: #BABABA;
  display: block;
  padding: 10px;
  border: #BABABA 1px solid;
  margin-bottom: 10px;
}
#registration_form select {
  -webkit-appearance: none;
  border-radius: 0;
  margin-left: 0;
}
#registration_form select.with-placeholder {
  color: #828282;
}
#registration_form input {
  width: 240px;
  box-sizing: border-box;
}
#registration_form p {
  padding-top:20px;
  padding-bottom:50px;
  text-align:left;
}
#registration_form a {
  background-color: #efd963;
  border-color: #efd963;
  font: bold 24px Rokkitt;
  color: #1e2248;
  cursor: pointer;
  padding:10px 20px;
}
#registration_form input[type='submit']:hover {
  background-color: #efd963;
}

#registration_form input[type='submit']:active {
  background-color: #efd963;
}

#registration_form input[disabled],
#registration_form input[disabled]:hover {
  background-color: #efd963;
  border-color: #efd963;
  cursor: default;
}

::-webkit-input-placeholder {
   color: #828282;
}
:-moz-placeholder { /* Firefox 18- */
   color: #828282;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #828282;
}
:-ms-input-placeholder {
   color: #828282;
}

#registration_form .thank-you-text {
  background: url(../images/sm_heart.png) no-repeat top center;
  width: 340px;
  height: 200px;
  float: right;
  margin-right: 20px;
  margin-top: 0px;
  text-align: center;
  font-size: 27px;
  padding-top: 30px;
  color: #FBB040;
}


#registration_form input.invalid,
#registration_form select.invalid {
  border: red 1px solid;
}

section#location {
  height: 100%;
  background: none;
}
.map-wrap {
  height: 100%;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
}
#map {
  height: 100%;
}
.map-wrap address {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: #fff;
  padding:20px;
  color: #1e2248;
  opacity: 0.9;
}
.map-wrap address span {
  display: block;
}
.map-wrap address span:nth-child(1) {
  font-size: 45px;
}
.map-wrap address span:nth-child(2) {
  font-size: 20px;
}
.map-wrap address span:nth-child(3) {
  font-size: 34px;
}

footer {
  background-color: #1e2248;
  padding: 35px 0;
}
footer a {
  display: block;
  text-align: center;
  clear: both;
  color: #FFF;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 32px;
}
footer .social-links {
  margin: 0 auto 15px;
  width: 240px;
  overflow: auto;
}
footer .social-links li {
  float: left;
  margin: 0 10px;
}
footer .social-links li a {
  width: 60px;
  height: 60px;
  background: url(../images/social_icons.png) no-repeat 0 0;
  overflow: hidden;
  text-indent: 100%;
}

footer .social-links li.email-link a { background-position: 0 0; }
footer .social-links li.twitter-link a { background-position: -80px 0; }
footer .social-links li.instagram-link a { background-position: -160px 0; }

footer .social-links li.email-link a:hover { background-position: 0 -80px; }
footer .social-links li.twitter-link a:hover { background-position: -80px -80px; }
footer .social-links li.instagram-link a:hover { background-position: -160px -80px; }

footer .social-links li.email-link a:active { background-position: 0 -160px; }
footer .social-links li.twitter-link a:active { background-position: -80px -160px; }
footer .social-links li.instagram-link a:active { background-position: -160px -160px; }
