* {
    padding:0;
    margin:0;
}


body {
     background: #f5f6f7 url('../images/bg.jpg') repeat-x 0 0; 
    color:#1f282c;
   font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:14px;
    cursor:default;
 
}

h1, h2, h3, h4, h5 {
    font-weight:normal;
}

h1 {font-size: 21px;
    display: none;

}

h2 {
	font-size:20px;
}

h3 {
	font-size:18px;
}

h4 {
	font-size:16px;
}

h5 {
    font-size:14px;
}

a img {
    border:none;
}

textarea {
    resize:vertical;
}

ul, ol {
    list-style:none;
}

:focus {
    outline:none;
}

.clr {
    clear:both;
}
    
table {
	border-collapse:collapse; 
    border-spacing:0;
}
    
p {
	margin:10px 0;
}

hr {
    color:#aaa;
    border:0 none;
    border-top:1px dotted #aaa;
    height:1px;
}

a, a:visited {
    color:#006a9b;
    text-decoration:none;
}

a:hover, a:active {
    color:#222;
    text-decoration:none;
}

.lcol {
	float:left;
}

.lcol2 {
	float:right;
}
    
.rcol {
	float:right;
}
        
.wrapper {
    margin:0 auto;
    width:987px;
    padding:0 10px;
}

.thide {
    display:block;
    overflow:hidden;
    font-size:0;
}

#topmenu {
    margin-top:35px;
}

.logo {
    background:url('../images/logo.png');
    width: 350px;
height: 150px;

    margin-top:-20px
}
.logo2 {
    background:url('../images/banner.jpg');
    width: 468px;
height: 60px;
  
   margin-top: 8px;
margin-right: 83px;
border: 2px solid #797979;
border-radius: 4px;}

.nav-bar {
	margin-left:295px;
    height:45px;
    background:url('../images/top-panel.png') repeat-x;
    border-radius:25px;
	box-shadow:0px 0px 5px rgba(0,0,0,.2);
}

.search-box {
    margin:7px 10px 0 0;
    border-radius:15px;
    box-shadow:0 1px 3px rgba(0, 0, 0,.1) inset;
    background:#f1f2f6;
    width:180px;
    height:30px;
}

.input-text {
    width:145px;
    height:29px;
    padding-left:8px;
    border:none;
    background:none;
    font-size:12px;
}

.ser-button {
    position:relative;
    right:3px;
    top:3px;
    z-index:105;
    cursor:pointer;
    border:none;
    width:20px;
    height:16px;
    background:url('../images/search-button.png') no-repeat;
}

#topnav {
    margin-left:15px;
    height:45px;
}

#topnav li {
	float:left;
	display:inline;
	position:relative;
}

#topnav ul li {
	padding:0;
	float:none;
	border:none;
	display:block;
}

#topnav li.hover li {
    border:none;
}

#topnav li div {
	position:absolute;
	top:15px;
	left:-9999px;
	width:100px;
	z-index:9999;
}

#topnav li.hover div {
    left:0;
}

#topnav li {
	margin-right:0px !important;
	border:none !important;
}

#topnav a {
	line-height:45px;
	display:block;
	height:45px;
	color:#525252;
	font-size:13px;
    text-shadow:0 -1px 0 #fff;
	padding:0px 8px;
}

#topnav .hover a, #topnav a:hover {
	color:#4f5899;
	background:rgba(228,232,241,0.8);
	box-shadow:0px 0px 3px rgba(0,0,0,.2) inset;
}

#topnav div {
	min-width:200px;
	top:45px !important;
	padding-top:4px;
	background:rgba(255,255,255,.98);
	padding:5px 0px;
    border-radius:0 0 3px 3px;
	box-shadow:0px 1px 5px rgba(0,0,0,0.3), 0px 0px 0px 1px rgba(0,0,0,0.1);
}

#topnav div a {
	color:#666 !important;
	line-height:27px;
	height:27px;
	font-size:12px;
	text-shadow:none;
	background:none !important;
	box-shadow:none !important;
}

#topnav div a:hover {
	color:#006a9b !important;
	background:#f5f5f5 !important;
}

.primary-nav {
    background:url('../images/arrownav.png') no-repeat 0 2px;
    padding-left:15px;
    margin:17px 0;
    text-shadow:0 1px 0 #fff;
    font-size:12px;
}

#content {
    background-color:#fff !important;
    background:url('../images/wbg.png') repeat-y, url('../images/shadow-right.png') repeat-y right;
    margin-bottom:25px;
    border-radius:4px 0 8px 8px;
    box-shadow:0px 0px 5px rgba(0,0,0,.2);
}

#l-content {
    overflow:hidden;
}

#side-panel {
    width:235px;
    padding-top:7px;
}

.sidepad {width:234px;}

@font-face {
  font-family:'PT Sans Narrow';
  font-style:normal;
  font-weight:400;
  src:local('PT Sans Narrow'), local('PTSans-Narrow'), url('../fonts/narrow-webfont.woff') format('woff');
}

.dcont {
    padding:10px;
}
    
#tagbox h2, .dcont h2, .newspad h2 {
	font-family:'PT Sans Narrow',arial,tahoma;
    text-transform:uppercase;
}
    
.corner {
	position:absolute;
    top:0;
 	left:-15px;
    background:url('http://iphone-os.net/templates/iphone-os/images/corner.png');
    width:15px;
    height:46px;
}

.block-head {
   color:#fff !important;
    display:block;
    margin:0 7px;
    font-size:15px;
    padding:8px 0;
    text-align:center;
border-bottom: 1px solid #575757;
border-top: 1px solid #797979;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
background-color: #5f5f5f;
	border-radius:4px;
}

.block-inner {
    padding:7px;
    overflow:hidden;
}

.seep {
    background:url('../images/seep.png') 50% 0 repeat-x;
    height:18px;
}

.bannerblock {
    margin:0 auto;
    width:209px;
    height:100%;
    margin-bottom:7px;
    padding:9px;
    border:1px solid #aed2e3;
    border-radius:6px;
}

 #socialbut a {
    color:#ccc;
	display:block;
	font-size:13px;
	padding:5px 0;
	text-align:center;
	width:100px;
}

#socialbut ul li a span {
	background:url('../images/socialb.png') no-repeat;
	display:block;
	font-size:0;
	height:30px;
	margin:2px auto 0;
	width:30px;
	z-index:10;
}

#socialbut ul li a span.vk {
	background-position:0 -34px;
}

#socialbut ul li a span.twitter {
	background-position:0 -68px;
}

#socialbut ul li a span.google {
	background-position:0 -99px;
}

#socialbut ul li a span.fb {
	background-position:0 -133px;
}

#socialbut ul li a span.ok {
	background-position:0 -170px;
}

#socialbut a:hover {
    color:#fff;
    background:url('../images/arrow-left.png') 0 50% no-repeat scroll #8b8b8b;
    box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    text-shadow:0 1px 1px rgba(0,0,0,.3);
}

