﻿@font-face {
    font-family: 'IRANSans-web';
    src: url('/assets/fonts/IRANSans-Light.eot?#') format('eot'), url('/assets/fonts/IRANSans-Light.woff') format('woff');
    font-weight: normal;
}

@font-face {
    font-family: 'Yekan';
    src: url('/assets/fonts/YekanWeb-Regular.eot');
    src: url('/assets/fonts/YekanWeb-Regular.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/YekanWeb-Regular.woff') format('woff'), url('/assets/fonts/YekanWeb-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazir';
    src: url('/assets/fonts/Vazir.eot');
    src: url('/assets/fonts/Vazir.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/Vazir.woff') format('woff'), url('/assets/fonts/Vazir.ttf') format('truetype');
}

@font-face {
    font-family: 'Koodak';
    src: url('/assets/fonts/BKoodakBold.eot');
    src: url('/assets/fonts/BKoodakBold.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/BKoodakBold.woff') format('woff'), url('/assets/fonts/BKoodakBold.ttf') format('truetype');
}

body {
    direction: rtl;
    font-family: 'Vazir','IRANSans-web','Yekan', Tahoma;
    background: #F7F7F7 none repeat scroll 0 0;
    /*background: #EBF1CF none repeat scroll 0 0;*/
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazir','IRANSans-web';
}

h2, .h2 {
    font-size: 1.8em;
}

h3, .h3 {
    font-size: 1.6em;
}

.container.body-content {
    margin-top: 60px;
}

a {
    transition: all 0.3s ease-out 0s;
    text-decoration: none;
}
/****wrapper*/
.container-me {
    margin-top: 100px;
}

.wrapper {
    margin-top: 20px;
}
/***navbar*/
.navbar-me {
    background-color: #555;
    border-bottom: 1px solid #f75151;
    box-shadow: 0 1px 2px -1px #f75151, 0 1px 2px 0 #f75151, 0 3px 2px -2px #f75151;
}

.navbar-nav > li > a, .navbar-brand {
    color: #fff;
    transition: all 0.3s ease-out 0s;
}

.navbar-nav > li > a:hover,  .nav > li > a:hover, .nav > li > a:focus {
    border-color: #f77676;
    background-color: #f77676;
    color: #fff;
}
.navbar-brand:hover {
    border-color: #f77676;
}
.navbar-brand {
        padding: 1px !important
    }
/*****nav-tabs***/
.nav-tabs {
    padding: 0;
}

    .nav-tabs > li {
        float: right;
    }

        .nav-tabs > li > a {
            color: #555;
            font-size: 12px;
            transition: all 0.3s ease-out 0s;
        }
      
        .navbar-toggle .icon-bar {
            background-color: #fff
        }
/****pagination*/
.pagination > li > a,
.pagination > li > span {
    color: #f77676 !important;
    margin-left: 3px;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #f77676 !important;
    border-color: #f77676 !important;
    color: #fff !important;
}
/****banner*/
.banner {
    background-color: #eee;
    border-radius: 5px;
    height: 100px;
    margin-bottom: 10px;
}

/**********form control****/
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
    border-radius: 4px 0 0 4px;
    /*padding: 5px 12px;*/
}

    .input-group .form-control:first-child,
    .input-group-addon:first-child,
    .input-group-btn:first-child > .btn,
    .input-group-btn:first-child > .dropdown-toggle,
    .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
        border-radius: 0 4px 4px 0;
    }

/*****side bar*/

aside.sidebar {
    width: 26%;
    float: right;
    padding: 5px;
}

/***body*/
.page-body {
    width: 73%;
    float: left;
    padding: 5px;
}

/****footer*/
footer {
    clear: both;
    background-color: #444;
    color: #ccc;
    padding: 10px;
    min-height: 100px;
    margin-top: 10px;
    font-size: 12px;
}

    footer a {
        color: #ccc;
        text-decoration: none;
    }

        footer a:hover {
            color: #fc9292;
            text-decoration: none;
        }

        /*****box****/
.box {
    background-color: #eee;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #ccc;
    padding: 5px;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    flex-direction: column;
}

    .box .header {
        border-bottom: 1px solid #ccc;
        color: #555;
        padding-bottom: 15px;
    }

    .box .body {
        margin-top: 10px;
        clear: both;
    }


/*****category list*/
#main-cats li {
    list-style-type: none;
}

ul#main-cats {
    padding-right: 10px;
}

    ul#main-cats ul {
        padding-right: 0;
        border-right: 1px solid #ccc;
        list-style: outside none none;
        margin-bottom: 0;
        margin-right: 0;
        margin-top: 7px;
    }

    ul#main-cats li ul li {
        line-height: 15px;
        padding-right: 17px;
        position: relative;
    }

        ul#main-cats li ul li::before {
            background-color: #ccc;
            content: "";
            height: 1px;
            position: absolute;
            right: 0;
            top: 12px;
            width: 11px;
        }

        ul#main-cats li ul li.active::before {
            background-color: #f77676;
        }

    ul#main-cats > li {
        /*border-bottom: 1px solid #ccc;*/
    }

    ul#main-cats li a {
        width: 100%;
        padding: 5px;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease-out 0s;
        font-size: 12px;
        color: #555;
    }

        ul#main-cats li a i.fa {
            font-size: 9px;
            color: #ccc;
        }

