@charset "UTF-8";
/*! 
Theme Name: The Colony Palm Beach
*/

:root {
  --colonyPink: #f7f0ea;
  --colonyPinkDark: #faedea;
  --colonyPinkDarker: #f37f82;
  --colonyPinkLight: #f5f3e9;
  --colonyGreen: #00a678;
  --colonyBlack: #231f20;
  --colonyHeaderHeight: 72px;
  --newBackground: #f4e4e4;
  --borderWidth: 2px;
}

.magnific a {
  cursor: pointer;
}

.visually-hidden {
  display: none !important;
}

.no-margin {
  margin: 0 auto !important;
  padding-right: 1vw;
  padding-left: 1vw;
}

.flex-center {
  justify-content: center;
}

.max-width-1200 {
  max-width: 1200px;
}

@media (max-width: 600px) {
  .wp-block-image.magnific figcaption {
    display: none;
  }
}

body {
  background-color: var(--newBackground);
  /*#f6e5e5;*/
  color: var(--colonyGreen);
  min-height: 100vh;
  font-family: 'FuturaPTBook', sans-serif;
  font-size: 16px;

  #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
}

.no-margin {
  margin: 0 auto !important;
  padding-right: 1vw;
  padding-left: 1vw;
}

.no-padding {
  padding-right: 0;
  padding-left: 0;
}

h1 {
  font-family: SteinerPremiumLight;
  font-size: 2.3em;
  letter-spacing: 0;
  color: var(--colonyGreen);
  font-weight: lighter;
  word-spacing: -0.09em;
}

h2 {
  font-family: SteinerPremiumLight;
  font-size: 2.33em;
  letter-spacing: 0.01em;
  color: var(--colonyGreen);
  font-weight: lighter;
  word-spacing: -0.09em;
}

h3 {
  font-family: SteinerPremiumLight;
  font-size: 1.99em;
  letter-spacing: 0.02em;
  color: var(--colonyGreen);
  font-weight: lighter;
  word-spacing: -0.09em;
}

h4 {
  font-family: SteinerPremiumLight;
  font-size: 1.6em;
  letter-spacing: 0.03em;
  color: #00a678;
  line-height: 1.5em;
  word-spacing: -0.09em;
}

h5 {
  font-family: SteinerPremiumLight;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: #00a678;
  line-height: 1.5em;
  word-spacing: -0.09em;
}

h1.main-title {
  font-size: 2.69em;
  margin-top: .33em;
  margin-bottom: 1.69em
}

main {
  font-family: 'FuturaPTBook', sans-serif;
  font-size: 19px;

  >* {
    margin-left: max(3vw, calc(50% - 450px));
    margin-right: max(3vw, calc(50% - 450px));
  }

  a {
    color: var(--colonyGreen);
    text-decoration: none;
  }

  &.no-featured {
    margin-top: 84px;
  }

  ul {
    li {
      margin-bottom: 20px;
    }
  }

}

hr {
  border-color: var(--colonyPinkDarker);
  border-style: solid;
  border-width: 0;
  border-top-width: 1px;
  margin-top: 0;
}

.wp-block-columns {
  gap: 0 !important;
  margin-bottom: 0;
}

.wp-block-button {
  &.is-style-outline {
    a.wp-block-button__link {
      border-top: 2px solid var(--colonyGreen);
      border-bottom: 2px solid var(--colonyGreen);
      border-left: none !important;
      border-right: none !important;
      border-radius: 0;
      font-family: Helvetica, Arial, sans-serif;
      color: var(--colonyGreen);
      font-size: 16px;
      padding: 0.6em calc(0.6em + 1.3vw) !important;
      background: transparent;
    }
  }
}

figure {
  margin-bottom: 0;
}

.has-pink-background-color {
  background-color: var(--colonyPink);
}

.has-pink-dark-background-color {
  background-color: var(--colonyPinkDarker);
}

.has-pink-light-background-color {
  background-color: var(--colonyPinkLight);
}

.has-green-background-color {
  background-color: var(--colonyGreen);
}

.has-pink-color {
  color: var(--colonyPink);
  border-color: var(--colonyPink) !important;
}

.has-pink-dark-color {
  color: var(--colonyPinkDarker);
  border-color: var(--colonyGreen) !important;
}

.has-pink-light-color {
  color: var(--colonyPinkLight);
  border-color: var(--colonyGreen) !important;
}

.has-green-color {
  color: var(--colonyGreen);
  border-color: var(--colonyGreen) !important;
}

