/* Custom styling for Quality Masonry page */
@font-face {
    font-family: 'Gill';
    src: url('../fonts/GillSansMTPro-Medium.otf');
}
body {
  font-family: 'Lato', sans-serif;
  background: #f9f9f9 url('../images/stiff-paper-pattern.png') repeat;
}
/******* common settings ********/
h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 4em;
  padding-bottom: 60px;
  color: #e62b27;
  text-align: center;
  text-shadow: 0px 1px 1px #470403;
}
.center {
  text-align: center;
  margin: 0 auto;
}

.starter-template {
  padding: 40px 15px;
  text-align: center;
}
.top-info-section {
  margin: 0;
  padding: 0;
  background: #2e0402;
  color: #fdf0de;
}
.top-info-section img {
  padding-right: 4px;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.top-logo {
  position: absolute;
  width: 252px;
  height: 139px;
  left: 50%;
  margin-left: -126px;
  z-index:999;
}
.top-wood-section {
  height: 118px;
  background: url('../images/wood-pattern.png') repeat-x;
}
.help-block {
  color: ##d9534f;
}

/*********** navbar custom style *************/
#menu-nav.affix {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0px 1px 2px #666;
}
.navbar-default {
  background-color: #e62b27;
  height: 52px;
  margin-bottom: 0;
  border-color: #c61613;
  z-index: 9999;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #c61613;
}
.navbar-default .navbar-toggle {
  border-color: #c61613;
}
.navbar-default .navbar-nav > li > a {
  color: #fff;
  background-color: #e62b27;
  font-size: 1.4em;
  text-shadow: 0px 0px #ae1c19;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #fff;
    background-color: #e62b27;
    border-bottom: 4px solid #fff;
    height: 51px;
    transition: all ease 0.3s;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #e62b27;
    border-bottom: 4px solid #fff;
    height: 51px;
}
.navbar .navbar-nav {
  display: inline-block;
  float: none;
  margin: 0 auto;
}
.navbar .navbar-collapse {
  text-align: center;
}
.navbar-brand {
  padding: 5px;
  padding-left: 15px;
}
.navbar-brand img {
  height: 100%;
}


/***** carousel section *****/
section#carousel-section {
  border-bottom: 1px solid #e62b27;
  box-shadow: 0px 1px 2px #8c8c8c;
}
section#carousel-section img {
  width: 100%;
}
section#carousel-section .container-fluid {
  padding: 0;
}
section#carousel-section .carousel-caption {
  text-align: center;
}
section#carousel-section .carousel-caption h3 {
  /*font-family: 'Source Sans Pro', sans-serif;*/
  font-family: 'Gill', sans-serif;
  font-size: 2.6em;
  letter-spacing: 3px;
  font-variant: small-caps;
  color: #fff;
  text-shadow: 0px 1px 2px #000;
}
section#carousel-section .carousel-caption p {
  font-family: 'Gill', sans-serif;
  font-size: 1.6em;
  text-shadow: 0px 1px 2px #000;
  letter-spacing: 2px;
}
.cursive {
  font-family: 'Great Vibes', cursive;
  color: #ee3431;
  font-variant: normal;
  font-size: 1.4em;
  text-shadow: 0px 1px 1px #000;
  letter-spacing: 1px;
  margin-right: 8px;
}
/**** common to all sections ****/
section#welcome-section, section#products-section, section#request-quote, section#materials-section, section#about-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

/******** Welcome Section **********/
section#welcome-section p {
  font-size: 20px;
  line-height: 40px;
  text-align: justify;
}
section#welcome-section img,
section#about-section img {
  border: 1px solid #fff;
  box-shadow: 2px 2px 5px #ccc;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

/************ Products Section **********/
section#products-section {
  background: url('../images/products_bg.png') no-repeat center center fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  height: 100%;
  border-bottom: 1px solid #d9d9d9;
}
section#products-section .caption {
  text-align: center;
}
section#products-section .glyphicon-menu-left, section#products-section .glyphicon-menu-right {
  color: #c61613;
  text-decoration: none;
}
section#products-section a {
  text-decoration: none;
}
section#products-section .carousel-indicators {
  bottom: 0;
  margin-bottom: 0;
}
section#products-section div#carousel-products {
  padding-bottom: 20px;
}
section#products-section div#carousel-products li.active {
  background-color: #7d776f;
  border: 2px solid #7d776f;
}
section#products-section div#carousel-products li {
  border: 2px solid #7d776f;
}
section#products-section .thumbnail:hover {
  border-color: #bbb;
}
section#products-section .thumbnail img {
  width: 100%;
}

