body { color: #333; background: #fff; font: 13px/1.5em Helios, "Helvetica Neue", Arial, Helvetica, sans-serif; }
a, a:visited { color: #e77918; text-decoration: underline; }
a:hover { text-decoration: none; }
a.xhr, a.xhr:visited { text-decoration: none; border-bottom: 1px dashed; }

/* общие стили для сайта */
.alignCenter { text-align: center; }
.alignLeft { text-align: left; }
.alignRight { text-align: right; }
.alignJustify { text-align: justify; }
.book { text-align: justify; text-indent: 24px; }
.floatLeft { float: left; }
.floatRight { float: right; }
.nwrap, .nowrap { white-space: nowrap; }
.strong { font-weight: bold; }
.block { display: block; }
.inline { display: inline; }
.hidden { display: none; }
.clear { clear: both; line-height: 0; height: 0; }

/* заголовки */
h1 { font-size: 20px; margin: 6px 0 20px; }
h2 { font-size: 18px; margin: 6px 0 12px; }
h3 { font-size: 16px; margin: 6px 0 10px; }

p { margin-bottom: 8px; }
small { font-size: 11px; }

/* сочни аватарке */
img.user { border: 2px solid #e77918; padding: 2px; }
img.user.profy { border: 2px solid #8d85b6; }
img.user.guest { border: 2px solid #ccc; }

img.user.ava40 { margin: 0 6px 6px 0; }
img.user.ava24 { margin: 0 6px 6px 0; }

/* статусы по баллам (круги 10x10) */
img.kroo1 { background: url(/s/pic/kroogi.png) 0 0 no-repeat; margin: 0 2px 0 0 !important; }
img.kroo2 { background: url(/s/pic/kroogi.png) -11px 0 no-repeat; margin: 0 2px 0 0 !important; }
img.kroo3 { background: url(/s/pic/kroogi.png) -22px 0 no-repeat; margin: 0 2px 0 0 !important; }

img.side { margin: 0 10px 13px 0; cursor: pointer; }
img.side.long { margin: 0 10px 16px 0; cursor: pointer; }
.ad { background: #ddd url(/s/pic/banner.png) 50% 50% no-repeat; }
img.manage { margin: 0 !important; }

/* элементы форм */
p.form-label { margin-bottom: 4px; float: left; width: 140px; text-align: right; }
p.form-field, div.form-field { margin-left: 150px; }
p.form-field.only { margin-left: 0; }

select, textarea { border: 1px solid #fcdaba; background: #fff; padding: 3px; vertical-align: baseline; }
input, select, textarea { font: 13px/1.5em Helios, "Helvetica Neue", Arial, Helvetica, sans-serif; }
p.form-field input, p.form-field textarea,
	div.form-field input, div.form-field textarea { width: 300px; background: #fff; padding: 3px; border: 1px solid #fcdaba; }
p.form-field input:hover, p.form-field input:focus, p.form-field textarea:hover, p.form-field textarea:focus,
	div.form-field input:hover, div.form-field input:focus, div.form-field textarea:hover, div.form-field textarea:focus { border-color: #e77918; }

textarea.wysiwyg { width: 100%; padding: 0; }
textarea.wysiwyg:hover, textarea.wysiwyg:focus { border-color: #e77918 !important; }

p.form-field a.fancy-choose { text-decoration: none; border-bottom: 1px dashed; }
div.wysi-area img { margin: 0 !important; }
div.wysi-area img.b { background: url(/s/pic/icons/24/wysiwyg.png) -28px 0 no-repeat; }
div.wysi-area img.i { background: url(/s/pic/icons/24/wysiwyg.png) -56px 0 no-repeat; }
div.wysi-area img.u { background: url(/s/pic/icons/24/wysiwyg.png) -83px 0 no-repeat; }
div.wysi-area img.loading { margin: 0 0 4px 4px !important; }

p.hint { margin: 0 0 12px 150px; color: #999; font-size: 12px; line-height: 12px; top: -4px; position: relative; }
p.hint.simple { margin-left: 0; top: 6px; }
span.error { color: red; font-style: italic; }
p.error { margin: -15px 0 12px 150px; }
input.auto, textarea.auto, select.auto { width: auto !important; }
input[type="radio"], input[type="checkbox"] { vertical-align: top; margin-top: 4px; }
label input { margin-right: 6px; vertical-align: top !important; padding: 0 !important; }

input.yaform__input-text { padding: 0; }

input.btn { width: auto !important; border: none !important; }
input.btn.submit {
	background-image: url(/s/pic/blank.gif);
	background-color: #e77918;
	color: #fff;
	font-weight: bold;
	padding: 4px;
	margin-top: 8px;
	border: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
}

input.btn.submit.disabled { background-color: #FCDABA; cursor: default; }

a.btn.submit {
	background-image: url(/s/pic/blank.gif);
	background-color: #e77918;
	color: #fff;
	font-weight: bold;
	padding: 4px;
	margin-top: 8px;
	border: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
}

input.btn-2brdr { width: auto !important; border: 3px double #ddd !important; background: #fff; padding: 2px 3px; cursor: pointer; }
input.btn-2brdr:focus, input.btn-2brdr:hover { border-color: #bbb !important; }

button.b { font-weight: bold; }
button.i { font-style: italic; }
button.u { text-decoration: underline; }

#save-choice, #reset-choice { margin: 12px 4px 0; font-size: 14px; padding: 2px 4px; cursor: pointer; }

/* список внутренних страниц */
#inner-pages div.page { margin-bottom: 12px; }
#inner-pages div.link { padding-top: 6px; }
#inner-pages div.link a { font-size: 16px; }

/* глобальное оформление страниц */
#wrapper { width: 1150px; margin: 16px auto 8px; }
#logo-stripe div.search-desc { text-align: right; font-size: 14px; }

		#logo-stripe div.advert-top {
			width: 728px;
			height: 60px;
			margin-left: 16px;
		}

#advert-stripe {
	height: 36px;
}

	#advert-stripe ul.about, #advert-stripe ul.about li {
		list-style: none;
		float: right;
		color: #4f4b4a;
		line-height: 36px;
	}

	#advert-stripe ul.about li.s {
		padding: 0 6px;
	}

		#advert-stripe ul.about li a {
			color: inherit;
			text-decoration: none;
			font-size: inherit;
			line-height: inherit;
		}

		#advert-stripe ul.about li a:hover {
			text-decoration: underline;
		}

#city-select {
	line-height: 36px;
}

	#city-select input.subm {
		position: relative;
		top: 2px;
	}

/* меню */
#menu { height: 36px; text-align: right; background: #ecedef; position: relative; }
#menu ul { float: right; list-style: none; }
#menu ul li { float: right; }

	#menu ul li span.soon {
		color: #ccc;
		font-size: 16px;
		line-height: 36px;
		display: inline-block;
		padding: 0 8px;
		height: 36px;
		text-transform: lowercase;
	}

	#menu ul li a {
		color: #000;
		text-decoration: none;
		font-size: 16px;
		line-height: 36px;
		display: inline-block;
		padding: 0 8px;
		height: 36px;
		text-transform: lowercase;
	}

	#menu ul li a:hover { text-decoration: underline; }
	#menu ul li a.active { color: #fff; background: #e77918; font-weight: bold; }
	#menu ul li a.active:hover { text-decoration: none; }

#submenu {
	height: 24px;
	background: #e77918;
	color: #fff;
	text-align: center;
	line-height: 24px;
}

	#submenu a {
		color: #fff;
		font-weight: bold;
		padding: 0 8px;
	}

#mbr {
	height: 1px;
	background: #fff;
	border-bottom: 2px solid #bfbfbd;
	font-size: 1px
}

#content-three {
	padding: 6px 0;
	margin: 6px 0;
	/*background-image: url(/s/pic/decoration/bg-line-3.png);*/
}

