/* Popup container */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* The actual popup (appears on top) */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* Стили для выравнивания по центру по вертикали и по горизонтали */
.header {
	height: 50px; 
}

.header div {
    margin: 5px;
	line-height: 40px;
}

/* Стили для основного блока */
#main {
	position: absolute;
	top: 50px; /* Отступ сверху равен высоте верхнего блока */
	left: 0;
	right: 0;
	bottom: 0;
}

  #backToTopBtn {
    font-family: Arial, Helvetica, sans-serif;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;  
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #660006;
    color: white;
    cursor: pointer;
    border-radius: 4px;
  }

  #backToTopBtn:hover {
    background-color: #555;
  }





        td.dark-green {
            color: #26A269; 
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
        td.dark-yellow {
            color: #A2734C;
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
        td.dark-cyan {
            color: #2AA1B3;
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
        td.dark-red {
            color: #C01C28;
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
		
        span.dark-green {
            color: #26A269; 
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
        span.dark-yellow {
            color: #A2734C;
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
        span.dark-cyan {
            color: #2AA1B3;
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
        span.dark-red {
            color: #C01C28;
            /* display: inline;
            font-size: 1.2em; Увеличенный размер шрифта */
            /* font-weight: 500; Жирный шрифт */
        }
		
a.dark-green {
    color: #28B26B; /* немного светлее */
    text-decoration: none;
}
a.dark-green:hover {
    color: #249E61; /* немного темнее при наведении */
}

a.dark-yellow {
    color: #9B6E41;
    text-decoration: none;
}
a.dark-yellow:hover {
    color: #B38255;
}

a.dark-cyan {
    color: #2CB1B7;
    text-decoration: none;
}
a.dark-cyan:hover {
    color: #289EA2;
}

a.dark-red {
    color: #C32A2F;
    text-decoration: none;
}
a.dark-red:hover {
    color: #B02126;
}