/*
 * Globals
 */


/*
 * Base structure
 */

html,
body {
  height: 100%;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: none;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  border-bottom: 6px solid #8fc73e;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;  
  background-size: cover;
  background-position: bottom;
}
.cover-container {
  margin-left: auto;
  margin-right: auto;
}

.cover-heading .img-responsive {margin:auto; padding: 25px;}

/* Padding for spacing */
.inner {
  padding: 30px;
}


/*
 * Cover
 */

.cover {
  z-index:1;
  color:#666;
  background:#fff;
}

.cover-container h1 {font-size: 45px; margin-bottom:10px;}

.cover p, .cover a {
  color:#666;
  font-size: 30px;  
}


.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}

.lead {font-weight: 700;}

@media (max-width: 1200px) {
  .cover-container h1 {
    font-size: 35px;    
  }
}

@media (max-width: 991px) {
  .cover-container h1 {
    font-size: 30px;    
  }
  .cover p, .cover a {
    font-size: 20px;
  }

  .cover-heading .img-responsive {   
    max-height: 125px;
}

}

/*background slideshow*/
.cbp-bislideshow {
    list-style: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    padding: 0;
    margin: 0;
}
 
.cbp-bislideshow li {
    position: absolute;
    width: 101%;
    height: 101%;
    top: -0.5%;
    left: -0.5%;
    opacity: 0;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    transition: opacity 1s;
}
 
/* If background-size supported we'll add the images to the background of the li */
 
.backgroundsize .cbp-bislideshow li {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: center center;
}
 
/* ...and hide the images */
.backgroundsize .cbp-bislideshow li img {
    display: none;
}
 
.cbp-bislideshow li img {
    display: block;
    width: 100%;
}


/* Fallback */
 
.no-js.no-backgroundsize .cbp-bislideshow li:first-child {
    opacity: 1;
}
 
.no-js.backgroundsize .cbp-bislideshow li:first-child img {
    display: block;
}


/*
 * Affix and center
 */

@media (min-width: 992px) {  

  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }

}

@media (min-width: 992px) {
  .cover-container {
    width: 700px;
  }
}

@media (min-width: 1200px) {
  .cover-container {
    width: 960px;
  }
}

