﻿:root {
    --color-main: #911c29;
    --color-gray: #d9d9d9;
    --color-gray-text: #7e7e7f;
    --color-gray-dark: #868686;
    --color-green: #1fa79c;
    --font-main: vazir;
    --font-caption: sahel;
}

/*
    xs  <576px	
    sm  ≥576px	
    md  ≥768px	
    lg  ≥992px	
    xl  ≥1200px	
    xxl ≥1400px
*/

@font-face {
    font-family: 'vazir';
    font-weight: bold;
    src: url('font/vazir-bold-fd.woff') format('woff');
}

@font-face {
    font-family: 'vazir';
    font-weight: normal;
    src: url('font/vazir-regular-fd.woff') format('woff');
}

@font-face {
    font-family: 'sahel';
    src: url('font/sahel-fd.woff') format('woff');
}

body {
    direction: rtl;
    font-family: var(--font-main);
    font-size: 1rem;
}


a {
    text-decoration: none;
    color: #454545;
}


    a.white {
        color: white;
    }

img {
    max-width: 100%;
}

img.news {
    width: 100%;
}


hr {
    border-top: 2px solid var(--color-green) !important;
    margin-left: 10%;
    margin-right: 10%;
}




h3 {
    color:var(--color-main);
    font-family:var(--font-caption);
    font-weight:bold;
    font-size:12pt;
    max-width: 200px;
    background-color: var(--color-gray);
    border-bottom: none;
    line-height:30px;
    text-align:center;
    margin:0px;
}


    h3:after {
        content: "*";
        background-color: var(--color-main);
        width: 50%;
        display: inline-block;
        float: left;
    }

    h3.tip1 {
        color: var(--color-gray);
        background-color: var(--color-main);
    }


        h3.tip1:after {
            background-color: var(--color-gray);
        }





header .top-one {
    background-color: var(--color-gray);
    padding: 5px 0px;
    color: var(--color-gray-text);
}

    header .top-one .language-icon {
        text-align: left;
    }

        header .top-one .language-icon a {
            color: var(--color-gray-text);
            padding: 0px 5px;
            display: inline-block;
            text-decoration: none;
            font-size: small;
        }

            header .top-one .language-icon a.active {
                color: #FFF;
                background-color: var(--color-main);
                border-radius: 10px;
                padding: 0px 10px;
            }


        header .top-one .language-icon .link a {
            padding: 0px !important;
        }

header .top-two {
    background-color: var(--color-main);
    color: #FFF;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;

}


    header .top-two .menu a {
        font-family: var(--font-caption);
        display: inline-block;
        padding: 5px 15px;
        border-left: 1px solid #FFF;
        color: #FFF;
        text-decoration: none;
    }

        header .top-two .menu a:first-child {
            border-right: 1px solid #FFF;
        }


    header .top-two .menu a.active {
        background-color:var(--color-gray-dark);
    }


header .menu-box-sub  {
    border-top:2px solid #fff;
    margin:0px -10px;
    padding:0px 10px;
}

header .menu-box-sub a
{
    display:inline-block;
    padding:5px 10px;
    font-size:smaller;
    color:#fff;
}


    header .menu-box-sub a.active {
        color: var(--color-main);
        background-color:#fff;
    }


header .top-three {
    background-color: var(--color-gray-dark);
    color: var(--color-gray);
}



.desktop
{
    
}

.mobile{
    display:none;
}

.mobile-date{
    font-size:smaller;
    text-align:left;
    margin-top:3px;
}

.mobile-icon {
    margin-top: 3px;
}

.mobile-icon a{
    color:#fff;
}

.mobile-menu-bg {
    display:none;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 199;
}

.mobile-menu-close{
    float:left;
    margin-top:10px;
    margin-left:10px;
    font-size:24pt;
    background-color:var(--color-main);
    color:#fff;
    width:40px;
    line-height:46px;
    height:40px;
    text-align:center;
    cursor:pointer;
    border-radius:20px;
    transform:translate(-50px);
    transition-duration:0.5s;

}

.mobile-menu {
    
    background-color: var(--color-gray);
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 200;
    padding:10px;
    width:80%;
    transform:translate(100%);
    transition-duration:0.5s;
}

.mobile-menu .caption
{
    border-bottom:3px solid var(--color-main);
    color:#fff;
    padding:10px;
    text-align:center;
    margin:-10px;
    margin-bottom:10px;
}

.mobile-language{
    text-align:center;
}

.mobile-language  a{
    text-align: center;
    min-width:75px;
    display:inline-block;
}


