/* ------------------------------------------------
	Author: Dmitry Slusar (http://3wave.com.ua)
	------------------------------------------------
	3wavedesign@gmail.com 
	------------------------------------------------
	skype: dmitry3w
   ---------------------------------------------- */ 

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
html { height: 100% }
body {
  	font-family: Verdana, Open Sans, "Helvetica Neue", Helvetica, Arial, sans-serif;
  	font-size: 14px;
	line-height: 1.42857143;
  	 background-color: #490002;
    background-image: url(../images/bg_content.png);
    background-repeat: repeat;
	color: #000;
	height: 100%;
	width: 100%;
	line-height: 1;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a { text-decoration: none; color: #000; transition: all 0.2s ease-in-out; }
a:hover, a:focus { text-decoration: none; color: #c92d2d;   }
a:focus { outline: none; } 
table { border-spacing: 0;}
input { background: #fff; }
legend { color: #555555; }
img, fieldset { border: 0; }
form { display: inline; }
img { border: none;} 
.label { width:100px;font-weight: normal; vertical-align: top; }
.checkbox { margin-top:5px; border: 0; }
.wp { overflow: hidden; max-width: 100%; }
.lcol { float: left; } .rcol { float: right !important; }
.clr { clear: both; }
.trans { transition: all 0.2s ease-in-out;} 
.scale { max-width: 100%; }
.social-likes { margin: 0 5px !important;}
.tm ul li a, .title-list a, .custom-news-block a, .newsticker a, .speedbar a, .story-short h2 a, .comedit a, .bbcodes a, .bbcodes, #reg-link li a, .scat a, .hotnews .img { color: #000; transition: all 0.2s ease-in-out; }
p { padding-bottom: 10px; }

.top { width: 100%; background: #a75352; }

.flex {
	width: 100%;
     display: -webkit-flex;
 display: -ms-flexbox;
 display: flex;
 
 -webkit-flex-wrap: wrap;
 -ms-flex-wrap: wrap;
 flex-wrap: wrap;
}

.flex-center {
        display: flex;
    flex-direction: row;
   justify-content: center;
}

#main-wrap {
 	display: flex;
  	flex-direction: column;
  	height: 100%;
}
#content {
  flex: 1 0 auto;
}
#footer  {
  flex: 0 0 auto;
  	background: #410004 !important;
  	margin-top: 50px;
}
.copi {
	color: #fff;
  	line-height: 30px;
  	padding: 10px;
}
#main-content
 {

 }
 .story-short {
	height: 250px;
 }
 
/* header */

.sunfw-sticky {
	background: #410004 !important;
	border-top: solid 1px #7e0109;
	z-index: 999;
}

.sunfw-scrollup {
	background: #7e0109;
	color: #fff !important;
	border-radius: 10px 10px 0px 0px;
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
border: 0px solid #000000;
}
#jsn-themegrid-modal-container-comlw9Di .ppt {
font-family: Verdana;
font-size: 14px;
font-weight: bold;
text-align: left;
color: #FFF;
}
#jsn-themegrid-modal-container-comlw9Di .pp_description 
{
font-family: Arial;
font-size: 14px;
font-weight: normal;
text-align: left;
color: #424242;
}

#top {
	width: 100%;
	background: #410004;
	border-bottom: solid 1px #7e0109
}

/* logo */

#sunfw-wrapper {
    color: #251313;
    margin: 0 auto;
    overflow: hidden;
    -webkit-transition: width 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out;
    -ms-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
}
#sunfw_section_logo {
    background-color: #490002;
    background-image: url(../images/bg-menu.png);
    background-repeat: repeat;
    background-position: left bottom;
}
#sunfw_section_logo {
    padding: 15px 0;
}
#sunfw_section_logo img {  
    margin: auto;
}

a.alf-btn {
	color: #fff;
	text-align: center;
	background: #ca1e00;
	border-radius: 4px;
	margin: 0 10px;	
	padding: 10px 15px 10px 35px;
	text-decoration: none !important;
	position: relative;
}
a.alf-btn:before {
	content: '';
	background: url(../images/blocks.svg);	
	width: 20px;
	height: 20px;
	position: absolute;
	top: 12px;
	left: 7px;	
}
a.alf-btn:first-child:before {	
	background: url(../images/books.svg);			
}

