@font-face {
  font-family: "UTM";
  src: url(./assets/utm-flavour_0.ttf) format("truetype");
}

@font-face {
  font-family: "Gotham_Book";
  src: url(./assets/Gotham-Book.otf) format("opentype");
}

@font-face {
  font-family: "Gotham_Book_Italic";
  src: url(./assets/Gotham-BookItalic.otf) format("opentype");
}

@font-face {
  font-family: "Open_Sans_Regular";
  src: url(./assets/OpenSans-Regular.ttf) format("truetype");
}

body {
  margin: 0;
}

body.using-mouse :focus {
  outline: none !important
}

body :focus {
  outline: 2px solid #0F56C9 !important
}

.Gotham_Book_Italic {
  font-family: "Gotham_Book_Italic";
}

.text_blue {
  color: #00698b;
}

.text_green {
  color: #4a752a;
}

.text_red {
  color: #b32f2b;
  padding-top: 10px;
  font-size: 13px;
}

.text-orange {
  color: #F20A00;
}

.text-italic {
  font-style: italic;
}

#chat_frame {
  background-color: white;
  width: 100%;
  height: 450px !important;
}

#chat_window {
  -webkit-overflow-scrolling: touch;
  border-radius: 10px 0px 10 0px;
  overflow: hidden;
}

#chat_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.bot-header-image {
  width: 30px;
  height: 30px;
  margin-left: 12px;
  margin-right: -11px;
}

.header-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  gap: 5px;
  letter-spacing: 0.2px;
}

.sub-header {
  font-size: 11px;
  letter-spacing: 0.4px;
}

.icons {
  display: flex;
  margin-left: 80px;
  padding: 10px;
  gap: 20px;
}

#arrow_down {
  font-weight: bold;
  font-size: 20px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  outline: none; /* Ensure no default outline */
}

#arrow_down:focus {
  outline: 2px solid #0F56C9; /* Add focus outline for accessibility */
}

#arrow_down:hover {
  opacity: 0.8;
}

#close_icon {
  font-size: 20px;
}

.toggle-icon {
  background-image: url("./assets/toggle-icon.svg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 25px;
  width: 25px;
  margin: auto 0px auto 0px;
}

.toggle-icon-open {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipV;
  -ms-filter: "FlipV";
}

#main_container {
  max-height: 100%;
  position: fixed;
  right: 20px;
  width: 310px;
  color: white;
  font-size: 1.3rem;
  line-height: 1;
  transition: all 0.3s ease-out;
  cursor: pointer;
  margin-right: 1rem;
  z-index: 99999;
  outline: none;
  bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.headerDown {
  display: block !important;
  width: 100%;
  height: 100%;
  bottom: 0;
  position: relative;
}

.logo_img_down {
  width: 40%;
  float: right;
  margin-bottom: 8px;
}

.headerUp {
  height: 44px;
  cursor: pointer;
  display: flex;
  padding: 5px;
  background-color: #253667;
  text-align: left;
  align-items: center;
  font-size: 16px;
  line-height: 12px;
  font-family: "Open_Sans_Regular";
  font-weight: 700;
  width: 300px;
  margin: auto 0px auto 0px;
  gap: 30px;
  outline: none;
  /* Remove default outline */
}

/* Responsive chat for 200% and small screens */
@media (max-width:500px) and (max-height: 1000px) {
  #chat_frame {
    height: 530px !important;
  }
}

@media only screen and (max-width: 960px) {
  #main_container.open {
    width: 100%;
    height: 100%;
    margin: 0;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 0px;
  }

  #main_container #chat_wrapper,
  #main_container #chat_wrapper #chat_window,
  #main_container #chat_wrapper #chat_window #chat_frame {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 430px) {
  #main_container {
    margin-right: -20px;
  }
}

.container {
  background-color: #2f4890;
  padding: 2em 1em;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100vh;
}

.missouri-logo {
  width: 18em;
  padding-left: 2em;
  padding-bottom: 1em;
}

.inner-container {
  padding: 0.5em 2em;
  position: relative;
  background: linear-gradient(to bottom, rgba(167, 223, 255), rgba(255, 255, 255));
  margin-bottom: 0.5em;
  flex-grow: 1;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.heading {
  color: #2f4890;
  font-size: 80px;
  font-family: "UTM";
  margin: 0;
}

.description {
  color: #2f4890;
  font-size: 13px;
  padding-right: 37em;
  font-weight: bold;
  font-family: 'Gotham_Book';
  line-height: 1.5;
}

.inner-container-background {
  opacity: 0.1;
  position: absolute;
  top: 2em;
  width: 28em;
  left: 47em;
}

.main-section {
  display: flex;
  justify-content: flex-start;
  padding-right: 20em;
  padding-top: 2em;
}

@media (min-width: 500px) and (max-width: 1200px) {
  .main-section {
    padding-right: 0;
  }

  .description {
    padding-right: 6em;
  }

  .inner-container-background {
    left: 20em;
  }
}

@media (max-width: 500px) {
  .description {
    padding-right: 5em;
  }

  .main-section {
    padding-right: 1em;
  }

  .inner-container {
    padding: 0.5em 1em;
  }
}

.media-section {
  border-right: #2f4890 solid;
  padding-right: 1.5em;
}

article {
  display: flex !important;
  align-items: flex-start;
  padding-bottom: 1.5em;
}

.media-image {
  width: 2.25em;
  height: 2.25em;
  margin-right: 1em
}

.media-description,
.right-section-heading {
  color: #2f4890;
  font-weight: bold;
  font-family: 'Gotham_Book';
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.first-description {
  padding-top: 0.75em;
}

.right-section {
  padding-left: 1.5em;
  color: #2f4890 !important;
  font-weight: bold;
  font-family: 'Gotham_Book';
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

.right-section-list {
  color: #2f4890;
  font-weight: bold;
  list-style-type: disc !important;
  font-family: 'Gotham_Book';
  font-size: 13px;
}

.privacy-link {
  color: #fff;
  text-decoration: none;
  font-family: 'Gotham_Book';
  font-size: 14px;
}