@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Extra+Condensed:200,300,400,500,500i,600,700,800,900|Roboto:300,400,500,700,900&display=swap');
a{
    cursor: pointer;
    text-decoration: none;
}
.news .container{
    padding-top: 83px;
}
.img_block{
    position: relative;
    max-height: 532px;
    overflow: hidden;
    min-height: 120px;
}
.img_block > img , .open_post_img > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bottom_img{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 74.2%;
    background: #FA8631;
    border-radius: 0 100px 0 0;
    height: 130px;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 20px 50px 15px 30px;

}
.bottom_img .date{
    font-size: 16px;
    margin-bottom: 10px;
}
.bottom_dscr{
    font-family:  'Roboto', sans-serif;
    font-weight: bold;
    font-size: 22px;
    line-height: 140%;

}
.post_text{
    font-family:  'Roboto', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 21px;
    line-height: 140%;
    color: #5F5F5F;
    margin-top: 30px;
    padding: 0 30px;
    line-height: 140%;
}
.post:not(:first-child){
    margin-top: 80px;
}
.sidebar{
    font-family:  'Roboto', sans-serif;
    font-style: normal;
    color: #5F5F5F;
}
.sidebar_header{
    font-weight: bold;
    font-size: 32px;
    line-height: 60px;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
}
.sidebar li {
    font-style: normal;
    font-weight: normal;
    font-size: 21px;
    line-height: 140%;
    position: relative;
    list-style: none;
}
.sidebar li a{
    color: #5F5F5F;
}
.sidebar_date{
    line-height: 60px;
    display: flex;
    align-items: center;
    color: #A7A7A7;
}
.sidebar li::before{
    content: '';
    position: absolute;
    top: 14px;
    left: -35px;
    width: 15px;
    height: 4px;
    background: #FA8631;
}
.more_sidebar{
    background-color: #F0F0F0;
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -10px;
    left: 0;
}
.page-link{
    font-style: normal;
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    color: #5F5F5F;
    border: none;
    background-color: transparent;
    margin-right: 20px;
    padding: .3rem .75rem;

}
.page-item.active .page-link{
    background: #FA8631;
    border-radius: 50%;
    
}


.page-numbers.current{
  font-style: normal;
    font-weight: 500;
    font-size: 21px;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    
    border: none;
    background-color: transparent;
    margin-right: 20px;
    padding: .3rem .75rem;
  background: #FA8631;
  border-radius: 50%;
  z-index: 1;
    color: #fff;
}


.posts nav{
    margin-top: 120px;
}
.page-item.disabled .page-link{
    display: none;
}
.page-link:hover{
    color: #5F5F5F;
    text-decoration: none;
    background-color: transparent;
    border:none;
}

.sticky {
    position: fixed;
    z-index: 1;
    top: 100px !important;
     max-height: calc(100vh - 100px) !important;
    overflow: scroll;
 /* box-shadow: none !important; */
}
.sidebar_wrap{
    position: relative;
    padding-bottom: 50px;
    max-height: calc(100vh - 200px);

}
.sidebar{
    overflow: scroll;
    max-height: calc(100vh - 200px);
}

.stop {
    position: relative;
    z-index: 1;
}

.rot{
    transform: rotate(180deg);
}

.btn_side{
    display: none;
}


/* news open  */



.news_open{
    font-family:  'Roboto', sans-serif;
}

.news_open .row{
    padding-top: 70px;
    justify-content: center;
}
.post_header{
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 140%;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3E3E3E;

}
.open_post_date{
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #A7A7A7;
    margin-bottom: 30px;
    margin-top: 15px;
}
.open_post_text{
    font-style: normal;
    font-weight: normal;
    font-size: 21px;
    line-height: 140%;
    color: #5F5F5F;
    margin-top: 70px;
}
.open_post_img{
    position: relative;
    max-height: 544px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.links{
    text-align: center;
    font-weight: 500;
    font-size: 21px;
    line-height: 36px;
    letter-spacing: 0.05em;
    position: relative;
    margin: 100px 0 ;

}
.links::before{
    content: '';
    width: 1px;
    height: 100%;
    width: 1px;
    background: #A7A7A7;
    position: absolute;
    top: 0;
    left: 50%;
}
.links a{
    color: #FA8631;
    cursor: pointer;
    min-width: 60px;
    display: inline-block;
}
.links a:first-child{
    color: #5F5F5F;
    margin-right: 60px;
}
.links a:first-child:hover{
    color: #FA8631;
}

p.bottom_dscr a {
  color: #fff;
}

/* media */
@media(max-width:1600.8px){
    .sidebar li{
        font-size: 18px;
    }
    .bottom_img{
        height: 100px;
        padding: 10px 30px 15px 20px;
    }
    .bottom_dscr{
        font-size: 18px;
    }
    .post_text{
        font-size: 19px;
    }
}
@media(max-width:1199.8px){
    .sidebar li{
        font-size: 16px;
    }
 
    .bottom_dscr{
        font-size: 16px;
    }
    .post_text{
        font-size: 18px;
    }
    .sidebar_date{
        line-height: 40px;
    }
    .sidebar_header{
        font-size: 28px;
        line-height: 50px;
    }
    .posts nav{
        margin-top: 80px;
    }
}
@media(max-width:991.9px){
    .post_header{
        font-size: 25px;
    }
    .close_btn{
        position: absolute;
        top: 40px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
    .btn_side{
        display: block;
        position: fixed;
        right: 0;
        top: 9vh;
        font-size: 40px;
        z-index: 10;
        transition: all 1s;
    }
    .btn_side img{
        width: 40px;
        height: 40px;
    }

    .btn_side span {
        background: #c4c4c4;
        font-size: 0.5em;
        display: block;
        position: absolute;
        top: 0;
        width: max-content;
        right: 0;
        color: #fff;
        padding-right: 5px;
    }
    
    .btn_side img {
        position: absolute;
        right: 141px;
        top: -5px;
    }

    .sidebar{
        position: static;
        width: 100vw;
        padding-top: 30px;
        background-color: #FFFFFF;
        max-height: 100vh;
        overflow: scroll;
        padding-left: 15px;
        height: 100vh;
    }
    .show_sidebar{
        transform: translateX(-100vw);
        z-index: 999;
        height: 100vh;
    }
   .show_sidebar .more_sidebar{
        bottom: 0;
        left: 0;
        position: fixed;
    }
    .sidebar_wrap{
        transition: all 1s;
        right: -100vw;
        top: 0;
        position: fixed;
        height: 100vh;
        overflow: hidden;
        max-height: none;
    }
}
@media(max-width:576px){
    .post_text{
        padding: 0;
    }
    .img_block{
        height: auto;
    }
    .bottom_img{
        position: static;
        width: 100%;
        height: auto;
        border-radius: 0;
        padding: 10px 20px;

    }
    .page-link{
        font-size: 19px;
        margin-right: 10px;
    }
    .page-item:last-child{
        display: none;
    }
}
@media(min-width:992px){
    #style-2::-webkit-scrollbar-track
    {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #F5F5F5;
    }

    #style-2::-webkit-scrollbar
    {
        width: 12px;
        background-color: #F5F5F5;
        
    }

    #style-2::-webkit-scrollbar-thumb
    {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #FA8631;
    }
    .close_btn{
        display: none;
    }
}