html, body {
	height:100%;
}

body {
	font-family: Arial,Helvetica,sans-serif;
	font-size: 12px;
	color: #393838;
	width: 100%;
}

small {
	font-size: 11px;
	color: #686868;
}

strong {
	font-weight:bold;
}

a {
	color: #1a9fc1;
	text-decoration: underline;
	font-size:12px;
	font-family: Arial,Helvetica,sans-serif;
}

a:hover {
	color: #076fab;
	text-decoration: none;
}

a.ajax {
	text-decoration: none;
	border-bottom: 1px dashed #1cb2d8;
}

a.ajax:hover {
	color: #1cb2d8;
}

h1 {
}

h2 {
}

h3 {
	font-size: 22px;
	color: #1cb2d8;
}

hr {
	color: #bebebe;
}

#loader {
	display: none;
	background-image: url(../i/loader.gif);
	background-repeat: no-repeat;
	background-position: center center;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 2000;
	height: 32px;
	width: 32px;
}

#errorsC {
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 30px;
}

#errorsC ul li {
	width: 200px;
}

form {
}

input[type=text], input[type=password] {
	font-family: Arial,Helvetica,sans-serif;
	font-size: 12px;
	color: #393838;
	padding: 4px;
}

/*-------------Dialog---------------*/

#dialog {
}

#simplemodal-overlay {
	background-color: #000;
}

#simplemodal-container {
	width: 400px;
	background-color: #f7f7f7;
}

#simplemodal-container a.сlose {
	text-decoration: none;
	background-image: url(../i/close.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding: 0 20px 2px 0;
	height: 13px;
	display: inline;
	z-index: 3200;
	position: absolute;
	top: -19px;
	right: -16px;
	cursor:pointer;
	color: #fff;
	font-weight: bold;
}

/*-------------Header---------------*/

#header {
}

#header td {
	vertical-align: top;
}

#header .personal {
}

#header .personal .c {
	margin-top: 15px;
	line-height: 17px;
	text-align: right;
	padding-right: 20px;
	border-right: 1px solid #bebebe;
}

#header .logo {
	width: 236px;
	padding-left: 20px;
	text-align: right;
}

#header .navi {
	width: 40%;
}

#header .menu {
	margin: 20px 0 0 0;
	background-color: #e41a61;
	padding-right: 10px;
	background-image: url(../i/menu-bg-r.jpg);
	background-position: right;
	background-repeat: no-repeat;
	position: relative;
	color: #fff;
}

#header .menu a {
	color: #fff;
	text-decoration: none;
}

#header .menu ul {
	padding: 0 10px;
	background-image: url(../i/menu-bg.jpg);
	background-position: left;
	background-repeat: repeat-y;
}

#header .menu ul li {
	float: left;
	padding: 5px 0;
}

#header .menu ul li span,
#header .menu ul li a {
	display: inline;
	padding: 5px 12px;
}

#header .menu ul li:hover {
	background-color: #981344;
}

#header .menu ul li div {
	display: none;
	background-color: #fed1e1;
	background-image: url(../i/menu-sub-bg-r.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	padding-right: 25px;
}

#header .menu ul li ul {
	background-image: url(../i/menu-sub-bg.jpg);
	background-repeat: repeat-y;
	background-position: left;
	padding: 0;
}

#header .menu ul li ul a {
	color: #393838;
	text-decoration: underline;
}

#header .menu ul li ul li:hover {
	background-color: #faebf1;
}

#header .menu ul li:hover div {
	display: block;
	position: absolute;
	top: 24px;
}

/* ------------ employees ------------- */

.employees {
}

.employees .item {
	border-bottom:1px solid #BEBEBE;
	margin-bottom:10px;
	padding-bottom:10px;
}

.employees .item .desc {
	margin: 10px 10px 0 10px;
}

.employees .item .name {
	font-weight: bold;
}

.employees .item .name,
.employees .item .group {
	display: inline;
}

.employees .item .group {
	color: #aeaeae;
}

.employees .contr {
	margin: 10px 0 0;
}

.employees .edit {
}

.employees .edit td {
	padding: 7px;
}

.employees .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.employees .edit .col2 input {
	width: 50%;
}

.employees .edit .col2 input.slim {
	width: 10%;
}

.employees .edit h5 {
	display: inline;
	font-size: 1.5em;
}

.employees .img {
	margin: 0 0 10px;
}

.employees .img img {
	border: 1px solid #bebebe;
	padding: 5px;
}