#archbut a {
    width:27px;
    height:29px;
    background:url('../images/archbut.png') no-repeat; 
}
    
#archbut {
    background:rgba(0,0,0,0.2); 
    border-radius:0 0 2px 2px;
}
    
#archbut a:hover {
    background-color:rgba(0,0,0,0.4);
}
    
#archbut a.selected {
    background-color:rgba(0,0,0,0.6); 
}

#archbut a.list {
    background-position: 0px 3px;
}

#archbut a.cal {
    background-position: -22px 3px;
}

.btn-rel {
    color:#fff !important;
    display:block;
    margin:0 7px;
    font-size:15px;
    padding:8px 0;
    text-align:center;
  background-image:-webkit-linear-gradient(#52A8E8, #377AD0);
	background-image:-moz-linear-gradient(0% 100% 90deg,#377AD0, #52A8E8);
	background-image: -o-linear-gradient(rgb(82,168,232),rgb(55,122,208));
	background-color:#52A8E8;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #20559A;
	box-shadow:0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-rel:hover {
    background-color:#035981;
}

.mnav li a {
    display:block; 
    padding:4px 0;
	font-size:12px;
    color:#525252;
    text-shadow:0 0 1px #fff;
    background:url('http://iphone-os.net/templates/iphone-os/images/nav-arrow.png') no-repeat 0px 5px;
	padding-left:20px;
}

.mnav li a:hover {
	background-position:0px -14px;
    color:#2f4e87;
}


.topnews {
    color:#555;
}

.topnews li a {
    color:#2f4e87;
    font-size:12px;
    background:url('../images/tnews.png') no-repeat 7px 50%;
    display:block;
    padding:7px 15px 7px 24px;
    border-bottom:1px solid #e7e7e7;
}


.topnews li a:hover {
    background-color: rgba(255,255,255,0.4);
}

#tagbox {
    padding-top:10px;
}

#tagbox h2 {
    color:#dfddd5;
    line-height:21px;
}

.tagbox {
    padding: 10px 13px;
    border-radius:4px;
    background-color:#f0f0ed;
}

.tagbox a, .popupcol a, .topnews li a {
    color:#1f282c;
}
        
.tagbox a:hover, .popupcol a:hover, .topnews li a:hover {
    text-decoration:underline;
}

#footer {
    width:100%;
    padding-top:20px;
    color:#6e6e6e; 
    position:absolute;
    left:0px;
    min-height:100px;
}

#footer a {
    color:#fff;
    text-decoration:underline; 
}

#footer .text {
    font-size:13px;
    line-height:22px;
}

#footer .counts li {
    float: right;
    height: 31px;
    margin-left:8px;
    opacity:0.5;
}

#footer .counts li:hover {
    opacity:1;
}


.news-block {
    overflow:hidden;
    background:url('../images/news-bottom.png') 50% bottom no-repeat, url('../images/news-top.png') 50% 0 no-repeat;
    border-bottom:1px solid #f7faff;
}



.newspad {
	padding:10px 10px 0 10px;
}
            
.news-detalis ul {
    overflow:hidden;
    border-radius:5px 0 0 5px;
    background:#eee;
    float:right;
}

.news-detalis ul li {
    float:left;
    vertical-align:middle !important;
    border-right:1px solid rgba(0, 0, 0, 0.11) !important;            
    height:25px;
}

.news-detalis ul li:last-of-type {
    border-right:none !important;
}
    
.green-label {
    float:left;
    display:inline-block;
    height:25px;
    line-height:24px;
    color:#fff;
    background:#f1984a;
    padding:0 10px;
    text-shadow:none;
    margin-right:5px;
    font-size:11px;
    text-transform:uppercase;
    border-radius:2px;
}

