.AsideMain{
    display: grid;
    grid-template-columns: 76.1% 1fr;
    gap: 19px;
    margin-top: 21px;
}

.AsideMain.general main *{
    font-family: 'IRANSansX-Regular';
}

.AsideMain.general main img{
    max-width: 100%;
}

.AsideMain.general main .sec_header2{
    margin-bottom: 20px;
}

.AsideMain.general .form-group{
    margin-bottom: 20px;
}

.AsideMain.general textarea,
.AsideMain.general input,
.AsideMain.general select{
    font: 14px / 22px 'IRANSansX-Medium';
    padding: 10px;
    color: #252525;
    width: 100%;
}

.AsideMain.general input[type="submit"]{
    width: auto;
    background: var(--c-red);
    color: white;
    border: unset;
    padding: 12px 40px;
    border-radius: 5px;
}

.archive_form, .search_form_c{
     border: unset;
     width: unset;
    background: unset;
}

.archive_form div, .search_form_c div{
    padding-top: unset;
    padding-bottom: unset;
}

#search .AsideMain.general label{
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.search_result_container .tag_title,
.tag_page_container .tag_title{
    font-family: 'IRANSansX-DemiBold' !important;
    color: #3E373B;
    margin-bottom: 10px;
    display: block;
}

.tag_summerize{
    margin-bottom: 5px;
}

.search_result_container .tag_title:hover,
.tag_page_container .tag_title:hover{
    color: var(--c-red);
}

.cat_list_page{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 5px;
}

.pagination .current,
.cat_list_page .current{
    border: unset !important;
    background-color: unset !important;
    color: var(--c-red) !important;
    font-family: 'IRANSansx-Bold' !important;
}

.pagination a,
.cat_list_page a{
    border: unset !important;
    background-color: unset !important;
    color: #3E373B !important;
    font-family: 'IRANSansX-Bold' !important;
}

.cat_list_page a,
.general .pagination .current,
.cat_list_page span.current{
    border: 1px solid rgba(125, 125, 125, 1) !important;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    color: rgba(125, 125, 125, 1) !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 4px;
}

.pagination a:hover,
.cat_list_page a:hover{
    color: var(--c-red) !important;
    border-color: var(--c-red) !important;
}

#archive .current-pager{
    margin: 0 5px;
}

#archive #pager{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

#archive #pager a{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font: 18px / 25px 'IRANSansX-Medium';
    border: #999 1px solid;
    background-color: unset;
}

#archive #pager span.current-pager,
.general .pagination .current,
.cat_list_page span.current{

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font: 18px / 25px 'IRANSansX-Medium';

    color: #000000 !important;
}

#archive #pager a:hover{
    color: var(--c-red);
    border-color: var(--c-red);
}

#archive #pager a:hover path{
    stroke: var(--c-red);
}

.archive_content .linear_news{
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #B5B5B59C;
}

#archive .newsList,
#list .newsList,
#allnews .newsList{
    margin-bottom: 10px;
    padding: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #B5B5B59C;
}

#archive .newsList:last-of-type,
#list .newsList:last-of-type,
#allnews .newsList:last-of-type,
.archive_content .linear_news:last-of-type{
    border-bottom: unset;
}

.rss_def_title,.rss_list_title{
    font-family: 'IRANSansX-Bold';
}

.rss_def,.rss_list_pn,.rss_list_link,.rss_list_link {
    font-family: 'IRANSansX-Regular';
}

.rss_list_pn_cat{
    font-size: 11px;
    font-family: 'IRANSansX-Regular';
    padding-inline-start: 100px;
    margin-bottom: 5px;
}

.weather_countries_div_combo,
.weather_continents_div_combo{
    width: 100% !important;
}

.weather_countries_div_combo select,
.weather_continents_div_combo select{
    background-color: unset;
}

.weather_city_title{
    float: unset !important;
    background-color: unset !important;
    width: auto !important;
}

.weather_city_title_parents{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.weather_city_title a{
    background-color: #EFEFEF;
    padding: 5px 10px !important;
}

.prayer_time_container{
    width: 100%;
}

.prayer_form {
     width: 100%;
     float: unset;
     margin-left: unset;
}

.prayer_form .frm_label{
    font: 16px 'IRANSansX-Regular';
    margin: 0;
}

.PrayerSelect .form-group{
    text-align: right;
    margin-bottom: 10px !important;
}

.prayer_form .frm_label{
    margin-bottom: 5px;
}

.prayer_form input[type="button"]{
    width: auto;
    background: var(--c-red);
    color: white;
    border: unset;
    padding: 12px 40px;
    border-radius: 5px;
}

#prayer .ptime_title{
    background-color: var(--c-red);
}

.page_links_nav a{
    color: #252525;
    font: 11px 'IRANSansX-DemiBold' !important;
}

.page_links_nav a:hover{
    color: var(--c-red);
}

.page_links_container{
    margin-bottom: 20px;
}

#container_links .link_cat{
    background-color: var(--c-red);
    font-family: 'IRANSansX-Bold';
    height: auto;
    padding: 5px;
}

#peyvand .link_next_prev{
    height: 29px !important;
}

