/* General */
:root {
  --border-radius: 4px;
  --border-radius2x: 8px;
  --default: #777;
}

/* Skin Colors */
:root {
  --primary: #ce8229;
  --primary-100: #bc7024;
  --primary-200: #aa5e1f;
  --primary-300: #984c1b;
  --primary--100: #dd933f;
  --primary--200: #e3a763;
  --primary--300: #f7c182;
  --primary-rgba-0: rgba(206,130,41, 0);
  --primary-rgba-10: rgba(206,130,41, 0.1);
  --primary-rgba-20: rgba(206,130,41, 0.2);
  --primary-rgba-30: rgba(206,130,41, 0.3);
  --primary-rgba-40: rgba(206,130,41, 0.4);
  --primary-rgba-50: rgba(206,130,41, 0.5);
  --primary-rgba-60: rgba(206,130,41, 0.6);
  --primary-rgba-70: rgba(206,130,41, 0.7);
  --primary-rgba-80: rgba(206,130,41, 0.8);
  --primary-rgba-90: rgba(206,130,41, 0.9);
  --secondary: #5e120a;
  --secondary-100: #83180d;
  --secondary-200: #ab1e0f;
  --secondary-300: #dd220d;
  --secondary--100: #973d33;
  --secondary--200: #c4665b;
  --secondary--300: rgb(240, 183, 179);
  --secondary-rgba-0: rgba(94,18,10, 0);
  --secondary-rgba-10: rgba(94,18,10, 0.1);
  --secondary-rgba-20: rgba(94,18,10, 0.2);
  --secondary-rgba-30: rgba(94,18,10, 0.3);
  --secondary-rgba-40: rgba(94,18,10, 0.4);
  --secondary-rgba-50: rgba(94,18,10, 0.5);
  --secondary-rgba-60: rgba(94,18,10, 0.6);
  --secondary-rgba-70: rgba(94,18,10, 0.7);
  --secondary-rgba-80: rgba(94,18,10, 0.8);
  --secondary-rgba-90: rgba(94,18,10, 0.9);
  --tertiary: #0c727f;
  --tertiary-100: #2a3e56;
  --tertiary-200: #26384e;
  --tertiary-300: #223247;
  --tertiary--100: #35506d;
  --tertiary--200: #3b5b7b;
  --tertiary--300: #426789;
  --tertiary-rgba-0: rgba(47, 69, 95, 0);
  --tertiary-rgba-10: rgba(47, 69, 95, 0.1);
  --tertiary-rgba-20: rgba(47, 69, 95, 0.2);
  --tertiary-rgba-30: rgba(47, 69, 95, 0.3);
  --tertiary-rgba-40: rgba(47, 69, 95, 0.4);
  --tertiary-rgba-50: rgba(47, 69, 95, 0.5);
  --tertiary-rgba-60: rgba(47, 69, 95, 0.6);
  --tertiary-rgba-70: rgba(47, 69, 95, 0.7);
  --tertiary-rgba-80: rgba(47, 69, 95, 0.8);
  --tertiary-rgba-90: rgba(47, 69, 95, 0.9);
  --quaternary: #829cbc;
  --quaternary-100: #768daa;
  --quaternary-200: #6a7e99;
  --quaternary-300: #5e7087;
  --quaternary--100: #8eabc9;
  --quaternary--200: #9ab9d6;
  --quaternary--300: #a6c8e3;
  --quaternary-rgba-0: rgba(130, 156, 188, 0);
  --quaternary-rgba-10: rgba(130, 156, 188, 0.1);
  --quaternary-rgba-20: rgba(130, 156, 188, 0.2);
  --quaternary-rgba-30: rgba(130, 156, 188, 0.3);
  --quaternary-rgba-40: rgba(130, 156, 188, 0.4);
  --quaternary-rgba-50: rgba(130, 156, 188, 0.5);
  --quaternary-rgba-60: rgba(130, 156, 188, 0.6);
  --quaternary-rgba-70: rgba(130, 156, 188, 0.7);
  --quaternary-rgba-80: rgba(130, 156, 188, 0.8);
  --quaternary-rgba-90: rgba(130, 156, 188, 0.9);
  --dark: #212529;
  --dark-100: #16181b;
  --dark-200: #101214;
  --dark-300: #0a0c0d;
  --dark--100: #2c3237;
  --dark--200: #32383e;
  --dark--300: #383f45;
  --dark-rgba-0: rgba(33, 37, 41, 0);
  --dark-rgba-10: rgba(33, 37, 41, 0.1);
  --dark-rgba-20: rgba(33, 37, 41, 0.2);
  --dark-rgba-30: rgba(33, 37, 41, 0.3);
  --dark-rgba-40: rgba(33, 37, 41, 0.4);
  --dark-rgba-50: rgba(33, 37, 41, 0.5);
  --dark-rgba-60: rgba(33, 37, 41, 0.6);
  --dark-rgba-70: rgba(33, 37, 41, 0.7);
  --dark-rgba-80: rgba(33, 37, 41, 0.8);
  --dark-rgba-90: rgba(33, 37, 41, 0.9);
  --light: #FFF;
  --light-100: #f2f2f2;
  --light-200: #ececec;
  --light-300: #e6e6e6;
  --light--100: #ffffff;
  --light--200: #ffffff;
  --light--300: #ffffff;
  --light-rgba-0: rgba(255, 255, 255, 0);
  --light-rgba-10: rgba(255, 255, 255, 0.1);
  --light-rgba-20: rgba(255, 255, 255, 0.2);
  --light-rgba-30: rgba(255, 255, 255, 0.3);
  --light-rgba-40: rgba(255, 255, 255, 0.4);
  --light-rgba-50: rgba(255, 255, 255, 0.5);
  --light-rgba-60: rgba(255, 255, 255, 0.6);
  --light-rgba-70: rgba(255, 255, 255, 0.7);
  --light-rgba-80: rgba(255, 255, 255, 0.8);
  --light-rgba-90: rgba(255, 255, 255, 0.9);
}

