html {
    font-size: 10px;
}

:root {
    --orange: #ef4123;
    --black: #212126;
}

/* ========== CSS RESET */

* {
    outline: 0;
    border: 0;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
    font-family: IRANSans !important;
}

body, html {
    direction: rtl;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a, a:focus, a:visited, a:active, a:hover {
    text-decoration: none;
    color: inherit;
}

a, span {
    display: inline-block;
}

ul, ol {
    margin: 0;
    padding: 0;
}

input, button, textarea {
    font-family: irs;
}

/* ========== Button Style */
.responsive-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e9e9e9;
    border: 1px solid rgba(0, 0, 0, .1);
    margin-left: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    outline: none;
    color: var(--black);
    font-size: 2.3rem;
}



/* ===== breadcrumb Style */

.breadcrumb__service {
    background-color: #fff;
    padding: 1rem 0;
}

.breadcrumb__info i {
    font-size: 2rem;
    color: var(--orange);
    margin-left: 0.2rem;
}

.breadcrumb__info ol {
    font-size: 1.4rem;
}

    .breadcrumb__info ol, .breadcrumb__info ol a {
        color: var(--orange);
        font-weight: bold;
    }

        .breadcrumb__info ol li {
            margin: 0 .6rem;
        }

.service-slider--wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    /*height: 44rem;*/
    height: 41rem;
}

    .service-slider--wrapper::before {
        content: '';
        position: absolute;
        bottom: -14rem;
        width: 100%;
        height: 15rem;
        box-shadow: 0 -8rem 5rem rgba(0, 0, 0, 0.85);
    }

fieldset legend {
    border: 1px solid #000;
}

.slider--wrapper-thumb {
    width: 100%;
    height: 40rem;
    object-fit: cover;
}

.slider--wrapper-content {
    position: absolute;
    right: 3rem;
    bottom: 2.5rem;
}

.service-slider--wrapper a {
    color: #fff;
}

.last__news-title {
    position: relative;
}

    .last__news-title::before {
        content: '';
        position: absolute;
        top: 0.8rem;
        width: 100%;
        height: .1rem;
        background-color: #c2c2c2;
    }

    .last__news-title h4 {
        background-color: #fff;
        padding-left: 0.8rem;
        color: var(--orange);
        position: absolute;
    }

.service__items {
    margin-top: 3.5rem;
}

.service__item {
    margin-bottom: 2.5rem;
    position: relative;
}

    .service__item:after {
        content: '';
        position: absolute;
        width: 30rem;
        border-top: 0.1rem dashed #c2c2c2;
        right: 50%;
        bottom: -13px;
        transform: translateX(50%);
    }

    .service__item:last-child::after {
        border-top: none;
    }

.service__item-content {
    padding-right: 15px;
}

.service__item-content--link {
    padding-right: 2.5rem;
    color: #000;
}

    .service__item-content--link:hover {
        color: #000;
    }

    .service__item-content--link h4 {
        margin-right: 1rem;
        position: relative;
    }

        .service__item-content--link h4::before {
            content: '';
            position: absolute;
            top: .5rem;
            right: -1rem;
            width: .5rem;
            height: .5rem;
            background-color: var(--orange);
            border-radius: 50%;
        }

.service__item-content--date {
    /*    position: absolute;
    left: 0;
    bottom: 0;
*/
    /*color: green;*/
}

    .service__item-content--date i {
        /*color: var(--orange);*/
        vertical-align: middle;
    }

    .service__item-content--date span {
        color: #6e6e6e;
    }

.pagination {
    width: 100%;
    font-size: 1.4rem;
    color: #000;
}

    .pagination li {
        margin: 0 .5rem;
    }

        .pagination li a {
            color: #000;
        }

            .pagination li a.active {
                color: var(--orange);
                font-weight: bold;
            }







