:root {
  --main-gold-color: #183118;
  --lighter-gold-color: #86936b;
  --faint-gold-color: #edeada;
  --white-color: #ffffff;
  --black-color: #000000;
}

.smaller-heading h2 {
  font-size: 2rem;
}

@media (min-width: 1200px) {
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.2rem !important;
  }
}

.no-pointer {
  pointer-events: none !important;
}

body:not(.EditMode) header {
  z-index: 999999999 !important;
}

#main-menu a {
  text-transform: uppercase !important;
}

section[id*="RotatingImageBanner"] :is(h3, h4, h5, h6) {
  text-transform: uppercase;
  font-size: 16px;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px),
  screen and (-ms-high-contrast: none) and (min-width: 1025px) {
  header.master-layout-2 .header-bottom {
    width: calc(100% - 150px) !important;
  }

  body:not(.EditMode) header .header-top a {
    color: var(--main-gold-color) !important;
  }

  body:not(.EditMode) .header-top {
    padding-right: 0 !important;
  }

  body:not(.EditMode) .MyProfile_Member {
    padding: 0 10px !important;
    background-color: var(--lighter-gold-color) !important;
  }

  body:not(.EditMode) header {
    background: rgba(255, 255, 255, 0.85) !important;
  }

  body:not(.EditMode) .header-right {
    display: flex;
    flex-direction: row-reverse;
  }

  body:not(.EditMode) .header-top {
    width: max-content !important;
    display: flex;
    flex-direction: row-reverse;
    min-width: min(300px);
    margin-left: 25px;
  }

  body:not(.EditMode) .header-top .header-social > div {
    display: flex;
    flex-direction: row;
  }

  body:not(.EditMode) .fullmenu > nav {
    display: flex !important;
  }

  header.master-layout-2:not(.scrolled-head) .header-social,
  header.master-layout-2:not(.scrolled-head) .header-social a .fa {
    line-height: 120px !important;
    margin-right: 2px;
  }

  header.master-layout-2 .container-fluid {
    padding-right: 0 !important;
  }

  header.master-layout-2 .header-bottom,
  header.master-layout-2 .header-top {
    background: transparent !important;
  }

  header.master-layout-2:not(.scrolled-head) .MyProfile_Member {
    height: 120px !important;
    margin-left: 5px;
  }

  header.master-layout-2:not(.scrolled-head)
    .MyProfile_Member
    .MyProfile_SignedIn,
  header.master-layout-2:not(.scrolled-head)
    .MyProfile_Member
    .MyProfile_SignedOut {
    padding: 10px 15px !important;
  }

  header.master-layout-2:not(.scrolled-head) div#divMainMenu {
    height: 119px;
  }

  header.master-layout-2 #main-menu {
    padding-top: 0 !important;
  }

  header.master-layout-2:not(.scrolled-head) #main-menu > li > a {
    line-height: 120px !important;
  }

  header.master-layout-2.scrolled-head .header-social,
  header.master-layout-2.scrolled-head .header-social a .fa {
    line-height: 80px !important;
    margin-right: 2px;
  }

  header.master-layout-2.scrolled-head .MyProfile_Member {
    height: 80px !important;
    margin-left: 5px;
  }

  header.master-layout-2.scrolled-head .MyProfile_Member .MyProfile_SignedIn,
  header.master-layout-2.scrolled-head .MyProfile_Member .MyProfile_SignedOut {
    padding: 10px 15px !important;
  }

  header.master-layout-2.scrolled-head div#divMainMenu {
    height: 79px;
  }

  header.master-layout-2.scrolled-head #main-menu > li > a {
    line-height: 80px !important;
  }

  header.master-layout-2 .MyProfile_Member {
    transition: all 0s !important;
  }

  header.master-layout-2 .MyProfile_Member .fullView a {
    color: #fff !important;
  }
}

/*----------------------------- FOOTER ------------------------*/
.footer-bg-dark {
  background: var(--lighter-gold-color) !important;
}

.footer-bg {
  border-top: 4px solid var(--lighter-gold-color) !important;
}

footer .container {
  width: 100% !important;
}

/*----------------------------- ROTATING BANNER ------------------------*/
section[id*="RotatingImageBanner"] {
  border-bottom: 4px solid var(--lighter-gold-color);
}

.rotating-image-banner-slider .slick-arrow {
  z-index: 9999999 !important;
}

