:root {
  --primary-color: #ab0003;
  --secondary-color: #002855;
  --dark-color: #333;
  --light-color: #8d8d8d;
  --light-primary-color: #c97273;
  --light-secondary-color: #0355b3;
  --light-text-color: #ffffff;
  --dark-card-text-color: #343434;
  --placeholder-text-color: rgba(118 118 118 / 50%);
  --dropdown-background-color: rgba(255, 255, 255, 0.6);
  --field-container-background-color: rgba(223 223 223 / 50%);
  --empty-input-border-color: #cbcbcb;
  --header-font: 'Kanit';
  --sub-header-font: 'Roboto';
  --text-font: 'Roboto';
  --font-normal: 400;
  --font-bold: 600;
  --primary-hover-box-shadow: 0px 2px 4px var(--light-primary-color);
  --primary-hover-dd-box-shadow: 0px 0px 4px var(--light-primary-color);
  --secondary-hover-dd-box-shadow: 0px 0px 4px var(light-secondary-color);
  --light-hover-box-shadow: 0px 2px 5px #a4acb5;
  --caption-bold: 600;
  --header-text-size: 1.4em;
  --info-text-size: 0.9em;
}

/* --------------------------------------------- */
/* BASIC SETUP*/
/* --------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*
#eWebTopPaneTable {
  display: none;
}
*/
a {
  text-decoration: inherit;
}
.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: '.';
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

.field-container {
  background-color: var(--light-primary-color);
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000b0;
  z-index: 10;
}

/* --------------------------------------------- */
/* LAYOUT RELATED */
/* --------------------------------------------- */
section {
  padding: 20px 0;
}
.hidden-container {
  display: none;
}

/* Dropdown */
.dd-type-container {
  padding: 20px;
  cursor: pointer;
}
.dd-type-container:hover {
  border-color: var(--light-secondary-color);
}
.dd-type-selected {
  border-color: var(--secondary-color);
}
.dd-type-selected:hover {
  border-color: var(--light-secondary-color);
}
.shadow-sm.dd-type-container {
  box-shadow: 0px 0px 6px var(--empty-input-border-color) !important;
  background-color: #ebeaea;
  opacity: 0.3;
}
.shadow-sm.dd-type-container:hover {
  box-shadow: var(--secondary-hover-dd-box-shadow) !important;
  background-color: transparent;
  opacity: 1;
}
.shadow-sm.dd-type-container.dd-type-selected {
  background-color: transparent;
  opacity: 1;
}
/* Sub Member Type */
.type-container {
  padding: 10px;
  /*cursor: pointer;*/
}
.type-container:hover {
  border-color: var(--light-primary-color);
}

.shadow.type-container {
  border: 0px;
  box-shadow: 0px 3px 6px var(--empty-input-border-color) !important;
}
.shadow.type-container:hover {
  border-color: var(--light-primary-color);
  box-shadow: var(--light-hover-box-shadow) !important;
}

.row.container {
  width: -webkit-fill-available;
}

#category_description {
  padding: 10px;
}
#category_description span {
  display: block;
  text-align: justify;
  font-family: var(--text-font);
  font-size: var(--info-text-size);
  line-height: initial;
}

.header-text {
  padding-top: 20px;
  font-size: var(--header-text-size);
  color: var(--primary-color);
  text-transform: uppercase;
  font-family: var(--header-font);
}
hr {
  width: 80% !important;
  margin: 0px auto 10px;
  color: var(--empty-input-border-color);
  align-self: end;
}
.bottom-section hr {
  align-self: self-start;
}
.sub-type-description hr {
  margin: 10px auto;
}
span.type-text {
  font-size: var(--info-text-size);
  font-family: var(--text-font);
  line-height: 16px;
  padding: 10px 20px;
}

.benefit-container {
  align-content: flex-start;
}
.benefit-text {
  font-size: var(--info-text-size);
  line-height: 16px;
  font-family: var(--text-font);
}
.benefit-section {
  margin-bottom: 10px;
}

.bottom-section {
  align-items: start;
}
.bottom-section .info-text {
  margin: 0px auto 10px;
}

.underline {
  transition: all 0.3s;
  display: block;
  bottom: 5px;
  left: 0px;
  position: relative;
  height: 1px;
  background-color: var(--placeholder-text-color);
  width: 90%;
  margin: 0 auto;
}

/* ---------- ICONS ----------*/
.top-type-section i.fa-solid,
.top-type-section i.fa-brands {
  font-size: 2.5em;
  color: var(--secondary-color);
}

.benefit-section i.fa-solid {
  color: var(--secondary-color);
  display: flex;
  /*align-items: center;*/
}

.loading-section {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#loading-indicator {
  background-color: #ffffffd9;
  position: relative;
}
#loading-indicator i {
  color: var(--secondary-color);
}

.button-section .select-text,
.button-section .benefit-amount {
  display: inline-block;
  vertical-align: middle;
}

