﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.btn-outline-hsl-hover:hover {
    color: #7c38e1;
}

.btn-outline-hsl {
    color: #7c38e1;
    border-color: #7c38e1;
}

.btn-outline-hsl:hover {
    color: #fff;
    background-color: #7c38e1;
    border-color: #7c38e1;
}

.btn-outline-hsl:focus, .btn-outline-hsl.focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 56, 225, 0.5);
}

.btn-outline-hsl.disabled, .btn-outline-hsl:disabled {
    color: #7c38e1;
    background-color: transparent;
}

.btn-outline-hsl:not(:disabled):not(.disabled):active, .btn-outline-hsl:not(:disabled):not(.disabled).active,
.show > .btn-outline-hsl.dropdown-toggle {
    color: #fff;
    background-color: #7c38e1;
    border-color: #7c38e1;
}

.btn-outline-hsl:not(:disabled):not(.disabled):active:focus, .btn-outline-hsl:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-hsl.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 56, 225, 0.5);
}

.hslHeader1 {
    /*    background: #2B6600;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    color: #FFFFFF;
    font-family: "微软雅黑", "宋体", "黑体", Arial;
    font-size: 27px;
    font-weight: bold;
    margin: 12px 0 !important;
    padding: 5px 0 5px 10px;
    text-shadow: 2px 2px 3px #222222;
    text-align:center;*/
    background: #7c38e1;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    color: #FFFFFF;
    font-family: "微软雅黑", "宋体", "黑体",Arial;
    font-size: 27px;
    font-weight: bold;
    margin: 18px 0 !important;
    padding: 8px 10px 10px 10px;
    text-shadow: 2px 2px 3px #222222;
}
.hslHeader2 {
    background: #2B6695;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
    color: #FFFFFF;
    font-family: "微软雅黑", "宋体", "黑体", Arial;
    font-size: 18px;
    font-weight: bold;
    line-height: 25px;
    margin: 18px 0 !important;
    padding: 8px 0 8px 5px;
    text-shadow: 2px 2px 3px #222222;
}

#catalogs {
    position: sticky;
    box-sizing: border-box;
}
.catalog:not(.catalog-h1) {
    padding: 0.125rem 0;
    font-size: 0.95rem;
}

.catalog > a {
    text-decoration: none;
    color: initial;
}

.catalog-active > a {
    border-left: 0.25rem solid deepskyblue;
    padding-left: 0.25rem;
    color: deepskyblue;
}

.catalog > a:hover {
    border-left: 0.25rem solid deepskyblue;
    padding-left: 0.25rem;
}

.page-body-module-title {
    margin-bottom: 0.5rem;
    border-bottom: 0.0625rem solid lightgray;
    min-height: 1.625rem;
    font-weight: bold;
}
.page-body-module {
    display: flex;
    flex-direction: column;
    margin: 0.25rem;
    padding: 0.5rem;
    box-shadow: 0 0 0.25rem lightgray;
}
.catalog-h2 {
    margin-left: 1em;
}

.catalog-h3 {
    margin-left: 0em;
}

.catalog-h4 {
    margin-left: 0em;
}

.catalog-h5 {
    margin-left: 1em;
}

.catalog-h6 {
    margin-left: 3em;
}



.ellipsis-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}