@import url('/static/fonts/font-awesome-4.7.0/css/font-awesome.min.css');
@import url('/static/js_library/aos.css');


* {
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* color: #084d4d #1da59a; */

.newsWhiteSpace {
    height: 9em;
}

/* ------------------------------------------------------------------------------------ */

.newsContainer {
    padding: 1em;
    display: flex;
    flex-direction: column;
    row-gap: 2em;
}

.NewsMainContainer {
    background-color: #F6F6F6;
}

.newsHeader {
    text-align: left;
    padding: 2em;
}

.newsGoHomeBtn {
    position: fixed;
    top: 2em;
    left: 2em;
    font-size: 1.7em;
    font-weight: 600;
    padding: 0.3em 0.7em;
    border-radius: 15%;
    background-color: #1da59abe;
    border: 2px solid #084d4d;
    color: white;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: 0.3s;
    z-index: 10;
}

.newsGoHomeBtn:hover {
    background-color: #084d4d;
}

.newsGoHomeBtn:active {
    opacity: 60%;
}

.newsSearchForm {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1em;
    padding: 1em 0;
}

.newsSearchForm input {
    width: 80%;
    font-size: 1.2em;
    font-weight: 600;
    border: none;
    border-radius: 0.5em;
    outline: none;
    padding: 0.5em;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.newsSearchForm button {
    font-size: 2em;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    background: none;
}

.newsSearchForm button:hover {
    transform: scale(115%);
}

.newsSearchForm button:active {
    opacity: 60%;
}

.newsAllBox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
}

.newsBox {
    display: flex;
    flex-direction: column;
    row-gap: 1em;
    width: calc(calc(100% / 3) - 2em);
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
    border-radius: 1em;
}

.newsBoxImage {
    width: 100%;
}

.newsBoxImage img {
    width: 100%;
    transition: 0.3s;
    border-radius: 1em 1em 0 0;
}

.newsBoxDetailsBtn-div {
    width: 100%;
    display: flex;
    justify-content: left;
    margin-top: -2.4em;
}

.newsBoxDetailsBtn {
    margin-left: 1em;
    font-size: 1.3em;
    font-weight: 600;
    padding: 0.3em 1.7em;
    border-radius: 10%;
    transition: 0.3s;
    text-decoration: none;
    background-color: #349DDF;
    border: 2px solid #007aff;
    width: fit-content;
    color: white;
    transition: 0.3s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.newsBoxDetailsBtn:hover {
    background-color: #007aff;
}

.newsBoxDetailsBtn:active {
    opacity: 70%;
}


.newsBoxDetails {
    display: flex;
    flex-direction: column;
    line-height: 2em;
    row-gap: 1em;
    padding: 1em;
}

.newsBoxTeller {
    font-size: 1.1em;
    color: #1da59a;
}

.newsBoxTitle a {
    font-size: 0.9em;
    font-weight: 600 !important;
    color: #084d4d;
    text-decoration: none;
    transition: 0.3s;
}

.newsBoxTitle a:active {
    opacity: 50%;
}

.newsBoxImage img:active {
    opacity: 70%;
}

.newsBoxInfo {
    font-size: 1em;
    font-weight: 600;
    color: #7B8187;
}

.newsBoxTime {
    font-size: 1em;
    color: #084d4d;
    font-weight: 600;
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
}

.step-links a {
    padding: 0.3em 0.7em;
    font-size: 1.3em;
    background-color: #084d4d;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.pagination-active-page {
    border: 3px solid #8dd3d3;
    color: #8dd3d3 !important;
}

.paginator-nextBtn {
    border-radius: 0 1em 1em 0;
    margin-left: 1em;
    cursor: pointer;
}

.paginator-previousBtn {
    border-radius: 1em 0 0 1em;
    margin-right: 1em;
    cursor: pointer;
}








@media only screen and (max-width: 1023.98px) {
    .newsBox {
        align-items: center;
        width: calc(calc(100% / 2) - 2em);
    }
    
    .newsBoxTeller {
        font-size: 0.9em;
    }
    
    .newsBoxInfo {
        font-size: 1em;
    }
    
    .newsBoxTime {
        font-size: 0.8em;
    }

    .newsBoxTitle a {
        font-size: 1em;
    }   
}







@media only screen and (max-width: 767.98px) {
    .newsAllBox {
        row-gap: 3em;
    }

    .newsBox {
        align-items: center;
        flex-wrap: wrap;
        border: 2px solid #084d4d;
        width: 90%;
    }

    .newsGoHomeBtn {
        position: fixed;
        top: 2em;
        left: 1em;
        font-size: 1.2em;
        padding: 0.3em 0.7em;
    }

    .newsSearchForm {
        gap: 0.5em;
    }
    
    .newsSearchForm input {
        width: 75%;
        font-size: 1em;
        
    }
    
    .newsSearchForm button {
        font-size: 1.5em;
        
    }

    .pagination {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .step-links a {
        padding: 0.3em 0.5em;
        font-size: 1.1em;
        background-color: #084d4d;
        color: white;
        cursor: pointer;
        text-decoration: none;
    }

    .pagination-active-page {
        border: 3px solid #8dd3d3;
        color: #8dd3d3 !important;
    }

    .paginator-nextBtn {
        border-radius: 0 1em 1em 0;
        margin-left: 0.5em;
        cursor: pointer;
    }

    .paginator-previousBtn {
        border-radius: 1em 0 0 1em;
        margin-right: 0.5em;
        cursor: pointer;
    }
}