#page-nav {
    width:auto;
}


.page-link {
    width:auto;
    padding: 0px 8px;
}

#blog figcaption {
    text-align: center;
    font-size: 15px;
    color: #79828B;
    padding: 12px 21px 0;
    line-height: 18px;
    vertical-align: top;
    font-family: CustomSansSerif, 'Lucida Grande', Arial, sans-serif;
}

#blog figure {
    margin: 0 !important;
    text-align: center;
}

#blog figure img {
    max-height: 700px;
}


/*Стили оформаления списков:*/

.ball {
list-style: none;
margin: 0;
}
.ball a {
width: 100%;
color: #808285;
text-decoration: none;
display: inline-block;
padding-left: 25px;
height: 44px;
line-height: 44px;
font-size: 20px;
position: relative;
transition: .3s linear;
}
.ball a:before {
content: "";
width: 30px;
height: 30px;
border-radius: 50%;
background: #425273;
position: absolute;
left: -30px;
top: 7px;
}
.ball li {position: relative;}
.ball li:before {
content: "";
width: 20px;
height: 20px;
border-radius: 50%;
background: #EC351D;
position: absolute;
top: 12px;
left: -30px;
z-index: 2;
transition: .4s ease-in-out;
}
.ball li:hover:before {left: -20px;}



