* {
    box-sizing: content-box;
}
body {
    margin: 0;
}
.g_title {
    font-family: Oswald;
    font-weight: bold;
    font-size: 27px;
    text-transform: uppercase;
    padding-left: 2px;
}
.titullorum {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Oswald;
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 12px;
}
.lang_links {
    font-color: black;
}
.login_button {
    border: 0px solid transparent;
    font-family: Oswald;
    padding: 4px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 3px;
    text-transform: uppercase;
}
.login_button.register {
    background-color: silver;
    color: white;
}
.g_sub {
    font-family: Oswald;
    font-weight: bold;
    font-size: 54px;
    text-transform: uppercase;
    line-height: 1;
}
.full_header {
    display: flex;
    justify-content: center;
    height: 300px;
    background-image: url('../imgs/bck-header-002.jpg');
    background-size: cover;
    //background-position-y: -80px;
    backdrop-filter: blur(5px);
}

.logo {
    width: 400px;
}

.header {
    display: flex;
    width: 1240px;
    padding-top: 24px;
}
.header_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 350px;
}
.header_left_top {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    padding: 16px 0 0 0;
}
.header_left_bottom {
    padding: 16px;
    padding-left: 0px;
    margin-bottom: 12px;
}
.header_right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.header_right_top {
    display: flex;

}
.gnav_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.gnav_item {
    padding: 14px;
    font-family: Oswald;
    font-size: 18px;
    font-weight: bold;
}
.gnav_item_rassa {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_right_bottom {
padding-left: 90px;

}
.social_link_img {
    width: 32px;
    padding-left: 8px;
}
.ansearch_box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    font-family: Oswald;
    font-size: 16px;
    font-weight: bold;
}
.lang_panel {
}
.search_box {
}
.search_box_bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 780px;
    background: rgba(255,255,255,0.75);
    padding: 8px;
    border-radius: 5px;
}
.search_ajax_box {
    position: relative;
    opacity: 0;
    width: calc(100% - 24px);
    min-height: 0px;
    max-height: 400px;
    background: rgba(255,255,255,0.95);
    border-radius: 0px 0px 5px 5px;
    font-family: Roboto;
    font-size: 16px;
    padding: 12px;
    z-index: 99999;
}
.search_select {
    display: flex;
    width: 150px;
}
.s_pict {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 36px;
}
.search_input_div {
    border-left: 1px solid silver;
    padding-left: 8px;
}
.search_input {
    width: 400px;
    background: transparent;
    border: 0;
    font-family: Roboto;
    font-size: 16px;
}
.search_input:focus {
    outline: none;
}
.search_general {
}
.search_button_box {
}
.search_button {
    display: flex;
    background-color: #7088c5;
    padding: 8px 24px 8px 24px;
    font-family: Roboto;
    letter-spacing: 1px;
    color: white;
    border-radius: 3px;
    cursor: pointer;

}
.search_button:hover {
    background-color: #254aa8;
}
.sbt_left {
}
.sbt_right {
}
.full_navig {
    display: flex;
    background: black;
    height: 32px;
    justify-content: center;
    align-items: center;;
}
.navig {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 1240px;

}
.nav_item {
    font-family: Oswald;
    color: white;
    text-transform: uppercase;
    padding: 8px 4px 4px 4px;
    font-size: 13px;
    font-weight: book;
    line-height: 1;
    /* letter-spacing: 1px; */
}
.nav_item:nth-child(even) {
    color: #feba32;
}
.navig_links {
    color: inherit;
    text-decoration: none;
}
.gnavig_links {
    color: inherit;
    text-decoration: none;
    font-size: 17px;
}
.gnavig_links.active {
    color: inherit;
    text-decoration: underline;
}

/*------------------------------NEW--------------*/

