.wrap {
  margin: 0 auto;
  padding-right: 6vw;
  padding-left: 6vw;
}

.content {
  width: 100%;
  max-width: 100%;
  margin: 0 0 80px;
  padding: 0;
}

.content-flex {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
  margin: 0 0 0.5em;
}

h1 {
  font-size: 2em !important;
}

.content ol,
.content ul {
  margin-bottom: 1.618em;
  margin-left: 40px;
}

.content ul > li {
  list-style-type: disc;
}

.site-header {
  position: absolute;
}

.cta-phone {
  text-align: right;
}

.phone-line,
.page-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  font-family: "Arvo", serif;
  margin: 0;
}

.page-title {
  padding: 10px 0;
}

.landing-page-1 {
  background-image: url(/wp-content/themes/bfptx-2018/assets/images/bfptx-background1.jpg);
  background-position: 50% 50%;
  background-size: cover;
  color: #fff;
  padding: 20rem 0 6rem !important;
  width: 100%;
}

.landing-2,
.landing-3,
.landing-4,
.landing-5,
.landing-custom {
  padding: 3em 0;
  width: 100%;
}

.photo-overlay {
  position: relative;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  background-color: rgba(18, 48, 92, 0.6);
  padding: 3em;
}

.photo-caption__text {
  color: white;
}

.thank-you-page .site-inner {
  height: 100vh;
}

/* FORM STYLES */
.gform_wrapper {
  background-color: #ffca38;
  padding: 25px 30px;
  border-radius: 10px;
  color: #000;
}

.form-wrapper .iframe-wrapper {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  color: #000;
  width: calc(100% - 60px);
  min-height: 700px;
}

.validation_error,
.gfield_error {
  color: #ca0000;
}

/* label {
  margin: 0;
  display: none !important;
}

.content .gform_fields,
.testimonials ul {
  margin-bottom: 0;
  margin-left: 0;
}

.content .gform_fields li {
  list-style-type: none;
  margin-bottom: 15px !important;
} */

.testimonials ul li {
  list-style-type: none;
}

.gform_wrapper
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
  padding: 5px 4px;
  letter-spacing: normal;
}

#input_2_4_1 {
  margin-bottom: 15px;
}

textarea {
  height: 6em;
  color: black !important;
}

/* Testimonials */
.landing-4,
.landing-3 {
  border-top: 1px solid #eceef1;
  border-bottom: 1px solid #eceef1;
  background-color: #ebeef3;
}
.testimonials a.button.outline {
  margin: 0 auto;
  display: table;
}

/*GOOGLE PLACES REVIEW STYLES*/
.gpr-reviews-wrap {
  display: flex;
  flex-direction: column;
}

[id*="gpr_widget"] .google-places-reviews {
  min-width: 250px;
}
[id*="gpr_widget"] .gpr-business-header {
  margin: 0 0 15px;
}
[id*="gpr_widget"] .gpr-business-header .gpr-header-content-wrap {
  margin: 0 0 0 75px;
}
[id*="gpr_widget"] .gpr-business-header .star-rating-wrap {
  margin: 3px 6px 6px 0;
}
[id*="gpr_widget"] .gpr-business-header p.gpr-rating-value {
  line-height: 15px;
  width: 100%;
  float: left;
}
[id*="gpr_widget"] .gpr-business-avatar {
  width: 60px;
  height: 60px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  float: left;
  margin: 0 10px 10px 0;
}
[id*="gpr_widget"] .gpr-business-name {
  display: block;
  margin: 0 0 6px;
  line-height: 16px;
}
[id*="gpr_widget"] div.gpr-google-logo-wrap {
  float: left;
  height: 18px;
}
[id*="gpr_widget"] img.gpr-google-logo-header {
  box-shadow: none;
  border: none;
}
[id*="gpr_widget"] .gpr-business-name > a,
[id*="gpr_widget"] .gpr-business-name > a:visited {
  color: #dd4c39;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  line-height: 18px;
  border: none;
  border-bottom: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}
