/*

Template 2077 Modern Town

*/

/* Body */
body {
  background: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  position: relative;
}

html,body {
  width: 100%;
  overflow-x: hidden;
}

.post-masonry img {
  width: 100%;
  display: block;
}

/* Typography */
h1,h2,h3,h4,h5 {
  font-weight: bold;
}

h1 {
  font-size: 62px;
  line-height: 72px;
}

h2 {
  color: #323232;
  font-size: 26px;
  line-height: 42px;
  letter-spacing: 1px;
  padding-bottom: 12px;
}

h3 {
  color: #ffa400;
  font-size: 16px;
  letter-spacing: 2px;
}

h5 {
  color: #ffa400;
  line-height: 28px;
  letter-spacing: 2px;
}

p {
  font-size: 16px;
  letter-spacing: 0.9px;
  line-height: 32px;
}


/* Sections */
#testimonial, #blog, #counter, #contact {
  padding-top: 120px;
  padding-bottom: 120px;
}

#about h3 {
  padding-bottom: 12px;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}


/* Navigation */
.navbar-default {
  background: #fff;
  border: none;
  box-shadow: 0px 2px 8px rgba(50, 50, 50, 0.04);
  margin: 0 !important;
}

.navbar-default .navbar-brand {
  font-size: 20px;
  font-weight: bold;
}

.navbar-default li {
  margin: 15px 20px;
}

.navbar-default .navbar-nav li a {
  color: #303030;
  font-size: 12px;
  font-weight: bold;
  padding: 0px;
}

.navbar-default .navbar-nav li a:hover {
  color: #ffa400;
}

.navbar-default .navbar-toggle .icon-bar {
  background: #ffa400;
}


/* ===== HOME SECTION ===== */

#home {
  background: url('../images/home-bg.jpg') 50% 0 repeat-y fixed;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  height: 100vh;
  text-align: center;
  position: relative; /* required for overlay */
}

/* Overlay for readability */
#home:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* Lift content above overlay */
#home .container,
#home .row,
#home .col-md-12 {
  position: relative;
  z-index: 2;
}

/* White text on first screen */
#home h1,
#home h3,
#home p {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* Buttons */
#home .btn-danger {
  background: #ffa400 !important;
  margin-right: 20px;
}

#home .btn {
  background: #000000;
  border-color: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 14px 52px;
  margin-top: 40px;
  transition: all 0.4s ease-in-out;
}

#home .btn:hover {
  background: #ffa400;
}


/* Testimonial */
#testimonial .item {
  text-align: center;
  width: 100%;
  padding-bottom: 62px;
}

#testimonial .item img {
  display: inline-block;
}


/* About */
#about .container {
  width: 100%;
  padding: 0px;
  margin: 0px;
}

#about .col-md-6 {
  padding: 0;
}

#about .about-des {
  padding: 65px;
}

#about .about-des h3 {
  font-size: 26px;
}

#about .about-des h4 {
  font-size: 20px;
}

#about .about-des p {
  font-size: 16px;
  line-height: 32px;
}


/* Blog */
#blog h2, #blog h4 {
  text-align: center;
}

#blog h2 {
  padding-bottom: 12px;
  font-size: 32px;
}

#blog h4 {
  padding-bottom: 32px;
  letter-spacing: 0.9px;
}

#blog p {
  padding-top: 10px;
  font-size: 14px;
  line-height: 28px;
}

#blog .blog-wrapper {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#blog .blog-wrapper h3 a {
  color: #000000;
}


/* Counter */
#counter {
  background: url('../images/counter-bg.jpg') 50% 0 repeat-y fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: 160px;
  padding-bottom: 160px;
}

#counter .counter-number {
  color: #ffa400;
  font-size: 32px;
}

#counter .counter-text {
  color: #ffffff;
  letter-spacing: 2px;
}


/* Contact */
#contact {
  background: url('../images/contact-bg.jpg') 50% 0 repeat-y fixed;
  background-size: cover;
  background-position: center;
}

#contact .form-control {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  border-radius: 0px;
  box-shadow: none;
  margin-bottom: 22px;
  padding: 10px;
}

#contact input[type="submit"] {
  background: #000000;
  border:none;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  height: 50px;
  margin-top: 10px;
}

#contact input[type="submit"]:hover {
  background: #ffa400;
}

#contact .contact-detail {
  background: rgba(250,250,250,0.75);
  padding: 34px 10px 34px 60px;
}


/* Footer */
footer {
  padding-top: 80px;
  padding-bottom: 50px;
}

footer p {
  padding-right: 40px;
  padding-bottom: 20px;
  font-size: 14px;
}

footer a {
  color: #606060;
}

footer a:hover {
  color: #ffa400;
}


/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 53px; }
}

@media (max-width: 650px) {
  h1 { font-size: 40px; }
}

@media (max-width: 450px) {
  h1 {
    font-size: 28px;
    line-height: 38px;
  }
  #home .btn {
    padding: 14px 32px;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 24px;
    line-height: 34px;
  }
}
