/*
	Theme Name: Dark
	Theme URI: http://www.BinaryWorld.ir
	Description: قالب بسیار زیبای تیره
	Author: Erfan Zidehsaraei
	Author URI: http://www.BinaryWorld.ir
	Version: 2.2
*/
@font-face {
    font-family: 'Byekan';
    src: url(fonts/BYekan.ttf) format("truetype"),url(fonts/BYekan.eot?#) format("eot"),url(fonts/BYekan.woff) format("woff");
}

@font-face {
    font-family: 'Aban';
    src: url(fonts/Aban.ttf) format("truetype"),url(fonts/Aban.eot?#) format("eot"),url(fonts/Aban.woff) format("woff");
}

.table > tbody > tr > td {
     vertical-align: middle;
}

.home-link a {
	background-image: url('images/home.png') !important;
	background-position: right !important;
	background-repeat: no-repeat !important;
	padding-right: 50px !important;
}

a, a:hover, a:active, a:focus, input, button {
    outline: 0 !important;
}

#top-bar {
    background: #232323;
    color: #999999;
    padding: 10px 0;
}

#top-bar .glyphicon {
    margin-left: 8px;
}

#master-header {
    background: #333;
    color: #858585;
    padding: 15px 0;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#master-header #siteinfo {
    display: block;
    float: right;
}

#master-header h1 {
    font-family: 'Aban' !important;
    margin: 0;
    padding: 0;
}

#master-header h2 {
    margin: 0;
    padding: 0;
}

.adsbox {
    margin-top: 18px;
    border: 1px solid #D3D3D3;
	height: 80px;
    width: 347px;
    padding: 10px 0 0 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 0;
    background-color: #FFF;
    max-width: 514px;
    float: left;
}

.adsbox span {
	text-align: center;
    display: inline-block;
    position: absolute;
    left: 17px;
    margin-left: -30px;
    margin-top: 17px;
    width: 80px;
    color: #656B71;
    background-color: #F5F5F5;
    border-bottom: 1px solid #ABAAAB;
    transform: rotate(270deg);
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.adsbox a {
    display: inline-block;
    margin-right: 10px;
}

#master-menu {
    margin-top: 20px;
}

.navbar-default {
    border: 1px solid #ABAAAB;
}

.navbar-default ul li:hover > ul {
	display: block;
}

#master-menu #search-title {
    display: none;
}

.panel-dark {
    background: #F5F5F5;
    border: 1px solid #ABAAAB;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.panel-dark > .panel-heading {
    color: #fff;
    background-color: #444;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 0;
}

.panel-dark > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #ddd;
}

.panel-dark > .panel-heading .badge {
    color: #f5f5f5;
    background-color: #333;
}

.panel-dark > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #ddd;
}

.clickable {
    cursor: pointer;
}

.panel-heading span {
    margin-top: -20px;
    font-size: 15px;
}

.widget ul {
    margin: 0 15px 0 0 !important;
    padding: 0 !important;
}

.widget ul ul {
    margin-right: 20px;
}

.widget ul li {
    list-style: disc;
	text-align: justify;
}

.widget .panel-heading h4 {
    font-weight: 400;
    margin-right: 10px;
}

.widget .panel-heading h4:before {
    position: relative;
    top: 1px;
    left: 10px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    vertical-align: middle;
}

.widget_recent_entries h4:before {
    content: "\270f";
}

.widget_recent_comments h4:before {
    content: "\e111";
}

.widget_meta h4:before {
    content: "\e086";
}

.widget_categories h4:before {
    content: "\e118";
}

.widget_calendar h4:before {
    content: "\e109";
}

.widget_rss h4:before {
    content: "\e018";
}

.widget_rss .rsswidget img {
    display: none;
}

.widget_nav_menu h4:before {
    content: "\e012";
}

.widget_text h4:before {
    content: "\e019";
}

.widget_links h4:before {
    content: "\e144";
}