.argmore a {
    height:29px;
    line-height:28px;
    float:left;
    color:#fff;
    font-size:12px;
    margin-right:10px;
      padding:0 15px;
    margin: 0 7px;
    
    text-shadow:0 -1px 1px rgba(0,0,0,.3);
	background-image:-webkit-linear-gradient(#52A8E8, #377AD0);
	background-image:-moz-linear-gradient(0% 100% 90deg,#377AD0, #52A8E8);
	background-image: -o-linear-gradient(rgb(82,168,232),rgb(55,122,208));
	background-color:#52A8E8;
	-moz-border-radius:23px;
	-webkit-border-radius:23px;
	border-radius:23px;
	border:1px solid #20559A;
	box-shadow:0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.3);
}



.argmore a:hover {
background-image:-webkit-linear-gradient(#54A1D8, #1967CA);
	background-image:-moz-linear-gradient(0% 100% 90deg,#1967CA, #54A1D8);
	background-image: -o-linear-gradient(rgb(84,161,216),rgb(25,103,202));
	background-color:#52A8E8;box-shadow:0 1px 0 rgba(255,255,255,.6), inset 0 1px 0 rgba(255,255,255,.3);
}

   
.morelink {
    height:29px;
    line-height:28px;
    color:#666;
    margin:10px 10px 10px 0;
}

.comm-panel {
    border-radius:0 6px 6px 6px;
    font-size:18px;
    display:block;
    height:32px;
    line-height :31px;
    width : 42px;
    text-align:center;
    background:#eee;
}

.comm-panel span a {
    color:#333;
    display:block;
}

.news-detalis {
    padding-left:7px;
    overflow:hidden;
    border-left:3px solid #006a9b;
}
  
.news-info  {
    color:#777;
    background:url('../images/news-arrow.png') no-repeat;padding-left:15px;
}
        
.news-info a {
    color:#777;
    text-decoration:underline;
}

.news-text {
    margin-top:10px;
    font-size:13px;
}

.news-text img {
    padding: 5px;
	border: solid 1px #EFEFEF;
	border-radius:2px;
    width:280px;
	box-shadow:0 3px 7px rgba(0,0,0,0.03);
}

.relnews {
    color:#444;
}

.relnews li a {
    font-size:12px;
    display:block;
}

.relnews li a:hover {
    text-decoration:underline;
}

.relnews li {
    padding:6px;
    display:block;
    overflow:hidden;
}

.relnews li:hover {
    background:#fff;
    box-shadow:0 0 5px rgba(0,0,0,0.1);
    border-radius:4px;
}

.relnews img {
    float:left;
    width:100px;
    height:50px;
    padding:5px;
	border: solid 1px #ccc;
	border-radius:2px;
    background:#fff;
	box-shadow:0 3px 7px rgba(0,0,0,0.1);
    margin-right:8px;
}

.relnews-area {
    overflow:hidden;
    background:#f7faff;
    border-bottom:1px solid #e9eef6;
}

.relnews-area h1 {
    padding-bottom:5px;
    text-transform:uppercase;
    text-shadow:0 1px 0 #fff; 
    color:#444;
}

.bcomment {
    border-top:2px solid #006a9b !important;
    background:#f1f1f1;
}
    
.bcomment .text {
    margin-left:110px;
}

.avatar {
    margin-right:10px;
    position:relative;
}   

.avatar img {
	width:100px;
}

.user-status {
	position:absolute;
    top:-2px;
    right:-2px;
    background:rgba(0,0,0,.8);
    padding:3px 5px 2px 5px;
    border-radius:3px;
}

.user-status img {
    width:10px !important;
    height:10px !important;
}

.comminfo {
    float:left;
    margin-right:10px;
    color:#666;
}
        
.commtitle  {
    color:#777;
    margin-bottom:7px;
}
        
.commtitle a {
    color:#777;
    text-decoration:underline;
}
  
.comedit {
    float:right;
    border-radius:0 0 4px 4px;
    margin-top:-10px;
    background:#006a9b;
}

.comedit li {
    float:left;
    padding:5px 6px 7px 6px;
    width:16px;
    height:16px;
    border-right:1px solid rgba(0, 0, 0, 0.11) !important;   
}
    
.comedit li:last-child {
    border:none;   
}

.upanel {
	margin-left:750px;
    height:42px;
}

.upanel li {
	float:left;
}	

.upanel .logblock a {
	line-height:31px;
	display:block;
	height:32px;
	font-size:13px;
	padding:0px 20px;
    margin:0 15px 0 0;
    color:#fff;
    text-shadow:0 -1px 1px rgba(0,0,0,.3);
	background-image:-webkit-linear-gradient(#52A8E8, #377AD0);
	background-image:-moz-linear-gradient(0% 100% 90deg,#377AD0, #52A8E8);
	background-image: -o-linear-gradient(rgb(82,168,232),rgb(55,122,208));
	background-color:#52A8E8;
	-moz-border-radius:23px;
	-webkit-border-radius:23px;
	border-radius:23px;
	border:1px solid #20559A;
	box-shadow:0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.3);

}
    
.upanel .hlog {
   	line-height:32px;
	height:32px;
    box-shadow:none;
    border-bottom:1px dashed #525252;
    background:none;
	color:#525252;
	font-size:12px;
}

.uavatar {
    position:relative;
}

.uavatar img {
    width:100px;
}

.logarea {
    display:none;
}

.popuplog {
    box-shadow:0 0 5px #000;
    background: #fff;
    position:relative;
}

.popup-head {
    font-size:15px;
    padding:0 15px;
    height:40px;
    line-height:40px;
}

.popup-close {
    position:absolute;
    top:-15px;
    right:-45px;
    width:32px;
    overflow:hidden;
    display:block;
	height:20px;
	float:right;
    background:url('../images/pclose.png') no-repeat;
}

.popupcol {
    padding:5px 15px 15px 15px;
}

.popupcol .usermenu {
	margin:-3px 0 0 120px;
}

.popupcol .usermenu li a {
	display:block; 
	padding: 3px 0;
}

.popupcol .edge p {
	color:#7e7e7e;
    padding:0 !important;
	margin-bottom:4px;
}

.popupcol .edge input {
	margin-bottom:8px;
    padding:5px;
	width: 97%;
}

.popup_shadow {
    background:rgba(0,0,0,.8);
    padding:6px;
    border-radius:4px;
}

select {
    padding:1px;
    height:20px;
	box-shadow:0px 1px 0px rgba(0,0,0,0.1) inset;
    border:1px solid #bababa;
    font-size:11px;
    border-radius:2px;
}

table.tableform {
    width:100%;
}

table.tableform td {
    padding:2px 0px 3px 0px;
    border-bottom:1px dotted #eaeaea;
    vertical-align:middle;
}

.tableform td.label {
    width:20%;
    padding-right:0;
}

table.tableform input.f_input {
    width:300px;
}

.checkbox {
    padding:4px 0;
    line-height:1em;
}

.checkbox input {
    margin-top:-2px;
    vertical-align:middle;
}

a.fbutton:link, a.fbutton:visited, .fbutton, input.bbcodes {
    padding:3px 9px 4px 9px;
    font:12px tahoma, arial, helvetica ,sans-serif;
    color: #333333;
    margin-top:7px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    cursor: pointer;
    background: #FAFBFB;
    border: 1px solid #CFD0D2;
    border-top: 1px solid #DEDFE0;
    border-bottom: 1px solid #A1A2A4;
    border-radius: 3px;
    box-shadow: inset 0 2px 2px #fff, 0px -7px 7px rgba(0,0,0,0.05) inset, 0px 1px 0px rgba(0,0,0,0.1);
    transition:all 0.3s ease;
}

a.fbutton:hover, .fbutton:hover, input.bbcodes:hover {
    color:#000;
}

a.fbutton:active, .fbutton:active, input.bbcodes:active {
    color:#555;
    box-shadow:0 1px 3px rgba(0, 0, 0, 0.5) inset; 
}

.bb-editor textarea, .xfields input, input.textin, .xfields textarea, .f_input,input.f_input, textarea.f_textarea  {
    border:1px solid #bababa;
    background:#fff;
    padding:4px;
    font:12px Tahoma, arial;
    transition:all 0.2s ease;
    color:#666;
    border-radius:2px;
    box-shadow:0px 1px 0px rgba(0,0,0,0.1) inset;
}
        
.bb-editor textarea:hover, .xfields input:hover,input.textin:hover,.xfields textarea:hover,.f_input:hover,input.f_input:focus, textarea.f_textarea:hover {
    border:1px solid #909090;
}

.bb-editor textarea:focus, .xfields input:focus,input.textin:focus,.xfields textarea:focus,.f_input:focus,input.f_input:focus, textarea.f_textarea:focus{
    color:#000;
    border-color:#789a11;
    box-shadow:0 1px 1px rgba(0, 0, 0, 0.2) inset, #1967ca 0px 0px 5px;
}

.grey {
    color:#555;
}

.userinfo {
    display:inline-block;
    margin-left:10px;
    line-height:25px;
}

.info-block {
    background:#F5F5F5;
    padding:10px;
    margin:15px 0;
}

.berrors {
    border-left:3px solid #8bb312;
    border-radius:4px;
    background:#e6f0d9;
    padding:13px;
}
        
.berrors b {
	font-size:12px;
    font-weight:normal;
}

.stats {
    width:33.3%;
    float:left;
    margin-bottom:10px;
}

.uinfo {
    width:49.9%;
    float:left;
}

.pm-menu {
    padding:15px 0;
}
        
.pm-menu li {
	float:left;
    padding:0 5px;
    font-size:12px;
    border-right:1px solid #ccc;
}
                
.pm-menu li:last-of-type {
    border-right:none;
}

.navigation, .navigation a, .navigation span, .bnnavi, .nextprev, .nextprev .thide {
    float: left;
}

.navigation a, .navigation span {
    font-size:15px;
    margin-top:-1px;
    padding:0 12px;
    height: 25px;
    line-height: 23px;
}

.navigation a, .navigation span.nav_ext {
    color: #101111;
}

.navigation a:hover {
    background-color: #eee;
    border-radius:4px;
}

.navigation span {
    background-color: #1967ca;
    box-shadow:0 12px 0 rgba(255, 255, 255, 0.07) inset;
    color: #fff;
    border-radius:2px;
}  

.nextprev .pager {
    width: 26px;
     font-size:0;
     margin: 0 4px; 
     float:left !important;
     height:26px;
     background: url("../images/pages.png") no-repeat;
}

.nextprev a span {
    cursor: pointer;
}

.nextprev span .pnext {
    background-position: -26px -52px;
}

.nextprev a .pnext {
	background-position: -26px 0;
}

.nextprev a:hover .pnext {
	background-position: -26px -26px;
}

.nextprev span .pprev {
	background-position: 0 -52px;
}

.nextprev a .pprev {
	background-position: 0 0;
}

.nextprev a:hover .pprev {
	background-position: 0 -26px;
}




/* APPLE STYLE NAVIGATION MENU */
#appleNav {
 margin-top:90px; list-style:none;
 
 /* Lucinda Grande - это шрифт который используется на сайте Apple. */
 font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
 
 /* Добавляем тонкую тень к тексту */
 text-shadow: 0 -1px 3px #202020;
 
 /* Мы хотим добавить тень к всему меню. Для того нам понадобится установить правильную ширину и высоту, а также границы, для того, чтобы создать идеальную тень */
 width:990px; height:15px;
 
 -moz-border-radius:4px;
 -webkit-border-radius:4px;
 border-radius:4px;


}
 
#appleNav li {
 display:block; float:left; border-right:1px solid #5d5d5d; border-left:1px solid #929292; width:140px; height:34px; border-bottom:1px solid #575757; border-top:1px solid #797979;
 
 /* Градиентный фон для кнопок */
 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
 background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
 background-color:#5f5f5f; /* Fallback */
}
 
/* Устанавливаем состояние при наведении мыши, за исключением последнего пункта в списке (строка поиска), так как она не нуждается в изменении */
#appleNav li:not(:last-child):hover {
 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
 background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
 background-color:#383838; /* Fallback */
 
 /* Мы используем inset для box-shadow для создания тонкого внутреннего свечения при наведении*/
 -moz-box-shadow: inset 0 0 5px 5px #535353;
 -webkit-box-shadow: inset 0 0 5px 5px #535353;
 box-shadow: inset 0 0 5px 5px #535353;
}
 
/* Когда пользователь щелкает по кнопке, мы просто меняем box-shadow inset (в сравнении с "hover") */
#appleNav li:not(:last-child):active {
 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
 background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
 background-color:#383838; /* Fallback */
 
 -moz-box-shadow: inset 0 1px 2px 2px #000;
 -webkit-box-shadow: inset 0 1px 2px 2px #000;
 box-shadow: inset 0 1px 2px 2px #000;
}
 