@media (min-width: 768px) {
  section[id*="CHO_Widget_TextArea_ExtraLarge"] p {
    width: 700px !important;
    margin: 0 auto !important;
  }

  .rotating-slide > .cho-hero-textwidget-bg {
    margin-left: auto !important;
    position: relative;
    filter: brightness(0.85);
  }

  .rotating-slide > .cho-hero-textwidget-bg:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }

  .cho-hero-textwidget {
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0) !important;
  }

  section[id*="RotatingImageBanner"] {
    background: #e6ded7;
  }

  .rotating-image-banner-slider:before {
    content: "";
    height: 50%;
    width: 50%;
    position: absolute;
    background: #ede8e2;
    left: 20px;
    top: 20px;
  }

  section[id*="RotatingImageBanner"] .col-md-5 {
    width: 100% !important;
  }

  @keyframes fadeInBottom {
    from {
      opacity: 0;
      transform: translateY(100%);
    }

    to {
      opacity: 1;
    }
  }

  @keyframes fadeInTop {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }

    to {
      opacity: 1;
    }
  }

  section[id*="RotatingImageBanner"] :is(h1, h2) {
    animation-name: fadeInBottom !important;
    animation-duration: 1s;
    animation-fill-mode: both;
    max-width: max-content !important;
    margin: auto !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    animation-delay: 0.5s;
    font-size: 3em;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px black;
  }

  section[id*="RotatingImageBanner"] :is(h3, h4, h5, h6) {
    animation-name: fadeInTop !important;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0.5s;
    text-shadow: 1px 1px 1px black;
    font-size: 16px;
  }

  section[id*="RotatingImageBanner"] :is(h1, h2)::after {
    content: "";
    position: absolute;
    left: 50% !important;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #fff;
    transform: translateX(-50%);
    animation: underline 1.5s ease-in-out forwards 0.75s;
  }

  @keyframes underline {
    from {
      width: 0%;
      left: 50% !important;
      transform: translateX(-50%) !important;
    }

    to {
      width: 120%;
      left: 0;
      transform: translateX(-60%) !important;
    }
  }

  @keyframes text-clip {
    from {
      clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    }

    to {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  }

  @keyframes outer-left {
    from {
      transform: translateX(50%);
    }

    to {
      transform: none;
    }
  }

  @keyframes inner-left {
    from {
      transform: translateX(-50%);
    }

    to {
      transform: none;
    }
  }

  @keyframes image-in {
    from {
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    to {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  }

  @keyframes scrolldown {
    from {
      transform: translateY(150%);
    }

    to {
      transform: none;
    }
  }

  section[id*="RotatingImageBanner"] span[id*="scrolldown"]:before {
    content: "" !important;
    width: 2px !important;
    background-color: var(--white-color) !important;
    bottom: 0 !important;
    left: 400px !important;
    display: block !important;
    animation-name: scrolldown !important;
    animation-duration: 3s;
    animation-fill-mode: both;
    height: 8vh;
    animation-delay: 1.5s;
  }

  .cho-hero-textwidget .scroll-chevron {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
    overflow: hidden;
  }
}

.scroll-chevron {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.scroll-chevron:before {
  content: "Discover";
  color: white;
  letter-spacing: 0.25rem;
}

.cho-hero-textwidget .cho-hero-textwidget-bg {
  transition: all 0.5s ease;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.cho-hero-textwidget-bg {
  animation: zoomIn 30s linear infinite !important;
}

/*--------------------------- TITLE SUMMARY ----------------*/
section[id*="TitleAndSummary"].basic-block:not(.background-image)
  > div:not(.inner-wrap)
  .img-block:before {
  content: "";
  position: absolute;
  width: 97%;
  height: 95%;
  border: 2px solid var(--faint-gold-color);
  top: 2.5%;
  left: 1.5%;
}

@media (min-width: 768px) {
  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap) {
    display: flex;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    .basic-block-wrapper {
    align-items: stretch !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    .text-block {
    padding: 0 !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    .text-block-wrapper {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
    padding: 20px !important;
    padding-left: 6rem !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    .text-block-wrapper
    *:not(h2[id*="TitleAndSummary"]) {
    max-width: 36vw !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    h2[id*="TitleAndSummary"] {
    position: absolute;
    transform: rotate(270deg);
    display: block;
    width: 70vh;
    text-align: center !important;
    font-size: 1.5rem !important;
    color: #c8c8c8;
    opacity: 0.75;
    right: -30vh !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    div.basic-block-wrapper:not(.img-right)
    .text-block-wrapper {
    padding-left: 4vw !important;
    padding-right: 6rem !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    .img-right
    h2[id*="TitleAndSummary"] {
    left: -30vh !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    :is(.btn, .e3-button) {
    width: max-content !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image).theme4
    > div:not(.inner-wrap)
    h2[id*="TitleAndSummary"] {
    color: #333333 !important;
  }
}

@media (min-width: 1440px) {
  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    .text-block-wrapper {
    padding: 15% !important;
    padding-left: 7rem !important;
  }

  section[id*="TitleAndSummary"].basic-block:not(.background-image)
    > div:not(.inner-wrap)
    h2[id*="TitleAndSummary"] {
    font-size: 2.25rem !important;
  }
}

@media (max-width: 767px) {
  h2[id*="TitleAndSummary_ExtraLarge_h2"] {
    display: none !important;
  }
}

/*----------------------------- FW QUICKLINKS ------------------------*/

.quicklink-flex-item {
  margin: 10px !important;
}

.quicklink-flex-item:first-child {
  margin-right: 0 !important;
}

.quicklink-flex-item:last-child {
  margin-left: 0 !important;
}

.quicklink-flex-item:after {
  height: 150%;
  bottom: -145%;
  content: "";
  left: 0;
  right: 0;
  position: absolute;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.quicklink-flex-item:hover::after {
  bottom: 95% !important;
}

.full-width-quicklinks .full-width-quicklink-wrapper {
  background: rgba(42, 42, 42, 0.5) !important;
  color: #fafafa;
}

.quicklink-flex-item:hover :is(h3, p) {
  color: var(--white-color) !important;
}

:is(.theme1, .theme3, .theme5) .quicklink-flex-item:after {
  background-color: rgba(134, 147, 107, 0.95);
}

:is(.theme2, .theme4, .theme6) .quicklink-flex-item:after {
  background-color: rgba(0, 0, 0, 0.95);
}

.quicklink-flex-item:hover .large-bkgd h3,
.quicklink-flex-item:hover .large-bkgd p,
.quicklink-flex-item:focus .large-bkgd h3,
.quicklink-flex-item:focus .large-bkgd p {
  animation: fadeInUp 0.4s !important;
}

.full-width-quicklinks h3.normal-font {
  font-size: 1.25rem;
}

/*----------------- SCROLLBARS ---------------*/

:root {
  scrollbar-color: #86936b #fff !important;
}

body::-webkit-scrollbar {
  background-color: var(--white-color);
  width: 12px;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--main-gold-color);
  border-radius: 10px;
}

/*----------------- TEXT AREA LARGE ---------------*/

section[id*="CHO_Widget_TextArea_ExtraLarge"] {
  position: relative;
}

section[id*="CHO_Widget_TextArea_ExtraLarge"]::before {
  content: "";
  background: url("/getmedia/4957bf31-02be-4149-ad4e-1ec443b5adc3/logo-trans.aspx?width=500&height=301&ext=.png");
  background-size: contain;
  background-repeat: no-repeat;
  height: 100%;
  width: 250px;
  position: absolute;
  z-index: 0;
  left: 0;
  top: 40px;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  opacity: 0.15;
}

@media (min-width: 500px) {
  section[id*="CHO_Widget_TextArea_ExtraLarge"]::before {
    width: 400px;
  }
}

/*----------------- BUTTON STYLING ---------------*/

.theme1 a.btn:hover,
.theme1 .e3-button:hover {
  background-color: #ffffff00 !important;
  color: var(--lighter-gold-color) !important;
  border-color: var(--lighter-gold-color) !important;
}

/* Upcoming Events */
.upcoming-event-widget .CalAtGlance .title-row,
.upcoming-event-widget .CalAtGlance .AGTitle {
  font-size: 2.25rem !important;
}

.upcoming-event-wrapper {
  background-color: var(--faint-gold-color) !important;
  border: 5px solid var(--white-color);
  padding: 10px !important;
}

.upcoming-event-pagination a {
  color: var(--lighter-gold-color) !important;
  background-color: #fff !important;
  padding: 10px !important;
  margin: 5px !important;
  text-decoration: none !important;
  border: 1px solid var(--lighter-gold-color) !important;
}

.upcoming-event-pagination a:hover {
  background-color: var(--white-color) !important;
  color: var(--lighter-gold-color) !important;
}

.latest-news-link {
  background-color: var(--lighter-gold-color) !important;
  color: var(--main-gold-color) !important;
  border: 1px solid var(--lighter-gold-color) !important;
  margin-top: 20px !important;
  font-size: 16px !important;
  padding: 10px 40px !important;
  text-decoration: none !important;
}

.latest-news-link:hover {
  background-color: var(--white-color) !important;
  color: var(--lighter-gold-color) !important;
}

@media (max-width: 768px) {
  .upcoming-event-widget .CalAtGlance .title-row,
  .upcoming-event-widget .CalAtGlance .AGTitle {
    font-size: 1.2rem !important;
  }

  .upcoming-event-pagination {
    margin-top: 20px !important;
  }
}

/* CONTACT CARDS  */
.staff-category-title {
  display: none !important;
}

.contact-card-item {
  background: var(--faint-gold-color) !important;
  color: var(--main-gold-color) !important;
  border-color: var(--main-gold-color) !important;
}

.contact-card-widget.card-view .contact-card-wrapper .card-details-inner h3 {
  color: var(--main-gold-color) !important;
}

.div-add-to-contact {
  display: none !important;
}

@media (min-width: 1200px) {
  .col-70-left
    .contact-card-widget.card-view
    .contact-card-wrapper
    .contact-card-item {
    width: 48% !important;
    margin: 20px 1% !important;
  }
}

@media (max-width: 768px) {
  .contact-card-widget {
    margin-bottom: 0px !important;
  }
}

/* QUICK LINKS */
.content-quicklink-menu .content-quicklink-menu-list {
  background: var(--lighter-gold-color) !important;
}

.content-quicklink-menu .content-quicklink-menu-list li {
  border-bottom: 5px solid var(--white-color) !important;
}

.content-quicklink-menu .content-quicklink-menu-a:hover {
  background: var(--white-color) !important;
}

.content-quicklink-menu > div > div {
  padding: 0px !important;
}

@media (min-width: 1200px) {
  .col-30-right {
    padding-left: 30px !important;
  }
}

/* BIZ FORMS */
.widget-bizform .EditingFormTable {
  display: block;
}

.widget-bizform tr {
  display: flex;
  flex-direction: column;
}

.widget-bizform .FieldLabel {
  text-align: left;
}

.widget-bizform .EditingFormValueCell input {
  border: 0;
  background: #f1f4f6;
}

.widget-bizform .radio {
  margin-left: -9px;
  display: flex;
  flex-wrap: wrap;
}

.widget-bizform .radio input {
  margin-bottom: 10px;
  margin-right: 3px;
  margin-left: 10px;
}

.widget-bizform .radio label {
  flex-grow: 1;
  min-width: -moz-max-content;
  min-width: max-content;
}

.widget-bizform tbody {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.widget-bizform .bold-blue .FieldLabel {
  color: var(--main-gold-color);
  margin-top: 25px;
}

.widget-bizform .contact .FieldLabel {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2rem;
  color: var(--main-gold-color);
  margin-top: 30px;
}

.widget-bizform .title {
  font-size: 2rem;
}

.widget-bizform .full {
  width: 100%;
}

.widget-bizform .full .form-control {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .widget-bizform .full {
    width: 100%;
  }
}

.widget-bizform .half {
  width: 50%;
}

.widget-bizform .half .form-control {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .widget-bizform .half {
    width: 100%;
  }
}

.widget-bizform .comments {
  width: 100%;
}

.widget-bizform .comments .form-control {
  max-width: 100%;
  height: 8rem;
}

@media (max-width: 1024px) {
  .widget-bizform .comments {
    width: 100%;
  }
}

.widget-bizform .third {
  width: 33%;
}

.widget-bizform .third .form-control {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .widget-bizform .third {
    width: 100%;
  }
}

.widget-bizform tr:last-child {
  width: 100%;
}

.widget-bizform tr:last-child .btn {
  color: var(--main-gold-color) !important;
  background: var(--lighter-gold-color) !important;
  border: 1px solid var(--lighter-gold-color) !important;
}

.widget-bizform tr:last-child .btn:hover {
  color: var(--lighter-gold-color) !important;
  background: transparent !important;
}

.widget-bizform .EditingFormValueCell input,
.FormPanel .form-control {
  border: 2px solid var(--lighter-gold-color);
  background: rgba(241, 244, 246, 0);
}

.widget-bizform .FieldLabel {
  font-size: 0.9rem;
  color: var(--main-gold-color);
}

.widget-bizform tbody tr:last-of-type {
  text-align: center;
}

.FormButton.btn {
  float: left;
  text-transform: uppercase !important;
  color: var(--main-gold-color) !important;
}
.FormButton.btn:hover {
  color: var(--lighter-gold-color) !important;
}