hr.has-pink-dark-color {
  border-color: var(--colonyPinkDarker) !important;
}

.btn,
button,
input[type='submit'] {
  position: relative;
  font-family: 'FuturaPTBook';
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  width: auto;
  line-height: 19.6364px;
  overflow: hidden;
  padding: 10px 40px;
}

.btn-dark {
  background-color: #f37f82;
  color: #f5f3e9;
  border-radius: 0;
  border-color: transparent;

  &:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 2px;
    border: 2px solid #f5f3e9;
  }
}

.btn-outline,
input[type='submit'] {
  border-top: 2px solid var(--colonyGreen);
  border-bottom: 2px solid var(--colonyGreen);
  border-left: none !important;
  border-right: none !important;
  border-radius: 0;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--colonyGreen);
  font-size: 16px;
  padding: 0.6em calc(0.6em + 1.3vw) !important;
}

.btn-solid {
  background-color: var(--colonyGreen);
  border: none;
  color: var(--colonyPinkLight) !important;
}

.btn-pink {
  border-color: var(--colonyPinkDarker);
}

.btn-thin {
  border: 2px solid #f37f82 !important;
  color: var(--colonyPinkDarker);
  font-size: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.container {
  margin-left: max(3vw, calc(50% - 900px));
  margin-right: max(3vw, calc(50% - 900px));
}

.container-narrow {
  margin-left: max(3vw, calc(50% - 600px));
  margin-right: max(3vw, calc(50% - 600px));
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.alignleft {
  margin-left: 0;
  margin-right: auto;
}

.alignright {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.alignwide {
  margin-left: max(3vw, calc(50% - 700px));
  margin-right: max(3vw, calc(50% - 700px));
}

.alignfull {
  margin-left: 0;
  margin-right: 0;
}

.flex-grid {
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 1;
}

.col-1 {
  width: 8.33%;
}

.col-2 {
  width: 16.66%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33%;
}

.col-5 {
  width: 41.66%;
}

.col-6 {
  width: 50%;
}

.col-7 {
  width: 58.33%;
}

.col-8 {
  width: 66.66%;
}

.col-9 {
  width: 75%;
}

.col-10 {
  width: 83.33%;
}

.col-11 {
  width: 91.66%;
}

.col-12 {
  width: 100%;
}

[class^='col-'] {
  box-sizing: border-box;
}

.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 900px) {
  .flex-grid {
    flex-direction: column;
  }

  .colony-picture-text.flex-grid:not(.align-left) {
    flex-direction: column-reverse;
  }

  [class^='col-'] {
    width: auto !important;
    padding-left: 0;
    padding-right: 0;
  }

  body:not(.home) main {
    margin-top: 72px;
  }

  h3 {
    font-size: 1.69em;
  }
}


@media (max-width: 479px) {
  h3 {
    font-size: 1.39em;
  }
}

.max600 {
  max-width: 600px;
}

/* header */
header.opaque>.container #logo img {
  height: 60px;
  margin-bottom: 0px;
  transition: height 0.2s ease-in-out;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  transition: 1s background-color;

  &.opaque {
    background-color: var(--newBackground);
    /* #f6e5e5; */
  }

  >.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: var(--colonyHeaderHeight);
    z-index: 30;

    #logo {
      justify-self: center;
      position: relative;
      z-index: 50;

      img {
        height: 80px;
        width: auto;
        margin-top: 9px;
        transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
        transform-origin: center top;
      }
    }

    #header-buttons {
      justify-self: end;
      position: relative;
      z-index: 50;
      margin-left: 15px;
      overflow: visible;
      text-align: right;

      >* {
        align-items: center;
      }

      .reservation-buttons {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background-color: var(--colonyPink);

        .btn-thin {
          border-bottom: none !important;
        }

        .btn-thin {
          &:last-child {
            border-bottom: 2px solid #f37f82 !important;
          }
        }
      }
    }

    nav {
      position: relative;
      z-index: 40;
      color: var(--colonyPinkDarker);

      #menus {
        font-size: 109%;
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        background: var(--newBackground);
        background-size: cover;
        padding-left: max(5em, calc(50% - 450px));
        padding-right: max(15px, calc(50% - 600px));
        padding-top: calc(10px + 10vh);
        z-index: 60;

        .menu-shop-container {
          margin-bottom: 3em;
        }

        .bg-menu-bottom-left {
          position: fixed;
          bottom: 0;
          left: 0;
          width: 13%;
          height: auto;
        }

        .bg-menu-top-right {
          position: fixed;
          top: 0;
          right: 0;
          width: 19%;
          height: auto;
        }

        .bg-menu-bottom-right {
          position: fixed;
          bottom: 0;
          right: 0;
          width: 13%;
          height: auto;
        }

        h3 {
          font-family: 'FuturaPT', sans-serif;
          font-size: 0.9em;
          color: var(--colonyPinkDarker);
        }

        ul.menu {
          list-style: none;
          margin: 0;
          padding: 0;

          li {

            &.current-menu-item,
            &.current-menu-ancestor {
              >a {
                text-decoration: none;
              }
            }

            a:hover {
              text-decoration: none;
              border-bottom: 2px solid transparent;
              color: var(--colonyGreen);
              transition: color 0.2s ease-in-out;
            }
          }

          >li {
            position: relative;
            display: block;
            margin-bottom: 1.39vh;

            &:before {
              display: none;
            }

            a {
              color: var(--colonyPinkDarker);
              text-decoration: none;
              border-bottom: 2px solid transparent;
              font-size: 1.39em;
              line-height: 1.3;
              letter-spacing: 0.02em;
              font-family: SteinerPremiumRegular, serif;
              text-transform: uppercase;
              transition: color 0.2s ease-in-out;
            }

            >ul {
              list-style: none;
              margin-top: 15px;
              padding-left: 20px;

              li {
                margin-bottom: 15px;

                a {
                  font-size: 16px;
                  font-weight: bold;
                  font-family: 'FuturaPTBook', sans-serif;
                  letter-spacing: 0.03em;

                  &:before {
                    content: '– ';
                    font-weight: bold;
                  }
                }
              }
            }
          }
        }

        .flex-grid .col-6:nth-child(2) div:last-child ul {
          display: flex;
          flex-direction: column;
          flex-wrap: wrap;
          max-height: 196px;
          max-width: 333px;

          li {
            margin-bottom: 5px;

            a {
              font-style: italic;
              font-size: 1.1em;
              letter-spacing: 0.02em;
              text-transform: none;
            }
          }
        }
      }

      &.toggled {
        #menus {

          .menu-toggle {
            position: relative;
            z-index: 70;
          }
        }
      }
    }
  }
}

