/*This contains the variables, functions and mixins of the v2 style that can be used on the block and page css.*/
/*$input-height-inner: add($btn-line-height * 1, $input-btn-padding-y * 2);
$input-height-inner-half: add($btn-line-height * .5, $input-btn-padding-y);
$input-height-inner-quarter: add($btn-line-height * .25, $input-btn-padding-y * .5);

$input-height: add($btn-line-height * 1, add($input-btn-padding-y * 2, 1, false));
$input-height-sm: add($btn-line-height * 1, add($input-btn-padding-y-sm * 2, 1, false));
$input-height-lg: add($btn-line-height * 1, add($input-btn-padding-y-lg * 2, 1, false));*/
.tabs-wrapper {
  padding: 2.5rem 0;
  position: relative; }

.tabs-wrapper--video {
  padding: 0; }
  .tabs-wrapper--video .tabs-content__outer {
    border-top: 0; }
  .tabs-wrapper--video .tabs-content__inner {
    padding: 1.25rem; }

.tabs-wrapper--accordion {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 6.25rem;
  width: 90%; }
  .tabs-wrapper--accordion .tabs-nav {
    display: none; }
  .tabs-wrapper--accordion .tab__content {
    background-color: #fff;
    border-bottom: solid 1px #e0e0e0;
    display: block;
    max-height: none;
    margin-bottom: 0.625rem;
    opacity: 1;
    padding: 1.25rem 0 0; }
    .tabs-wrapper--accordion .tab__content:last-of-type {
      margin-bottom: 0; }
  .tabs-wrapper--accordion .tabs-accordion__cta {
    display: flex; }
  .tabs-wrapper--accordion .tabs-content__inner {
    padding: 1.25rem 0; }

.tabs-nav {
  position: relative;
  overflow: hidden; }

