html, body
{
  min-height:99%;
  font-size:106%;
}
a 
{
    text-decoration-style: dotted;
}
td {
  height:20pt;
}
table.main {
  height:82%; 
  width:100%;
}

tr.content {
  vertical-align:top;
}
tr.yaBottom td{
  padding-top:20px;
}

body, .ui-widget {
  font-family:Tahoma, Verdana, Arial, system-ui; 
}
h1:has(img) {
  margin:0;
}
h2 {
    font-family: cursive, Arial, sans-serif, system-ui;
}

p {
    margin: 10px 10px 10px 10px;
    text-align: left;
}

td, th {  
  text-align: left;
}

a.bottom {
  float:left;
  padding:2px;
  margin:4px 6px 3px 12px;
  white-space: nowrap;
}

.about p:nth-child(even) {
    margin: 20px 14px 10px 10px;
    text-align: justify;
}
.about p:nth-child(odd) {
    margin: 20px 10px 10px 14px;
    text-align: justify;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  /*border-bottom: 1px dotted brown; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
/*  width: 120px;*/
  background-color: #87d;
  color: #fff;
  text-align: center;
  padding: 4px;
  border-radius: 6px;

  font-size:0.84em;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 1.8s;  
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 0.96;
}

#accordion {
  margin:25px auto 25px auto;
  max-width:650px;
}

#accordion p {
  margin-top:15px;
}

#accordion>div {
  overflow-y:hidden;
}

.organic_section {
    width:100%;
    height:100%;
    background-image: url(/images/lotus3.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}

.ui-accordion .ui-accordion-content {
    padding-bottom: 0px;
}

.bigScreen {
    visibility:hidden;
    display:none;	
}

@media screen and (min-width: 1100px) {
    .bigScreen {
        visibility:unset;
	display:unset;	
    }    
}

.yaBottom {
  vertical-align:bottom;
}

.yandex_rtb {
  bottom:0px;
}

@media screen and (min-resolution: 180dpi) {

  #accordion p {
    margin-top:25px;
  }

  body, .ui-widget{
        font-size:130%;
  }
}

h1 a, a h1 {
  font-size:2.25em;
  text-decoration:none;
  margin-left:15px;
}

h1 img {
    position: relative;
    bottom: -6px;
}

h1 a span:nth-child(even) {
    
    font-family:cursive;
    color: #dd0;
    font-size: 1.2em;
    position: relative;
    bottom: -4px;
}

h1 a span:last-child {
    
    font-size:0.4em;
    position:relative;
    bottom:-4px;
    color: #205;
}
.about table {
    font-size: 15px;
    margin-top:25px;
}

#rightBar {
    width:27%;
    vertical-align:bottom;
}

.VContainer {    
    padding:15px 15px 2px 0;
    width:400px;
    overflow:hidden;
    min-height: 220px;
    height: 220px;
    max-height: 220px;
}

div.content {
    max-width:780px; 
    width:100%; 
    font-size:18px; 
    display:inline-block; 
    text-align:center;
}
div.chart {
  float:left;
  margin:14px;
}
div.justify p{
  font-family:Tahoma,Geneva,sans-serif;
  text-align:justify;
}




 /*          Printing section                */



 h1.pmHeader { 
  font-size: 1.5em;
  position: relative;
  left: -200px;
  display: inline-block;
  background-color: #ffffff30;
  text-shadow: 1px 1px #ffffff;  
 }
 .left-part h1 { font-size:1.75vw; margin-top:0 }
 
 div.pmHeader h1 img {
  max-height: 268px;
  position: absolute;
  top: -22px;
  margin-left: 120px;
 }
 div.pmHeader h2, .left-part h2.header { font-size:1.06em }
 div.pmHeader p {
     background-color: #ffffff75;
 }

 .container {
  display: flex;
  width: 100%;
}
.left-part {
  text-align: left;
  padding: 0 4px 0 4px;
  border: 1px dashed;
  width: 720px;
  z-index:-2;
}
.right-part {
   flex: 1;
   padding: 4px;
}

ul, ol, li, a {width:fit-content;}

.noprint, .rConditionsLabel {display:none} 

.rConditions { float:right; color:gray; 
  font-size:0.7em;
  position: relative;
  top: -38px;
}

.panel {
  margin: 202px 0 0 6px;
  border: double palevioletred;
  border-radius: 15px;
  width: fit-content;
  min-width: 380px;
  padding: 6px;
}
.panel h3 {
  margin: 0 0 0 34px;
  position: relative;
  top: -17px;
  background: white;
  height: 14px;
  width: fit-content;
}

.panel h3:first-letter { font-weight: bold; }

.panel label, .panel input {
  margin: 4px;
}
.panel button {
  float: right;
  font-size: 1.2rem;
  color: blueviolet;
  position: relative;
  left: -8px;
  top: 8px;
  border: double #dcb7fd;
  border-radius: 10px;
  padding: 2px 10px 2px 10px;
}
.panel button:disabled {
 color: gray;
 border: single gray;
}
.panel input#txtHeader1 {
  width: -webkit-fill-available;
}
.panel input#txtHeader1 {
  width: -webkit-fill-available;
}