button.menu-toggle {
  position: relative;
  cursor: pointer;
  background: transparent;
  text-align: left;
  position: relative;
  border: 2px solid transparent;
  box-shadow: none;
  border-radius: 2px;
  width: 50px;
  margin-left: 8px;
  padding-bottom: 20px;
  z-index: 70;

  &:focus-visible {
    outline: none;
  }

  &:hover {
    background-image: none;
  }

  span::before {
    -webkit-transition: all, ease, 0.2s;
    transition: all, ease, 0.2s;
  }

  &:before,
  &:after,
  span::before {
    content: '';
    display: block;
    height: 2px;
    width: 40px;
    position: absolute;
    top: 50%;
    left: 1em;
    margin-top: -1px;
    -webkit-transition: all, ease, 0.2s;
    transition: all, ease, 0.2s;
    border-radius: 3px;
    background-color: var(--colonyGreen);
  }

  &:before {
    -webkit-transform: translateY(-12px);
    -ms-transform: translateY(-12px);
    transform: translateY(-12px);
  }

  &:after {
    -webkit-transform: translateY(12px);
    -ms-transform: translateY(12px);
    transform: translateY(12px);
  }

  .toggled &:before,
  .toggled &:after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .toggled &:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .toggled & span::before {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  header {
    >.container {
      nav {
        #menus {
          justify-content: flex-start;
          padding-top: 8vh;
          padding-bottom: 6vh;
        }
      }

      #logo {
        img {
          max-height: 40px;
          margin-bottom: 0;
        }
      }

      #header-buttons {
        a {
          padding: 0.3em 0.99em;
          font-size: 13px;
        }
      }
    }
  }
}

@media (min-width: 901px) {
  header {
    ul#menu-primary {
      >li {
        &:hover {
          >ul {
            display: block;
            position: absolute;
            top: 100%;
            background-color: var(--colonyPink);
            margin: 0;
          }
        }
      }
    }
  }

  header>.container nav #menus ul.menu>li a {
    font-size: 2.39em;
  }
}