#polls .poll_text{
    color: #252525;
}

#polls .poll_text:hover{
    color: var(--c-red);
}

.text404{
    font-family: 'IRANSansX-Bold';
    text-align: center;
    margin: 50px 0;
    font-size: 17px;
}

#newsletter .subscribe-home-value .checkbox.newsletter_form{
    width: auto;
}

#activate .newsletter_container .form-group{
    margin: 0;
    width: 100%;
    margin-bottom: 20px;
}

#activate .newsletter_container .frm_label{
    margin: 0;
    margin-bottom: 5px;
    width: 100%;
    padding: 0;
}

#activate .form-group > div{
    width: 100%;
}

#activate .form-group:nth-of-type(3) .input-group{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#activate .form-group:nth-of-type(3) .input-group div{
    margin-bottom: 10px;
}


#activate .form-group:nth-of-type(3) .input-group input{
    border:1px solid rgb(118, 118, 118);
}

#activate .form-group:nth-of-type(4){
    width: fit-content;
}

#activate .form-group:nth-of-type(4) label{
    display: none;
}

#activate .frm_description{
    margin-bottom: 10px;
    display: block;
}

#services .parentsService .partTop .t_l_content{
    margin-bottom: 0;
}

.advStickyTop,.AdvBC{
    display: none;
}

#tags .pagination{
    flex-direction: row;
}

#newsletter .captionInput input{
    padding: 8px;
}

#newsletter .groupOption{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#contacts .captionContact input{
    padding: 8px;
}

#weathers .weather_container{
    background: #F5F5F5CC !important;
    border-color: var(--c-red);
}

#weathers .weather_title{
    background-color: var(--c-red);
}

#weathers .weather_r_sec,#weathers .weather_b_l_sec{
    border-color: var(--c-red);
}

#weathers .weather_dd,#weathers .weather_dd2,#weathers .weather_nocity{
    color: var(--c-red);
}

#archive .newsList .text{
    justify-content: flex-start;
}

#archive .newsList .title a{
    margin-bottom: 10px;
}

#newsletter .help-block{
    margin-bottom: 0;
}

#newsletter .form-group:last-of-type{
    margin-bottom: 0;
}

#newsletter .mobile_activation_c a{
    padding: 0 12px;
    color: #212529;
    font-family: 'IRANSansX-Medium';
}

#newsletter .mobile_activation_c a:hover{
    color: var(--c-red);
}

#activate .general .input-group{
    flex-direction: row !important;
    align-items: center !important;
}

#activate .general .input-group .input-group-prepend{
    margin-bottom: 0 !important;
    margin-inline-end: 10px;
}

#activate .general .input-group input{
    width: 118px;
}

#search .searchNav.search_result_nav{
    background-color: unset;
    border: unset;
}

#search .searchNav.search_result_nav td{
    width: auto !important;
}

#tags .normalTag{
    padding-bottom: 59px;
}

@media screen and (max-width: 1299px){
    .AsideMain {
        grid-template-columns: 72% 1fr;
    }
}

@media screen and (max-width: 1199px){
    .AsideMain {
        grid-template-columns: 67% 1fr;
    }
}

@media screen and (max-width: 991px){
    .AsideMain{
        grid-template-columns : 100%
    }
}

@media screen and (max-width: 767px){
    .AsideMain{
        grid-template-columns: 100%;
    }
}

@media screen and (max-width: 575px){

    .weather_body{
        display: flex;
        flex-direction: column;
    }

    .weather_body .weather_r_sec,
    .weather_body .weather_l_sec{
        width: 100%;
        float: unset;
    }

    .advStickyTop{
        width: 100% !important;
        display: block;
        margin-bottom: 20px;
    }

    .AdvBC{
        margin-top: 20px;
        display: block;
    }

    .advStickyTopImage{
        width: 100% !important;
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 10;
    }

    .advStickyBottomImage{
        width: 100% !important;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 1;
    }

    .advStickyTopImage .parentsCImage,
    .advStickyBottomImage .parentsCImage{
        position: relative;
    }

    .advStickyTopImage .parentsCImage #closeTopAdv,
    .advStickyBottomImage .parentsCImage #closeBottomAdv{
        position: absolute;
        top: 5px;
        left: 10px;
        background: #00000082;
        height: fit-content;
        width: 31.5px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        font-size: 21px;
        cursor: pointer;
    }

    .advStickyTopImage .parentsCImage #closeTopAdv:hover{
        background: black;
    }

    .advStickyBottomImage .advImage > div:last-of-type{
        padding-bottom: 0 !important;
    }

    .AsideMain.general .form-group{
        margin-bottom: 10px;
    }

    .general .newsList .picLink{
        width: 170px;
        min-width: 170px;
    }
}

@media screen and (max-width: 575px){
    .general .newsList .picLink{
        width: 136px;
        min-width: 136px;
    }

    #search .general div.pagination a{
        display: none;
    }

    #search .general div.pagination a:first-of-type,
    #search .general div.pagination a:last-of-type{
        display: flex;
    }

    .rss_list_pn_cat{
        padding-inline-start: 50px;
    }
}