.blog{
    background-image: url("../img/index-head.jpg");
    background-size: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed; /*  фон остается неподвижным. */
}

.bg {
    padding: 5px; 
    background: rgba(248, 251, 252, 0.1);
    min-height: 700px;
}

.bg h2{
    border: 5px groove #EEEEEE;
    margin-left: 15%;
    margin-right: 15%;
    padding: 2% 2%;
    font-size: 3em;
    background: rgba(248, 251, 252, 0.6);
}

.quote{
    display: flex;
    background: #ffffff;
    text-align: right;
    border-radius: 2em;
}

.quote img{
    height: 120px;
    width: 120px;
    border-radius: 35%;
    border: 8px solid #ffffff;
}
.quote div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;    
}
.quote div p{
    text-align: right;
    font-size: 2.6em;
    margin: 0.5% 5%;
    font-weight: 650;
}

.quote div .fio{
    font-weight: 300;
    font-style: italic;
    font-size: 1.4vw;
}

.wrapper-content{
    display: flex;
    /* flex-wrap: wrap; */
    /* flex-direction: row; */
    /* width: 80%; */
    justify-content: center;
    margin-left: 15%;
    margin-right: 15%;
    background: #ffffff;
}

.news-blog{
    text-align: left;
    /* background: #ffffff; */
    width: 63%;
    margin-top: 2%;
}
.blog_top h3{
    text-align: center;
    font-size: 125%;
}
.blog_top p{
    text-align: justify;
    font-size: 110%;
    text-indent: 1.5em;
}

.news-blog-div{
    background: #EEEEEE;
    text-align: center;
    padding-bottom: 3%;
    margin-bottom: 3%;
}
.news-blog-div h4{
    /* text-align: left; */
    font-size: 2em;
    /* padding-left: 3%; */
    padding-bottom: 1%;
}
.news-blog-div iframe{
    width: 92%;
    height: auto;
    min-height: 560px;
}

.news-blog-div p{
    text-align: justify;
    font-size: 1.1em;
    /* text-indent: 4%; */
    margin: 1% 4%;
}


.big-table {
	overflow: auto;
	position: relative;
}

.big-table table {
	vertical-align: top;
	max-width: 100%;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
    text-align: center;
    border: 2px double black; /* Рамка вокруг таблицы */
    border-collapse: collapse;
}

.big-table table th {
    text-align: center; 
    background: #ccc; /* Цвет фона ячеек */
    padding: 5px; /* Поля вокруг содержимого ячеек */
    border: 1px solid black; /* Граница вокруг ячеек */
}
.big-table table td {
    padding: 5px; /* Поля вокруг содержимого ячеек */
    border: 1px solid black; /* Граница вокруг ячеек */

}

.big-table table tbody tr:nth-child(odd) {
    background-color: #C9E4F6;/* фон нечетных строк */
}

.big-table table tbody tr:nth-child(even) {
    background-color: #B4DAF2;/* фон четных строк */
}

.big-table table tr:hover td{
    background: #B4FFF2;/* фон строки при наведении */
}

th {
    position: -webkit-sticky;
    position: sticky;
    top: -3px; 
    z-index: 2;
}
    


.news-blog-div p img {
    margin-left: -4%;
}

.blog_button{
    text-align: center;
    padding-top: 5%;
    /* margin: 1%; */
    margin-bottom: 5%;
}

