body {
  font-family: 'Open Sans', sans-serif;
  background: #e2dbcb;
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: #8b4513;
  transition: .2s ease;
}

a:hover {
  color: #ff0000;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1160px;
}

.topbar {
  background: #f0f0f0;
  border-bottom: 1px solid #e1e1e1;
  font-size: 12px;
}

.topbar .container {
  min-height: 38px;
}

.topbar-left a,
.social-links a {
  color: #666;
  margin-right: 15px;
}

.site-header {
  background: #fff;
  padding: 20px 0;
}

.site-logo img {
  max-height: 72px;
}

.header-banner {
/*  width: 728px; */
  max-width: 100%;
}

.header-banner img {
  width: 100%;
/*  height: 90px; */
  object-fit: cover;
}

.main-nav {
  background: #168fd3;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.main-nav .navbar-nav .nav-link {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  padding: 16px 14px;
}

.main-nav .navbar-nav .active .nav-link,
.main-nav .navbar-nav .nav-link:hover {
  background: rgba(255,255,255,.12);
}

.search-form {
  position: relative;
}

.search-form input {
  border-radius: 0;
  border: 0;
  width: 210px;
  height: 36px;
}

.search-form button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border: 0;
  background: #0f78b2;
  color: #fff;
  width: 38px;
}

.page-wrap {
  padding: 30px 0 40px;
}

.content-area,
.sidebar-area {
  margin-bottom: 30px;
}

.card-post,
.sidebar-widget,
.listing-post,
.single-post {
  background: #fff;
  border: 1px solid #e6e6e6;
}

.card-post .post-thumb img,
.single-post-thumb img {
  width: 100%;
}

.card-post .post-body,
.single-post-content,
.single-post-header,
.listing-body {
  padding: 18px 20px;
}

.post-body h1 {
	font-size: 2.4rem;
}

.post-cat {
  display: inline-block;
  background: #168fd3;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  padding: 6px 8px;
  margin-bottom: 12px;
}

