/* 
Project Name: Wolverine Contract
Author: Rory Baumstein
Developer @GA in Chicago
*/

/******************************************
/* SETUP                   
/*******************************************/

/* Box Model hack */
* {
     -moz-box-sizing: border-box; /* Firexfox */
     -webkit-box-sizing: border-box; /* Safari/Chrome/iOS/Android */
     box-sizing: border-box; /* IE */
}

/* Clear fix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES                   
/*******************************************/

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0 auto;
  max-width: 1260px;
  background-color: #d8d5db;
}

section {
  padding: 2% 3%;
}

/******************************************
/* NAVIGATION                  
/*******************************************/


h1 {
  color: white;
  background-color: #00274C;
  font-family: 'Julius Sans One', sans-serif;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5em;
  padding: 10px auto 5px auto;
  margin: 0 auto;
  width: 100%;
  border-bottom: 3px dashed white;
}

#cursive {
  font-family: 'Pacifico', cursive;
  text-transform: none;
  letter-spacing: 0;
  font-size: 3em;
}

#logo {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

nav, footer {
  font-family: 'Josefin Slab', serif;
  background-color: #00274C;
  color: #ffcb05;
  text-align: center;
  }

nav {
  letter-spacing: 0.19em;
  border-bottom: 3px dashed white;
  /*padding: 5px auto 5px auto;*/
/*  float: left;
  width: 100%;*/
}

nav ul {
  padding-left: 0;
}

#page-header nav li {
  display: inline;
  list-style-type: none;
  padding: 15px;
  float: left;
  width: 20%;
  background-color: #00274C;
}

nav a {
  color: #ffcb05;
  font-size: 1.3em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  color: #eff0f1;
  /*Transition*/
    -webkit-transition:All .6s ease;
    -moz-transition:All .6s ease;
    -o-transition:All .6s ease;
     
    /*Transform*/
    -webkit-transform: translate(0,7px) scale(1.1);
    -moz-transform: translate(0,7px) scale(1.1);
    -o-transform: translate(0,7px) scale(1.1);
}


#toTop {
 display: block;
 position: fixed;
 top: 50%;
 right: 0;
 padding: 10px;
 border-radius: 0.3em;
 line-height: 120%;
 width: 100px;
 background-color: rgba(122,18,28,0.6);
 font-family: 'Julius Sans One', sans-serif;
 color: white;
 text-align: center;
 text-decoration: none;
}

#toTop:hover {
  background-color: #640f17;
}

#hands {
  position: absolute;
  left: 50%;
  margin-left: -100px;
  top: -80px;
}

footer {
  position: relative;
  padding: 10%;
  font-size: 1.25em;
}

#footertext ul {
  list-style-type: none;
  padding-left: 0
}

#footertext ul li {
  display: inline-block;
  padding: 0 8px 0 8px;
}

#footertext ul li a {
  text-decoration: none;
  color: white;
}

#footertext ul li a:hover {
  color: #eae8ff;
  font-weight: bold;
  letter-spacing: 2px;
}


/******************************************
/* LAYOUT                  
/*******************************************/

#overlay {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 100;
    display: none;
}

#modal {
  width: 70%;
  color: black;
  background-color: white;
  padding: 10px 15px;
  margin: 0 auto;
  position: absolute;
  top: 10%;
  right: 20%;
  bottom: 10%;
  left: 15%;
  z-index: 100;
  overflow: scroll;
  display: none;
}

#contractM {
  position: relative;
  width: 120px;
  left: 50%;
  margin-left: -60px;
  margin-bottom: 25px;
  top: 6px;
}

#close {
    position:absolute;
    background:url(../img/close.png) 0 0 no-repeat;
    width: 35px;
    height: 49px;
    display:block;
    text-indent: -9999px;
    top: 3px;
    right: 10px;
}

.banner {
  background: url(../img/Michigan_Stadium_FordSchool.jpg) center center no-repeat;
  background-size: cover;
  overflow: visible;
  height: 580px;
}

.blurb {
  padding: 10px;
  margin: 20px auto;
 /* width: 38%;*/
 /* margin: 0px auto;
  background: rgba(255,255,255,.6);
/*  box-shadow: 0 0 5px rgba(0,0,0,.75);
  border-radius: 0.7em;*/
  width: 45%;
  float: left;
  color: white;
  font-size: 1.3em;
  text-align: center;
  text-shadow: 2px 2px black;
}

.button1, .button {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Julius Sans One', sans-serif;
  color: white;
  background-color: #7a121c;
  background: -webkit-linear-gradient(#7a121c, #4e0b12);
  background: -o-linear-gradient(#7a121c, #4e0b12);
  background: linear-gradient(#7a121c, #4e0b12);
  padding: 15px;
  margin-top: 10px;
  border-radius: 0.7em;
  box-shadow: 0 0 5px rgba(0,0,0,.75);
  letter-spacing: 4px;
  line-height: 130%;
  text-align: center;
  cursor: pointer;
}

.button1:hover, .button:hover {
  color: #ffcb05;
  /*border: 3px dashed white;*/
}

.button {
  display: block;
  padding: 4%;
  margin-top: 2%;
}

#bucket {
  display: block;
  margin: 0 auto;
  width: 300px;
}

#contract, .contract {
  width: 100%;
  text-align: justify;
  background-color: #adacb5;
  background-color: #eae8ff;
}

#myprogress {
  padding-top: 20px;
  padding-bottom: 20px;
}

#slider {
  width: 720px;
  height: 960px;
  overflow: hidden;
  margin: 0 auto;
/*  cursor: wait;*/
  cursor: url("../img/clock-4x.png"), default;
  margin-bottom: 20px;
}