#content-two {
	padding: 6px 0;
	margin: 6px 0;
	/*background-image: url(/s/pic/decoration/bg-line-2.png);*/
}

#inner-pages { margin-top: 16px; }

#centr-content { float: left; width: 650px; margin-left: 250px; position: relative; overflow: hidden; }
#centr-content.static img, img.static { margin: 5px; }
#centr-content ul, #centr-content ol { margin: 0 0 8px 24px; }

#wide-content { float: left; width: 890px; margin-left: 250px; position: relative; background: #fff; overflow: hidden; }
#wide-content.static img { margin: 5px; }
#wide-content ul, #wide-content ol { margin: 0 0 8px 24px; }

#left-bar { width: 240px; float: left; margin-left: -900px; }
#meta-bar { width: 240px; float: left; margin-left: -1140px; }
#side-bar { float: right; width: 240px; }

#left-bar h2, #side-bar h2, #meta-bar h2 { font-size: 16px; margin: 24px 0 6px; }
#left-bar h2.top, #side-bar h2.top, #meta-bar h2.top { margin-top: 0; font-weight: bold; }
#side-bar a { color: #333; }

#exit { padding: 3px 0px 0; }
a.out { color: #333; }

#head-user {
	position: relative;
	top: 1px;
	height: 22px;
	width: 117px;
	padding: 3px 10px 0;
	margin: 0px;
	background: url("http://allcafe.local/s/pic/head-user.png") 0 0 no-repeat;
	font-weight: bold;
	font-size: 14px;
}

	#head-user a { color: #333; }
	#head-user a:hover { color: #e77918; text-decoration: underline; }