body {
    background-color: custom;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

a {
    color: #251313;
}

a:hover,
a:focus {
    
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: Lustria;
    line-height: 1.4;
    color: #000;
    letter-spacing: 0px;
}

h1,
.h1 {
    font-size: 26px;
}

h2,
.h2 {
    font-size: 21px;
}

h3,
.h3 {
    font-size: 17px;
}

h4,
.h4 {
    font-size: 13px;
}

h5,
.h5 {
    font-size: 10px;
}

h6,
.h6 {
    font-size: 9px;
}


.sluzh-wrap {
    padding-bottom: 25px;
}
.sluzh-title h1 {
    margin-bottom: 15px;
}
.tags-page {
    font-size: 14px;
    padding-bottom: 25px;
}
.static-wrap {
    padding-bottom: 25px;
}
.static-title h1 {
    margin-bottom: 15px;
    font-size: 28px;
}


/* заголовки разделов */

.title-pattern {
	font-size: 2.5em;
	text-transform: uppercase;
	padding: 10px 10px 0;
	margin: 0;
	text-align: center;
}
.title-pattern:before,
.title-pattern:after {
    content: "";
    display: inline-block;
    height: 18px;
    width: 70px;
	background-image: url("../images/pattern.png");
	background-repeat: no-repeat;
	padding: 0 8px;
}
.title-pattern:before {
    background-position: -15px -155px;
}
.title-pattern:after {
    background-position: 15px 0;
}
#my-skill {
	margin: 30px 0 30px 0;
}
#my-skill p {
	text-align: center	
}

#content {

}

#main-content {
	margin: 30px 0	
}
#sidebar {
	margin: 80px 0;
}
#sidebar .banner {
	width: 100%;
	height: 300px;
	background: #bdbdbd;
}

/* Топ-меню */

ul.sunfw-tpl-menu .menudescription {
    display: block;
    font-size: 12px;
    text-transform: initial;
}

ul.sunfw-tpl-menu > li {
    position: relative;
}

ul.sunfw-tpl-menu > li.megamenu {
    position: static;
}

ul.sunfw-tpl-menu > li.right > ul {
    right: 0;
}

.sunfw-direction-rtl ul.sunfw-tpl-menu > li.right > ul {
    left: 0;
    right: auto;
}

ul.sunfw-tpl-menu > li.left > ul {
    left: 0;
}

.sunfw-direction-rtl ul.sunfw-tpl-menu > li.left > ul {
    right: 0;
    left: auto;
}

