﻿@import "fonts.css";

@font-face {
    font-family: 'SDF';
    src: url('../fonts/IRANSans-Light-web.woff') format('woff'), url('../fonts/IRANSans-Light-web.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'BYekan';
    src: url('fonts/BYekan.eot?#') format('eot'),
    url('../fonts/BYekan.woff') format('woff'), 
    url('../fonts/BYekan.ttf') format('truetype'); 
}

@media(max-width:1000px) {
    .readmore {
        display: none !important;
    }

    .post .col-md-4 {
        padding-left: 0px;
    }
}

@media(max-width:1236px) {
    #Carousel .carousel-control.right {
        right: 92.5%;
    }
}

@media(max-width:1137px) {
    #Carousel .carousel-control {
        background: transparent !important;
    }
}

@media(max-width:768px) {
    .menu i {
        padding-right: 20px;
    }

    #Carousel .carousel-control.right {
        right: 90%;
    }
}

@media(max-width:568px) {
    #Carousel .carousel-control.right {
        right: 85%;
    }
}

body {
    font-family: My_Yekan;
}

a {
    text-decoration: none !important;
    transition: 0.3s;
}

.topmenu {
    background: #0f1b30;
    color: white;
    padding: 10px;
}

    .topmenu ul {
        position: relative;
        left: 0%;
        top: -16px;
        max-width: 325px;
        margin: 0px auto;
        z-index: 111;
        background: rgba(255, 255, 255, 0.59);
        border-radius: 0px 0px 20px 20px;
        margin-bottom: 0px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 0px;
        text-align: center;
    }

        .topmenu ul li {
            display: inline;
            padding-left: 5px;
            padding-right: 7px;
            height: 30px;
        }

        .topmenu ul li {
            border-right: 1px solid white;
        }

            .topmenu ul li:first-child {
                border-right: none;
            }

    .topmenu .col-md-6 {
        padding: 0px;
        margin: 0px;
    }

    .topmenu h2 {
        font-size: 15px;
        font-family: sdf;
        margin-top: 20%;
    }

    .topmenu ul a {
        color: #606062;
        line-height: 33px;
    }

        .topmenu ul a:hover {
            color: #ffffff;
            line-height: 33px;
        }

    .topmenu .text-left img {
        float: left;
    }

.banner {
    margin-top: 7vh;
}

.navbar {
    border-radius: 0px;
    margin-bottom: 0px;
    background: #233c66;
    border: 0px;
}

    .navbar i {
        color: rgb(253, 253, 253);
        margin-left: -2px;
    }

.navbar-default .navbar-nav > li > a {
    display: inline-block;
    padding-right: 10px;
    color: white;
}

.navbar-default .navbar-nav > li:hover > a {
    color: #31b0d5; /* تغییر رنگ متن زیرمنو به قرمز */
}

.navs {
    padding: 0px;
}

.input-group-btn {
    font-family: tahoma;
    color: black;
}

    .input-group-btn .glyphicon {
        color: #6d6d6d;
    }

.input-group {
    font-family: sdf;
}

/* Makes images fully responsive */



.section2 {
    padding: 0px;
    padding-top: 15px;
}

.tab-content {
    border: 1px solid #1b375a;
    border-top: 0px;
    padding: 10px;
    border-radius: 0px 0px 4px 4px;
}

.nav-tabs {
    margin-bottom: 0;
}

    .nav-tabs > li, .nav-pills > li {
        float: none;
        display: inline-block;
        *display: inline; /* ie7 fix */
        zoom: 1; /* hasLayout ie7 trigger */
    }

.nav-tabs, .nav-pills {
    background: #1b375a;
    text-align: center;
    border-radius: 4px 4px 1px 0px;
}


    .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
        background: transparent;
        border: 0px;
        border-bottom: 3px solid #75d5ff;
        color: #75d5ff;
    }

    .nav-tabs li a:hover {
        background: transparent !important;
        border: 0px;
        color: #75d5ff;
        position: relative;
        right: 3px;
    }

    .nav-tabs li a {
        color: white;
    }

    .nav-tabs > li > a {
        border: 0px;
    }

.tab-content li {
    list-style: none;
}

.tab-content i {
    background: rgba(0, 0, 152, 0.48);
    border-radius: 50px;
    padding: 5px;
    color: white;
    margin-left: 7px;
    font-size: 11px;
}

.tab-content ul {
    padding: 0px;
    padding-right: 10px;
}

    .tab-content ul li {
        padding-top: 8px;
        padding-bottom: 7px;
    }

        .tab-content ul li a:hover .fa {
            background: black !important;
        }

.widget {
    border: 2px solid #1b375a;
    padding: 0px;
    border-radius: 4px;
    margin-top: 20px;
}

    .widget i {
        padding-left: 5px;
    }

    .widget h3 {
        padding: 0px;
        margin: 0px;
        background: #1b375a;
        padding: 5px;
        font-size: 20px;
        padding-right: 10px;
        color: white;
        margin-bottom: 15px;
    }

    .widget:first-child {
        margin-top: 10px;
    }

