﻿:root {
    --color-main: #901c29;
    --color-two: #7e7e7e;
    --color-yellow: yellow;
    --color-yellow-bg: #FCF2E6;
    --color-gray-bg: #ebebeb;
    --font-main: SourceSansPro;
    --font-title: SourceSansPro;
    --font-size: 12pt;
    --font-size-l: 14pt;
    --font-size-xl: 16pt;
    --font-size-s: 10pt;
    --font-size-xs: 8pt;
}


/*
    xs  <576px	
    sm  ≥576px	
    md  ≥768px	
    lg  ≥992px	
    xl  ≥1200px	
    xxl ≥1400px
*/

@font-face {
    font-family: SourceSansPro;
    font-weight: normal;
    src: url('https://nournews.ir/cdn/css/fonts/SourceSansPro-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: SourceSansPro;
    font-weight: bold;
    src: url('https://nournews.ir/cdn/css/fonts/SourceSansPro-Bold.woff') format('woff');
    font-display: swap;
}



body {
    font-family:var(--font-main);
    font-size:var(--font-size);
}


a, a:visited, a:active{
    color:#222;
    text-decoration:none;
}

a:hover {
    color: #000;
}

a.white{
    color:white !important;
}

    a.white:hover {
        color: var(--color-yellow) !important;
    }


img
{
    max-width:100%;
}

.center
{
    text-align:center !important;
}

.left {
    text-align: left !important;
}


.right {
    text-align: right !important;
}

.en
{
    direction: ltr;
}

.white
{
    color: #FFF !important;
}

.white h2{
    color: #FFF !important;
}

    .white a, .white a:visited, .white a:active {
        color: #FFF !important;
    }

    .white a:hover {
        color: var(--color-yellow) !important;
    }

/*#region page*/

header
{
    margin-bottom:5px;
}

header .top {
    background-color: var(--color-two);
    color: #fff;
    padding:10px 0px;
}

    header .lan-date {
        width: calc(100% - 275px);
        padding-top: 25px;
    }


    header .language {
        text-align: right;
    }

    header .language a{
        display:inline-block;
        margin-right:10px;
        font-size:var(--font-size-s) !important;
    }

    header #spanCalendar {
        font-size: var(--font-size-s) !important;
        margin-top:5px;
    }


    header .logo {
        height: 60px;
        background-image: url('https://nournews.ir/cdn/img/top-bg.png');
        background-repeat: repeat-x;
        display: flex;
        justify-content: space-between;
    }

    header .link {
        margin-top: 30px;
        display: flex;
        justify-content: space-around;
    }

    header .link img {
        width:26px;
    }




    header nav {
        background-color: var(--color-main);
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
    }

    header nav .menu-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 30px;
    }

    header nav .menu-box a{
        color:#fff;
        font-family:var(--font-title);
    }

        header nav .menu-box a:hover {
            color: var(--color-yellow) !important;
            font-family: var(--font-title);
        }


        header .line-news
        {
            background-color:var(--color-yellow-bg);
        }


.mobile-menu-box-bg {
    background-color: transparent;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left:0px;
    right: 0px;
    z-index: 300;
    display:none;
}

.mobile-menu-box {
    background-color: var(--color-gray-bg);
    position: fixed;
    top: 0px;
    bottom: 0px;
    width: 0%;
    left: 0px;
    z-index: 301;
    overflow:hidden;
}

.mobile-menu-box .fa{
    color:var(--color-main);
    margin-left:5px;
}

.mobile-menu-box-content
{
    padding:10px;
    min-width:300px;
}

@media (max-width : 992px)
{
    header .lan-date {
        padding: 5px;
    }
    header #spanCalendar {
        text-align: right;
    }
}
@media (max-width: 768px) {

    header .lan-date {
        width: unset;
        padding: 10px;
        position: absolute;
        right: 0px;
    }


    header .link {
        display: none;
    }

    header #spanCalendar {
        text-align: left;
    }

    header .language {
        display: none;
    }


    header .logo {
        height: unset;
    }
}




