@media only screen and (min-width: 0px) and (max-width: 640px) {

    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-main .header-menu .navbar-region .navbar-collapse {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background-color: var(--darkmaincolor);
        padding: 30px;
        text-align: right;
        width: 280px;
        border-radius: 0;
        border-right: 4px solid var(--bluelight);
        box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        right: auto;
        left: -300px;
        transition: all 0.4s;
    }

        .header-main .header-menu .navbar-region .navbar-collapse.show {
            left: 0;
        }

        .header-main .header-menu .navbar-region .navbar-collapse::before {
            content: "";
            background: url('../images/logos/region-logo.svg') no-repeat center center / 400px;
            width: 100%;
            height: 450px;
            position: absolute;
            bottom: -50px;
            right: 0;
            left: 0;
            margin: 0 auto;
            opacity: 0.02;
            z-index: 10;
        }

        .header-main .header-menu .navbar-region .navbar-collapse::after {
            content: "";
            background: url('../images/logos/region-logo.svg') no-repeat center center / 80px;
            width: 80px;
            height: 120px;
            position: absolute;
            bottom: 15px;
            right: 0;
            left: 0;
            margin: 0 auto;
            z-index: 20;
        }

    .header-main .header-menu .navbar-region .dropdown-menu {
        position: absolute;
        right: 0;
        width: 100%;
    }

        .header-main .header-menu .navbar-region .dropdown-menu.show {
            top: 30px;
            opacity: 1;
            visibility: visible;
        }

    .header-main .header-menu .navbar-region .navbar-nav .nav-link {
        margin-bottom: 20px;
    }

    .header-main .header-logos {
        padding: 30px 0 15px;
    }

        .sec-messages,
        .header-main .header-logos .date-time,
        .sec-shahryarnews .box-shahryar .info-shahryar::after,
        .sec-tabrizapp .box-tabrizapp .mockup-app::after,
        .header-main .header-logos .images-rahbar .imam,
        .sec-news .box-newsslide .swiper-thumbnews,
        .sec-tabrizapp .box-tabrizapp .mockup-app,
        .header-main .header-menu .navbar-region .navbar-nav .nav-item::after {
            display: none;
        }

    .header-main .header-menu .container {
        padding: 0;
    }

    .header-main .header-menu .box-row-menu .navbar-region {
        padding: 14px;
    }

        .header-main .header-menu .box-row-menu .navbar-region::before {
            border-width: 0 0 45px 25px;
        }

    .header-main .header-menu .navbar-region .navbar-brand {
        font-size: 12px;
    }

    .mburger b {
        background-color: var(--white);
    }

    .sec-slideshow,
    .sec-slideshow .box-mayors,
    .sec-statistics,
    .footer-main {
        margin-top: 30px;
    }

    .header-main .header-logos .images-rahbar .flag {
        width: 120px;
        left: -10px;
    }

    .header-main .header-logos .logo-main > img {
        width: 65%;
    }

    .header-main .header-logos .slogan > img {
        top: 10px;
        right: 10px;
        width: 45px;
    }

    .header-main .header-logos .images-rahbar .imam {
        bottom: 0;
    }

    .sec-slideshow .box-slideshow {
        height: 200px;
        border-width: 3px;
    }

        .sec-slideshow .box-slideshow .text-slider,
        .sec-multimedia .multimedia-box .media-main .text-media {
            padding: 15px;
        }

            .sec-slideshow .box-slideshow .text-slider::before,
            .sec-multimedia .multimedia-box .media-main .text-media::before {
                height: 100px;
            }

            .sec-slideshow .box-slideshow .text-slider .date,
            .sec-multimedia .multimedia-box .media-main .text-media .date {
                font-size: 10px;
            }

            .sec-slideshow .box-slideshow .text-slider .title,
            .sec-multimedia .multimedia-box .media-main .text-media .title {
                font-size: 12px;
                line-height: 1.5;
            }

        .sec-slideshow .box-slideshow .swiper-button-arrow {
            width: 30px;
            height: 30px;
            border-width: 1px;
        }

        .sec-slideshow .box-slideshow .swiper-button-next {
            right: 15px;
        }

        .sec-slideshow .box-slideshow .swiper-button-prev {
            left: 15px;
        }

    .sec-slideshow .box-mayors {
        height: auto;
    }

        .sec-slideshow .box-mayors .item-mayor .image-mayor {
            height: 160px;
        }

        .sec-slideshow .box-mayors .item-mayor {
            padding: 10px;
        }

            .sec-slideshow .box-mayors .item-mayor .name {
                font-size: 14px;
                margin-bottom: 2px;
            }

            .sec-slideshow .box-mayors .item-mayor .btn-call {
                margin-top: 15px;
            }

    .sec-news .box-tenders .head-box .title-box,
    .sec-news .box-newsslide .head-box .title-box {
        font-size: 14px;
    }

    .sec-slideshow .box-mayors .item-mayor .post {
        font-size: 12px;
    }

    .sec-news .box-tenders,
    .sec-news .box-newsslide {
        height: 500px;
    }

    .sec-news .box-newsslide {
        margin-top: 40px;
        height: auto;
    }

        .sec-news .box-newsslide .swiper-mainnews .arrows-news {
            left: 5px;
            bottom: auto;
            top: 30px;
        }

        .sec-news .box-newsslide .swiper-mainnews {
            padding: 50px 10px 20px;
        }

            .sec-news .box-newsslide .swiper-mainnews .box-image-news {
                height: 200px;
            }

            .sec-news .box-newsslide .swiper-mainnews .info-news {
                padding-top: 10px;
            }

            .sec-news .box-newsslide .swiper-mainnews .date {
                font-size: 14px;
            }

            .sec-news .box-newsslide .swiper-mainnews .title {
                font-size: 16px;
                margin: 15px 0 10px;
            }

            .sec-news .box-newsslide .swiper-mainnews .desc {
                font-size: 12px;
            }

        .sec-news .box-newsslide .swiper-thumbnews .swiper-slide img {
            height: 120px;
        }

        .sec-news .box-newsslide .swiper-thumbnews .swiper-slide .title {
            font-size: 12px;
        }

    .sec-shahryarnews .box-shahryar {
        height: auto;
    }

        .sec-shahryarnews .box-shahryar .info-shahryar {
            border-radius: 20px 20px 40px 40px;
            padding: 30px;
            height: auto;
            text-align: center;
        }

        .sec-shahryarnews .box-shahryar .list-shnews {
            padding: 30px 30px 15px;
        }

            .sec-shahryarnews .box-shahryar .list-shnews .item-shnews {
                padding: 0 !important;
                width: 100%;
                margin-bottom: 20px;
            }

            .sec-shahryarnews .box-shahryar .list-shnews .link-shnews .desc {
                font-size: 13px;
            }

        .sec-shahryarnews .box-shahryar .info-shahryar .logo-shr {
            width: 150px;
        }

        .sec-shahryarnews .box-shahryar .info-shahryar .btn-archive {
            margin: 0 auto;
            margin-top: 20px;
            font-size: 12px;
        }

        .sec-shahryarnews .box-shahryar .info-shahryar .title {
            font-size: 16px;
        }

        .sec-shahryarnews .box-shahryar .info-shahryar .desc {
            font-size: 12px;
            padding: 0;
        }

    .sec-multimedia .head-box::before {
        top: 50px;
    }

    .sec-multimedia .head-box .title-box,
    .sec-services .head-box .title-box {
        font-size: 14px;
    }

    .sec-multimedia .multimedia-box .media-main {
        height: 300px;
        margin-bottom: 30px;
    }

    .sec-multimedia .multimedia-box .item-media {
        margin-bottom: 25px;
        flex-direction: column;
    }

        .sec-multimedia .multimedia-box .item-media .image-media {
            width: 100%;
            height: 200px;
            margin: 0;
        }

        .sec-multimedia .multimedia-box .item-media .info-media .date {
            font-size: 10px;
        }

        .sec-multimedia .multimedia-box .item-media .info-media .title {
            font-size: 12px;
            margin: 5px 0 0;
        }

        .sec-multimedia .multimedia-box .item-media .visit {
            margin-top: 10px;
        }

        .sec-multimedia .multimedia-box .item-media .info-media {
            padding: 10px 0;
        }

    .sec-services .head-box::before {
        top: 20px;
    }

    .sec-services .list-services {
        padding: 0 40px;
    }

        .sec-services .list-services .arrows-services .swiper-button-next {
            right: -5px;
        }

        .sec-services .list-services .arrows-services .swiper-button-prev {
            left: -5px;
        }

    .sec-tabrizapp .box-tabrizapp .row {
        flex-direction: column-reverse;
    }

    .sec-tabrizapp .box-tabrizapp {
        height: auto;
        margin: 30px 0;
    }

        .sec-tabrizapp .box-tabrizapp .info-tabrizapp .logo-tabrizapp {
            padding: 0;
            margin-bottom: 30px;
        }

            .sec-tabrizapp .box-tabrizapp .info-tabrizapp .logo-tabrizapp > img {
                width: 80px;
            }

        .sec-tabrizapp .box-tabrizapp .info-tabrizapp {
            padding: 40px;
            height: auto;
            flex-direction: column;
            text-align: center;
        }

            .sec-tabrizapp .box-tabrizapp .info-tabrizapp .title {
                font-size: 18px;
            }

            .sec-tabrizapp .box-tabrizapp .info-tabrizapp .desc {
                font-size: 12px;
                text-align: justify;
                line-height: 1.7;
            }

            .sec-tabrizapp .box-tabrizapp .info-tabrizapp .more-info {
                flex-direction: column;
            }

            .sec-tabrizapp .box-tabrizapp .info-tabrizapp .btn-archive {
                font-size: 12px;
                margin: 0 0 10px;
            }

    .sec-banners .item-banner {
        margin-bottom: 20px;
    }

        .sec-banners .item-banner.item-poster {
            padding: 20px;
            margin-bottom: 0;
        }

    .sec-banners .item-poster .boc-icon {
        font-size: 50px;
    }

    .sec-banners .item-poster .title {
        font-size: 16px;
    }

    .sec-banners .item-poster .desc,
    .sec-banners .item-poster .view-poster {
        font-size: 12px;
    }

    .sec-banners .item-poster .view-poster {
        width: 100px;
        padding: 6px;
    }

    .sec-statistics .box-statistics {
        height: auto;
    }

        .sec-statistics .box-statistics .row {
            margin: 0;
        }

        .sec-statistics .box-statistics .item-stat {
            height: auto;
            padding: 20px 15px !important;
            flex-direction: column;
            text-align: center;
        }

            .sec-statistics .box-statistics .item-stat i {
                font-size: 40px;
                margin: 0 0 15px;
            }

            .sec-statistics .box-statistics .item-stat .info-stat {
                width: 100%;
            }

            .sec-statistics .box-statistics .item-stat .title {
                font-size: 16px;
            }

            .sec-statistics .box-statistics .item-stat .stat-count {
                justify-content: center;
            }

            .sec-statistics .box-statistics .item-stat .count {
                font-size: 25px;
            }

            .sec-statistics .box-statistics .item-stat .unit {
                font-size: 14px;
            }

            .sec-statistics .box-statistics .item-stat:nth-child(3),
            .sec-statistics .box-statistics .item-stat:nth-child(4) {
                border-top: 1px solid var(--light);
            }

    .footer-main .footer-info {
        padding: 20px 0;
        text-align: right;
    }

        .footer-main .footer-info .item-inf .text {
            font-size: 12px;
        }

        .footer-main .footer-info .item-inf,
        .footer-main .footer-info .contact-info {
            justify-content: center;
        }

        .footer-main .footer-info .contact-info {
            margin-top: 15px;
        }

    .footer-main .footer-links {
        padding: 30px 0;
    }

        .footer-main .footer-links .list-links .item-link {
            width: 50%;
            margin: 0;
            padding: 10px 0;
        }

        .footer-main .footer-links .list-links .text-link .text {
            font-size: 13px;
        }

        .footer-main .footer-links .row-footer-bottom .col-md-12 {
            order: 3;
        }

        .footer-main .footer-links .copyright {
            justify-content: center;
            margin-top: 30px;
        }

        .footer-main .footer-links .socials-box {
            align-items: center;
            margin-top: 30px;
        }

        .footer-main .footer-links .special-links {
            padding: 0 20px;
        }

        .footer-main .footer-links .swiper-special .image-link {
            width: 90px;
            height: 90px;
        }

        .footer-main .footer-links .special-links .arrows-special .swiper-button-next {
            right: 0;
            opacity: 1;
        }

        .footer-main .footer-links .special-links .arrows-special .swiper-button-prev {
            left: 0;
            opacity: 1;
        }

        .footer-main .footer-links .copyright .region {
            width: 60px;
            margin-left: 15px;
        }

        .footer-main .footer-links .copyright .text-cpt {
            font-size: 12px;
        }

            .footer-main .footer-links .copyright .text-cpt > span {
                font-size: 10px;
            }

    /*---------------------- Pages ---------------------*/

    .content-main .sec-about-me .box-inner-page .about-images .big-image {
        width: 280px;
        height: 280px;
        margin-top: 0;
    }

    .content-main .sec-about-me .box-inner-page .about-images .small-image {
        width: 100px;
        height: 100px;
        bottom: 0;
        right: 0;
        border: 3px solid var(--light);
    }

    .content-main .sec-about-me .box-inner-page .about-history {
        padding: 0;
        margin-top: 30px;
    }

        .content-main .sec-about-me .box-inner-page .about-history p {
            font-size: 14px;
            line-height: 2;
        }

    .content-main .sec-about-me .sec-about-tab .nav-tabs {
        margin: 30px 0 15px;
        padding: 0 15px;
        flex-wrap: wrap;
    }

        .content-main .sec-about-me .sec-about-tab .nav-tabs .nav-item {
            width: 50%;
            padding: 5px;
        }

        .content-main .sec-about-me .sec-about-tab .nav-tabs .nav-link {
            font-size: 12px;
        }

    .content-main .sec-about-me .sec-about-tab .tab-content {
        padding: 10px 20px;
    }

    .content-main .sec-about-me .sec-about-tab .tab-pane {
        padding: 15px;
    }

        .content-main .sec-about-me .sec-about-tab .tab-pane p {
            font-size: 12px;
        }

        .content-main .sec-about-me .sec-about-tab .tab-pane .list-items > li {
            font-size: 12px;
        }

    .content-main .sec-about-me .sec-services .container {
        padding: 0 20px;
    }

    .content-main .sec-contact-me .box-inner-page .about-history {
        margin-top: 0;
    }

    .content-main .sec-contact-me .box-inner-page .about-images .small-image {
        width: 70px;
        height: 70px;
        bottom: 20px;
        right: 20px;
    }

        .content-main .sec-contact-me .box-inner-page .about-images .small-image > svg {
            width: 30px;
        }

    .content-main .sec-contact-me .sec-about-tab .item-contact {
        padding: 15px;
    }

    .content-main .sec-contact-me .sec-about-tab .box-contact .box-icon {
        width: 90px;
        height: 90px;
    }

    .content-main .sec-contact-me .form-contact-section .form-security-code {
        flex-wrap: wrap;
    }

        .content-main .sec-contact-me .form-contact-section .form-security-code .input-control {
            width: 100%;
        }

        .content-main .sec-contact-me .form-contact-section .form-security-code .image-code {
            width: 100%;
            justify-content: center;
            margin: 0 0 10px;
        }

        .content-main .sec-contact-me .form-contact-section .form-security-code .btn-send-form {
            width: 100%;
            margin: 15px 0 0;
        }

    .content-main .sec-contact-me .form-contact-section .form-select {
        padding: 10px 0;
    }

    .content-main .sec-mayor-page .box-inner-page .about-images .big-image {
        height: 350px;
    }

    .content-main .sec-mayor-page .box-inner-page .about-images .small-image {
        right: 0;
        bottom: -30px;
    }

    .content-main .sec-mayor-page .box-inner-page .name-mayor {
        margin-top: 50px;
    }

    /*---------------------- /Pages ---------------------*/
}
