@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,600;0,700;0,900;1,600;1,700&display=swap');

*{
    list-style-type: none;
}

*:focus{
    outline: 0;
}

html,body{
    width: 100%;
    position: relative;
}


/* section */

.section{
    display: flex;
    flex-direction: column;
    width: 70%;
    margin: 40px 5% 0 0;
    /*background-color:white;*/
    padding-bottom: 80px;
    position: relative;
}

.section .title{
    width: 100%;
    height: 45px;
    color: white;
    background-color: #2b2b2b;
}

.pages{
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.pages a{
    color: #333;
    border: 1px solid #333;
    transition: .2s;
    border-radius: 2px;
    padding: 5px 12px;
}

.pages a:last-child:hover{
    background: #ef6262;
}

.pages a:hover{
    background: #333;
    color: #fff;
    text-decoration: none;
}

.more-button{
    border: none !important;
    background: transparent !important
}

.more-button:hover{
    color: black !important;
}

.pages a:first-child{
    background: #cc2828;
    color: #fff;
    text-decoration: none;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.pages a:first-child:hover{
    background: #ef6262;
}

.pages a:last-child{
    background: #cc2828;
    color: #fff;
    text-decoration: none;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.non-clickable{
    color: #adadad !important;
    border: 1px solid #adadad !important;
    background: #eaeaea !important;
    pointer-events: none !important;
}

.section .title h5{
    font-size: 18px;
    line-height: 50px;
    margin-left: 26px;
    font-weight: 600;
    font-family: 'Titillium Web', sans-serif;
    margin-top: -3px;
}


.grey{
    background-color: #fbfbfb;
}

.white{
    background-color: #ffffff;
}

/* news */
.news{
    box-shadow: 0 0 7px 1px rgba(0, 0, 0, 0.5);
    background-color: white;
}

.news .news-inner{
    width: 100%;
    margin-top: 15px;
    padding: 15px;
}

.news .news-inner:first-child{
    margin-top: 0;
}

.news .news-inner:nth-child(2n+1){
    background-color: #eee;
}

.news .news-inner > a{
    display: flex;
    width: 100%;
    color: black;
}

.news .news-inner > a:hover{
    text-decoration: none;
}

.news .news-inner > a:hover img{
    transform: scale(1.1);
}

.news .news-inner > a .news-image{
    width: 30%;
}

.news .news-inner > a .news-image img{
    width: 80%;
    display: block;
    margin: 0 auto;
    transition: 300ms transform;
}

.news .news-inner > a .news-details{
    width: 70%;
}

.news .news-inner > a .news-details .news-details-title{
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.news .news-inner > a .news-details .news-details-description{
    text-indent: 30px;
    margin-bottom: 10px;
}

.news .news-inner > a .news-details .news-details-date p{
    text-align: right;
    font-size: smaller;
}

@media screen and (max-width: 540px){
    .news .news-inner > a{
        flex-direction: column;
    }

    .news .news-inner > a .news-image{
        width: 100%;
        margin-bottom: 5px;
    }

    .news .news-inner > a .news-image img{
        width: 60%;
    }

    .news .news-inner > a .news-details{
        width: 100%;
    }

    .news .news-inner > a .news-details .news-details-title{
        font-size: 1.1em;
    }

    .news .news-inner > a .news-details .news-details-description{

    }
}

@media screen and (max-width: 400px){
    .news .news-inner > a .news-details .news-details-title{
        font-size: 1em;
    }

    .news .news-inner > a .news-details .news-details-description{
        font-size: 14px;
    }
}




.grey{
    background-color: #b1b1b1;
}

.white{
    background-color: #ffffff;
}


.news-all-border{
    position: absolute;
    top: 44.8px;
    width: 2.7%;
    transform: rotate(
            180deg
    );
}

.pages-mobile{
    display: none;
}

.section-outer{
    width: 90%;
    display: flex;
    max-width: 1333.4px;
    margin: auto;
    justify-content: space-between;
}

.section-outer .news-all{
    width: 25%;
    margin-top: 40px;
    background-color: rgba(43, 43, 43, 0.4);
    position: relative;
}

.news-all .title h4{
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    z-index: 2;
    margin-left: 0;
    padding: 0 0 0 16px;
    line-height: 45px;
    height: 45px;
    background-color: #2b2b2b;
}

.news-all .title div:nth-of-type(1){
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 25.5px);
    height: 45px;
    background-image: url(../images/side-menu-bg.png);
}

.news-all .all-news{
    margin-top: 15px;
    padding: 5px 0 5px 16px;
}

.news-all .all-news .news-col{
    width: 90%;
}

.news-all .all-news .news-col .news-col-left{
    width: 100%;
    float: left;
    border-left: 5px solid white;
    display: inline;
    margin-bottom: 20px;
    transition: 300ms all;
}

.news-all .all-news .news-col .news-col-left:hover{
    border-color: #DA2C1C;
}

.news-all .all-news .news-col .news-col-left:hover *{
    color: #DA2C1C !important;
    transition: 300ms all;
}

.news-all .all-news .news-col .news-col-left a{
    text-decoration: none;
    color: white;
    font-size: 15px;
}

.news-all .all-news .news-col .news-col-left a .all-news-title,
.news-all .all-news .news-col .news-col-left a .news-date,
.news-all .all-news .news-col .news-col-left a .news-details{
    padding: 0 0 0 15px;
    margin: 0;
    color: white;
    font-weight: 400;
    line-height: 100%;
}

.news-all .all-news .news-col .news-col-left a .news-date i{
    margin-right: 4px;
}

.news-all .all-news .news-col .news-col-left a .news-date{
    margin-top: 10px;
    font-size: 12px;
}

.news-all .all-news .news-col .news-col-left a .all-news-title{
    font-weight: 250;
    opacity: 0;
}

.news-all .all-news .news-col .news-col-left a:hover .all-news-title{
    opacity: 1;
    margin-top: 5px;
    margin-left: 15px;
    transition: 500ms all;
}

@media screen and (max-width: 1024px){

    .news-details{
        width: 100%;
        padding-right: 10px !important;
    }

    .section-outer{
        flex-direction: column;
    }
    .news-all{
        width: 100%!important;
    }

    .section{
        width: 100%;
    }

    .pages{
        display:none;
    }

    .pages-mobile{
        display: flex;
        position: absolute;
        justify-content: center;
        bottom: 15px;
        width: 100%;
        text-align: center;
        align-items: center;
}

.pages-mobile a i{
    font-size: 35px;
    color: #333;
}


.pages a{
    color: #333;
    padding: 0 6px;
}

}

@media screen and (max-width: 500px){

    .pages-mobile a i{
        font-size: 35px
    }

    .news .news-image-date .news-image a{
        display: flex;
    }

    .news .news-image-date .news-image img{
        max-width: 100px;
        margin: auto;
    }

    .news-details-title{
        font-size: 15px;
    }

    .news .news-image-date .news-date .news-day,
    .news .news-image-date .news-date .news-month-day{
        width: 40px;
        height: 40px;
        font-size: 11px;
    }

    .news .news-image-date .news-date .news-month-day .news-month{
        font-size: 9px;
    }

    .news .news-image-date .news-date .news-month-day .news-day-number{
        font-size: 15px;
    }

    .news-image-date{
        max-height: 100px !important;
    }

    .news .news-image-date .news-image{
        width: 100%;
        margin: 10px 0;
    }

    .news .news-details{
        margin-top: 10px;
    }

    .news .news-image-date .news-date{
        display: none;
    }

}

@media screen and (max-width: 400px){
    .news .news-image-date .news-image{
        min-width: 50%;
    }
}

@media screen and (max-width: 300px){
    p{
        font-size: 11px !important;
    }
}

@media only screen and (max-width: 210px){

    p{
        font-size: 9px !important;
    }

    .news-image-date{
        max-height: 50px !important;
    }
}