/* footer */
footer {
  margin-top: auto;
  background-color: var(--colonyPinkDarker);
  padding-top: 60px;
  padding-bottom: 40px;
  color: white;
  font-size: 13px;
  letter-spacing: 1px;

  #footer-columns {
    display: grid;
    grid-template-columns: 20fr 20fr 20fr 40fr;
    margin-left: max(3vw, calc(50% - 900px));
    margin-right: max(3vw, calc(50% - 900px));

    #footer-widget-1 {}

    #footer-widget-2 {}

    #footer-widget-3 {
      justify-self: flex-end;

      .footer-social-links {
        font-size: 12px;
      }

      .footer-social-links>span:after {
        content: " | ";
      }

      .footer-social-links>span:last-child:after {
        content: "";
      }
    }

    #footer-logo {
      justify-self: center;
      text-align: center;

      img {
        height: 100px;
        margin-top: 3vh;
      }
    }
  }

  a {
    color: white;
  }

  ul.menu {
    list-style: none;
    padding-left: 0;

    li {
      line-height: 1.7;

      &:before {
        display: none;
      }

      a {
        text-decoration: none;
        text-transform: uppercase;
      }
    }
  }

  #footer-copyright {
    margin-top: 80px;
    text-align: center;
    font-size: 10px;
  }

  #site-credits-trigger {
    cursor: pointer;
  }
}

@media (max-width: 900px) {
  footer {
    padding-top: 30px;

    #footer-columns {
      display: flex;
      flex-direction: column;
      text-align: center;

      >* {
        margin-bottom: 30px;
      }

      #footer-logo {
        padding-left: 20px;
      }
    }
  }
}

/* pages */
.featured-container {
  position: relative;
  overflow: hidden;

}

.announcement-banner {
  border-top: 2px solid #f37f82;
  border-bottom: 2px solid #f37f82;
  width: 100%;
  margin: 1vh auto 1.3vh;
  text-align: center;
  font-size: 1em;
  padding: 0;
  z-index: 1;
  background: #f4e4e4;
  top: 1.1em;
  box-sizing: border-box;
  color: #FFF;

  a:link,
  a:visited {
    color: #FFF;
    padding-top: 0.1em;
  }

  p {
    margin: 0 0 0.3em;
    font-size: clamp(0.84em, 1.2vw, 1.3em);
  }

  span {
    font-family: SteinerPremiumLight;
    font-size: clamp(1.3em, 1.96vw, 2.3em);
    line-height: 1;
  }

  .banner-image {
    position: relative;
    max-width: 42px;
    margin: auto;
  }
}

.announcement-banner-bgkd {
  background: #f37f82;
  padding: 0.43em calc(3vw + 1.6em) 0.12em;
  margin: 0.3em 0;
  position: relative
}

body.home {
  main {
    padding-top: 6.6vh;
  }

  .announcement-banner {
    margin-top: 0px;
  }

  @media (min-width: 901px) {
    .announcement-banner {
      margin-top: 6px;
    }

    main {
      padding-top: 9vh;
    }
  }

  .featured-container.animation-not-loaded {
    background: url(../png/homepage_hero_still.png) center left /100%;
  }

  .featured-container {
    text-align: center;
    margin-left: max(3vw, calc(50% - 900px));
    margin-right: max(3vw, calc(50% - 900px));
    min-height: 40vw;

    img {
      max-height: 90vh;
      max-width: 100%;
    }

    video {
      max-height: 90vh;
      max-width: 100%;
      border: none;
    }
  }
}

body.home.page-template-page-lottie-test main {
  padding: calc(6vh - 1vw);

  h1 {
    margin-top: 0;
  }
}

body:not(.home) {

  @media (min-width: 901px) {
    .announcement-banner {
      margin-top: 99px;
    }
  }

  .featured-container:before {
    content: '';
    background: radial-gradient(circle, rgba(0, 0, 0, 0.17693014705882348) 0%, rgba(0, 0, 0, 0) 50%);
    width: 100%;
    height: 100%;
    position: absolute;
  }

  .featured-container {
    position: relative;
    text-align: center;
    margin-left: 0;
    margin-right: 0;

    img {
      width: 100%;
      object-fit: cover;
      max-height: 84vh;
      object-position: center 96%;
    }

    video {
      max-height: 90vh;
      max-width: 100%;
      border: none;
      outline: none;
    }

    h1 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translateX(-50%) translateY(-80%);
      color: var(--colonyPinkLight);
      font-family: SteinerPremiumLight;
      font-size: 4.9em;
      text-shadow: 0px 0px 25px rgba(51, 51, 51, 0.55);
    }

    @media (max-width: 900px) {
      h1 {
        font-size: 2.6em;
      }
    }
  }

}

