
/*
 * Input elements
 */

input[type=text], input[type=password], input.text, input.title, textarea, select {background-color:#fff;border:1px solid #bbb;}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {border-color:#0066A4;}

div.form input[type=text],
div.form input[type=password],
div.form select,
div.form textarea
{
	width: 100%;
}

form {
	margin: 0;
}

/*****************************
   Object card
*****************************/

div.card
{
	border: 1px solid #bbb;
	padding: 0;
	background: #efefef;
}

div.card .card
{
	border: 0;
	padding: 0;
}


div.card.fixW,
div.card .fixW,
div.fixW .card
{
	width: 500px;
}


div.card .row
{
	padding: 5px 10px;
	clear: left;
}

div.card .label
{
	float: left;
	text-align: right;
	width: 170px;
	color: #555;
	font-size: 12px;
}

div.card .value
{
	padding: 0 0 0 180px;
}

div.card .row.primary label,
div.card .row.primary .label
{
	font-size: 14px;
	font-weight: bold;
}

div.card .stats
{
	padding-left: 190px;
}

div.card .buttons
{
	background: #ccc !important;
	margin: 0 !important;
}



.card .hint {
	color: #888;
}

.card .hint .date, .card .hint .user {
	font-weight: normal;
}

.card .row {
	padding: 0 0 5px 0;
}

.card .col {
	padding: 0 0 0 10px;
}

.card .textrow {
	padding: 5px 10px;
	text-align: center;
}

.buttons {
	text-align: right;
}

.card td input[type=text] {
	width: 200px;
}


/*tbody tr:nth-child(even) td, tbody tr.even td {background:#e5ecf9;}*/


.card .row:nth-child(even)
{
	background: #E8E8E8 url(/images/change_1.gif) left top repeat-x;
}

.card .row:nth-child(odd)
{
	background: #F4F4F4 url(/images/change_2.gif) left top repeat-x;
}

.card tr.even td,
.card tr.even th
{
	background: #E8E8E8 url(/images/change_1.gif) left top repeat-x !important;
}

.card tr.odd td,
.card tr.odd th
{
	background: #F4F4F4 url(/images/change_2.gif) left top repeat-x !important;
}


.card h1,
.card h2,
.card h3,
.card h4,
.card h5
{	
	background: #4c99c5 url(/images/bg.gif) repeat-x left top;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	padding: 5px;
	margin: 0;
	text-align: center;
}
 


/*
 * Wide form
 */
 

div.wide.form label
{
	float: left;
	margin-right: 10px;
	text-align: right;
	width: 150px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .row .field {
	margin: 0 0 0 160px;
	padding: 0; 
}

div.wide.form .row .field input,
div.wide.form .row .field select
{
	width: 100%; 
}


div.form .hint, div.form .errorMessage
{
	/*
	clear: left;
	padding: 5px 0  5px 160px;
	*/
}

div.form .cb label
{
	display: inline;
	font-weight: normal;
	float: none;
}

div.form.wide .cb
{
	margin-left: 155px;
}



/*
 * Split form
 */

div.form table.formsplit {
	padding: 0;
	margin: 0;
}

div.form table.formsplit td {
	padding: 0;
	margin: 0;
}

div.form table.formsplit td .row {
	margin-right: 10px;
}

div.form table.formsplit td:last-child .row {
	margin-right: 0px;
}

div.form table.formsplit.split2 td {
	width: 50%;	
}

div.form table.formsplit.split3 td {
	width: 33%;	
}


fieldset
{
	border: 1px solid #ccc;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
	font-size: 11px;
	color: #333;
}

fieldset legend {
	font-size: 14px;
}

div.form fieldset label,
div.form .wide
{
	display: inline;
}

div.form label
{
	font-weight: normal;
	font-size: 11px;
	display: block;
	color: #333;
}

div.form .row
{
	margin: 5px 0;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

.card .errorSummary {
	margin: 5px 10px !important;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}



.rbox .inner div.form,
div.form.simple {
	border: 0;
	background: transparent;
	padding: 5px;
}


input[type=submit], input[type=button] {
	background:white url(bg.gif) repeat-x left top;
	color:#ffffff;
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding: 2px 8px;
	border: 1px solid #4682b4;
}

/*
 * Форма для редактирования фотографии
 */
 
div.picform {
	width: 1000px;
	padding: 10px 0;
}

div.picform .pic {
    text-align: center;
    margin: 0 0 10px 0;
    clear: both;
}

div.picform .pic img {
    border: 1px solid #ccc;
}


div.picform .col1{
	width: 200px;
}

div.picform .col2{
	width: 800px;
}

div.picform .col3{
	display:none;
	padding: 0 0 0 10px;
}

div.picform .srvToggleRightCol{
	font-size: 10px;
	text-align: right;
	cursor: pointer;
	margin: -5px 5px 0 0;
}


div.picform .genrelist label, 
div.picform .pic label
{
	display: inline;
}


