@font-face {
    font-family: "Rain";
    font-style: normal;
    font-weight: normal;
    src: url("/wp-content/themes/uaprom/font/pro-regular.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/uaprom/font/pro-regular.woff") format("woff"), url("/wp-content/themes/uaprom/font/pro-regular.ttf") format("truetype"), url("/wp-content/themes/uaprom/font/pro-regular.svg#Rain") format("svg");
}

.themeform textarea,
.entry blockquote:before,
.entry .wp-caption-text,
.page-title span,
.page-title .notebox,
.notebox,
.site-description,
#profile-description,
.search-expand .themeform input,
.type-list-date .type-list-date-year,
.type-list-category,
.type-list-category a,
.type-list-excerpt,
#footer,
#footer-bottom a:hover,
#footer-bottom #credit,
#footer-bottom #back-to-top,
#footer-bottom .social-links a,
#footer-bottom .social-links a:hover,
.entry-header .entry-meta,
.entry-header .entry-meta a,
.post-tags span,
.post-tags a,
.post-tags a:hover,
.author-bio,
.author-bio .bio-desc,
.post-nav li i,
.post-nav li a strong,
.sidebar .post-nav li a strong,
.sidebar .post-nav li i,
.widget select,
.widget > ul li a:hover:before,
.widget_links ul li,
.widget_rss ul li cite,
.widget_search input.search,
.alx-posts .post-item-category,
.alx-posts .post-item-date,
.commentlist .comment-meta:before, .pinglist .ping-meta:before,
.commentlist .comment-meta a, .pinglist .ping-meta,
.commentlist .reply a,
#cancel-comment-reply-link,
#cancel-comment-reply-link:hover,
.wp-pagenavi span { 
    color: #333333;
}


/* Headers with custom font */
.menu-item a,
.featured-title,
.highlights-title,
.type-list-title,
.type-list-title a:hover,
.page-title,
.type-list-category,
.featured-date,
.highlights-date,
.type-list-date,
.entry-title,
.entry-header .entry-meta,
.side-art-section .side-art-title,
.side-art-section .side-art-date {
    font-family: 'Rain';
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1em !important;
    text-decoration: none !important;
}

.entry-header .entry-meta i {
    opacity: 0.6;
}

.entry-content .entry {
    line-height: 1.3em;
    font-size: 18px;
}

/* Увеличиваем заголовки */
.nav-menu:not(.mobile) { 
    font-size: 26px; 
}

.sub-header-menu .nav-menu:not(.mobile) .menu > li > span {
    font-size: 18px;
}

.entry-title {
    font-size: 46px !important;
}

.featured-title {
    font-size: 54px;
}

.featured-date,
.highlights-date {
    font-size: 18px
}

.highlights-title { 
    font-size: 26px !important; 
}


.themeform textarea:focus { 
    border-color: #333333;
}
.nav-menu:not(.mobile) button .svg-icon { 
    fill: #333333;
}

.type-list-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
}

.type-list-date-time {
    color: #333333;
    font-weight: 400;
    font-size: 18px;
    margin: 0;

} 

.type-list-date-month {
    padding: 3px 0;
}

.type-list-date-year {
    padding-bottom: 10px;
}

.type-list-excerpt {
    padding-top: 5px;
    line-height: 1.3em;
}

.type-list-category {
    padding-bottom: 5px;
}

#footer-bottom #footer-logo {
    max-height: 160px;
}

.side-art-section {
    padding-bottom: 10px;
}

.side-art-section .side-art-title a {
    color: #cc3300;
    font-size: 22px;
    line-height: 1em;
}

.side-art-section .side-art-title {
    padding: 5px 0;
}

.side-art-section .side-art-desc {
    font-size: 14px;
    line-height: 1.3em;
    /* overflow-y: hidden; */
    /* height: 75px; */
}

.side-art-section {
    padding-bottom: 30px;
}

.side-art-header {
    font-family: 'Rain';
    font-size: 2em;
    font-weight: 500;
    padding-bottom: 20px;
    color: #3d4e59;
}

.side-all-arts-link {
    display: flex;
    justify-content: right;
}

/* Languages and categories*/
.gtranslate_wrapper, .categories {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 1px 0 rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1), 0 -1px 0 rgba(0,0,0,0.1);
    float: left;
    padding: 10px 0;
    width: 100%;
    border-radius: 40px;
}

.gtranslate_wrapper .glink,
ul.categories li {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border-radius: 40px;
    font-size: 24px;
    padding: 18px 10px;
    margin: 0px 10px;
    text-align: center;
    position: relative;
}


.gtranslate_wrapper .glink:hover,
ul.categories li:hover { 
    background: rgba(255,255,255,0.08); 
    color: #fff; 
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.1); 
    text-decoration: none; 
}

ul.categories li:hover img {
    opacity: 1;
}

.gtranslate_wrapper .glink img,
ul.categories li img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

ul.categories li img {
    opacity: 0.6;
}

/*
.gtranslate_wrapper .glink:before {
    content: "";
    height: 1px;
    width: 20px;
    background: rgba(255,255,255,0.08);
    position: absolute;
    top: 0;
}
*/



@media only screen and (min-width: 961px) {
    .gtranslate_wrapper {
        margin: 10px 0;
    }
    .gtranslate_wrapper .glink {
        display: block;
    }
}


.gtranslate_wrapper .glink:first-child:before { display: none; }

@media only screen and (max-width: 960px) {
	.s2 .social-links .social-tooltip { 
        color: #333333; 
    }

    .sub-header-menu {
        display: none;
    }
}

