/* 
	Template Name: Finmarket
	Author: http://sanderart.com/
*/

form {  
	padding-top: 0px;
	padding-bottom: 0px;	
	padding-right: 0px; 
	padding-left: 0px; 
	margin: 0px;
}

/*---Цитата---*/
blockquote {
	color: #000;
	text-align:justify;
	background:#f5f5f5;
	padding:10px;
	list-style:none;
	margin:0 0 5px 0;
	border-left:10px solid #D11250;
	text-shadow:0 1px 1px #fff;
	font-style:italic;
}
blockquote a {
	color:#D11250;
	font-size:12px;
}
blockquote ul {
	list-style:none;
}

/*---Сполер---*/
.spoiler {
	margin: 5px 0 5px 0;
}
.spoiler .sp-head {
	color: #303030;
	background:#fafafa; 
	font-weight: bold;
	padding: 5px;
	clear:both;
	font-size:11px;
	border-bottom:1px solid #eee;
}
.spoiler .sp-head b {
	background: url(../images/spoiler-plus.gif) no-repeat;
	float: left;
	width: 16px;
	height: 16px;
	margin: 0px 4px 0 2px;
}
.spoiler .sp-head b.expanded {
	background: url(../images/spoiler-minus.gif) no-repeat;
	width: 16px;
	height: 16px;
}
.spoiler .sp-body {
	color: #505050;
	font-size:12px;
	text-align:justify;
	background:#f1f1f1;
	padding: 5px;
	display: none;
}

/*---Календарь---*/
.calendar {
	font-family: Arial;
	font-size: 13px;
	width: 300px;
	line-height: 20px;
	border-collapse: collapse;
	color: #ccc;
	background: #000;
}
.calendar td {
	font-family: Arial;
	font-size: 12px;
	text-decoration: none;
	text-align: center;
	line-height: 30px;
}
.calendar .monthlink {
	color: #fff !important;
	font-family: tahoma;
	font-size: 14px;
	text-decoration: none;
	padding: 0 5px;
}
.calendar .monthlink a {
	color: #fff;
}
.calendar .monthselect {
	width: 221px;
	font-size: 24px;
	color: #fff;
	line-height: 30px;
}
.calendar .monthselect a {
	font-size: 24px;
	color: #fff;
}
.calendar th.weekend, .calendar th.weekday {
	background: #D11250 !important;
	color: #fff;
}
.calendar .weekend a, .calendar .weekday a {
	color: #FF0000;
	font-family: tahoma;
	font-size: 11px;
}
.calendar .weekend a:hover, .calendar .weekday a:hover {
	color: #D11250;
	text-decoration: underline;
}
.calendar .weekend {
	color: #fff;
	font-family: verdana;
	font-size: 12px;
	font-weight: bold;
}
.calendar .todaywd, .calendar .todaywe {
	background: #D11250 !important;
	font-weight: bold;
	color: #fff !important;
}
.calendar .todaywd a, .calendar .todaywe a {
	color: #000000;
	font-family: tahoma;
	font-size: 11px;
}

/*---BB коды---*/
.bbcodes {
	background: #eee url(../images/w40.png) repeat-x;
	color: #505050;
	font-family: Arial, Tahoma, helvetica, sans-serif;
	padding: 1px 5px;
	text-decoration: none !important;
	font-size: 12px !important;
	line-height: 20px;
	display: inline-block;
	text-shadow: 0 1px 1px #fff;
	border: 1px solid #ccc;
}
.bbcodes:hover {
	background: #eee;
	cursor: pointer;
	color: #000;
	border: 1px solid #aaa;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

/*---Персональные сообщения---*/
table.pm td {
	border-top: 1px solid #eee;
	height: 25px;
	padding: 5px 0 0 0;
}
.pm_head {
	font: 12px Arial;
	color: #303030;
	text-decoration: none;
	font-weight: bold;
}
.pm_list {
	color: #909090;
	font-size: 12px;
	font-family: tahoma;
}
.pm_list a {
	color: #D11250;
	font-size: 12px;
	font-family: tahoma;
	font-weight: bold;
	text-decoration: none;
}

/*---Облако тегов---*/
.clouds_xsmall {
	font-size: x-small;
}
.clouds_small {
	font-size: small;
}
.clouds_medium {
	font-size: medium;
}
.clouds_large {
	font-size: large;
}
.clouds_xlarge {
	font-size: x-large;
}

/*---Информационное оконо загрузки AJAX---*/
#loading-layer {
	display: none;
	font-family: Verdana;
	font-size: 11px;
	background: #202020;
	padding: 10px;
	text-align: center;
	border: 1px solid #e3e3e3;
	color: #FFF;
	border-radius: 5px;
	box-shadow: 0 1px 3px #000;
}