.cblock_full {
    display: flex;
    justify-content: center;
}
.cblock_full.bckOn {
    background-color: silver;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cblock_content {
    width: 1240px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.cblock_top {
    display: flex;
    padding: 8px 0px 8px 0px;
}
.cblock_top_logo {
}
.cblock_top_title {
    display: flex;
    align-items: center;
    padding-left: 16px;
    font-family: Oswald;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}
.cblock_bottom {
    display: flex;
    padding-bottom: 16px;
}
.cblock_carousel {
    display: flex;
}
.cb_item {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* width: 220px; */
    min-height: 200px;
    padding: 0px 16px 0px 16px;
    opacity: 0;
    transform: scale(0.95); /* Легкий уменьшенный масштаб */
    filter: blur(10px); /* Начальный эффект blur */
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;

}
.cb_item.visible {
    display: flex;
    opacity: 1;
    transform: scale(1); /* Возвращение к нормальному размеру */
    filter: blur(0); /* Убираем blur */
}
.cb_item.default.visible {
    display: flex;
    width: 220px;
    opacity: 1;
    transform: scale(1); /* Возвращение к нормальному размеру */
    filter: blur(0); /* Убираем blur */
}
/* Вспомогательный класс для отсрочки скрытия элемента */
.item.hidden {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}
.cb_item:nth-child(1) {
    padding-left: 0px;
}
.cb_item:nth-child(5) {
    padding-right: 0px;
}
.cb_item.default.row4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 283px;
    min-height: 200px;
    padding: 0px 16px 0px 16px;
}
.cb_item.default.row4:nth-child(1) {
    padding-left: 0px;
}
.cb_item.default.row4:nth-child(4) {
    padding-right: 0px;
}
.cb_item.default.row4 .cb_item_title {
    width: 210px;
}
.res_cb_item_title {
    width: 210px;
}
.cb_item_picture {
    width: 100%;
    height: 180px;
    background-image: url('../imgs/scr.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size:cover;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
}
.cb_item_picture.cb_inner {
    height: 220px;
}
.cb_item_picture:hover {
    border: 1px solid gold;
}
.cb_item_picture.loading::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.6); /* Прозрачный белый фон */
    animation: loadingAnimation 1s infinite; /* Анимация загрузки */
}
@keyframes loadingAnimation {
    0% {
        background: rgba(255, 255, 255, 0.6);
    }
    50% {
        background: rgba(200, 200, 200, 0.6);
    }
    100% {
        background: rgba(255, 255, 255, 0.6);
    }
}

.cb_item_format {
    padding: 8px;
}
.cbi-format {
    width: 32px;
    margin-left: 2px;
}
.cb_item_bottom {
    display: flex;
    flex-grow: 1;
    padding: 8px;
}
.cb_item_title {
    width: 150px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid silver;
}
.cb_item_right {
    width: 58px;
    padding-left: 8px;
}
.cb_item_left_flex {
    display: flex;
}
.cb_item_right_flex {
    display: flex;

    padding-left: 8px;
}

