/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}
*{font-family: 'Roboto', sans-serif;}

@font-face {
  font-family: 'Ostrich';
  src: url('staticpics/font/ostrich-bold.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */

}


/*NAVBAR STUFF
-------------------------------------------------- */
.navbar-default {
  background-color: #ffcd68;
  border-color: #febf40;
  z-index: 100000;
  visibility: hidden;
  opacity: 0.9;
}
.navbar-default .navbar-brand {
  color: #ffffff;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: #a97c22;
}
.navbar-default .navbar-text {
  color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
  color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #a97c22;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #a97c22;
  background-color: #febf40;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  color: #a97c22;
  background-color: #febf40;
}
.navbar-default .navbar-toggle {
  border-color: #febf40;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #febf40;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ffffff;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ffffff;
}
.navbar-default .navbar-link {
  color: #ffffff;
}
.navbar-default .navbar-link:hover {
  color: #a97c22;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #a97c22;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #a97c22;
    background-color: #febf40;
  }
}


 .header {
  
}

.navbar.affix {

    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    border: 0;
    margin-top: 0;
    padding-top: 0px;
    border-radius: 0;

}

.fb-like{
    height: 20px;
    overflow: hidden;
}

@media (min-width: 767px) {
  .fb-buttons{
    transform: translate(0, 70%);
  }
}
/* Change fonts for mobile
-------------------------------------------------- */
@media (max-width: 767px) {
  h2.mobile {
    font-size: 20px;
  }
}


/* COVER IMAGE STUFF
-------------------------------------------------- */

.logo {
  position:absolute;
  width: 35%;
  top: 30%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  max-height: 100%;
}
.inner{
    position:absolute;
    top: 70%;
    left: 50%;
    font-size: 3.5em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align:center;
    color: white;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
.registerbtn{
    position:absolute;
    top: 89%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);

}


.coverimage {
  background: url(staticpics/UCSB4.jpg)  no-repeat fixed;
  height: 100%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  min-height: 100%;
  min-width: 100%;
  box-sizing: content-box;
  position:relative;
  left:0;
  top:0;

}

#home, #scontainer, #about, #contact, .container-marketing, body, html {
    width:100%;
    height:100%;
    padding:0;
    margin:0;
}



/* FIRST IMAGE
-------------------------------------------------- */
.firstimage {
  background: url(staticpics/UCSB1)  no-repeat fixed;
  height: 100%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  position:relative;
  left:0;
  top:0;
  
}
.first_font{
    position:absolute;
    top: 50%;
    left: 50%;
    font-size: 3.5em;
    text-align:center;
    padding-left: 10%;
    padding-right: 10%;
    color: white;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
  .first_font{
    font-size: 2em;
  }
}
/* FONT OVERLAYS FOR IMAGES
-------------------------------------------------- */

#scontainer
{
    height: 100%;
    width: 100%;
    min-height: 100%;
    padding:0;
    margin:0;
    position:relative;
}

.simage
{    
  background: url(staticpics/UCSB11.jpg) no-repeat fixed;
  height: 100%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-attachment: fixed;
  background-position: center center;
   position:relative;
  
}
div.overlay {
    opacity: .37;
    background-color: black;
    position: absolute;
    left: 0; top: 0; 
    height: 100%; 
    width: 100%;
}


@media (min-width: 768px) {
  .btn-lg{
    padding:15px 45px;
    font-size: 32px;
  }
}
/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}



/* About Section
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-right: 15px;

  margin-top:20px;
  padding-left: 15px;
  
}

.marketing .col-md-4 {

  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-md-4 p {
  margin-right: 10px;
  margin-left: 10px;
}

/* Schedule Section 
---------------------------------*/
#schedule {
  height: 100%;
  width: 100%;
  min-height: 995px;
  padding: 0;
  margin: 0;
  position: relative;
}

.schedimage {
  background: url(staticpics/UCSB9.jpg) no-repeat fixed;
  height: 100%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  position: relative;
  left: 0;
  top: 0;
}

#sched-box-container {
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  text-transform: uppercase;
}

.sched-box {
  opacity: .85;
  background-color: #fff;
  position: relative;
  width: 100%;
  height: 145px;
  margin: 20px 0px 20px 0px;
}

.sched-box p{
  position: relative;
  padding-left: 160px;
  padding-right: 8px;
  line-height: 100%;
}

.sched-box-image {
  height: 125px;
  width: 143px;
  margin: 10px 0px 10px 10px;
  border-right: solid #d18d20 8px;
  position: absolute;
  padding-right: 10px;
}

.sched-font-heading {
  font-size: .8em;
  font-weight: bold;
  letter-spacing: -2px;
  padding-top: 8px;
}

.sched-font-body {
  font-size: .5em;
  letter-spacing: -1px;
}


/* Responsive CSS for schedule */
@media (max-width: 767px) {

  #sched-box-container {
    width: 100%;
  }
  .sched-box {
    height: 125px;
  }

  .sched-box-image {
    height: 95px;
    width: 113px;
    margin: 15px 0px 0px 5px;
    padding-right: 5px;
  }

  .sched-box p{
    padding-left: 130px;
    padding-right: 6px;
  }

  .sched-font-heading {
    line-height: 100%;
    padding-top: 8px;
    letter-spacing: -1px;
  }

  .sched-font-body {
    letter-spacing: 0px;
  }
}

@media (max-width: 400px) {
  .sched-box p{
    padding-left: 125px;
    margin-bottom: 4px;
  } 

  .sched-font-heading {
    font-size: 16px;
    padding-top: 12px;
  }

  .sched-font-body {
    font-size: 12px;
  }
}

/* Sponsor images
------------------------- */
.sponsor-image:hover {
  opacity: .7;
}


/* Contact us 
------------------------- */
.contactimage {
  background: url(staticpics/UCSB7.jpg)  no-repeat fixed;
  height: 100%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  position:relative;
  left:0;
  top:0;
}

/*-----------Mobile Images----------*/
@media (max-width: 767px) {
 
  .coverimage{
     background-attachment: scroll;
  }
  .simage{
     background-attachment: scroll;
  }
  .firstimage{
     background-attachment: scroll;
  }
  .contactimage{
     background-attachment: scroll;
  }
  .schedimage{
      background-attachment: scroll;
  }
  
  .logo{
      top:50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
  }
  .inner{
      top:76%;
      font-size: 1.6em;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);

  }
  
}
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-right: 0;
    padding-left: 0;
  }

  /* Navbar positioning */

  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left:  15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left:  0;
  }

  .featurette-heading {
    font-size: 30px;
  }
  
  /* Set base width of schedule boxes */
  #sched-box-container {
	width: 748px;
  }

}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}



