/*
 * Native rebuild overrides.
 * The legacy Revolution Slider runtime is stripped at render time; these
 * styles preserve static hero and project-gallery fallbacks from archived media.
 */
#rev_slider_75_1_wrapper {
  background: #e9e9e9 !important;
  height: 500px !important;
  overflow: hidden !important;
}

#rev_slider_75_1 {
  background: url("../wp-content/uploads/2014/08/collage_bw22.jpg") center top / cover no-repeat !important;
  display: block !important;
  height: 500px !important;
  max-height: 500px !important;
  min-height: 500px !important;
  overflow: hidden !important;
  position: relative !important;
  visibility: visible !important;
}

#rev_slider_75_1::before,
#rev_slider_75_1::after {
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 2;
}

#rev_slider_75_1::before {
  background: url("../wp-content/uploads/2014/08/top-gradient.png") center top / 100% 81px no-repeat;
  height: 81px;
  top: 0;
}

#rev_slider_75_1::after {
  background: url("../wp-content/uploads/2014/08/border_2.png") center top / cover no-repeat;
  bottom: 0;
  height: 500px;
}

#rev_slider_75_1 .tp-revslider-mainul,
#rev_slider_75_1 .tp-caption,
#rev_slider_75_1 .tp-bannertimer,
#rev_slider_75_1 .tp-loader,
#rev_slider_75_1 > div[style*="Error at loading"] {
  display: none !important;
}

.portGallery .rev_slider_wrapper {
  background: #e9e9e9 !important;
  height: auto !important;
  overflow: hidden !important;
}

.portGallery .rev_slider {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  visibility: visible !important;
}

.portGallery .rev_slider ul,
.portGallery .rev_slider li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.portGallery .rev_slider ul {
  height: auto !important;
  position: static !important;
  width: 100% !important;
}

.portGallery .rev_slider li {
  display: none !important;
  height: auto !important;
  position: static !important;
  visibility: visible !important;
  width: 100% !important;
}

.portGallery .rev_slider li:first-child {
  display: block !important;
}

.portGallery .rev_slider img.rev-slidebg {
  display: block !important;
  height: auto !important;
  max-width: 100% !important;
  position: static !important;
  visibility: visible !important;
  width: 100% !important;
}

.portGallery .rev_slider .tp-bannertimer,
.portGallery .rev_slider .tp-loader,
.portGallery .rev_slider .tp-caption {
  display: none !important;
}

.search-results .search-result {
  border-bottom: 1px solid #e1e5ea;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.search-results .search-result h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.rebuild-form {
  display: block !important;
  margin: 24px 0 28px;
}

.rebuild-form.gform_wrapper {
  display: block !important;
}

.rebuild-form .gform_heading {
  margin-bottom: 16px;
}

.rebuild-form .gform_title {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.rebuild-form .gform_description p {
  margin: 0 0 7px;
}

.rebuild-form .gform_body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rebuild-form .gfield {
  clear: both;
  margin: 0 0 15px;
  padding: 0;
}

.rebuild-form .gf_left_half,
.rebuild-form .gf_right_half {
  clear: none;
  display: inline-block;
  vertical-align: top;
  width: 48%;
}

.rebuild-form .gf_right_half {
  margin-left: 3.5%;
}

.rebuild-form .gfield_label {
  color: #4f5965;
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
}

.rebuild-form .gfield_required {
  color: #d25c25;
  margin-left: 3px;
}

.rebuild-form input[type="text"],
.rebuild-form input[type="tel"],
.rebuild-form input[type="email"],
.rebuild-form textarea {
  background: #fff;
  border: 1px solid #d7dde3;
  box-sizing: border-box;
  color: #3e4651;
  font: inherit;
  max-width: 100%;
  padding: 9px 10px;
  width: 100%;
}

.rebuild-form textarea {
  min-height: 130px;
  resize: vertical;
}

.rebuild-form .gform_footer {
  clear: both;
  padding-top: 3px;
}

.rebuild-form .gform_button {
  background: #003399;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  padding: 11px 22px;
  text-transform: uppercase;
}

.rebuild-form .gform_button:hover,
.rebuild-form .gform_button:focus {
  background: #194cb2;
}

.reef-form-message {
  border: 1px solid;
  margin: 0 0 16px;
  padding: 10px 12px;
}

.reef-form-message--success {
  background: #f1f8ee;
  border-color: #9bc58a;
  color: #345a26;
}

.reef-form-message--error {
  background: #fff4f1;
  border-color: #df9c88;
  color: #7a2f1c;
}

.reef-honeypot {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
}

#main-footer #widget_sp_image-4 .widget_sp_image-image-link,
#main-footer #widget_sp_image-4 img[src*="Follow-us-on-Facebook"] {
  display: block;
  float: none !important;
}

#main-footer #widget_sp_image-4 img[src*="Follow-us-on-Facebook"] {
  margin-right: 0;
}

.reefsea-footer-social {
  clear: both;
  display: block;
  float: none;
  padding-top: 12px;
}

.reefsea-instagram-link {
  background: #536fa8;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  color: #fff !important;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  min-height: 36px;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none;
  width: 246px;
}

.reefsea-instagram-link i {
  color: inherit;
  margin-right: 6px;
}

.reefsea-instagram-link:hover,
.reefsea-instagram-link:focus {
  background: #6f89bf;
  color: #fff !important;
  text-decoration: none;
}

.project .project-meta,
.project.style2 .project-hover .project-description {
  cursor: pointer;
}

.project .project-meta h2 a,
.project .project-meta h3 a,
.project .project-meta h4 a {
  color: inherit;
  display: block;
}

.project .project-meta h2 a:hover,
.project .project-meta h2 a:focus,
.project .project-meta h3 a:hover,
.project .project-meta h3 a:focus,
.project .project-meta h4 a:hover,
.project .project-meta h4 a:focus {
  color: inherit;
  text-decoration: none;
}

#lower-footer .copyright {
  color: #fff;
}

body.page-id-22 #main-content .team-member {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .rebuild-form .gf_left_half,
  .rebuild-form .gf_right_half {
    display: block;
    margin-left: 0;
    width: 100%;
  }
}
