@font-face {
    font-family:DMSans;
    src: url('../fonts/DM Sans/DMSans-Bold.ttf'),
    url('../fonts/DM Sans/DMSans-BoldItalic.ttf'),
    url('../fonts/DM Sans/DMSans-Italic.ttf'),
    url('../fonts/DM Sans/DMSans-Medium.ttf'),
    url('../fonts/DM Sans/DMSans-MediumItalic.ttf'),
    url('../fonts/DM Sans/DMSans-Regular.ttf');
}
@font-face {
    font-family:Marcellus;
    src: url('../fonts/Marcellus/Marcellus-regular.ttf');
}
.news_main_container{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    object-fit: cover;
    justify-content: center;
}
.news_main_container_text{
    color: black;
    margin-left: 2rem;
    font-size: 80px;
    font-family: Marcellus;
}
.news_main_container_img{
    min-width: 173px;
    max-width: 350px;
    max-height: 550px;
    margin-right: 2rem;
    object-fit: cover;

}
.news_module_description{
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.news_module_description_text{
    color: black;
    font-size: 16px;
    font-family: "DMSans";
}
.main_news_container{
    display: flex;
    flex-direction: row;
    margin-bottom: 3rem;
    column-gap: 3rem;
    height: auto;
}
.main_news_image{
    max-width: 50%;
    min-width: 35%;
    object-fit: contain;
}
.main_news_image img{
    width: 100%;
    object-fit: cover;
    height: fit-content;
}
.main_news_info{
    max-width: 50%;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    height: auto;
    min-width: 40%;
}
.main_news_title{
    font-family: Marcellus;
}
.main_news_title h1{
    text-align: left;
    font-family: Marcellus;
    color: #0007c2;
    font-size: 30px;
}
.main_news_text *{
    background-color: transparent !important;
    color: unset !important;
}
.main_news_text p{
    line-height: 1.6;
}
.news_hr{
    border-top: 1px solid #0007c2;
}
.news_items_container .news_hr{
    border-top: 1px solid #0007c2;
    margin-right: 4rem;
    margin-left: 4rem;
    margin-top: 0;
    margin-bottom: 0;
}
.news_items_container .news_hr:first-of-type{
    margin-top: .5rem;
}
.main_news_btn_container{
    display: flex;
    justify-content: flex-end;
    height: 100%;
}
.main_news_btn{
    height: 30px;
    margin-top: auto;
}
.main_news_btn a{
    border-radius: 5px;
    height: auto;
    border: none;
    color: #0007c2;
    padding: .5rem;
    font-family: Marcellus;
    font-size: 0.8rem;
    display: inline-block;
    text-transform: uppercase;
}
.main_news_btn a:hover{
    background-color: #F0EEEA;
    cursor: pointer;
}
.news_item_btn{
    display: flex;
    margin-bottom: 3.5rem;
    text-transform: uppercase;
}
.news_item_btn a{
    border-radius: 5px;
    height: auto;
    border: none;
    color: #0007c2;
    margin: auto;
    margin-top: 10px;
    padding: .5rem;
    font-size: 12px;
    font-family: Marcellus;
}
.news_item_btn a:hover{
    background-color: #F0EEEA;
    cursor: pointer;
}
.news_tag_list_container{
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.news_tag_list{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}
.tag_list_item{
    text-align: center;
    color: unset;
}
.tag_list_item .separator{
    margin-right: 1rem;
    margin-left: 1rem;
}
.tag_list_item:last-of-type .separator{
    display: none;
}
.tag_list_item a:hover{
    text-decoration: underline;
    padding-bottom: 3px;
}
.news_items_container{
    display: grid;
    margin-top: 3rem;
    height: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}
.news_item_card{
    max-width: 30rem;
    margin: auto;
    margin-top: 0;
}
.news_item_card img{
    width: 96%;
    object-fit: cover;
    height: 20rem;
    display: flex;
    margin: auto;
}
.news_item_text h2{
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    color: unset;
    font-weight: bolder;
    font-size: 16px;
    font-family: Marcellus;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}
.news_item_text h2 a{
    color: #363636 ;
}
.tag_list_item a{
    cursor: pointer;
    color: unset;
    font-size: 14px;
    font-family: Marcellus;
}
.news_item_tags{
    height: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
    display: flex;
    column-gap: 1rem;
    justify-content: center;
}
.news_item_tags .news_item_tags_container:last-of-type{
    margin-right: 0;
}
.news_item_tags_container{
    display: flex;
    height: 100%;
    flex-direction: row;
    column-gap: 3px;
    max-height: 25px;
    margin-right: 3rem;
}
.pagination {
    display: flex;
    justify-content: center;
}
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.pagination a.pagination_active {
    background-color: #0007c2;
    color: white;
}
.main_news_tags{
    height: auto;
    display: flex;
    flex-direction: row;
    column-gap: .5rem;
    color: #7a7a7a;
}
.news_item_tags img{
    max-width: 15px;
    height: auto;
    object-fit: contain;
}
.news_item_tag{
    margin-bottom: 0;
    display: contents;
}
.main_news_tags img{
    height: 100%;
    max-width: 15px;
    object-fit: contain;
}
.main_news_tags span{
}
.main_news_tag span{
    margin-top: 3px;
    font-size: 12px;
}
.main_news_tag{
    margin-bottom: 0;
    margin-right: 0;
}
.main_news_tags .main_news_tag:last-of-type{
    margin-right: 0;
}
.main_news_tags .main_news_tag{
    margin-right: 3rem;
    width: auto;
    max-height: 21px;
    display: inline-flex;
    column-gap: 3px;
}
#main a:not(.a-list-item):first-letter{
    text-transform: uppercase !important;
}
@media (max-width: 1000px) {
    .main_news_container{
        flex-direction: column;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .main_news_tags{
        margin: auto;
    }
    .main_news_image {
        max-width: 100%;
    }
    .main_news_info {
        max-width: 100%;
    }
    .news_items_container{
        display: grid;
        margin-top: 2rem;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        grid-row-gap: 1.5rem;
        grid-column-gap: 1rem;
        justify-items: center;
    }
}
/*DETAIL*/

.detail_main_news_container{
    flex-direction: column;
    display: flex;
    margin-bottom: 3rem;
    column-gap: 3rem;
    height: auto;
}
.detail_main_news_image {
    max-width: 100%;
    align-self: center;
}
.detail_main_news_image img {
    object-fit: cover;
    min-width: 55rem;
    max-width: 65rem;
    max-height: 40rem;
}
.detail_main_news_info {
    max-width: 100%;
}
.detail_main_news_info .main_news_tags {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.news-action{
    max-height: 50px;
    height: 45px;
    margin-left: 0;
    display: flex;
    margin-right: 0;
    justify-content: space-between;
}
.news-action img{
    height: 80%;
}
.only-next{
    display: flex !important;
    justify-content: flex-end !important;
}
.date_tag{
    width: auto;
}
.tag_list_item_active>a {
    font-weight: bolder;
    color: #0007c2 !important;
}
.news_item_tags_container .main_news_tag_separator:last-of-type{
    display: none;
}
.main_news_tag .main_news_tag_separator:last-of-type{
    display: none;
}
.news-action>a:hover{
    background-color: #F0EEEA;
    border-radius: 5px;
}
.news_action_text{
    text-decoration: none;
    color: #0007c2;
    display: inline-block;
}
.previous-gallery{
    padding-top: 6px;
    padding-right: 7px;
}
.next-gallery{
    padding-top: 6px;
    padding-left: 7px;
}
.detail_final_hr{
    border-bottom: 1px solid #0007c2;
    margin-top: 5rem;
}
.detail_main_news_info .main_news_tags img{
    margin-top: 4px;
}
.news_item_tags_container span{
    font-size: 12px;
    color: #7a7a7a;
}
.detail_main_news_tag{
    margin-bottom: 0;
    margin-right: 3rem;
    display: flex;
}
.detail_main_news_tag .main_news_tag_separator:last-of-type{
    display: none;
}
.detail_main_news_tag img{
    margin-top: 0 !important;
    max-height: 20px;
}
.detail_main_news_tag span{
    font-size: 12px;
}
#wrapper .breadcrumb-bar{
    width: 1680px !important;
    margin: auto;
    max-width: 100%;
    padding-left: 5rem;
}
#main h1:not(.error-number){
    line-height: 2.9rem;
    letter-spacing: normal !important;
    text-transform: lowercase;
}
#main h1:first-letter{
    text-transform: uppercase !important;
}
#main h2{
    line-height: 1.5rem !important;
    letter-spacing: normal !important;
    text-transform: lowercase;
}
#main h2:first-letter{
    text-transform: uppercase !important;
}

