@font-face {
    font-family: 'iransans';
    src: url("../fonts/iransans/IRANSans-web.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    padding: 0;
    margin: 0;
    text-align: right;
    background-color: #eaeaea;
    font-family: iransans !important;
    direction: rtl;
}

p {
    font-family: iransans !important;
}

span {
    font-family: iransans !important;
}

.glyphicon {
    font-family: 'Glyphicons Halflings' !important;
}

.scroll-bar-wrap {
    width: 100%;
    position: relative;
}

.scroll-box {
    width: 100%;
    height: 2212px;
    direction: ltr;
    overflow-y: scroll;
}

.scroll-box::-webkit-scrollbar {
    width: .4em;
}

.carousel-caption {
    bottom: 0 !important;
    padding-bottom: 0 !important
}

.scroll-box::-webkit-scrollbar,
.scroll-box::-webkit-scrollbar-thumb {
    overflow: visible;
    border-radius: 4px;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
}

.cover-bar {
    position: absolute;
    background: #fff;
    ;
    height: 100%;
    top: 0;
    right: 0;
    width: .4em;
    -webkit-transition: all .5s;
    opacity: 1;
}


/* MAGIC HAPPENS HERE */

.scroll-bar-wrap:hover .cover-bar {
    opacity: 0;
    -webkit-transition: all .5s;
}

.search-box {
    position: absolute;
    left: 350px;
    top: 7px;
}

.navbar-default {
    background-color: #000000;
    border-color: #000000;
}

.navbar-toggle {
    float: right;
    margin-right: 15px;
    margin-left: auto;
    margin-bottom: 35px;
}

#btn-search {
    background-image: url("../images/search-icon.png");
    background-size: 100% 100%;
    background-color: #666;
    position: absolute;
    top: 0px;
    left: 40px;
    width: 35px;
    height: 35px;
}

.sicas-input {
    font-size: 12px;
    height: 35px;
    padding-right: 5px;
}

.search-input {
    width: 250px;
}

.sicas-input:focus {
    outline: none;
}

.content-news {
    font-size: 11px;
    text-align: justify;
    line-height: 20px;
    margin-top: 15px;
}

.content-news p span {
    font-size: 11px !important;
    text-align: justify !important;
    line-height: 20px !important;
    margin-top: 15px !important;
    font-family: 'iransans' !important;
}

.newsBBox p {
    font-size: 11px;
    text-align: justify;
    line-height: 20px;
    margin-top: 15px;
}

.newsBBox img {
    width: 100% !important
}

.content-news strong {
    line-height: 20px;
}

.android-icon {
    width: 30px;
    padding-top: 5px;
    cursor: pointer;
    margin-right: 7px;
}

.socials {
    position: relative;
    bottom: 50px;
    margin-left: 20px;
}

.iOS-icon {
    width: 135px;
    padding-top: 5px;
    cursor: pointer
}

.cafe-icon {
    width: 135px;
    padding-top: 5px;
    cursor: pointer
}

.telegram-icon {
    width: 30px;
    margin-top: 10px;
    margin-right: 20px;
}

.insta-icon {
    width: 30px;
    margin-top: 10px;
    margin-right: 20px;
}

.top_ads {
    background-color: #333645;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.top_ads img {
    height: 80px;
}

#wraper {
    background-color: #eaeaea;
}

.bg-dark {
    background-color: #000 !important
}

.navbar-dark .navbar-nav .nav-link {
    color: #ddd !important
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
    color: #ffd400 !important;
}
.nav-tabs li {
    font-size: 11px;
}
.nav-tabs > li > a {
    margin-left: auto;
    margin-right: -1px;
    background-color: black;
    color: #ffd400;
    padding: 7px;
    border-radius: 0px 0px 0 0;
}
.nav-tabs > li > a:hover {
    color: #ffd400;
    background-color: black;

}
.mainPage-container {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-top: 15px;
}

.header {
    background-color: black
}

.titles-box {
    background-color: #fafafa;
    border-top: 2px solid #666;
    border-bottom: 2px solid #666;
    font-size: 11px;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}



.glyphicon-chevron-left {
    top: 15px;
}

.left-news-box {
    position: relative;
}

.left-news-box .news-title {
    font-size: 9px;
    margin: 0;
    padding-right: 20px;
    line-height: 17px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s linear;
    direction: rtl;

}

.left-news-box .news-title:hover {
    color: #e00404;
}

.left-news-box2 {
    position: relative;
}

.left-news-box2 .news-title {
    font-size: 9px;
    margin: 0;
    padding-right: 20px;
    line-height: 17px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s linear;
    direction: rtl;
}

.left-news-box2 .news-title:hover {
    color: #e00404;
}

.news-box {
    height: 165px;
    border-bottom: 1px solid #ddd;
    margin-top: 15px;
    position: relative;
}

.news-box2 {
    height: 240px;
    border-bottom: 1px solid #ddd;
    margin-top: 15px;
    position: relative;
    text-align: center
}

.news-box2 .news-title2 {
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    color: #000;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s linear;
}