.widget {
    padding-bottom: 15px;
}

    .widget a {
        color: black;
    }

    .widget img:hover {
        opacity: 0.7;
        transition: 0.3s;
    }

    .widget a:hover {
        color: #4183d7;
        transition: 0.3s;
    }

.widget1 .container-fluid {
    padding: 0px;
    padding-right: 5px;
    padding-left: 5px;
}

.widget2 .col-md-4 {
    padding: 0px;
}

.item {
    clear: both;
    padding-top: 11.5px;
    padding-bottom: 10px;
}

.widget .item:first-child {
    padding-top: 0px;
}

.widget .item .container-fluid {
    padding: 0px;
}

.widget .item {
    border-bottom: 1px solid rgba(241, 241, 241, 0.51);
}

.item:last-child {
    border-bottom: 0px;
}

.fa-4 {
    color: white;
    font-size: 4em;
}

.post {
    background: #f4f5f6;
    padding: 15px;
    padding-right: 0px;
}

.content span {
    color: #929292;
    position: relative;
    top: 0px;
	bottom: 1px;
}

.content a {
    color: #484848;
}

.content h3 {
    padding-bottom: 1px;
}

.content .abstract {
    padding-left: 40px;
}

.readmore {
    opacity: 0.7;
    background: #00AFEF;
    position: absolute;
    left: 1.5%;
    margin-top: -1.5%;
    color: black;
    padding-right: 5px;
    padding-top: 84px;
    padding-bottom: 59px;
}

    .readmore:hover {
        opacity: 1;
        transition: 0.3s;
    }

.post .container-fluid {
    padding: 0px;
}

.abstract {
    color: #504f4f;
}

.content a:hover {
    color: #4183d7;
    transition: 0.3s;
}

.content img:hover {
    opacity: 0.7;
    transition: 0.3s;
}
img {
    -webkit-backface-visibility: hidden;
    transform: translate3d(0px,0px,0px);max-width: 100%;
    height: auto;
}

.post {
    border-left: 5px solid #ed3237;
    padding: 0px;
    border-radius: 4px;
    margin-top: 20px;
}

.container-fluid .pagination {
    margin: 0px auto;
}

.pagin {
    text-align: center;
    margin-top: 20px;
}

.pagination > li > a, .pagination > li > span {
    margin: 0 4px;
}

.slider {
    margin-top: 10px;
}

    .slider .container-fluid {
        padding: 0px;
    }

    .slider i {
        padding-left: 10px;
    }

    .slider h3 {
        background: #1ebd73;
        padding: 10px;
        margin: 0px;
        margin-bottom: 10px;
        color: white;
        font-size: 21px;
    }

.slider {
    border: 2px solid #1ebd73;
}

#Carousel {
    padding: 85px;
    padding-right: 80px;
    padding-top: 5px;
    padding-bottom: 2px;
    padding-left: 80px;
}

    #Carousel .carousel-control.left {
        height: 35px;
        width: 35px;
        background: transparent;
        background: white;
        opacity: 1 !important;
        color: black;
        font-size: 25px;
        padding-right: 5px;
        top: -51px;
        left: 10px;
    }

    #Carousel .carousel-control.right {
        height: 35px;
        width: 35px;
        background: transparent;
        background: white;
        opacity: 1 !important;
        color: black;
        font-size: 25px;
        padding-right: 5px;
        top: -51px;
        right: 93%;
    }

#carousel-example-generic a{color:white;}

#carousel-example-generic .carousel-control.right {
    padding-bottom: 100px;
    height: 0px;
    width: 48px;
    /* background: #00AFEF; */
    top: 25%;
    right: 0px;
    opacity: 1;
    color: #ed3237
}

#carousel-example-generic img {
    height: auto;
    height: 353px;
    width: 100%;
}

#carousel-example-generic .carousel-control.left {
    padding-bottom: 100px;
    height: 0px;
    width: 48px;
    background: transparent;
    /* background: #00AFEF; */
    top: 25%;
    left: 0px;
    opacity: 1;
    color: #ed3237
}

.carousel-control:hover {
    opacity: 0.7 !important;
    transition: 0.4s;
}

#carousel-example-generic .item {
    padding-top: 0px;
}

#carousel-example-generic .carousel-caption {
    text-align: right;
    left: 0px;
    right: 0px;
    background: rgb(86 84 84 / 78%);
    margin: 0px;
    bottom: 11px;
    padding: 0px;
    padding-right: 5%;
    padding-bottom: 15px;
    padding-top: 3px;
}

    #carousel-example-generic .carousel-caption h3 {
        text-align: right;
    }

.footer {
    background: #0f1b30;
    margin-top: 5%;
}

.footer {
    text-align: center;
    padding-top: 3%;
    color: white;
    margin-bottom: 0px;
}

    .footer a {
        color: #d6d6d6;
    }

    .footer li {
        padding-right: 5px;
        padding-left: 5px;
        border-left: 1px solid white;
    }

        .footer li:last-child {
            border-left: 0px;
        }

    .footer ul {
        margin-top: 10px;
    }

