body,
.sp-preloader {
    background-color: #fff;
    color: #444;
}
.sp-preloader > div {
    background: #782204;
}
.sp-preloader > div:after {
    background: #fff;
}
#sp-top-bar {
    background: #e9ecef !important;
    color: #2b2b2b;
}
#sp-top-bar a {
    color: #2b2b2b;
}
#sp-header {
    background: #fff !important;
}
#sp-menu ul.social-icons a:hover,
#sp-menu ul.social-icons a:focus {
    color: #782204;
}
a {
    color: #782204;
}
a:hover,
a:focus,
a:active {
    color: #342821;
}
.tags > li {
    display: inline-block;
}
.tags > li a {
    background: rgba(120, 34, 4, 0.1);
    color: #782204;
}
.tags > li a:hover {
    background: #342821;
}
.article-social-share .social-share-icon ul li a {
    color: #444;
}
.article-social-share .social-share-icon ul li a:hover,
.article-social-share .social-share-icon ul li a:focus {
    background: #782204;
}
.pager > li a {
    border: 1px solid #ededed;
    color: #444;
}
.sp-reading-progress-bar {
    background-color: #782204;
}
.sp-megamenu-parent > li > a {
    color: #444;
}
.sp-megamenu-parent > li:hover > a {
    color: #444;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a {
    color: #782204;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #fafafa;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    color: #444;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    color: #444;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
    color: #782204;
}
.sp-megamenu-parent .sp-mega-group > li > a {
    color: #444;
}
#offcanvas-toggler > .fa {
    color: #444;
}
#offcanvas-toggler > .fa:hover,
#offcanvas-toggler > .fa:focus,
#offcanvas-toggler > .fa:active {
    color: #444;
}
#offcanvas-toggler > .fas {
    color: #444;
}
#offcanvas-toggler > .fas:hover,
#offcanvas-toggler > .fas:focus,
#offcanvas-toggler > .fas:active {
    color: #444;
}
#offcanvas-toggler > .far {
    color: #444;
}
#offcanvas-toggler > .far:hover,
#offcanvas-toggler > .far:focus,
#offcanvas-toggler > .far:active {
    color: #444;
}
.offcanvas-menu {
    background-color: #444444;
    color: #ffffff;
}
.offcanvas-menu .logo-sticky {
    display: none !important;
}
.offcanvas-menu .offcanvas-inner a {
    color: #ffffff;
}
.offcanvas-menu .offcanvas-inner a:hover,
.offcanvas-menu .offcanvas-inner a:focus,
.offcanvas-menu .offcanvas-inner a:active {
    color: #cccccc;
}
.offcanvas-menu .offcanvas-inner ul.menu > li a,
.offcanvas-menu .offcanvas-inner ul.menu > li span {
    color: #ffffff;
	font-size: 24px;
}
.offcanvas-menu .offcanvas-inner ul.menu > li a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li a:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li span:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li span:focus {
    color: #ffffff;
}
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-separator > .menu-toggler {
    color: rgba(245, 245, 245, 0.5);
}
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent .menu-toggler {
    color: rgba(245, 245, 245, 0.5);
}
.offcanvas-menu .offcanvas-inner ul.menu > li li a {
    color: rgba(245, 245, 245, 0.8);	  
}
.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
    font-size: 20px;
    padding: 4px 0px;
    line-height: 40px;
    font-weight: 400;
}
.btn-primary,
.sppb-btn-primary {
	background-color: #777777 !important;
    border-radius: 3px;
    color: #fff;
    border: 1px;
	border-color: rgba(0, 0, 0, .15);
    border-style: solid;
}
.btn-primary:hover,
.sppb-btn-primary:hover {
    background-color: #444444;
	border-color: rgba(0, 0, 0, .15);
    border-style: solid;
}
ul.social-icons > li a:hover {
    color: #782204;
}
.sp-page-title {
    background: #782204;
}
.layout-boxed .body-innerwrapper {
    background: #fff;
}
.sp-module ul > li > a {
    color: #444;
}
.sp-module ul > li > a:hover {
    color: #782204;
}
.sp-module .latestnews > div > a {
    color: #444;
}
.sp-module .latestnews > div > a:hover {
    color: #782204;
}
.sp-module .tagscloud .tag-name:hover {
    background: #782204;
}
.search .btn-toolbar button {
    background: #782204;
}
#sp-bottom {
    background: #e9ecef;
    color: #444;
}
#sp-footer{
    background: #fff;
    color: #444;
}
#sp-footer a,
#sp-bottom a {
    color: #444;
}
#sp-footer a:hover,
#sp-footer a:active,
#sp-footer a:focus,
#sp-bottom a:hover,
#sp-bottom a:active,
#sp-bottom a:focus {
    color: #782204;
}
#sp-bottom .sp-module-content .latestnews > li > a > span {
    color: #444;
}
#sp-footer
{
	font-size: 11px;
	padding-bottom: 90px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;	
}
.info-spbottom {
	line-height: 0.9em;
	font-size: 90%; 
	color: #999999;
}
#sp-mybottom{
  flex-wrap: wrap;
  display: flex;
  position: fixed;
  bottom: 0; /* Прижимаем к нижнему краю окна */
  left: 0; /* Прижимаем к левому краю */
  right: 0; /* Прижимаем к правому краю */ /* width: 100%; — если нужно растянуть на всю ширину */
  height: 4.5em; /* Задаем высоту блока */
  background-color: #e9ecef; /* Пример фона */
  padding: 10px 20px; /* Отступы вокруг содержимого */
  padding-bottom: 10px;
  z-index: 1000;
}
.sp-comingsoon body {
    background-color: #782204;
}
.pagination > li > a,
.pagination > li > span {
    color: #444;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    color: #444;
}
.pagination > .active > a,
.pagination > .active > span {
    border-color: #782204;
    background-color: #782204;
}
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    border-color: #782204;
    background-color: #782204;
}
.error-code,
.coming-soon-number {
    color: #782204;
}
.burger-icon > span {
	background-color: #555;
	border: 2px solid #555;
	height: 4px;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #ccc;
	border: 2px solid #ccc;
}
/*мой код*/
.flex-mytable {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden; /* Для прокрутки на маленьких экранах */
}