.news-box2 .news-title2:hover {
    color: #ffd400;
    background-color: #000;
    padding-left: 15px;
    padding-right: 15px;
    transition: all 0.3s linear;
}

.news-box .news-title {
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    color: #000;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s linear;
}

.news-box .news-title:hover {
    color: #ffd400;
    background-color: #000;
    padding-left: 15px;
    padding-right: 15px;
    transition: all 0.3s linear;
}

.news-box .news-time {
    font-size: 10px;
    color: #abaaaa;
    position: absolute;
    left: 0;
    top: -8px;
}

.news-box2 .news-time2 {
    font-size: 10px;
    color: #ffffff;
    position: absolute;
    left: 10px;
    z-index: 5000;
    bottom: 32px;
}

.news-box2 .news-rotitr {}

.news-box2 .news-titr {}

.newspaper-box {
    height: 70px;
    border-bottom: 1px solid #ddd;
    margin-top: 15px;
    position: relative;
}

.newspaper-box .newspaper-title {
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    color: #000;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s linear;
}

.newspaper-box .newspaper-title:hover {
    color: #ffd400;
    background-color: #000;
    padding-left: 15px;
    padding-right: 15px;
    transition: all 0.3s linear;
}

.newspaper-box .newspaper-time {
    font-size: 10px;
    color: #abaaaa;
}

.news-box .news-tag {
    font-size: 10px;
    color: #abaaaa;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 3px 7px;
    transition: all 0.2s linear;
    cursor: pointer;
    margin-right: 5px;
}

.news-box2 .news-tag2 {
    font-size: 10px;
    color: #abaaaa;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 3px 7px;
    transition: all 0.2s linear;
    cursor: pointer;
    margin-right: 5px;
}

.news-box2 .news-tag2:hover {
    background-color: #ffd400;
    color: #000;
    transition: all 0.2s linear;
}

.news-box .news-tag:hover {
    background-color: #ffd400;
    color: #000;
    transition: all 0.2s linear;
}

.news-box2 .news-img-lead2 {
    margin-top: 10px;
    cursor: pointer;
}

.news-box .news-img-lead {
    position: relative;
    margin-top: 0px;
    cursor: pointer;
}

.news-box .news-img {
    width: 140px;
    height: 100px;
    background-size: cover;
    background-position: center center;
    border: 1px solid #ddd;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s linear;
}

#grad2 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .8) 80%, rgba(0, 0, 0, 1) 100%);
    bottom: 0;
    z-index: 100;
    width: 100%;
    height: 70px;
    position: absolute;
}

.news-box2 .news-img2 {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center top;
    border: 1px solid #ddd;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s linear;
}

.newspaper-box .newspaper-img-lead {
    position: relative;
    margin-top: 10px;
    cursor: pointer;
}

.newspaper-box .newspaper-img {
    width: 140px;
    height: 100px;
    background-size: cover;
    background-position: center center;
    border: 1px solid #ddd;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s linear;
}

.news-box .news-img:hover {
    opacity: 1;
    transition: all 0.2s linear;
}

.news-box2 .news-img2:hover {
    opacity: 1;
    transition: all 0.2s linear;
}

.news-box2 .news-lead2 {
    position: absolute;
    font-size: 11px;
    line-height: 20px;
    color: #fff;
    bottom: 7px;
    right: 10px;
    z-index: 5000;
    width: 250px;
    text-align: right;
}

.news-box .news-lead {
    position: absolute;
    right: 150px;
    top: 0px;
    font-size: 11px;
    line-height: 20px;
    color: #000;
}

.news-box .news-viewed {
    position: absolute;
    left: 0;
    bottom: 22px;
    font-size: 11px;
    color: #abaaaa;
}
.news-box .news-writer {
    position: absolute;
    right: 0;
    bottom: 22px;
    font-size: 11px;
    color: #abaaaa;
}

.newspaper-box .news-viewed {
    position: absolute;
    right: 80px;
    top: 40px;
    color: #abaaaa;
}

.newspaper-box .news-viewed span {
    font-size: 10px
}

.news-box2 .news-viewed2 {
    position: absolute;
    left: 0;
    bottom: 10px;
    left: 10px;
    color: #fff;
    z-index: 5000;
}

.side-box {
    margin-bottom: 25px;
}

.side-line {
    border-bottom: 11px solid #e00404;
    position: relative;
}

.side-title {
    background-color: #e00404;
    padding: 10px 10px;
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
}

.side-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center top;
    margin-top: 15px;
    border: 4px solid #fff;
    border-radius: 4px;
    margin-bottom: 8px;
}

.side-img-title {
    color: #fff;
    font-size: 10px;
    line-height: 20px;
}

@media (max-width: 767px) {
    .left_ads {
        display: none !important;
    }
    .navbar-brand {
        position: absolute;
        left: 0;
        top: 0;
    }
    .side-img {
        height: 180px;
    }
    .search-box {
        position: absolute;
        left: 75px;
        top: 50px;
    }
    .search-box input {
        width: 125px;
    }
    .news-box {
        height: 210px;
    }
}