.employees .img img:hover {
	border-color: #e41a61;
}

/* ------------Vacancies------------- */

.vacancies {
}

.vacancies .item {
	border-bottom:1px solid #BEBEBE;
	margin-bottom:10px;
	padding-bottom:10px;
}

.vacancies .item .title,
.vacancies .item .salary {
	display: inline;
}

.vacancies .item .problems,
.vacancies .item .requirements {
	margin: 7px 0;
}

.vacancies  .edit {
}

.vacancies .edit td {
	padding: 7px;
}

.vacancies .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.vacancies .edit .col2 input {
	width: 50%;
}

.vacancies .edit .col2 input.slim {
	width: 10%;
}

.vacancies .edit h5 {
	display: inline;
	font-size: 1.5em;
}

/* ------------Error------------- */

.error {
	position: relative;
}

.error:after {
	ent: '';
	display: block;
	clear: both;
}

.error .c1 {
	position: relative;
	right: 50%;
	float: right;
}

.error .c2 {
	position: relative;
	z-index: 1;
	right: -50%;
}

.error a:hover {
	text-decoration: none;
}

.error h3 {
	line-height: normal;
}

.error .close {
	position: absolute;
	padding: 5px;
	top:0;
	right:100%;
}

.e a {
	color: #fff;
}

.s a {
	color: #fff;
}

.m a {
	color: #393838;
}

.e h3 {
	color: #fff;
}

.s h3 {
	color: #fff;
}

.m h3 {
	color: #393838;
}

.e, .e .close {
	background-color: #d60d0d;
	color: #fff;
}

.s, .s .close {
	background-color: #44a710;
	color: #fff;
}

.m, .m .close {
	background-color: #ffcc00;
}

.e, .m, .s {
	background-repeat: no-repeat;
}

.e {
	background-color: #d60d0d;
	color: #fff;
}

.s {
	background-color: #44a710;
	color: #fff;
}

.m {
	background-color: #ffcc00;
}

/* ajax */

.eSimple h3 {
	font-size: 11px;
	font-weight: bold;
}

.eSimple span {
	margin: 7px 0 0 0;
	font-size: 11px;
}

.eSimple .c1 {
	margin-top: 3px;
}

.eSimple .c2 {
	padding: 10px;
}

.eSimple .e, .eSimple .m {
	background-image: none;
}

/* full */

.eFull table {
	width: 350px;
}

.eFull .c2 {
	padding: 15px 20px;
	line-height: 17px;
}

/* short */

.eShort {
	line-height: 17px;
	padding: 10px;
}

.eShort td {
	text-align: center;
}

/* ------------Uploader------------- */

.uploader {
}

.uploader .input {
	margin: 10px;
}

.uploader embed {
	background-image: url(../i/browse.jpg);
	background-repeat: no-repeat;
	background-position: center center;
}

.uploader .fileUploadQueue {
}

.uploader .uploadifyQueueItem {
	font: 11px Verdana, Geneva, sans-serif;
	background-color: #F5F5F5;
	border: 3px solid #E5E5E5;
	margin-top: 5px;
	padding: 10px;
	width: 300px;
}

.uploader .uploadifyQueueItem .cancel {
	float: right;
}

.uploader .uploadifyProgress {
	background-color: #fff;
	border-top: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #c5c5c5;
	border-bottom: 1px solid #c5c5c5;
	margin-top: 10px;
	width: 100%;
}

.uploader .uploadifyProgressBar {
	background-color: #e41a61;
	width: 1px;
	height: 3px;
}

.uploader .ads {
	margin: 0 0 10px 7px;
}

/* ------------Main------------- */

#wrap {
/*	position: relative;*/
	min-width: 700px;
	width: 100%;
	margin: 0px auto;
	min-height:100%;
	height:auto !important;
	height:100%;
}

#wrap .content {
	padding-bottom:50px;
}

#main {
}

#main span.preview {
	color: #c4c3c1;
}

#main td {
    vertical-align: top;
}

#main .admTable .c0 {
	padding: 0 20px 10px;
	height: 60px;
	vertical-align: middle;
}

#main .admTable .c0 h1 {
	font-size: 28px;
	color: #e41a61;
}

#main .admTable .c0 .title {
}

#main .admTable .c0 .controls {
	width: 80%;
}

#main .admTable .c1 {
	width: 20%;
	line-height: 17px;
}