footer
{
    margin-top:10px;
    background-color:var(--color-gray-bg);
}

footer .level-1
{
    padding:30px 0px;
}

footer a.scroll-up
{
    background-color:var(--color-main);
    display:inline-block;
    width:50px;
    height:50px;
    padding-bottom:5px;
    color :#FFF;
    border-radius:50%;
    margin:auto;
    display:flex;
    justify-content:center;
    align-items:center;
}

footer .level-2 {
    padding: 50px 0px;
    background-color:var(--color-two);
    color:#FFF;
}

    footer .link-box  {
        text-align:right;
    }

    footer .link-box a  {
        display:inline-block;
        color: #FFF;
        margin:0px 10px;
    }



@media (max-width: 768px) {
    footer .link-box {
        padding-top:30px;
        text-align: center;
    }
}


    footer .copyright {
        text-align: center !important;
        direction: ltr;
        font-family: Tahoma;
        font-size: 10pt;
        background-color: #444;
        padding: 20px 0px;
        color: #FFF;
    }


    /*#endregion*/




    .pagging {
        margin-bottom: 10px;
        direction: ltr;
        text-align: center !important;
    }


        .pagging a {
            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;
            }



    @media (max-width: 576px) {
        .pagging a {
            display: none;
        }

            .pagging a.main {
                display: inline-block;
            }
    }





    /* #region imag-box */

    .img-box,
    .img-box-ver {
        padding-top: 66.7%;
        position: relative; /* If you want text inside of it */
    }

    .img-box-ver {
        padding-top: 149%;
    }

        .img-box .area,
        .img-box-ver .area {
            position: absolute;
            top: 0px;
            left: 0;
            right: 0;
            bottom: 0px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .img-box img,
        .img-box-ver img,
        .img-box picture,
        .img-box-ver picture {
            max-width: 100% !important;
        }


    /* #endregion*/
    .news-top {
        margin-bottom: 10px;
    }

        .news-top .upTitle {
            color: #aaa;
            margin: 5px 0px;
        }

        .news-top h1 {
            color: #000;
            font-size: var(--font-size-xl);
        }

        .news-top .desc {
            color: #444;
            text-align: justify;
            line-height: 175%;
        }



    .news-top-white {
        margin-bottom: 10px;
    }

        .news-top-white .upTitle {
            color: #aaa;
            margin: 5px 0px;
        }

        .news-top-white h1 {
            color: #FFF;
            font-size: var(--font-size-xl);
        }

        .news-top-white .desc {
            color: #ddd;
            text-align: justify;
            line-height: 175%;
        }



    .box,
    .news-list {
        border: 3px solid var(--color-main);
        padding: 5px;
        margin-bottom: 10px;
    }

        .box hr,
        .news-list hr {
            margin: 10px 10% !important;
            background-color: var(--color-main) !important;
            opacity: 1 !important;
        }



        .box .caption,
        .news-list .caption {
            color: var(--color-main);
            font-family: var(--font-title);
            font-size: var(--font-size-xl);
            margin-bottom: 10px;
        }

            .box .caption img,
            .news-list .caption img,
            .caption img {
                margin-right: 5px;
                width: 26px;
            }

            .box .caption .fa,
            .news-list .caption .fa {
                margin-right: 10px;
                color: #FFF;
                background-color: var(--color-main);
                font-size: var(--font-size-xl);
                padding: 5px;
                border-radius: 4px;
            }

        .news-list .news-ajax-item,
        .news-list .news-ajax-item-left,
        .news-list .news-ajax-item-ver,
        .news-list .news-ajax-item-title {
            background-image: url('https://nournews.ir/cdn/img/loading-bg.gif');
            min-height: 80px;
            border-radius: 6px;
        }

        .news-list .news-ajax-item-ver {
            min-height: 100px;
        }


        .news-list .news-ajax-item-title {
            min-height: 30px;
            margin-bottom: 5px;
        }


            .news-list .news-ajax-item-title .fa {
                color: var(--color-main);
                margin-right: 5px;
            }





        .news-list .news-ajax-loaded {
            background-image: none !important;
            min-height: unset !important;
            border-radius: unset !important;
        }






    .news-item {
    }


        .news-item h1 {
            color: #000;
            font-size: var(--font-size-xl);
            margin: 5px 0px;
            font-weight: bold;
        }

        .news-item h2 {
            color: #000;
            font-size: var(--font-size);
            margin: 5px 0px;
            font-weight: bold;
            line-height: 150%;
        }

        .news-item .upTitle {
            color: #aaa;
            margin: 5px 0px;
        }

        .news-item .desc {
            color: #444;
            text-align: justify;
        }

        .news-item .publish-date {
            color: #444;
            font-size: smaller;
        }

        .news-item .body {
            text-align: justify;
            line-height: 175%;
            padding: 20px;
        }




.news-details{
    font-size:smaller;
    margin:5px 0px;
}



.tag-item {
    background-color: #DDD;
    display: inline-block;
    padding: 0px 10px;
    margin: 5px;
    line-height: 30px;
    border-radius: 15px;
    white-space: nowrap;
}

        .tag-item:before {
            content: "\f292";
            font-family: 'FontAwesome';
            margin-right: 5px;
            color: #AAA;
            background-color: #444;
            height: 24px;
            width: 24px;
            display: inline-block;
            text-align: center;
            line-height: 24px;
            border-radius: 50%;
            margin-top: 5px;
        }



.default-lm {
    background-color: var(--color-gray-bg);
    font-size: smaller;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 6px;
    color: var(--color-main) !important;
}

.default-lm-active {
    background-color: var(--color-main) !important;
    color: #FFF !important;
}



    .default-note-box {
        background-color: var(--color-two);
    }

        .default-note-box .news-list {
            border: none !important;
        }

        .default-note-box .upTitle {
            color: #FFF;
        }


.default-note-box hr{
    background-color:#FFF !important;
}


.default-service-social {
    background-color: #eaeaea;
}

.default-service-economic {
    background-color: #c0c2c1;
}

.default-service-economic .left-border {
    border-left:1px solid var(--color-main);
}

@media (max-width: 992px) {
    .default-service-economic .left-border {
        border-left: none;
    }
}







    .default-service-cultural {
        background-color: #8a8d8c;
    }

        .default-service-cultural h2 {
            color: #fff !important;
        }

        .default-service-cultural .desc {
            color: #ddd !important;
        }



.default-service-international {
    background-color: var(--color-yellow-bg);
}


.default-box-gray {
    background-color: var(--color-gray-bg);
}

    .default-box-maincolor {
        background-color: var(--color-main);
    }

    .default-box-yellow {
        background-color: var(--color-yellow-bg);
    }


@media (min-width: 768px) and (max-width: 992px) {
    .default-service-economic .desc,
    .default-service-cultural .desc,
    .default-service-international .desc {
        display: none;
    }
}



.default-service-international .news-list,
.default-service-cultural .news-list,
.default-service-social .news-list,
.default-service-economic .news-list,
.default-box .news-list,
.default-box-yellow .news-list,
.default-box-gray .news-list,
.default-box-maincolor .news-list {
    border: none !important;
}






    /*#region uc*/


    .uc-top-search {
        background-color: #ddd;
        height: 30px;
    }

        .uc-top-search input[type=text] {
            border: none;
            background-color: transparent;
            width: calc(100% - 45px);
            outline: none;
        }




    .uc-marquee {
        display: flex;
        align-items: center;
    }



        .uc-marquee .caption {
            padding-left: 5px;
            font-family: var(--font-title);
            color: var(--color-main);
            font-size: 14pt;
            font-weight: normal;
            width: 95px;
        }




        .uc-marquee .body {
            display: none;
            direction: ltr;
            overflow: hidden;
            float: right;
            font-size: smaller !important;
            width: calc(100% - 95px);
        }

        .uc-marquee .fa {
            color: var(--color-main);
            margin-left: 10px;
            margin-right: 10px;
        }



    .uc-default-top {
        background-color: var(--color-gray-bg);
        padding: 10px;
        margin-bottom: 10px;
    }

        .uc-default-top .caption {
            margin-bottom: 10px;
            font-family: var(--font-title);
            font-size: var(--font-size-xl);
        }

        .uc-default-top img {
            margin-right: 10px;
        }




    .uc-gallery-show-item {
        text-align: center;
        margin-bottom: 5px;
    }

    .uc-radio {
        background-color: var(--color-main);
        padding: 10px;
        margin-bottom: 10px;
    }

        .uc-radio .caption {
            font-family: var(--font-title);
            color: #FFF;
            font-size: var(--font-size-xl);
        }

            .uc-radio .caption img {
                margin-left: 5px;
            }

        .uc-radio .header {
            display: flex;
            margin-bottom: 10px;
        }

            .uc-radio .header .caption {
                width: 125px;
            }

            .uc-radio .header .line {
                width: calc(100% - 125px - 75px);
                background-image: url('https://nournews.ir/cdn/img/ui-radio-line.png');
                background-repeat: repeat-x;
            }

            .uc-radio .header .headphone {
                width: 75px;
                text-align: center;
            }




.uc-default-tags {
    background-color: #444;
    padding: 10px;
    margin-bottom: 10px;
}

        .uc-default-tags .caption {
            font-family: var(--font-title);
            color: #FFF;
            font-size: var(--font-size-xl);
        }




    .uc-media {
        background-color: var(--color-yellow-bg);
        padding: 10px;
    }

        .uc-media .caption {
            font-family: var(--font-title);
            color: #000;
            font-size: var(--font-size-xl);
            margin-bottom: 10px;
        }



        .uc-nour-nama
        {
            background-color:var(--color-two);
            margin-bottom:10px;
            padding:10px;
        }

        .uc-nour-nama .caption {
            font-family: var(--font-title);
            color: #fff;
            font-size: var(--font-size-xl);
            margin-bottom: 10px;
        }

            .uc-nour-nama .caption .fa{
                margin-right:5px;
            }







    .uc-ads-fix {
        position: fixed;
        bottom: 0px;
        right: 0px;
        left: 0px;
        background-color: #FFF;
        border-top-left-radius: 10px;
        padding: 10px;
        text-align: center;
        box-shadow: 0px 0px 5px #DDD;
        z-index: 201;
    }

    .uc-ads-fix-close {
        position: fixed;
        right: 0px;
        color: #FFF;
        background-color: #222;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        padding: 5px 10px 0px 10px;
        text-align: center;
        z-index: 205;
        cursor: pointer;
    }

    @media (max-width: 450px) {
        .uc-ads-fix {
            background-color: #000;
            border-top-left-radius: 0px;
            border-top-right-radius: 0px;
            padding: 0px;
            box-shadow: none;
        }
    }


    /*#endregion*/


    /*#region*/
    .form {
        padding: 10px;
    }

        .form h2 {
            border-left: 5px solid var(--color-main);
            font-size: var(--font-size);
            padding-left: 5px;
        }

            .form h2:after {
                content: " : ";
            }

        .form select,
        .form input[type=date],
        .form input[type=text],
        .form textarea {
            width: 100%;
            border-radius: 4px;
            border: 1px solid var(--color-main);
            outline: none;
            margin-bottom: 15px;
        }


        .form input[type=button],
        .form input[type=submit] {
            border-radius: 8px;
            padding: 5px 25px;
            background-color: var(--color-main);
            border: none;
            color: #FFF;
        }


    /*#endregion*/