.form-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 15px;
  grid-row-gap: 15px;

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
  }
}

input,
select,
textarea {
  padding: 10px;
  border-radius: 0;
  border: 1px solid var(--colonyGreen);
  color: var(--colonyGreen);
  background-color: transparent;
  box-sizing: border-box;
  width: 100%;
  height: 44px;
}

textarea {
  resize: none;
  height: 188px
}

input:not([type='submit']):not([type='checkbox']):focus {
  outline: 1px solid var(--colonyGreen);
}

main .colony-contact-us .contacts a {
  text-decoration: underline;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--colonyGreen) !important;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--colonyGreen) !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--colonyGreen) !important;
}

.wpcf7-list-item-label {
  color: var(--colonyGreen);
  text-align: left;

  a {
    color: var(--colonyGreen);
    text-decoration: underline;
  }
}

.wpcf7-form-control-wrap,
.wpcf7-form-control,
.wpcf7-list-item {
  display: block;
}

.wpcf7-list-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.wpcf7-acceptance,
.wpcf7-checkbox {
  .wpcf7-list-item-label {
    font-size: 12px;
    color: var(--colonyGreen);
  }
}

.wpcf7-form-control.wpcf7-select {
  background-repeat: no-repeat, repeat;
  background-position: right 0.7rem top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.wpcf7-response-output {
  margin: 0 !important;
  padding: 0.67em .0em !important;
  border: 0 !important;
  text-align: center;
}

.colony-contact-us .wpcf7-response-output {
  text-align: left;
}

.wpcf7-form p,
.wpcf7-form .form-container {
  transition: all 0.3s ease-in-out;
  height: auto;
}

.wpcf7-form.sent p,
.wpcf7-form.sent .form-container {
  height: 0;
  opacity: 0;
  position: absolute;
  left: -9999px;
}

label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

input[type='checkbox'] {
  position: relative;
  -webkit-appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 0;
  border: 2px solid var(--colonyGreen);
  margin-right: 10px;

  &:checked:after {
    content: "✔";
    position: absolute;
    font-size: 14px;
    left: 0;
    top: -1px;
  }
}

input[type='submit'] {
  display: block;
  width: auto;
  margin: 0 auto;
}

/* blocks */
.sb_instagram_header {
  display: none !important;
}


.vignette-margin {
  margin-left: max(3vw, calc(50% - 777px));
  margin-right: max(3vw, calc(50% - 777px));
}

.wp-block-heading.no-margin {
  max-width: 1120px;
}

.wp-block-heading,
.wp-block-quote {
  margin-left: max(13vw, calc(50% - 450px));
  margin-right: max(13vw, calc(50% - 450px));
}

.wp-block-column .wp-block-buttons {
  gap: 3vw;
}

.wp-block-column p {
  font-size: 22px;
  max-width: 1120px;
}

@media (max-width: 479px) {
  .wp-block-buttons .wp-block-button {
    flex-basis: 100%;
  }

  .wp-block-button__link {
    width: 100%;
  }
}

.desktop-only {
  display: none;
}

@media screen and (min-width: 782px) {
  .desktop-only {
    display: block;
  }
}

.colony-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.colony-gallery {
  .flickity-slider {
    font-size: 0;
  }

  .carousel-cell {
    padding: 6px;
    border: var(--borderWidth) solid var(--colonyGreen);
    margin-right: 6px;
    height: 363px;

    img {
      padding: 6px;
      border: var(--borderWidth) solid var(--colonyGreen);
      height: 346px;
      width: auto;
    }

    /*
    &:last-child {
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 375px;
      padding: 0 40px;
      border: none;
    } */
  }
}

.flickity-page-dots {
  .dot {
    border: 1px solid var(--colonyPinkDarker);
    background: transparent;
    opacity: 1;

    &.is-selected {
      position: relative;

      &:after {
        content: '';
        position: absolute;
        top: 1px;
        left: 1px;
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background-color: var(--colonyPinkDarker);
      }
    }
  }
}

.pictures-title {

  .col-4,
  .col-6 {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  .pictures-title-left {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .pictures-title-center {
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
    text-align: center;

    .img-wrap {
      border-top-left-radius: 100000000000000px;
      border-top-right-radius: 100000000000000px;

      &::after {
        border-top-left-radius: 100000000000000px;
        border-top-right-radius: 100000000000000px;
      }

      img {
        border-top-left-radius: 100000000000000px;
        border-top-right-radius: 100000000000000px;
      }
    }
  }

  .img-wrap {
    position: relative;
    overflow: hidden;
    font-size: 0;
    border: 2px solid var(--colonyGreen);
    z-index: -1;

    &::after {
      content: '';
      position: absolute;
      top: 7px;
      right: 7px;
      bottom: 7px;
      left: 7px;
      border: 2px solid var(--colonyGreen);
    }

    img {
      border: 16px solid var(--newBackground);
      box-sizing: border-box;
    }
  }

  .pictures-title-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .pictures-title-text {
    text-align: left;

    >* {
      text-align: left;
    }

    @media (max-width: 900px) {
      text-align: center;

      h2 {
        font-size: 1.9em;
      }

      >* {
        text-align: center;
      }
    }
  }

  img {
    max-width: 100%;
    /* object-fit: scale-down; */
    width: 100%;
    height: auto;
  }

  @media (max-width: 900px) {
    .pictures-title-center {
      margin-top: 3vh;

      .pictures-title-text {
        max-width: 100%;
      }
    }

    .pictures-title-right {
      margin-top: 3vh;
    }
  }
}

.colony-picture-text {

  align-items: center;

  .colony-picture-text-img {
    max-height: 900px;
    overflow: hidden;

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

  &.color-dark {
    background-color: var(--colonyPinkDarker);

    .colony-picture-text-text>* {
      color: var(--colonyPinkLight) !important;
      border-color: var(--colonyPinkLight) !important;
    }
  }

  .colony-picture-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .colony-picture-text-text {
      text-align: center;
      margin: 30px 0;
      padding-right: 3vw;
      padding-left: 3vw;

      >* {
        max-width: 600px;
        margin-top: 15px;

      }
    }
  }

  @media (max-width: 900px) {

    h2 {
      font-size: 1.9em;
    }

    .colony-picture-text-text {
      padding-left: 3vw;
      padding-right: 3vw;
    }
  }
}

.newsletter {
  background-size: 20%;
  padding-top: 3.9vh;
  padding-bottom: 3.9vh;
  margin-left: 0;
  margin-right: 0;

  .newsletter-container {
    background: var(--colonyPinkLight);
    padding: 25px 0;
    margin-left: max(3vw, calc(50% - 900px));
    margin-right: max(3vw, calc(50% - 900px));

    .flex-grid {
      justify-content: space-evenly;
    }
  }

  .newsletter-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;

    img {
      margin-bottom: 30px;
      max-width: 100%;
    }

    .newsletter-copy {
      max-width: 360px;
      color: var(--colonyGreen);
    }
  }

  .vr {
    width: var(--borderWidth);
    background-color: var(--colonyPinkDarker);
  }

  .newsletter-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding-left: 40px;
    padding-right: 40px;

    >img {
      position: absolute;
      top: 0;
      right: 30px;
      width: 80px;
    }

    fieldset {
      padding-top: 6vh;
      border: none;
    }

    input:not([type='submit']):not([type='checkbox']) {
      border: none;
      border-bottom: var(--borderWidth) solid var(--colonyPinkDarker);
      margin-top: 25px;
    }

    [type='submit'] {
      margin-top: 25px;
      float: right;
    }

    label {
      color: var(--colonyGreen);
      margin-top: 25px;
      font-size: 12px;
    }
  }

  @media (max-width: 900px) {
    .newsletter-left {
      border-right: none;

      img {
        max-width: 333px;
        width: 100%;
        height: auto;
      }
    }

    .vr {
      display: none;
    }

    .newsletter-right {
      img {
        display: none;
      }
    }
  }
}

.colony-embed {
  .colony-embed-inner {
    text-align: center;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;

    >iframe {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      margin: 0 auto;
      width: 100%;
      max-width: 100%;
    }
  }
}

.colony-weather {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: var(--colonyPinkDarker);
  font-size: 17px;
  font-family: FuturaPTBook, sans-serif;
  letter-spacing: 2px;

  img {
    width: 40px;
  }
}

.colony-embed iframe {
  max-width: 100%;
}

.colony-anchors {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--newBackground);
  border-top: var(--borderWidth) solid var(--colonyGreen);
  border-bottom: var(--borderWidth) solid var(--colonyGreen);
  margin-top: 15px;
  padding-top: 0.39em;
  padding-bottom: 0.39em;
  z-index: 5;
  transition: background-color .2s ease-in-out;

  a {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    padding: 0;
    margin: calc(0.6em + 0.3vh) calc(0.6em + 0.3vw);
    /* border-bottom: 2px solid transparent; */
    transition: color .2s ease-in-out;

    &.active {
      color: var(--colonyPinkDarker);
      transition: color .2s ease-in-out;
    }
  }

  @media (max-width: 900px) {
    a {
      font-size: 13px;
      padding: 6px 5px;
      margin: 0 10px;
    }
  }
}