ul.sunfw-tpl-menu > li.center > ul {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.sunfw-direction-rtl ul.sunfw-tpl-menu > li.center > ul {
    right: 50%;
    left: auto;
}

.sunfw-direction-rtl ul.sunfw-tpl-menu > li.center > ul {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    -o-transform: translateX(50%);
    transform: translateX(50%);
}

ul.sunfw-tpl-menu > li.full-width {
    position: static;
}

ul.sunfw-tpl-menu > li.full-width > ul {
    left: 0;
}

.sunfw-direction-rtl ul.sunfw-tpl-menu > li.full-width > ul {
    right: 0;
    left: auto;
}

ul.sunfw-tpl-menu > li > ul {
    z-index: 1;
}

ul.sunfw-tpl-menu > li:hover ul.dropdown-menu {
    display: block;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu {
    position: absolute;
    width: 100%;
    padding: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-top-width: 3px;
    border-top-style: solid;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer {
    padding: 0;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer h3 {
    font-size: 14px !important;
    text-transform: uppercase;
    color: #fff !important;
    font-weight: bold;
    padding: 12px;
    margin-top: 0;
    margin-bottom: 0;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer .custom p {
    color: #555555;
    margin: 10px 0 0;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer > ul > li {
    padding: 0;
    list-style: none;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer > ul > li a:hover {
    color: #fff;
    opacity: .8;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer > ul > li.active > a {
    color: #efe2c0 !important;
    background-color: inherit;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer > ul > li ul {
    opacity: 0;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer > ul > li:hover ul {
    opacity: 1;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer #login-form {
    padding-top: 15px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer #login-form #form-login-remember,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer #login-form .checkbox {
    margin-bottom: 5px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .modulecontainer #login-form ul.unstyled {
    display: none;
    position: relative;
    opacity: 1;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul {
    display: block;
    position: relative;
    width: 100%;
    right: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul ul,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul ul {
    position: absolute;
    width: 210px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul li,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li {
    line-height: 20px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul li:first-child,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li:first-child {
    margin-top: 3px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul li a,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li a {
    padding: 7px 0;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul > li > a,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul > li > a {
    padding: 13px 12px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul li:hover > ul,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li:hover > ul {
    display: block;
    left: 100%;
    top: 0;
    z-index: 2;
}

.sunfw-direction-rtl ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul li:hover > ul,
.sunfw-direction-rtl ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li:hover > ul {
    right: 100%;
    left: auto;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul li:hover > ul a,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li:hover > ul a {
    width: 100%;
    display: block;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul.nav.menu li ul,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul.nav.menu li ul {
    padding: 0 0px;
    border-radius: 5px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul.nav.menu li ul li,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul.nav.menu li ul li {
    list-style: none;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul.nav.menu li ul li a,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul.nav.menu li ul li a {
    font-size: 12px;
    padding: 13px 30px;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul.nav.menu li:last-child,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul.nav.menu li:last-child {
    border-bottom: none;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul.nav.menu li:last-child > a,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul.nav.menu li:last-child > a {
    border-bottom: none;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item > ul.nav.menu li > a,
ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul.nav.menu li > a {
    position: relative;
    color: #bdbdbd;
    font-weight: bold;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-social ul {
    position: relative;
    left: 0;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu li a:hover {
    background: transparent;
}

ul.sunfw-tpl-menu > li.dropdown-submenu ul {
    margin: 0;
    padding: 0;
    position: absolute;
    left: auto;
    display: none;
    list-style: none;
    z-index: 222;
    text-align: left;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
    -moz-box-shadow: 0 0;
    -webkit-box-shadow: 0 0;
    box-shadow: 0 0;
    border: none;
}
ul.dropdown-menu {
	width: 550px !important;
}

ul.sunfw-tpl-menu > li.dropdown-submenu ul:before {
    bottom: 100%;
    content: " ";
    position: absolute;
    pointer-events: none;
}

ul.sunfw-tpl-menu > li.megamenu ul.sunfw-megamenu-sub-menu .sunfw-item .module-style > div > ul li > ul {
    left: 100%;
}

/* story-short */

.story-short .image-rounded {
    width: 150px;
    height: 150px;	
    overflow: hidden !important;
    	border-radius: 50%;
		 	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	transition: 0.3s;
	margin: 0 auto
}
.image-rounded {
 -moz-transition: all 1s ease-out;
 -o-transition: all 1s ease-out;
 -webkit-transition: all 1s ease-out;
 }

.image-rounded:hover {
 -webkit-transform: scale(1.1);
 -moz-transform: scale(1.1);
 -o-transform: scale(1.1);
 }


.story-short .title h3 {
	text-align: center;
	margin: 10px 0;
	color: #a62626;	
}

/* полная новость */

.story-full a:active { color: #000; }
.story-full h1 { 
	font-size: 32px; 
	color: #000; 
	line-height: 1.2em;
	padding: 10px 0;
	font-weight: normal;
}
.full-str i {
font-style: italic !important;
}
.nav-story { 
	padding: 0 0 15px 0; 
}
.nav-story li { 
	line-height: 1.6em; 
	color: #000; 
	font-size: 14px; 
	float: left;
	padding: 0 10px 0 0; 
}
.reset, .reset li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-story li.comnum {
	background: url(../images/icons.png) no-repeat 0 -143px;
	padding: 0 0 0 17px;
	font-size: 14px;
	color: #9f9f9f;
	padding-right: 10px;
}
.nav-story .lcat a { 
	text-decoration: underline; 
}
.nav-story li a:hover { text-decoration: none; }
.nav-story li a:active { color: #000; }

.edit a {
	text-decoration: underline;
	background: url(../images/icons.png) no-repeat -20px -255px;	
	margin: 0 0 15px 0;	
	padding-left: 23px;	
	font-size: 13px;
	display: inline-block;
}
.short-str { margin: 20px 0; }		

.ratebox-wrap {
	display: inline-block;
}
.ratebox {
	margin-bottom: -4px;
	float: left;
}
.full-str, .static-ct { 
	font-size: 16px; 
	line-height: 1.5em; 
	padding: 10px 0; 
	color: #000;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.full-str b { font-weight: bold !important; }
.full-str a { text-decoration: underline; }
.full-str a:active { color: #000; }
.full-str img {
/*	border: solid 1px #bdbdbd;*/
	max-width: 100%;
}
.full-str ul { padding-left: 15px; }
.full-str ul li { list-style-type: circle; }

/* похожие публикации */

.simnews { 
	padding: 10px 0; 
	width: 100%; 
	overflow: hidden;
}
.simnews i { 
	color: #000;
	font-size: 22px; 
	display: block;
	line-height: 1.4em;
	font-family: "Open Sans";
	font-style: normal;
	padding: 0 10px 10px 10px;
	border-bottom: solid 2px #c01418;
}
.simnews-ct { 
	background: #ecddb5;
	border-left: 1px solid #e1bf65; 
	border-right: 1px solid #e1bf65; 
}
.simnews-ct .world_ct {
	padding: 10px;
	border-bottom: 1px dashed #e1bf65;	
}
.simnews-ct a {
	font-family: Lustria;
	font-size: 1rem;
}

.simnews .story-short {
	height: auto;
}
/* блок комментариев */

.comments_area {
	padding: 15px;	
}
.comments_area h3 {
	font-weight: normal;
	display: block;
	text-align: left;
	padding: 0 15px 15px 15px;
	font-size: 15px;
	font-family: "Scada";
}
.comments_area h3:hover {
	text-decoration: underline;
}
.coment { 
	padding-bottom: 15px; 
	position: relative;
} 
.ava-com { 
	margin: 0 10px 0 0; 
	width: 60px; 
	height: 60px;
	border: solid 1px #dcdcdc;  	
	border-radius: 30px;
	position: absolute;
	top: 0;
	left: 0;
}
.coment-area {
	border: 1px solid #e1bf65;	
	background: #ecddb5;
	width: 85%;
	padding: 0 10px;
	float: left;
	margin-left: 80px;
	border-radius: 4px;
}
.coment-area ul.author {
 	padding: 10px 0 0 0;
}
.coment-area ul.author li  {
	float: left;	
}
.coment-area ul.author li a {
	font-weight: bold;
	font-size: 14px;
}
.coment-area ul.author li a:hover {
	color: #7d7d7d;
}
.coment-area ul.author li.date {
	font-size: 13px;
	float: right;
}
.status { 
	float: left; 
	color: #949494; 
	margin: 0 30px 0 10px; 
	font-size: 13px; 
}
.status img { 
	width:10px; 
	height: 10px; 
	border: none; 
	margin-bottom: 3px; 
}
.mass {
	float: right !important; 
	margin: 0 0 0 10px; 
}
.com-ct { 
	float: left; 
	font-size: 14px;
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 10px 0;
	line-height: 1.3em;
}
.com-nav { 
	margin: 12px 0 10px 0; 
	float: right; 
}
.com-nav a { 
	float: right; 
	cursor: pointer; 	
}
.com-nav span { 
	float: left; 
	font-size: 14px; 
	color: #a62626; 
	padding: 0 5px 0 0; 
}
.com-nav span:hover { 
	text-decoration: underline;
	color: #631818;  
}

/* выпадающее меню редактирования */

#dropmenudiv {
	border: 1px solid #e1e1e1;
	border-bottom-width: 0;
	font: normal 10px Verdana;
	background: #fdfdfd;
	line-height: 20px;
	margin: 2px;
}
#dropmenudiv a {
	display: block;
	text-indent: 3px;
	text-decoration:none;
	color: #ffffff;
	background: #020202;
	border: 1px solid #ffffff;
	padding: 1px 0;
	margin: 1px;
	font-weight: bold;
}
#dropmenudiv a:hover {
	color: #ffffff !important;
	background: #820d11;
}

/* Перекресток */

.doc-title {
	text-align: left;
	font-size: 1.6rem;
	font-family: "Open Sans";
}
.news-crossroads .title {
	text-align: center;
	display: block;
	font-style: normal;
}
.news-crossroads .img {
	margin: 0 auto;
	width: auto;		
}

.news-crossroads {
	padding: 50px 0;
}

/* формы, спойлер, цитата */

form {  
	padding-top: 0px;
	padding-bottom: 0px;	
	padding-right: 0px; 
	padding-left: 0px; 
	margin: 0px;
}

#loading-layer {
	display:none;
	font-family: Verdana;
	font-size: 11px;
	background: #000;
	padding: 10px;
	text-align: center;
	border: 1px solid #000;
	color: #fff;
}
.title_quote {
	color: #fff;
	background-color: #acacac;
	border: 1px solid #bababa;
	border-bottom: 0;
	line-height: 1.9em;
	padding-left: 5px;
}
.quote {
	font-style: italic;
	font-size: 16px;
	font-family: Georgia;
	padding: 10px 10px 10px 45px;
	background: #ecddb5 url(../images/quote.png) no-repeat 10px 10px;
	border: 2px solid #e1bf65; 
}
.text_spoiler {
	background: #ecddb5;
	border: 2px solid #e1bf65; 
	padding: 10px;
	font-family: Lustria;
}
.title_spoiler {
   padding: 5px;
   background: #ecddb5
   border: 1px solid #e1bf65; 
	font-weight: bold;
}
.title_spoiler img {
	margin: 0 5px;
}

.scriptcode {
	border: 1px solid #979797;
	text-align: left;
	padding: 5px;
}

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

/* forms */

#addcoment-dialog form {
    margin: 0
}
.tableform {
    width: 100%;
}
.tableform td,
.tableform th {
    border-top: 1px dotted #ebebeb;
    padding: 10px 0;
    text-align: left;
}
.tableform tr:first-child td,
.tableform tr:first-child th {
    border: 0 none;
}
.tableform th,
.tableform .label,
.tableform .addnews {
    width: 25%;
    font-weight: normal;
    vertical-align: top;
    padding-right: 10px;
    padding-top: 8px;
}
.imp::after {
    color: #e46950;
    content: "*";
    font-weight: bold;
}
.recipient select {
    width: 298px;
}
.checkbox {
    color: #787878;
    padding: 4px 0;
    line-height: 1em;
}
.checkbox input {
    margin-top: -2px;
    vertical-align: middle;
}
textarea {
    resize: vertical;
}
.f_textarea,
textarea.ui-corner-all {
    width: 96.7%;
}
.fieldtr select,
.f_textarea,
.f_input,
.xfields textarea,
.xprofile textarea,
.tdfield select,
.lfield input,
.editor input[type="text"],
#category,
textarea.ui-corner-all,
.pm select,
.xfields input,
.xprofile input,
.xfields select,
.xprofile select,
.mass_comments_action select,
.bbeditor select,
.textin,
select.rating {
    padding: 4px;
    background: #f7f7f7;
    border: 1px solid #ccc;
}
.form-wrap {
	padding: 10px;
    padding-bottom: 25px;
}
.form-title {
    text-align: left;
    padding: 0 15px 30px 0;
}
.form-title h1 {
    display: inline-block;
    font-size: 24px;
    padding: 10px 0 0 10px;
}
.form-wrap > div {
    border-top: 1px dashed #CCC;
}
.form-wrap > div:nth-child(2n) {
    background-color: #f6f6f6;
}
.sep-input {
    padding: 10px 10px 10px 170px;
}
.sep-input .label {
	color: #000 !important
}

.label {
    float: left;
    width: 150px;
    margin-left: -160px;
}
.input {
    float: right;
    width: 100%;
    position: relative;
}
.label label {
    display: block;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    font-size: 14px;
}
.impot {
    color: #E90206;
    margin-right: 5px;
}
.input input,
.xfields input {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 38px;
    line-height: 38px;
    padding: 0 15px;
    color: #000000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.input input:focus {
    background-color: #ffffff;
    border-color: #04a2dc;
    box-shadow: 0 0 10px 0 rgba(4, 162, 220, 0.5);
}
.input select {
    width: 100%;
    max-width: 400px;
    margin: 10px 0 0 0;
    border: 1px solid #ccc;
}
.sep-textarea,
.sep-vote-rel,
.sep-xfield,
.sep-checks {
    padding: 10px;
}
.sep-textarea {
	width: 100%;
	overflow: auto;
}

.textarea-title {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    background-color: #1D3242;
    color: #FFF;
    font-size: 16px;
}
.sep-textarea textarea,
.vote-textarea,
#category {
    width: 100% !important;
}
.radio {
    height: 25px;
    line-height: 25px;
}
.radio input {
    float: left;
    display: inline-block;
    margin-right: 0px;
    width: 25px;
    height: 25px;
    line-height: 25px;
}
.sep-title {
    padding: 0 20px;
    font-size: 16px;
    background-color: #1D3242;
    color: #FFF;
    height: 40px;
    line-height: 40px;
}
.add-findrel,
.add-votebut {
    display: block !important;
    width: 50%;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 10px !important;
    text-align: center;
    border-radius: 0 !important;
    float: left;
    background-color: #fec007;
    color: #fff !important;
    font-size: 16px !important;
}
.findrelated {
    background: #ffc;
    border: 1px solid #9E9E9E;
    padding: 5px;
    margin: 10px 0;
}
.sep-xfield .addnews {
    vertical-align: middle;
}
.sep-xfield input {
    display: inline-block;
    width: 300px !important;
    height: 38px !important;
    padding: 0 15px !important;
}
.sep-checks input#allow_main {
    margin-left: 50px;
}
.sep-checks label,
#allow_subscribe + label {
    display: inline-block;
    line-height: 30px;
    margin-left: 10px;
    position: relative;
    top: 1px;
}
.sep-submit {
    padding: 30px 10px;
}
.secur .label label {
    background-color: #CF0003;
    position: relative;
    color: #fff;
    text-align: center;
    font-size: 14px;
}
.sec-label {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
}
.secur .input input {
    margin-bottom: 20px;
}
.sec-capcha input {
    float: left;
    max-width: 150px;
    margin-right: 10px;
}
#dle-captcha {
    display: inline-block;
}
.register-check {
    position: absolute;
    right: 0;
    top: 0;
    width: 120px !important;
    font-size: 11px !important;
    padding: 0 !important;
    text-align: center;
    border-radius: 0 5px 5px 0 !important;
    height: 38px !important;
    line-height: 38px !important;
	background: #f98700 !important;
	color: #fff !important;
}
.full-text.sep-textarea {
    margin: 0;
    padding: 10px !important;
}

/* Поиск */

#mask, #mask2 {
  	display: none;
   background: #000;
   position: fixed;
   left: 0;
   top: 0;
   z-index: 201;
   width: 100%;
   height: 100%;
   opacity: 0.92;
}

.free_space {
	position: fixed;
	top: 20%;
	left: 50%;
	display: none;
	z-index: 21000 !important;
	width: 260px;
	margin-left: -130px;
}
.free_space .search_title {
	font-size: 22px;
	color: #fff;	
	font-style: normal;
	margin-bottom: 60px;
	font-weight: bold;
	position: relative;
	width: 260px;
}
.searchBar {
	border-radius: 4px;
	position: relative;
	max-width: 100%;
}
.searchBar input {
	padding: 0;
}
.free_space i.close {
	background: url(../images/close.png) no-repeat;
	height: 40px;
	width: 40px;
	display: block;
	position: absolute;
	top: -10px;
	right: 0;
}
.free_space i.close:hover {
	cursor: pointer;	
	background-position: 0 -46px;
}
.s-field { 
	color: #fff;
	font-size: 15px; 
	line-height: 40px; 		
	height: 40px;
	border: solid 1px #fff;	
	border-radius: 3px;
	position: absolute;
	width: 260px;	
	left: 0;
	background: #000;
	transition: all 0.2s ease-in-out;
	text-indent: 10px;
}
.s-field:focus {
	background: #fff;
	border: solid 1px #fff;
	color: #000;
}
.searchBtn { 
	width: 24px; 
	height: 24px; 
	position: absolute; 
	top: 8px; 
	left: 0; 
	background: url(../images/search.png) no-repeat 0 0;	
	display: none;
}
.soc_nav {
	float:right;
	position: relative;
	padding: 3px 18px 0 18px;
	z-index: 101;
}
.s_place {
	position: absolute;
	right: 15px;
	top: 0;
}
.search-icon {
	display: block;
	margin-top: 8px;
	cursor:pointer;
	font-size: 18px;
}

.searchresult-window {
	padding: 15px;
	background: #dbd0b5;
	margin: 15px;
}	
.searchresult-window h2 a:hover {
	color: #c92d2d		
}
.searchresult-window h2, .searchresult-window h2 a {
	font-size: 22px !important;
}

/* -- Кнопка Наверх --- */


.sunfw-scrollup {
    background-color: #000;
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: #999;
    z-index: 10000;
    padding: 8px 12px;
    -webkit-transition: color 0.3s linear, background 0.3s ease-out;
    -moz-transition: color 0.3s linear, background 0.3s ease-out;
    -ms-transition: color 0.3s linear, background 0.3s ease-out;
    -o-transition: color 0.3s linear, background 0.3s ease-out;
    transition: color 0.3s linear, background 0.3s ease-out;
}

.sunfw-scrollup:hover {
    text-decoration: none;
}

.sunfw-scrollup.position-center {
    left: 48%;
    bottom: 0;
    right: auto;
}

.sunfw-scrollup.position-left {
    left: 30px;
    right: auto;
}


/* сервисные сообщения */
	
#service-message { margin: 15px 0; }
#service-message i { padding: 10px; text-align: center; font-size: 13px; font-style: normal; display: block; }
#service-message i a { text-decoration: underline; }

.inerpage {
	width: 90%;
	margin: 15px;
}
.ip-title { 
	font-size: 22px; 
	color: #000; 
	line-height: 43px;
	margin: 0 0 15px 0;
	padding: 0 0 0 15px;
	font-family: Open Sans;
}
.sts { font-size: 13px; padding: 10px 0 2px 0; }
.st { padding: 5px 5px 5px 0; font-size: 14px; color: gray;	}
.grey { color: #a8a8a8; } 

.ava-nav {
	width: 110px;
}
.ava-nav li { 
	line-height: 1.7em; 
	font-size: 12px;
}
.ava-nav li a:hover {
	border-bottom: dashed 1px #9f9f9f;
}
.userinfo { 
	padding: 10px 15px; 
	font-family: "Scada";
}
.userinfo .lcol ul li a {
	padding-left: 3px;
}
.userinfo .lcol ul { 
	list-style: none; 
	margin: 0 30px 10px 0;
}
.userinfo .lcol ul li {
	line-height: 1.6em;
}
.userinfo .use {
	margin-top: 15px;	
} 
.editusr a:hover {
	border-bottom: dashed 1px #9f9f9f;	
}
.userinfo .lcol .avatar { margin-bottom: 10px; border: solid 1px #d6d6d6; padding: 2px; width: 100px;}

.rss-icon { 
	background: url(../images/icons.png) no-repeat 0 -118px;  
	height: 13px;	
	padding: 0 0 0 17px;
	vertical-align: middle;
} 

.brdform { padding: 3px; border: 1px solid #dce0e2; margin: 5px; }
.baseform { padding: 1px; background-color: #f7f7f7; }

.tableform { width: 100%; }
.tableform td.label { 
	vertical-align: top; padding-right: 0; color: #2c333e; font-size: 1rem}
.fieldsubmit, .tableform td { padding: 10px 13px; }	

/* персональные сообщения */

#message-nav .bbcodes { float: left; margin: 5px 5px 5px 0; height: 30px; line-height: 25px; }

.pm {
	float: left;
	margin: 15px 0;	
	width: 100%;
	overflow: hidden;
}
.pm .ip-title {
	margin: 0;
	padding: 0;
	border-bottom: dashed 1px #d6d6d6;  
}

.pm_status { 
	border: 1px solid #d8d8d8; 
	padding: 0px; 
	background-color: #fff; 
	width: 520px;
	height: 120px; 
	margin: 25px 10px 0 0; 
}
.pm_status_head {
	border-bottom: 1px solid #d8d8d8;
	font-size: 13px; 
	background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
	height: 25px;
	padding: 0;
	font-weight: bold;
	text-align: center;
	color: #4e4e4e;
	line-height: 23px;
}
.pm_status_content { padding: 8px; }
.pm_send-title { 
	font-size: 15px; 
	color: #4e4e4e; 
	font-weight: bold; 
	padding: 25px 0;
	border-bottom: 1px solid #dcdcdc; 
	line-height: 43px;
}
.pm td {padding-bottom: 5px;}
.basecont { margin: 25px 0; }
.basecont {margin-bottom: 5px;}
.combox {margin: 10px 0;}
.combox p { border-radius: 3px; padding: 15px; 	border: solid 1px #e1e1e1;	background: #fff;}
.pm-sender { padding-bottom: 10px; border-bottom: dashed 1px #c9c9c9;	}
.pm-sender a { border: 0; }

.comedit {float: left;}
.comedit a {color: #5c5c5c; padding: 3px 4px; margin-right: 4px;}
.comedit a:hover { text-decoration: none;}

#sec-code { margin: 15px 0; }

/* опрос */

.poll-block { 
	margin: 15px 25px 35px 25px; 
}
.poll-block .ip-title {
	padding: 0;
	border-bottom: 1px dashed #dcdcdc; 
	font-size: 22px;
	line-height:1.3em;
	padding-bottom: 8px;
}
.poll-question { 
	color: #000; 
	font-size: 18px; 	
	padding-bottom: 10px;
}
.poll-list input { margin: 5px; }

.addcom_not_logged { margin: 10px 0; }
.addcom_not_logged input { margin-bottom: 10px; }

.addcom_editor { 
	margin: 15px 0; 
}
.addnews-category { 
	float: left; 
	margin: 0 0 20px 0; 
}
.addnews-vote { 
	margin-bottom: 8px; 
}
.addnews-vote .f_textarea {
	margin-bottom: 5px;	
} 
.addnews-vote .addvote { 
	margin: 15px 0;
	padding: 10px 0; 
}
.addnews-vote .f_input {
	margin-bottom: 5px;	
}
.lnkvote {
	font-weight:bold;
	margin: 15px 0 10px 0;
	display:block;
	width:120px;
	text-decoration: underline;
}
.lnkvote:hover {
	color: #757575;
}
#admintags { 
	margin: 10px 0 5px 0; 
	line-height: 20px;
	font-size: 13px;
}
.f_input { 
	width: 200px; 
	height: 25px; 
	border: 1px solid #cecece; 
	line-height: 24px; 
	background: #fff url(../images/fields.gif) top left repeat-x; 
	padding-left: 5px; 
}
.f_input:focus { border: 1px solid #b1b1b1; }

.f_textarea { border: 1px solid #cecece; width: 460px; max-width: 460px; }
.f_textarea:focus {  border: 1px solid #b1b1b1; }

.field-add { width:180px; height:25px; border: 1px solid #cecece;	line-height: 24px; background: url(../images/fields.gif) top left repeat-x; }
.field-add:focus { border: 1px solid #b1b1b1; }	

/*-- навигация --*/

#navi {
 	padding: 35px 0 25px 0;
	font-weight: bold;
  	text-align: center;
	font-weight: normal;
	font-family: "Open Sans"
}
#navi em  {
	font-style: normal;
}
#navi span {
	color: #8f701d;
}
#navi a:hover {
	color: #a72727;
	font-weight: bold;
}
#navi em a {
	color: #c92d2d;
	font-size: 15px;
	font-weight: normal;
}
#navi em {
	color: #000;
	font-weight: normal;
}
#navi em a:hover {
	text-decoration: none;
}
#navi span, #navi span a {
	padding: 0 7px;
	font-size: 15px;
	font-weight: bold;
}
#navi span a {
	color: #c92d2d;
}
#navi span a:hover {
	text-decoration: underline;
}
#navi em {
	color: #000;
	font-size: 12px;
	background: #f3ead3;
	padding: 1px 10px;	
	line-height: 31px;	
	border: 1px solid #e5cd8f;
	font-size: 1rem;
	display: inline-block;
	margin: 2px;
}
#navi em > a {
	font-weight: bold;
}

/* PM */

.pm_menu {
    margin-top: 30px;
	float: left;
}
.pm_menu li {
	float: left;
	margin-bottom: 30px;
}
.pm_menu a {
    padding: 0 15px;
    background: #f5f5f5;
    border: solid 1px #dedede;
    color: #444;
    margin-right: 10px;
    height: 40px;
    line-height: 40px;
    display: block;
}
.pm_menu a:hover {
    background: #f06716;
    color: #fff
}
.pm_status {
    margin-bottom: 47px;
}
.pm_status_head {
    border-bottom: 1px solid #E3E3E3;
    font-size: 0.9em;
    height: 22px;
    padding: 0;
    font-weight: bold;
    text-align: center;
    color: #4e4e4e
}
.pm_progress_bar {
    border-radius: 4px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    padding: 4px;
    margin-top: 10px;
    margin-bottom: 10px
}
.pm_progress_bar span {
    border-radius: 2px;
    background: #fb643c;
    font-size: 0;
    text-indent: -2000em;
    height: 10px;
    display: block;
    overflow: hidden
}
.pm-lists {
	padding: 10px;
}
.pm-lists {} .pm,
.userstop {
    border: 1px solid #ccc;
overflow: visible
}
.pm tr td,
.userstop tr td {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 12px;
}
.pm tr:nth-child(1) {
    background-color: #00152e; !important;
    color: #FFF;
    font-size: 18px !important;
}
.pm tr:nth-child(2n+2),
.userstop tr:nth-child(2n+2) {
    background-color: #f9f9f9;
}
.pm select {
    width: 100%;
    margin-bottom: 10px;
}

.pm_status { 
	border: 1px solid #d8d8d8; 
	padding: 10px; 
	background-color: #fff; 
	max-width: 100%;
	height: auto; 
	margin: 25px 10px 30px 0; 
}
.pm_status_head {
	border-bottom: 1px solid #d8d8d8;
	font-size: 13px; 
	background: #fff;
	height: 25px;
	padding: 0;
	font-weight: bold;
	text-align: center;
	color: #4e4e4e;
	line-height: 23px;
}
.pm_status_content { padding: 8px; }
.pm_send-title { 
	font-size: 15px; 
	color: #4e4e4e; 
	font-weight: bold; 
	padding: 25px 0;
	border-bottom: 1px solid #dcdcdc; 
	line-height: 43px;
}

.pm td {padding-bottom: 5px;}


/* Userinfo */

.user-wrap {
    border: 1px solid #ccc;
}
.user-main {
    padding: 30px 30px 30px 170px;
    position: relative;
	background: #410004
}
.u-avatar {
    width: 100px;
    float: left;
    margin-left: -135px;
    padding: 10px 0;
}
.u-name {
    width: 100%;
    float: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-avatar {
    height: 100px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
    background: #fff
}
.user-avatar img {
    width: 100%;
    height: 100%;
}
.u-name h1 {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}
.u-name div {
    line-height: 30px;
    color: #fff;
    font-size: 14px;
}
.offline,
.online {
    text-align: center;
    width: 70px;
    padding: 3px 5px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    background-color: #626262;
    border-radius: 6px;
}
.online {
    background: #99ce1b
}
.user-info div {
    width: 25%;
    height: 95px;
    float: left;
    border-right: 1px solid #ccc;
    text-align: center;
}
.user-info span {
    display: block;
    font-size: 14px;
    padding: 15px 0 5px 0;
}
.user-info b {
    font-size: 18px;
}
.user-connect div {
    display: block;
    float: left;
    width: 50%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #303038;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-right: 1px solid #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}
.user-connect a {
    display: block;
    color: #fff;
}
div.u-info {
    background-color: #f6f6f6;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    border-right: 1px solid #ccc;
}
.user-edit a {
    display: block;
    padding: 10px 20px;
    text-align: center;
    background-color: #deb74d;
    color: #000;
    font-weight: bold;
    margin: 20px 0;
    font-size: 16px;
}
.user-info div:last-child,
.user-connect div:last-child {
    border-right: 0;
}

/* Userinfo popup */

.userinfo {
    padding-left: 110px
}
.userinfo .left {
    margin-left: -110px;
    width: 80px
}
.userinfo .left .avatar {
    margin: 0 0 5px 5px;
    float: none !important;
}
.userinfo .right {
    margin: 0;
    width: 100%
}
.usinf li,
.userinfo ul.right li {
    padding: 5px 0;
    border-top: 1px dotted #D9D9D9
}
.usinf li:first-child,
.userinfo ul.rcol li:first-child {
    border: 0 none
}
.uibtn {
    font-size: 11px
}
.ussep {
    padding-top: 1.2em
}
.left {
    float: left;
}
.right {
    float: right;
}

.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 {
font-family: Tahoma, Lucida Sans, Arial, sans-serif;
font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
font-family: tahoma, Arial, sans-serif;
font-size: 11px;
}
.ui-widget-content {
	background: #fff;
	color: #222222;
	border-radius: 0 0 3px 3px;
}
.ui-widget-content a {
color: #9f9a86;
}
.ui-widget-header {
	background: #971114;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
	line-height: 1px;	
}
.ui-widget-header a {
color: #fff;
font-size: 15px;
font-weight: normal;
padding-left: 10px;
}
.ui-state-default, .ui-widget-content .ui-state-default {
	border: 1px solid #dfe0e0;
	color: #999a9a;
	font-weight: bold;
	background: #ffffff;
/*	background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); 
	background: -ms-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); 
	background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );*/
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
color: #ffffff;
text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	color: #000;
	font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
color: #878787;
text-decoration: none;
}
.ui-widget:active {
outline: none;
}
.ui-state-error {
background: #fef1ec 50% 50% repeat-x;
border: 1px solid #cd0a0a;
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.4;
}
.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;
position: absolute;
box-shadow: 0px 3px 14px 0px rgba(50, 50, 50, 0.5);
}
.ui-dialog .ui-dialog-titlebar {
padding: .5em 1em .3em;
position: relative;
height: 30px;
}
.ui-dialog .ui-dialog-title {
float: left;
margin: .4em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
height: 18px;
margin: -8px 0 0 0;
padding: 1px;
position: absolute;
right: .3em;
top: 50%;
width: 19px;
line-height: 18px;
}
.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;
}

/*---прогресс бар заполненности персональных сообщений---*/
.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;
}

/*---Поля быстрого редактирования публикаций на сайте---*/
.quick-edit-text { padding: .4em; width: 350px; }
	.quick-edit-textarea {
		height: 250px; padding: 2px;
		border: 1px solid #d7d7d7;
		width: 100%;
		box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
		-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
		transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	}

