@font-face {
    font-family: iranyekan;
    src: url(../../fonts/IranYekan/IRANYEKANREGULAR.TTF)
}

@font-face {
    font-family: iranyekanblack;
    src: url(../../fonts/IranYekan/IRANYEKANEXTRABLACK.TTF)
}

div.des-graphic {
    background-color: rgba(169, 201, 193, 1);
    font-size: medium !important;
    border-radius: 20px;
    color: black;
    text-align: right;
    padding: 1em 1.5em;
    font-family: iranyekan;

}

div.des-graphic.search {
    min-height: 100%;
    cursor: pointer;
}

div.des-graphic > h4 {
    font-size: 22px;
    color: black;
    font-family: iranyekanblack;
}

h1.des-graphic {
    font-size: x-large !important;
    color: black;
    font-family: iranyekanblack;
    background-color: rgba(169, 201, 193, 1);
    border-radius: 20px;
    text-align: center;
    padding: 1em 1em;

}

.des-graphic > h4 > div.icon {
    max-height: 60px;
    max-width: 60px;
    position: absolute;
    top: -6px;
    left: -10px
}

.des-graphic > h4 > div.icon > img {
    width: 100%;
    height: 100%
}

div.des-graphic {
    min-height: 230px;
}

@media only screen and (max-width: 1200px) {
    div.des-graphic {
        min-height: 230px;
    }
}

@media only screen and (max-width: 992px) {
    div.des-graphic {
        min-height: 320px;
    }

}

@media only screen and (max-width: 768px) {
    div.des-graphic {
        min-height: 320px;
    }
}

@media only screen and (max-width: 576px) {
    div.des-graphic {
        min-height: 320px;
    }
}

@media only screen and (max-width: 425px) {
    div.des-graphic {
        min-height: 320px;
    }
}

@media only screen and (max-width: 320px) {
    div.des-graphic {
        min-height: 320px;
    }
}

.submission-css {
    margin: 10px 0;
    padding: 0 2px !important;
}

.submission-css .same-swiper-box {
    background-color: rgb(244, 237, 227);
    border-radius: 10px;
    line-height: 30px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    line-height: 1.8em;
    text-align: right;
}

.graphic-submitter {
    font-family: iranyekan;
    line-height: 15px;
    width: 100%;
    padding: 2px 10px 0 5px;
    margin-bottom: 0;
    font-size: 10px;
    color: #052639;
}

.graphic-text {
    font-family: iranyekan;
    line-height: 15px;
    width: 100%;
    padding: 9px 0 0 5px;
    margin-bottom: 0;
    font-size: 13px;
    color: #052639;
}

.submission-thumbnail {
    max-height: 100%;
    width: auto;
}

@media (max-width: 1000px) {
    .cat-name {
        font-size: 20px;
    }
}

.cat-name {
    text-align: center;
}

.cate-img-1 {
    background: url("../../img/news/blue.png") no-repeat center;
    font-size: 20px;
    background-size: contain;
    padding: 60px;
    width: 300px;
    font-weight: 800;
    color: #00012b;
}

.cate-img-2 {
    background: url("../../img/news/orange.png") no-repeat center;
    font-size: 20px;
    background-size: contain;
    padding: 60px;
    width: 300px;
    font-weight: 800;
    color: #00012b;
}

#image-viewer {
    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-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

#image-viewer .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

@media screen and (max-width: 1078px) {
    .submission-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 1078px) {
    .submission-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
        max-height: 500px;
        width: auto;
        height: auto;
    }
}

.header-contain {
    background-color: #77aca2;
    font-size: 2rem;
    border-radius: 20px;
    color: #ddce66;
    text-align: center;
    padding: 0.3em 0px;
    font-family: iranyekanblack;
}

.pagination-action {
    margin: 0 0.1em;
    display: inline-block;
    padding: 0.5em 0.5em;
    color: #B9B9B9;
    font-size: 1.3em;
}

.pagination-action:hover,
.pagination-previous,
.pagination-next {
    color: rgb(230, 221, 157);
}

.pagination-number:hover {
    background-color: rgb(230, 221, 157);
}

.pagination-number {
    padding: 0.5em 0.8em;
    border-radius: 10px;
    border: #0c0c0c;
    color: black;
    background-color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.pagination-current {
    background-color: rgb(230, 221, 157);
    color: black;
}