/* .hero-post h2, */
.listing-body h2,
.single-post h1 {
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.post-body h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.post-body > .post-cat a {
    color: #ffffff;
    transition: .2s ease;
}
.post-body > .post-cat a:hover {
    color: #10ea34;
    transition: .2s ease;
}

.post-thumb {
    max-height: 199px;
    overflow: hidden;
}

.attachment {
	font-weight: 700;
}
.card-post h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.media-post h4 {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.post-meta {
  color: #888;
  font-size: 12px;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  background: #168fd3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 9px 14px;
}

.read-more:hover {
  color: #fff;
  background: #0f78b2;
}

.section-block {
  margin-bottom: 26px;
}

.section-title {
  position: relative;
  margin-bottom: 18px;
  border-bottom: 3px solid #168fd3;
}

.section-title span {
  display: inline-block;
  background: #168fd3;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  text-transform: uppercase;
}

.section-title {
    color: #8b4513;
    font-size: 1.15rem;
    border-bottom: 2px solid #d2b48c;
    padding-bottom: 5px;
    margin-bottom: 12px;
}

.section-title a {
	color: #8b4513;
}
.section-title a:hover {
	color: #ff3300;
}

.media-post {
  background: #fff;
  border: 1px solid #e6e6e6;
  min-height: 120px;
}

.media-post-thumb {
  width: 38%;
  flex: 0 0 38%;
}

.media-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-post-body {
  padding: 14px 16px;
}

.sidebar-widget {
  margin-bottom: 25px;
}

.widget-title {
  background: #168fd3;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 15px;
}

.weather-box,
.calendar-widget,
.sidebar-posts {
  padding: 16px;
}

.weather-temp {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.weather-desc {
  font-weight: 600;
  margin-bottom: 8px;
}

.calendar { width: 100%; text-align: center; }
.calendar tr td, .calendar tr th { padding: 3px; }
	.calendar tr td a { color: inherit; font-weight: bold; }
	.calendar tr td { padding: 5px 3px; }
	.calendar tr td.weekday { color: #ea5f24; }
	.calendar tr th { background-color: #fff; font-weight: bold; text-transform: uppercase; }
	.calendar tr th.weekday { background-color: #ea5f24; color: #fff; }
	.calendar tr th.monthselect { background-color: transparent; color: #b8b8b8; padding-bottom: 15px; }
	.calendar tr th.monthselect a { color: #b8b8b8; }

.calendar-table {
  width: 100%;
  text-align: center;
  font-size: 13px;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #ededed;
  padding: 8px 4px;
}

.calendar-table td.active {
  background: #168fd3;
  color: #fff;
  font-weight: 700;
}

.sidebar-posts {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
}

.sidebar-posts li {
  border-bottom: 1px solid #ececec;
  padding: 10px 0;
}

.sidebar-posts li:last-child {
  border-bottom: 0;
}

.breadcrumb-wrap {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 12px 16px;
  margin-bottom: 24px;
  color: #777;
  font-size: 13px;
}

.category-header {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.category-header h1 {
  font-size: 30px;
  margin: 0;
}

.listing-post {
  margin-bottom: 20px;
}

.listing-thumb {
  width: 290px;
  flex: 0 0 290px;
}

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination-wrap {
  margin-top: 30px;
}

.pagination .page-link {
  color: #168fd3;
  border-radius: 0 !important;
}

.pagination .page-item.active .page-link {
  background: #168fd3;
  border-color: #168fd3;
}

.single-post-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.single-post-content h3 {
  font-size: 24px;
  margin: 24px 0 12px;
}

.single-post-content blockquote {
  border-left: 4px solid #168fd3;
  background: #f7fafc;
  padding: 14px 18px;
  font-style: italic;
  color: #555;
}

.quote { padding: 10px; background: #fff; border: 1px solid #dde4ea; }
.quote { border-left: 2px solid #e85319; background-color:beige;}
blockquote { border-left: 2px solid #e85319; background-color:beige; padding-left: .9rem; padding-top: .9rem; padding-right: .5rem; padding-bottom: .9rem}
.quote_block {margin-bottom: .7rem;padding-left: 1rem;}

.speedbar {
    border-bottom: 1px dotted #d2b48c;
}
.over {
	font-size: 0.9rem;
}

/* Navigation */
.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

/* Блок со стрелками (prev / next) */
.page_next-prev {
  display: flex;
  gap: 0.5rem;
}

/* Общие стили для кнопок-стрелок (как .page-link в Bootstrap 4.6) */
.page_prev,
.page_next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0.5rem 0.75rem;
  margin: 0;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.25;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Предыдущая страница (disabled) */
.page_prev {
  color: #6c757d;
  pointer-events: none;
  opacity: 0.65;
  background-color: #fff;
  border-color: #dee2e6;
}

/* Следующая страница — обёртка <a> */
.page_next a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* SVG-иконки (под Bootstrap) */
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

/* Блок с номерами страниц */
.pages {
  display: flex;
  align-items: center;
  gap: 0; /* границы будут перекрываться */
  padding: 0;
  margin: 0;
}

/* Все элементы внутри .pages (как .page-item .page-link) */
.pages > span,
.pages > a,
.pages > .nav_ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0.5rem 0.75rem;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.25;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Перекрытие границ (как в Bootstrap 4.6) */
.pages > *:not(:first-child) {
  margin-left: -1px;
}

/* Активная страница (текущая) */
.pages > span:not(.nav_ext) {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  pointer-events: none;
}

/* Многоточие (...) */
.pages > .nav_ext {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
  pointer-events: none;
  padding: 0.5rem 0.5rem;
}

/* Hover-эффекты (как в Bootstrap) */
.pages > a:hover,
.page_next a:hover {
  z-index: 2;
  color: #0056b3;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* Скругление углов первой и последней кнопки в списке страниц */
.pages > *:first-child {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.pages > *:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

/* Дополнительно: если нужно, можно отключить скругление у стрелок, чтобы они выглядели частью общей полосы */
.page_prev,
.page_next {
  border-radius: 0.25rem;
}

/* feedback */
.c-captcha {
/*	border: 2px solid #168fd3; */
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}
select[name="recip"] {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.site-footer {
  color: #d0d6dc;
}
.site-footer a {
  color: #d0d6dc;
}
.site-footer a:hover {
  color: #ff3300;
}

.footer-top {
  background: #1f2328;
  padding: 42px 0 20px;
}

.footer-top h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-social a {
  color: #d0d6dc;
}

.footer-bottom {
  background: #161a1e;
  padding: 16px 0;
  font-size: 13px;
}

.footer-social a {
  margin-left: 12px;
}

/* Кнопка "Наверх" в стиле Bootstrap 4.6 */
.btn-scroll-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;        /* ← теперь точно справа */
  left: auto !important;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  z-index: 99999 !important;     /* выше футера и всех элементов DLE */
  transition: all 0.3s ease;
  opacity: 0;
  text-decoration: none;
}

.btn-scroll-top:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.btn-scroll-top svg {
  transition: transform 0.3s ease;
}

.btn-scroll-top:hover svg {
  transform: translateY(-2px);
}

/* Показываем кнопку */
.btn-scroll-top.visible {
  display: flex !important;
  opacity: 1;
}


        .featured-widget {
            background: #fff;
            border: 1px solid #eee;
            padding: 20px;
            margin-bottom: 30px;
        }
        .widget-title-big {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid #e30613;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .widget-title span {
            font-size: 1.35rem;
            font-weight: 700;
            color: #222;
        }
        .view-all {
            font-size: 0.95rem;
            color: #e30613;
            text-decoration: none;
        }
        .view-all:hover {
            text-decoration: underline;
        }

        .big-post img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .big-post .card-body {
            padding: 15px 0 0;
        }
        .small-post img {
            width: 100%;
            height: 85px;
            object-fit: cover;
        }
        .post-meta {
            font-size: 0.8rem;
            color: #666;
        }
        .post-meta i {
            margin-right: 5px;
        }
        .category {
            color: #e30613;
            font-size: 0.85rem;
            font-weight: 600;
        }
		.h6tit {
			font-size: 0.9rem;
		}


#searchtable legend {
	font-size: 1rem;
}

#correct-option .form-check-label {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

#searchsuggestions {
	z-index: 2200;
	width: 23.15em;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
	border: 1px solid #ddd; border-color: rgba(0,0,0,0.2);
	background-clip: padding-box;
	font-size: .9em;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	}
	#searchsuggestions a, #searchsuggestions span.notfound { padding: 15px 25px; display: block; text-decoration: none; border-bottom: 1px solid #e5e5e5; }
	#searchsuggestions a { color: inherit; }
	#searchsuggestions a:hover { background-color: #f7f7f7; }
	#searchsuggestions a span { display: block; cursor: pointer; }
	#searchsuggestions span.searchheading { display: block; font-weight: bold; margin-bottom: .2em; }
	#searchsuggestions span.seperator { display: block; }
	#searchsuggestions span.seperator a { padding: 10px 0; text-align: center; border: 0 none; background-color: transparent; color: #919191; }
	#searchsuggestions span.notfound { padding: 15px 25px; display: block; }
	#searchsuggestions .break { display: none; }



/* Анимация "указывающая рука" — вправо-влево */
.hand-point-animate {
  display: inline-block;
  animation: handPointing 1.4s ease-in-out infinite;
}

/* Сама анимация */
@keyframes handPointing {
  0%   { transform: translateX(0); }
  12.5%   { transform: translateX(2px); }
  25%  { transform: translateX(4px); }   /* двигаем вправо */
  37.5% { transform: translateX(2px); }
  50%  { transform: translateX(0); }
  62.5%  { transform: translateX(-2px); }
  75%  { transform: translateX(-4px); }  /* двигаем влево */
  87.5%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* Дополнительно: можно сделать чуть быстрее или медленнее */
.hand-point-animate.fast  { animation-duration: 1.0s; }
.hand-point-animate.slow  { animation-duration: 1.8s; }

/* Если хотите, чтобы рука немного "подпрыгивала" (ещё живее) */
.hand-point-animate.bounce {
  animation: handPointingBounce 1.3s ease-in-out infinite;
}

@keyframes handPointingBounce {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(10px) translateY(-3px); }
}

@media (max-width: 991.98px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .header-banner {
    margin-top: 15px;
    width: 100%;
  }

  .main-nav .navbar-collapse {
    background: #168fd3;
    padding: 10px 0;
  }

  .main-nav .navbar-nav .nav-link {
    padding: 12px 16px;
  }

  .listing-post {
    display: block !important;
  }

  .listing-thumb {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 767.98px) {
  .topbar-left a {
    margin-right: 10px;
    font-size: 11px;
  }

  .site-header {
    padding: 16px 0;
  }

  .site-logo img {
    max-height: 56px;
  }

  .hero-post h2,
  .single-post-header h1,
  .category-header h1 {
    font-size: 24px;
  }

  .card-post h3 {
    font-size: 18px;
  }

  .media-post {
    flex-direction: column;
  }

  .media-post-thumb,
  .listing-thumb {
    width: 100%;
    flex: none;
  }

  .page-wrap {
    padding-top: 20px;
  }
}