/* === style Sidebar */
main .sidebar {
    background-color: #fff;
}

    /* main .sidebar .aside {
    border: 1px solid #dddddd;
} */
    main .sidebar .aside .sidebar__ads-vertical,
    main .sidebar .aside .sidebar__ads-horizontal {
        margin-bottom: 1rem;
    }

        main .sidebar .aside .sidebar__ads-horizontal a {
            margin-bottom: 0.5rem;
        }

            main .sidebar .aside .sidebar__ads-vertical a img,
            main .sidebar .aside .sidebar__ads-horizontal a img {
                width: 100%;
            }

    main .sidebar .aside .nav-tabs {
        border-bottom: 1px solid #dddddd;
    }

        main .sidebar .aside .nav-tabs .nav-item {
            margin-left: 0.2rem;
        }

        main .sidebar .aside .nav-tabs button {
            padding: 1rem;
            font-size: 13px;
            color: var(--black);
            position: relative;
            background: transparent;
        }

            main .sidebar .aside .nav-tabs button.active,
            main .sidebar .aside .nav-tabs button:hover {
                background: var(--orange);
                color: #fff;
            }

                main .sidebar .aside .nav-tabs button.active::before,
                main .sidebar .aside .nav-tabs button:hover::before {
                    content: '';
                    position: absolute;
                    bottom: -8px;
                    right: 50%;
                    transform: translateX(50%);
                    border-left: 6px solid transparent;
                    border-top: 8px solid var(--orange);
                    border-right: 6px solid transparent;
                }


.selected-news--title {
    font-size: 1.4rem;
    color: var(--orange);
    font-weight: bold;
    position: relative;
}

    .selected-news--title::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: calc(100% - 90px);
        height: 1px;
        background-color: #c2c2c2;
    }

.selected-news--list {
    margin: 1rem auto;
}

    .selected-news--list li {
        position: relative;
        margin-bottom: 1.5rem;
        margin-right: 1.5rem;
    }

        .selected-news--list li::before {
            content: '';
            position: absolute;
            right: -13px;
            width: .5rem;
            height: .5rem;
            background-color: var(--orange);
            top: .5rem;
            border-radius: 50%;
        }

        .selected-news--list li a {
            font-size: 13px;
            color: var(--black);
            text-align: justify;
            font-weight: 500;
        }


