/*
    Theme Name:     Chinburg Properties
    Theme URI:      http://vtldesign.com
    Description:    A custom WordPress theme made by Vital.
    Version:        1.2.29
    Author:         Vital
    Author URI:     http://vtldesign.com
*/

.map-full {
  width: 100%;
  padding: 0 1.25rem;
}

.map-full .acf-map {
  float: inherit;
  width: 100%;
  height: 500px;
}

.property-title {
  margin: 1.2em 0 0.4em;
  font-size: 2.625rem;
  line-height: 1.3;
  letter-spacing: 0;
  font-family: "crimson-text-roman", Garamond, "Times New Roman", serif;
  font-weight: 300;
  color: #006a53;
  text-align: center;
  padding-bottom: 25px;
}

.property-boxes.order-1,
.property-image.order-1,
.acf-map.order-1 {
  order: 1;
}

.property-boxes.order-2,
.property-image.order-2,
.acf-map.order-2 {
  order: 2;
}

.property-image {
  width: calc(50% - 10px);
  max-height: 600px;
  max-height: 600px;
  position: relative;
  overflow: hidden;
}

/*.property-image img {
/*.property-image img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

.property-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.property-slide {
  width: 100%;
  height: 600px;
  display: none;
}

.property-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  background-color: transparent;
  border-radius: 50px;
  color: white;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

button.prev svg path,
button.next svg path {
  fill: white;
}

button.prev {
  left: 10px;
  transform: rotate(90deg);
}

button.next {
  right: 10px;
  transform: rotate(-90deg);
}
*/ .property-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.property-slide {
  width: 100%;
  height: 600px;
  display: none;
}

.property-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  background-color: transparent;
  border-radius: 50px;
  color: white;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

button.prev svg path,
button.next svg path {
  fill: white;
}

button.prev {
  left: 10px;
  transform: rotate(90deg);
}

button.next {
  right: 10px;
  transform: rotate(-90deg);
}

.snipe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  padding: 5px;
  background-color: #cc7f50;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
}

.snipe-green {
  background-color: #006a53;
}

.realtor-partner {
  max-width: 700px;
  padding: 0 1.25rem;
  margin: auto;
  text-align: center;
}

@media screen and (max-width: 999px) {
  .property-image {
    width: 100%;
    min-height: 400px;
    margin-bottom: 20px;
  }
}

/* Footer copyright update */

.copyright_flex {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.copyright_divider {
  padding-top: 2.5rem;
}

.es_link {
  padding-left: 1.9375rem;
  display: inline-block;
}

@media screen and (max-width: 1200px) {
  .es_link {
    padding-left: 0;
  }

  .es_link img {
    width: 120px;
  }
}

@media screen and (max-width: 999px) {
  .copyright_flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .copyright {
    padding-top: 2.5rem;
  }

  .footer_logos {
    display: block;
  }

  .es_link {
    padding-top: 1rem;
    text-align: center;
  }
}

/* Module - Product Grid */
.product-grid-intro {
  max-width: 960px;
  margin: auto;
  padding-bottom: 40px;
}

.product-grid-intro h2,
h3 {
  font-size: 2.625rem;
  margin: 1.2em 0 0.4em;
  line-height: 1.3;
  letter-spacing: 0;
  font-family: "crimson-text-roman", Garamond, "Times New Roman", serif;
  font-weight: 300;
}

.product-content p {
  margin-bottom: 1em;
  font-size: 15px;
}

/* Hubspot Form CSS */
.HSform-wrapper {
  border: 1px solid #d6d6d6 !important;
  box-shadow: 0px 32px 40px -40px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

.HSform-wrapper-title {
  margin: 0 !important;
  background: #f9ede0 !important;
  padding: 1.25rem 0 !important;
  font-size: 2em;
  font-weight: bold;
}

.HSform-wrapper .hbspt-form {
  padding: 1.25rem 3.75rem !important;
}

/* Module - 360 Degree Tour */

.virtual-tour-content iframe {
  width: 100% !important;
  height: 360px;
}

@media (max-width: 767px) {
  .virtual-tour-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* Mobile navigation updates */
@media screen and (max-width: 999px) {
  .main-menu .sub-menu-toggle {
    width: 100%;
    height: 33px;
  }

  .main-menu .sub-menu-toggle.active {
    background: transparent;
  }

  .main-menu .sub-menu-toggle .subnav-carat {
    position: absolute;
    right: 0;
    top: 0;
  }

  .main-menu.main-menu-has-touch .menu-item-has-children > .menu-item-link {
    margin-right: 0 !important;
  }
}
