@charset "utf-8"; /* CSS Document - v3.5.0 */ @import url('https://cdn.rawgit.com/rastikerdar/sahel-font/v3.3.0/dist/font-face.css'); body { font-family: Sahel, tahoma; font-size: 14px; margin: 0; padding: 0; line-height: 1.9em; background: #f1f2f6 url(http://bayanbox.ir/view/8282622247455604245/jean.png); direction: rtl; color: #000; font-weight:300; } ::-moz-selection { color: #fff; background: #5632b0; } ::selection { color: #fff; background: #5632b0; } p { margin-bottom: 0.5em; } pre { direction: ltr; background-color: #FAFAEE; border: 1px solid #DADADA; margin: 1em; overflow-x: auto; overflow-y: hidden; padding: 2px; } .clear { clear: both; } ::-webkit-scrollbar { background: #f0f0f0; width: 12px; height: 15px; } ::-webkit-scrollbar-thumb { background: #cdcdcd; } ::-webkit-scrollbar-corner { background: #fff; } ::-webkit-scrollbar-track { background: #f0f0f0; border-left: 1px solid rgba(255, 255, 255, 0.5); } ::-webkit-scrollbar-thumb:hover { background: #a6a6a6; } ::-webkit-scrollbar-thumb:active { background: #606060; } h1, h2, h3, h4, h5, h6 { font-family: "Sahel", "tahoma"; font-weight: normal; } img { border: none; border-width: 0; } a { color: #5632b0; cursor: pointer; text-decoration: none; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } a:hover { color: #c5b2f2; text-decoration: none; cursor: pointer; } a:active { outline: hidden; } /*-- Header --*/ .header { position: relative; max-width: 1000px; margin: auto; direction: rtl; height: 100px; text-align: center; width: 96%; } .header h1 { font-size: 29px; color: #5632b0; margin: 0 0 9px; padding-top: 21px; font-weight: 900; } .header h2 { font-size: 15px; color: #000; margin: 0; cursor: default; } .main-menu { position: relative; direction: rtl; cursor: default; max-width: 1000px; margin: auto; text-align: center; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; width: 96%; } .main-menu ul { list-style: none; margin: 0; padding: 0; } .main-menu ul li { display: inline-block; } .main-menu a { display: inline-block; padding: 4px 0; color: #000; cursor: pointer; margin: 4px 6px; border-bottom: 2px solid transparent; font-weight: bold; } .main-menu a:hover { color: #4f5f74; border-bottom: 2px solid #5632b0; } .main-menu li.selected a { color: #4f5f74; border-bottom: 2px solid #5632b0; } .middle-posts { position: relative; margin: 30px auto; width: 550px; height: 150px; direction: rtl; } .middle-posts ul { margin: 0; padding: 0; list-style: none; } .middle-post-item { position: absolute; top: 0; width: 266px; height: 150px; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; text-align: center; } .middle-post-readmore { position: absolute; display: block; width: 31px; height: 31px; background: url(//cdn.bayan.ir/blog/templates/53176/readmore.png) no-repeat center; opacity: 0.7; bottom: 25px; left: 45%; } .middle-post-readmore:hover { opacity: 1; } .middle-posts ul li:nth-child(1) { left: 0; background: #4fc0e8; } .middle-posts ul li:nth-child(2) { right: 0; background: #ac92ec; } .middle-post-item:hover { box-shadow: 0 4px 6px -2px #777; } .middle-post-item h2 { margin: 18px 15px; } .middle-post-item h2 a { margin: 0; color: #fff; font-size: 19px; line-height: 1.6em; } .middle-post-item h2 a:hover { color: #eee; } /*-- Content --*/ .content-wrp { direction: rtl; max-width: 1000px; margin: 30px auto 15px; position: relative; width: 96%; } .block-content { } .block-content-view { width: calc(72% - 10px); float: right; } .block-content .messages { cursor: default; margin-bottom: 30px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .block-content .messages .messages-content { padding: 5px 15px; color: #999; } .block-content .messages .messages-content h2 { color: #000; text-align: center; cursor: default; margin: 0 0 7px; } .block-content .messages .messages-content h2 a.comment_count { color: #000; } .block-content .messages .messages-content h2 a.comment_count:hover { color: #9aa1ab; cursor: pointer; } /*-- Content-post --*/ .block-content .post { position: relative; padding: 0; margin-bottom: 18px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .post-list-home-right { float: right; } .post-list-home-right .post-image { overflow: hidden; width: 140px; border: 1px solid #78858a; margin: 20px 20px 5px; } .post-image { overflow: hidden; border-radius: 6px 6px 0 0; } .post-image img { width: 100%; height: auto; display: block; } .post-image a img { -ms-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; border-radius: ; } .post-image a:hover img { -ms-transform: scale(1.04); -webkit-transform: scale(1.04); transform: scale(1.04); } .block-content .post .post-title { padding: 20px 20px 15px; } .block-content .post h2 { margin: 0; } .block-content .post h2 a { line-height: 1.7em; font-size: 20px; color: #5632b0; font-weight: bold; } .block-content .post h2 a:hover { color: #4fc0e8; } .post-content { color: #000; margin: 0 20px; padding-bottom: 20px; text-align: justify; font-size: 16px; line-height: 1.9em; } .post-content div { margin-top: 6px; } .post-content a { color: #5632b0; } .post-content a:hover { color: #d5e6ec; } .post-content ul li { margin-right: 5px; line-height: 1.9em; } .post-content img { max-width: 96%; height: auto; } .post-readmore { margin: 0px 20px 25px; text-align: left; } .post-readmore a { font-size: 14px; line-height: 1em; padding: 4px; color: #fff; background: #5632b0; border-radius: 1px; } .post-readmore a:hover { color: #fff; background: #b9a5ed; } /*-- Content-post-details --*/ .post-details { color: #000; cursor: default; position: relative; } .post-details a { color: #000 !important; } .post-details a:hover { color: #5632b0 !important; } .post-details.over { position: absolute; z-index: 9; } .post-details.over .post-details-date { margin: 0 0 2px; padding: 1px 10px 5px; background: rgba(0, 0, 0, 0.5); color: rgba(255, 255, 255, 0.9); border-top-right-radius: 6px; } .post-details.over .post-details-author { margin: 0 0 2px; padding: 1px 10px 5px; background: rgba(0, 0, 0, 0.5); color: rgba(255, 255, 255, 0.9); } .post-details.bottom { margin-top: 15px; padding: 5px 10px; border-top: 1px solid rgba(172, 186, 192, 0.2); } .post-details.bottom.nobg { background: none; } .post-details.custom { margin-top: 10px; padding: 10px 20px; } .post-details-right { } .post-details-left { float: left; } .post-details-date { border-left: 1px solid rgba(172, 186, 192, 0.2); padding: 0 10px; margin-left: 3px; } .post-details-date.none { padding: 0; margin: 10px 0 0; background: none; border-left: 0; display: block; } .post-details-comment { border-left: 1px solid rgba(172, 186, 192, 0.2); padding: 0 10px; margin-left: 1px; } img.rateimg, img.rateup, img.ratedn { background: url(//cdn.bayan.ir/blog/templates/53176/pd_ico_rate.png) no-repeat center left; width: 16px; height: 28px; vertical-align: top; } .rate-down img.rateimg, img.ratedn { background-position: 0 -17px; } .rate-up img.rateimg, img.rateup { background-position: 0 3px; } .rate-up { margin: 0 10px; } /*-- keywords --*/ .post-details .post-details-tags { cursor: default; } .post-details .post-details-tags h3 { margin: 0; display: inline-block; color: #fff; background: #5632b0; border-radius: 3px; } .post-details .post-details-tags h3 a { color: #fff !important; padding: 1px 2px; display: inline-block; border-radius: 3px; font-size: 13px; } .post-details .post-details-tags h3 a:hover { color: #fff !important; background: #4fc0e8; } .post-details .post-details-tags h3:first-child { } .post-details .post-details-tags h3:last-child { margin: 0; } /*-- Post Comments --*/ .post-comments { margin-bottom: 15px; } .post-comment { margin-bottom: 10px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .comment-details { background: #f9f9f9; padding: 0; cursor: default; border-radius: 6px 6px 0 0; } .comment-details a { color: #A4CACF; cursor: pointer; vertical-align: bottom; margin-right: 5px; -moz-transition-duration: .0s; -webkit-transition-duration: .0s; -o-transition-duration: .0s; -khtml-transition-duration: .0s; } .comment-details-left { padding: 4px 0 0 5px; float: left; } .comment-details-right { } .comment-avatar img { width: 34px; height: auto; } .comment-name { color: #000; cursor: default; padding: 0 5px; } .comment-body { padding: 10px; text-align: justify; } .comment-body-content { color: #000; } .comment-date { display: inline-block; color: rgba(255, 255, 255, 0.6); } .comment-website { background: url(//cdn.bayan.ir/blog/templates/53176/details_ico_cmt.png) center -102px no-repeat; width: 18px; height: 23px; display: inline-block; } .comment-website:hover { background-position: center -125px; cursor: pointer; } .comment-email { background: url(//cdn.bayan.ir/blog/templates/53176/details_ico_cmt.png) center -60px no-repeat; width: 18px; height: 23px; display: inline-block; } .comment-email:hover { background-position: center -79px; cursor: pointer; } /*-- Reply --*/ .comment-reply { margin-bottom: 15px; border: 1px solid #6ec2e5; background-color: #e5f7ff; color: rgba(0, 0, 0, 0.7); border-radius: 6px; box-shadow: 0 4px 6px -2px #cbe2eb; } .comment-reply-details { padding: 5px 10px 0; } .comment-reply-date { float: left; color: #31ace0; cursor: default; } .comment-reply-name { color: #31ace0; cursor: default; } .comment-reply-body { color: #0075a6; padding: 10px; text-align: justify; } /*-- add Comment --*/ .comment-add-form { color: #000; padding: 10px; margin-bottom: 30px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .comment-add-form input.sendbutton { color: #fff; border: none; background: #b9a5ed; padding: 0 30px 2px; cursor: pointer; -webkit-appearance: button; border-radius: 3px; width: 100%; } .bComForm .sendbutton.hasCheckbox { margin-top: 0; } .comment-add-form input.sendbutton:hover { color: #fff; border: none; background: #4fc0e8; } .comment-add-form iframe { background: #FFF; } /*-- Pagination --*/ .block-content .pagination { cursor: default; display: block; text-align: center; margin-bottom: 18px; } .block-content .pagination .left { margin-left: -3px; } .block-content .pagination a { padding: 2px 12px 2px; margin-left: 3px; cursor: pointer; color: #fff; background: #b9a5ed; border-radius: 3px; } .block-content .pagination a:hover { background: #4fc0e8; } .block-content .pagination a.current { background: #4fc0e8; } .block-content .pagination .spacer { float: right; padding: 1px 8px; color: #999; } .pagination { padding-top: 0; } /*-- Sidebar --*/ .block-sidebar { /*! margin-top: 30px; */ } .sb-left { /*! float: left; */ } .sb-right { /*! float: right; */ } .sb-left, .sb-right { width: calc(28% - 5px); float: left; } .block-sidebar .sidebox { margin-bottom: 20px; background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .sidebox .sidebox-title { background: #f9f9f9; color: #5632b0; border-top: 2px solid #5632b0; border-bottom: none; padding: 8px 12px 11px; text-align: right; cursor: default; font-weight: normal; margin: 0; border-radius: 6px 6px 0 0; } .sidebox .sidebox-content { direction: rtl; padding: 10px; } .sidebox.blank .sidebox-content { background: #fff; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; } .sidebox.blank .sidebox-content h4 { padding: 8px; color: #000; margin: 0; text-align: justify; font-weight: 300; } .sidebox.blank .sidebox-content .blog-image { text-align: center; } .sidebox.blank .sidebox-content img { text-align: center; max-width: 95%; height: auto; margin: 5px 0; } * html .sidebox.blank .sidebox-content img { width: 200px; height: auto; } /*- sidebar post-list -*/ .sidebox-content ul { list-style: none; margin: 0; padding: 0; } .sidebox-content ul li { padding: 6px 1px; border-bottom: 1px solid #eeeeee; } .sidebox-content ul li:last-child { border-bottom: none; } .sidebox-content ul li a { background: url(//cdn.bayan.ir/blog/templates/53176/sidebar-bullet.png) no-repeat right 12px; padding-right: 10px; color: #000; } .sidebox-content ul.menu li a { background: url(//cdn.bayan.ir/blog/templates/53176/sidebar-bullet2.png) no-repeat right 12px; } .sidebox-content ul li a:hover { color: #5632b0; } .sidebox-content ul li:hover { background: #f0edf6; -moz-transition-duration: .2s; -webkit-transition-duration: .2s; -o-transition-duration: .2s; } .sidebox-content ul li.selected { padding: 5px 2px; background: #f0edf6; border-bottom: 1px solid #eeeeee; } .sidebox-content ul li.selected a { color: #5632b0; } .sidebox-content .post-list-date, .sidebox-content .post-list-count { color: #aaa; cursor: default; } .sidebox-content .post-list-count { padding-right: 5px; } .sidebox-content .post-list-date.none { display: none; } /*-- ADS --*/ .sidebox-content.view-ads { text-align: center; } .sidebox-content.view-ads a { text-align: center; display: block; margin-bottom: 5px; } .sidebox-content.view-ads a:last-child { margin-bottom: 0; } /*-- Stat --*/ .sidebox-content.stat { position: relative; } .sidebox-content.stat .StatTitle { cursor: default; color: #000; font-size: 13px; border: none; text-align: right; } .sidebox-content.stat .Value { color: #5632b0; cursor: default; float: left; padding-left: 10px; text-align: left; } /*-- Tag-Cloud --*/ .sidebox-content.tag-cloud h3 { margin: 0px; display: inline-block; *display: inline; *margin: 2px; } .sidebox-content.tag-cloud span { display: inline-block; margin: 1px 0 1px 0; } .sidebox-content.tag-cloud a { color: #fff; background: #5642b0; padding: 1px; display: inline-block; *display: inline-block; margin: 1px; border-radius: 3px; font-size: 14px; } .sidebox-content.tag-cloud a:hover { color: #fff; background: #4fc0e8; } .sidebox-content.tag-cloud a.selected { color: #fff; background: #4fc0e8; } /*-- Categories --*/ .sidebox-content.categories ul li { padding: 0; border: none; } .sidebox-content.categories li:hover { background: none; } .sidebox-content ul li.selected a { color: #5632b0; } .sidebox-content.categories ul li ul.subcats a { padding-right: 10px; padding-top: 1px; display: inline-block; background: url(//cdn.bayan.ir/blog/templates/53176/sub_ico.png) right no-repeat; } .sidebox-content.categories ul li a { padding-bottom: 0; padding-right: 20px; display: table-cell; *display: inline-block; background: url(//cdn.bayan.ir/blog/templates/53176/folder_ico.png) right 8px no-repeat; } .sidebox-content.categories ul li h3 { color: #5632b0; margin: 0; font-size: 14px; } .sidebox-content.categories ul li.selected { background: none; } .sidebox-content.categories .subcats li.selected { background: none; } .sidebox-content.categories .subcats { margin-right: 14px; margin-top: -3px; } .sidebox-content.categories ul .post-list-count { cursor: default; display: table-cell; color: #aaa; } .sidebox-content.categories .subcats .post-list-count { cursor: default; display: inline-block; color: #aaa; } .sidebox-content.categories .category_selected { background: #f0edf6; padding: 2px 5px 2px 5px; display: block; height: 31px; max-height: auto; *height: auto; } .sidebox-content.categories .category_selected a { color: inherit; cursor: default; } /*-- Footer --*/ .footer { position: relative; direction: rtl; cursor: default; max-width: 1000px; height: 50px; margin: 0 auto 30px; text-align: center; background: #fff; color: #000; border-radius: 6px; box-shadow: 0 4px 6px -2px #bbb; width: 96%; } .footer a { color: #5632b0; } .footer .footer-copyright { position: absolute; right: 15px; top: 11px; text-align: right; direction: rtl; cursor: default; } .footer .footer-icons { position: absolute; left: 15px; top: 15px; text-align: left; } .footer .footer-icons a { float: left; margin-right: 3px; width: 20px; height: 20px; } .footer-ico-rss { background: url(//cdn.bayan.ir/blog/templates/shared/icon/rss-icon.png) no-repeat; } .footer-ico-bayan { background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayan-icon.png) no-repeat; } .footer-ico-bayanbox { background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayanbox-icon.png) no-repeat; } .footer-ico-blog { background: url(//cdn.bayan.ir/blog/templates/shared/icon/blog-icon.png) no-repeat; } .ngh-logo { background: url("http://bayanbox.ir/view/7051350144008649011/ngh-footer.png") no-repeat; } input[type="button"], input[type="text"], input[type="password"], input[type="submit"], button, textarea, select, .inputBox, input.text, a.btn, a.btn:hover, a.btn:visited, .followBx, .followThis { font-family: inherit; } @media only screen and (max-width: 976px) { .block-content-view { width: 100%; float: unset; } .sb-left, .sb-right { width: 100%; } }