#main span:not(.main-tag-text){
    text-transform: lowercase;
}
#main span:first-letter{
    text-transform: uppercase !important;
}
.main_news_btn a:first-letter{
    text-transform: uppercase !important;
}
.title-404 h1{
    line-height: 5.9rem !important;
    text-transform: uppercase !important;
}
#notifications .alert{
    visibility: hidden;
}
@media (max-width: 2000px){
    .news_items_container {
        display: grid;
        margin-top: 3rem;
        height: auto;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }
}
@media (max-width: 1400px){
    .news_items_container {
        display: grid;
        margin-top: 3rem;
        height: auto;
        grid-template-columns: 1fr 1fr ;
        grid-template-rows: 1fr;
    }
    .news_action_text{
        display: none;
    }
    .detail_main_news_image img{
        max-width: 100%;
        align-self: center;
        width: 100%;
        min-width: unset;
        max-height: unset;
    }
    .detail_main_news_image {
        max-width: 100%;
        align-self: unset;
    }
}
@media (max-width: 800px){
    .news_items_container {
        display: grid;
        margin-top: 3rem;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
}
@media (max-width: 767px){
    .news_main_container h1{
        width: 100%;
        display: block;
        margin-left: -60%;
        justify-content: center;
    }
    .news_main_container_img {
        max-width: 350px;
        width: 180px;
        height: 240px;
        object-fit: fill;
        margin-left: 3rem;
        margin-right: 0;
        min-height: unset;
        min-width: unset;
    }
    .main_news_container {
        display: flex;
        margin-bottom: 3rem;
        column-gap: 3rem;
        height: auto;
    }
    .main_news_tags {
        height: auto;
        display: flex;
        flex-direction: row;
        column-gap: .5rem;
        margin: auto;
    }
    .main_news_info {
        max-width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .detail_main_news_container {
        flex-direction: column;
        display: flex;
        margin-bottom: 3rem;
        column-gap: 3rem;
        height: auto;
    }
    .detail_main_news_image img {
        object-fit: contain;
        min-width: unset;
        max-width: unset;
        max-height: 40rem;
    }
    .detail_main_news_info {
        max-width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .news-action {
        max-height: 50px;
        height: 45px;
        margin-left: 0;
        display: flex;
        margin-right: 0;
        justify-content: space-between;
    }
}