/******* request a quote form section *********/
section#request-quote .btn-danger {
  text-align: center;
  margin: 0 auto;
  width: 160px;
  background-color: #e62b27;
  font-weight: bold;
  font-size: 1.1em;
}
section#request-quote .btn-danger:hover {
  background-color: #fa3632;
}
section#request-quote .my-submit-btn {
  margin: 20px auto 0;
  text-align: center;
}
section#request-quote h1 {
  padding-bottom: 40px;
}
section#request-quote h3 {
  padding-bottom: 20px;
}
section#request-quote .form-control:hover, section#materials-section .form-control:hover {
  border-color: #bbb;
}
section#request-quote .form-control:focus, section#materials-section .form-control:focus {
  border-color: #e62b27;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(255, 0, 0, 0.6);
}
section#request-quote .form-control:active, section#materials-section .form-control:active {
  border-color: #bbb;
}

/*** about section ***/
section#about-section p {
  font-size: 20px;
  line-height: 30px;
  text-align: justify;
}


/******** credit cards section ********/
section#credit-cards {
  padding-top: 14px;
  height: 55px;
  background-color: #e62b27;
  color: #fff;
  font-size: 1.3em;
  text-align: center;
  box-shadow: inset 0px 1px 2px #af211e;
  text-shadow: 0px 1px 1px #470403;
  font-family: 'Open Sans', sans-serif;
}
section#credit-cards img {
  margin-left: 10px;
  width: 50px;
  height: 31px;
  box-shadow: 0px 1px 2px #333;
  vertical-align: middle;
}
section#credit-cards span {
  vertical-align: middle;
}

/******** materials *********/
section#materials-section {
  background: url('../images/materials-bg.png') no-repeat center center fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  height: 100%;
}
section#materials-section h3 {
  text-align: center;
  border-bottom: 2px solid #333;
}
section#materials-section p.calculator-result {
  padding-top: 10px;
  font-size: 1.1em;
  font-weight: bold;
}

/******** Providers Section ************/
section#providers-section {
  background: #fff;
  padding-top: 60px;
  min-height: 200px;
  border-top: 1px solid #d9d9d9;
}
section#providers-section img {
  vertical-align: middle;
  padding: 0 20px 20px 20px;
}
section#providers-section p {
  text-align: justify;
}
section#providers-section figure {
  text-align: center;
}

/********* Footer ************/
section#footer {
  padding-top: 70px;
  min-height: 400px;
  height: 100%;
  background-color: #2e0402;
  color: #fff;
}
section#footer h2 {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 20px;
}
section#footer a, section#footer ul li {
  list-style-type: none;
  text-decoration: none;
  color: #fff;
}
section#footer li {
  line-height: 26px;
}
section#footer a:hover {
  text-decoration: none;
  color: #e62b27;
}
section#footer ul {
  padding-left: 0;
}
section#footer img.address {
  width: 20px;
}
section#footer img.social {
  width: 25px;
  padding-bottom: 5px;
}
section#footer .facebook-footer {
  color: #fff;
}
section#footer span {
  vertical-align: middle;
}
/** social media icons **/
a.social-icons:hover {
  opacity: .6;
}


/******* copyright section **********/
section#copyright-section {
  height: 60px;
  background-color: #210201;
  text-align: left;
  color: #fff;
}
section#copyright-section p {
  padding-top: 20px;
}
section#copyright-section img {
 float: right;
}

/* scroll to top button */
.scroll-top {
    position: fixed;
    z-index: 9049;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 16px;
    line-height: 26px;
}
.scroll-top .btn:focus {
    outline: 0;
}
/******** google map style *******/
#map {
  width: 100%;
  height: 200px;
  margin: 0 auto 20px;
}


/********** Media Queries ***********/
/* smartphones */
@media(max-width: 400px) {
  section#carousel-section {
    display: none;
  }
  #map {
    display: none;
  }
  section#footer {
    margin: 0;
    padding: 20px 0 0 0;
    min-height: 100px;
  }
  section#footer .address{
    float: right;
  }
  section#copyright-section {
    font-size: 0.8em;
    text-align: center;
  }
  .navbar-default {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
  .navbar .navbar-nav {
    display: block;
  }
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    background-color: #c61613;
    border: none;
  }
  section#products-section .caption {
    font-size: 1em;
    min-height: 100px;
  }

}
@media(min-width: 401px) and (max-width: 767px) {
  section#carousel-section {
    display: none;
  }
  #map {
    display: none;
  }
  .navbar-default {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
  .navbar .navbar-nav {
    display: block;
  }
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    background-color: #c61613;
    border: none;
  }
  section#welcome-section p, section#about-section p {
    font-size: 18px;
    line-height: 34px;
  }
  section#products-section .caption {
    font-size: 1em;
    min-height: 100px;
  }
  section#footer {
    margin: 0;
    padding: 20px 0 0 0;
    min-height: 100px;
  }
}
@media(min-width: 768px) and (max-width: 1200px) {
  section#providers-section img {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }

}