#appleNav li a {
 color:white; text-decoration:none; text-align:center; display:block; line-height:34px; outline:none; }
 
/* Стилизация поля поиска */
#appleNav form input {
 width:76px; height:20px; margin-left:9px; margin-top:8px; border:none; padding-left:20px; padding-right:10px; color:#eee;
 
 -moz-border-radius:10px;
 -webkit-border-radius:10px;
 border-radius:10px;
 
 /* Мы используем несколько фонов для поля ввода: изображение лупы и градиентный фон */    
 background-image: url("../images/magnifier.png"), -webkit-gradient(linear, left bottom, left top, color-stop(0, #747474), color-stop(0.5, #6E6E6E), color-stop(0.51, #7E7E7E), color-stop(1, #8D8D8D));
 background-image: url("../images/magnifier.png"), -moz-linear-gradient(center bottom, #747474 0%, #6E6E6E 50%, #7E7E7E 51%, #8D8D8D 100%);
 background-repeat: no-repeat;
 
 background-color:#6E6E6E; /* Fallback */
 
 -moz-box-shadow: inset 0 2px 1px 1px #363636;
 -webkit-box-shadow: inset 0 2px 1px 1px #363636;
 box-shadow: inset 0 2px 1px 1px #363636;
}
 
/* Округлые уголки для первого и последнего пункта. Мы также удаляем границы, так как они не нуждаются в них. */
#appleNav li:first-child {
 -moz-border-radius:4px 0 0 4px;
 -webkit-border-radius:4px 0 0 4px;
 border-radius:4px 0 0 4px;
 
 border-left:none;
}
 
/* Первое изображение - логотип - должен быть по центру. Из-за размера изображения, нам вручную необходимо перенести его немного.*/
#appleNav li:first-child a img {
 vertical-align:middle; margin-top: 2px;
}
 
#appleNav li:last-child {
 -moz-border-radius:0 4px 4px 0;
 -webkit-border-radius:0 4px 4px 0;
 border-radius:0 4px 4px 0;
 
 border-right:none;
 
 /* Ширина последнего пункта меню (панель поиска) он больше, чем остальные */
 width:138px;
}
 
/* Анимация */
@-webkit-keyframes showMenu {
 from { opacity: 0; top:-20px; }
 to   { opacity: 1; }
}
@-moz-keyframes showMenu {
 from { opacity: 0; top:-20px; }
 to   { opacity: 1; top:0px; }
}
 
#appleNav {
 -webkit-animation: showMenu 1s; position:relative;
-moz-animation: showMenu 2s;
}
                

/* fullstore */
.legend-title {
	background: #ffffff;
	display: block;
	font-size: 100%;
	float: left;
	font-weight: bold;
	left: 7px;
	margin: 0;
	padding: 0 3px;
	position: absolute;
	top: -10px;
}

.legend {
	border: 1px solid #CCCCCC;
	margin: 20px 0;
	padding: 0 10px;
                position: relative;}
                          
.faq{text-align: center;}
        
.box-info {
border-color: rgba(81,187,255,0.4);
background: rgba(81,187,255,0.2) url(../images/faq2.png) 0 0 no-repeat;
color: #006aad;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 6px;
margin: 15px 0;
padding: 10px;  
}       
        
.box-download {     
border-color: rgba(183,228,63,0.5);
background: rgba(183,228,63,0.2) url(../images/faq1.png) 0 0 no-repeat;
color: #7ead00;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 6px;
margin: 15px 0;
padding: 10px;
}
        
.box-download,.box-info  {padding-left: 40px; }




/* Стили для бесконечной карусели */
.ca-container{
	position:relative;
	margin:25px auto 10px auto;
	width:990px;
	height:235px;
}
.ca-wrapper{
	width:100%;
	height:100%;
	position:relative;
}
.ca-item{
	position:relative;
	float:left;
	width:330px;
	height:100%;
	text-align:center;
}
.ca-more{
	position: absolute;
	bottom: 10px;
	right:0px;
	padding:4px 15px;
	font-weight: 500;
		text-align:center;
	color: #fff !important;
	font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
letter-spacing: -0.5px;
	
	text-shadow:1px 1px 1px #897c63;
    background-image:-webkit-linear-gradient(#52A8E8, #377AD0);
	background-image:-moz-linear-gradient(0% 100% 90deg,#377AD0, #52A8E8);
	background-image: -o-linear-gradient(rgb(82,168,232),rgb(55,122,208));
	background-color:#52A8E8;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid #20559A;
	box-shadow:0 1px 2px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.3);
}


.ca-item-main{
	padding:20px;
	position:absolute;
	top:5px;
	left:5px;
	right:5px;
	bottom:5px;
	background:#fff;
	overflow:hidden;
	-moz-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	-webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.2);
	box-shadow:1px 1px 2px rgba(0,0,0,0.2);
}

}
.ca-content{
	width:660px;
	overflow:hidden;
}

