@media (max-width: 1210px) {
  .hide-mobile {
    display: none !important;
  }
}
@media (max-width: 1000px) {
  .hide-medium {
    display: none !important;
  }

  .chat_message_you,
  .chat_message_bot {
    padding-left: 20px !important;
  }
  #listDiv {
    padding-left: 0 !important;
  }
}
@media (min-width: 1000px) {
  .show_wide_settings {
    width: 43vw !important;
  }
}
@media (max-width: 800px) {
  .hide-phone {
    display: none !important;
  }
}
@media (max-width: 650px) {
  .hide-small {
    display: none !important;
  }
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-VariableFont_wght.ttf");
}
@font-face {
  font-family: "Montserrat-medium";
  src: url("/fonts/Montserrat-Medium.ttf");
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-VariableFont_wght.ttf");
}

.ajs-dialog {
  border-radius: 8px;
  padding: 32px !important;
}
.ajs-header {
  font-weight: 700;
  border-radius: 8px;
}
.ajs-button {
  padding: 8px 24px;
  margin: 32px;
  border-radius: 8px;
}
.ajs-cancel {
  background: #fff;
  border: 1px solid #0b195f;
  /* box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.12);*/
  color: #0b195f;
  font-size: 14pt;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
}
.ajs-cancel:hover {
  outline: 2px solid #0b195f;
}

.ajs-ok {
  background-color: #0b195f;
  color: #fcfcfc;
  font-size: 14pt;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}
.ajs-ok:hover {
  outline: 2px solid #0b195f;
  box-shadow: 0px 0px 20px 0px #58d7ff;
}
.ajs-commands {
  display: none;
}
.ajs-footer {
  border-radius: 8px;
  padding-right: 32px !important;
}

body {
  font-family: "Montserrat", sans-serif !important;
  min-width: 520px !important;
}
input {
  font-family: "Montserrat", sans-serif !important;
  color: #000000;
  padding-left: 10px;
}
#user_text {
  resize: none !important;
  word-break: break-all;
}
a {
  color: #0b195f !important;
}

.error {
  color: red;
}

/***** START: header ******/
.require_login {
  display: none;
}
#header {
  position: fixed;
  width: 100%;
  /*position: sticky;*/
  top: 0;
  z-index: 2;
}
#header_bar {
  display: flex;
  padding: 16px 24px;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  justify-content: space-between;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 1);
}
#header_bar a {
  text-decoration: none;
  font-size: 10pt;
  font-weight: 600;
}
#header_left {
  display: inline-flex;
  justify-content: left;
}
#header_right {
  display: inline-flex;
  justify-content: flex-end;
  flex-direction: row;
  gap: 20px;
  /*position: relative;
    right: 10px;*/
}
#header_settings {
  display: inline-flex;
}
#header_logout {
  display: inline-flex;
}
/***** END: header ******/

.page_body {
  top: 70px;
  position: relative;
  padding-bottom: 70px;
}
.login_page_body {
  top: 100px;
  position: relative;
  padding-bottom: 100px;
}

.panel_title {
  color: #000;
  /* Title-24/Bold */
  font-family: "EB Garamond";
  font-size: 30pt;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 36px */
}

#listDiv {
  vertical-align: top;
  /*overflow-y: scroll;*/
  overflow-x: hidden;
  padding-left: 5%;
  padding-right: 2%;
  padding-bottom: 3rem;
}

/* START References */
.reference-list {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.reference {
  display: flex;
  padding: 15px 15px 0 15px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  margin-bottom: 15px;
  max-width: 800px;
}
.video_thumb {
  display: inline;
  padding-right: 20px;
}
.video_thumbnail {
  height: 24px;
}
.externImage {
  padding-left: 10px;
}
.reference_line {
  /*width: 665px;*/
  height: 1px;
  background-color: #f3f3f7;
  margin-top: 10px;
}
.reference_option {
  display: flex;
  flex-direction: row;
  align-self: stretch;
  justify-content: space-between;
  padding-bottom: 10px;
  cursor: pointer;
}
.referenceTitle {
  /*padding-top: 30px;*/
  display: flex;
  justify-content: flex-start;
  align-self: flex-start;

  color: #000;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 30px */
}
.reference-link {
  width: 24px;
  height: 24px;
  /*width: 40%;
    right: 5px;*/
  display: flex;
  justify-content: right;
  /*self-align: stretch;*/
}
.reference-url-video {
  padding-left: 50px;
}
.ref_offset_video,
.ref_offset {
  font-family: Roboto, sans-serif;
  font-style: normal;
  /*font-weight: 700;*/
  font-size: 9pt;
  line-height: 10px;

  margin-left: 20px;
  padding: 2px 8px;
  align-items: flex-start;
  gap: 8px;
  border-radius: 8px;
  background-color: #e2dfd6;

  flex: none;
  order: 0;
  flex-grow: 0;
  margin-left: 45px;
}
.ref_offset_text {
  color: #0f0f0f;
  font-family: Montserrat;
  font-size: 10pt;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}
.ref_description {
  margin-left: 45px;
}
.ref_content {
  margin-left: 45px;
  margin-top: 10px;
}
.response_group_fieldset {
  background-color: #faf9f7;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
  transition: max-height 0.5s ease;
}

.response_group_fieldset.collapsed {
  max-height: 320px;
}

.response_group_fieldset.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(rgba(250, 249, 247, 0), rgba(250, 249, 247, 1));
}

.expand-toggle {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
}

.expand-toggle img {
  transition: transform 0.5s ease;
}

.response_group_fieldset:not(.collapsed) .expand-toggle img {
  transform: rotate(180deg);
}

.response_group_legend {
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
}

.referense_spacing {
  height: 24px;
}

.cmd_button {
  border: 1px solid #fff;
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  background-color: transparent;
}
.cmd_button:hover {
  outline: 1px solid #0b195f;
  border-radius: 8px;
  background-color: transparent;
  box-shadow: none;
}