#main-cats li:hover > a {
    color: #f77676;
    /*color: #fff;*/
}

#main-cats li.active > a {
    /*background-color: #f77676;*/
    color: #f77676;
}

ul#main-cats li.active > a i.fa {
    color: #f77676;
}

/*****cat mega-menu*/
.cat-bar {
    background-color: #eee;
    height: 30px;
    border-radius: 5px;
    clear: both;
    display: table;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

    .cat-bar ul, .cat-bar ol {
        list-style-type: none;
    }

#cat-menu {
    padding: 0;
    position: relative;
    text-align: center;
    top: 2px;
    width: 100%;
}

    #cat-menu > li {
        display: inline;
        list-style-type: none;
    }

    #cat-menu a {
        text-decoration: none;
        color: #555;
    }

        #cat-menu a:hover {
            text-decoration: none;
            color: #f77676;
        }

    #cat-menu .cat_list {
        /*background-color: #f4dd8f;*/
        border-radius: 10px;
        color: #474748;
        display: inline-block;
        font-family: "IRANSans-web","B Traffic",tahoma;
        font-size: 12px;
        margin-left: 2px;
        padding: 10px 10px;
        text-align: center;
        width: 90px;
    }

#cat_menu .cat_list a {
    color: #670000 !important;
    cursor: pointer;
}

.cat_list > ul.cat-child {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #eee;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px #f77676;
    display: none;
    float: right;
    min-height: 100px;
    position: absolute;
    right: 0;
    text-align: right;
    transition: all 3000ms linear 0s;
    width: 100%;
    z-index: 2147483647;
    /*top: 15px;*/
    padding: 10px;
}

.cat_list .fa-caret-down {
    display: inline;
}

.cat_list:hover .fa-caret-down {
    display: none;
}

.cat_list .fa-caret-up {
    display: none;
}

.cat_list:hover .fa-caret-up {
    display: inline;
}

.cat_list:hover ul {
    /*color: #000 !important;*/
    display: block;
}

ul.cat-col {
    width: 25%;
    float: right;
    border-left: 1px solid #ccc;
    padding-right: 20px;
    color: #ccc;
    list-style-type: disc;
}

ul.cat-child ul.cat-col:last-child {
    border-left-width: 0px;
}

ul.cat-col {
}

    ul.cat-col li {
        margin-top: 5px;
    }
/***breadcrum*/
.breadcrumb {
    background-color: #eee;
}

    .breadcrumb li a {
        text-decoration: none;
        color: #555;
        font-size: 10px;
    }

        .breadcrumb li a:hover {
            color: #f75151;
        }

/****articles*/
.article-list {
}

.article-item {
    border-radius: 5px;
    /*border: 1px solid #ccc;*/
    min-height: 350px;
    max-height: 350px;
    width: 32%;
    margin-left: 10px;
    float: right;
    background-color: #eee;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 1px 1px 2px #ccc;
    /*cursor: pointer;*/
    padding: 5px;
}

    .article-item:hover {
        box-shadow: 1px 1px 5px #fc9292;
        border: 1px solid #f75151;
    }

.article-img {
    width: 100%;
    height: 210px;
    background-color: #efefef;
    text-align: center;
}

    .article-img img {
        width: 200px;
        height: 200px;
        margin: 5px auto;
        border-radius: 5px;
    }

.article-title {
}

    .article-title h3 {
        text-align: center;
        font-size: 14px;
        height: 80px;
    }

        .article-title h3 a {
            color: #333;
            text-decoration: none;
        }

.article-desc {
    font-size: 10px;
    text-align: center;
}

.article-link {
    border-color: #fc9292;
    background-color: #fc9292;
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 12px;
    font-family: "Yekan", "Vazir";
    color: #bc0707;
    transition: all 0.3s ease-out 0s;
}

    .article-link:hover {
        border-color: #f77676;
        background-color: #f77676;
    }

.image-list {
    text-align: center;
    margin-bottom: 10px;
}

    .image-list .image-item {
        width: 100px;
        height: auto;
        border-radius: 5px;
        margin-left: 5px;
    }

        .image-list .image-item img {
            width: 100px;
            height: auto;
            border-radius: 5px;
            margin-left: 5px;
        }


/***article*/
.article {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #eee;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 1px 1px 2px #ccc;
}

h1.article-title {
    background-color: #f9dede;
    border-radius: 5px;
    padding: 10px;
    font-size: 18px;
    color: #994343;
    margin-bottom: 10px;
    text-align: center;
}

.artcil-fulldesc {
    background-color: #eee;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
}

.article-download {
    border-color: #f77676;
    background-color: #f77676;
    color: #f9dede;
    margin-bottom: 10px;
}
    .article-download.main-link {
        border-color: #88e09e;
        background-color: #f77676;
        color: #f9dede;
    }
    .article-download:hover {
        border-color: #f77676;
        background-color: #f9dede;
        color: #f77676;
    }