/* Skin Colors - Inverse */
:root {
  --primary-inverse: #FFF;
  --secondary-inverse: #FFF;
  --tertiary-inverse: #FFF;
  --quaternary-inverse: #FFF;
  --dark-inverse: #FFF;
  --light-inverse: #777;
}

/* Grey Colors */
:root {
  --grey: #969696;
  --grey-100: #f4f4f4;
  --grey-200: #eaeaea;
  --grey-300: #e5e5e5;
  --grey-400: #e0e0e0;
  --grey-500: #dbdbdb;
  --grey-600: #cecece;
  --grey-700: #c1c1c1;
  --grey-800: #a8a8a8;
  --grey-900: #8e8e8e;
  --grey-1000: #757575;
}

#Main {
  padding-bottom: 3rem;
}

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

.astrisk {
  font-size: 0.8em;
  font-style: italic;
  line-height: 1.2em;
}

.clickable {
  cursor: pointer;
}

.eighthundred {
  width: 100%;
  max-width: 800px;
}

.sevenhundred {
  width: 100%;
  max-width: 700px;
}

.sixhundred {
  width: 100%;
  max-width: 600px;
}

.fivehundred {
  width: 100%;
  max-width: 500px;
}

.fourhundred {
  width: 100%;
  max-width: 400px;
}

.threehundred {
  width: 100%;
  max-width: 300px;
}

.twohundred {
  width: 100%;
  max-width: 200px;
}

.onehundredfifty {
  width: 100%;
  max-width: 150px;
}

.onehundred {
  width: 100%;
  max-width: 100px;
}

.min-eighthundred {
  min-width: 800px;
}

.min-sevenhundred {
  min-width: 700px;
}

.min-sixhundred {
  min-width: 600px;
}

.min-fivehundred {
  min-width: 500px;
}

.min-fourhundred {
  min-width: 400px;
}

.min-threehundred {
  min-width: 300px;
}

.min-twohundred {
  min-width: 200px;
}