.panel label[for=txtHeader2] {
  color:brown;
}
.panel label[for=chkAddBalance] {
  color:blue;
}
.panel label[for=chkSplitPage] {
  margin-top:4px;
  color:green;
}
.header {
   text-align: center;
   margin-top:0;
}
.printIntro {
   max-width: 950px;
}

/*                 Master wallpaper     */

#balloon {
  width: 200px;
  height: 25px;
  background-color: #ffcc00;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 4px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: move;
}
#menu {
  display: none;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 10px;
  position: absolute;
}
.image-option {
  display: flex;
  align-items: center;
  margin: 5px 0;
}
.ui-widget-overlay{transition: backdrop-filter 3s;}

/* --- chemical arrow with reacton condition on top BEGIN--- */
div.condition {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 92%;
    margin-top: -1.5em;
    position: relative;
    white-space: nowrap;
    bottom: 26px;
    height: 39px;
}
div.condition span {
    white-space: nowrap;
    position: relative;
    top: 12px;
    padding: 0 15px;
}
div.condition.short span {
    padding: 0 11px;
}

div.condition::after {
    content: '';
    display: block;
    width: 100%;
    height: 13px;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="30" y2="4.5" stroke="black" stroke-width="1" /><polygon points="30,2 40,4.5 30,7" fill="black" /></svg>') no-repeat;
    background-size: contain;
    margin-top: 0.5em; /* Space between text and arrow */
    background-position: center;
}

div.condition.short::after {
    background: url('data:image/svg+xml;utf8,<svg width="25" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="17" y2="4.5" stroke="black" stroke-width="1" /><polygon points="17,2 25,4.5 17,7" fill="black" /></svg>') no-repeat;
    background-size: contain;    
}

div.condition.long::after {
    background: url('data:image/svg+xml;utf8,<svg width="100" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="90" y2="4.5" stroke="black" stroke-width="1" /><polygon points="90,2 100,4.5 90,7" fill="black" /></svg>') no-repeat;
    background-size: contain;    
}

div.condition.long2::after {
    background: url('data:image/svg+xml;utf8,<svg width="200" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="190" y2="4.5" stroke="black" stroke-width="1" /><polygon points="190,2 200,4.5 190,7" fill="black" /></svg>') no-repeat;
    background-size: contain;    
}
/* --- chemical arrow with reacton condition on top END--- */

/* --- css chemical arrow with reacton condition on top BEGIN--- */
span.condition {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 92%;
    margin-top: -1.5em;
    margin-bottom: -35px; 
    position: relative;
    white-space: nowrap;
    bottom: 12px;    
}
.condition>span {
    min-width: 10px;
    padding: 0 4px;
}

span.condition::after {
    position: relative;
    content: '';
    display: block;
    width: 100%;
    height: 13px;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="30" y2="4.5" stroke="black" stroke-width="1" /><polygon points="30,2 40,4.5 30,7" fill="black" /></svg>') no-repeat;
    background-size: 100% 100%;
    margin-top: 0.5em;
    background-position: center;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    top: -10px;    
}

span.condition.revertable::before {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 13px;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="10" y1="4.5" x2="40" y2="4.5" stroke="black" stroke-width="1" /><polygon points="10,2 0,4.5 10,7" fill="black" /></svg>') no-repeat;
    background-size: 100% 100%;
    margin-top: -0.5em; 
    background-position: center;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    top: 21px;
}

span.condition.short::after {
    background: url('data:image/svg+xml;utf8,<svg width="25" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="17" y2="4.5" stroke="black" stroke-width="1" /><polygon points="17,2 25,4.5 17,7" fill="black" /></svg>') no-repeat;
    background-size: contain;    
}
span.condition.long::after {
    background: url('data:image/svg+xml;utf8,<svg width="100" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="90" y2="4.5" stroke="black" stroke-width="1" /><polygon points="90,2 100,4.5 90,7" fill="black" /></svg>') no-repeat;
    background-size: contain;    
}
span.condition.long2::after {
    background: url('data:image/svg+xml;utf8,<svg width="200" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="4.5" x2="190" y2="4.5" stroke="black" stroke-width="1" /><polygon points="190,2 200,4.5 190,7" fill="black" /></svg>') no-repeat;
    background-size: contain;    
}

span.condition.revertable.short::before {
    background: url('data:image/svg+xml;utf8,<svg width="25" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="8" y1="4.5" x2="25" y2="4.5" stroke="black" stroke-width="1" /><polygon points="8,2 0,4.5 8,7" fill="black" /></svg>') no-repeat;
    background-size: contain;
}
span.condition.revertable.long::before {
    background: url('data:image/svg+xml;utf8,<svg width="100" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="10" y1="4.5" x2="100" y2="4.5" stroke="black" stroke-width="1" /><polygon points="10,2 0,4.5 10,7" fill="black" /></svg>') no-repeat;
    background-size: contain;
}
span.condition.revertable.long2::before {
    background: url('data:image/svg+xml;utf8,<svg width="200" height="9" xmlns="http://www.w3.org/2000/svg"><line x1="10" y1="4.5" x2="200" y2="4.5" stroke="black" stroke-width="1" /><polygon points="10,2 0,4.5 10,7" fill="black" /></svg>') no-repeat;
    background-size: contain;
}
/* --- chemical arrow with reacton condition on top END--- */
svg,img,a {
    vertical-align: middle;
    display: inline-block !important;
}
.reaction {
    font-family: 'JetBrains Mono';
}