/*---Диалоговые и всплывающие окна jQuery UI---*/
.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:#303030 !important;
}
.ui-widget-content a {
color: #D11250;
font-size:11px;
}
.ui-widget-header {
background: #303030 url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
color: #fff;
font-weight: bold;
border-radius:2px;
-webkit-border-radius:2px;
-moz-border-radius:2px;
}
.ui-widget-header a {
color: #D11250;
}
.ui-state-default, .ui-widget-content .ui-state-default {
background: #f1f1f1 url(../images/w40.png) 50% 50% repeat-x;
border: 1px solid #ccc;
color: #D11250;
font-weight: bold;

}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
color: #fff;
text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
background: #fff;
color: #303030;
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: #f5f8f9 50% 50% repeat-x;
border: 1px solid #79b7e7;
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-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;
padding: .2em;
position: absolute;
box-shadow: 0px 0px 20px rgba(0,0,0,0.7);
border-radius:2px;
}
.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;
border-radius:3px;	
}
.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 {

}
.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;
border-radius:3px;
}
.ui-dialog .ui-resizable-se {
bottom: 3px;
height: 14px;
right: 3px;
width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
cursor: move;
}

/*---BB Редактор---*/
.bb-pane {
	height: 1%;
	overflow: hidden;
	border: 1px solid #BBB;
	background-image: url("../images/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-sep {
	width: 5px;
	background-image: url("../images/bbcodes/brkspace.gif");
}
.bb-btn {
	cursor: pointer;
	width: 23px;
}
#b_b {
	background-image: url("../images/bbcodes/b.gif");
}
#b_i {
	background-image: url("../images/bbcodes/i.gif");
}
#b_u {
	background-image: url("../images/bbcodes/u.gif");
}
#b_s {
	background-image: url("../images/bbcodes/s.gif");
}
#b_img {
	background-image: url("../images/bbcodes/image.gif");
}
#b_emo {
	background-image: url("../images/bbcodes/emo.gif");
}
#b_url {
	background-image: url("../images/bbcodes/link.gif");
}
#b_mail {
	background-image: url("../images/bbcodes/email.gif");
}
#b_hide {
	background-image: url("../images/bbcodes/hide.gif");
}
#b_quote {
	background-image: url("../images/bbcodes/quote.gif");
}
#b_left {
	background-image: url("../images/bbcodes/l.gif");
}
#b_center {
	background-image: url("../images/bbcodes/c.gif");
}
#b_right {
	background-image: url("../images/bbcodes/r.gif");
}
#b_color {
	background-image: url("../images/bbcodes/color.gif");
}
#b_spoiler {
	background-image: url("../images/bbcodes/spoiler.gif");
}
#b_br {
	background-image: url("../images/bbcodes/pbreak.gif");
}
#b_pl {
	background-image: url("../images/bbcodes/page.gif");
}
.bb-editor textarea {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 2px;
	width: 100%;
	background: #fff url("../images/fields.png") repeat-x;
	height: 156px;
}
.editorcomm .bb-editor {
	width: 465px;
}
.editorcomm .bb-editor textarea {
	height: 156px;
}
.clr {
	clear: both;
}

/*---BB Выбор цвета---*/
.bb_color {
	padding: 1px;
	overflow: hidden;
	width: 224px;
	height: 144px;
}
.bb_color a {
	width: 14px;
	height: 14px;
	cursor:pointer;
	overflow:hidden;
	border-radius: 1px;
	float: left;
	line-height: 300px;
	margin: 2px 2px 0 0;
	display: block;
}
.bb_color a:hover {
	width: 16px;
	height: 16px;
	border-radius: 3px;
	margin: 1px 1px -1px -1px;
}