
h1,
h2,
h3 {
    font-family: "iranyekanextrablack", Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

a,
a:hover {
    color: inherit;
}

li {
    list-style: none;
}

@media (min-width: 576px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

.brdr-12 {
    border-radius: 12px;
}

.object-fit {
    object-fit: cover;
}

.dark-title {
    color: #212529;
}
/*-----------------
 POST CONTENT
 -----------------*/
.bg-news-detail {
    background-color: #f2f4f6;
}

.hiro-img-news {
    max-height: 500px;
}

.detail-time-news {
    color: #596172;
}

.date-post:after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 2px;
    background: #0048aa;
    margin: 2px 8px;
}

.content-news p {
    line-height: 2.2;
    margin-bottom: 2rem;
}

.content-news a {
    color: #0048aa;
}

.keyword-news li,
.wrapp-tags-news li {
    transition: all 0.2s ease-in-out;
}

    .keyword-news li:hover,
    .wrapp-tags-news li:hover {
        background-color: rgba(0, 72, 170, 0.08);
    }

.border-custom {
    border-bottom: 1px solid #f2f4f6;
    margin: 5rem 0 3rem;
}

.link-news {
    min-width: 35%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    background: #f6f6f6;
    border: 1px solid #f0f0f0;
}

.btn-copy-link-news {
    outline: none;
}

.alert-copy-message {
    bottom: 4px;
    left: -12rem;
    display: none;
}
/*-----------------
 GALLERY CONTENT
 -----------------*/
.line-title {
    width: 18px;
    height: 4px;
    background-color: rgba(0, 72, 170, 0.6);
    border-radius: 50px;
}

    .line-title:after {
        content: "";
        position: absolute;
        background: #0048aa;
        width: 25px;
        height: 4px;
        border-radius: 50px;
        top: 6px;
    }

.gallery-news {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    display: grid;
    grid-auto-flow: column;
    overflow: hidden;
    overflow-x: scroll;
    padding-bottom: 1rem;
}

    .gallery-news::-webkit-scrollbar {
        height: 8px;
    }

    .gallery-news::-webkit-scrollbar-track {
        border-radius: 10px;
        background: #f2f4f6;
    }

    .gallery-news::-webkit-scrollbar-thumb {
        background: #595959;
        border-radius: 10px;
    }

.gallery-item {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 125px;
    height: 125px;
}
/*-----------------
 USERS'S COMMENTS CONTENT
 -----------------*/
.wrap-comments li:not(:last-child) {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #f2f4f6;
    padding-bottom: 2rem;
}
/*-----------------
 SIDEBAR SECTION
 -----------------*/
.wrapp-item-news li:not(:last-child) {
    margin-bottom: 2rem;
}

.title-item-news:after {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background: #0048aa;
    right: 0;
    bottom: -1px;
    transition: width 0.2s ease-in-out;
}

.wrapp-item-news li:hover .title-item-news:after {
    width: 100%;
}

.img-thum-news img {
    min-height: 65px;
    min-width: 65px;
}
/*------------------
MODAL GALLERY IMAGES
----------------------*/
.modal-gallery {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-image {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-image {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.close-modal {
    position: relative;
    top: 15px;
    right: 35px;
    transition: 0.3s;
    cursor: pointer;
}

/*-----------------
 MEDIA QUERY RESPONSIVE 
 -----------------*/
@media only screen and (max-width: 576px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px;
    }

    p,
    span {
        font-size: 12px;
    }

    .sidebar-news {
        margin-top: 3rem;
    }

    .alert-copy-message {
        bottom: -37px;
        left: 30%;
    }
}

@media only screen and (max-width: 350px) {
    .link-news {
        display: block;
    }

    .url-post-news {
        word-break: break-all;
    }
}


#galleria {
    width: 100% !important;
}

.galleria-lightbox-prevholder {
    width: 100% !important;
}

.galleria-lightbox-next, .galleria-lightbox-prev {
    display: inherit !important;
}
