/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
  overflow-x: hidden;
}

/* CUSTOMIZE bootstrap
-------------------------------------------------- */
.btn-primary {
  color: #fff;
  background-color: #231815;
  border-color: #231815;
}

.carousel-indicators .active {
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: #231815;
}

/* 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: 0px;
  padding-left: 5px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

.navbar-wrapper .fb-btn {
    position: relative;
    margin-top: 2px;
	width: 40px;
	height: 40px;
    background: transparent;
}
.navbar-wrapper .fb {
	margin: 0;
	width: 30px;
	height: 30px;
  background: url('../images/facebook.png');
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-background-size: contain;
          background-size: contain;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 360px;
  margin-bottom: 20px;
}
/* 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: 360px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  margin-top: 50px;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
}


/* 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-4 p {
  margin-right: 10px;
  margin-left: 10px;
}

.marketing .row .img-g {
  position: absolute;
  margin-top: 5px;
  width: 110px;
  height: auto;
}

.marketing .rowh  {
  height: 160px;
}

.marketing .row-midashi {
  margin-top: 5px;
  width: 110px;
  height: 38px;
  text-align: center;
  background-color: #c5c5c5;
}
.marketing .row-text {
  position: absolute;
  margin-top: 5px;
  width: 110px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}
.marketing .row-text2 {
  position: absolute;
  margin-top: 2px;
  width: 110px;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 12px;
    padding-left: 12px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0px;
    padding-left: 10px;
  }

  .navbar-wrapper .nav {
    padding-right: 0px;
    padding-left: 40px;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }
  
.navbar-wrapper .navbar-brand {
	text-align:right;
	width: 210px;
  background: url('../images/sub_logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-background-size: contain;
          background-size: contain;
	
}
  
.navbar-wrapper .fb-btn {
    position: absolute;
	margin-left: -10px;
	width: 40px;
	height: 40px;
    background: transparent;
}
.navbar-wrapper .fb {
	margin: 0;
	width: 30px;
	height: 30px;
  background: url('../images/facebook.png');
  background-repeat: no-repeat;
  -webkit-background-size: contain;
          background-size: contain;
}


.marketing .row .img-g {
  position: absolute;
  width: 190px;
  height: auto;
}

.marketing .rowh  {
  height: 270px;
}

.marketing .row-midashi {
  margin-top: 5px;
  width: 190px;
  height: 38px;
  text-align: center;
  background-color: #c5c5c5;
}

.marketing .row-text {
  position: absolute;
  margin-top: 10px;
  width: 190px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}
.marketing .row-text2 {
  position: absolute;
  margin-top: 2px;
  width: 190px;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
}

.btn-default {
  color: #333;
  font-size: 16px;
  width: 190px;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:focus,
.btn-default.focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}
.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
  /* 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) {

.marketing .row .img-g {
  position: absolute;
  margin-top: 5px;
  width: 110px;
  height: auto;
}

.marketing .rowh  {
  height: 160px;
}

.marketing .row-midashi {
  margin-top: 5px;
  width: 110px;
  height: 38px;
  text-align: center;
  background-color: #c5c5c5;
}
.marketing .row-text {
  position: absolute;
  margin-top: 5px;
  width: 110px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}
.marketing .row-text2 {
  position: absolute;
  margin-top: 2px;
  width: 110px;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}


.btn-default {
  color: #333;
  font-size: 14px;
  width: 110px;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:focus,
.btn-default.focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}
.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
  .featurette-heading {
    margin-top: 120px;
  }
}