#main .admTable .c1 ul {
	margin: 5px 10px;
	padding: 0 0 0 10px;
	list-style-type: disc;
}

#main .admTable .c1 ul li {
	margin: 3px 0;
}

#main .admTable .c1 a.sub {
    text-decoration: none;
}

#main .admTable .c1 a.sub img {
	position: relative;
	top: 2px;
}

#main .admTable .c1,
#main .admTable .c2 {
	padding: 5px 20px;
	border-left: 1px solid #bebebe;
	line-height: 17px;
}

#main .admTable .c2 p {
	margin: 5px;
}

#main .admTable .c2 a {
	color:#E41A61;
}

ul.controls li {
	float: left;
	padding: 0 20px;
}

ul.incForms li {
	padding-top: 6px;
}

ul.incForms li.hereIsForm {
	padding: 0;
}

ul.controls li span,
ul.controls li a {
	color: #e41a61;
	padding: 2px 0;
	background-position: left center;
	background-repeat: no-repeat;
}

ul.controls li a.add {
	background-image: url(../i/icon-add.png);
	padding-left: 26px;
}

ul.controls li a.list {
	background-image: url(../i/icon-list.png);
	padding-left: 30px;
}

ul.controls li a.view {
	background-image: url(../i/icon-view.png);
	padding-left: 26px;
}

ul.controls li a.del {
	background-image: url(../i/icon-del.png);
	padding-left: 15px;
}

ul.controls li a.edit {
	background-image: url(../i/icon-edit.png);
	padding-left: 26px;
}

ul.controls li a.upload {
	background-image: url(../i/icon-upload.png);
	padding-left: 28px;
}

ul.controls li a.edit_html {
	background-image: url(../i/icon-edit-html.png);
	padding-left: 26px;
}

ul.controls li a.done {
	background-image: url(../i/icon-done.png);
	padding-left: 24px;
}

ul.controls li span.valid,
ul.controls li a.valid {
	background-image: url(../i/icon-valid.png);
	padding-left: 20px;
	color: #27ab0d !important;
}

ul.controls li a.not_valid {
	background-image: url(../i/icon-not_valid.png);
	padding-left: 20px;
	color: #cf0f0f !important;
}

/* ------------News------------ */

.news {
}

.news .item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #bebebe;
}

.news .item .date, .news .item .title {
	display: inline;
}

.news .item .title {
	font-weight: bold;
}

.news .item .short {
	margin: 7px 0;
	line-height: 17px;
}

.news .edit {
}

.news .edit td {
	padding: 7px;
}

.news .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.news .edit .col2 input {
	width: 50%;
}

.news .edit .col2 input[type=checkbox] {
	width: auto;
}

.news .edit .col2 textarea {
    width: 100%;
    height: 500px;
}

.news .img {
	margin: 0 0 10px;
}

.news .img img {
	border: 1px solid #bebebe;
	padding: 5px;
}

.news .img img:hover {
	border-color: #e41a61;
}

.news .item .short ul.list {
    margin: 5px 0 5px 20px;
    list-style: disc;
}

.news .item .short ul.list li {
    margin: 3px 0;
}

.news.menu .contr {
    margin: 5px 0 0;
}

/* ------------Authorization------------- */

.aut {
}

.autForm {
}

.autForm:after {
	content: '';
	display: block;
	clear: both;
}

.autForm .c1 {
	position: relative;
	right: 50%;
	float: right;
}

.autForm .c2 {
	position: relative;
	z-index: 1;
	right: -50%;
	background-color: #f6f6f6;
	padding: 15px 20px;
	background-image: url(../i/c-br-22.png);
	background-repeat: no-repeat;
	background-position: bottom right;
}

.autForm td {
	padding: 5px;
}

.autForm td.left {
	text-align: right;
}

.autForm td.title h3 {
	text-align: center;
}

.autForm table {
	width: 250px;
}

.aut .userShort td {
	padding: 3px;
}

.aut .userShort td.title {
	color:#E41A61;
	font-size: 20px;
	padding-bottom: 10px;
}

.aut .userShort td.col1 {
	text-align: right;
	font-weight: bold;
}

.aut .userShort td.col2 span {
	color: #c4c3c1;
}

/* ------------Footer------------- */

#footer {
/*	display:none; /* Set to `block`, if you what to see it */
	position: relative;
	margin: 0 auto;
	margin-top: -50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
}

/* ------------Top Menu------------- */

#topMenu {
}

/* ------------HTML Box------------- */

.htmlBox {
}