.flex-mytable-header {
  display: flex;
  flex-direction: row;
  background-color: #f5f5f5;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
}

.flex-mytable-header th {
  padding: 12px 16px;
  text-align: left;
  border-bottom: none; /* Убираем двойную границу снизу */
}

.flex-mytable-header th:last-child {
  border-right: none; /* Убираем правую границу */
}

.flex-mytable-header th:first-child {
  border-left: none; /* Ставим первую колонку у левого края */
}

.flex-mytable-header th:nth-child(2) {
  flex: 1; /* Растягиваем вторую колонку */
}

.flex-mytable-header th:nth-child(3) {
  flex: 3; /* Широкая третья колонка */
}

.flex-mytable-header th:nth-child(4) {
  flex: 2; /* Широкая четвёртая колонка */
}

.flex-mytable-header th:nth-child(5) {
  flex: 1; /* Стандартная колонка */
}

.flex-mytable-header th:nth-child(6) {
  border-left: 1px solid #e0e0e0; /* Левая граница */
}

.flex-mytable-header th:nth-child(7) {
  border-right: 1px solid #e0e0e0; /* Правая граница */
}

.flex-mytable-header th:nth-child(8) {
  border-bottom: none; /* Последняя колонка без нижней границы */
}

.flex-mytable-header th:nth-child(2):hover,
.flex-mytable-header th:nth-child(4):hover {
  background-color: #fff;
  color: #2c3e50;
}
@media (max-width: 768px) {
  .flex-mytable-header {
    display: none; /* Скрываем заголовок */
  }

  .flex-mytable-row {
    flex-direction: column; /* Меняем направление на вертикальное */
  }
}
#sp-footer .container-inner {
    padding-bottom: 0px;
    padding-top: 15px;
}

