.ajax,.ajax:hover {text-decoration:none;border-bottom:1px dotted;}
.ajax.active {text-decoration:none;border-bottom:0;color:inherit;cursor:text;}
header {padding:20px 0 10px 0;border-bottom:2px solid #7CB9D0;}
.logo {float:left;position:relative;margin-right:-100%;width:100px;text-align:center;}
.maintitle {margin-left:110px;}
.maintitle h3{padding-bottom:0.3em;}
.maintitle a {text-decoration:none;}
p.logout {padding-left:20px;background:url(/f/images/enter.png) no-repeat 0px -74px;}
p.enter {padding-left:20px;background:url(/f/images/enter.png) no-repeat 0px -49px;}
p.special {padding-left:20px;background:url(/f/img/_A.gif) no-repeat;}
p.enter_vk {padding-left:20px;background:url(/f/images/enter.png) no-repeat 0px 2px;}
p.enter_fb {padding-left:20px;background:url(/f/images/enter.png) no-repeat 0px -24px;}
footer{padding:20px 0 10px;border-top:2px solid #ECECEC;color:#9F9F9F;margin-top:15px}
footer .pull-right{text-align:right;}

#enter form {margin:0;}

.mainmenu {background:#EBF3FA;border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:10px;font-size:115%;margin:0;position:relative;}
.mainmenu.with-sub {border-radius:0;}
.mainmenu li,.subsitemenu li {display:inline-block;padding-right:2em;position:relative;line-height:160%;zoom:1;*display:inline;}
.mainmenu li.selected,.subsitemenu li.selected, {color:#090970;font-weight:bold;}
.mainmenu li a,.subsitemenu li a{color:black;text-decoration:underline;}
.mainmenu li a:hover,.subsitemenu li a:hover{text-decoration:none;}
.mainmenu ul.sub,.subsitemenu ul.sub {display:none;position:absolute;top:20px;left:-35px;-moz-border-radius: 5px; -o-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;background: #F5F5EA;width:300px;margin-right:10px;padding: .5em;border: 1px solid #CCC;-moz-box-shadow: 3px 3px 5px #CCC; -o-box-shadow: 3px 3px 5px #CCC; -webkit-box-shadow: 3px 3px 5px #CCC; box-shadow: 3px 3px 5px #CCC;z-index:1000;zoom:1}
.mainmenu ul.sub li,.subsitemenu ul.sub li {display:block;font-size: 95%;line-height: 120%;margin-bottom: 6px;}
.mainmenu li.selected li,.subsitemenu li.selected li {font-weight:normal;}
ul.sub > li > a.with_sub {text-decoration:none;border-bottom:1px dotted black;}

.mainmenu li,.subsitemenu li{behavior:expression(onmouseover=function(){this.className +=" zindex"},onmouseout=function(){this.className=this.className.replace("zindex","")},style.behavior=null);}
.zindex {z-index:1000;}


.submenu {border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:5px 0px 5px 10px;font-size:115%;border:2px solid #EBF3FA;margin:0;position:relative;}
.submenu li {display:inline-block;padding-right:2em;position:relative;line-height:160%;zoom:1;*display:inline;}
.submenu li.separator {display:block;clear:both;height:2px;background: #EBF3FA;margin:5px 0 5px -10px;}
.mainmenu li.selected,.subsitemenu li.selected {color:#090970;font-weight:bold;}
.submenu li.selected {font-weight:bold;}

.subsitemenu {background:#EBF3FA;border-top-left-radius:5px;border-top-right-radius:5px;padding:10px;font-size:115%;margin:20px 0 0;position:relative;z-index:1;}

.ask {display:block;width:100%;background: #3dd166;background: -moz-linear-gradient(top, #3dd166 0%, #056019 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3dd166), color-stop(100%,#056019));background: -webkit-linear-gradient(top, #3dd166 0%,#056019 100%);background: -o-linear-gradient(top, #3dd166 0%,#056019 100%);background: -ms-linear-gradient(top, #3dd166 0%,#056019 100%);background: linear-gradient(top, #3dd166 0%,#056019 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3dd166', endColorstr='#056019',GradientType=0 );min-height:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;line-height:30px;text-align:center;font-size:130%;margin-bottom:20px;}
.ask a {color:white;}

.breadcrumb {background:none;border:0;margin:15px 0 0 0;filter:none;box-shadow:none;}
.breadcrumb li {zoom:1;*display:inline;}

.news_date {font-size:90%;color:#9F9F9F;margin:15px 0 5px;}
.news_title {font-size:110%;margin-bottom:5px;}
.news_title .breadcrumb {padding: 7px 0;}
.news_image {float:left;margin: 0 10px 10px 0;}
.important-news {background:#F5F5F5;border-radius:5px;}
.news_block {padding:0 10px 10px;}

.sections ul {list-style:none;margin:0;}
.sections li {background: url("/f/images/bdash.gif") no-repeat 16px 14px;padding: 7px 0 .5em 36px;}

.thumbnail > img{*margin:0;}
.rules {line-height:25px;margin-top:10px;display:none;}
.rules li {margin-bottom:8px;}
.rules ul li {list-style:none;}
.rules ul li {background: url("/f/images/bdash.gif") no-repeat 16px 14px;padding: 7px 0 .5em 36px;margin-bottom:0;}

.modal.fade.in {top:10%;}
.modal {max-height:80%;margin-top:0;}
.modal-body {max-height:none;overflow-y:auto;}

.comments_list .comment_item .comment_message {
    line-height: 140%;
    padding-bottom: 5px;
    padding-top: 10px;
}
.comments_list .comment_item .reply_comments {
    margin-top: 20px;
}
.comments_list .comment_item .reply_comments .comment_item {
    margin-left: 20px;
}
.comments_list .comment_item .comment_info span.comment_username {
    color: #666666;
    display: block;
    float: left;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 5px;
}
.comments_list .comment_item .comment_info span.comment_time {
    color: #666666;
    display: block;
    float: left;
    font-size: 11px;
    margin-right: 10px;
    margin-top: 6px;
}
.comments_list .comment_item .comment_info a.link_to_comment,.comments_list .comment_item .comment_info a.to_parent {
    display: block;
    float: left;
    font-size: 11px;
    margin-right: 10px;
    margin-top: 6px;
}
.comments_list .comment_item .reply {
    font-size: 11px;
}
.add_comment {margin-bottom:10px;}
.add_comment a {color:black;}

.editor{margin:10px 0;}
.editor .panel{background:#eee;overflow:hidden;padding:2px 5px;}
.editor .panel > a{display:block;float:left;}
.editor .panel .can_use_html{float:right;font-size:10px;margin-top:4px;margin-right:5px;color:#666;}
.editor .panel .can_use_html a{border-bottom:1px dotted;text-decoration:none;}
.editor .panel .help_holder{padding:10px;}
.editor .panel .help_holder h4:first-child{margin-top:0;clear:both;padding-top:10px;font-size:16px;}
.editor .panel .help_holder h4{font-weight:bold;font-size:12px;margin-bottom:10px;margin-top:20px;color:#666;}
.editor .panel .help_holder dl{font-size:11px;margin-bottom:10px;}
.editor .panel .help_holder dl dt{color:#000;font-weight:bold;}
.editor .panel .help_holder dl dd{color:#666;}
.editor .text-holder{border:1px solid #aaa;padding:2px;}
.editor .text-holder textarea{width:99%;border:0;margin:0;font-size:12px;outline:none;}

.comment_header {margin-bottom:10px;}

.download {margin: 6px 0 15px 114px;position: relative;padding-left:68px;min-height:50px;}
.download.mini {margin: 6px 0 15px 0;position: relative;padding-left:10px;min-height:0;}
.date-container {left: -110px;position: absolute;width: 110px;}
.download .icon {height: 48px;left: 9px;position: absolute;top: 2px;width: 48px;}
.controls a {color: #777;margin-right: 16px;}
.date-container .date {color: #666;}

.dng {cursor:move;}
.categorys_placeholder {width:100%;height:50px;margin-bottom:15px;border:1px dashed gray;}
.comment_delete {margin-bottom: 20px;font-size: 15px;color:#666;}

.mainpage_text {margin-top:10px;}

.gallery_category {overflow-x: hidden;overflow-y: hidden;position:relative;margin-bottom:10px;}
.gallery_category a.thumbnail {width:95%;height:95%;margin:0 auto;overflow-x: hidden;overflow-y: hidden;position:relative;text-decoration:none;max-height:285px;}
.gallery_category .gallery_description {position:absolute;bottom:0;left:0;width:100%;height:20px;background:#666;background-color: rgba(0, 0, 0, 0.6);color:white;line-height:20px;white-space:nowrap;padding:0 10px;font-weight:bold;}

.gallery_photo {margin-bottom:10px;}
.gallery_photo a.thumbnail {overflow:hidden;max-height:95px;}

#gallery_list .row-fluid {width:auto;}
.main_photo {margin-left:20px;}
#preview_placeholder {
    border: 5px solid #D6D6D6;
    margin-bottom: 20px;
    padding: 10px;
}
.form-search h4 {margin-bottom:10px;}

.content img {max-width:100%;}
.content table {max-width:100%;}

.qa_author {color: #9F9F9F;font-size: 90%;margin: 5px 0;}
#ask_question {width:80%;margin-left:-40%;position:absolute!important;max-height:none;}
#ask_question form {margin: 0;}
@media(max-width:767px){
    #ask_question{left:auto;}
}
.input-block-level {width:99%;}
.red {color:#B50000;}
.gray {color:#9F9F9F;white-space:nowrap}
.row-fluid.staff {margin-bottom:20px;} 
.staff p {margin-bottom:5px;}
div.uploadify {
    float: left;
    margin-top: 10px;
}
.uploadifyQueue {
    clear: both;
}
.staff_desc {margin-left:170px;}
.main_search input {width: 60%;}
.main_search button {width: 30%;}
.npa_main,.documents_main {position:relative;}
.npa_main .date,.documents_main .date {color: #666666;font-size:90%;}
.npa_main .name,.documents_main .name {margin-bottom:15px;max-height:40px;overflow:hidden;}
.npa_main .full,.documents_main .full {display:none; position:absolute;top:-8px;left:-10px; box-shadow:#000 0 0 8px -4px; border-radius:7px; border:1px solid #9ecee8; width: 100%; padding: 7px 0.6em;background: #e5e9ea;background-image:linear-gradient(top , #fff 5%, #e5e9ea 95%);background-image:-o-linear-gradient(top , #fff 5%, #e5e9ea 95%);background-image:-moz-linear-gradient(top , #fff 5%, #e5e9ea 95%);background-image:-webkit-linear-gradient(top , #fff 5%, #e5e9ea 95%);background-image:-ms-linear-gradient(top , #fff 5%, #e5e9ea 95%);z-index:100;}
.npa_main:hover .full,.documents_main:hover .full {display:block;}
div.poster a.thumbnail {position:relative;}

.fancybox.thumbnail:after{
  content: ' ';
  display: block;
  background-color: white;
  height: 4px;
  width: 100%;
  position: absolute;
  bottom: 0;
}