.htmlBox .text {
}

.html {
}

.html .list {
}

.html .list .item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #bebebe;
}

.html .list .item .title {
	font-weight: bold;
	margin-bottom: 5px;
}

.html .list .item .html {
	margin: 5px 0 10px;
	line-height: 17px;
}

/* ------------FAQ------------- */

.faq {
}

.faq .item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #bebebe;
}

.faq .item .title,
.faq .item .q {
	display: inline;
}

.faq .item .title {
	font-weight: bold;
}

.faq .item .answer {
	margin: 10px;
}

.faq .item .answer .t {
	font-weight: bold;
}

.faq .edit {
}

.faq .edit td {
	padding: 7px;
}

.faq .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.faq .edit .col2 input {
	width: 50%;
}

.faq .edit .col2 input[type=checkbox] {
	width: auto;
}

/*-------------Галерея---------------*/

.gallery {
}

.gallery .item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #bebebe;
}

.gallery .item .desc {
	margin: 10px;
}

.gallery .edit {
}

.gallery .edit td {
	padding: 7px;
}

.gallery .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.gallery .edit .col2 input {
	width: 50%;
}

.gallery .edit .col2 input[type=checkbox] {
	width: auto;
}

.gallery.photos .list {
	margin-top: 20px;
}

.gallery.photos .thumbnails {
	margin: -30px 0 0 -15px;
	text-align: center;
}

.gallery.photos .thumbnails .item {
	text-decoration: none;
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	margin: 30px 0 0 15px;
	padding: 0;
	border: none;
}

.gallery.photos .thumbnails .item .r {
	width: 270px;
	float: left;
	text-align: center;
}

.gallery.photos .thumbnails .item .r .img {
	text-align: center;
}

.gallery.photos .thumbnails .item .r .img img {
	padding: 5px;
	border: 1px solid #bebebe;
}

.gallery.photos .thumbnails .item .r .img img:hover {
	border-color: #e41a61;
}

.gallery.photos .thumbnails .item .r .name {
	margin: 3px 0 0;
}

.gallery.photos .thumbnails .item .r .desc {
	font-size: 11px;
	color: #aaa7a7;
	margin: 3px 0 10px;
	text-align: center;
}

.gallery.photos .thumbnails .item .r .name {
	text-align: center;
}

.gallery.category .img,
.gallery.photo .img {
	margin: 10px 0;
}

.gallery.category .img img,
.gallery.photo .img img {
	padding: 5px;
	border: 1px solid #bebebe;
}

/*-------------Real estate---------------*/

.realestate {
}

.realestate .item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #bebebe;
}

.realestate .item .name {
	margin-bottom: 10px;
}

.realestate .edit {
}

.realestate .edit td {
	padding: 7px;
}

.realestate .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.realestate .edit .col2 input {
	width: 50%;
}

.realestate .edit .col2.free input {
	float: left;
}

.realestate .edit .col2.free input.submit {
	width: auto;
	margin: 2px 10px 0;
}

.realestate .edit .col2 input[type=checkbox] {
	width: auto;
}

.realestate .edit .jostled input,
.realestate .edit .jostled select {
	float: left;
}

.realestate .edit .jostled .contr {
	margin: 2px 0 0 0;	
}

.realestate .edit .jostled .contr li {
	padding-right: 0;
}

.realestate .edit .newInput {
	display: none;
	margin: 10px 0 0 0;
	clear: both;
}

.realestate .edit .newInput input,
.realestate .edit .newInput select {
	float: none;
}

.realestate .edit .newInput input {
	width: 20%;
}

.realestate .edit .newInput .contr {
	margin-top: 5px;
}

.realestate .edit .newInput .inputs {
}

.realestate.items .item .name {
	margin: 0 !important;
	display: inline;
	font-weight: bold;
}

.realestate.items .item .price {
	display: inline;
}

.realestate.items .item .desc {
	margin: 10px 0;
}

.realestate.estate .img {
	margin: 10px 0;
}

.realestate.estate .img img {
	border: 1px solid #bebebe;
	padding: 5px;
}

.realestate.estate .img img:hover {
	border-color: #e41a61;
}

.realestate.estate .obs.additionalImage {
}

.realestate.estate .obs.additionalImages .photoItem {
	float: left;
	margin-right: 10px;
}

.realestate.estate .obs.additionalImages .photoItem img {
	width: 90px;
}

.realestate.estate .obs.additionalFiles {
}

