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

@font-face {
    font-family: 'italicHeading';
    src: url('dist/fonts/Vera-Bold-Italic-webfont.eot');
    src: url('dist/fonts/Vera-Bold-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('dist/fonts/Vera-Bold-Italic-webfont.woff') format('woff'),
         url('dist/fonts/Vera-Bold-Italic-webfont.ttf') format('truetype'),
         url('dist/fonts/Vera-Bold-Italic-webfont.svg#bitstream_vera_sansBdOb') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: #01036a; }
h1 { margin: 50px 0; margin-bottom: 20px !important; display: block; float: left; width: 100%; }
a, a:link, a:visited { color: #01036a; }

.btn-primary { background-color: #01036a; border-color: #00013d; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { background-color: #3e41c6; }

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */


/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
.navbar-brand { position: absolute; top: -28px; left: 0; }
/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
  padding-left: 0;
  padding-right: 0;
}
.navbar-wrapper .navbar {
  padding-left: 15px;
  padding-right: 15px;
}
.container>.navbar-collapse { margin-left: 160px; }
.navbar-inverse { background-color: #fff; }
.navbar-inverse .navbar-toggle { border-color: #01036a; }
.navbar-inverse .navbar-toggle .icon-bar { background-color: #01036a; }
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: #01036a; }
.navbar-inverse .navbar-toggle:hover .icon-bar, .navbar-inverse .navbar-toggle:focus .icon-bar { background-color: #fff; }
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus { background-color: #01036a; }
.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus { color: #01036a; }


/* Contact form */
.messageBoxError { width: 100%; float: left; margin-bottom: 12px; }
.messageBoxError > div { color: #ff0000; }
.inputItem { width: 100%; float: left; margin-bottom: 12px; }
label { display: block; float: left; width: 100%; }
.inputTextBox { width: 100%; float: left; }
.errorLabel { color: #ff0000; width: 100%; float: left; }
.inputTextBox input, .inputTextArea textarea { width: 100%; max-width: 280px; font-size: 13px; color: #333; padding: 5px 4px; -webkit-border-radius: 2px; border-radius: 2px; border: 1px solid #ccc; border-top: 1px solid #333; }
.inputTextBox input:focus, .inputTextArea textarea:focus { border-color: #01036a; -webkit-box-shadow: 0 0 10px #01036a; box-shadow: 0 0 10px #01036a; }
.inputSubmit input { font-size: 13px; color: #fff; padding: 8px 16px; -webkit-border-radius: 2px; border-radius: 2px; background-color: #01036a; border: none; margin-top: 20px; }
.inputSubmit input:hover { padding: 9px 16px 7px; }
.inputSubmit input:active { padding: 10px 16px 6px; background-color: #333; }

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  color: #01036a;
  text-shadow: 0 1px 2px #fff;
  background-color: rgba(255,255,255,0.85);
  -webkit-border-radius: 4px;
  border-radius: 4px;
  font-family: 'italicHeading', Arial, Sans-Serif;
  padding-left: 30px;
  padding-right: 30px;
}
.carousel-caption h1 { font-family: 'italicHeading', Arial, Sans-Serif; font-size: 30px; }
.carousel-indicators li { border-color: #01036a; box-shadow: 0 0 5px #fff; }
.carousel-indicators li.active { background-color: #01036a; }
.noBackColor { background-color: transparent; }
.textAR { text-align: right; }
#myCarousel.staticImage { height: 240px; overflow: hidden; margin-bottom: 40px; }


.mainImageHolder { width: 100%; height: auto; background-color: #fff; float: left; }
.mainImageHolder img { width: 100%; height: auto; max-height: 200px; margin: 50px auto 0 auto; display: block; }

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

.contentContainer img { width: 100%; height: auto; max-width: 100%; }

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

/* Pad the edges of the mobile views a bit */
.marketing {
  padding-left: 15px;
  padding-right: 15px;
}

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

footer a.designBy, footer a.designBy:link, footer a.designBy:visited { color: #ccc; }

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .marketing {
    padding-left: 0;
    padding-right: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-left:  15px;
    padding-right: 15px;
  }
  .navbar-wrapper .navbar {
    padding-left:  0;
    padding-right: 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;
  }
  
  .mainImageHolder { height: 260px; overflow: hidden; }
  .mainImageHolder img { margin-top: 66px; max-width: 720px; max-height: 260px; -webkit-box-shadow: 0 0 50px #01036a; box-shadow: 0 0 50px #01036a; }

}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
  .hideFromDesktop { display: none; }
  .mainImageHolder img { max-width: 940px; }
}

@media (min-width: 1200px) {
	h1 { margin-bottom: 50px !important; }
	h2, h3 { margin-top: 0; margin-bottom: 20px; }
	.mainImageHolder img { max-width: 1140px; }
}