#YMainMapID { width: 880px; height: 350px; margin: 15px 0 5px 0; }

/* заголовки левых инфоблоков */
h2.top.block-head {
	font-size: 15px;
	border-bottom: 2px solid #d41b10;
	margin: 24px 0 0 !important;
	position: relative;
	width: 225px;
	padding-right: 15px;
}

h2.top.block-head.off { color: #eee; border-bottom: 2px dashed #eee; }

	h2.top.block-head img.tumblr {
		cursor: pointer;
		position: absolute;
		bottom: 5px;
		right: 2px;
	}

div.info-block {
	background: url(/s/pic/decoration/bg-user-info.png) repeat-y;
	width: 220px;
	border-bottom: 1px solid #f6e3bd;
	padding: 5px 10px;
}


* html #centr-content, * html #wide-content {
  margin-left: 125px;
}

/* табы управления */
#tabs { margin: 8px 0 16px; float: right; position: relative; z-index: 3; }
#tabs ul { list-style: none; }
#tabs ul li { padding: 4px 8px; font-size: 14px; }
#tabs ul li:hover a { color: #e77918; text-decoration: underline; }
#tabs ul li a { color: #333; font-size: inherit; text-decoration: none; }
#tabs ul li.active { background: #e77918; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
#tabs ul li.active a { color: #fff !important; text-decoration: none; font-size: 16px; }
#tabs ul li.disabled { color: #ccc; }


#directtabs { margin: 8px 0 16px !important; }
#directtabs li { display: inline; padding: 6px 8px; }
#directtabs li a { font-size: 16px; }

#directtabs li.active { background: #e77918; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
#directtabs li.active a { text-decoration: none; color: #fff; }

