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

body {
  padding-bottom: 0px;
  color: #5a5a5a;
  background-color:#0079b1;
}


/* 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;
}
.page{
  position: relative;
  

  
	
	}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
  background-color: rgba(255,255,255,0);}
.page  > .container{
  
  background-image:url(../img/mec_page_header.jpg);
  background-position:right top;
  background-repeat:no-repeat;
  background-color:#ffffff;
  background-size:cover;
	 }
  
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
  background-color: rgba(255,255,255,0);
}


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

/* Carousel base class */
.carousel {

  margin-bottom: 60px;
}
/* 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: 735px;
  max-width: 1000px;
  margin-bottom:20px;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;

}

/* news ------------------------------------------------------------------------------------------------------------------------------------------------------ */

.news{
	margin-left:auto;
	margin-right:auto;
	margin-top:-660px;}
.news .box{
	position: relative;;
	top:0px;
	left:720px;
	border-left:1px solid #FBFBFB;
	padding-left:20px;
	width:380px;
	min-height:580px;
	}
.news .news-block{
	display:block;
	height:135px;
	width:350px;
}
.news .news-block>p>a{
	color:#373737;}

.news h2 {
  font-weight: normal;
  font-size:15px;
  padding-top:20px;
  color:#ff9c00;
}
.news .more{
	text-align:right;
	padding-right:10px;
	}
.shadow{box-shadow:3px 3px 0px rgba(0,0,0,0.2);}
.size{
	width:136px;
	height:136px;
	}

/* 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 background-color:#eaeaea; ----------------------------------------------------------------------------------------------------------------------------- */

.mecfoot{
	position:relative;
	z-index: 2050;
	text-align:center;
	background-color:rgba(234, 234, 233, 0.6);
	border-radius:20px;
	padding:10px 3px 1px 3px;
	margin-top:30px;
	margin-bottom:20px;
	}
	
@media (max-width: 768px) {
.carousel {
  height: 435px;
  margin-bottom: 60px;
}
.carousel .item {
  height: 435px;
  max-width: 1000px;
  margin-bottom:20px;
}
body {
  padding-bottom: 20px;
  color: #5a5a5a;
  background-color:#ffffff;
}

/* news ------------------------------------------------------------------------------------------------------------------------------------------------------ */

.news{
	margin-left:auto;
	margin-right:auto;
	margin-top:-160px;
	}
.news .box{
	clear:both;
	position: relative;;
	top:0px;
	left:0px;
	border-left:1px solid #FBFBFB;
	padding-left:20px;
	width:100%;
	}
.news .news-block{
	display:block;
	height:135px;
	width:100%;
}
.news .news-block>p>a{
	color:#373737;}

.news h2 {
  font-weight: normal;
  font-size:15px;
  padding-top:20px;
  color:#ff9c00;
}
.news .more{
	text-align:right;
	padding-right:10px;
	}
.shadow{box-shadow:3px 3px 0px rgba(0,0,0,0.2);}
.size{
	width:136px;
	height:136px;
}

.news .box{
	min-height:480px;
	}

}	

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

@media (min-width: 768px) {
	

  /* Navbar positioning foo */
  .navbar-wrapper {
   
  }
  .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 (min-width:992px) and (max-width:1199px) {
.carousel {
  height: 735px;
  margin-bottom: 60px;
}
.carousel .item {
  height: 735px;
  max-width: 1000px;
  margin-bottom:0px;
}

/* news ----------------------------------- */

.news{
	margin-left:auto;
	margin-right:auto;
	margin-top:-660px;}
.news .box{
	position: relative;;
	top:0px;
	left:580px;
	border-left:1px solid #FBFBFB;
	padding-left:20px;
	width:300px;
	}
.news .news-block{
	display:block;
	height:135px;
	width:300px;
}
.news .news-block>p>a{
	color:#373737;}

.news h2 {
  font-weight: normal;
  font-size:15px;
  padding-top:20px;
  color:#ff9c00;
}
.news .more{
	text-align:right;
	padding-right:10px;
	}
.shadow{box-shadow:3px 3px 0px rgba(0,0,0,0.2);}
.size{
	width:136px;
	height:136px;
}
.news .box{
	min-height:480px;
	}


}

@media (min-width:768px) and (max-width:991px) {

.carousel {
  height: 735px;
  margin-bottom: 60px;
}

.carousel .item {
  height: 635px;
  max-width: 1000px;
  margin-bottom:20px;
}
/* news ----------------------------------- */

.news{
	margin-left:auto;
	margin-right:auto;
	margin-top:-690px;}
.news .box{
	position: relative;;
	top:0px;
	left:430px;
	border-left:1px solid #FBFBFB;
	padding-left:20px;
	width:230px;
	}
.news .news-block{
	display:block;
	height:115px;
	width:230px;
}
.news .news-block>p>a{
	color:#373737;}

.news h2 {
  font-weight: normal;
  font-size:15px;
  padding-top:10px;
  color:#ff9c00;
}
.news .more{
	text-align:right;
	padding-right:10px;
	}
.shadow{box-shadow:3px 3px 0px rgba(0,0,0,0.2);}
.size{
	width:120px;
	height:120px;
}
.news .box{
	min-height:480px;
	}

}
@media (min-width: 1200px) {
	
  .news{
	margin-top:-580px;}

}