.min-onehundredfifty {
  min-width: 150px;
}

.min-onehundred {
  min-width: 100px;
}

.bg-white-25 {
  background-color: rgba(255, 255, 255, 0.25);
}

.bg-white-50 {
  background-color: rgba(255, 255, 255, 0.5);
}

.bg-white-75 {
  background-color: rgba(255, 255, 255, 0.75);
}

.bg-white-80 {
  background-color: rgba(255, 255, 255, 0.8);
}

.bg-white-90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-dark-25 {
  background-color: rgba(0, 0, 0, 0.25);
}

.bg-dark-50 {
  background-color: rgba(0, 0, 0, 0.5);
}

.bg-dark-75 {
  background-color: rgba(0, 0, 0, 0.75);
}

.bg-dark-80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-dark-90 {
  background-color: rgba(0, 0, 0, 0.9);
}

/** MODAL.CSS **/
.modal_back {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.3s ease-in;
  display: block;
}

.modal-on.modal_back {
  opacity: 1;
}

.modal_back .modal {
  max-width: 500px;
  width: auto;
  height: auto;
  position: relative;
  margin: 1.75rem auto;
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.3s ease-in;
  transition-delay: 0s;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
  max-height: calc(100vh - 1.75rem);
  overflow-y: auto;
}

.modal_back .modal.modal-md {
  max-width: 800px;
}

.modal_back .modal.modal-lg {
  max-width: 1020px;
}

.modal-on .modal {
  opacity: 1;
  transform: translateY(0);
}

.modal-header {
  padding: 1em;
  border-bottom: 1px solid #dedede;
  font-weight: 700;
  font-size: 1.2em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.5em;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 1em;
  border-top: 1px solid #dedede;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
}

.modal-footer .button {
  margin-left: 2px;
  border-radius: 4px;
  padding: 8px 14px;
}

.modal-header .hide_modal {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
  transition: all 0.3s ease-in-out;
}