.cb_item_right {
}
.cbir_top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.cbi_views {
    font-family: Roboto;
    font-weight: 600;
    font-size: 14px;
}
.cbi_views_img {
    width: 18px;
    height: 16px;
    margin-left: 8px;
    background-image: url('../imgs/oftalma.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.cbir_bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*cursor: pointer;*/
}
.star_likes {
    display: flex;
    align-items: center;
    font-family: Roboto;
    font-weight: 600;
    font-size: 14px;
}
.star_likes_img {
    width: 21px;
    height: 16px;
    margin-left: 5px;
    background-image: url('../imgs/star.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.cbi_b {
    font-weight: 300;
    font-size: 12px;
    padding-top: 4px;
}
.top_categ_links {
    text-decoration: none;
    color: black;
    //text-shadow: 4px 4px 2px rgba(0,0,0,0.2);
}
.top_categ_links:hover {
    color: #feba32;
    text-decoration: none;
}
.top_categ_links.white {
    text-decoration: none;
    color: white;
    //text-shadow: 4px 4px 2px rgba(0,0,0,0.6);
}
.top_categ_links:hover.white {
    color: #3f6bac;
    text-decoration: none;
}
.cbitem_links {
    color: black;
    text-decoration: none;
}


/*----------------НОвый код 06082024---------------------*/
.main_full {
    display: flex;
    justify-content: center;
}
.main_categ {
    display: flex;
    width: 1240px;
}
.main_pages {
    display: flex;
    flex-direction: column;
    width: 1240px;
    min-height: 400px;
    padding-top: 32px;
    padding-bottom: 32px;
}
.kosma_main_general {
    display: flex;
    justify-content: center;
}
.kosma_main_content {
    display: flex;
    width: 1240px;
    min-height: 300px;
    padding-top: 32px;
    padding-bottom: 64px;
}
.pages_links {
    color: silver;
}
.main_left {
    border-right: 2px solid silver;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 160px;
}
.res_main_left {
    border-right: 2px solid silver;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 280px;
}
.res_main_right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    padding-left: 16px;
}
.left_title {
    display: flex;
    font-family: Oswald;
    font-weight: bold;
    font-size: 21px;
    align-items: center;
    justify-content: center;
}
.recommended_blocks {
    display: flex;
    flex-direction: column;
}
.recommended_blocks .cb_item:nth-child(n) {
    padding: 16px;
    padding-top: 32px;
    padding-bottom: 0px;
}
.mleft_top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
    flex-shrink: 0;
}
.mleft_top_left {
    display: flex;
}
.mleft_top_right {
    display: flex;
    font-family: Oswald;
    font-weight: bold;
    font-size: 21px;
    align-items: center;
    justify-content: center;
    padding-left: 16px;

}
.res_general {
    display: flex;
    padding-top: 32px;
    padding-left: 16px;
}
.res_general_left {
    width: 300px;
}
.res_general_right {
    padding-left: 32px;
    width: 100%;
}
.res_title {
    display: flex;
    font-family: Oswald;
    font-weight: bold;
    font-size: 21px;
    align-items: center;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 2px solid silver;
}
.res_table {
    border-bottom: 2px solid silver;
}
.res_tr {
    display: flex;
}
.res_tr .res_td:first-child {
    width: 200px;
    font-weight: bold;
    flex-shrink: 0;
}
.res_td {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-grow: 0;
}
.res_content {
    padding-top: 16px;
}
.mleft_filters {
}
.filter_1 {
}
.f1_top {
    display: flex;
    justify-content: flex-start;
    align-items:flex-start;
}
.f1_top_left {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 4px;
}
.f1_top_right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: Roboto;
    font-weight: 600;
    padding-left: 8px;

}
.f1_bottom {
    padding: 8px;
    padding-left: 32px;
    padding-bottom: 32px;
}
.f_element {
    display: flex;
    padding-top: 8px;
    padding-bottom: 8px;
    cursor: pointer;
}
.f_e_pic {
    width: 14px;
    height: 14px;
    border: 2px solid black;
    border-radius: 3px 3px 3px 3px;
    flex-shrink: 0;
}
.f_element.selected .f_e_pic {
    width: 14px;
    height: 14px;
    border: 2px solid #feba32;
    border-radius: 3px 3px 3px 3px;
    background-color: #feba32;
}
.f_e_name {
    font-family: Roboto;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 4px;
}
.main_right {
    flex-grow: 1;
    width: 950px;
    padding: 16px;
}
.mr_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 16px;
}
.me_top_left {
    display: flex;
    align-items: flex-end;
}
.cat_pic {

}
.cat_img {
    width: 64px;
}
.cat_title {
    display: flex;
    font-family: Oswald;
    font-size: 27px;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 32px;
}
.cat_breadcramp {
}
.cat_breadcramp > span {
    font-family: Roboto;
}
.cat_middle {
    margin: 16px;
    padding: 16px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: silver;
}
.cat_middle_top {
    font-family: Oswald;
    font-weight: bold;
    font-size: 27px;
}
.cat_middle_middle {
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
}
.cat_middle_bottom {
}
.cat_usearch {
    display: flex;
    background-color: white;
    margin-top: 8px;
    border-radius: 3px;
    min-height: 50px;
}
.us_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto;
    font-size: 14px;
    padding: 12px;
    border-right: 1px solid silver;
}
.us_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto;
    font-size: 14px;
    padding: 12px;
    border-right: 1px solid silver;
}
.us_3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto;
    font-size: 14px;
    padding: 12px;
    border-right: 1px solid silver;
}
.us_4 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto;
    font-size: 14px;
    padding: 12px;
    border-right: 1px solid silver;
}
.us_5 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto;
    font-size: 14px;
    padding: 12px;
    border-right: 1px solid silver;
}
.us_6 {
    display: flex;
}
.us_left {
    display: flex;
    font-family: Roboto;
    font-size: 14px;
    padding-left: 12px;
}
.us_right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0px;
}
.cat_middle_2 {
    display: flex;
    justify-content: flex-end;
    margin: 16px;
    padding-top: 16px;
}
.cm_left {
}
.cm_right {
    display: flex;
    align-items: center;
    font-family: Roboto;
    font-size: 14px;
}
.cblock_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.cblock_wrap .cb_item {
    padding: 16px;
    width: 217px;
}
.img_fil {
    width: 30px;
}
.img_fil_small {
    width: 21px;
}
.cm2_inputs {
    position: relative;
    width: 120px;
    border: 0px;
    outline: 0;
    font-family: Roboto;
    font-size: 12px;
}
.cm2_inputs:focus {
    border: 0px;
    outline: 0;
    font-size: 14px;
}
.buttonImg {
 text-decoration: none;
}
.buttonImgReal {
    width: 24px;
    height: 24px;
    border: 1px solid transparent;
}
.buttonS {
    border: 0px;
    background: transparent;
}
.sendButton {
    background-color: #336aea;
    padding: 8px;
    border-radius: 4px;
    //margin-left: 16px;
    cursor: pointer;

}
.sendButton:hover {
    background-color: #254aa8;

}
.overlay-input {
    position: absolute;
    margin-left: 256px;
    width: 400px;
    height: 58px;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: flex-start;
    align-items: center;
    z-index: 10;
}
.overlay-input.active {
    display: flex;
    border-right: 1px solid silver;
}
.us_2 input,
.us_3 input,
.us_4 input,
.us_5 input {
    background: transparent;
}