.topnav {
    font-family: "CenturyGothicRegular","Century Gothic",Arial,Helvetica,sans-serif;
    padding: 40px 28px 25px 0;
    width: 213px;
}
ul.topnav {
    font-size: 1em;
    line-height: 0.5em;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
ul.topnav li {
}
ul.topnav li a {
    color: #000;
    display: block;
    font-size: 13px;
    font-weight: bolder;
    line-height: 12px;
    padding: 10px 5px;
    text-decoration: none;
    background: #f2f2f2;
    border-bottom: 1px solid #D3D3D3;
}
ul.topnav li a:hover {
    background-color: #7D7D7D;
    color: white;
}
ul.topnav ul {
    display: none;
    margin: 0;
    padding: 0;
}
ul.topnav ul li {
    clear: both;
    margin: 0;
    padding: 0;
}
ul.topnav ul li a {
    font-size: 12px;
    font-weight: normal;
    outline: 0 none;
    padding-left: 20px;
}
ul.topnav ul li a:hover {
    background-color: #DCDCDC;
    color: #555;
}
ul.topnav ul ul li a {
    color: silver;
    padding-left: 40px;
}
ul.topnav ul ul li a:hover {
    background-color: #D7D7D7;
    color: #555555;
}
ul.topnav span {
    float: right;
}
.socbut_ic { width:26px; height:26px; position:relative;top:2px; }
a.socbut:link, a.socbut:visited { font:11px/13px Tahoma; padding:6px 6px 7px 28px; border:1px solid #E1E1E1; background-color:#EFEFEF; background-position: 5px 5px; background-repeat: no-repeat; text-decoration: none; color:#6F7B91; }
a.socbut:hover, a.socbut:active {  text-decoration: none;  border:1px solid #F7EAAE; background-color:#F9F1C8; color:#373E48; }
.socbut_vk { background-image:url(../images/ic_vk.png); }
.socbut_facebook { background-image:url(../images/ic_facebook.png); }
.socbut_twitter { background-image:url(../images/ic_twitter.png); }
.socbut_google { background-image:url(../images/ic_google.png); }
.socbut_ok { background-image:url(../images/ic_ok.png); }
.socbut_td { width:20%; }
.selectmass input {
    float: right;
    margin-left: 6px;
}

.mass_comments_action {
    text-align: right;
    margin-right:10px;
}
/*---Найденные похожие новости при добавлении новостей на сайте---*/
.findrelated {
	width:99%;
	background: #ffc;border:1px solid #9E9E9E;
	padding: 5px;margin-top: 7px;
	margin-right: 10px;
}
/*---Информационное окно загрузки AJAX---*/
#loading-layer {
    display:none;
	background:rgba(0,0,0,0.8);
    color:#fff;
    text-align:center;
    border-radius:2px;
    padding:10px;
	box-shadow:0px 1px 3px rgba(0,0,0,0.3);
}

/*---Цитата и скрытый текст---*/
.scriptcode, .title_quote,.quote, .title_spoiler, .text_spoiler {
    padding: 5px;
    background: #f9fafa;
    border: 1px solid #dce7e7;overflow: hidden;
}

.title_quote, .title_spoiler {
    background: #f9fafa;
}

.title_quote {
    border-bottom: 0;
    font-weight: bold;
}

.scriptcode {
    color: #004e8d;
    text-align: left;
    font-family: "Courier New";
}

.title_spoiler {
    font-weight: bold;
}

.text_spoiler {
    border-top: 0;
    text-align: justify;
}

.hide {
    background-color: #e8f3fa;
    padding: 5px;
    color: #3a78a5;
    margin: 0 0 1em;
}

.hide a {
    text-decoration: underline;
}

 .hide a:hover {
    text-decoration: none ;
}

.inhide {
    border: 1px solid #d1e3ef;
    padding: 5px;
    background-color: #fff;
    margin-bottom: 5px;
}

/*---Календарь---*/
.calendar {
    width: 100%;
}

.calendar td, .calendar th {
    padding: 5px 0;
    vertical-align: middle;
    text-align: center;
}

.weekday-active-v, .day-active-v, .weekday-active, .day-active {
    font-weight: bold;
}

.weekday { color: #e96d55; }

.monthselect {
    font-size:11px;
}

.day-current {
    background-color: #333;
    border-radius:4px;
    color: #fff;
}

.day-current a {
    color: #fff;
}

/*---Лучшие пользователи---*/
.userstop td, .pm td.pm_list, .pm td.pm_head {
    border: 1px solid #d8d8d8;
    padding: 2px;
    background-color: #fff;
}

.userstop thead td, .pm td.pm_head {
    background: #f1f1f1;
    height: 22px;
    padding: 0;
    font-weight: bold;
    text-align: center;
    color:#8bb312;
}

/*---Рейтинг---*/
.rating {
    width: 85px;
    height: 17px;
    font-size: 0.9em;
}

.unit-rating {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 85px;
    height: 17px;
    position: relative;
    background: url("http://iphone-os.net/templates/iphone-os/dleimages/rating.png") repeat-x;
}

.unit-rating li {
    text-indent: -90000px;
    padding: 0;
    margin: 0;
    float: left;
}

.unit-rating li a {
    display: block;
    width: 17px;
    height: 17px;
    text-decoration: none;
    text-indent: -9000px;
    z-index: 17;
    position: absolute;
    padding: 0;
}

.unit-rating li a:hover {
    background: url("http://iphone-os.net/templates/iphone-os/dleimages/rating.png") 0 -17px;
    z-index: 2;
    left: 0;
}

.unit-rating a.r1-unit {
    left: 0;
}

.unit-rating a.r1-unit:hover {
    width:17px;
}

.unit-rating a.r2-unit {
    left: 17px;
}

.unit-rating a.r2-unit:hover {
    width: 34px;
}

.unit-rating a.r3-unit {
    left: 34px;
}

.unit-rating a.r3-unit:hover {
    width: 51px;
}

.unit-rating a.r4-unit {
    left: 51px;
}

.unit-rating a.r4-unit:hover {
    width: 68px;
}

.unit-rating a.r5-unit {
    left: 68px;
}

.unit-rating a.r5-unit:hover {
    width: 85px;
}

.unit-rating li.current-rating {
    background: url("http://iphone-os.net/templates/iphone-os/dleimages/rating.png") 0 -34px;
    position: absolute;
    height: 17px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
}

/*---BB коды---*/
 /* различие bbcodes и bbcodes_poll исключительно в длине кнопки */
/* класс bbcodes используем в списке персональных сообщений (pm.tpl) и по умолчанию в модуле редактора сообщений*/
.bbcodes_poll {
    background: #fff url("http://iphone-os.net/templates/iphone-os/images/bbcodes.png") repeat-x 0 100%;
    text-shadow: 0 1px 0 #fff;
    border: 1px solid #b3b3b3;
    color: #383838;
    padding: 2px 9px 5px 9px;
    margin-bottom: 2px !important;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 0 1px 4px -3px black;
    -webkit-box-shadow: 0 1px 4px -3px black;
    box-shadow: 0 1px 4px -3px black;
}

.bbcodes_poll:hover {
    background-position: 0 10px;
}

.bbcodes_poll {
    width: 100px;
}

/*---BB Редактор---*/

.bb-pane { height: 1%; overflow: hidden; border: 1px solid #BBB; border-width:1px 1px 0 1px;background-image: url("../bbcodes/bg.gif"); }
.bb-btn, .bb-sep { height: 25px; float: left; display: block; overflow: hidden; text-indent: -9999px; white-space: nowrap; }
.bb-sel { float: left; padding: 4px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { width: 5px; background-image: url("../bbcodes/brkspace.gif"); }
.bb-btn { cursor: pointer; width: 23px; }

#b_font { width: 118px;}
#b_size { width: 65px;}
#b_font select { padding: 0px;}
#b_size select { padding: 0px;}
#b_b { background-image: url("../bbcodes/b.gif"); }
#b_i { background-image: url("../bbcodes/i.gif"); }
#b_u { background-image: url("../bbcodes/u.gif"); }
#b_s { background-image: url("../bbcodes/s.gif"); }
#b_img { background-image: url("../bbcodes/image.gif"); }
#b_up { background-image: url("../bbcodes/upload.gif"); }
#b_emo { background-image: url("../bbcodes/emo.gif"); }
#b_url { background-image: url("../bbcodes/link.gif"); }
#b_leech { background-image: url("../bbcodes/leech.gif"); }
#b_mail { background-image: url("../bbcodes/email.gif"); }
#b_video { background-image: url("../bbcodes/mp.gif"); }
#b_audio { background-image: url("../bbcodes/mp3.gif"); }
#b_hide { background-image: url("../bbcodes/hide.gif"); }
#b_quote { background-image: url("../bbcodes/quote.gif"); }
#b_code { background-image: url("../bbcodes/code.gif"); }
#b_left { background-image: url("../bbcodes/l.gif"); }
#b_center { background-image: url("../bbcodes/c.gif"); }
#b_right { background-image: url("../bbcodes/r.gif"); }
#b_color { background-image: url("../bbcodes/color.gif"); }
#b_spoiler { background-image: url("../bbcodes/spoiler.gif"); }
#b_fla { background-image: url("../bbcodes/flash.gif"); }
#b_yt { background-image: url("../bbcodes/youtube.gif"); }
#b_tf { background-image: url("../bbcodes/typograf.gif"); }
#b_list { background-image: url("../bbcodes/list.gif"); }
#b_ol { background-image: url("../bbcodes/ol.gif"); }
#b_tnl { background-image: url("../bbcodes/translit.gif"); }
#b_br { background-image: url("../bbcodes/pbreak.gif"); }
#b_pl { background-image: url("../bbcodes/page.gif"); }

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 2px; border: 1px solid #bcc0c2; width: 100%; background: #fff url("http://iphone-os.net/templates/iphone-os/images/fields.png") repeat-x;
}
.editorcomm .bb-editor { width: 465px;}
.editorcomm .bb-editor textarea { height: 156px; }

.clr {
    clear: both;
}

/*---Дополнительные поля---*/
.xfields textarea, .xprofile textarea {
    height: 186px;
    margin: 0px 1px 0px 0px;
    padding: 0px;
}

.xfields input, .xprofile input {
    width: 250px;
    height: 14px;
    padding: 2px;
}

.xfields_table td {
    vertical-align: top;
}

/*---Персональные сообщения---*/
 .pm_head {
    font-weight: bold;
}

/*---Выпадающее меню кнопки редактировать---*/
#dropmenudiv {
    border: 1px solid #ccc;
    background-color: #fbfdfe;
    font-size: 11px;
    line-height: 20px;
    margin: 2px 0;
    padding: 5px;
}

#dropmenudiv a {
    display: block;
    text-indent: 3px;
    text-decoration: none;
    color: #444;
    padding: 1px 0;
    width: 100%;
}

#dropmenudiv a:hover {
    color: #006a9b;
}

/*---Ссылка на скачивание прикрепленного файла---*/
.attachment {
    color: #808080;
}

/*---Рамка расширенной формы поиска по сайту---*/
fieldset {
    border: 1px solid #bfced6;
    padding: 5px;
    text-align: left;
}

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.highslide-wrapper, .highslide-outline {
    background: #FFFFFF;
}

.highslide-image {
    border: 2px solid #FFFFFF;
}

.highslide-active-anchor {
    visibility: hidden;
}

 .highslide-active-anchor img {
    visibility: hidden;
}

.highslide-dimming {
    background-color: black;
}

.highslide-html {
    background-color: white;
}

.highslide-loading {
    display: block;
    color: white;
    font-size: 9px;
    font-weight: bold;
    text-decoration: none;
    padding: 3px;
    border: 1px solid white;
    background-color: black;
}

a.highslide-full-expand {
    background: url("../dleimages/fullexpand.gif") no-repeat;
    display: block;
    margin: 0 10px 10px 0;
    width: 34px;
    height: 34px;
}

.highslide-display-block {
    display: block;
}

.highslide-display-none {
    display: none;
}

.highslide-caption {
    display: none;
    padding: 5px;
    background: white;
}

.highslide-controls {
    width: 195px;
    height: 40px;
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 0 -90px;
    margin-right: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.highslide-controls ul {
    position: relative;
    left: 15px;
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 100% -90px;
}

.highslide-controls li {
    float: left;
    padding: 5px 0;
}

.highslide-controls a {
    background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif");
    display: block;
    float: left;
    height: 30px;
    width: 30px;
    outline: none;
}

.highslide-controls a.disabled {
    cursor: default;
}

.highslide-controls a span {
    display: none;
}

 /*---The CSS sprites for the controlbar---*/
.highslide-controls .highslide-previous a {
    background-position: 0 0;
}

.highslide-controls .highslide-previous a:hover {
    background-position: 0 -30px;
}

.highslide-controls .highslide-previous a.disabled {
    background-position: 0 -60px !important;
}

.highslide-controls .highslide-play a {
    background-position: -30px 0;
}

.highslide-controls .highslide-play a:hover {
    background-position: -30px -30px;
}

.highslide-controls .highslide-play a.disabled {
    background-position: -30px -60px !important;
}

.highslide-controls .highslide-pause a {
    background-position: -60px 0;
}

.highslide-controls .highslide-pause a:hover {
    background-position: -60px -30px;
}

.highslide-controls .highslide-next a {
    background-position: -90px 0;
}

.highslide-controls .highslide-next a:hover {
    background-position: -90px -30px;
}

.highslide-controls .highslide-next a.disabled {
    background-position: -90px -60px !important;
}

.highslide-controls .highslide-move a {
    background-position: -120px 0;
}

.highslide-controls .highslide-move a:hover {
    background-position: -120px -30px;
}

.highslide-controls .highslide-full-expand a {
    background-position: -150px 0;
}

.highslide-controls .highslide-full-expand a:hover {
    background-position: -150px -30px;
}

.highslide-controls .highslide-full-expand a.disabled {
    background-position: -150px -60px !important;
}

.highslide-controls .highslide-close a {
    background-position: -180px 0;
}

.highslide-controls .highslide-close a:hover {
    background-position: -180px -30px;
}

/*---Облако тегов---*/
.clouds_xsmall {
    font-size: 1em;
}

.clouds_small {
    font-size: 1.1em;
}

.clouds_medium {
    font-size: 1.2em;
    font-weight: bold;
}

.clouds_large {
    font-size: 1.5em;
}

.clouds_xlarge {
    font-size: 1.7em;
}

/*---Быстрый поиск на сайте---*/
#searchsuggestions {
    z-index: 998;
    border: 1px solid #919191;
    width:280px;
    background-color: #fff;
}

#searchsuggestions a, #searchsuggestions span.notfound {
    padding: 10px;
    display: block;
    text-decoration: none;
}