.modal-header .hide_modal:hover {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

.error .modal-header {
  background-color: #be0d0d;
  color: #fff;
}

.error .modal-header h5 {
  color: #fff;
}

.error .modal-header .hide_modal {
  color: #fff;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 1;
}

.success .modal-header {
  background-color: #1f9425;
  color: #fff;
}

.success .modal-header h5 {
  color: #fff;
}

.success .modal-header .hide_modal {
  color: #fff;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 1;
}

.notice.modal {
  color: #000;
}

@media screen and (max-width: 500px) {
  .modal-footer {
    padding: 0.5em;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .modal-footer .button {
    padding: 8px 8px;
    margin-left: 1px;
    margin-right: 4px;
    display: flex;
    align-items: center;
  }
}
/** FORMS **/
textarea.invalid,
select.invalid,
input.invalid {
  border-color: #a12d3a;
  background-color: #f7b1b8;
}

.label-container {
  position: relative;
  border: 1px solid #999;
  border-radius: 3px;
  margin-bottom: 12px;
  padding: 10px;
  background-color: #fff;
}

.label-container input {
  border: none;
  margin: 0px;
  outline: 0;
  width: 100%;
}

.label-container label {
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: auto;
  max-width: 100%;
}

.label-container.active label {
  transform: translate(-12px, -16px) scale(0.8);
  color: #666;
}

.label-container.select-container {
  padding: 0px 10px;
}

.select-container select {
  border: none;
  margin-top: 16px;
  margin-bottom: 14px;
  background-color: none;
  padding: 0px 16px;
  width: 100%;
  height: 100%;
}

.select-container select:focus-visible {
  border: none;
  outline: none;
}

.select-container.active label {
  transform: translate(-11px, -6px) scale(0.8);
}

.label-container input[type=date] {
  margin-top: 8px;
}

.label-container:has(.invalid) {
  box-shadow: 0px 0px 0px 4px #ae2307;
  background-color: #ecafa9;
}

.label-container .invalid {
  background-color: #ecafa9;
}

input[type=checkbox], input[type=radio] {
  width: 2em;
  height: 2em;
  line-height: 2.2em;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
  display: inline-block;
  vertical-align: middle;
}

.char-count {
  font-size: 0.85em;
  text-align: right;
  color: #666;
}

.fixed_input {
  position: relative;
  border: 1px solid #999;
  border-radius: 3px;
  margin-bottom: 12px;
  padding: 10px;
  background-color: #ededed;
}

.fixed_input .fixed_data {
  border: none;
  margin: 0px;
  outline: 0;
  font-size: 18px;
  padding: 8px;
  color: #111;
}

.fixed_input .fixed_label {
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: auto;
  max-width: 100%;
  padding: 4px 8px;
}

.fixed_input.active .fixed_label {
  transform: translate(-12px, -16px) scale(0.8);
  color: #666;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 3.3px;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 2.6em;
  line-height: 44px;
  margin: 0 0 32px 0;
  font-weight: 300;
  text-transform: uppercase;
}

h2 {
  font-size: 2.2em;
  font-weight: 300;
  line-height: 42px;
  margin: 0 0 32px 0;
  text-transform: uppercase;
}

h3 {
  font-size: 2.2em;
  font-weight: 400;
  line-height: 42px;
  margin: 0 0 32px 0;
  text-transform: none;
}

h4 {
  font-size: 2em;
  font-weight: 400;
  line-height: 42px;
  margin: 0 0 32px 0;
  text-transform: uppercase;
}

h5 {
  font-size: 1.3em;
  font-weight: 400;
  line-height: 42px;
  margin: 0 0 32px 0;
  text-transform: uppercase;
}

h6 {
  color: #222222;
  font-size: 1em;
  font-weight: 400;
  line-height: 18px;
  margin: 0 0 14px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Drop Caps - Skin */
p.drop-caps:first-letter {
  color: #666666;
}

p.drop-caps:first-letter {
  float: left;
  font-size: 65px;
  line-height: 45px;
  padding: 4px;
  margin-right: 5px;
  margin-top: 5px;
  font-family: "Raleway";
  font-weight: 200;
}

div.drop-caps > p:first-child::first-letter {
  color: #666666;
  float: left;
  font-size: 65px;
  line-height: 45px;
  padding: 4px;
  margin-right: 5px;
  margin-top: 5px;
  font-family: "Raleway";
  font-weight: 200;
}

/* Links */
a {
  color: #0797a0;
}

a:hover {
  color: #5b7b3a;
}

a:focus {
  color: #5b7b3a;
}

a:active {
  color: #5b7b3a;
}

#home-hero-rotator {
  text-shadow: rgba(22, 51, 72, 0.57) 0px 0px 24px;
}

.page-header {
  background-color: var(--secondary);
}

/* GRAPE JS */
.gjs-mdl-dialog.modal-large {
  padding: 0 !important; /* optional to maximize space */
  width: 90vw !important;
  height: 90vh !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  transition: width 0.3s ease, height 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

/* Make the modal inner content stretch */
.gjs-mdl-dialog.modal-large .gjs-mdl-content {
  height: 100% !important;
  width: 100% !important;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
}

.gjs-mdl-dialog.modal-large #gjs-mdl-c {
  width: 100%;
}

/* iframe inside the modal */
.gjs-mdl-dialog.modal-large .gjs-mdl-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*alertbox*/
#announcement-box {
  position: fixed;
  bottom: 1em;
  right: 0;
  max-width: 320px;
  width: 100%;
  background: #000;
  color: var(--light);
  z-index: 9999;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: -2px -2px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}

.announcement-content {
  padding: 16px;
  position: relative;
}

.announcement-content p {
  color: #fff;
}

.announcement-content strong {
  color: var(--primary--200); /* Yellow tone */
  display: block;
  margin-bottom: 5px;
}

.announcement-content a {
  color: var(--tertiary);
  text-decoration: underline;
}

.close-announcement {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 576px) {
  #announcement-box {
    max-width: 100%;
    border-radius: 0;
  }
}