/* 
   
  Cascading Style Sheets file used to represent 
  Protein-Ligand Binding Database (PLBD) 
  XML description documents   

  https://plbd.org
  
  Author: Darius Lingė
  Year: 2023

  Used 24-color palette for colorbliness from 
  http://mkweb.bcgsc.ca/colorblind/palettes.mhtml
 
*/

body {
  padding-top: 2px;
  font-size: 12px; 
  font-family: Arial;  
}

h1, h2, h3 {
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px; 
}

table, td, th {
  border-collapse: collapse;
  border-style: dotted;
  border-color: rgb(128, 128, 128);
  border-width: thin;
  vertical-align: top;
  font-size: 12px;
}

table {
  margin: 0px 0px 0px 0px;
}

p {
  padding: 0px 5px 0px 10px;  
  margin: 0px 0px 0px 0px; 
  line-height: 1.3;
}

a {
  cursor: pointer;
}

ul {
  margin: 0px 0px 0px 0px;   
  padding: 0px 0px 0px 8px;
}

li {
  margin: 0px 0px 0px 0px;   
  padding: 0px 0px 0px 6px;  
  list-style-type: none;  
  position: relative;
  margin-left: 8px;
}

label {
  padding-left: 0px;
  position: relative;
  cursor: pointer;
  display: block;
}

label::before { 
  content: "►";
  font-style: normal;  
  color: rgb(0, 0, 0);
}

code {
  background-color: #eee;
  font-family: courier, monospace;
  font-style: normal;
  font-weight: normal;  
  font-size: 1em;
}

.preform-text {
  white-space: pre-wrap;
}

/*  Hiding elements with .read-more class
  when input checked
  Not working in 
  Mozilla Firefox  111.0.1 2023-04-05 */
.read-more {
  font-style: italic;
  font-weight: bold;
  color: rgb(0, 115, 92); /* robin hood */     
}

input:checked + label > .read-more{
  display: none;
}

input:checked + label::before {
  content: "▽";
  font-style: normal;
  color: rgb(0, 0, 128);
}

input, ul.submenu {
  display: none;
}

input:checked~ul.submenu {
  display: block;
}

/* Class to mark expandable element list */
.element-input {
}

.fixed-menu {
  background-color: rgb(240, 240, 240);
  position: fixed;
  top: 0;
  z-index: 999;
  margin: 2px 2px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(200, 200, 200);
  border-radius:5px;
}

.menu-button {
  font-weight: bold;
  color: rgb(0, 72, 158); /* tory blue */
  background-color: rgb(220, 220, 220); 
  border-radius: 3px;
  padding: 2px 4px 2px 4px
}

.legend {
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(240, 240, 240);
}

.logo {
  padding: 5px 15px 5px 15px;
}

.row {
  text-align: left;
}

.block {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.center {
  padding: 0px 5px 0px 5px ;
  text-align: center;
  justify-content: center;  
}

.clear {
    clear: both;
}

.node {
  color: rgb(101, 1, 159); /* purple heart */ 
}

.element {
  font-style: italic;
  font-weight: bold;
  color: rgb(0, 95, 204); /* royal blue */  
}

.attribute {
  font-style: italic;
  font-weight: bold;
  color: rgb(164, 1, 34); /* alabama crimson */ 
}

.value {
  font-style: normal;
  font-weight: normal;
  font-family: Arial;
  color: rgb(0, 0, 0);
  padding: 0px 3px 0px 3px;
}

.info {
  font-style: italic;
  font-weight: bold;
  color: rgb(0, 115, 92); /* robin hood */   
}

.field {
  background-color: rgb(220, 255, 225);
}

.math {
  font-size: 1.3em;
}

.position {
  font-style: normal;
  font-weight: normal;  
  font-size: 0.9em;
  opacity: 0.6;
  color: rgb(0, 0, 0);
  padding: 0px 3px 0px 3px;
}

.obscure {
  opacity: 0.6;
}

.link-to-db {
  font-weight: bold;
  font-style: italic;
}

.mark-table {
  border-style: solid;
  border-width: 2px;
  border-color: rgb(190,190,120);
  border-radius: 5px;
}

.mark-field {
  border-style: solid;
  border-width: 2px;
  border-color: rgb(120,190,190);
  border-radius: 5px;
}

.attr-line {
  padding: 0 3px 0 3px;
  background-color: rgb(255, 243, 241);
}

.long-string {
  min-width: 200px;
}

.padd-left-list {
  padding-left: 10px;
}

.padd-right-list {
  padding-right: 10px;
}

.padd-top-list {
  padding-top: 5px;
}

.padd-bottom-list {
  padding-top: 5px;
}

.margin-top-first {
  margin-top: 15px;
}

.no-vert-spacing {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.plbd-title {
  max-width: 670px;
  text-align: justify;
  background-color: rgb(240, 240, 240);
  border-style: solid;
  border-width: 1px;
  border-color: rgb(200, 200, 200);
  border-radius:5px;
}

.plbd-title div {
  display: inline-block;
  vertical-align: middle;
}

.plbd-title:after {
  content: "";
  display: inline-block;
} 