.widget_pages h4:before {
    content: "\e034";
}

.widget_tag_cloud h4:before {
    content: "\e041";
}

.widget_views h4:before {
    content: "\e005";
}

.post {
    background: #F5F5F5;
    border: 1px solid #ABAAAB;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.post .post-header {
    background: #232323;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 10px 15px;
    color: #fff;
}

.post .post-header .glyphicon {
    color: #fff;
    margin-left: 10px;
}

.post .post-header h1 {
    font-size: 18px;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.post .post-header h1 a {
    color: #fff;
}

.post .post-body .post-img {
    float: right;
    margin-left: 10px;
}

.post .post-footer {
    border-top: 1px solid #ABAAAB;
    -webkit-box-shadow: inset 0 1px 0 1px rgba(255,255,255,1);
    -moz-box-shadow: inset 0 1px 0 1px rgba(255,255,255,1);
    box-shadow: inset 0 1px 0 1px rgba(255,255,255,1);
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 6px 10px 6px 6px;
}

.post .post-footer .glyphicon {
    margin-left: 5px;
    vertical-align: middle;
    font-size: 17px;
    color: #337AB7;
}

.post .post-footer .view, .post .post-footer .date, .post .post-footer .cat {
    margin-left: 20px;
}

.post .more {
    float: left !important;
    display: block;
    margin-top: 10px;
}

.post .post-body {
    margin: 10px;
    text-align: justify;
}

#master-comments h2 {
    font-size: 18px;
    margin: 0;
}

#master-comments .comment-reply-link {
    font-size: 14px;
}

#commentform .input-group {
    margin-bottom: 6px;
}

.comment p {
    margin-bottom: 0;
}

.qa-message-list {
    margin-left: -16px;
    margin-top: 10px;
}

.qa-message-list ul {
    margin: 0;
    padding: 0;
}

.message-item {
    margin-bottom: 25px;
    margin-right: 20px;
    position: relative;
}

.message-item .message-inner {
    background: #F5F5F5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    position: relative;
    text-align: justify;
}

.message-item .message-inner:before {
    border-left: 10px solid #F5F5F5;
    border-style: solid;
    border-width: 11px;
    color: rgba(0,0,0,0);
    content: "";
    display: block;
    height: 0;
    position: absolute;
    right: -22px;
    top: 6px;
    width: 0;
}

.message-item .message-inner:after {
    border-left: 10px solid #F5F5F5;
    border-style: solid;
    border-width: 11px;
    color: rgba(0,0,0,0);
    content: "";
    display: block;
    height: 0;
    position: absolute;
    right: -20px;
    top: 6px;
    width: 0;
}

.message-item:before {
    background: #fff;
    border-radius: 2px;
    bottom: -30px;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    content: "";
    height: 100%;
    right: -30px;
    position: absolute;
    width: 3px;
}

.message-item:last-child:before {
    top: 31px;
    height: 85%;
}

.message-item:after {
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    content: "";
    height: 15px;
    right: -36px;
    position: absolute;
    top: 10px;
    width: 15px;
}

.message-item .message-head {
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.message-item .message-head .avatar {
    margin-left: 10px;
}

.message-item .message-head .user-detail {
    overflow: hidden;
}

.message-item .message-head .user-detail h5 {
    font-size: 16px;
    margin: 0;
}

.message-item .message-head .post-meta {
    float: right;
    padding: 0 0 0 15px;
}

.message-item .message-head .post-meta > div {
    color: #333;
    font-weight: 700;
    text-align: right;
}

.post-meta > div {
    color: #777;
    font-size: 12px;
    line-height: 22px;
}

.post-meta {
    margin-top: 4px;
}

.message-item .message-head .post-meta > div {
    color: #333;
    font-weight: 400 !important;
    text-align: right;
}

.post-meta > div {
    color: #777;
    font-size: 12px;
    line-height: 22px;
}

#master-comments img {
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0;
    padding: 2px;
    border: 2px solid #E8E8E8;
}