.slider-moved-left {
  margin-left: -720px;
}

#slider .slides {
  display: block;
  width: 10080px;
  height: 960px;
  margin: 0;
  padding: 0;
}


#slider .slide {
  float: left;
  list-style-type: none;
  width: 720px;
  height: 960px;
  -webkit-transition: margin-left 1s ease;
  transition: margin-left 1s ease;
}

#victors {
  background-color: #eae8ff;
}

#fight-song {
  display: block;
  margin: 25px auto;
}

blockquote {
  text-align: center;
}

#bo {
  margin: 0 auto;
}

#bospeech {
  width: 100%;
}

.box {
  float: left;
  width: 33%;
}

#biotext {
  display: none;
}

#speechtext {
  display: none;
}

#legacytext {
  display: none;
}

/******************************************
/* ADDITIONAL STYLES                   
/*******************************************/

#icon{
  width: 8em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-family: 'Pacifico', cursive;
  letter-spacing: 2px;
  font-size: 1.5em;
}

h3 {
  color: #00274C;
  font-family: 'Josefin Slab', serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 1.8em;
  margin: 0 auto;
}

h4 {
  font-family: 'Julius Sans One', sans-serif;
  text-align: center;
  font-size: 1.3em;
  margin-top: 0;
}

p {
  line-height: 150%;
}

#consume:before {
  font-family: "FontAwesome";
  font-size: 2.5em;
  content: "\f0f5";
  margin: 0 10px 0 -25px;
  line-height: 52px;
  vertical-align: middle;
}

#purchase:before {
  font-family: "FontAwesome";
  font-size: 2.5em;
  content: "\f0d6";
  margin: 0 10px 0 -25px;
  line-height: 52px;
  vertical-align: middle;
}

#do:before {
  font-family: "FontAwesome";
  font-size: 2.5em;
  content: "\f1de";
  margin: 0 10px 0 -25px;
  line-height: 52px;
  vertical-align: middle;
}

ul #complete, ul #incomplete {
  list-style-type: none;
}

ul #complete:before, ul #incomplete:before {    
  font-family: "FontAwesome";
  font-size: 1.2em;
  margin: 0 5px 0 -22px;
}

ul #complete:before {    
  content: "\f058";
  color: #009900;
}

ul #incomplete:before {    
  content: "\f057";
  color: #f00;
}

.boLink {
  text-decoration: none;
  color: #00274C;
  font-weight: bold;
}

.boLink:hover {
  background-color: #ffcb05;
    -webkit-transition:All .6s ease;
    -moz-transition:All .6s ease;
    -o-transition:All .6s ease;
     
    /*Transform*/
    -webkit-transform: translate(0,2px);
    -moz-transform: translate(0,2px);
    -o-transform: translate(0,2px);
}

form {
  background-color: #eae8ff;
  padding: 1%;
  border-radius: 0.4em;
  margin-bottom: 80px;
  padding-top: 15px;
  box-shadow: 5px 5px 5px #888888;
  /*height: 370px;*/
}

#contactmessage {
  text-align: center;
  font-style: italic;
}

label {
  float: left;
  text-align: left;
  margin-right: 15px;
  width: 100px;
}

input, textarea {
  width: 300px;
  margin-bottom: 5px;
  line-height: 18px;
  padding: 2px 5px;
  border-radius: 0.7em;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border: 1px solid #CCC;
}

.submit {
  background: #00274c;
  background: -webkit-linear-gradient(#00274c, #00172d);
  background: -o-linear-gradient(#00274c, #00172d);
  background: linear-gradient(#00274c, #00172d);
  border: 0;
  margin-left: 115px;
  font-family: 'Julius Sans One', sans-serif;
  letter-spacing: 3px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  float: left;
  width: 150px;
  padding: 8px 16px;
  border-radius: 0.7em;
  box-shadow: 0 0 5px rgba(0,0,0,.75);
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 915px) {
    /* Style adjustments for viewports that meet the condition */
    h1 {
      letter-spacing: 0.3em;
    }

    #cursive {
      font-size: 2.5em;
    }

    .button1 {
      margin-right: 60px;
    }

    #hands {
      top: -100px;
    }
}

@media only screen and (max-width: 900px) {
  .menu li a {
    font-size: 1.2em;
    line-height: 130%;
    }

    h1 {
      letter-spacing: 0.2em;
    }

    #cursive {
      font-size: 2em;
    }
}

@media only screen and (max-width: 700px) {
  .menu li a {
    font-size: 1em;
  }

  h1 {
    font-size: 1.2em;
  }

  #modal {
    width: 80%;
    left: 10%;

  }

  #hands {
    display: none;
  }
}

@media only screen and (max-width: 650px) {
  #page-header nav li {
    font-size: 0.8em;
  }
}


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

  .hamburger {
    cursor: pointer;
    padding: 15px;
    display: block;
  }

  .line {
    border-bottom: 4px solid white;
    width: 35px;
    margin-bottom: 6px;
  }
  
  .line:last-child {
    margin-bottom: 0;
  }

  #page-header nav li {
    float: none;
    width: 100%;
    display: block;
  }

  .menu {
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
  }

  .menu li a {
    font-size: 1.5em;
    line-height: 120%;
  }

  nav a:hover {
    /*Transform*/
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -o-transform: translate(0);
}

  .open {
    height: 300px;
  }

  #contractM {
    width: 80px;
    margin-left: -40px;
  }

  h1 {
    font-size: 1em;
  }

  .blurb h2, .blurb p {
    display: none;
  }

  .button1 {
    position: absolute;
    left: 50px;
  }

  .box {
    width: 100%;
  }

  form input {
    width: 60%;
  }

  form textarea {
    width: 150px;
  }
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }
