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

body {
	padding-bottom: 40px;
	color: #5a5a5a;
}
/* 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;
}
.navbar-wrapper .navbar .container {
	width: auto;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
	height: 430px;
	margin-bottom: 0px;
	background-color: #223A7A;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
	z-index: 10;
	text-shadow:none;
	color:#333;
}
.carousel-caption h1{
	z-index: 10;
	text-shadow:none;
	color:#001948;
}
/* Declare heights because of positioning of img element */
.carousel .item {
	height: 430px;
	background-color: #223A7A;
}
.carousel-inner > .item > img {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	height: 430px;
}
.carousel-control.left {
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0px, transparent 100%);
	background-repeat: repeat-x;
	z-index:3;
}
.carousel-control.right {
	left: auto;
	right: 0px;
	background-image: linear-gradient(to right, transparent 0px, rgba(0, 0, 0, 0.2) 100%);
	background-repeat: repeat-x;
	z-index:3;
}
/* CUSTOM SLIDE CONTENT
-------------------------------------------------- */
.cover-sl {
	width:100%;
	float:left;
	display:inline-block;
	height:430px;
	background:#FFF;
	position:absolute;
	z-index:0;
}
.cover-sr {
	width:60.4%;
	float:right;
	display:inline-block;
	height:430px;
	position:relative;
	z-index:1
}
.carousel-caption {
	left:8%;
	right:60%;
	text-align:left;
	padding-bottom: 5px;
}
.carousel-cover-top {
	float:left;
	width:100%;
	height:235px;
	display:block;
	overflow:hidden;
}
.carousel-cover-top img {
	width:auto;
	height:167%;
}
/* SERVICES CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.services .col-lg-4, .services  .col-lg-3, .services  .col-md-3, .services  .col-sm-6 {
	margin-bottom: 20px;
	margin-top:30px;
	text-align: center;
}
.services  h1 {
	font-weight: normal;
	color:#f7941e;
}
.services p {
	margin:  8px 10px;
	color:#fff;
}
/* Featurettes
------------------------- */

.featurette-divider {
	margin: 30px 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
	font-weight: 300;
	line-height: 1;
	letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1440px) {

.carousel-cover-top img {
    width: auto;
    height: 123%;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.carousel-cover-top {
height:215px;
}
.carousel-cover-top img {
width:auto;
height:120%;
}
.carousel-caption {
    left: 8%;
    right: 56%;
    text-align: left;
    padding-bottom: 2px;
}
.carousel-caption p {
 margin-bottom: 13px;
}
.cover-sr {
    width: 58.2%;
}
}
@media (min-width: 768px) and (max-width: 991px) {
 .carousel-cover-top img {
width:auto;
height:112%;
}
 .carousel-cover-top {
float:left;
width:100%;
height:200px;
display:block;
overflow:hidden;
}
.carousel-caption p {
	font-size:14px!important;
}
.carousel-caption h1 {
	font-size:1.5em!important;
}
}
 @media (min-width: 992px) {
 .carousel .featurette-heading {
 margin-top: 120px;
}
}
@media (min-width: 768px) {
	

  /* Navbar positioning foo */
  .navbar-wrapper {
 margin-top: 0px;
}
 .navbar-wrapper .container {
 padding-right: 15px;
 padding-left: 15px;
}
 .navbar-wrapper .navbar {
 padding-right: 0;
 padding-left: 0;
}

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
 border-radius: 0px;
}
 .navbar-wrapper .navbar.navbar-fixed-top {
 border-radius: 0px;
}

  /* Bump up size of carousel content */
  .carousel-caption p {
 margin-bottom: 20px;
 font-size: 16px;
 line-height: 1.4;
 font-weight:normal;
}
 .featurette-heading {
 font-size: 36px;
}
}

@media (min-width: 320px) and (max-width: 767px) {
.carousel-caption {
 left: 9%;
 right: 9%;
 text-align: left;
 padding-bottom: 5px;
}
.carousel-caption h1{ font-size:1.5em;}
 .carousel-cover-top img {
 width: auto;
 height: 100%;
}
.cover-sr {
display:none;
}
.r-i-mobile { width:101%; overflow:hidden;}
.r-i-mobile img{ max-width:140%; overflow:hidden;}
}