.colony-anchors.pinned {
  background-color: var(--newBackground);
  transition: background-color .2s ease-in-out;
}

.colony-list {
  background-color: transparent;
  padding: 20px 0;
  text-align: center;
  color: var(--colonyGreen);
  position: relative;

  &:after {
    content: '';
    position: absolute;
    top: 13px;
    right: 15px;
    bottom: 13px;
    left: 15px;
    border: 2px solid var(--colonyGreen);
  }

  .container {
    border: var(--borderWidth) solid var(--colonyGreen);
    margin-right: 22px;
    margin-left: 22px;

    .container-narrow {
      padding: 15px;

      h4 {
        color: var(--colonyGreen);
        font-size: 1.69em;
        margin: 0.69em auto 0.99em;
      }

      ul {
        /* display: grid;
        grid-template-columns: repeat(3, 1fr); */
        -webkit-column-count: 3;
        /* Chrome, Safari, Opera */
        -moz-column-count: 3;
        /* Firefox */
        column-count: 3;
        list-style: none;
        padding-left: 0;

        li {
          font-size: 20px;
          line-height: 1.2;
        }
      }
    }
  }

  @media (max-width: 900px) {
    .container {
      .container-narrow {
        ul {
          max-height: none;
          -webkit-column-count: 2;
          /* Chrome, Safari, Opera */
          -moz-column-count: 2;
          /* Firefox */
          column-count: 2;

          li {
            font-size: 18px;
            line-height: 1.2em;
          }
        }
      }
    }
  }

  @media (max-width: 479px) {
    .container {
      .container-narrow {
        ul {
          max-height: none;
          display: flex;
          flex-direction: column;
          -webkit-column-count: 1;
          /* Chrome, Safari, Opera */
          -moz-column-count: 1;
          /* Firefox */
          column-count: 1;
        }
      }
    }
  }
}

