/*!
 * Start Bootstrap - Business Frontpage HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
html {
    height: 100%;
    width: auto;
}
body {
    padding-top: 100px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    height: 100%;
}

#page-main {
    min-height: 100%;
}
#page-main .page-body {
  padding-bottom:100px; 
}
.pull-bottom {
  position: relative;
  margin-top: -100px; /* negative value of footer height */
  height: 100px;
  clear:both;
  padding-top:20px;
}


/* Navigation */
.navbar,
.navbar-nav li a, .navbar-brand {
    height: 100px;
    line-height: 96px;
    padding-top: 0px;
}
.navbar-default {
    background-color: white;
    border-bottom: 4px solid #ef2f2d;
}
.navbar-default .navbar-nav>li>a {
    color: #575757;
    font-size: 18px;
    border-bottom: 4px solid #ef2f2d;
}
.navbar-brand {
    padding-right: 100px;
    background: url('../images/sbs-logo.jpg') no-repeat;
    background-size: contain;
    height: 80px;
    margin-top: 10px;
}
.nav>li:hover,
.navbar-default .navbar-nav>li>a:hover {
    background-color: #2c404e;
    color: white;
}
.nav>li.phone:hover,
.navbar-default .navbar-nav>li.phone>a:hover {
    background-color:white;
    color: #2f338f;
}
.nav>li.nav-button:hover,
.navbar-default .navbar-nav>li.nav-button>a:hover {
    background-color:white;
}
.nav-button {
    padding-left: 40px;
}
.phone {
    color: #2f338f;
    font-size: 20px;
    font-weight: bold;
    padding-left: 40px;
}

.nav-selected span {
   border-bottom: 4px solid #ef2f2d;

}

.navbar-collapse.in {
    background-color: white;
    border-bottom: none;
}
.navbar-collapse.in .navbar-nav li a {
    height: 40px;
    line-height: 39px;
    padding-top: 0px;
    border-bottom: 1px solid gray;
}

/* Header Image Background*/

.business-header {
    height: 500px;
    background: url('../images/sbs-van.jpg') center center no-repeat scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.business-header .container,
.business-header .row {
    height: 100%;
}
.overlay {
    background-color: #2c404e;
    opacity: 0.96;
    font-size: 18px;
    color: white;
    height: 100%;
}
.inner-centered {
    width: 90%;
    margin: 0 auto;
    height: 100%;
    padding-bottom: 10px;
}
.header-text {
    font-size: 18px;
    color: white;
    padding-bottom: 20px;
    line-height: 30px;
}
.business-header hr {
    border-color: #ef2f2d;
}

/* Home Body */
.home-body h2 {
    padding-top: 40px;
    padding-bottom: 30px;
}
.home-body h3 {
    text-align: center;
}
.home-body .inner-centered,
.button-centered {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    height: 90px;
    padding-bottom: 10px;
}
.home-body {
    padding-bottom: 60px;
}

/* Testimonials */
#testimonials { background: url(../images/testimonials-background.jpg) top left repeat-x #f8f8f8; padding: 30px 0 20px; border-bottom: 1px solid white; box-shadow: 0 0 0 1px #f8f8f8; z-index: 90; }
#testimonials.no-shadow { background: #f8f8f8; }
#testimonials .testimonialsContainer:before, #testimonials .testimonialsContainer:after { display: block; position: absolute; content: " "; width: 45px; height: 35px; background: url(../images/quotes.png) center left no-repeat; }
#testimonials .testimonialsContainer:before { margin: 0px 0 0 -50px; }
#testimonials .testimonialsContainer:after { margin: -45px 0 0 780px; background-position: center right; }
#testimonials ul.testimonials li { text-align: center; }
#testimonials ul.testimonials li p { font-size: 16px; font-style: italic; color: #979797; margin: 0 15px 20px; }
#testimonials .pager { text-align: center; width: 96%; position: absolute; margin: 15px 0 0; }
#testimonials .pager .bx-pager-item { display: inline-block; margin: 0 3px; }
#testimonials .pager .bx-pager-item a { display: inline-block; width: 13px !important; height: 13px !important; background: #f1f1f1; text-indent: -5000px; padding: 0 !important; border: 1px solid white; border-radius: 1000px; }
#testimonials .pager .bx-pager-item a:hover { background: #e1e1e1; }
#testimonials .pager .bx-pager-item a.active { background: #cecece; }
#testimonials img { height: 40px; }

/* Clients */
.clients {
    text-align: center;
    padding-bottom: 90px;
    padding-top: 40px;
}
.clients p {
    padding-top: 10px;
}
.clients img {
    max-height: 70px;
    vertical-align: middle;
}
.clients .img-wrapper {
    height: 70px !important;
}

/* Page Body */
.page-body {
    padding: 40px 0;
}

/* Customize the text color and shadow color and to optimize text legibility. */
h1 {
    font-size: 30px;
}
h2 {
    color: #2f338f;
}

.tagline {
    text-shadow: 0 0 10px #000;
    color: #fff;
}

.img-center {
    margin: 0 auto;
}

footer {
    padding: 30px 0;
    height:100px;
    background-color: #191f26;
    text-align: center;
    vertical-align: middle;
    color: #d1d1d1;
}

.btn-red {
    background-color: #ef2f2d;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 2px;
}

ul.equipment-items {
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 20px;
}

img.grayscale {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

@media (max-width: 1200px) {

.navbar-default .navbar-nav>li>a {
    font-size: 14px;
}
.phone {
    font-size: 16px;
}
.header-text {
    font-size: 16px;
    line-height: 25px;
}

}

table tr td {
    padding: 10px;
}

.contact-label {
    text-align: right;
    color: #818181;
}

@media (max-width: 800px) {
    .business-header {
        background: none;
        height: auto;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .testimonialsContainer:before, .testimonialsContainer:after {
        display: none !important;
    }
}