#searchsuggestions a:hover {
    background-color: #f0f2f4;
    color:#000;
}

#searchsuggestions span.searchheading {
    display: block;
    font-weight: bold;
    color: #006a9b;
}

#searchsuggestions span.seperator {
    display: block;
    background-color: #006a9b;
}

#searchsuggestions span.seperator a {
    padding: 5px 10px;
    text-align: right;
    background-color: transparent;
    color: #fff;
}

#searchsuggestions span.notfound {
    padding: 10px;
    display: block;
}

#searchsuggestions .break {
    display: none;
}

/*---Диалоговые и всплывающие окна jQuery UI---*/

.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }

.ui-helper-clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.ui-helper-clearfix {
    display: inline-block;
}

* html .ui-helper-clearfix {
    height: 1%;
}

.ui-helper-clearfix {
    display: block;
}

.ui-icon {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-widget {
    font-size: 11px;
	font-family: Verdana;
}


.ui-widget-content {
    background: #fff 50% bottom repeat-x;
    border: 1px solid #dedede;
    color: #222;
}

.ui-widget-header {
    background: #cccccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
    color: #000;
    font-weight: bold;
}

.ui-widget-header a {
    color: #fff;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    background: #eaeaea url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
    border: 1px solid #cfcfcf;
    color: #868686;
    font-weight: bold;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #2e6e9e;
    text-decoration: none;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
    background: #eaeaea url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
    border: 1px solid #a7a7a7;
    color: #4e4e4e;
    font-weight: bold;
}

.ui-state-hover a, .ui-state-hover a:hover {
    color: #1d5987;
    text-decoration: none;
}

.ui-state-active, .ui-widget-content .ui-state-active {
    background: #d0e5f5 50% 50% repeat-x;
    border: 1px solid #a7a7a7;
    color: #e17009;
    font-weight: bold;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #e17009;
    text-decoration: none;
}

.ui-state-error {
    background: #fef1ec 50% 50% repeat-x;
    border: 1px solid #dedede;
    color: #cd0a0a;
}

.ui-widget-header .ui-icon {
    background-image: url(../images/ui-icons.png);
}

.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(../images/ui-icons_h.png);
}