.sidebar__post-items {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.sidebar__post-item {
    display: flex;
    margin: .7rem 0;
}

.post--item-img {
    margin-left: 1rem;
}

    .post--item-img img {
        /*width: 8.5rem;
        height: 8.5rem;*/
        width: 100px;
    }

.post--item-titletop {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.post--item-titledown {
    font-size: 13px;
    text-align: justify;
    font-weight: 500;
}


/* ========== Button Style */
.responsive-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e9e9e9;
    border: 1px solid rgba(0, 0, 0, .1);
    margin-left: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    outline: none;
    color: var(--black);
    font-size: 2.3rem;
}



@media (max-width: 991.98px) {
    main .sidebar .aside .sidebar__ads-vertical,
    main .sidebar .aside .sidebar__ads-horizontal {
        margin: .5rem auto;
        width: calc(39% - 5px);
    }
}

@media (max-width: 400px) {
    .service__item {
        flex-direction: column;
    }

    /*.service__item-img {
        width: 100%;
        margin-bottom: 1rem;
    }*/

    .service__item-content--date {
        bottom: -1rem;
    }

    .article__header {
        width: calc(100% - 50px);
    }

    .comments_register-form input[type="text"] {
        width: 50%;
    }

    .comments_register-form button[type="submit"] {
        margin-top: 1rem;
    }

    main .sidebar .aside .sidebar__ads-vertical,
    main .sidebar .aside .sidebar__ads-horizontal {
        margin: .5rem auto;
        width: calc(70% - 5px);
    }
}


.service-slider--wrapper a h4, .sidebar__post-item .post--item-titledown, .service__item a h4, .selected-news--list a {
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

    .service-slider--wrapper a:hover h4, .sidebar__post-item:hover .post--item-titledown, .service__item a:hover h4, .selected-news--list a:hover {
        color: var(--colorPrimary) !important;
        -ms-transition: 0.4s;
        -o-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

.service__item-content h4 span, .article__service .post-md .title span {
    font-size: 15px;
    color: var(--colorPrimary);
    font-weight: 900;
}


.service__item-content h5 {
    line-height: 20px;
}


.top-news .info {
    padding-right: 15px;
}

    .top-news .info h2 {
        font-size: 20px;
        font-weight: bold;
        line-height: 1.5;
        color: #333333;
        transition: 0.3s;
    }

        .top-news .info h2::before {
            content: '\f053';
            font-family: "Font Awesome 5 Pro";
            margin: 0 0 0 4px;
        }

    .top-news .info p {
        font-size: 16px;
        line-height: 1.5;
        color: #999999;
        margin: 15px 0 0 0;
        cursor: default;
    }

    .top-news .info .btn {
        background: #999999;
        color: #fff;
        bottom: 0;
        left: 10px;
        transition: 0.3s;
    }

.top-news:hover h2 {
    color: var(--colorPrimary);
}

/*
.post-md {
    border-bottom: 1px solid #c3d7d7;
    position: relative;
}
*/
.post-md img {
    width: 100%;
}

.post-md .info {
    text-align: right;
    font-size: 13px;
    display: block;
    margin-top: 0.5rem;
    color: #999999;
}

.post-md .title {
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    color: #333333;
    text-align: justify;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
}

.post-md .icon {
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    position: absolute;
    left: 0;
    bottom: -13px;
    background-color: #fff;
    color: #c3d7d7;
    display: flex;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    width: 27px;
    height: 27px;
    font-size: 16px;
}

.post-md:hover .title, .post-md:hover .icon {
    color: var(--colorPrimary);
}


.article__service .middle-news {
    margin-right: -1rem !important;
    margin-left: -1rem !important;
}



.search-form {
    background: #fff;
    font-size: 1.5rem;
}

    .search-form *, .search-form .popover-header, .search-form .popover-header {
        font-size: 1.5rem !important;
    }


    .search-form select, #FromDate_DateTimePicker, #TillDate_DateTimePicker {
        background: #EFEFEF;
        -webkit-appearance: caret !important;
        -moz-appearance: caret !important;
        appearance: auto !important;
    }

[data-mdpersiandatetimepicker][disabled] {
    opacity: 0.5;
}

.search-form .date-box {
    width: calc( 100% - 30px );
}


.custom-input input {
    background: #fff;
    border: none;
    height: 38px;
}

.custom-input > label {
    min-width: 150px
}

.custom-input.dark input {
    background: #f2f2f2;
    border: none;
    height: 32px;
}

.custom-input label {
    font-weight: bold;
}

.custom-input label {
    font-weight: bold;
}

.custom-input select {
    /*background: #f2f2f2;*/
    border: none;
    min-width: 100px;
    /*height: 32px;*/
}

.custom-input textarea {
    background: #f2f2f2;
    border: none;
}


.search-form .search-btn {
    background: #FFD200 !important;
    font-weight: bold;
    font-size: 13px;
}


.search-form .search-btn:hover {
    background: #eec400 !important;
}


.news_horizontal_line_area {
    background: #FDB81D;
    width: 100%;
    display: flex;
    flex-direction: row;
    -o-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    padding-top: 4px;
}

.news_horizontal_line_area .box-title {
    background: #003E67;
}

.news_horizontal_line_area h3 {
    font-size: 17px;
    color: #fff;
    padding: 6px 10px 6px 25px;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
    width: fit-content;
    margin: 0;
}

.news_horizontal_line_area a {
    font-size: 17px;
    color: #fff;
    width: fit-content;
    margin-left: 75px;
    text-decoration: none;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.news_horizontal_line_area a:hover {
    color: #FFB81C;
}

.adv-banner * {
    color: #FFB81C !important;
}

.adv-banner a {
    margin-left: 0px;
}