.blog_button a{
    font-size: 1.4em;
    color: rgb(247, 247, 252);
    border: 1px solid rgb(5, 5, 39);
    text-decoration: none;
    padding: 1%;
    border-radius: 2px;
    background: linear-gradient(#013564, #0f82e0);
}

.blog_button a:hover{
    color: rgb(1, 1, 190);
    /* background: #3F7E00; */
    background: linear-gradient(#3F7E00, #6EE577);
}


.list_page{
    /* padding: 3% auto; */
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 4% 0;
}

.list_page a{
    text-decoration: none;
    border: 1px solid #013564;
    background: linear-gradient(#44a1f1, #789ab6);
    color: #000000;
    padding: 0.5vw;
    margin: 0.3vw;
    border-radius: 0.4vw;
    font-weight: 800;
}

.list_page a:hover{
    background: linear-gradient(#FDD835, #f6fd92);
}

.list_page a:focus{
    background: linear-gradient(#217906, #24fd08);
}

.news-blog .active_paga{
    background: linear-gradient(#f6fcff, #d3dff8);
    /* text-decoration: none; */
    border: 1px solid #013564;
    /* background: linear-gradient(#44a1f1, #789ab6); */
    color: #000000;
    padding: 0.5vw;
    margin: 0.3vw;
    border-radius: 0.4vw;
    font-weight: 800;
}

/* sidebar */

.sidebar{
    background: #EEEEEE;
    width: 30%;
    /* width: 300px; */
    margin-top: 2%;
    margin-left: 3%;
    /* background: green; */
}

#vkwidget1{
    max-width: 100% !important;
    min-height: 210px;
    /* overflow: hidden;  */
}
/* .news-blog-div iframe{
    width: 92%;
    height: 47vh;

} */
.ramka-5 {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px auto;
    display: flex;
    align-items: center;
    /* justify-content: center;   */
       
}
.ramka-5::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: #BFE2FF;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(#BFE2FF, #BFE2FF), linear-gradient(#337AB7, #337AB7), linear-gradient(#BFE2FF, #BFE2FF), linear-gradient(#337AB7, #337AB7);
    animation: anim-ramka-5 4s linear infinite;
}
.ramka-5::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 6px;
    top: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    background: rgb(233, 240, 247);
    border-radius: 5px;
}
@keyframes anim-ramka-5 {
    100% {
        transform: rotate(1turn);
    }
}

.inside-ramka{
    display: flex;
    flex-direction: column;
    padding: 3%;
}
.inside-ramka h5{
    font-size: 1.1em;
    margin: 1% 0;
    text-align: center;
    color: red;
}
.inside-ramka p{
    font-size: 1em;
    font-family: 'Lora', serif;
    margin: 5px 0;
    text-align: justify;
} 

.chat{
    min-inline-size: 17em;
    /* border: 1px solid red; */
    /* text-align: center; */
    writing-mode: vertical-lr;
    text-orientation: upright;
    position: absolute;
    right: 12%;
    
    text-transform: uppercase;
    font-size: 1.3vw;
}

.chat a{
    padding: 2%;
    color: #000000;
    border: 1px solid #FFFFFE;
    text-decoration: none;
    background: #FDD835;
    margin-top: -6%;
    /* color: #34495e; */
    line-height: 1.2;
    position: relative;
    padding: 2% 3%;
    text-transform: uppercase;
}
.chat a:hover{
    color: antiquewhite;
    border: 4px solid #FFFFFE;
    background: red;
    /* background: #FDD835; */
}

.chat a:after {
    content: "";
    height: 100%;
    min-width: 4px;
    background: #34495e;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: .5s;
 }
.chat a:hover:after {
    min-width: 100%;
    background: #95a5a6;
    opacity: .35;
}


@media screen and (max-width: 2000px) {
    .news-blog-div iframe{
        min-height: 520px;
    }

    .quote div p{
        font-size: 2.2em;
    }
}

@media screen and (max-width: 1800px) {
    .news-blog-div iframe{
        min-height: 460px;
    }

    .quote div p{
        font-size: 2em;
    }
}

@media screen and (max-width: 1600px) {
    .news-blog-div iframe{
        min-height: 420px;
    }

    .quote div p{
        font-size: 1.8em;
    }
}

@media screen and (max-width: 1400px) {
    .news-blog-div iframe{
        min-height: 380px;
    }
    .quote div p{
        font-size: 1.6em;
    }
    .quote div .fio{
        font-size: 1.3em;
    }
}

@media screen and (max-width: 1200px) {
    .news-blog-div iframe{
        min-height: 330px;
    }
    .quote div p{
        font-size: 1.5em;
    }
    .quote div .fio{
        font-size: 1.2em;
    }
}

@media screen and (max-width: 900px) {
    .wrapper-content{
        display: block;
        /* flex-wrap: wrap; */
        /* flex-direction: column; */
        /* width: 80%; */
        justify-content: center;
        /* margin-left: 15%; */
        /* margin-right: 15%; */
        background: #ffffff;
        
    }

    .quote div p{
        font-size: 1.3em;
    }
    
    .quote div .fio{
        font-size: 1.2em;
    }
    .news-blog {
        width: 100%;
    }

    .blog_top{
        padding: 3%;
    }

    .news-blog-div iframe{
        /* width: 92%; */
        height: auto;
        min-height: 280px;
    }

    .sidebar{
        width: 94%;
    }

}

@media screen and (max-width: 600px) {
    .bg{
        margin-top: 2%;
    }

    .bg h2{
        margin-left: 0%;
        margin-right: 0%;
        font-size: 2em;
    }

    .quote{
        width: 90%;
        margin-left: 3%;
    }
    .wrapper-content {
        margin-left: 1%;
        margin-right: 1%;
    }
   
    .news-blog-div iframe {
        width: 92%;
        height: 26vh;
    }

    .news-blog h3{
        /* text-align: left; */
        font-size: 1.5em;
        padding-left: 3%;
        padding-bottom: 1%;

    }

    /* .news-blog-div p img {
        margin-left: -4%;
    } */
    

}
/* 
@media screen and (max-width: 620px) {
    .news-blog{
        padding: 1% 2%;
    }

}

@media screen and (max-width: 500px) {
    .news-blog{
        padding: 1% 1%;
    }
    .news-blog div ol li{
        margin-left: 8%;
    }

}  */
