/*
 * Renshaw Wang Group site refinements.
 * Keep Bootstrap in main.css; keep site-specific visual decisions here.
 */

html {
  scroll-behavior: smooth;
}

body {
  color: #2f3437;
  font-size: 15px;
  line-height: 1.6;
  background-color: #fff;
}

a {
  color: #207a6d;
}

a:hover,
a:focus {
  color: #14584c;
  text-decoration: underline;
}

b,
strong {
  color: #2f7d45;
}

img {
  max-width: 100%;
}

.col-6 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-6 {
    float: left;
    width: 50%;
  }
}

.navbar {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
}

.navbar-default {
  background-color: #203936;
  border-color: transparent;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a {
  color: #f5fbf8;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #6ed6b2;
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #35b88f;
}

.navbar-default .navbar-toggle {
  border-color: rgba(255, 255, 255, .28);
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: rgba(255, 255, 255, .12);
}

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

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  margin-right: 6px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark span:first-child {
  color: #fff;
}

.brand-mark span:last-child {
  color: #35b88f;
}

.brand-divider {
  margin-right: 6px;
  color: rgba(255, 255, 255, .55);
}

.jumbotron {
  min-height: 280px;
  margin-bottom: 34px;
  padding-top: 54px;
  padding-bottom: 54px;
  color: #fff;
  background-color: #35b88f;
  background-image: url("images/banner.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.jumbotron h1,
.jumbotron h2,
.jumbotron .h1 {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}

.jumbotron h2 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.page-header {
  margin-top: 28px;
  border-bottom-color: #dbe8e4;
}

.page-header h1,
.page-header h2,
.page-header h3 {
  color: #203936;
  letter-spacing: 0;
}

blockquote {
  border-left-color: #35b88f;
  background-color: #fafdfc;
}

blockquote h4 {
  line-height: 1.45;
}

.well {
  min-height: 34px;
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 22px 19px;
  color: #f5fbf8;
  background-color: #203936;
  background-image: url("images/overlay.png"), url("images/bg-alt.jpg");
  background-repeat: repeat, no-repeat;
  background-position: top left, center center;
  background-size: 128px 128px, cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.well .btn-block {
  max-width: 280px;
  margin-right: auto;
  margin-left: auto;
}

.btn {
  white-space: normal;
}

.btn-primary {
  background-color: #247aaf;
  border-color: #1f6b99;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-color: #1f6b99;
  border-color: #18587e;
}

.btn-success {
  background-color: #35b88f;
  border-color: #2ca17d;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  background-color: #2ca17d;
  border-color: #247f64;
}

.img-circle,
.thumbnail > img,
.thumbnail a > img {
  object-fit: cover;
}

.img-circle[style] {
  width: 140px !important;
  height: 140px !important;
}

.thumbnail > img[style],
.thumbnail a > img[style] {
  width: 280px !important;
  height: 320px !important;
}

.icon-desktop::before {
  content: "";
}

footer {
  padding: 22px 0;
  color: #5c6668;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .jumbotron {
    min-height: 220px;
    padding-top: 38px;
    padding-bottom: 38px;
    background-size: auto 100%;
  }

  .jumbotron h2 {
    font-size: 25px;
    line-height: 1.25;
  }

  .well {
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .btn-lg {
    max-width: 100%;
  }
}