[id*="gpr_widget"] p.gpr-rating-value {
  line-height: 20px;
  margin: 0;
  font-size: 12px;
  padding: 0;
  float: left;
}
[id*="gpr_widget"] div.rating-wrap {
  line-height: 18px;
  vertical-align: middle;
  float: left;
}
[id*="gpr_widget"] .star-rating-wrap {
  background: url(../images/review_stars.png) no-repeat;
  height: 13px;
  width: 67px;
  float: left;
  margin: 3px 6px 0 0;
}
[id*="gpr_widget"] .star-rating-size {
  background: url(../images/review_stars.png) 0 -13px no-repeat;
  height: 13px;
}
[id*="gpr_widget"] span.gpr-rating-time {
  margin: 0;
  padding: 0;
  vertical-align: top;
  color: #848484;
  font-size: 12px;
  line-height: 13px;
  font-style: italic;
  float: left;
  width: 100%;
}
.gpr-alert,
[id*="gpr_widget"] div.gpr-review-content > p {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
}
[id*="gpr_widget"] div.gpr-business-header div.gpr-rating-value {
  min-width: 200px;
}
[id*="gpr_widget"].gpr-widget-align-none {
  margin-bottom: 30px;
}
[id*="gpr_widget"].gpr-widget-align-left {
  float: left;
  margin: 0 30px 30px 0;
}
[id*="gpr_widget"].gpr-widget-align-right {
  float: right;
  margin: 0 0 30px 30px;
}
[id*="gpr_widget"] div.gpr-review {
  margin: 0 0 20px;
  padding: 0;
}
[id*="gpr_widget"] .gpr-review-avatar {
  float: left;
  margin: 0 10px 0 0;
  width: 50px;
  height: 50px;
}
[id*="gpr_widget"] .gpr-review-avatar > img {
  max-width: 100%;
}
[id*="gpr_widget"] span.grp-reviewer-name {
  display: block;
  margin: 0;
  line-height: 16px;
}
[id*="gpr_widget"] span.grp-reviewer-name > a,
[id*="gpr_widget"] span.grp-reviewer-name > a:hover {
  text-decoration: none;
  border: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}
[id*="gpr_widget"] div.gpr-review-info {
  margin-left: 60px;
}
[id*="gpr_widget"] div.gpr-review-content {
  clear: both;
  margin: 10px 0 0;
  padding: 0 0 8px;
}
[id*="gpr_widget"] div.gpr-review-content > p {
  margin: 0 0 10px;
  color: #333;
}
[id*="gpr_widget"] div.gpr-review-content > p:last-of-type,
[id*="gpr_widget"] div.gpr-review:last-of-type {
  margin-bottom: 0;
}
[id*="gpr_widget"] .gpr-review .gpr-rating-meta {
  height: 32px;
}
.gpr-alert {
  padding: 8px 14px;
  color: #c09853;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  border-radius: 4px;
}
.gpr-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}
.gpr-error a {
  color: #b94a48 !important;
}
.new-window {
  background: url(../images/new-window-icon.png) right 4px no-repeat
    rgba(0, 0, 0, 0);
  padding-right: 13px;
}
[id*="gpr_widget"] p.no-reviews {
  margin: 0;
  padding: 0;
}
[id*="gpr_widget"] div.gpr-read-all-reviews,
[id*="gpr_widget"] div.gpr-read-all-reviews a {
  width: 100%;
  text-align: center;
}
.gpr-clearfix:after,
.gpr-clearfix:before {
  display: table;
  content: "";
  line-height: 0;
}
.gpr-clearfix:after {
  clear: both;
}
.readmore-js-toggle {
  font-size: 12px;
}

[id*="gpr_widget"] div.gpr-review {
  /*width: 47%;
    float: left;*/
  flex: 1 0 0;
  margin: 20px 2% 40px;
}

.gpr-review-header {
  max-width: 240px;
  margin: 0 auto;
}

[id*="gpr_widget"] div.gpr-review:nth-child(even) {
  margin-right: 0;
}
[id*="gpr_widget"].gpr-widget-align-none {
  display: inline-block;
}

/* Coupons */
.coupons {
  margin: 0 auto;
  text-align: center;
}

/* Services */
h2.bottom-phone {
  color: #4a86bb;
  text-align: center;
}

.the-best h2 {
  text-align: center;
  max-width: 200px;
  margin: 0 auto 1em;
}

.before-footer p {
  width: 100%;
}

section.coupons a li p {
  font-size: 12px;
}

div.button-area {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

div.button-area .button {
  margin: 0 10px;
}

/* MAP STYLES */

.full-bleed {
  padding: 0;
}

.flex-map-component-copy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.full-bleed-inner {
  margin: 3em;
  align-self: center;
}

.full-bleed-inner > *:last-child {
  margin-bottom: 0;
}

.iframe-wrapper {
  position: relative;
  overflow: hidden;
}

.iframe-wrapper iframe {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#map-canvas {
  width: 100%;
  height: 500px;
}

/* MEDIA QUERIES */
@media (min-width: 896px) {
  .site-header .wrap {
    max-width: 88%;
    max-width: 1152px;
  }
  .landing-page-1 > .wrap {
    padding: 40px 0;
  }

  .fullname #input_2_1_3_container,
  .fullname #input_9_1_3_container {
    padding-right: 2%;
  }

  .fullname #input_2_1_3_container,
  .fullname #input_2_1_6_container,
  .fullname #input_9_1_3_container,
  .fullname #input_9_1_6_container {
    width: 48.5%;
    display: inline-block;
  }
  .fullname #input_2_1_6_container,
  .fullname #input_9_1_6_container {
    float: right;
  }

  #map-canvas {
    height: 100%;
  }
}