@media (max-width:768px) {
    .desktop{
        display:none;
    }
    .mobile {
        display: unset;
    }
}






footer .bottom-one {
    background-color: var(--color-gray);
    padding: 30px 0px;
}


footer .bottom-two {
    background-color: var(--color-main);
    color: #FFF;
    padding: 30px 0px;
}


footer a.scroll-up {
    color: var(--color-main);
}

footer .link-box a {
    color: #fff;
}

footer .link-box a {
    color: #fff;
}


.page-main {
    margin: 10px 0px;
}



.page-title {
    background-color: var(--color-main);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    margin-bottom:10px;
}

    .page-title .caption {
        background-color: var(--color-gray);
        display: inline-block;
        padding: 5px 20px;
        color: var(--color-main);
        font-weight: bold;
        font-family: var(--font-caption);
        font-size: 1.2rem;
        line-height: 30px;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }











.inline-around {
    display: flex;
    justify-content: space-around;
}




.color-main {
    color: var(--color-main);
}

.center {
    text-align: center !important;
}

.left {
    text-align: left !important;
}



[class^="icon-"] {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url('../img/icon-social-media.png');
    background-size: 120px 20px;
    background-position-y: 0;
}

.icon-rubika {
    background-position-x: -60px;
}

.icon-instagram {
    background-position-x: -40px;
}

.icon-telegram {
    background-position-x: -80px;
}

.icon-twitter {
    background-position-x: -100px;
}

.icon-aparat {
    background-position-x: 0;
}

.icon-eitaa {
    background-position-x: -20px;
}



.default-tag-box a {
    display: inline-block;
    padding-left: 20px;
    font-weight: bold;
}

    .default-tag-box a:before {
        content: "#";
        color: var(--color-main);
    }


.color-main {
    color: var(--color-main);
}

.bg-main {
    background-color: var(--color-main);
}


.bg-main a .title {
    color:#FFF;
}


.bg-gray {
    background-color: var(--color-gray);
}

.pad-5
{
    padding:5px;
}



.box {
    padding: 5px;
    margin-bottom:10px;
}

    .box .caption {
        color: #000;
        font-family: var(--font-caption);
        font-weight: bold;
        margin-bottom:5px;
    }

.box .caption .fa-solid{
    background-color:var(--color-main);
    display:inline-block;
    padding:12px 5px;
    border-radius:4px;
    color:#fff;
}


   




.uc-top-search {
    background-color: var(--color-gray);
}

    .uc-top-search input[type=text] {
        background-color: transparent;
        width: calc(100% - 37px);
        border: none;
        margin:0px !important;
    }

    .uc-top-search a {
        background-color: var(--color-main);
        color: #FFF;
        padding: 0px 7px;
        border-top-right-radius: 17px;
        border-bottom-right-radius: 17px;
        line-height: 34px;
        display: inline-block;
    }



.uc-marquee {
    display: flex;
    padding: 5px 0px;
}

    .uc-marquee .caption {
        padding-left: 5px;
        font-family: var(--font-caption);
        font-weight: bold;
        color: #FFF;
        font-weight: normal;
        width: 65px;
    }

        .uc-marquee .caption:after {
            content: " : ";
        }

    .uc-marquee .body {
        display: none;
        width: calc(100% - 65px);
        direction: ltr;
        overflow: hidden;
    }


    .uc-marquee a {
        color: var(--color-gray) !important;
    }

    .uc-marquee .fa-solid {
        margin: 0px 10px;
        font-size: smaller;
    }



.uc-news-list-ver, .uc-news-list-hor {
    padding: 5px;
    margin-bottom:20px;
}

    


        


        .uc-news-list-hor .row [class*='col-'] {
            border-left: 2px solid rgba(31, 167, 156, 0.25);
        }
    .uc-news-list-hor .row [class*='col-']:last-child  {
        border-left: none;
    }



.uc-ads-show-item
{
    margin-bottom:10px;
}

.uc-ads-show-item img {
    width: 100%;
}



.uc-radio a
{
    color :#FFF;
}






.more-news {
    background-color: var(--color-main);
    color: #fff;
    font-family: var(--font-caption);
    font-size: 9pt;
    font-weight: normal;
    text-align: center;
    display: inline-block;
    padding: 0px 5px;
    border-radius: 3px;
}