.button-section button.btn {
  font-size: medium;
  width: 85%;
  margin: 0px auto 10px;
  font-family: var(--header-font);
}

.button-section button.btn:not(:has(.benefit-amount)) {
  width: 100% !important;
}

.calc-input,
.calc-dropdown {
  font-size: var(--info-text-size) !important;
  font-family: var(--header-font);
  height: 32px !important;
}
.calc-dropdown {
  padding-top: 4px;
}
.button-section .input-group {
  margin-bottom: 0px !important;
  align-content: flex-start;
}
.btn-calc-input {
  height: -webkit-fill-available;
}

.row.button-section:last-child {
  padding-bottom: 15px;
}

/* ---------- HEADINGS ---------- */
.top-type-section .type-text {
  font-size: var(--header-text-size);
  font-family: var(--header-font);
  font-weight: var(--font-bold);
  color: var(--secondary-color);
  margin-top: 10px;
}

/* ------ RADIOBUTTONS -------- */
.rb-section {
  height: 0px;
  padding: 0px;
  margin: 0px;
}
.rb-section input[type='radio'] {
  height: 25px;
  width: 25px;
  position: relative;
  top: 5px;
}
input[type='radio']:not(:checked) {
  appearance: none;
  background-color: white;
  border-radius: 15px;
  border: 1px solid var(--empty-input-border-color);
}
.shadow.type-container:hover input[type='radio']:not(:checked) {
  box-shadow: var(--primary-hover-box-shadow);
}
input[type='radio'] {
  accent-color: var(--secondary-color);
}
.shadow-sm.dd-type-container:hover input[type='radio']:not(:checked),
input[type='radio']:not(:checked):hover {
  box-shadow: 0px 0px 4px var(--light-secondary-color);
}

/* --- NetForum FORM Related --- */
#DesignedTable {
  display: none;
}

#loading_icon #__loadimg {
  margin-left: -8px;
}

/* -------- BUTTONS ---------- */
.btn-primary,
.btn-primary:active,
.btn-primary:focus {
  background-color: #002855 !important;
  color: #fff !important;
  border: none !important;
}
.btn-primary:hover {
  opacity: 0.9;
  border: none !important;
}
.wizardbutton {
  background-color: #dbdbdb !important;
  border-color: #dbdbdb !important;
  color: #626262 !important;
  border: none !important;
}
.wizardbutton:hover {
  background-color: #dbdbdb !important;
  border-color: #dbdbdb !important;
  color: #626262 !important;
  border: none !important;
  opacity: 0.7;
}
.btn-calc-select {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.row.justify-content-center.button-container {
  min-height: 120px;
}

/*
.btn-calc-select.empty-calc-select {
  background-color: var(--light-text-color) !important;
  color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}
.btn-calc-select.empty-calc-select:hover {
  background-color: #efefef !important;
}
*/

.WizardContentTable {
  margin-top: 0px;
}
#WizardContentTableBottom {
  padding: 0px 0px 20px;
}
#WizardContentTableBottom__UP {
  width: fit-content;
  margin: auto;
}

/* -------- Inlay Popup -------- */
.section-confirm-box {
  position: absolute;
  top: 40%;
  left: 30%;
  width: 40%;
  z-index: 10;
}
#confirmBox .form-check-input {
  width: 15px;
  height: 15px;
  border-color: black;
}
#confirmBox .card-body .card-title {
  padding-left: 0px;
}
#confirm_btn_container {
  text-align: right;
}

@media (max-width: 1200px) {
  .button-section button.btn {
    width: 95%;
  }
  .button-section .select-text,
  .button-section .select-seperator,
  .button-section .benefit-amount {
    margin: 0px;
    padding: 0px;
  }
}

@media (max-width: 800px) {
  .type-container-col {
    margin-top: 20px;
  }
  .shadow-sm.dd-type-container {
    margin-bottom: 20px;
  }
  .top-type-section .type-text {
    font-size: large;
  }
}

@media (max-width: 576px) {
  .row.button-section:last-child {
    padding-bottom: 10px;
  }

  .button-container {
    margin-bottom: 10px;
  }
  .btn-calc-select {
    margin-bottom: 0px !important;
  }
  .dd-type-container {
    padding: 10px 5px;
  }
  .rb-section input[type='radio'] {
    top: -5px;
  }
  .top-type-section .type-text {
    font-size: medium;
  }
  span.type-text {
    padding: 10px;
  }
  .section-confirm-box {
    left: 20%;
    width: 60%;
  }
}

@media (max-width: 400px) {
  .section-confirm-box {
    left: 15%;
    width: 70%;
  }
}

@media (max-width: 320px) {
  .btn-outline {
    padding: 5px;
  }
  .shadow-sm.dd-type-container {
    min-height: 130px;
  }
  .rb-section input[type='radio'] {
    top: 15px;
  }
  #rp_usgovernment {
    top: 0px;
  }
}
