/* ----------------------------------------------------
  -- THEME COLOR MANAGEMENT --
  Modify the variables below to change
  the entire visual theme of the portal.
  ----------------------------------------------------
*/
:root {
  /* --- Background Colors --- */
  /* Background color of the main box */
  --bg-body: #F5F5F5;
  /* Shadow color of the main box*/
  --shadow-color-large-primary: #289084;
  --shadow-color-large-secondary: #289084;
  /* Background color of the "Other access types" section on the secure portal */
  --bg-button-container-2: #e2e2e2;
  /* Background primary and secondary colors of the dynamic background */
  --gradient-main-start: #75B626;
  --gradient-main-end: #007268;

  /* --- Text & Typography Colors --- */
  /* --- Font --- */
  --main-font: 'Open Sans', sans-serif;
  /* Heading text color (Company Name) - default: #000000 */
  --text-headings: #096077;
  /* Color of the line under the Company Name - default: rgba(0, 0, 0, 0.1) */
  --border-hr: rgba(0, 0, 0, 0.1);
  
  /* Main body text - default: #778899*/
  --text-main: #1B2838;
  /* Secondary body text - recommended to keep same as main body */
  --text-muted: #1B2838;

  /* Links and accent colors - recommended to keep same as dynamic background colors */
  --text-link: #007268;
  --text-link-hover: #289084;

  /* --- SUPPORT SECTION --- */
  /* Background color of the support url row */
  --bg-card: #007268;
  /* Text color of the support URL button*/
  --support-url-color: #F4F6F9;
  /* Colors of the button */
  --support-btn-color: #007268;
  --support-btn-hover: #289084;

  /* --- BUTTONS --- */
  /* Text color on buttons */
  --text-button-primary: #F4F6F9;
  /* Buttons background and border colors */
  --component-btn-primary-bg: #289084;
  --component-btn-primary-border: #007268;
  /* Buttons on hover background and border colors */
  --component-btn-primary-bg-hover: #75B626;
  --component-btn-primary-border-hover: #007268;
  /* Shadow color of the buttons */
  --shadow-color-primary: rgba(0, 0, 0, 0.5);
  /* Shadow color of the border of the buttons */
  --shadow-color-secondary: rgba(0, 0, 0, 0.5);

  
  /* --- PROGRESS BAR --- */
  /* Progress bar background and bar colors */
  --component-progress-bar: #75B626;
  --component-progress-container: #007268;

  /* --- INFOBOX --- */
  /* Infobox background color and text colors*/
  --bg-info-box: #289084;
  --border-info-box: #007268;
  --text-info-box: #1B2838;
    
  /* --- Unused values --- */
  --bg-card-header: #75B626;
  --text-light: #1B2838;
}

/* ----------------------------------------------------
  -- END OF COLOR MANAGEMENT --
  The rest of the file uses the variables above.
  ----------------------------------------------------
*/

/* Import main font (Open Sans) from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700&display=swap');

/* === Base & Reboot === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-main);
  text-align: left;
  background-color: var(--bg-body);
}

h2, h3, h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-headings);
}
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h5, .h5 { font-size: 1.25rem; }


p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--text-link);
  text-decoration: none;
  background-color: transparent;
}
a:hover {
  color: var(--text-link-hover);
  text-decoration: none;
}

img {
  vertical-align: middle;
  border-style: none;
}

hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 0;
  border-top: 0.0625rem solid var(--border-hr);
}

form {
    display: block;
    margin-top: 0em;
}


/* === Dynamic Background === */
.bg {
  animation: slide 10s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, var(--gradient-main-start) 50%, var(--gradient-main-end) 50%);
  bottom: 0;
  left: -50%;
  opacity: .5;
  position: fixed;
  right: -50%;
  top: 0;
  z-index: -1;
}
.bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 10s;
}
.bg3 {
  animation-duration: 10s;
}
@keyframes slide {
  0% { transform: translateX(-25%); }
  100% { transform: translateX(25%); }
}

/* === Grid System === */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1040px; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.justify-content-center {
  justify-content: center !important;
}

.col-lg, .col-6 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 992px) {
  .col-lg {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
}
.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}


/* === Components === */

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--bg-body);
  background-clip: border-box;
  border: 0.0625rem solid rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
}
.card-header {
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
  background-color: var(--bg-card-header);
  border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.05);
}
.card-header:first-child {
  border-radius: calc(0.25rem - 0.0625rem) calc(0.25rem - 0.0625rem) 0 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--text-button-primary);
  background-color: var(--component-btn-primary-bg);
  border-color: var(--component-btn-primary-border);
  box-shadow: 0 4px 6px var(--shadow-color-primary), 0 1px 3px var(--shadow-color-secondary);
}
.btn-primary:hover {
  color: var(--text-button-primary);
  background-color: var(--component-btn-primary-bg-hover);
  border-color: var(--component-btn-primary-border-hover);
}
.btn-primary:disabled {
  color: var(--text-button-primary);
  background-color: var(--text-link);
  border-color: var(--text-link);
}

/* Progress bar */
.progress-container {
  width: 100%;
  height: 20px;
  background-color: var(--component-progress-container);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar {
  width: 0%;
  height: 20px;
  background-color: var(--component-progress-bar);
  transition: width 1s linear;
}

/* Custom button/info containers */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.button-container-2 {
  display: none; /* Initially hidden */
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  opacity: 0.85;
  background-color: var(--bg-button-container-2);
  padding: 20px;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
}
.button-container-2.show {
  display: flex;
}
.custom-info-box {
  background-color: var(--bg-info-box);
  border: 1px solid var(--border-info-box);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--text-info-box);
  font-size: 1rem;
}

.support-url-container {
  
  align-content: center;
  text-align: center;
  background-color: var(--bg-card);
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  padding: 1rem
}
.support-url-container a {
  color: var(--support-url-color)
}
.support-url-container a:hover {
  color: var(--support-url-hover); 
}
.support-url-button {
  background-color: var(--support-btn-color);
  border-color: var(--component-btn-primary-border-hover);
  display: inline-block;
  font-weight: 300;
  color: var(--text-main);
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid black;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.support-url-button:hover {
  color: var(--text-button-primary);
  background-color: var(--support-btn-hover);
  border-color: var(--component-btn-primary-border-hover);
}
/* === Utility Classes === */

/* Sizing and Spacing */
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pt-lg-7 { padding-top: 7rem !important; }

/* Backgrounds and Shadows */
.bg-secondary { background-color: var(--bg-card) !important; }
.bg-white { background-color: var(--bg-body) !important; }
.shadow { box-shadow: 0 15px 35px var(--shadow-color-large-primary), 0 5px 15px var(--shadow-color-large-secondary) !important; }
.border-0 { border: 0 !important; }

/* Text */
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-light { color: var(--text-light) !important; }

/* Sections */
.section { position: relative; }
.section-shaped { position: relative; overflow: hidden; }
.section-lg { padding-top: 6rem; padding-bottom: 6rem; }