/* CSS Styles */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lunasima:wght@400;700&display=swap');

* {
  font-family: 'Manrope', sans-serif !important;
}

/* TOP NAV BAR */

.top-bar,
.top-bar-link,
.top-bar-title {
  font-family: 'Roboto Mono', sans-serif;
  font-size: 15px;
  line-height: 120%;
  color: #171717;
  background-color: transparent;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid #171717;
  padding: 15px 32px;
  margin-bottom: 2rem;
}

.top-bar-link,
.top-bar-title {
  letter-spacing: .8px;
  text-transform: uppercase;
}

.top-bar-link:hover {
  cursor: pointer;
}

.top-bar-title {
  font-weight: 500;
  font-size: 1rem;
  cursor: default !important;
  text-decoration: none !important;
}

.top-bar-button {
  letter-spacing: .7px;
  width: 150px;
  border-radius: 0px;
  border-color: #171717;
  color: #171717;
}

.top-bar-button:hover {
  color: #fff;
  background-color: #171717;
  border-color: #fff;
}

/* MAIN BODY */

.main-body {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* FILE EXPLORER */

.no-right-padding-margin {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

.tree {
  letter-spacing: 0.55px;
  margin-top: 6px;
  padding: 0px;
}

.tree ul {
  margin: 0px;
  padding: 0px;
}

.tree li {
  list-style-type: none;
  padding-left: 15px;
  line-height: 38px;
  margin-left: 5px;
  padding-right: 5px;
}

.tree .active {
  color: rgb(85, 168, 69) !important;
}

.file:hover {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 0.4px;
  text-underline-offset: 6px;
}

/* SIDEBAR ICONS */

.icon {
  margin-right: 10px;
  padding-bottom: 2.2px;
}

.icon-search {
  font-size: 13px;
  text-decoration: none;
  color: rgb(58, 160, 213);
}

.icon-result {
  margin-left: 3px;
  margin-right: 9px;
  padding-bottom: 2.6px;
}

.icon-tag {
  margin-right: 8px;
  padding-bottom: 2.5px;
}

.icon-explore {
  margin-bottom: 10px;
  margin-right: 10px;
}

.icon-explore:hover {
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* MODEL STYLES */

.modal-content {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
  border-bottom: none;
}

#searchResults {
  padding-left: 5px;
  padding-right: 5px;
}

.result-blob {
  padding: 10px;
  border: 1px solid rgb(218, 218, 218);
  border-radius: 10px;
}

.result-blob:hover {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.result-blob img[alt="Badge"] {
  margin-top: 6px;
}

/* MODAL TABLE */

.modal-header table {
  width: 100%;
}

.modal-header h3 {
  margin-left: 10px;
}

.modal-header p {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 400;
}

/* DOCUMENT VIEWER */

#content {
  font-family: Lunasima, sans-serif !important;
  letter-spacing: 0.7px;
  margin-bottom: 40px;
}

#content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

#content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 20px;
}

#content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 10px;
}

#content h4 {
  font-size: 1.4rem;
  margin-left: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

#content table thead {
  background-color: rgb(235, 242, 245);
}

#content table th {
  padding: 10px;
  text-align: left;
  font-weight: 600;
}

#content table td {
  padding: 10px;
  border-bottom: 1px solid rgb(218, 218, 218);
}

#content main {
  display: inline;
}

#content main img {
  max-width: 100%;
  height: auto;
  margin: 4px;
}

/* General code area */
#content pre {
  font-family: 'Manrope', sans-serif !important;
  font-size: 1rem;
  letter-spacing: 1px;
  background-color: rgb(218, 236, 244);
  border-radius: 10px;
  padding: 20px;
  color: black;
  font-weight: 600;
}

/* Code section label */
#content pre span {
  color: rgb(25, 0, 255);
  font-size: 16px;
  font-weight: 700;
}

/* Optional command syntax */
#content pre i {
  color: grey;
}

#content pre hr {
  padding-bottom: none;
  margin-bottom: none;
}

#content input[type="checkbox"] {
  margin-right: 10px;
  margin-left: 10px;
}
