﻿/*Initilize*/
@font-face {
    font-family: 'nasim';
    src: url('nassim-regular.eot?#') format('eot'), url('nassim-regular.woff') format('woff'), url('nassim-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'dinar';
    src: url('dinar.eot?#') format('eot'), url('dinar.woff') format('woff'), url('dinar.ttf') format('truetype');
}

@font-face {
    font-family: 'masnavi';
    src: url('w_masnavi.eot?#') format('eot'), url('w_masnavi.woff') format('woff'), url('w_masnavi.ttf') format('truetype');
}

* {
    padding: 0;
    margin: 0;
   
}

li a {
    cursor: pointer;
}

a {
    text-decoration: none;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
 direction: rtl;
}

/*Header*/
header {
    min-width: 1100px;
    width: 100%;
    background-color: #1f1f1f;
}

    header nav {
        height: 50px;
        min-width: 1100px;
        background-color: #8b1e15;
        border-top: 6px solid #5f140e;
    }

        header nav ul {
            max-width: 1000px;
            margin: auto;
            height: 100%;
            list-style: none;
        }

            header nav ul li {
                position: relative;
                display: inline-block;
                height: 100%;
                text-align: center;
                padding-left: 10px;
                padding-right: 10px;
                line-height: 320%;
                transition: background-color 0.2s ease-out;
                min-width:90px;
            }

                header nav ul li a {
                    font-family: nasim;
                    font-size: 1.2em;
                    color: white;
                    height: 90%;
                    display: block;
                }

                header nav ul li.Active {
                    background-color: #5f140e;
                    cursor: pointer;
                }

                header nav ul li:hover {
                    background-color: #5f140e;
                    cursor: pointer;
                }

                    header nav ul li:hover > ul {
                        display: block;
                        height: auto;
                        max-height: 1000px;
                    }

                header nav ul li ul {
                    display: none;
                    position: absolute;
                    margin: 4px 0px 0px 0px;
                    padding: 2px 0px 2px 0px;
                    background-color: #8b1e15;
                    min-width: 150px;
                    right: -20px;
                    text-align: center;
                    min-height: 0px;
                    border-radius: 0px 0px 5px 5px;
                    z-index: 9999;
                    font-size: 13px;
                }

                    header nav ul li ul li {
                        width: 80%;
                        padding: 0px 10px;
                        margin: 0px auto;
                        line-height: 40px;
                        overflow: hidden;
                        text-align: center;
                        color: white;
                        cursor: pointer;
                        display: block;
                    }

                        header nav ul li ul li:hover {
                            background-color: #5f140e;
                            cursor: pointer;
                        }

    header section {
        max-width: 1000px;
        margin: auto;
        height: 67px;
    }

        header section .holder {
            display: inline-block;
            width: 400px;
        }

        header section .headerimage {
            height: 100%;
            width: 400px;
            padding-bottom: 3%;
            display: inline-block;
        }

            header section .headerimage img {
                width: auto;
                height: 80%;
                padding-bottom: 1%;
            }

        header section .socialmedia {
            height: 100%;
            display: inline-block;
        }

            header section .socialmedia ul {
                width: 150px;
                height: 100%;
                list-style: none;
                display: inline-block;
            }

                header section .socialmedia ul li {
                    display: inline-block;
                    height: 100%;
                    width: 22%;
                }

                    header section .socialmedia ul li a {
                        display: block;
                        height: 100%;
                        width: 100%;
                        background-size: contain;
                        background-position: center center;
                        background-repeat: no-repeat;
                    }


                    header section .socialmedia ul li:nth-child(1) a {
                        background-image: url('../Resource/Image/GooglePlus-r.png');
                    }

                    header section .socialmedia ul li:nth-child(2) a {
                        background-image: url(../Resource/Image/Instagram-r.png);
                    }

                    header section .socialmedia ul li:nth-child(3) a {
                        background-image: url(../Resource/Image/telegram-r.png);
                    }

                    header section .socialmedia ul li:nth-child(4) a {
                        background-image: url(../Resource/Image/FaceBook-r.png);
                    }

/*Footer*/
footer {
    font-family: nasim;
    background-color: #ebebeb;
    color: #5A5A59;
    border-top: 1px solid #bdc3c7;
    border-bottom: 2px solid #8b1e15;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-top: 20px;
    min-width: 1100px;
    width: 100%;
    bottom: 0px;
}


/*Main*/
main {
    position: relative;
    min-height: 512px;
    width: 1100px;
    margin: auto;
    overflow: hidden;
}

@media screen and (min-height : 700px) {
    main {
        min-height: 612px;
    }
}

/*Main First*/
main section.index {
    margin: auto;
    min-height: 100%;
    /*border: 1px solid red;*/
    text-align: center;
    width: 1000px;
    position: relative;
}

    main section.index article {
        display: inline-block;
        width: 200px;
        height: 380px;
        border: 2px solid #8b1e15;
        margin: auto;
        margin-top: 30px;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

        main section.index article a img {
            width: 100%;
            height: 100%;
            border-radius: 5px 5px 0px 0px;
            -webkit-transform: scale(1);
            transform: scale(1);
            -webkit-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
        }

            main section.index article a img:hover {
                -webkit-transform: scale(1.3);
                transform: scale(1.3);
                -webkit-filter: blur(1px);
            }

        main section.index article:hover > a h1 {
            transform: translateY(-100%);
        }

        main section.index article a h1 {
            transition: transform 0.4s;
            position: absolute;
            bottom: 0px;
            font: 22px nasim;
            width: 100%;
            color: white;
            background-color: #8b1e15;
        }

    main section.index .shamse-r {
        position: absolute;
        top: 30px;
        right: -20px;
    }

    main section.index .shamse-l {
        position: absolute;
        top: 30px;
    }
 main section.slider {
        direction:ltr;
        width:830px;        
        border:1px solid #8b1e15;
        border-radius:5px;
        margin:10px auto 0px auto;
        height:300px;
        position:relative;
       
    }
    main section.slider img{
         direction:ltr;
       width:830px;  
       height:300px;
    }
/*Main List*/
main section.tabs {
    position: relative;
    background-color: #ebebeb;
    padding: 20px;
    border: 1px solid #bdc3c7;
    margin: 70px auto 0px auto;
    border-radius: 5px;
    width: 1000px;
}

    main section.tabs h1 {
        font-family: nasim;
        font-weight: 200;
        color: #5d5a5a;
    }
main section.tabs .cnt{
     font-family: nasim;
        color: #5d5a5a;
        padding: 5px;
}

    main section.tabs p {
        font-family: nasim;
        color: #5d5a5a;
        padding: 5px;
    }

    main section.tabs article {
        margin: 10px auto;
        font-family: nasim;
        background-color: #dedede;
        padding: 20px;
        border-radius: 5px;
        border: 1px solid #bdc3c7;
        position: relative;
        transition: all ease 0.4s;
    }

    main section.tabs a article:hover {
        background-color: #ebebeb;
        cursor: pointer;
    }

        main section.tabs a article:hover > section h2 {
            color: #8b1e15 !important;
        }

    main section.tabs article img {
        display: inline-block;
        width: 132px;
        height: 132px;
        vertical-align: central;
        border-radius: 5px;
        padding: 0px;
        margin: 0px;
    }

    main section.tabs article section {
        width: 775px;
        min-height: 132px;
        display: inline-block;
        vertical-align: top;
        padding: 0px;
        margin-right: 5px;
        color: #5d5a5a;
    }

    main section.tabs article h2 {
        font-weight: 100;
    }

    main section.tabs article p {
        text-align: justify;
    }

    main section.tabs article time {
        position: absolute;
        width: 100px;
        height: 30px;
        left: 0px;
        font-family: nasim;
        font-size: 20px;
    }

main section.pagenumber {
    margin: 5px auto;
    height: 30px;
    text-align: center;
}

    main section.pagenumber span {
        display: inline-block;
        height: 30px;
        width: 30px;
        line-height: 30px;
        background-color: aqua;
        border-radius: 5px;
        background-color: #dedede;
        color: #5d5a5a;
        border: 1px solid #bdc3c7;
        transition: all ease 0.4s;
    }

        main section.pagenumber span:hover {
            cursor: pointer;
            background-color: #8b1e15;
            border: 1px solid #5f140e;
            color: white;
        }

        main section.pagenumber span.ActivePage {
            background-color: #8b1e15 !important;
            border: 1px solid #5f140e !important;
            color: white;
        }

main section.tabs .tabsbutton {
    position: absolute;
    margin-top: -52px;
    font-family: nasim;
}

    main section.tabs .tabsbutton li {
        transition: all ease 0.4s;
        display: inline-block;
        min-width: 100px;
        text-align: center;
        margin: 0px 3px;
        height: 30px;
        line-height: 30px;
        background-color: red;
        border: 1px solid #323232;
        border-bottom: 0;
        border-radius: 6px 6px 0 0;
        background-color: #5d5a5a;
        font-size: 14px;
        color: white;
        text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
        text-align: center;
        font-family: nasim;
    }

        main section.tabs .tabsbutton li a {
            text-decoration: none;
            color: white;
        }

        main section.tabs .tabsbutton li.ActiveTab, main section.tabs .tabsbutton li:hover {
            background-color: #8b1e15;
            border-color: #5f140e;
            cursor: pointer;
        }
/*Main One*/
main section.tabs article section.summary {
    margin: 20px auto 10px auto;
    font-family: nasim;
    background-color: #dedede;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #bdc3c7;
    position: relative;
    transition: all ease 0.4s;
    width: 915px;
    position: relative;
}

    main section.tabs article section.summary img {
        display: inline-block;
        width: 132px;
        height: 132px;
        vertical-align: central;
        border-radius: 5px;
        padding: 0px;
        margin: 0px;
    }

    main section.tabs article section.summary section {
        width: 730px;
        height: 100px;
        display: inline-block;
        vertical-align: top;
        padding: 0px 10px;
        margin-right: 5px;
        color: #5d5a5a;
        margin-top: 15px;
        
    }

     main section.tabs article section.summary h1 {
        font-size: 20px;
    }


    main section.tabs article section.summary p {
        text-align: justify;
    }

main section.tabs article time {
    position: absolute;
    width: 100px;
    height: 30px;
    left: 0px;
    font-family: nasim;
    font-size: 20px;
}



main section.tabs article .backmain {
    position: absolute;
    width: 80px;
    height: 30px;
    left: 60px;
    top: 5px;
    font-family: nasim;
    font-size: 20px;
    border: 1px solid #8b1e15;
    /*background-color:#8b1e15;*/
    text-align: center;
    border-radius: 5px;
}

 .backmain,#backmain {
    position: absolute;
    width: 80px;
    height: 30px;
    left: 60px;
    top: 5px;
    font-family: nasim;
    font-size: 20px;
    border: 1px solid #8b1e15;
    /*background-color:#8b1e15;*/
    text-align: center;
    border-radius: 5px;
}

    main section.tabs article span a {
        color: #5d5a5a;
    }

main section.tabs article.data {
    background-color: #ebebeb;
    border: none;
    position: relative;
    min-height: 100%;
}

    main section.tabs article.data h1 {
        font-family: nasim;
        font-weight: 200;
        color: #5d5a5a;
    }

    main section.tabs article.data section.content {
        font-family: nasim;
        padding: 20px;
width:900px;
    }

.marquee {
    width: 830px;
    overflow: hidden;
    white-space: nowrap;
    margin:10px auto;
    background-color: #8b1e15;
    color: white;
    height:40px;
    line-height:40px;
    font-size:16px;
    font-family:nasim;
    border-radius:5px;    
}

    #marquee a {
        color: white;
        margin:0px 20px 0px 20px;
                     
    }
   

#marquee {
    direction:ltr;
    overflow: hidden;
    white-space: nowrap;    
}