.ui-icon-close {
    background-position: -80px -128px;
}

.ui-icon-closethick {
    background-position: -96px -128px;
}

.ui-button .ui-button-text {
    display: block;
    line-height: 1.4em;
}

.ui-button-text-only .ui-button-text {
    padding: .4em .8em;
}

input.ui-button {
    padding: .4em 1em;
}

.ui-button-set {
    margin-right: 7px;
}

.ui-button-set .ui-button {
    margin-left: 0;
    margin-right: -.3em;
}

button.ui-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.ui-dialog {
    overflow: hidden;
    padding: .2em;
    position: absolute;
    width: 300px;
    -moz-box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.7);
}

.ui-dialog .ui-dialog-titlebar {
    padding: .5em 1em .3em;
    position: relative;
}

.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 16px .2em 0;
}

.ui-dialog .ui-dialog-titlebar-close {
    height: 18px;
    margin: -10px 0 0 0;
    padding: 1px;
    position: absolute;
    right: .3em;
    top: 50%;
    width: 19px;
}

.ui-dialog .ui-dialog-titlebar-close span {
    display: block;
    margin: 1px;
}

.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
    padding: 0;
}

.ui-dialog .ui-dialog-content {
    background: none;
    border: 0;
    overflow: hidden;
    padding: .5em 1em;
    position: relative;
    zoom: 1;
}

.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    border-width: 1px 0 0 0;
    margin: .5em 0 0 0;
    padding: .3em 1em .5em .4em;
    text-align: left;
}

.ui-dialog .ui-dialog-buttonpane button {
    cursor: pointer;
    float: right;
    line-height: 1.4em;
    margin: .5em .4em .5em 0;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}

.ui-dialog .ui-resizable-se {
    bottom: 3px;
    height: 14px;
    right: 3px;
    width: 14px;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

/* ==================== Автозаполнение облака тегов */
.ui-autocomplete {
    position: absolute;
    cursor: default;
}

* html .ui-autocomplete {
    width:1px;
}

 /* without this, the menu expands to 100% in IE6 */
.ui-menu {
    list-style:none;
    padding: 2px;
    margin: 0;
    display:block;
    float: left;
}

.ui-menu .ui-menu {
    margin-top: -3px;
}

.ui-menu .ui-menu-item {
    margin:0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}

.ui-menu .ui-menu-item a {
    text-decoration:none;
    display:block;
    padding:.2em .4em;
    line-height:1.5;
    zoom:1;
}

.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}

/*---подсветка текста в теге [code]---*/
pre code {
    display: block;
    padding: 0.5em;
    background: #f9fafa;
    border: 1px solid #dce7e7;
    overflow:auto;
    white-space: pre;
}

pre .comment,pre .template_comment,pre .diff .header,pre .doctype,pre .lisp .string,pre .javadoc {
    color: #93a1a1;
    font-style: italic;
}

pre .keyword,pre .css .rule .keyword,pre .winutils,pre .javascript .title,pre .method,pre .addition,pre .css .tag,pre .lisp .title {
    color: #859900;
}

pre .number,pre .command,pre .string,pre .tag .value,pre .phpdoc,pre .tex .formula,pre .regexp,pre .hexcolor {
    color: #2aa198;
}