.article-cat {
    font-size: 10px;
}
h2.article-creator , h3.article-about {
    font-size: 14px !important;
    display: inline;
    margin-left: 10px;
}
.label.label-tag {
    color: #666;
    background-color: #ddd;
    border: 1px solid #f77676;
    margin-bottom: 10px;
    display: inline-block;
    padding: 8px 5px;
}

    .label.label-tag:hover {
        color: #f77676;
        background-color: #ccc;
    }



/****similar articles****/
.similar-article {
}

    .similar-article .article-item {
        width: 15.45%;
        max-height: 220px;
        min-height: 220px;
    }

        .similar-article .article-item .article-title h3 {
            font-size: 13px;
            line-height: 16px;
        }

        .similar-article .article-item .article-img {
            height: 85px;
        }

            .similar-article .article-item .article-img img {
                width: 80px;
                height: 80px;
            }


        .similar-article .article-item .article-link {
            display: none;
        }
/****favorite articles****/
.favorite-article ul {
    padding-right: 0;
}

.favorite-article .article-item {
    width: 100%;
    max-height: 70px;
    min-height: 70px;
    overflow: hidden;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px dotted #c7c7c7;
    border-radius: 0;
    padding: 0;
}

    .favorite-article .article-item:hover {
        border-width: 0;
        border-bottom: 1px dotted #c7c7c7;
    }

        .favorite-article .article-item:hover a {
            color: #f77676;
        }

    .favorite-article .article-item a {
        color: #555;
        text-decoration: none;
    }

    .favorite-article .article-item .article-title {
        text-align: right;
        font-size: 12px;
        line-height: 16px;
        margin-top: 10px;
    }
    
    .favorite-article .article-item .article-img {
        height: 65px;
        width: 65px;
        float: right;
    }

        .favorite-article .article-item .article-img img {
            width: 50px;
            height: 50px;
        }


.favorite-article ul li:last-child {
    border-bottom-width: 0;
}
/****prev next*/
.article_link {
    display: inline-block;
    margin-bottom: 5px;
    width: 100%;
    padding: 5px;
    font-size: 13px;
}

    .article_link .previous, .article_link .next {
        color: #999;
        float: left;
        height: 39px;
        padding: 8px 15px;
        position: relative;
        text-align: left;
        transition: all 0.3s ease-out 0s;
        width: 30%;
    }

    .article_link .next {
        float: right;
        text-align: right;
    }

    .article_link .previous a {
        color: #999;
        display: block;
        height: 54px;
        left: 0;
        line-height: 77px;
        overflow: hidden;
        position: absolute;
        text-overflow: ellipsis;
        top: 0;
        white-space: nowrap;
        width: 100%;
    }

    .article_link .next a {
        color: #999;
        display: block;
        height: 55px;
        line-height: 79px;
        overflow: hidden;
        position: absolute;
        right: 0;
        text-indent: 15px;
        text-overflow: ellipsis;
        top: 0;
        white-space: nowrap;
        width: 100%;
    }

    .article_link .previous span, .article_link .next span {
        color: #666;
        display: block;
        font-size: 12px;
    }

    .article_link a {
        text-decoration: none;
        color: #555;
        transition: all 0.3s ease-out 0s;
    }

        .article_link a:hover {
            text-decoration: none;
            color: #f77676;
        }
/***responsive*/
@media(max-width: 1200px) {
    .article-img img {
        width: 200px;
        height: 200px;
    }

    .page-body {
        /*clear: both;*/
        width: 60%;
    }

    aside.sidebar {
        width: 40%;
    }

    .article-item {
        width: 48%;
    }
}

@media(max-width: 1195px) {
    .similar-article .article-item {
        width: 19%;
        margin-left: 5px;
    }
}

@media(max-width: 1000px) {
    .article-img img {
        width: 150px;
        height: 150px;
    }

    .page-body {
        clear: both;
        width: 100%;
    }

    aside.sidebar {
        clear: both;
        width: 100%;
    }

    .article-item {
        width: 31%;
    }
}

@media(max-width: 815px) {
    .article-img img {
        width: 200px;
        height: 200px;
    }

    .article-item {
        width: 48%;
    }
}

@media(max-width: 665px) {
    .similar-article .article-item {
        width: 24%;
    }

    .article_link .previous, .article_link .next {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media(max-width: 620px) {
    ul.cat-col {
        width: 50%;
    }
}

@media(max-width: 570px) {
    .similar-article .article-item {
        width: 32%;
    }
}

@media(max-width: 540px) {
    .article-img img {
        width: 200px;
        height: 200px;
    }

    .article-item {
        width: 100%;
    }
}

@media(max-width: 445px) {
    .similar-article .article-item {
        width: 48%;
    }
}

@media(max-width: 340px) {
    ul.cat-col {
        width: 100%;
    }
}

@media(max-width: 310px) {
    .similar-article .article-item {
        width: 100%;
        margin-left: 0;
    }
}

.play {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}