.colony-picture-text-btn {
  &.padding {
    padding-top: 6vh;
    padding-bottom: 6vh;
  }

  .col-img {

    &.single-img {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;

      img {
        max-width: 100%;

        &.image-sizing-stretch {
          width: 100%;
          object-fit: cover;
        }
      }
    }

    .carousel {
      .carousel-cell {
        width: 100%;

        img {
          width: 100%;
          height: auto;
          max-width: none;
        }
      }
    }
  }

  .col-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3vh 3vw;

    &.has-button {
      justify-content: space-evenly;
    }

    .content {

      h2 {
        margin-top: 2vh;
        margin-bottom: 2vh;
      }

      .text {
        font-family: 'FuturaPTBook', sans-serif;
        font-size: 19px;
      }
    }

    .buttons {
      display: flex;
      gap: 10px;

      .btn {
        flex: 1;
        display: block;
        border-color: var(--colonyGreen);
        transition: all 0.2s ease-in-out;
        white-space: normal;
      }

      .btn:hover {
        flex: 1;
        display: block;
        color: var(--colonyPinkDarker);
        border-color: var(--colonyGreen);
        transition: all 0.2s ease-in-out;
      }
    }
  }

  @media screen and (max-width: 959px) {
    [class^='col-'] {
      width: 50%;
    }
  }

  @media (max-width: 900px) {
    &.padding {
      padding-top: 3vh;
      padding-bottom: 3vh;
    }

    .col-img {
      order: 1;
    }

    .col-content {
      order: 2;
    }
  }
}

.colony-picture-text-btn .img-wrap {
  position: relative;
  overflow: hidden;
  font-size: 0;
  border: 2px solid var(--colonyGreen);

  &::after {
    content: '';
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    left: 7px;
    border: 2px solid var(--colonyGreen);
  }

  img:not(.animation) {
    border: 16px solid var(--newBackground);
    box-sizing: border-box;
  }
}


@media screen and (min-width: 901px) {
  .colony-picture-text-btn .flex-grid {
    align-items: center;
  }
}

.wp-block-pullquote {
  padding-top: 0;
  padding-bottom: 0;

  blockquote {
    margin-left: 0;
    margin-right: 0;
    padding-left: max(15px, calc(50% - 450px));
    padding-right: max(15px, calc(50% - 450px));
    background-color: var(--colonyPinkDark);
  }
}