.footerlinks {
    position: relative;
    max-width: 300px;
    margin: 0px auto;
    bottom: -5px;
    z-index: 111;
    background: #182a4b;
    border-radius: 20px 20px 0px 0px;
    margin-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-top: 5px;
}

.footer ul li {
    display: inline-block;
}

.footer a:hover {
    color: white;
}


.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

#Carousel img {
    min-height: 167.5px;
    max-height: 200px;
    width: auto;
    border: 1px solid #868585;
}

#Carousel .thumbnail {
    border: none;
    padding: 0px;
}

.content-detail {
    margin-top: 30px;
    background: #f4f5f6;
}


    .content-detail img {
        margin: 0px auto;
        margin-bottom: 10px;
    }

.page .widget {
    margin-top: 30px;
}

.newscat {
    background: #1ebd73;
    color: white;
    padding: 10px;
}

.postdetail {
    padding: 20px;
}

    .postdetail .alert-success {
        background: #c0eefa;
        color: #171717;
    }

.downloads .container-fluid {
    padding: 0px;
    margin: 0px;
}

.downloads h3 {
    padding: 0px;
    margin: 0px;
    padding-bottom: 10px;
    font-size: 16px;
    color: white;
    padding-right: 10px;
    padding-top: 8px;
}

.downloads {
    padding: 5px;
}

.downloads {
    background: #1ebd73;
    padding-bottom: 5px;
    margin-top: 15px;
}

    .downloads .col-md-3 {
        padding: 0px;
        padding-left: 1px;
    }

        .downloads .col-md-3:first-child {
            padding-right: 2px;
        }

        .downloads .col-md-3:last-child {
            padding-left: 2px;
        }


    .downloads .btn {
        border-radius: 0px;
    }

.buttons {
    background: white;
}

    .buttons .container-fluid {
        padding: 0px;
        margin: 0px;
    }

.writer {
    background: #485e8a;
    margin-top: 15px;
    padding: 10px;
    color: #f1f1f1;
}

    .writer img {
        text-align: left;
        float: left;
        border-radius: 100px;
    }

    .writer label {
        margin-top: 15px;
        font-size: 18px;
    }

.related .container-fluid {
    padding: 0px;
}

.related {
    background: #1e6c88;
    margin-top: 15px;
    padding: 3px;
    padding-right: 0px;
}

    .related .col-md-2 {
        padding: 0px;
    }

    .related .col-md-10 {
        padding: 0px;
        margin: 0px;
    }

    .related .col-md-2 i {
        position: relative;
        top: 2px;
        font-size: 59px;
        padding-top: 0px;
        color: white;
    }

    .related .col-md-2 span {
        position: relative;
        color: #f1f1f1;
        padding-right: 30px;
        font-size: 18px; /* margin-left: -21px; */
    }

.relatedlinks {
    background: white;
    padding: 10px;
    margin-right: 4px;
}

    .relatedlinks i {
        font-size: 11px;
    }

.comments h3 {
    background: #ed3237;
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    margin-bottom: 0px;
}

.comments .alert {
    margin: 0px;
    border-radius: 0px;
}

.allcomment .alert {
    color: #3c3c3c;
}

.allcomment .alert-info {
    background: #efefef;
    border-color: #efefef;
}

.allcomment .alert-success {
    background: #bfe7f8;
    border-color: #bfe7f8;

}

.allcomment span {
    color: black !important;
}

.allcomment p:first-child {
    margin: 0px;
}

.allcomment .stick {
    border-radius: 0px 0px 5px 5px;
}

.allcomment .col-md-12 {
    padding: 0px;
}

.allcomment span {
    padding-right: 15px;
}

.comments .container-fluid {
    padding: 0px;
    margin: 0px !important;
}

.allcomment .alert {
    margin-right: 15px;
    margin-left: 15px;
}

.commentform h3 {
    background: #606062;
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    margin-bottom: 0px;
}

.commentform {
    padding: 10px;
}

.border {
    border: 2px solid #606062;
    border-top: none;
    margin-right: 15px;
    margin-left: 15px;
    padding-bottom: 10px;
    border-radius: 0px 0px 5px 5px;
}

.commentform .btn {
    background: #606062;
    color: white;
    margin-left: 10px;
}

    .commentform .btn:hover {
        color: white;
    }

.form-control {
    padding-right: 15px;
    font-family: sdf;
}

.commenterror {
    max-width: 90%;
    text-align: center;
    margin: 0px auto;
    margin-top: 20px;
    margin-bottom: -20px;
}

.content .post h3 {
font-size: 20px;
margin-top:-3px;
}

.text-primary {
    color: rgba(255, 255, 255, 0.62);
}
.alert-info .pull-left{font-family:BYekan;}
.allcomment{line-height:32px;}
.newscat .pull-left{font-family:BYekan;font-size:15.5px;margin-top:-2px;}
.newscat .pull-left .fa{position:relative;top:2px;}
.postcontent{line-height:32px;}
.item .col-md-7{padding-left:40px;}
.writer img{max-width:106px;max-height: 109px;}
.item .col-md-8{padding-left:0px;}
.post img{height: 170px !important;}