@media only screen and (min-width: 961px) {
    .wrap-nav #nav-header-nav {
        padding-bottom: 0;
    }

    .sub-header-menu .nav-menu .menu > li {
        margin: 0 0px 0 0;
    }

    .sub-header-menu .nav-menu .menu > li > span {
        border: unset;
        padding: 0px 0px 0px 12px;
        font-size: 13px;
        line-height: 18px;
    }

    .sub-header-menu .nav-menu .menu > li > span a {
        color: #333333;
        font-weight: 400;
    }

    .sub-header-menu .nav-menu .menu > li.current-menu-item > span a {
        font-weight: 600;
    }

}


/* Основной логотип */
.site-title a img {
    width: auto;
}

/* Скрыть мобильный логотип на десктопе */
.site-title a img.logo-mobile {
    display: none;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 960px) {
    /* Скрыть десктопный логотип на мобильных устройствах */
    .site-title a img.logo-desktop {
        display: none;
    }

    /* Отобразить мобильный логотип на мобильных устройствах */
    .site-title a img.logo-mobile {
        display: block;
        max-width: 80%;
    }

    .nav-menu.mobile ul li a {
        font-size: 22px;
    }

    .featured-title {
        font-size: 54px !important;
    }

    .highlights-title {
        font-size: 25px !important;
    }

    .type-list-title {
        font-size: 26px !important;
    }

    .type-list-date .type-list-date-day {
        font-weight: 400;
    }
}

@media (max-width: 719px) {
    #wrapper-inner .sidebar .categories,
    #wrapper-inner .sidebar .social-links,
    #wrapper-inner .sidebar .gtranslate_wrapper {
        display: none;
    }

    #wrapper #header {
        margin-bottom: 10px !important;
    }
}


/* Меню верхнее */
.wrap-nav .nav-menu ul li a {
    color: #993300 !important;
}

/* Левое меню Соц сети */
.s2 .social-links li:before {
    content: unset;
    height: 0px;
    background: rgba(255,255,255,0.08);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
}

.s2 .social-links li {
    padding: 0;
}

/* Форма поиска по дате */
.search-date-inner .date-theme-form input { 
    color: #9fabbe; 
    width: 100%; 
    border: 1px solid #fff; 
    border-radius: 20px;
    box-sizing: border-box;
}

.search-date-inner .date-theme-form input:focus { 
    color: #3d4e59; 
    /* border-color: #fff ;  */
    /* border: unset !important; */
    outline: none;
    /* box-shadow: inset 0 0 20px rgba(0,0,0,0.1);  */
}

.search-date-inner .date-theme-form div:after {
    color: #ccc;
    line-height: 24px;
    font-size: 14px;
    content: "\f133";
    position: absolute;
    left: 16px;
    top: 6px;
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}

.search-date-inner .date-theme-form div input {
    background: #fff;
    line-height: 20px;
    padding: 7px 8px 7px 37px;
    height: 36px;
}

.search-date-inner .date-theme-form div {
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-date-inner .date-theme-form .search-button {
    width: 36px;
    height: 36px;
    border:unset;
    padding: unset;
    border-radius: 20px;
    background-color: #CC3300;
    color: #ffffff;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.front-widgets {
    margin: 0px 20px;
    padding: 0;
}

.front-widgets .widget,
.front-widgets .widget h3.group {
    padding: 0;
    margin: 0;
}

.front-widgets .widget h3.group {
    font-family: 'Rain';
    font-size: 2em;
    font-weight: 500;
    padding-bottom: 20px;
    color: #3d4e59;
}

#commentform .comment-form-cookies-consent {
    clear: both;
}

.search-expand {
    top: 0;
}

/* Главный баннер не ограничен по высоте на мобильном устройстве */
@media (max-width: 960px) {
    .featured-item {
        height: unset;
    }

    .featured-content {
        position: unset;
    }

    .featured-content .featured-title {
        font-size: 40px !important;
    }
}

/* Навигация по архиву */
@media (max-width: 960px) {
    .wp-pagenavi a, .wp-pagenavi span {
        font-size: 11px;
        padding: 0 10px;
        display: inline-flex;
        height: 26px;
        align-items: center;
        justify-content: center;
    }
    .categories {
        display: none;
    }
}

@media (min-width: 961px) {
    /* .highlights-item {
        height: 250px;
    } */

    /* Прилипает */
    #wrapper,
    #header {
        overflow: unset;
    }

    .scroll-fx {
        position: sticky;
        top: 1px;
    }

    #header .scroll-fx {
        padding-bottom: 331px;
    }

}

@media (min-width: 720px) {
    /* Иконка на главную */
    .home-menu .menu-item-wrapper a {
        visibility: hidden;
        width: 24px;
    }


    .home-menu .menu-item-wrapper a:before {
        visibility: visible;
        content: "\f015";
        /* Код иконки домика в Font Awesome 6 */
        font-weight: 900;
        font-family: "Font Awesome 6 Free";
        font-size: 21px;
        /* Убедитесь, что шрифт подключен */
        /* text-indent: 0; Отменяет сдвиг текста для иконки */

    }

    .nav-menu:not(.mobile) .menu>li.home-menu>span {
        border: unset;
    }
}

.article-author {
    font-family: 'Rain';
    font-size: 1.2em;
    font-weight: 500;
    text-align: left;
}
/* @media (max-width: 479px) {
    .highlights-item {
        height: 200px;
    }
} */


.gtranslate_wrapper, .categories, .s2 .social-links {
    float: unset;
}