/* EasyChair style sheet for help-pages
* (c) 2024 EasyChair Ltd
*/

.doc a,
.doc a:visited,
.doc a:focus,
.doc a:active {
  text-decoration: none;
  color: #043f76;
}

.doc_article a:visited:hover {
  color: #f00;
}

.doc {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doc_header {
  display: flex;
  align-items: center;
  flex: 0 0 60px;
}

.doc_header_logo {
  flex: 1;
  margin: 0 20px;
}

.leftlogo {
  width: 100pt;
  height: auto;
}

.doc_header_links {
  display: flex;
  gap: 5pt;
  margin: 0 10px;
}

.doc_header_links>* {
  margin: 0 2px;
}

.doc_header_links img.home {
  filter: invert(9%) sepia(22%) saturate(7498%) hue-rotate(199deg) brightness(96%) contrast(99%);
}

.doc_header_links a.help_link {
  color: #777
}

.doc_search {
  flex: 0 0 37px;
  padding: 0px 10px;
  color: #333;
  font-family: Verdana, sans-serif;
  background: #ffaa33;
  text-align: center;
}

.search_input {
  position: relative;
  top: 5px;
  font-size: 14px;
  color: #fff;
  background: #ffb547 url('/images/search.png') left 10px top 5px no-repeat;
  background-size: 15px Auto;
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 15px;
  padding-left: 36px;
  width: 300px;
  height: 26px;
  transition: width 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.search_input:focus {
  color: #666;
  outline: none !important;
  border: none;
  box-shadow: 0 0 6px #ffad33;
  background: #fff url('/images/search2.png') left 10px top 5px no-repeat;
  background-size: 15px Auto;
  width: 500px;
}

.search_input::placeholder {
  color: #fff;
}

.doc_search .contact_button {
  margin-top: 8pt;
  float: left;
}

.doc_search .contact_button a:link {
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-family: Corbel, Verdana, Helvetica, Arial, sans-serif;
  padding: 5px 20px 4px;
  text-align: center;
  text-decoration: none;
  background: #ffb547;
  border: solid 1px white;
  border-radius: 4px;
}

.doc_search .contact_button a:visited {
  color: #fff;
}

.doc_search .contact_button a:hover {
  color: #fff;
  background: #9E2B25;
}

.doc_content {
  display: flex;
  flex: 1;
}

@media (min-width: 1600px) {
  .doc_content::after {
    content: "";
    flex: 0 0 300px;
  }
}

.doc_navbar {
  display: flex;
  justify-content: center;
}

.doc_navbar_buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 10px 0;
  padding: 0 10px;
  border-top: 1px solid #e1eef1;
  border-bottom: 1px solid #e1eef1;
  font-size: 12px;
}

.doc_navbar_buttons>button {
  background-color: inherit;
  border: none;
  margin: 5px 2px;
  padding: 5px 8px;
  cursor: pointer;
  color: #6e6e6e;
}

.doc_navbar_buttons>button:hover {
  color: black;
}

#doc_navbar_back,
#doc_navbar_top,
#doc_navbar_next {
  display: flex;
  align-items: center;
}

#doc_navbar_home {
  height: 100%;
  width: 60px;
  background-image: url('/images/book_grey.svg');
  background-repeat: no-repeat;
  background-size: 21px 16px;
  background-position: center;
}

#doc_navbar_home:hover,
#doc_navbar_back:hover::before,
#doc_navbar_top:hover::before,
#doc_navbar_next:hover::after {
  filter: brightness(0) saturate(100%);
}

#doc_navbar_back::before,
#doc_navbar_top::before,
#doc_navbar_next::after {
  content: "";
  height: 20px;
  width: 20px;
  margin: 0 3px;
  background-image: url('/images/arrow_grey.svg');
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
}

#doc_navbar_back::before {
  transform: rotate(180deg);
}

#doc_navbar_top::before {
  transform: rotate(-90deg);
}

#toc {
  flex: 0 0 300px;
  box-sizing: border-box;
  padding: 10px 8px 10px 15px;
  border-right: 1px #b0b0b0 solid;
}

.toc_title {
  display: flex;
  align-items: center;
  position: relative;
}

.toc_title a {
  flex: 1;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 8px;
  border-radius: 5px;
}

.toc_title.selected a {
  background-color: #edf4f6;
}

.toc_title a:hover {
  background-color: #dae8ec;
}

.toc .toc_title a {
  padding-left: 36px;
}

.toc .toc .toc_title a {
  padding-left: 52px;
}

.toc .toc .toc .toc_title a {
  padding-left: 68px;
}

.toc_expander {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 32px;
  border: none;
  background: inherit;
}

.toc .toc .toc_expander {
  left: 16px;
}

.toc .toc .toc .toc_expander {
  left: 32px;
}

.toc_expander:hover {
  cursor: pointer;
  background-color: #dae8ec;
  border-radius: 5px;
}

.toc.extendable>.toc {
  display: none;
}

.toc.extendable.opened>.toc {
  display: block;
}

.toc.extendable.opened>.toc_title>.toc_expander img {
  transform: rotate(90deg);
}

.doc_article {
  flex: 1 1;
  padding: 20px 10px 0 32px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height:1.5;
}

@media (min-width: 1600px) {
  .doc_article {
    align-items: center;
  }
}

.doc_article .subcontent {
  margin: 20px 0 0 20px;
  max-width: 1000px;
}