.footer_full {
    display: flex;
    justify-content: center;
    height: 300px;
    background: black;
    color: white;
}
.footer_content {
    display: flex;
    justify-content: space-between;
    width: 1240px;
    padding-top: 45px;
    padding-bottom: 32px;
}
.footer_left {
}
.footer_middle {
    font-font: Roboto;
    font-weight: 400;
    font-size: 17px;
    text-align: center;
}
.footer_right {
}

.fl_top {
    color: #feba32;
    font-size: 26px;
    font-family: Oswald;
    font-weight: bold;
    text-transform: uppercase;
}
.footer_logo {
    margin-top: 16px;
    width: 200px;
}

.frl_bottom {

}
.frlb_top {
    display: flex;
    justify-content: space-between;
}
.frlb_bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}
.donate-button {
    width: 300px;
    padding: 8px;
    background-color: #feba32;
    border: 0px solid transparent;
    border-radius: 3px;
    margin-bottom: 12px;
    font-family: Oswald;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: bold;
}
.donate-button:hover {
    background-color: #fe9832;
    transition: 0.3s;
}
.news_titles_links {
    color: black;
}
.fnavig_links {
    color: white;
    font-family: Oswald;
    font-size: 17px;
}
.fnavig_links:hover {
    color: #3f6bac;
    font-family: Oswald;
    font-size: 17px;
}

/* CAROUSEL GPT */

/*.cblock_carousel {*/
/*    display: flex;*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*}*/

/*.cb_item {*/
/*    flex: 0 0 25%; !* Показать 4 элемента одновременно *!*/
/*    transition: transform 0.5s ease;*/
/*}*/

/*.carousel-controls {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 100%;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*}*/

/*.carousel-button {*/
/*    background: rgba(0, 0, 0, 0.5);*/
/*    color: white;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    padding: 10px;*/
/*}*/

/* ------------GET PDF PREVIEW CSS----------- */
.pdf-preview-container {
    width: 100%;
    max-width: 609px;
    margin: 0 auto;
    margin-bottom: 8px;
}

.main-slide {
    width: 100%;
    margin-bottom: 10px;
}

.main-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnails-container {
    display: flex;
    overflow-x: auto;
    padding: 5px 0;
    background-color: #f1f1f1;
    border-radius: 5px;
}

.thumbnails-wrapper {
    display: flex;
    gap: 5px;
}

.thumbnail {
    width: 120px;
    height: auto;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    border: 2px solid #007bff;
    opacity: 1;
}

.main_news {
    display: flex;
    width: 1240px;
    min-height: 300px;
}
.news_left {
    border-right: 2px solid silver;
    display: flex;
    flex-direction: column;
    width: 20%;
    padding-top: 48px;
}
.news_right {
    display: flex;
    flex-direction: column;
    width: 80%;
    padding-left: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
}
.news_right_top {
    display: flex;
    align-items: center;
}
.news_left_title {
    font-family: Oswald;
    font-weight: bold;
    font-size: 24px;
}
.nlr_right {
    font-family: Oswald;
    font-weight: bold;
    font-size: 24px;
    padding-left: 16px;
}
.nlr_right a {
    font-weight: 400;
    margin-left: 16px;
    color: #feba32;
}
.nlr_right a:hover {
    color: #fac252;
}
.news_item {
    display: flex;
    padding-bottom: 32px;
}
.news_item_left {
    width: 25%;
}
.news_item_right {
    width: 75%;
    padding-left: 16px;
    padding-right: 16px;
}
.cb_newsitem_bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.cbib_middle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.n_general {
    padding-top: 32px;
    padding-bottom: 32px;
}
.news_item_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Oswald;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 2px solid silver;
    padding-bottom: 8px;
}
.news_item_name {
    color: #feba32;
}
.news_item_date {
    padding-left: 64px;
}

.news_item_content {
    padding-top: 8px;
    padding-bottom: 8px;
}
.news_read_links {
    color: #feba32;
}
.news_read_links:hover {
    color: #3f6bac;
}

.plugRegBox .cb_item {
    padding: 0px;
    padding-bottom: 16px;
}

