/* 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: 365px;
	margin-bottom: 0px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
	height: 365px;
	background-color: #a21c36;
}
.carousel-inner > .item > img {
	position: relative;
	left: 41px;
	right: auto;
	width: 90%;
}



/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

.wrapper {
	width: 1200px;
}

footer {
	/*
	margin-top: 10px;
	*/
}
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

.container-logo {
 margin-left:auto;
 margin-right:auto;
 margin-top:50px;
 width: 1200px; 
 height: 175px; 
}

.container-home {
 margin-left:auto;
 margin-right:auto;
width: 1200px;
 height: 377px; 
}

.about-ima-image {
	background-image:url(../images/about-ima-home.png);
	background-position:center;
	background-size:cover;
}
.about-imaserve-image {
	background-image:url(../images/about-imaserve-home_D4a.png);
	background-position:center;
	background-size:cover;
}
.contact-image {
	background-image:url(../images/contact-home.png);
	background-position:center;
	background-size:cover;
}
.override {
	border-bottom: 1px solid #003a6f !important;
}
.override-top {
	border-top: 1px solid #fff !important;
}
.imaserve-image-table {
	 width:50px;
	 height:386px;
}
.imaserve-list-table {
	 width:50px;
	 height:1px;
}
@font-face {
  font-family: 'Interstate Light Condensed';

  src: url('../fonts/interstate-light-cond.eot');
  src: url('../fonts/interstate-light-cond.eot?#iefix') format('embedded-opentype'), url('../fonts/interstate-light-cond.woff') format('woff'), url('../fonts/interstate-light-cond.ttf') format('truetype'), url('../fonts/interstate-light-cond.svg#interstate-light-cond') format('svg');
}
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .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: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }

}

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


@media (max-width: 399px) {
.container-logo {
 margin-left:auto;
 margin-right:auto;
 margin-top:50px;
width: 160%; 
 height: 90px;
}
.container-home {
 margin-left:auto;
 margin-right:auto;
  width: 360px;
 height: 200px; 
 color: #000; 
}
.carousel {
	height: 200px;
	margin-bottom: 0px;
}
.carousel .item {
	height: 200px;
	background-color: #a21c36;
}
.carousel-inner > .item > img {
	position: relative;
	left: 25px;
	right: auto;
	width: 90%;
}
}
@media (min-width: 400px) and (max-width: 767px) {
.container-logo {
 margin-left:auto;
 margin-right:auto;
 margin-top:50px;
width: 100%; 
 height: 110px;
}
.container-home {
 margin-left:auto;
 margin-right:auto;
   width: 100%;
 height: 249px;
 color: #000;  
}
.carousel {
	height: 300px;
	margin-bottom: 0px;
}
.carousel .item {
	height: 300px;
	background-color: #a21c36;
}
.carousel-inner > .item > img {
	margin: 0 auto;
	width: 70%;
	top: 20px;
	left: -10px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.container-logo {
 margin-left:auto;
 margin-right:auto;
 margin-top:50px;
width: 100%; 
 height: 150px;
}
.container-home {
 margin-left:auto;
 margin-right:auto;
 width: 768px;
 height: 376px;
 color: #000;  
}
.carousel {
	height: 377px;
	margin-bottom: 0px;
}
.carousel .item {
	height: 377px;
	background-color: #a21c36;
}
.carousel-inner > .item > img {
	top: 70px;
	left: -10px;
	margin: 0 auto;
	width: 90%;
}
.about-ima-image {
	background-image:url(../images/about-ima-home.png);
	background-position: -60px -80px;
	background-size: 120%;
	background-repeat:no-repeat;
}
.about-imaserve-image {
	background-image:url(../images/about-imaserve-home_D4a.png);
	background-position: -65px -70px;
	background-size: 125%;
	background-repeat:no-repeat;
}
.imaserve-image-table {
	 width:50px;
	 height:426px;
}
.contact-image {
	background-image:url(../images/contact-home.png);
	background-position: -60px -80px;
	background-size: 120%;
	background-repeat:no-repeat;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
.container-logo {
 margin-left:auto;
 margin-right:auto;
 margin-top:50px;
width: 100%; 
 height: 160px; 
}
.container-home {
 margin-left:auto;
 margin-right:auto;
 width: 992px;
 height: 359px;
 color: #000;  
}
.carousel {
 height: 360px;
 margin-bottom: 0px;
}
.carousel .item {
	height: 360px;
	background-color: #a21c36;
}
.carousel-inner > .item > img {
	top: 20px;
	left: -5px;
	margin: 0 auto;
	width: 90%;
}
.about-imaserve-image {
	background-image:url(../images/about-imaserve-home_D4a.png);
	background-position: -60px -120px;
	background-size: 120%;
	background-repeat:no-repeat;
}
.imaserve-image-table {
	 width:50px;
	 height:426px;
}
@media (min-width: 1200px) {
.container-logo {
 margin-left:auto;
 margin-right:auto;
 margin-top:50px;
 max-width: 1200px; 
 height: 175px; 
}
.container-home {
 margin-left:auto;
 margin-right:auto;
width: 1200px;
 height: 376px;
 color: #000; 
}
}

@media (min-width: 1350px) {
.container-home {
 margin-left:auto;
 margin-right:auto;
width: 80%;
 height: 376px;
 color: #000; 
}
.carousel {
	height: 377px;
	margin-bottom: 0px;
}
.carousel .item {
	height: 377px;
	background-color: #a21c36;
}
.carousel-inner > .item > img {
	top: 70px;
	left: -10px;
	margin: 0 auto;
	width: 70%;
}
}

/* column hack */

.content {
        text-align: left;
        background: #003a6f;

}


@media (min-width:399px) { 
    .my-row {
        position: relative;
        height: 100%;
        overflow: hidden;
    }
    .img-fluid {
        width: 100%;
    }
    .row.my-row > [class*="col-"] {
        position: relative;
    }
    .background {
        position: absolute;
        padding-top: 200%;
		padding-left: 0px;
		padding-right: 0px;
		padding-bottom: 402px;
        left: 0;
        top: 0;
        width: 100%;
        background: #003a6f;
    }
    .content {
        position: relative;
        z-index: 1;
        width: 100%;
        text-align: left;
    }

}