#doc_article,
.doc_navbar {
  max-width: 900px;
  width: 100%;
}

.doc_article img {
  max-width: 100%;
}

.doc_article .subcontent h1 {
  font-size: 24px;
}

.doc_article a.script:visited {
  color: #043f76;
}

.doc_article h2 {
  margin: 20pt 0 12pt;
  padding-left: 1pt;
  font-weight: normal;
  font-size: 20px;
  color: #0D1B2A;
}

.doc_article .subcontent h3 {
  margin: 14pt 0 8pt;
  padding-left: 1pt;
  font-weight: normal;
  font-style: italic;
  font-size: 17px;
  color: #0D1B2A;
}

.doc_article .summary {
  background-color: #edf4f6;
  border-radius: 5px;
  width: fit-content;
  border: none;
  margin-bottom: 12px;
}

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

.doc_article .strikethrough {
  text-decoration: line-through;
}

.doc_article code {
  display: block;
  background: rgb(247, 246, 243);
  border-radius: 4px;
  tab-size: 2;
  padding: 34px 16px 32px 32px;
  min-height: 1em;
  color: rgb(55, 53, 47);
  white-space: pre-wrap;
  word-break: break-all;
}

p.doc_article {
  line-height: 1.5;
}

.doc_article .code {
  font-family: monospace;
  line-height: 1.7;
  background: rgba(135, 131, 120, .15);
  color: #EB5757;
  border-radius: 4px;
  padding: 0.2em 0.4em;
}

.doc_article ol li {
  margin: 10px 0;
}

.doc_article .subcontent hr {
  margin-top: 15pt;
  color: #fff;
}

.doc_article .divider {
  margin: 10px -10px 10px -15px;
  height: 1px;
  background-color: #dedede;
}

.doc_article .definition {
  color: #9D185F;
  font-style: italic;
}

.doc_article .definition:not(.nohover) {
  cursor: pointer;
}

.doc_article .definition:not(.nohover):hover {
  cursor: pointer;
  color: #9D185F;
  text-decoration: underline;
}

.doc_footer {
  flex: 0 0 40pt;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10pt;
  font-family: Verdana, sans-serif;
  color: #666;
  background: #f6f4f2;
  background-image: url(/images/chair.gif);
  background-size: 28px auto;
  background-position: calc(50% - 145px) 50%;
  background-repeat: no-repeat;
  white-space: nowrap;
}

.doc_home_block {
  padding: 32px 0 40px;
}

.doc_article .doc_home_block h3 {
  margin: 8px 0 24px;
  padding: 0;
  font-weight: bold;
  font-size: 18px;
  font-style: normal;
  color: #0D1B2A;
}

.doc_home_cards {
  display: flex;
  flex-wrap: wrap;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}

.doc_home_card {
  display: block;
  flex: 0 1 430px;
  min-height: 70px;
  background-color: #edf4f6;
  padding: 20px;
  box-sizing: border-box;
  text-decoration: none;
}

.doc_home_card:hover {
  background-color: #dae8ec;
}

.doc_home_card_title {
  font-weight: bold;
  font-size: 17px;
  color: #0D1B2A;
  margin-bottom: 5px;
}

.doc_home_card_summary {
  font-size: 13px;
  font-family: Verdana, sans-serif;
  color: #666;
}

.doc_popup_wrap {
  visibility: hidden;
  position: fixed;
  background-color: #dcdcdc8c;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.doc_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;

  display: inline-block;
  overflow-y: auto;
  box-sizing: border-box;
  width: 600px;
  box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, .2);
  border-radius: 10px;
  background: #ffffff;
  padding: 16px 32px;
  margin: 14px 0;
}

@media (max-width: 700px) {
  .doc_popup {
    width: calc(100% - 40px);
  }
}

.doc_popup .cross {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 30px;
  border-radius: 5px;
}

.doc_popup .cross:hover {
  background-color: #ececec;
}

@media (max-width: 400px) {
  .doc_popup .cross {
    top: 10px;
    right: 10px;
  }
}

.doc_update {
  position: absolute;
  top: 150px;
  right: 20px;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #919191;
  background-color: #ebf4f6;
}

div.caption {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.caption span {
  color: #6e6e6e;
  font-size: 12px;
  padding-left: 1rem;
}

.doc_article blockquote {
  margin: 16px 0;
  padding: 10px 16px;
  border-left: 3px solid #dae8ec;
  background-color: #f8fbfc;
  font-style: italic;
  color: #444;
}

.doc_article blockquote p:last-child {
  margin-bottom: 0;
}

.doc_article .callout {
  margin: 16px 0;
  padding: 10px 14px;
  border-radius: 6px;
  background-color: #edf4f6;
  border: 1px solid #e1eef1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doc_article .callout p:last-child {
  margin-bottom: 0;
}

.doc_article table.doc_table {
  display: inline-table;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 13px;
  width: auto;
  max-width: 100%;
}

.doc_article .doc_table_th,
.doc_article .doc_table_td {
  padding: 6px 8px;
  border: 1px solid #e1eef1;
  text-align: left;
  vertical-align: top;
}

.doc_article .doc_table_head .doc_table_th {
  background: #f5f8fa;
  font-weight: 600;
  color: #0D1B2A;
}

.doc_article .doc_table_body tr:nth-child(even) {
  background: #fafafa;
}

.doc_article .doc_table_body tr:hover {
  background: #edf4f6;
}
