@import url("./inc/accordions.css");
@import url("./inc/text-styles.css");
@import url("./inc/text-utilities.css");
@import url("./inc/buttons.css");
@import url("./inc/forms.css");
@import url("./inc/backgrounds.css");
@import url("./inc/animations.css");
@import url("./inc/gutenberg.css");
@import url("./inc/queries.css");

@font-face {
  font-family: "TT Fors";
  src: url("../font/TT Fors/TT Fors Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "TT Fors";
  src: url("../font/TT Fors/TT Fors Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "TT Fors";
  src: url("../font/TT Fors/TT Fors DemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "TT Fors";
  src: url("../font/TT Fors/TT Fors Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: "TT Fors";
  src: url("../font/TT Fors/TT Fors ExtraBold.ttf");
  font-weight: 900;
}

@font-face {
  font-family: "Karmina";
  src: url("../font/Karmina/KarminaSans-Heavy.woff2");
  font-weight: 900;
}

@font-face {
  font-family: "Paul Slab";
  src: url("../font/PaulSlab/paulslabsoft-bold-webfont.woff2");
}


:target {
  scroll-margin-top: 4.325rem;
}


html {
  /* scroll-behavior: smooth; */
}

body,
html {
  font-weight: 500;
  font-family: "TT Fors", sans-serif;
  font-size: 16px;
  color: var(--gray-950);
  background-color: var(--white);
}

body.nav-open {
  max-height: 100vh;
  overflow: hidden;
}


/****************************************

UTILITIES/MISC

****************************************/

/* add padding to the main tag to deal with the fixed bottom nav */
main {
  padding: 0 1rem 8rem;
}

body.modal-open main {
  filter: blur(1.5px);
}

hr {
  border-bottom: 1px solid var(--gray-200);
  border-top: none;
  opacity: 1;
}


.font-paul-slab {
  font-family: "Paul Slab", serif;
}

.font-ttfors {
  font-family: "TT Fors", sans-serif;
}

.lh-1 {
  line-height: 1rem !important;
}

.underline-2 {
  text-decoration-thickness: 2px;
}


@media (min-width: 576px) and (max-width: 767px) {
  .container-fluid-sm {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container-fluid-md {
    max-width: 100%;
  }
}





/****************************************

LISTS

****************************************/
ol,
ul {
  padding: 0;
}

.list-inline-item {
  position: relative;
}

.list-inline-item:not(:last-child) {
  padding-right: 1rem;
  margin-right: 0;
}

.list-inline-item:not(:last-child):after {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--gray-400);
  position: absolute;
  right: 0.375rem;
  top: 50%;
  transform: translateY(-0.125rem);
}

.list-star {
  list-style: none;
  counter-reset: item;
  padding: 0;
}

.list-star li,
.gutenberg-wrapper li {
  counter-increment: item;
  position: relative;
  display: flex;
  align-items: center;
  background-image: var(--blue-star-icon);
  background-position: left center;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
  padding-left: 3.9375rem;
}

.list-star li:last-child {
  margin-bottom: 0;
}

.list-star li:before {
  content: counter(item);
  left: 0;
  position: absolute;
  width: 2.8125rem;
  height: 2.8125rem;
  line-height: 2.8125rem;
  display: inline-block;
  font-family: "Karmina", sans-serif;
  color: var(--orange-500);
  text-align: center;
  font-size: 1.5rem;
}

.gutenberg-wrapper ul,
.gutenberg-wrapper ol {
  list-style: none;
  font-weight: 400;
}

.gutenberg-wrapper ul li,
.gutenberg-wrapper ol li {
  padding-left: 2rem;
}

.gutenberg-wrapper ul li {
  background-image: var(--orange-star-icon);
  background-position: left top;
}


.gutenberg-wrapper ol li {
  background-image: none;
}

.gutenberg-wrapper ol li:before {
  content: counter(item)'.';
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.5rem;
  line-height: 1.5rem;
  font-family: "Karmina", sans-serif;
  font-weight: 900;
  color: var(--orange-600);
}

.list-group-flush>.list-group-item {
  border-bottom-color: var(--gray-200);
}

.list-inline-item:first-child>span {
  padding-left: 0;
}




/****************************************

BLOCKQUOTE

****************************************/
.wp-block-quote {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin: 0;
}

.wp-block-quote p,
.wp-block-quote cite {
  max-width: 420px;
  display: block;
  margin: 0 auto;
  border: 2px solid var(--gray-400);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.225rem;
}

.wp-block-quote p {
  border-bottom: none;
  border-top-right-radius: 2.5rem;
  font-size: 1.75rem;
  font-family: "Paul Slab", serif;
  line-height: 2rem;
  color: var(--orange-500);
  padding-bottom: 1rem;
  padding: 3rem 2.75rem 1.75rem;
  position: relative;
}

.wp-block-quote.tinted p {
  color: var(--orange-950);
}

.wp-block-quote p:before {
  content: "";
  width: 4.75rem;
  height: 4rem;
  position: absolute;
  top: -1.125rem;
  left: -0.375rem;
  background-color: var(--white);
  background-image: var(--blockquote-image);
  background-position: top left;
  background-repeat: no-repeat;
}

.wp-block-quote.tinted p:before {
  background-image: var(--blockquote-tinted-image);
}

.wp-block-quote p:after {
  content: "";
  background: var(--gray-500);
  width: 3rem;
  height: 0.125rem;
  display: block;
  top: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.wp-block-quote cite {
  border-top: none;
  border-bottom-right-radius: 2.5rem;
  border-bottom-left-radius: 2.5rem;
  padding: 1.75rem 2.75rem 3rem;
  font-size: 0.875rem;
  line-height: 1rem;
}

.wp-block-quote cite:before {
  content: "-";
}

.quote {
  position: relative;
}

.quote:before {
  content: "“";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(15%);
}

.quote:after {
  content: "”";
}

/*
ALTERNATE PULL QUOTE STYLE
*/
.wp-block-pullquote blockquote {
  border-left: 1px solid var(--orange-500);
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  margin: 1.5rem auto;
  max-width: 420px;
}

.wp-block-pullquote blockquote p {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.wp-block-pullquote blockquote p:before {
  content: "“";
  margin-left: -0.5rem;
}

.wp-block-pullquote blockquote p:after {
  content: "”";
}

.wp-block-pullquote blockquote cite {
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 400;
  font-style: normal;
}

/****************************************

BADGES

****************************************/
.badge {
  font-family: "TT Fors", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 0.9rem;
  padding: 0.125rem 0.25rem;
  letter-spacing: 0.015rem;
  border: none;
  border-radius: 0.1875rem;
}

.badge.bg-success,
.badge.bg-danger {
  color: var(--black);
}

.badge-alt {
  font-family: "Paul Slab", serif;
  position: absolute;
  font-size: 1rem;
  line-height: 1.375rem;
  margin-left: 0.8125rem;
  margin-right: 0.8125rem;
  margin-top: -1rem;
  border-radius: 0;
  padding: 0;
  top: 0.25rem;
  transform-origin: top center;
  transform: rotate(-6.25deg);
  left: 1.25rem;
}

.badge.bg-light,
.badge.bg-link {
  color: var(--gray-950);
}

.badge-alt:before,
.badge-alt:after {
  clip-path: path("M13.3267 0H1.98773C0.732847 0 -0.20681 0.955669 0.039362 1.97889L5.25401 23.6691C5.44014 24.4421 6.25371 25 7.20238 25H13.3297");
  content: "";
  background: inherit;
  position: absolute;
  width: 0.8rem;
  height: 1.375rem;
  left: -0.75rem;
}

.badge-alt:after {
  left: auto;
  right: -0.75rem;
  transform: scaleX(-1);
}

.badge-small {
  font-size: 0.625rem;
  line-height: 0.75rem;
  padding: 0.0625rem 0.125rem;
  margin-top: -0.25rem;
  margin-left: 0;
}

.badge-small:before,
.badge-small:after {
  clip-path: path("M10.6613 0H1.59018C0.586278 0 -0.165448 0.764535 0.0314896 1.58311L4.20321 18.9353C4.35211 19.5537 5.00297 20 5.7619 20H10.6637");
  top: 0;
  transform: scale(0.725);
  transform-origin: top left;
  left: -0.375rem;
}

.badge-small:after {
  left: auto;
  transform: scale(-0.725, 0.725);
  transform-origin: top left;
  right: -1.125rem;
}

@media (min-width: 1400px) {
  .badge-alt {
    transform: scale(1.15) rotate(-10deg);
    margin-left: 2rem;
  }

}



/****************************************

CARDS

****************************************/
.card {
  border-radius: 0.5rem;
  border: none;
  overflow: hidden;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  background: var(--white);
  overflow: visible;
  min-height: 5.625rem;
}

.card img {
  border-radius: 0.5rem 0.5rem 0 0;
}

.card.layout-list img {
  border-radius: 0 0.5rem 0.5rem 0;
}

/* pseudo card style with rounded borders */
.border-rounded {
  border-radius: 0.5rem;
  overflow: hidden;
}


@media (min-width: 1400px) {

  .card,
  .border-rounded {
    border-radius: 1rem;
  }

  .card img {
    border-radius: 1rem 1rem 0 0;
  }

  .card.layout-list img {
    border-radius: 0 1rem 1rem 0;
  }
}

.row>.col-6.card.layout-grid {
  width: calc(50% - 0.5rem);
}



/****************************************

LOCATION STYLES

****************************************/

.location-list-item {
  position: relative;
  border-bottom: 1px solid gray;
}


.btn-fav-location {
  border: 0;
  background: 0;
  color: #777;
  line-height: 0.9rem;
  font-size: 0.8rem;
}




/****************************************

SWIPER STYLES

****************************************/
.swiper-image-container {
  position: relative;
}

.swiper-slide:not(.swiper-slide-active) a {
  pointer-events: none;
}

.swiper-rootys-favorites .swiper-image-container:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 1;
  transition: all 0.25s ease;
}

.swiper-rootys-favorites .swiper-slide-next .swiper-image-container:after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.swiper-rootys-favorites .swiper-slide:last-child .swiper-image-container:after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.swiper-rootys-favorites .swiper-slide-active .swiper-image-container:after {
  opacity: 0;
}


.swiper-pagination-bullets .swiper-pagination-bullet {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--secondary-dark);
  opacity: 0.5;
  transform-origin: center center;
  border-radius: 0.25rem;
  transition: width 0.25s ease;
}

.swiper-pagination-bullets .swiper-pagination-bullet-active {
  width: 2rem;
  opacity: 1;
}

.btn.swiper-nav-btn {
  background: url("/img/carousel/nav_arrow.svg") center center no-repeat;
  background-size: cover;
  width: 3.625rem;
  height: 3.625rem;
  z-index: 999;
  position: absolute;
  top: calc(50% - 1.35rem);
  left: 0;
  transform: translateY(-50%);
}

.btn.swiper-nav-btn.arrow-next {
  left: auto;
  right: 0;
  transform: scaleX(-1) translateY(-50%);
}

.btn.swiper-nav-btn:hover,
.btn.swiper-nav-btn:focus {
  background-image: url("/img/carousel/nav_arrow_hover.svg");
}

.btn.swiper-nav-btn:active,
.btn.swiper-nav-btn.active {
  background-image: url("/img/carousel/nav_arrow_active.svg");
}

.has-mouse-events .swiper-slide:not(.swiper-slide-active) a {
  pointer-events: all;
}




/****************************************

BLOG/PRESS STYLES

****************************************/
.blog-item,
.press-item {
  max-width: 100vw;
}

.blog-item img,
.press-item img {
  max-width: 100%;
  height: auto;
}

.blog-item .tinted,
.press-item .tinted {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.blog-item>*,
.press-item>* {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.blog-item iframe {
  max-width: 100%;
  height: auto;
}

.blog-item .ratio iframe {
  height: 100%;
}

.blog-item a>span {
  color: var(--orange-500) !important;
}



/****************************************

SCROLL SPY STYLES

****************************************/
.scroll-spy-anchor {
  position: relative;
}

.scroll-spy-wrapper {
  background: var(--white);
  width: 100%;
  overflow-x: scroll;
  white-space: nowrap;
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 109;
}

.scroll-spy-wrapper-active {
  position: absolute;
}

.scrolly-spy-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: none;
}

.scroll-spy-placeholder {
  opacity: 0;
  pointer-events: none;
}

.scroll-spy-link {
  padding: 0 1rem;
  display: inline-block;
  font-weight: 600;
  font-family: "TT Fors", sans-serif;
  font-size: 0.875rem;
  line-height: 0.9rem;
  text-decoration: none;
  position: relative;
  border-bottom: 0.1875rem solid transparent;
  color: var(--gray-950);
}

.scroll-spy-link:active,
.scroll-spy-link:focus,
.scroll-spy-link:hover {
  border-bottom: 0.1875rem solid var(--orange-500);
}

.scroll-spy-inner {
  padding: 0.9375rem 0 0.75rem;
  border-bottom: 0.1875rem solid var(--white);
  transition: all 0.25s ease;
}

.active-scroll-spy {
  /* color: var(--gray-950);
  border-bottom: 0.1875rem solid var(--orange-500); */
}




/****************************************

MODAL STYLES

****************************************/
.modal-dialog .modal-content {
  margin: 0 1.625rem;
  border-radius: 0.625rem;
}

.modal-dialog .modal-header,
.modal-dialog .modal-body,
.modal-dialog .modal-footer {
  padding: 0;
  border: none;
  margin-bottom: 1rem;
  padding: 0 1.75rem;
}

.modal-dialog .modal-header {
  padding-top: 1.75rem;
}

.modal-dialog .modal-footer {
  padding-bottom: 1.75rem;
}

.modal-dialog .modal-footer {
  margin-bottom: 0;
}



/****************************************

SIDE SCROLLER STYLES

****************************************/
.side-scroller {
  width: 100%;
  overflow-x: scroll;
  white-space: nowrap;
}

.side-scroller>* {
  display: inline-block;
  max-width: 50%;
  margin-right: 1rem;
  white-space: normal;
}

.side-scroller>*:last-child {
  margin-right: 0;
}




/****************************************

1-OFF AND BESPOKE ELEMENTS

****************************************/
.dashed-border {
  border: 2px dashed var(--orange-500);
  border-radius: 0.5rem;
}

.mx-negative-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}

.mx-negative-2 {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.mx-negative-3 {
  margin-left: -1rem;
  margin-right: -1rem;
}

.mx-negative,
.mx-negative-4 {
  margin-left: -1.75rem;
  margin-right: -1.75rem;
}

.inner-shadow-top {
  box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.12);
}


.box-shadow {
  box-shadow: 0px 0px 12px 0px #00000014;
}






.hump {
  position: absolute;
  top: 0;
  left: 50%;
  padding-bottom: 300%;
  width: 300%;
  height: auto;
  border-radius: 50%;
  border: 0.25rem solid;
  border-color: var(--orange-500);
  clip-path: rect(0 50% 7% 50%);
  box-shadow: var(--top-shadow);
  background-color: inherit;
  transition: clip-path 0.25s ease;
  transform: translate(-50%, -3%);
  opacity: 1;
}

.hump.active {
  clip-path: rect(0 66.666666% 7% 33.33333%);
}