.news-item-vertical,
.news-item-horizontal {
    margin-bottom: 5px;
}

    .news-item-vertical img,
    .news-item-horizontal img{
        margin: auto;
        margin-bottom: 5px;
        display: flex;
    }

    .news-item-horizontal img {
        margin-bottom: 0px !important;
    }

    .news-item-vertical .uptitle,
    .news-item-horizontal .uptitle {
        font-size: smaller;
        color: var(--color-gray-text) !important;
    }

    .news-item-vertical .title,
    .news-item-horizontal .title {
        color: #000;
        font-weight: bold;
    }

    .news-item-vertical .desc,
    .news-item-horizontal .desc {
        color: #555 !important;
    }



.box a:last-child .news-item-vertical,
.box a:last-child .news-item-horizontal {
    margin-bottom: 0px;
}



.to-bottom {
    position: sticky;
    top: 10px;
    margin-bottom: 10px;
}




.news-list .item{
    background-color:var(--color-gray);
    margin-bottom:10px;
}


.news-list .item .row div:last-child{
    padding:10px;
    padding-right:0px;
}


.news-list .item .date {
    font-size:smaller;
}

    .news-list .item .uptitle {
        font-size: smaller;
        font-weight:bold;
    }


    .news-list .item .title {
        color: #000;
        font-weight: bold;
        font-size: larger;
        margin-top: 5px;
        margin-bottom: 0px;
    }

    .news-list .item .desc {
        line-height:150%;
    }

    @media(max-width:576px)
    {
        .news-list .item .title {
            font-size: unset;
        }

        .news-list .item .desc {
            display:none;
        }
    }


/* #region plugin swiper */
    .swiper-pagination {
        position: unset !important;
    }

.swiper-button-next, .swiper-button-prev {
    background-color: var(--color-main);
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #FFF;
    border-radius:15px;
}

 

    .swiper-button-next::after {
        font-family: var(--fa-style-family, "Font Awesome 6 Free");
        font-weight: var(--fa-style, 900);
        font-size: 20px;
        content: "\f053" !important;
    }


    .swiper-button-prev::after {
        font-family: var(--fa-style-family, "Font Awesome 6 Free");
        font-weight: var(--fa-style, 900);
        font-size: 20px;
        content: "\f054" !important;
    }

.swiper-pagination-bullet ,.swiper-pagination-bullet-active{
    width:6px !important;
    height:6px !important;
}

.swiper-pagination-bullet-active {
    background-color:var(--color-main);
}
 


/* #endregion */



.pagging {
    margin-bottom: 10px;
    direction: ltr;
    text-align: center !important;
}


    .pagging a {
        font-family:var(--font-caption);
        border: 1px solid #DDD;
        line-height: 30px;
        min-width: 30px;
        display: inline-block;
        text-align: center;
        padding: 0px 10px;
    }

        .pagging a:hover {
            background-color: var(--color-main);
            color: var(--color-yellow) !important;
        }

        .pagging a.active {
            border: 1px solid var(--color-main);
            background-color: var(--color-main);
            color: #FFF;
        }

        .pagging a:hover {
            color: yellow !important;
        }



@media (max-width: 576px) {
    .pagging a {
        display: none;
    }

        .pagging a.main {
            display: inline-block;
        }
}



.news-show-details
{
    margin:0px 20px;
    color :#999;
}

.news-show-details  a{
    color: #999;
}


.news-show .upTitle {
    color:var(--color-gray-dark);
}

.news-show h1 {
    padding:0px;
    margin:10px 0px;
    color: #000;
    font-size:1.8rem
}


.news-show .desc {
    line-height:200%;
    background-color:var(--color-gray);
    padding:10px;
    border-radius:4px;
}

.news-show .body {
    line-height: 200%;
    padding: 10px;
}



.tag-item {
    background-color: var(--color-gray-dark);
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 5px;
    color: #FFF;
    padding: 0px 0px 0px 10px;
    line-height: 29px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.tag-item:before {
    background-color: var(--color-main);
    content:"#";
    margin-left:5px;
    line-height:30px;
    width:30px;
    display:inline-block;
    text-align:center;
    font-weight:bold;
    font-size:larger;
    border-radius:15px;
}



/* #region input */

.form-row
{
    display:flex;
}

label
{
    font-family:var(--font-caption);
    font-weight:bold;
    width:150px;
    margin-left:10px;
    text-align:left;
}

label:after {
    content:" : ";
}

input[type=text], textarea
{
    width: calc(100% - 170px);
    margin-bottom:10px;
    border-radius:4px;
    border:1px solid #bbb;
    font-family:var(--font-main);
    outline:none;
}

    input[type=text]:focus,
    textarea:focus {
        border: 1px solid var(--color-main);
    }

input[type=button],
input[type=submit] {
    background-color: var(--color-main);
    border:none;
    border-radius:4px;
    padding:5px 15px;
    color:#fff;
}


/* #endregion */