#master-comments .comment-author-admin img {
    border: 2px solid #D43F3A;
}

#master-comments .panel-heading h3 {
    padding: 0;
    margin: 0;
    font-size: 16px;
}

#master-footer {
    background: #232323;
    color: #BBB;
    margin-bottom: 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#master-footer #copyright {
    text-align: justify;
    line-height: 46px;
}

.aligncenter, img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright, img.alignright {
    float: right;
    margin-left: 15px;
}

.alignleft, img.alignleft {
    float: left;
    margin-right: 15px;
}

.wp-caption {
    background: none repeat scroll 0 0 #FFF;
    border: 1px solid #DDD;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 4px 4px 0;
    width: 192px !important;
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 8px;
    text-align: center;
    text-shadow: 1px 1px #FFF;
}

.wp-caption img {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 5px;
    width: 172px;
}

.wp-caption-text {
    font-style: normal !important;
}

textarea {
    resize: none !important;
}

#carousel-generic {
    margin-bottom: 20px;
}

#carousel-generic .carousel-indicators {
    bottom: 0;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #444;
    border-color: #444;
}

#back-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

#back-top a {
    display: block;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top a:hover {
    color: #000;
}

#back-top span {
    width: 40px;
    height: 40px;
    display: block;
    margin-bottom: 7px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top span .glyphicon {
    margin-right: 12px;
    margin-top: 10px;
}

#back-top a span {
    background-color: #fff;
}

#back-top a:hover span {
    background-color: #777;
}

.social-icons {
    float: left;
    font-size: 18px;
    line-height: 46px;
}

.social-icons a {
    color: #FFF;
    float: left;
    transition-duration: 1s;
    opacity: .6;
    margin-right: 10px;
}

.social-icons a:hover {
    opacity: 1;
}

.btn {
    line-height: 1.41 !important;
}

#author-info .post-header {
    font-size: 18px;
    padding: 5px 15px;
}

#author-info .avatar {
    display: block;
    float: right;
    background-color: #FFF;
    border: 1px solid #DDD;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    margin-left: 10px;
}

#author-info #author-des {
    text-align: justify;
}

#author-info #author-pad {
    padding: 10px;
}

@media screen and (max-width: 340px) {
    #siteinfo {
        margin-top: 5px;
    }

    #siteinfo #header-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .navbar-collapse .btn {
        line-height: 1.35 !important;
    }
}

@media screen and (min-width: 480px) {
    #siteinfo {
        margin-top: 20px;
    }

    #siteinfo #header-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .navbar-collapse .btn {
        line-height: 1.35 !important;
    }
}

@media screen and (min-width: 600px) {
    #siteinfo {
        margin-top: 25px;
    }

    #siteinfo #header-title {
        font-size: 28px;
    }

    .navbar-collapse .btn {
        line-height: 1.35 !important;
    }
}

@media screen and (min-width: 620px) {
    #siteinfo {
        margin-top: 25px;
    }

    #siteinfo #header-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    #siteinfo #header-desc {
        font-size: 20px;
    }

    .navbar-collapse .btn {
        line-height: 1.35 !important;
    }
}

@media screen and (min-width: 992px) {
    #siteinfo {
        margin-top: 0;
    }

    .adsbox {
        margin-top: 5px;
    }

    #siteinfo #header-title {
        font-size: 28px;
    }

    #siteinfo #header-desc {
        font-size: 18px;
    }

    .navbar-collapse .btn {
        line-height: 1.35 !important;
    }
}

@media (min-width: 1200px) {
    .adsbox {
        margin-top: 18px;
    }

    #siteinfo #header-title {
        font-size: 34px;
    }

    #siteinfo #header-desc {
        font-size: 24px;
    }

    .navbar-collapse .btn {
        line-height: 1.35 !important;
    }
}