.tabs-wrapper--underline .tabs-nav {
  border-bottom: 2px solid #efefef; }

.tabs-wrapper--underline .tab {
  background: none; }
  .tabs-wrapper--underline .tab:hover {
    background: none;
    border-bottom: 2px solid #032349;
    color: #032349; }

.tabs-wrapper--underline .tab.is-active {
  background: none;
  border-bottom: 2px solid #032349;
  color: #032349; }

.tabs-wrapper--underline .tabs-content {
  background: none; }

.tabs-nav__inner {
  display: flex; }

.tabs-nav__title {
  display: block;
  text-transform: uppercase; }

.tabs-nav__subtitle {
  display: block; }

.tabs-nav__subtitle-lowercase {
  text-transform: lowercase !important; }

.tab {
  align-items: center;
  background: #e0e0e0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 250px;
  padding: 0.625rem 1.25rem;
  margin: 0 0.625rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: currentColor;
  user-select: none;
  text-transform: uppercase;
  transition: all 0.25s ease; }
  .tab:hover {
    background: #7c8a9a;
    color: #fff; }

.tab.is-active {
  background: #fff; }
  .tab.is-active:hover {
    background: #7c8a9a;
    color: #fff; }

.tabs-content {
  background-color: #fff;
  padding: 1.25rem;
  position: relative; }

.tab__content {
  width: 100%;
  max-height: 0;
  display: none;
  border-bottom: 0;
  opacity: 0; }
  .tab__content img {
    display: block;
    height: auto;
    max-width: 100%; }

.tab__content.is-active {
  display: block;
  max-height: 20000px;
  opacity: 1;
  transition: opacity 0.5s ease; }

.tabs-content__print {
  display: none;
  margin-bottom: 0.625rem;
  margin-top: 2.5rem;
  text-align: center; }

.tabs-accordion__cta {
  align-items: flex-end;
  cursor: pointer;
  display: none;
  justify-content: space-between;
  padding-bottom: 0.625rem; }

.tabs-accordion-cta__symbol {
  height: 22px;
  position: relative;
  width: 22px; }
  .tabs-accordion-cta__symbol svg {
    height: 22px;
    transition: all 0.5s ease-in-out;
    left: 0;
    position: absolute;
    top: 0;
    width: 22px; }
  .tabs-accordion-cta__symbol .icon__minus-thin {
    opacity: 1; }
  .tabs-accordion-cta__symbol .icon__plus-thin {
    opacity: 0;
    transform: rotate(90deg); }

.tab__content.is-closed .tabs-accordion-cta__symbol .icon__minus-thin {
  opacity: 0;
  transform: rotate(-90deg); }

.tab__content.is-closed .tabs-accordion-cta__symbol .icon__plus-thin {
  opacity: 1;
  transform: rotate(0); }

.tabs-accordion-cta__heading {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.3125rem;
  text-transform: uppercase; }

.tabs-accordion-cta__regular {
  display: block;
  line-height: 1rem; }

.nearby {
  display: flex; }

.nearby-business {
  flex: 2;
  height: 500px;
  overflow-y: scroll; }

.nearby-map {
  flex: 6;
  height: 500px; }

.place__item {
  padding: 0.625rem;
  border-bottom: 1px solid #4d5763;
  cursor: pointer;
  transition: all 0.25s ease; }
  .place__item::after {
    clear: both;
    content: '';
    display: block; }
  .place__item:hover {
    background: #22A2E4;
    color: #fff; }

.place__item.is-active {
  background: #22A2E4;
  color: #fff; }

.place__image {
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  float: left; }

.place__body {
  float: right;
  width: calc(100% - 100px);
  padding-left: 0.625rem; }

.place__title {
  font-size: 1rem;
  margin: 0 0 0.625rem; }

.place__address {
  font-size: 0.75rem;
  margin: 0;
  line-height: 1rem; }

.place__rating {
  font-size: 0.75rem;
  margin: 0; }
  .place__rating span {
    font-weight: 700; }

.nearby-tabs {
  border-bottom: 2px solid #e2e2e2;
  display: flex;
  margin-bottom: 1.25rem; }

.nearby__tab {
  flex-grow: 1;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-bottom: 2px solid #e0e0e0;
  color: #032349;
  user-select: none; }
  .nearby__tab:hover {
    color: #032349;
    border-bottom: 2px solid #032349; }

.nearby__tab.is-active {
  color: #032349;
  border-bottom: 2px solid #032349; }

.tabs-content__outer {
  border-top: 1px solid #efefef;
  overflow: hidden; }

.is-closed .tabs-content__outer {
  border: 0; }

.tabs-wrapper--broker .tabs-content__outer {
  border-top: 0; }

.tabs-content__inner {
  display: flex;
  flex-direction: column; }

.tabs-content__full-screen {
  background-color: rgba(0, 0, 0, 0.35);
  display: block;
  line-height: 1rem;
  padding: 0.59524rem 0.625rem;
  position: absolute;
  right: 0;
  top: 0; }
  .tabs-content__full-screen svg {
    fill: #fff; }

.tabs-content__img {
  order: 2; }

.tabs-content__img-wrapper {
  display: block;
  position: relative;
  transition: all 0.25s ease; }
  .tabs-content__img-wrapper:hover {
    opacity: .8; }

.tabs-content__text {
  margin-bottom: 2.5rem;
  order: 1; }

.tabs-content-text__title {
  text-transform: uppercase; }

.tabs-content-text__body {
  margin-bottom: 1.25rem; }
  .tabs-content-text__body .tabs-content-small-images {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between; }

.tabs-content__nav .btn {
  margin-bottom: 1.25rem;
  width: 100%; }
  .tabs-content__nav .btn:last-child {
    margin-bottom: 0; }

@media (min-width: 576px) {
  .tabs-wrapper--accordion {
    width: 400px; } }

/*
@include media-breakpoint-up(sm) {
    .tabs-wrapper--accordion {
        width: 100%;
    }
}*/
@media (min-width: 768px) {
  .tabs-wrapper--accordion {
    width: 688px; }
  .tabs-content__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
    .tabs-content__nav .btn {
      max-width: 49%; }
      .tabs-content__nav .btn:last-child {
        margin-bottom: 1.25rem; }
  .tabs-content__inner--full-width .tabs-content__nav {
    justify-content: center; }
    .tabs-content__inner--full-width .tabs-content__nav .btn {
      margin: 0 0.625rem;
      max-width: none;
      width: auto; } }

@media (max-width: 767.98px) {
  .tab {
    width: 100%;
    border-right: 0;
    padding: 0.625rem; }
  .tabs-wrapper--video .tab {
    flex: 0 1 auto;
    min-width: 0; }
  .tabs-wrapper--broker .tab {
    flex: 0 1 auto;
    min-width: 0; }
  .tab__content .container {
    width: 100%; }
  .nearby__tab {
    width: 100%;
    border-right: 0;
    padding: 0.625rem; } }

@media (min-width: 992px) {
  .tabs-wrapper--accordion {
    width: 100%; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-nav {
    display: block; }
  .tabs-wrapper--accordion:not(.always-accordion) .tab__content {
    background-color: transparent;
    border-bottom: 0;
    display: none;
    margin-bottom: 0;
    padding: 0; }
  .tabs-wrapper--accordion:not(.always-accordion) .tab__content.is-active {
    display: block; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-accordion__cta {
    display: none; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner {
    padding: 0; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__outer {
    border-top: 0;
    height: auto !important; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-wrapper--video .tabs-content__inner {
    padding: 0; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner {
    flex-direction: row;
    justify-content: space-between; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner.tabs-content__inner--full-width {
    flex-direction: column; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__img {
    flex-basis: 49%;
    margin-bottom: 0;
    order: 1; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner--flip-x .tabs-content__img {
    order: 2; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner--overlap-text .tabs-content__img {
    flex: 1; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner--overlap-text .tabs-content__text {
    background: linear-gradient(to right, rgba(239, 239, 239, 0.9) 0%, rgba(239, 239, 239, 0) 100%);
    flex: 1;
    margin-bottom: 1.25rem;
    margin-left: -5rem;
    margin-top: 1.25rem;
    padding: 1.25rem;
    z-index: 3; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__text {
    flex-basis: 49%;
    margin-bottom: 0; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content__inner--flip-x.tabs-content__inner--overlap-text .tabs-content__text {
    background: linear-gradient(to right, rgba(239, 239, 239, 0) 0%, rgba(239, 239, 239, 0.9) 100%);
    margin-left: 0;
    margin-right: -5rem; }
  .tabs-wrapper--accordion:not(.always-accordion) .tabs-content-text__title {
    font-size: 1.5rem;
    padding: 1.25rem 0 0.625rem; } }

@media (min-width: 992px) {
  .nearby {
    display: block; }
  .nearby-business {
    height: 175px; }
  .place__image {
    flex: 2; }
  .place__title {
    font-size: 1.5rem; }
  .place__address {
    font-size: 1rem; }
  .place__rating {
    font-size: 1rem; } }

@media (min-width: 1200px) {
  .tabs-content__inner {
    margin: 2.5rem auto;
    width: 80%; }
  .tabs-content__inner.tabs-content__inner--overlap-text {
    margin: 0;
    width: 100%; } }

@media (min-width: 1470px) {
  .tabs-content__img {
    flex-basis: 60%; }
  .tabs-content__text {
    flex-basis: 38%; } }

.tabs-wrapper--accordion .tabs-content__inner--full-width .tabs-content__img {
  flex-basis: auto;
  order: 2; }

.tabs-wrapper--accordion .tabs-content__inner--full-width .tabs-content__text {
  flex-basis: auto;
  margin-bottom: 2.5rem;
  order: 1; }

.tabs-wrapper--accordion .tabs-content__inner--full-width .tabs-content-text__title {
  text-align: center; }