.border-list {
list-style: none;
padding: 0;
}
.border-list li {
font-family: "Trebuchet MS", "Lucida Sans";
padding: 7px 20px;
margin-bottom: 10px;
margin-top: 20px;
border-radius: 5px;
border-left: 10px solid #f05d22; 
box-shadow: 2px -2px 5px 0 rgba(0,0,0,.1),
     -2px -2px 5px 0 rgba(0,0,0,.1),
    2px 2px 5px 0 rgba(0,0,0,.1),
    -2px 2px 5px 0 rgba(0,0,0,.1);
font-size: 20px;
letter-spacing: 2px;
transition: 0.3s all linear;
}
.border-list li:nth-child(2){border-color: #8bc63e;}
.border-list li:nth-child(3){border-color: #fcba30;}
.border-list li:nth-child(4){border-color: #1ccfc9;}
.border-list li:nth-child(5){border-color: #493224;}
.border-list li:hover {border-left: 10px solid transparent;}
.border-list li:nth-child(1):hover {border-right: 10px solid #f05d22;}
.border-list li:nth-child(2):hover {border-right: 10px solid #8bc63e;}
.border-list li:nth-child(3):hover {border-right: 10px solid #fcba30;}
.border-list li:nth-child(4):hover {border-right: 10px solid #1ccfc9;}
.border-list li:nth-child(5):hover {border-right: 10px solid #493224;}

.first  {
list-style: none;
padding: 0;
}
.first li {
padding: 10px 30px;
background: linear-gradient(to left, #0fb8cd 0%, white, #0fb8cd);
border-bottom: 1px solid grey;
color: #506a6b;
font-size: 20px;
box-shadow: 0 5px 5px 0 rgba(0,0,0, .2);
margin-bottom: 5px;
}
.first li:last-child {border-bottom: none;}


.square {
  margin: 0;
  counter-reset: li;
  list-style: none;
  background:#E8E8E8;
  padding: 10px;
}
.square li {
  position: relative;
  margin: 0 0 10px 2em;
  padding: 4px 8px;
  border-top: 2px solid #787A77;
  transition: .3s linear;
}
.square li:last-child {margin-bottom: 0;}
.square li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  top: -2px;
  left: -2em;
  width: 2em;
  box-sizing: border-box;
  margin-right: 8px;
  padding: 4px;
  border-top: 2px solid #787A77;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  background: #787A77;
  color: white;
  font-weight: bold;
  text-align: center;
  transition: .3s linear;
}
.square li:hover {border-top: 2px solid #389F70;}
.square li:hover:before {
  border: 2px solid #389F70;
  background: #98EABA;
}


.pills {
  margin-left: 0;
  list-style: none;
  counter-reset: li;
  font-family: calibri;
  width: 100%;
}
.pills li {
  padding: 10px 10px;
  position: relative;
  /*left: 1.5em;*/
  margin-bottom: 0.75em;
  padding-left: 1em;
  background: #e3ca9447;
}
.pills li:before {
  padding: 10px 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5em;
  width: 1.875em;
  text-align: center;
  color: white;
  font-weight: bold;
  background: #02bbce;
  border-bottom-left-radius: 70em;
  border-top-left-radius: 70em;
  counter-increment: li;
  content: counter(li);
}

/*Стили формаления многоуровневых списков:*/

.post-detail ol {
   counter-reset: li;
   list-style: none;
   font-family: 'Roboto', sans-serif;
}
.post-detail .list li {
   display: block;
   text-decoration: none;
   border-top: 2px solid #68B8AE;
   color: #0F2240;
   background: white;
}
.post-detail .list li:before {
   counter-increment: li;
   content: counters(li, ".") ". ";
   display: inline-block;
   padding: 5px;
   margin-right: 10px;
   font-weight: bold;
   background: #fbd69e80;
   border-left: 2px solid #68B8AE;
   border-bottom: 2px solid #68B8AE;
   border-right: 2px solid #68B8AE;
   color: #68B8AE;
   transition: .3s linear;
   margin-bottom: 5px;
}
.post-detail .list li:hover:before {
   background: #68B8AE;
   color: white;
}

.bullet {
margin-left: 0;
list-style: none;
counter-reset: li;
}
.bullet li {
position: relative;
margin-bottom: 1.5em;
border: 3px solid #CADFCF;
padding: 0.6em;
border-radius: 4px;
background: #FEFEFE;
color: #231F20;
font-family: "Trebuchet MS", "Lucida Sans";
}
.bullet li:before {
position: absolute;
top: -0.7em;
padding-left: 0.4em;
padding-right: 0.4em;
font-size: 16px;
font-weight: bold;
color: #DCC24B;
background: #FEFEFE;
border-radius: 50%;
counter-increment: li;
content: counter(li);
}

/* Оформление списка Babel */
ul.lang-switch {
  list-style: none;          /* Убирает маркеры */
  padding: 0;
  margin: 0 auto;            /* Центрирует ul по горизонтали */
  display: flex;             /* Горизонтальное расположение элементов */
  justify-content: center;   /* Центрирует li внутри ul */
  gap: 15px;                 /* Расстояние между элементами */
  align-items: center;       /* Вертикальное выравнивание элементов */
  max-width: 600px;          /* Ограничивает ширину, опционально */
  width: 100%;               /* Занимает всю ширину контейнера */
  box-sizing: border-box;    /* Чтобы padding/margin не влияли на ширину */
}

ul.lang-switch li {
  margin: 0;                 /* Убирает внешние отступы у li */
}

.lang-switch a {
  display: inline-block;       /* Чтобы padding и фон работали как у кнопки */
  color: #555555;              /* Цвет текста неактивной кнопки */
  background-color: #f0f0f0;  /* Светлый фон неактивной кнопки */
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;             /* Курсор-рука при наведении */
  user-select: none;           /* Запрет выделения текста */
}

.lang-switch a.active {
  color: #ffffff;              /* Цвет текста активной кнопки */
  background-color: #098ca9;   /* Синий фон активной кнопки */
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
}

.lang-switch a:hover:not(.active) {
  color: #007bff;
  background-color: #d0e5ff;
  border-color: #007bff;
}


/* Стиль верхней полосы */
#my-header-top {
    padding: 7px 0;
    background-color: var(--border-color);
}

/* скругление углов */
.blog-style3 .blog-img {
    overflow: hidden;
    border-radius: .9rem !important;
}    
.recent-post .media-img {
    border-radius: .9rem !important;
}

.blog-style1 .blog-img {
    overflow: hidden;
    border-radius: .9rem !important;
}

.blog-style7 .blog-img {
    overflow: hidden;
    border-radius: .9rem !important;
}

.box-title-12 {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    margin-top: -0.26em;
}

/* Хлебные крошки */
.breadcumb-menu li, .breadcumb-menu a, .breadcumb-menu span {
    white-space: normal;
    word-break: break-word;
    font-weight: 400;
    font-size: 14px;
    color: var(--title-color);
    text-transform: none;
    line-height: 20px;
}    
    .breadcumb-menu li:last-child {
    padding-right: 0;
    margin-right: 0;
    color: #89969b;
}

/* кнопка поиска */
.widget .search-form button {
    background-color: #75848a;
}

/* кнопка меню */
.th-menu-toggle {
    background-color: #65767d;
}

/* лого в мобильном меню */
.th-menu-wrapper .mobile-logo img {
    width: 198px;
}

/* лого в мобильном меню */
.th-menu-wrapper .mobile-logo {
    padding-bottom: 30px;
    padding-top: 30px;
}

.recent-post .post-title {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
}

/* цвет футера 
.footer-wrapper {
    background-color: #65767d;
}*/

/* цвет букв меню в мобильном меню */
.th-mobile-menu ul li > a {
    color: #65767d;
}

/* размер даты во втором блоке на главной */
#meta-date a {
    font-size: 11px;
}

#meta-date-relatet a {
    font-size: 13px;
}

@media (max-width: 575px) {
#meta-date a {
        font-size: 14px;
    }
    
#meta-date-relatet a {
    font-size: 15px;
}

}

/* цвета ссылок на соцсети в футере */
.th-social.style-black a{
    background-color: #437087;
}

.th-social.style-black a:hover {
    background-color: #75848a;
}

/* цвета ссылок на соцсети в шапке */

.social-links.style-black a {
    color: #437087;
}

.social-links.style-black a:hover {
    color: #75848a;
}


/* оформление кнопки для ютуба*/
@media (max-width: 575px) {
    .blog-style3 > .play-btn {
        --icon-size: 50px;
        font-size: 0.9em;
        top: 20% !important;
        right: 25%;
    }
}

.blog-style7 .blog-img .play-btn {
    --icon-size: 50px;
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: calc(var(--icon-size) / -2);
    margin-right: calc(var(--icon-size) / -2);
}

.play-btn.bloc-2 {
    --icon-size: 50px;
    top: 20%; 
    right: 25%;
}

.blog-style3 > .play-btn {
    top: 20%;
}

/*размер текста для стрелок в навигации под постом в текстовой странице*/

@media (max-width: 575px) {
.blog-navigation .nav-btn .nav-text {
    font-size: 10px;
    }
}

.blog-navigation .nav-btn .title {
    font-size: 12px;
}

#blog-title-14 {
    font-size: 14px;
}

#blog-title-18 {
    font-size: 18px;
}

.tags-colord {
    color: #53636a !important;
}



.popup-search-box form input {
    border: 2px solid #93a8b2;
}



/* Социальные кнопки для страницы автора */

.circle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
    vertical-align: middle;
}

/* Telegram */
.circle-icon.telegram {
    background-color: #0088cc;
}
.circle-icon.telegram:hover {
    background-color: #0072a8;
}

/* Viber */
.circle-icon.viber {
    background-color: #7360F2;
}
.circle-icon.viber:hover {
    background-color: #5d4ccc;
}

/* WhatsApp */
.circle-icon.whatsapp {
    background-color: #25D366;
}
.circle-icon.whatsapp:hover {
    background-color: #1da955;
}

/* Оформаление рекламной картинки */
.ad-highlight-adv-blue {
    position: relative;
    border: 2px solid #1e90ff;
    border-radius: 12px;
    padding: 6px;
    overflow: hidden;
    animation: advGlowBlue 2.5s infinite ease-in-out;
}

@keyframes advGlowBlue {
    0% {
        box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(30, 144, 255, 0.9);
    }
    100% {
        box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
    }
}

.ad-badge-blue {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #1e90ff;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.6);
    z-index: 10;
}

.news-area .title {
    background-color: #437087;
}
    
    