/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}

p.moreorless > a:first-child {display:none;}
p.moreorless > a:last-child {display:initial;}
p.moreorless.collapsed > a:first-child{display:initial;}
p.moreorless.collapsed > a:last-child{display:none;}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */


/* 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;
  margin-bottom: 0;

}
.navbar-wrapper .navbar .container {
  width: auto;
}

/*
.first-slide {top:0;}
.second-slide {top:0;}
.third-slide {top:0;}
.fourth-slide {top:20%;}
.fifth-slide {top:30%;}
.sixth-slide {top:0;}
.seventh-slide {top:-50;}
*/

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

.carousel {
  margin-bottom: 60px;
}
/* Declare heights because of positioning of img element */
.carousel .item {
  height: 200px;
  background-color: #777;
}
.carousel-small .item {
  height: 100px;
}
/* Carousel base class */
.carousel-inner > .item > img {
  position: relative;
  min-width: 100%;
  height: auto;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
  padding-bottom: 40px;
  border-radius: 5px;
  bottom: 10px;
  margin:0;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing .col-lg-3 {
  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: 40px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


		.bs-callout {
			padding: 5px;
			margin: 20px 0;
			border: 1px solid #eee;
			border-left-width: 5px;
			border-radius: 3px;
		}
		.bs-callout-info {
			border-left-color: #1b809e;
		}
		.nowrap
		{
			white-space: nowrap;
		}
		.img-row {
		  display: flex;
		  flex-wrap: wrap;
		  //padding: 0 4px;
		}

		/* Create two equal columns that sits next to each other */
		.img-column {
			flex: 25%;
			max-width: 25%;
			//padding: 0 4px;
		}

		.img-column img {
		  //margin-top: 8px;
		  vertical-align: middle;
		}
		
		.inline-block {
			display: inline-block;
		}

		/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
		@media screen and (max-width: 768px) {
			.img-column {
				flex: 50%;
				max-width: 50%;
			}
		}
		
		.img-type
		{
			position:relative;
		}
		
		.img-type img.img-icon {
			position:absolute;
			left:2px;
			bottom:2px;
		}
		
		.img-type img.img-icon-lg
		{
			position:absolute;
			left:2px;
			bottom:2px;
		}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* 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;
  }
  /* 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;
  }
  .carousel .item {
    height: 506px;
  }
  .carousel-small .item {
    height: 300px;
  }
  /* Bump up size of carousel content */
  .carousel-caption {
    bottom: 20px;
    padding: 20px;
	padding-bottom: 50px;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