.realestate.estate .obs.additionalFiles .fileItem {
	float: left;
	margin-right: 10px;
}

.realestate.estate .obs.additionalFiles .fileItem .name {
	margin:5px 0;
	text-align:center;
}

.realestate.estate .obs.additionalFiles .fileItem .type {
	font-weight:bold;
	text-align:center;
}

.realestate.tch .item .name {
	font-weight: bold;
}

.realestate.tch .item .tch {
	margin: 10px 0 10px 10px;
}

.realestate.tch .item .tch .title {
	float: left;
}

.realestate.tch .item .tch .contr {
}

.realestate.tch .item .tch ul.controls li {
	padding: 0 3px;
}

.realestate.tch .item .tch ul.controls a {
	text-decoration: none;
}

.realestate.tch .item .tch ul.controls a.del {
	padding-left: 10px;
}

.realestate.observer .title {
	font-weight: bold;
	margin-bottom: 10px;
}

.realestate.observer .item {
}

.realestate.observer .item .name {
	float: left;
}

.realestate.observer .item ul.controls li {
	padding: 0 3px;
}

.realestate.observer .item ul.controls a {
	text-decoration: none;
}

.realestate.observer .additional {
	margin-bottom: 10px;
}

.realestate.observer .additional .list {
	float: left;
	margin-top: 2px;
}

.realestate.observer .additional .submit {
	margin-left: 10px;
}

/*-------------Sys Files---------------*/

.sysfiles {
}

.sysfiles .notice {
	margin: 10px 0 0 0;
}

.sysfiles .thumbnails {
	margin: -30px 0 0 -15px;
	text-align: center;
}

.sysfiles .thumbnails .item {
	text-decoration: none;
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	margin: 30px 0 0 15px;
	padding: 0;
	border: none;
	text-align: center;
}

.sysfiles .thumbnails .item .r {
	width: 130px;
	float: left;
	text-align: center;
}

.sysfiles .thumbnails .item .r .path {
	margin: 4px 0;
	font-weight: bold;
}

.sysfiles .thumbnails .item .r .size {
	margin: 4px 0;
}

.sysfiles .thumbnails .item .r .img,
.sysfiles .thumbnails .item .r .path,
.sysfiles .thumbnails .item .r .size,
.sysfiles .thumbnails .item .r .contr {
	text-align: center;
}

.sysfiles .thumbnails .item .r .img img {
	padding: 5px;
}

.sysfiles .files-list {
    width: 100%;
}

.sysfiles .files-list img {
    vertical-align: middle !important;
}

.sysfiles .files-list th,
.sysfiles .files-list td {
    border-bottom: 1px solid #ccc;
    padding: 5px;
    vertical-align: middle !important;
}

.sysfiles .files-list th {
    font-weight: bold;
}

.sysfiles .files-list tr:hover td {
    background: #f3f3f3;
}

.sysfiles .cntrls {
    margin: 1em;
    vertical-align: middle;
    margin: -2px 0 0;
    display: -moz-inline-box; display: inline-block; *zoom: 1; *display: inline;
}

.sysfiles .ttl {
    margin: 1em;
    display: -moz-inline-box; display: inline-block; *zoom: 1; *display: inline;
}

.sysfiles .ttl span {
    font-weight: bold;
    margin: 0 .3em;
}

.sysfiles .folder-create {
    margin: 1em;
    display: -moz-inline-box; display: inline-block; *zoom: 1; *display: inline;
}

.sysfiles .folder-create span {
    font-weight: bold;
}

/*-------------Sys Texts---------------*/

.systexts {
}

.systexts .edit {
}

.systexts .edit td {
	padding: 7px;
}

.systexts .edit .col1 {
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.systexts .edit .col2 input {
	width: 50%;
}

.systexts .edit .col2 input[type=checkbox] {
	width: auto;
}

.systexts.content .col2 span {
	padding: 0 0 0 10px;
	color: #bebebe;
}

.systexts.content .col2 span:hover {
	color: #393838;
}

/*-------------Window page---------------*/

body.window {
}

body.window #header {
	height: 86px;
	text-align: right;
}

body.window #header a {
	color: #000;
	font-size: 54px;
}

body.window #main {
	padding-top: 12%;
}

body.window #wrap .content {
	padding-bottom:50px;
}

body.window #footer {
	margin-top: -50px;
	height: 50px;
	line-height: 50px;
}

/* ------------Fixs------------- */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix { display: inline-block; }  /* for IE/Mac */