blockquote {
  border-top: var(--borderWidth) solid var(--colonyPinkDarker);
  border-bottom: var(--borderWidth) solid var(--colonyPinkDarker);
  padding: 3vh 3vw;

  p {
    text-align: center;
    font-family: 'SteinerPremiumLight', serif;
    font-size: 1.9em;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1.3vh;
    word-spacing: -0.09em;
  }

  @media screen and (max-width: 649px) {
    p {
      font-size: 1.6em;
    }
  }

  @media screen and (max-width: 479px) {
    p {
      font-size: 1.3em;
    }
  }

  cite {
    display: block;
    margin: 5px auto;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-family: 'FuturaPTBook', sans-serif;
  }
}

blockquote.wp-block-quote {
  border: none;
}

.colony-interjection {
  border-top: var(--borderWidth) solid var(--colonyGreen);
  border-bottom: var(--borderWidth) solid var(--colonyGreen);
  background-color: #fdeaea;
  text-align: center;
  padding: 30px 15px;

  img {}

  .colony-interjection-content {
    max-width: 900px;
    color: var(--colonyBlack);
    margin: 0 auto;
    font-size: 18px;
    font-family: 'SteinerPremiumLightItalic', serif;
  }
}

.colony-container-narrow {
  margin-left: max(15px, calc(50% - 450px));
  margin-right: max(15px, calc(50% - 450px));
}

.colony-decorated-title {
  text-align: center;
  border-top: var(--borderWidth) solid var(--colonyGreen);
  border-bottom: var(--borderWidth) solid var(--colonyGreen);
  background-color: transparent;
  /*var(--colonyPinkDark); */
  padding: 20px 15px;
  font-size: 2.39em;
}

.colony-thumbs {
  .colony-thumbs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    padding: 0 7px;

    img {
      max-width: 100%;
    }

    h3 {
      display: inline-block;
      padding: 8px 10px;
      margin: 10px 10px 0;
    }

    p {
      max-width: 300px;
      font-size: 16px;
      margin-top: 0;
    }

    a {
      margin-top: auto;
    }
  }
}

img.animation {
  display: none;
}

body.home div.animation {
  margin: -3.9vh auto !important;
}

body.palm-royale .featured-container h1 {
  font-size: clamp(6vw, 8vw, 8vw);
  width: 90%;
  margin: 16vw auto 0;
}

.colony-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  .event {
    text-align: center;
  }

  .event h3 {
    margin: 0.333em;
  }

  .event h4 {
    margin: 0.22em;
  }

  .event a {
    cursor: pointer;
  }

  .event p {
    margin-top: 0;
  }

  .event img {
    width: 100%;
    height: auto;
  }

  @media (max-width: 900px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.colony-contact-us {
  color: var(--colonyGreen);

  [class^='col-'] {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .col-left {
    text-align: center;
    border-right: var(--borderWidth) solid var(--colonyGreen);

    div {
      text-align: left;

      >* {
        color: var(--colonyGreen);
      }
    }

    a {
      color: var(--colonyGreen);
      text-decoration: underline;
    }
  }

  .col-right {
    h1 {
      margin-top: 0;
      color: var(--colonyGreen);
    }

    .copy {
      font-size: 20px;
      line-height: 28px;
    }

    .form-container {
      grid-template-columns: 3fr 1fr;
    }
  }

  input:not([type='submit']):not([type='checkbox']) {
    border: none;
    border-bottom: var(--borderWidth) solid var(--colonyGreen);
    color: var(--colonyGreen);
    padding-left: 0;

    &::placeholder {
      font-size: 14px;
      color: var(--colonyGreen) !important;
    }
  }

  @media screen and (max-width: 1140px) {
    .flex-grid {
      flex-direction: column;

      [class^=col-] {
        width: auto;
        border-right: none;
      }
    }
  }

  @media screen and (max-width: 899px) {
    .form-container {
      grid-template-columns: 1fr !important;
    }

    .contacts h4 {
      font-size: 1.2em;
    }
  }
}

.colony-accordion {
  .item {
    margin: 1px;
    border-bottom: var(--borderWidth) solid var(--colonyPinkDarker);

    &:last-child {
      border-bottom: none;
    }

    h4 {
      cursor: pointer;

      &:after {
        content: '+';
        font-family: serif;
        font-weight: normal;
        float: right;
      }

      &.open {
        &:after {
          content: '–';
        }
      }
    }
  }
}

.colony-map {
  height: 500px;
}

.wpcf7-response-output {
  border: 0;
}