/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 0px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
   background: url(../images/background-bg.jpg) repeat-x #000;
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}
.logo{position: absolute;float: left;margin-top:25px;z-index: 1000;}

/* Home Page Carousel */

header.carousel {
    height:369px;
    border-top:background:url(../images/border-top.png)no-repeat; 
    border-bottom: url(../images/border-bottom.png)no-repeat;
    
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.border-top img{width: 100%;}
.border-bottom img{width: 100%;}
/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* content bg - red bg */
.content-bg{background: url(../images/content-bg.jpg) repeat;padding: 50px 0 10px;}
/*end */


/* additional css -- custom */

.header-bg1 .img_right{float: right !important;margin: 0px;}

/* slider*/
.tagline{float: right;position: absolute; z-index: 1000; right: 20px; top:197px;}

/* end */

/*navigation*/
/* make sidebar nav vertical */ 
@media (min-width: 768px) {
  .sidebar-nav .navbar .navbar-collapse {
    padding: 0;
    max-height: none;
  }
  .sidebar-nav .navbar ul {
    float: none;
    position: relative;
  }
  .sidebar-nav .navbar ul:not {
    display: block;   
  }
  .sidebar-nav .navbar li {
    float: none;
    display: block;
    padding: 0 14px;
  }
  .sidebar-nav .navbar li a {
    padding-top: 12px;
    padding-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 1px solid #3f3f3f;
    font-weight: bold;
  }
    .sidebar-nav .navbar li:last-child a {border-bottom: 0px;}
  
  .sidebar-nav .navbar li ul li{padding: 0;}
  .sidebar-nav .navbar li ul li:hover a{background: none;}
}
/*end */

/* run-log*/
#box1{width: 100%; display: inline-block;padding: 25px 17px; color: #fff;background: url(../images/col-bg1.jpg) no-repeat;margin-top: 10px;background-size:cover; 
/* background: -webkit-linear-gradient(#5d1515, black); 
 background: -o-linear-gradient(#5d1515, black); 
 background: -moz-linear-gradient(#5d1515,black); 
 background: linear-gradient(#5d1515,black);*/ 

}
.header-bg1{background: url(../images/header-bg1.jpg) no-repeat #111111;padding:1px 14px;}
.header-bg1 h4{text-transform: uppercase;}
.date-time{width:247px; display: inline-block; color: #c2a8a8; font-size: 14px;padding: 15px 0 0px 0;}
.date{width: 153px; float: left;}
.time{width: 77px; float: right;}
.dispatch-icon{float: left;width: 67px;margin: 10px 0;}
.dispatch-text{float: right; width: 156px;color: #fff;margin: 10px 0;}
#box1 ul{list-style: none;margin: 10px 0 0 0;padding: 0px;}
#box1 ul li{background: url(../images/arrow.png) no-repeat right  center;line-height: 25px;}
.img_right{float: right; margin-right: -9px; margin-top: -33px;}
/* end */

/* middle column*/
#box2{width: 100%; display: inline-block;padding: 25px 17px; color: #fff;background: url(../images/col-bg2.jpg)no-repeat;margin:0 0 13px 0;line-height: 24px;background-size: cover;}
#box2 h4{margin: 15px 0;}
#box3{width: 100%; display: inline-block;padding: 25px 17px; color: #fff;background: url(../images/col-bg3.jpg)no-repeat;margin:0 0 13px 0;line-height: 24px;background-size: cover;}
.news-detail{width: 100%; border-bottom: 1px solid #8f6d6d;display: inline-block;padding:30px 0 ;}
.news-detail:last-child{border-bottom: none; padding-bottom: 0px;}
.news-img{width: 203px; float: left;padding-top: 7px;}
.news-text{width: 250px; float: right;}
.news-text h4{margin: 5px 0;}
.news-date{text-transform: uppercase;}
#box4{width: 100%; display: inline-block;padding: 25px 17px; color: #fff;background: url(../images/box4-bg.jpg)no-repeat;margin:0 0 15px 0;line-height: 24px;height: 290px;background-size: cover;}
#box4 ul{width: 154px; float: right; background: #fff;list-style: none;margin-top: 30px;padding: 10px 20px;}
#box4 ul li a{color: #181818;line-height: 38px;font-size: 16px;font-weight: normal;}
/*end */

/* right coulmn*/
#box5{width: 100%; display: inline-block;padding: 19px 17px; color: #fff;background: url(../images/box5-bg.jpg)no-repeat;line-height: 24px;background-size:cover; }
.photo-img{margin: 20px 0;}
#box6{width: 100%; display: inline-block;padding: 19px 17px 0 17px; color: #fff;background: url(../images/donate-bg.jpg)no-repeat;margin:0 0 12px 0;line-height: 24px;background-size:cover;margin: 10px 0;}
#box6 p{color: #606060;padding: 10px 0;}
.payment-type img{padding: 0 2px;}
.payment-type img:first-child{padding-left: 0px;}
#box6 .btn-default {
    background-color: #9f1b1b;
    color: #fff;
}
#box7{width: 100%; display: inline-block;padding: 25px 17px 0 17px; color: #fff;background: url(../images/col-bg3.jpg)no-repeat;margin:0 0 12px 0;line-height: 24px;background-size: cover;}
.knox-img{width: 66px;float: left;margin: 10px 0 0 0;}
.knox-text{width: 167px;float: right;margin: 10px 0 0 0;}
#box8{width: 100%; display: inline-block;padding: 25px 17px 10px 17px; color: #fff;background: url(../images/box5-bg.jpg)no-repeat;margin:0 0 12px 0;line-height: 24px; background-size:cover; }
.fire-table{width: 100%; display: inline-block; padding: 3px 5px;}
.year{width: 46%; float: left;}
.fire{width: 27%; float: left;}
.ems{width: 27%; float: right;}
.red-bg{background: #420a0a;opacity: 0.8;}
/* end */
.red-box{margin: 50px 0 10px 0;}
#box9{width: 100%; display: inline-block;/*padding: 25px 57px 0;*/ color: #fff;background: url(../images/col-md-4-bg.jpg)no-repeat;margin:0 0 12px 0;line-height: 24px;height: 130px;background-size:cover;}
.red-box-icon{width: 35px;border: 1px solid #fff;height: 39px;padding-top: 6px; text-align: center; float: left;margin-top: 2px;}
.red-box-text{width: 214px; float: right;font-size: 13px;line-height: 22px;}
.red-box-text h4{margin: 0px;font-size: 17px;}

#box9 span{display: table; margin: 39px auto; vertical-align: middle; width: 70%;}

.footer-bg{height: 166px;padding: 20px 0; text-align: center; background: url(../images/footer-bg.jpg) no-repeat;color: #fff;margin-top:-17px; }
.footer-bg h4{text-transform: uppercase;color: #dcd9d1;margin: 25px 0;}
.footer-logo{margin-top: -15px;}

/* end*/
/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 41px 0 10px 0;color: #ffffff;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

@media only screen and (min-width:990px) and (max-width:1180px) {
	.date{width: 135px;}
	.time{width: 107px;}
	.news-text{width: 162px;}
	.dispatch-text{width: 126px;}
	.knox-text{width: 126px;}
	#box6{padding: 19px 6px 0;}
	.payment-type img{padding: 0px;}
	.photo-img img{width: 100%;}
	.red-box-text{width: 165px;}
}	

@media only screen and (min-width:960px) and (max-width:989px) {
	.date{width: 135px;}
	.time{width: 107px;}
	.news-text{width: 422px;margin-left: 10px; float: left;}
	.dispatch-text{width: 566px;margin-top: 40px;}
	.knox-text{width: 576px;}
	#box6{padding: 19px 6px 0;}
	.payment-type img{padding: 0px;}
	.photo-img{text-align: center;}
	.red-box-text{width: 165px;}
	#box9 span{width: 32%;}
}	

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.dispatch-text{width: 546px;margin-top: 35px;margin-left: 10px; float: left;}
	.news-text{margin-top: 10px;width: 430px;}
	.photo-img {text-align: center;}
	.knox-text{width: 567px;}
	#box9 span{width: 40%;}
}	

@media only screen and (min-width: 640px) and (max-width: 767px) {
	.news-text{width:310px;margin-left: 10px; float: left;}
	.photo-img {text-align: center;}
	.payment-type img{padding: 0;}
	.red-box-text{width: 235px;}
	.footer-bg p{font-size: 14px;}	
	.knox-text{width: 454px;}
	.dispatch-text{margin: 37px 0;width: 445px;float: left; margin-left: 10px;}
	#box9 span{width: 50%;}
}	

@media only screen and (min-width: 480px) and (max-width: 639px) {
	.news-text{width: 162px;}
	.photo-img {text-align: center;}
	.payment-type img{padding: 0;}
	.red-box-text{width: 235px;}
	.footer-bg p{font-size: 14px;}	
	.knox-text{width: 294px;}
	.dispatch-text{margin: 27px 0;width: 296px;float: left; margin-left: 10px;}
	.tagline{width: 142px;}
	.tagline img{width:100%;}
	.logo img{width: 80%; }
}	

@media only screen and (min-width: 320px) and (max-width: 479px) {
	.logo img{width: 100%;}
	.news-img{margin: 0 auto; float: none; margin-bottom: 5px;}
	.news-text{width: 211px;float: none; margin: 0 auto; display: table;}
	.photo-img img{width: 100%;}
	.payment-type img{padding: 0;}
	.red-box-text{width: 135px;}
	.footer-bg p{font-size: 14px;}	
	.knox-text{width: 132px;}
	.date{width: 141px;}
	.time{width: 102px;}
	.dispatch-text{width: 140px;float: left; margin-left: 10px;}
	#box9 span{width: 75%;}
	.tagline{top:287px;}
	.tagline img{width: 54%;float: none; margin: 0 auto;display: table;}
	.logo img{width: 80%; float: none; margin: 0 auto;display: table;}
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 8px;
  padding-left: 8px;
}