.news_left_middle {
    padding-top: 45px;
    padding-bottom: 32px;
    padding-right: 32px;
}
.cbi_t {
    padding-right: 4px;
}
.plugRegBox .cbi_t {
    font-size: 13px;
}
.cbib_left {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cbib_right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*-------news gallery images-----------*/
.gallery-container {
    width: 100%; /* Убедимся, что родитель имеет 100% ширины */
    max-width: 100%; /* Чтобы ширина не ограничивалась */
}
     /* Стили для видео */
 .gallery-video {
     width: 100%;
     height: auto;
     padding: 16px 0; /* Отступы сверху и снизу */
     display: block;
 }

/* Стили для изображений */
.gallery-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
}

/* Галерея из 2 колонок */
.gallery.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Галерея из 3 колонок */
.gallery.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Обеспечение одинаковой высоты изображений в галерее из трех колонок */
.gallery.three-columns .gallery-image {
    height: 200px; /* Фиксированная высота */
    object-fit: cover; /* Обрезаем изображение, сохраняя пропорции */
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Фон модального окна */
}

/* Контент модального окна */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%; /* Ограничиваем максимальную ширину изображения */
    max-height: 90%; /* Ограничиваем максимальную высоту изображения */
    width: auto; /* Ширина по содержимому */
    height: auto; /* Высота по содержимому */
    object-fit: contain; /* Сохраняем пропорции изображения */
}

/* Кнопка закрытия */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Стрелки навигации */
.arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    user-select: none;
}

.arrow-left {
    left: 10px;
    transform: translateY(-50%);
}

.arrow-right {
    right: 10px;
    transform: translateY(-50%);
}

/* Стрелки отображаются только если есть куда листать */
.arrow.disabled {
    display: none;
}
/*---------stars rating--------------*/

.rating-message {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-bottom: 0px;

}
.rating-stars {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rating-stars img {

    width: 40px;
    cursor: pointer;
    margin-right: 5px;
}

.rating-stars img.filled {
    filter: brightness(0.9) saturate(1.5); /* Эффект для закрашенных звезд */
}

.nlr_left {
    display: flex;
}
.att-files-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.att-files-links {
    color: black;
}
.att-files-links:hover {
    color: #3f6bac;
}
.download-file-link {
    color: black;
}
.resource-tags {
    font-size: 14px;
    //background: rgba(0,0,0,0.05);
    //border-radius: 2px;
    //border: 1px solid green;
    padding: 4px;
}

.top_site_info {
    background-color: rgba(0,0,0,0.1);
    padding: 24px;
    border-radius: 10px;

}
.res_b {
    display: flex;
    padding-top: 16px;
}
.tg-share-button {
    padding-left: 8px;
}
.fb-share-button {

}
.res_bottom {
    display: flex;
    justify-content: flex-end;
}

.login_buttons a {
    letter-spacing: 1px;
}

#formFieldsContainer {
    display: flex;
    flex-wrap: wrap;
}

.active-lang {
    color: white; /* Выделяем выбранный язык белым */
}

/*----------------*/

.search-result-item {
    display: flex;
    margin-bottom: 16px;
}

.description-table {
    display: table;
    width: 100%;
    border-spacing: 0; /* Убираем промежутки между ячейками */
}

.description-row {
    display: table-row;
}

.description-cell-left {
    display: table-cell;
    width: 200px;
    font-weight: bold; /* Выделяем названия параметров */
    padding: 0px 0px; /* Отступы внутри ячейки */
    vertical-align: top; /* Выравнивание текста по верхнему краю */

}

.description-cell-right {
    display: table-cell;
    padding: 0px 0px; /* Отступы внутри ячейки */
    vertical-align: top; /* Выравнивание текста по верхнему краю */

}

.sri-title-link {
    font-family: Oswald;
    font-weight: bold;
    font-size: 22px;
    color: #feba32;
}
.sri-title-link:hover {
    color: #feba32;
}
.sri-cat {
    font-family: Oswald;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 0px;

}
.cbi_search {
    display: flex;
    justify-content: space-between;
    width: 220px;
}
.sri_rsubtop {
    margin-bottom: 8px;
    border-bottom: 2px solid silver;
}
.sri-right {
    width: 100%;
    padding-left: 16px;
}
.sri-description {
    font-family: 'Myriad Pro R';
    font-size: 15px;
}

.pagination a {
    all: unset; /* Сбрасывает все стандартные стили */
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    border-radius: 5px; /* Если нужно сохранить скругления */
}

.pagination a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none; /* Убирает воздействие на изображение */
}

.pagination a:focus,
.pagination a:active {
    outline: none; /* Убирает обводку при фокусе */
    box-shadow: none; /* Убирает тени при нажатии */
}

.pagination a:hover {
    background-color: transparent; /* Убирает фоновый цвет при наведении */
}