/* классы */
.gray { color: gray !important; }
.orange { color: #e77918; }
.blue, a.blue:visited { color: #7b71b0; }
.black, .black:visited { color: #333; }
.red { color: #ef3434; }
.green { color: #34df26; }
.no-decoration, .no-decoration:visited { text-decoration: none; }
.underlined-text { text-decoration: underline; }
.inactive { opacity: 0.3; background-color: #fff; }

img.ui-datepicker-trigger { margin-left: 2px; cursor: pointer; position: relative; top: 4px; vertical-align: top }
a.ui-corner-all small { white-space: nowrap; }

img.user.user-logo { float: left; margin: 0 4px 5px 0; }
div.attention { background: #faf8e9; border: 1px solid #f2e2bc; padding: 6px; }
p.infoblock { background: #faf8e9; border-left: 3px solid #f2e2bc; padding: 6px; }

div.marginBottom { margin-bottom: 20px; }
div.marginRight { margin-right: 10px; }

a.repr-rank { color: gray; font-size: 11px; }
p.u-rank { margin-bottom: 5px; font-size: 11px; position: relative; top: -3px; }
div.u-rank { font-size: 11px; position: relative; top: -3px; } /* .u-rank в случае когда не нужен margin-bottom */

a.add, a.home {	text-decoration: none; }
a.add span, a.home span { text-decoration: underline; margin: 0 0 0 5px; line-height: 24px; }
a.add img, a.home img { margin: 0px !important }
a.add-error { text-decoration: none; margin: 0 0 0 2px; }
a.add-error span { text-decoration: underline; line-height: 26px; }
a.add:hover span, a.home:hover span { text-decoration: none; }

a.fb { margin-right: 4px; }
a.fb img { padding: 2px; border: 1px solid #ddd; }

#com-separator { height: 1px; background: #fff; border-bottom: 2px solid #ececed; margin: 4px 0 12px; clear: both; }
#follow-info { position: absolute; width: 240px; border-width: 2px; }
#status-info { font-size: 16px; margin: 6px 0 10px; }


/* меню навигации в модулях */
#mod-menu {
	margin: 8px 0 12px;
	border: 1px dashed #ea2325;
	padding: 6px 12px;
	background: #ffeeee;
}

/* таблицы с данными */
table.tbl { width: 100%; background: #fff; }
table.tbl th { background: #eee; padding: 3px 5px; }
table.tbl th.central, table.tbl td.central { width: 100%; }
table.tbl td { padding: 2px 4px; }
table.tbl tr:hover { background: #f2f2f2; }

table.data, table.wdata { width: 100%; background: #fff; }
table.data th { background: #eee; padding: 3px 5px; }
table.data th.central, table.data td.central { width: 100%; }
table.data td { padding: 2px 4px; }
table.data tr.odd { background: #f4f5f0; }

/* ХК */
#bread-crumb { list-style: none; margin: 0 !important; }


#debug-footer {
	margin: 24px 0 12px;
	padding: 12px;
	background: #ffcccc;
	border-top: 2px dashed red;
	border-bottom: 2px dashed red;
}

	#debug-footer ol {
		margin-left: 24px;
	}

/* Пагинатор */
#pages {
	margin-top: 25px;
	margin-bottom: 0px;
}

#pages a {
	margin: 0 4px;
}

#pages span {
	margin: 0 4px;
	font-weight: bold;
}

/* выпадающее меню с городами */
ul.drop-down {
	position: absolute;
	top: 80px;
	width: 200px;
	background-color: #fff;
	list-style: none;
	z-index: 1;
	border: 1px solid #ccc;
	padding-top: 25px;
}

	ul.drop-down li {
		padding: 0 10px 0 4px;
		line-height: 24px;
	}

#this-town {
	text-decoration: none;
	color: #333;
	border-bottom: 1px dashed;
	position: relative;
	z-index: 10;
}

#this-town:hover {
	border-bottom: 1px solid;
}

/* все элементы блока */
div.all { text-align: right; }
div.all a { color: #ccc !important; background: url(/s/pic/decoration/circle.png) 100% 50% no-repeat; padding-right: 16px; }
div.all a:hover { color: #da241c !important; }

p.last-viewed { margin: 0 10px 4px; padding-top: 5px; line-height: 15px; }
p.last-viewed a { color: #333; }
p.last-viewed a:hover { color: #da241c; }

/* последние записи в дневниках */
div.info-block div.posts { margin-bottom: 12px; }
div.info-block div.posts img.avatar { margin: 0 6px 2px 0; }
div.info-block div.posts a.post-text {}

#town{
	font: bold 16px Helios, "Helvetica Neue", Arial, Helvetica, sans-serif;
	margin: 0 8px 0 4px;
	position: relative;
	z-index: 10;
}

/* инфоблоки */
div.user-info { 
	width: 220px;
	padding: 0 10px;
	height: 77px;
	/* background: url(/s/pic/decoration/user-info.png) 0 0 no-repeat; */
	background-color: #faf8e9;
	border: solid #fddbbd 1px;
}

div.user-info a.hey { font-size: 16px; line-height: 26px; }

#links3 a { line-height: 16px; }
#links3 a b { color: red; }

div.last-viewed{
	width: 240px;
	padding-top: 5px;
	background-image: url(/s/pic/decoration/bg-user-info.png);
	margin-bottom: 10px;
	border-bottom: solid #f6e3bd 1px;
}

p.last-viewed-head {
	margin: 0 0 0 7px;
	font-weight: bold;
}

h2.rubric-head {
	font-weight: bold; 
	font-size: 15px;
	border-bottom: solid #d41b10 2px;
	margin-right: 5px
}

h2.side-head {
	font-weight: bold;
	font-size: 15px;
}

h2.side-head.long {
	padding-bottom: 10px;
}

div.side-head {
	font-weight: bold;
	font-size: 15px;
	padding-top: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	margin-bottom: 10px;
	background: bottom url(/s/pic/decoration/side-bottom.png) repeat-x;
}

div.side-head span {
	margin: 0px;
}

a.tag { color: gray !important; margin: 0 5px 0 0; text-decoration: none }
a.tag:hover { text-decoration: underline }
a.tag-size-1 { font-size: 12px }
a.tag-size-2 { font-size: 17px }
a.tag-size-3 { font-size: 22px }

span.tag { color: gray !important; margin: 0 5px 0 0; text-decoration: none }
span.tag-size-1 { font-size: 12px }
span.tag-size-2 { font-size: 17px }
span.tag-size-3 { font-size: 22px }

div.tags { margin: 12px 0; }
div.tags img.icon { margin: 0 4px 0 0 !important; vertical-align: middle; }

p.tagLinks {
	margin: 10px 0 px 0;
	text-align: right;
	color: #000;
	font-size: 17px
}

div.event-name {
	margin-top: 0px;
	margin-bottom: 10px;
}

span.event-time{
	font-weight: normal;
	font-size: 18px;
	margin-top: 15px;
	margin-right: 5px;
}

/* иконки */
a.icon { padding-left: 20px; background-position: 0 50%; background-repeat: no-repeat; }
a.icon.edit { background-image: url(/s/pic/icons/edit.png); }
a.icon.mail { background-image: url(/s/pic/icons/mail.png); }




h2.restaurant-avatar {
	color: #cf6a24;
}

span.user-status {
	font-weight: bold;
}

span.restaurant-date {
	color: #b4b4b4;
}

div.restaurant-guide {
	height: 170px;
	/*border: 1px black dashed;*/
}

div.restaurant-guide div.meta  {
	background: #F2F2F2;
	margin:12px 0;
	padding:3px 6px;
}
.span restaurants-marks {
	color: #e67716;
}

h2.restaurant-guide-login {
	margin-bottom: 0px;
}

a.restaurants-guide-metalinks {
	color: #000;
	text-decoration: none;
}



div.restaurant-33per {
	width: 33%;
	text-align: center;
}

h2.restaurant-grey {
	color: #a9a9a9;
	border-bottom: 2px solid #aaa;
	margin-top: 16px;
}

table.full-width{
	width:100%;
}

td.margin-td{
	width: 140px;
	text-align: right;
}

p.paddingRight{
	padding-right: 5px;
}

table.head-info {}
table.head-info h2.margin-minus { margin-bottom: -3px; }
table.head-info p.rank { margin-bottom: 5px; }
table.head-info td.img { width: 80px; vertical-align: top; }
table.head-info td.img img.marginRight{ margin-right: 10px; }
table.head-info td.img img.marginLeft { margin-left: 8px; }
table.head-info td.img img.marginTop { margin-top: 7px; }
table.head-info td.valign { vertical-align: top; }
table.head-info img.user-control { margin-left: 8px; }

	table.head-info img.head-ava{
		margin-left: 0px !important;
		margin-right: 10px !important;
		margin-bottom: 10px;
	}

	table.head-info img.profy{
		border-color: #8d85b6;
	}
	
table.request {
	width: 100%;
	border: solid 1px;
}
	table.request th {
		background: gray;
		color: #fff;
		padding: 3px;
	}

	table.request td {
		padding: 3px;
	}

	table.request a.del-request{
		color: #f54f4f;

	}

/* главная страница */
#content-index {}
#content-index div.block { margin-bottom: 20px; }
#content-index div.h2 { border-bottom: 2px solid #e77918; font-size: 18px; line-height: 24px; }
#content-index div.h2 a { color: #333; text-decoration: none; }
#content-index div.h2 a:hover { color: #e77918; }
#content-index div.data { margin-top: 16px; }

#content-index div.data div.news-vip { float: left; width: 52%; }
#content-index div.data div.news-vip div.item { margin-bottom: 12px;}

#content-index div.header a { font-size: 16px; }

#content-index div.data div.news-text { float: right; width: 46%; }
#content-index div.data div.news-text div.item { margin-bottom: 12px; }

#content-index div.data div.articles div.item { margin-bottom: 12px; }

/* вкладки Открытие недели, ресторанный критик и отзывы о ресторанах на главной */

div.title-left, div.title-middle, div.title-right {
	width: 150px;
	border: 1px #ccc solid;
	padding: 3px  30px 3px 30px;
	font-size: 14px;
	padding: 3px  30px 3px 30px;
}

div.title-middle { margin: 0 7px 0 7px; }

div.title-left a, div.title-middle a, div.title-right a {
	color: #000;
	text-decoration: none;
}

div.orange-bg { background-color: #e77918; }
div.orange-bg a { color: #fff !important; text-decoration: none; }
div.main-subblock { min-height: 170px;}

#content-index div.data div.main-subblock div.main-opens-first img {
	margin: 0 10px 0 0;
}

div.main-opens img.main-opens-avatar { padding: 0 10px 5px 0; }


#content-index div.data div.main-subblock div.main-opens-first {
	width: 280px;
	padding-left: 30px;
	background: url(/s/pic/grey-border.jpg) top left repeat-y;
	min-height: 170px;
}


#content-index div.data div.main-subblock div.main-opens {
	padding-left: 20px;
}


/* всплывающее окно с ссылками */
#elements { height: 300px; overflow: auto; }
#elements a {
	display: block;
	float: left;
	width: 50%;
	text-decoration: none;
	font-size: 14px;
	margin-bottom: 5px;
}

#elements a span { border-bottom: 1px dashed; padding: 2px 3px; }
#elements a:hover span {}
#elements a.pushed span { background: #e77918; color: #fff; border-bottom: 1px solid; }

/* compose message*/
#pm-login { line-height: 32px; margin-left: 5px }
#elements a.pushed span { background: #e77918; color: #fff; border-bottom: 1px solid; }

/* сортировка страниц */
#sort-list { margin-left: 0 !important; list-style: none; }
#sort-list li { margin-bottom: 6px; cursor: move; border: 1px solid #f0f0f0; line-height: 30px; height: 30px; overflow: hidden; text-indent: 8px; }
#sort-list li.placeholder { background: #f2f2f2; height: 30px; line-height: 30px; }

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

img.del-link { vertical-align: middle; margin-left: 10px }
p.error-action { margin-bottom: 15px; margin-top: 10px }

a.del-belong { margin-left: 8px; }
div.entity-news { margin-top: 12px; }
div.entity-news img { margin: 0 6px 2px 0; }
div.entity-news a { color: #333; }

div.mng-guide { margin: 10px 8px 0 0; }

div.menu-note {
	text-indent: 6px;
	line-height: 36px;
	font-size: 16px;
	color: #80807f;
	width: 241px;
	height: 36px;
	overflow: hidden;
	position: relative;
	text-align: left;
}

#edit-note {
	position: absolute;
	top: 36px;
	left: 0;
	width: 241px;
	height: auto;
	background-color: #ecedef;
	z-index: 2;
	border-right: 2px solid #BFBFBD;
	border-bottom: 2px solid #BFBFBD;
}

#edit-note textarea { width: 220px; margin-left: 5px; }
#edit-note input { margin: 5px 0 5px 5px }

div.textareaHiddenDiv{
	position: absolute;
	left: -2000px;
	width: 642px;
	padding: 0;
	margin: 0;
	font: 13px/1.5em Helios, "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 13px;
	padding: 3px;
	border: 1px solid;
	vertical-align: baseline;
}