@media (min-width: 768px) {
  .site-header > .wrap {
    height: 12rem;
  }

  .full-bleed-inner {
    margin: 4em 3em;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .sm-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  .flex-map-component {
    min-height: 500px;
  }

  .iframe-wrapper {
    padding: 0;
    height: 100%;
  }
}

@media (max-width: 896px) {
  .one-half,
  .one-third,
  .one-fourth,
  .one-fifth,
  .one-sixth,
  .two-thirds,
  .two-fourths,
  .two-fifths,
  .two-sixths,
  .three-fourths,
  .three-fifths,
  .three-sixths,
  .four-fifths,
  .four-sixths,
  .five-sixths {
    width: 100%;
    margin-bottom: 30px;
  }

  .site-header > .wrap {
    height: 12rem;
    max-width: 100%;
  }

  .flex-container {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  .order-top {
    order: 1;
  }

  .order-bottom {
    order: 2;
  }

  .content {
    padding-top: 11em;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0 0 0.5em;
  }

  .site-header {
    position: relative;
  }

  .site-header > .wrap {
    height: auto;
  }

  .title-area,
  .cta-phone {
    text-align: center;
    width: 100%;
  }

  .custom-logo {
    margin: 1em auto;
  }

  .callcap_phone_number {
    margin-left: inherit;
  }
  .site-header .one-half {
    margin-bottom: 10px !important;
  }

  .callcap_phone_number .phone {
    display: block;
    height: auto;
    padding: 0;
    margin: 0 auto;
  }

  .landing-page-1 {
    margin-top: 0;
  }
  .gform_wrapper {
    margin-bottom: 30px;
  }

  .gform_heading h3 {
    margin-bottom: 1.5em;
  }

  .fullname #input_1_1_3_container,
  .fullname #input_1_1_6_container {
    display: block;
    margin-bottom: 15px;
  }

  .uwin-badge {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
  }

  .multi-badges {
    max-width: 450px;
    padding: 5px 0 10px 0;
    width: 90%;
  }

  .testimonials {
    margin: 0 auto;
    text-align: center;
  }

  [id*="gpr_widget"] div.gpr-review {
    width: 100%;
  }

  .widget_reviewbuzz.medium.bubble {
    margin: 0 auto;
  }

  .services h2 {
    margin-bottom: 1em;
  }

  h2.bottom-phone {
    text-align: center;
  }
  .the-best h2 {
    max-width: inherit;
  }

  .gform_body #input_9_1_3 {
    margin-bottom: 15px;
  }

  img.uwin-badge {
    display: none;
  }

}

@media print {
  .landing-page-1.landing-form,
  .landing-3,
  .landing-4,
  .landing-5 {
    display: none !important;
  }
}

.text-center {
  text-align: center;
}

.content {
  padding-top: 5em;
}

/* adding in mobile specific layouts */

.sm-one-half {
  width: 48.71794871794871%;
}

.sm-one-third {
  width: 31.62393162393162%;
}
.sm-two-thirds {
  width: 65.81196581196582%;
}

.sm-one-fifth {
  width: 17.94871794871794%;
}
.sm-two-fifths {
  width: 38.46153846153846%;
}
.sm-three-fifths {
  width: 58.97435897435897%;
}
.sm-four-fifths {
  width: 79.48717948717948%;
}

.sm-hidden {
  display: none;
}

.sm-margin-bottom-reset {
  margin-bottom: 0;
}

/* extending basic theme .gallery class */
.gallery--align-center {
  align-items: center;
}

.landing-3 .wrap {
  padding: 0;
}

.landing-3 .slick-list {
  width: 100%;
}

.landing-3 .slick-track {
  display: -ms-flexbox;
  display: flex;

  min-width: 100%;

  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.gallery__tile img {
  width: 100%;
  height: auto;
  min-height: 10px;
  min-height: 1rem;
  padding: 0 6vw;
}

@media (min-width: 768px) {
  .landing-3 {
    padding: 3rem 0;
  }

  .gallery__tile img {
    padding: 0 5vw;
    margin: 0;
  }

  .content {
    padding-top: 5.5em;
  }
}

@media (min-width: 896px) {
  .content {
    padding-top: 0;
  }

  .one-half--left {
    margin-left: 0;
  }

  .one-half--right {
    float: right;
  }

  .sm-hidden {
    display: block;
  }

  /* header things */
  .callcap_phone_number {
    line-height: 1.618;
  }

  .callcap_phone_number .phone {
    font-size: 2.5em;
  }

  .custom-logo {
    margin: 0;
  }

  .flex-map-component-map {
    width: 60%;
  }
  
  .flex-map-component-copy {
    width: 40%;
  }
}

.landing-3 {
  padding: 4rem 0;
}

.gallery__tile img {
  padding: 0 3.75rem;
}

.content-sidebar-wrap {
  display: none;
}

footer.site-footer {
  margin-top: 100px;
}

ul {
  margin-bottom: 1.618em;
  margin-left: 40px;
}

footer ul {
  margin-left: 0;
}

li {
  list-style-type: disc;
}

.gform_wrapper .ginput_complex .ginput_right,
input#input_9_4_5 {
  width: 100% !important;
}