/*
.table .flex-mytable .th .tr .td {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column; /* Строки располагаются вертикально 
    font-size: 0.8em;
    border: 1px solid #999;
    border-collapse: collapse;
}
.flex-mytable-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Разрешает перенос строк 
    font-weight: bold
	border-bottom: 1px solid #999;
    border-collapse: collapse;
}

.flex-mytable-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Разрешает перенос строк 
    border-bottom: 1px solid #999;
    border-collapse: collapse;
}

.flex-mytable-row:last-child {
    border-bottom: none;
}

.flex-mytable-cell {
    flex: 1; /* Равное распределение пространства между ячейками 
    padding: 12px 16px;
    text-align: left;
    min-width: 0; /* Предотвращает сжатие ячеек */
}	
/*для картинки и текста сверху*/
.image-text-container {
   display: flex; /* или inline-block, в зависимости от задачи */
   position: relative;
   align-items: center;
}
.wide-image {
    max-width: 100%; /* сохраняем пропорции при масштабировании */
    height: auto; /* позволяет картинке масштабироваться пропорционально */
    min-height: 300px; /* минимальная для мобильн*/
    min-width: 100%;
}
.text-block {
   font-size: 36px;
   text-align: center;
   color: #ffffff;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background: rgba(0, 0, 0, 0.5);
   padding: 20px;
   text-align: left;
   width: 100%;
}
.text-block .text-block-small {
   font-size: 0.8em;
}
 .result__image {
   max-width: 70px; 
 }
@media (min-width: 1290px) {
 .text-block { font-size: 38px; text-align: center; }
}
@media (min-width: 1024px) {
 .text-block { font-size: 36px; text-align: center; }  
}
@media (max-width: 768px) {
 .text-block { font-size: 24px; }  /* планшеты */
 .wide-image  { min-height: 300px; width: auto; object-fit: cover; }
}
@media (max-width: 400px) {
 .text-block { font-size: 20px; }  /* мобильники */ 
 .wide-image  { min-height: 300px; width: auto; object-fit: cover; }
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6
{
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 0.5rem;
	margin-top: 0px;
	font-family: 'Roboto', sans-serif;
    color: #212529;
    text-decoration: none;
}
.h1, h1
{
	font-size: 30px;
	font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    color: #212529;
    text-decoration: none;
}
.h2, h2
{
	font-size: 26px;
}
.h3, h3
{
	font-size: 22px);
}
.h4, .h5, .h6, h4, h5, h6
{
	font-size: 18px;
}
@media (min-width: 1200px)
{
	.h1, h1
	{
		font-size: 30px;
	}
}
@media (min-width: 1200px)
{
	.h2, h2
	{
		font-size: 26px;
	}
}
@media (min-width: 1200px)
{
	.h3, h3
	{
		font-size: 22px;
	}
}
@media (min-width: 1200px)
{
	.h4, .h5, .h6, h4, h5, h6
	{
		font-size: 22px;
	}
}
@media (min-width: 767px)
{
	.h1, h1
	{
		font-size: 1.5rem;
	}
}
@media (min-width: 767px)
{
	.h2, h2
	{
		font-size: 1.5 rem;
	}
}
@media (min-width: 767px)
{
	.h3, h3
	{
		font-size: 1.3 rem;
	}
}
@media (min-width: 767px)
{
	.h4, .h5, .h6, h4, h5, h6
	{
		font-size: 1.2 rem;
	}
}

@media (min-width: 400px)
{
	.h1, h1
	{
		font-size: 1.3rem;
	}
}
@media (min-width: 400px)
{
	.h2, h2
	{
		font-size: 1.3 rem;
	}
}
@media (min-width: 400px)
{
	.h3, h3
	{
		font-size: 1.2 rem;
	}
}
@media (min-width: 400px)
{
	.h4, .h5, .h6, h4, h5, h6
	{
		font-size: 1.1 rem;
	}
}

p
{
	margin-bottom: 1rem;
	margin-top: 0px;
}