@media (min-width: 1180px) {
  .filecover {
position: relative;
float: left;
width: 220px;
height: 190px;
padding: 1%;
margin: 0px 30px 10px;
border-top: 4px solid rgba(0, 0, 0, 0.16); 
-moz-box-shadow: 0 4px 5px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 4px 5px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 4px 5px 0px rgba(0, 0, 0, 0.16);
overflow:hidden;
 }
}

@media (max-width: 1179px) {
  .filecover {
position: relative;
float: left;
width: 220px;
height: 190px;
padding: 1%;

margin: 0px 63px 10px;
border-top: 4px solid rgba(0, 0, 0, 0.16); 
-moz-box-shadow: 0 4px 5px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 4px 5px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 4px 5px 0px rgba(0, 0, 0, 0.16);
overflow:hidden;
 }
}

.mainfilecover {margin-top: 20px;}

.filecover h2 {
 margin-top: 2px;
 width:220px; height:20px;
 text-overflow: ellipsis; 
 overflow: hidden; 
 white-space: nowrap; 
}
.filecover span {
left: 0px;
bottom: 0;
position: relative;
top:-25px;
width: 100%;
box-sizing: border-box;
color: #FFF;
padding: 7px;
opacity: 0.5;
background-color: #000;
font-family: Arial,Helvetica,sans-serif;
word-wrap: break-word;
 text-overflow: ellipsis; 
 overflow: hidden; 
 white-space: nowrap; 
}

.filecover img {
width:210px;
height:112px;
padding:2px;
}

.filecover:hover {
border-top: 4px solid f#3CB371; 
-moz-box-shadow: 0 2px 3px 0px #3CB371;
-webkit-box-shadow: 0 2px 3px 0px #3CB371;
box-shadow: 0 2px 3px 0px #3CB371;
   }
#fedit {
background:rgb(208,0,0);
color:#FFF;
padding:3px;
width:35px;

}
#fedit a{background:rgb(208,0,0);text-decoration:none;color:#FFF; text-overflow: ellipsis; 
 overflow: hidden; 
 white-space: nowrap;}

.rsrelate {
background: #1e5799;
background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8));
background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
text-align:center;
padding:0.7%;
color:#FFF;
font-size:14px;
border-radius:5px;
}

.faqcont h2 {
font-size:15px;
overflow:hidden;
color:#A0A0A0;
}

#editorchoice {background:#3CB371; color:#FFFFFF;padding:3px;}
#ruslang {background:#9900CC; color:#FFFFFF;padding:3px;}
.adiv1{    
    width: 65%;
    min-height: auto;
    float: left;
}
.adiv2{    
    width: 35%;
    min-height: auto;
    margin-left: auto;
}
/* Контейнер пагинации */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Отступ сверху для отделения от контента */
    margin-bottom: 30px; /* Отступ снизу для отделения от следующего контента */
    font-family: Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

/* Текст пагинации */
.pagination-text {
    font-size: 14px;
    color: #333;
    margin-right: 5px;
}

/* Стиль для элементов пагинации */
.pagination-item {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Стиль для активной страницы */
.pagination-item.current {
    background-color: #000;  /* Черный фон */
    color: #fff; /* Белый текст */
}

/* Элемент пагинации при наведении */
.pagination-item:hover {
    background-color: #f0f0f0;
}

/* Выравнивание пагинации */
.pagination-container {
    clear: both; /* Сброс обтекания элементов */
    width: 100%;
    text-align: center;
    padding-top: 20px;  /* Дополнительный отступ сверху */
}
/* Контейнер fcontent и таблицы внутри */
#fcontent table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 20px 0 !important;
    border: 1px solid #e0e6ed !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    background: #fff !important;
}

#fcontent table th {
    background-color: #f8fafd !important;
    color: #475569 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    padding: 12px 15px !important;
    border-bottom: 2px solid #e0e6ed !important;
    text-align: left !important;
}

#fcontent table td {
    padding: 12px 15px !important;
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Эффект зебры и наведения */
#fcontent table tr:last-child td { border-bottom: none !important; }
#fcontent table tr:hover td { background-color: #fcfdfe !important; }