pre .title,pre .localvars,pre .function .title,pre .chunk,pre .decorator,pre .builtin,pre .built_in,pre .lisp .title,pre .identifier,pre .title .keymethods,pre .id {
    color: #268bd2;
}

pre .tag .title,pre .rules .property,pre .django .tag .keyword {
    font-weight: bold;
}

pre .attribute,pre .variable,pre .instancevar,pre .lisp .body,pre .smalltalk .number,pre .constant,pre .class .title,pre .parent,pre .haskell .label {
    color: #b58900;
}

pre .preprocessor,pre .pi,pre .shebang,pre .symbol,pre .diff .change,pre .special,pre .keymethods,pre .attr_selector,pre .important,pre .subst,pre .cdata {
    color: #cb4b16;
}

pre .deletion {
    color: #dc322f;
}

pre .tex .formula {
    background: #eee8d5;
}

/*---прогресс бар заполненности персональных сообщений---*/
.pm_progress_bar {
    border: 1px solid #d8d8d8;
    padding: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pm_progress_bar span {
    background: #000000;
    font-size: 0em;
    text-indent: -2000em;
    height: 10px;
    display: block;
    overflow: hidden;
}

/*---Вывод результатов голосования на сайте---*/
.voteprogress {
  overflow: hidden;
  height: 15px;
  margin-bottom: 5px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.voteprogress span {
  color: #ffffff;
  text-align: center;
  text-indent: -2000em;
  height: 15px;
  display: block;
  overflow: hidden;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -ms-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
}

.voteprogress .vote2 {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}

.voteprogress .vote3 {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}

.voteprogress .vote4 {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(top, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}

.voteprogress .vote5 {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}

/*---Вывод результатов опросов в новостях---*/
.pollprogress {
  overflow: hidden;
  height: 18px;
  margin-bottom: 5px;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(top, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.pollprogress span {
  color: #ffffff;
  height: 18px;
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -ms-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);
}

.pollprogress .poll2 {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(top, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
}

.pollprogress .poll3 {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -ms-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(top, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
}

.pollprogress .poll4 {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(top, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
}

.pollprogress .poll5 {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
}

/*---Выделение текста и всплывающее окно (поделиться ссылкой)---*/
#marker-bar,
#txtselect_marker {
	display: block;
	visibility: hidden;
    position: absolute;
    z-index: 1200;
    opacity: 0;
    -webkit-transition: opacity .4s, visibility .1s linear .4s;
    -moz-transition: opacity .4s, visibility .1s linear .4s;
    -o-transition: opacity .4s, visibility .1s linear .4s;
    transition: opacity .4s, visibility .1s linear .4s;
}
#txtselect_marker {
    cursor: pointer;
    background:url(../dleimages/marker.png) -0px -0px no-repeat;
}

#txtselect_marker:hover {
        background-position: -0px -32px;
}

#marker-bar{
    border: 1px solid #ccc;
    border-radius: 15px;
    background: #fff;
    padding: 5px 10px;
    cursor: default;
    box-shadow: 0px 0px 4px #ccc;
}

#marker-bar.show {
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
	visibility: visible;
}

#txtselect_marker.show {
        /* XXX make a common css fadeIn/fadeOut classes */
	visibility: visible;
    width: 32px;
    height: 32px;
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
}

#marker-bar .masha-social,
#marker-bar .masha-marker{
	cursor: pointer;
	display: block;
	margin: 0 5px;
	float: left;
}

#marker-bar .masha-marker{
	line-height: 1em;
	color: #aaa;
	border-bottom: 1px dotted #aaa;
	margin-right: 10px;
}

#marker-bar .masha-marker:hover {
	color: #ea3e26;
	border-color: #ea3e26;
}

.user_selection, .user_selection_true {
	background: #c4f47d;
	padding: 2px 0;
}
.user_selection a.txtsel_close, .user_selection_true a.txtsel_close {
	display:none;
}
.user_selection .closewrap, .user_selection_true .closewrap {
	position: relative;
}
.user_selection.hover a.txtsel_close, .user_selection_true.hover a.txtsel_close {
	display: inline-block;
	position: absolute;
	top: -7px;
	left: -5px;
	width: 33px;
	height: 33px;
	background: url(../dleimages/closemarker.png) -0px -0px no-repeat;
}

.user_selection.hover a.txtsel_close:hover, .user_selection_true.hover a.txtsel_close:hover {
	background-position: -0px -33px;
}


#share-popup {
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	position: absolute;
	width: 414px;
	display:none;
	z-index: 100;
	padding: 10px 0;
	opacity: 0;
	-webkit-transition: opacity .4s, visibility .1s linear .4s;
	-moz-transition: opacity .4s, visibility .1s linear .4s;
	-o-transition: opacity .4s, visibility .1s linear .4s;
	transition: opacity .4s, visibility .1s linear .4s;
}

#share-popup.show {
	display:block;
	opacity: 1;
	-webkit-transition: opacity .4s, visibility 0s;
	-moz-transition: opacity .4s, visibility 0s;
	-o-transition: opacity .4s, visibility 0s;
	transition: opacity .4s, visibility 0s;
	opacity: 1;
}

#share-popup .social {
	padding: 0 0 10px 17px;
	height: 40px;
}

#share-popup .social p {
	padding-bottom: 10px;
	margin: 0;
	font-weight: bold;
}

#share-popup .social ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#share-popup .social ul li {
	float: left;
	margin-right: 20px;
	padding-top: 2px;
	position: relative;
}

#share-popup .social ul a {
	text-decoration: none;
	font-size: 11px;
	display: inline-block;
	color: #aaa;
	padding-left: 25px;
}

#share-popup .social ul a:hover {
	text-decoration: underline;
	color: #ea3e26;
}

#share-popup .social a span{
	cursor: pointer;
	width: 20px;
	height: 20px;
	background: url(../dleimages/social-icons.png) 20px 20px no-repeat;
	position: absolute;
	left: 0;
	top: 0;
}

#share-popup .social .tw span{
	background-position: 0 -20px;
}

#share-popup .social .tw:hover span{
	background-position: 0 0;
}

#share-popup .social .fb span{
	background-position: -20px -20px;
}

#share-popup .social .fb:hover span {
	background-position: -20px 0;
}

#share-popup .social .vk span{
	background-position: -40px -20px;
}

#share-popup .social .vk:hover span {
	background-position: -40px 0;
}

#share-popup .social .gp span{
	background-position: -60px -20px;
}

#share-popup .social .gp:hover span {
	background-position: -60px 0;
}

#share-popup .link {
	clear: both;
	border-top: 1px solid #d9d9d9;
	padding: 10px 5px 0 10px;
	line-height: 1.2;
	overflow: hidden;
	margin: 0 7px;
}

#share-popup .link p {
	font-weight: bold;
	padding: 0 0 3px 0;
	margin: 0;
}

#share-popup .link span {
	color: #999;
	font-size: 10px;
	display: block;
	padding-top: 3px;
}

#share-popup .link a {
	display: block;
}