body {
	margin: 0;
	padding: 7px;
	background-color: white;
	background-image: url(/themes/charm/img/temp/background.jpg);
	background-position: center top;
	background-repeat: repeat-y;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
}


/* шапка */
#header {
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	height: 70px;
	position: relative;
}

/* навигация по разделам */
#nav_main {
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	height: 32px;
	display: block;
	background-color: white;
	background-image: url(/themes/charm/img/temp/navb_back.gif);
	background-position: left top;
	background-repeat: repeat;
	position: relative;
	z-index: 100;
}

/* навигация по брендам */
#nav_brand {
	margin-left: auto;
	margin-right:auto;
	width: 800px;
	height: 34px; 
	background-color: white;
}
#nav_brand ul {
	list-style-type:none;
	margin: 0;
	padding: 0;
}
#nav_brand ul li {
	float: left;
	display: block;
	padding-right: 2px;
	height: 34px; 
}

#nav_brand ul li.last {
	padding-right: 0;
}
#nav_brand ul li a {
	display: block;
	width: 113px;
	height: 34px;
}
#nav_brand #brand_6 {
	width: 122px;
}
#nav_brand #brand_8 {
	width: 125px;
}
#nav_brand #brand_7 {
	width: 80px;
}
#nav_brand #brand_9 {
	width: 199px;
}
/* линия выделения закладки */
#liner {
	width: 800px;
	margin-left: auto;
	margin-right:auto;
	background-color: white;
	background-position: left top;
	background-repeat: repeat-x;
	height: 1px;
	font-size: 1px; /* хак для IE6 */
}
/* главная секция */
#content {
	vertical-align: top;
	margin-left: auto;
	margin-right:auto;
	margin-top: 0px;
	width: 800px;
	background-color: white;
	height: auto;
}

/* корпоративный раздел сайта */
#corporate {
	background-image: url(/images/corp/sideback.jpg);
	background-repeat: no-repeat;
	width: 800px;
}

/* левый столбец контентной области */
#left_col {
	width:220px;
	padding: 20px 10px;
	float:left;
}
#left_col h3 {
/* font-family: Impact, Arial, Helvetica, sans-serif; */
	font-family: Arial, Helvetica, sans-serif;
/*	color: #656565; */
	color: black;
	border-bottom: 1px dashed black;
	width: 100%;
	font-size: 16px;
	text-transform: uppercase;
}
/* унифицированное оформление блоков в левой колонке */
#subscribe_block, 
#polls_block,
#bn_block {
	width: 200px;
	padding-left: 5px;
	margin-bottom: 3em;
}


/* главная информационная область */
#center_col {
	float:right;
	width: 530px;
	padding: 10px;
	margin-bottom: 2em;
}

/* подвал */
#footer {
	clear: both;
	margin-left: auto;
	margin-right:auto;
	width: 800px;
	height: 24px;
	background-color: #ccc;
	background-image: url(/themes/charm/img/temp/footer_back.jpg);
	background-position: left top;
	background-repeat: no-repeat;	

	text-align: center;
	font-size:10px;
	line-height: 24px;
	position: relative;
}
#footer a:link,
#footer a:visited {
	color: #656565;
	text-decoration: none;	
}
#footer a:hover,
#footer a:active,
#footer a:focus {
	color: black;
	text-decoration: underline;	
}
/* копирайт */
#copyright {
}
/* ссылка на почту из футера */
#footer_m {
	position: absolute;
	left: 0;
	width: 150px;	
}
/* ссылка на форму входа из футера */
#footer_login {
	position: absolute;
	right: 0;
	width: 150px;	
}


/* одно-пикселечные счетчики */
#one_pixels {
	font-size: 0px;
}

/* зона спонсорских логотипов (исп. для конкурса Стань лицом сексихейр) */
#sponsor_zone {
	width: 764px;
	padding-left: 18px;
	padding-right: 18px;
}
#sponsor_zone a {
	border: none;
}

#sponsor_zone img {
	margin: 0 1px 10px 0;
	padding: 0;
	display: inline;
	vertical-align: middle;
}
#sponsor_zone img.last {
	margin: 0;
}

/* зона кнопок */
#buttons_zone {
	width: 800px;
	margin: 1em auto;
}

/* служебное меню */
#private_menu {
/*	width: 190px; */
	float:right;
	border: 1px black solid;
	font-size:smaller;
	background-color: white;
	padding: 10px;
}
#private_menu h3 {
	background-color: darkred;
	color: white;
	padding: 3px
}

/* админ-панель */
#adminpanel ul {
	margin-left:10px;
	padding-left:10px;
}

/* Форма поиска */
#search {
	position: absolute;
	right: 16px;
	top: 38px;	
}
/* изображение лупы */
#search img {
	vertical-align: middle;
}
/* строка ввода поискового запроса */
#search #search_query {
	height: 16px;
	vertical-align: middle;
	border: 0px;
	padding: 2px 5px;
	width: 120px;
}
/* кнопка сабмита (картинка) */
#search #search_submit {
	vertical-align: middle;
	width: 15px;
	height: 14px;
}

/* основная нав. "домом", "карта", "написать" */
#generalnav {
	position: absolute;	
	right: 16px;
	top: 5px;
	height: 20px;
}
#generalnav a {
	display: block;
	float: left; 
	margin-right: 25px;
}
#generalnav img {
	cursor: pointer;
	/* hack opera 9. пропадает курсор-рука при картинках-ролловер */
}

/* Информеры на главной странице */
#main_blocks {
	height:260px;
	padding: 0;
}
#main_blocks h3 {
	background-image: url(/themes/charm/img/temp/main_header.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 29px;
	line-height:29px;
	font-size: 16px;
	text-align: center;
	margin-bottom: 3px;
	margin-top: 6px;
}
#main_blocks .block {
	height: 198px;
	background-image: url(/themes/charm/img/temp/main_body.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	margin-bottom: 10px;
	padding: 10px;
	position: relative;
	font-size: 12px;
}
#main_blocks .block ul li {
	list-style-image: url(/themes/charm/img/marker_main.gif);
	margin-bottom: 0.3em;
}
#main_blocks .block ul li a:link,
#main_blocks .block ul li a:visited {
	color: #111;
	text-decoration: none;
}
#main_blocks .block ul li a:hover,
#main_blocks .block ul li a:active,
#main_blocks .block ul li a:focus {
	color: black;
	text-decoration: underline;
}
#main_news, #main_photo, #main_action, #main_events, #main_sellers, #main_sellers2, #main_faces, #spbik, #main-inet {
	width:182px;
	height:260px;
	float: left;
	display: inline;
	margin-left: 14px;
}
/* первый информер */
#main_news {
	margin-left: 15px;
}
/* заверщаюший информер */
#main-inet {
	margin-right: 15px; 
}
#spbik {
	margin-right: 15px; 
}

#main_blocks ul {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 10px;
	padding-left: 10px;
}

/* большой баннер 800х250 */
#main_bigbn {
	width:800px;
	height:250px;
margin-top: 10px;
} 

/* блок новостей на главной */
#main_news {
}

/* блок случайного фото */
#main_photo,
#main_faces {
	text-align: center;
}
#main_photo .thumbs {
	margin-top:2em;
}
#main_faces .thumbs {
	margin-top:1em;
}
#main_photo img.thumb,
#main_faces img.thumb {
	border: 1px black solid;
}
#main_photo div.cat a:link,
#main_photo div.cat a:visited,
#main_faces div.cat a:link,
#main_faces div.cat a:visited {
	color: #333;
	font-size: 10px;
}
#main_photo div.cat a:hover,
#main_photo div.cat a:active,
#main_photo div.cat a:focus,
#main_faces div.cat a:hover,
#main_faces div.cat a:active,
#main_faces div.cat a:focus {
	color: black;
}

/* блок салона недели */
#main_sellers p.title,
#main_sellers2 p.title,
#main_faces p.title {
	font-size: larger;
	font-weight: bold;
	text-align: center;	
	margin-top: 0;
}
#main_faces p.title {
	font-size: small;
}
#main_sellers p.title a:link,
#main_sellers2 p.title a:link,
#main_sellers p.title a:visited,
#main_sellers2 p.title a:visited,
#main_faces p.title a:link,
#main_faces p.title a:visited {
	color: #333;
}
#main_sellers p.title a:hover,
#main_sellers2 p.title a:hover,
#main_sellers p.title a:active,
#main_sellers2 p.title a:active,
#main_sellers p.title a:focus,
#main_sellers2 p.title a:focus,
#main_faces p.title a:hover, 
#main_faces p.title a:active,
#main_faces p.title a:focus {
	color: black;	
}

/* логотип салона */
#main_sellers img.logo,
#main_sellers2 img.logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* блок календаря событий */
#main_events {
}

/* баннеры спецакций на главной */
#main_actionbn {
	height: 85px;
/*	border: 1px orange solid; */
	vertical-align: middle;
	padding-top: 6px;
}

#actions_bn1, #actions_bn2 {
/*	display: inline; */
	float: left;
	width: 376px;
	height: 75px;
/*	border: 1px red solid; */
}
#actions_bn1 {
	padding-right: 8px;
	padding-left: 16px;
}
#actions_bn2 {
	padding-left: 8px;
	padding-right: 16px;
}


/* высплывающая подсказка (неработает в Opera) */
a.tooltip {
	color:#c00;
}
a.tooltip b {
	display:none;
}
a.tooltip:hover {
	border:0; 
	position:relative; 
	z-index:500; 
	text-decoration:none;
	
	height: 1%;		/*  хак для IE6 */
}
a.tooltip:hover b {
	display:block; 
	position:absolute; 
	top:20px; 
	left:-25px; 
	padding:5px; 
	font-weight:normal; 
	color:#000; 
	border:1px solid #888; 
	background:#ffc;
	width:150px;
	text-decoration: none;
}
a.tooltip:hover b em {
	position:absolute; 
	left:20px; 
	top:-6px; 
	width:11px; 
	height:6px; 
	background: transparent url(/themes/charm/img/temp/tooltip.gif) 0 0; 
	display:block; 
	font-size:1px;
}
a.tooltip span {
	display: block;
}

/* хлебные крошки */
#breadcrumb {
	margin-bottom: 1em;
	font-size: small;
	font-weight: bold;
}

/* навигация C (слева) */
#sidemenu {
	font-family: Impact, Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #8F8F8F;
	margin-left: 10px;
}
#sidemenu ul {
	padding: 0 0 0 15px;
	margin: 0 0 2em 0;
}
#sidemenu ul ul {
	margin-bottom: 0;
}
/* хак для FF (расстояние от маркеров до текста) */
#sidemenu ul, x:-moz-any-link {
	padding-left: 20px; 
}
#sidemenu li {
	padding: 0 0 0 5px;
	list-style-image: url(/images/corp/star.gif);
	min-height: 23px;
	_height: 23px;
	vertical-align: top;
}
/* хак для FF */
#sidemenu li, x:-moz-any-link {
	padding-left: 0; 
}

/* выбранныей пункт бокового меню */
#sidemenu li.current {
	color: #595959;	
	list-style-image: url(/images/corp/star_current.gif);
}

/* второй уровень */
#sidemenu li li {
	list-style-image: url(/images/corp/marker2.gif);
	font-size: 13px;
/*	font-family: Arial, Helvetica, sans-serif; */

}
#sidemenu li li.current {
	list-style-image: url(/images/corp/marker2.gif);
}

#sidemenu a:link,
#sidemenu a:visited {
	color: #8F8F8F;
	text-decoration: none;
}
#sidemenu a:hover,
#sidemenu a:active,
#sidemenu a:focus {
	color: black;
	text-decoration: none;
}

/* навигация по категориям */
.cat_menu {
}
/* дополнительная навигация в навигации по категориям. исп. в "Где купить" */
.cat_submenu {
	font-size: x-small;
	margin-bottom: 0.5em;
}

/* СПЕЦИАЛЬНЫЕ */

/* Блок Подписки */

#subscribe_block input {
	width: auto;
}
#subscribe_block input#name,
#subscribe_block input#email {
	width: 100%;	
}
#subscribe_block button {
	margin: 5px 0;
}

/* Блок Календаря */
#left_col #calendar_block {
	width: 197px;
	height: 257px;
	background-image: url(/images/corp/calback.png);
	background-repeat: no-repeat;
	margin-left: 3px;
	font-size: 10pt;
	padding: 10px;
}
#calendar_block .day {
	width: 23px;
}
/* название месяца */
#calendar_block div.month_title {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1em;
}
/* календарная таблица */
#calendar_block table.month {
	width: 100%;
	border-collapse: collapse;
}
#calendar_block table.month td {
	text-align: center;
	padding: 4px;
}

/* оформительная лини-разделитель */
#calendar_block .separator {
	height: 1px;
	line-height: 0;
	overflow: hidden;	/* хак  IE6 */
	background-color: white;
}


/* внетренне оформление блока календаря */
#calendar_block .daynames {
	font-size: 11px;
	font-weight: bold;
	color: #3D3D3D;
}

#calendar_block .day {
	color: white;
	font-size: 12px;
	font-weight: bold;
}
#calendar_block .day a:link,
#calendar_block .day a:visited {
	/*text-decoration: none;*/
	color: white;
}
#calendar_block .day a:hover,
#calendar_block .day a:active,
#calendar_block .day a:focus {
	text-decoration: underline;
	color: white;
}

#calendar_block .weekend {
	color: #FFF568;
}
#calendar_block .weekend a:link,
#calendar_block .weekend a:visited {
	/*text-decoration: none;*/
	color: #FFF568;
}
#calendar_block .weekend a:hover,
#calendar_block .weekend a:active,
#calendar_block .weekend a:focus {
	text-decoration: underline;
	color: #FFF568;
}

#calendar_block .currentday {
	background-color: #cd5c5c;
	color: white;
	border: 1px #ccc solid;
}
#calendar_block .currentday a:link,
#calendar_block .currentday a:visited {
	/*text-decoration: none;*/
	color: white;
}
#calendar_block .currentday a:hover,
#calendar_block .currentday a:active,
#calendar_block .currentday a:focus {
	text-decoration: underline;
	color: white;
}

/* выделение дня с событием */
#calendar_block .event {
	font-weight: bold;
/*	background-color: #9ee79e; */
}
#calendar_block .event a:link,
#calendar_block .event a:visited {
	color: black;
	text-decoration: none;
	border: 1px solid #aaa; 
	_border: none;  	/* хак для IE. проблемы с блоком колендаря */
}
#calendar_block .event a:hover,
#calendar_block .event a:active,
#calendar_block .event a:focus {
	color: black;
	text-decoration: underline;
	border: 1px solid #aaa;
	_border: none;  	 /* хак для IE. проблемы с блоком колендаря */
}

/* Блок голосования */

/* вопрос голосования */
#polls_block .vote_quest {
	font-weight: bold;
}
/* поле с вариантами ответов */
#polls_block .vote_variants,
#polls_block .vote_results {
	margin-bottom: 1em;
	font-size: smaller;
}
/* для случая отключенного графического бара */
.vote_textbar {
	background-color: darkred;
	line-height: 0.5em;
}
/* "вы уже проголосовали" */
.vote_already {
	font-size: smaller;
	font-weight: bold;
	font-style: italic;
	color: green;	
}



/* блок календаря на главной */
#main_events .calendar_legend {
	display: none;
}

#main_events #calendar_block .day,
#main_events #calendar_block .day a:link,
#main_events #calendar_block .day a:visited,
#main_events #calendar_block .day a:hover,
#main_events #calendar_block .day a:active,
#main_events #calendar_block .day a:focus {
	color: black;
}
#main_events #calendar_block .weekend,
#main_events #calendar_block .weekend a:link,
#main_events #calendar_block .weekend a:visited,
#main_events #calendar_block .weekend a:hover,
#main_events #calendar_block .weekend a:active,
#main_events #calendar_block .weekend a:focus {
	color: #daa520;
}

#main_events #calendar_block .currentday {
	background-color: #cd5c5c;
	color: white;
	border: 1px #ccc solid;
}
#main_events #calendar_block .currentday a:link,
#main_events #calendar_block .currentday a:visited,
#main_events #calendar_block .currentday a:hover,
#main_events #calendar_block .currentday a:active,
#main_events #calendar_block .currentday a:focus {
	color: white;
}

#main_events #calendar_block .separator {
	height: 1px;
	line-height: 0;
	overflow: hidden;	/* хак  IE6 */
	background-color: black;
}

/* ----------------- !!!! */
	
/* Общие стили для календаря */
#calendar div.nav-prev {
	float: left;
}
#calendar div.nav-next {
	float: right;
}
#calendar div.month_title,
#calendar div.year_title,
#calendar div.week_title {
	margin-bottom: 1em;
	text-align: center;
	font-weight: bold;
}
#calendar table.month {
	width: 100%;
/*	border-collapse: collapse; */
}
#calendar table.month td,
#calendar table.month th {
	text-align: center;
	border: 1px white solid;
}
#events_list {
	background-color: #eee;
	border-top: 1px gray solid;
	padding: 1em;
	margin-top: 1em;
}
ul.eventlist {
	list-style-image: url(/themes/charm/img/temp/arrow_black.gif);
	text-align: left;
}

/* календарное событие (подробно) */
#calendar_event hr {
	color: black;
	background-color: black;
	height:3px;
	border: none;
}

/* внетренне оформление блока календаря */
#calendar .daynames {
	font-weight: bold;
	font-size: 11px;
	background-color: #e1e1e1;
}

#calendar .weeknumber {
	font-size: 11px;
	background-color: #e1e1e1;
}

#calendar .day {
	color: black;
	font-size: 12px;
	font-weight: bold;
	
	background-color: #f5f5f5;
	margin: 3px;
	padding: 5px 0;
}
#calendar .day a:link,
#calendar .day a:visited {
	color: black;
	width:100%;
	height: 100%;
	display: block;
}
#calendar .day a:hover,
#calendar .day a:active,
#calendar .day a:focus {
	text-decoration: underline;
	color: black;
	width:100%;
	height: 100%;
	display: block;
}
/* специальные стили для режима обзора года и недели */
#calendar.calendar_year .day,
#calendar.calendar_week .day {
	font-weight: normal;
}
#calendar.calendar_week .day a {
	display: inline;
	width: auto;
	height: auto;
}

#calendar .weekend {
	color: orange;
}
#calendar .weekend a:link,
#calendar .weekend a:visited {
	color: orange;
}
#calendar .weekend a:hover,
#calendar .weekend a:active,
#calendar .weekend a:focus {
	text-decoration: underline;
	color: orange;
}

#calendar table.month td.currentday {
	border: 2px #cd5c5c solid;
	color: #cd5c5c;
	font-style: italic;
}
#calendar .currentday a:link,
#calendar .currentday a:visited {
	color: white;
}
#calendar .currentday a:hover,
#calendar .currentday a:active,
#calendar .currentday a:focus {
	text-decoration: underline;
	color: white;
}



/* выделение дня с событием */
#calendar .event,
#calendar.calendar_year .event {
	font-weight: bold;
}
#calendar .event a:link,
#calendar .event a:visited {
	color: white;
	text-decoration: none;
	_border: none;  	/* хак для IE. проблемы с блоком колендаря */
}
#calendar .event a:hover,
#calendar .event a:active,
#calendar .event a:focus {
	color: white;
	text-decoration: none;
	_border: none;  	/* хак для IE. проблемы с блоком колендаря */
}

/* шапка и подвал календарных страниц */
#calendar_header {
	margin-bottom: 2em;
}
#calendar_footer {
	margin-top: 1em;
	text-align: center;
}
.calendar_legend {
	font-size: smaller;
}
/* пример цвета для легенды */
.calendar_legend div.color {
	height:7px;
	width:7px;
	font-size:1px;
	margin:3px;
	float: left;
}

/* иллюстрация-флаерс для расписания семинаров */
.seminar_flyer {
	text-align: center;	
}
.seminar_flyer img {
	border: 1px solid #666666;
}

/* отзывы (исп. в обучение */
blockquote.review {
	background-color: #fffffa;
	padding: 1em 1em 1em 3em;
	border: 1px dashed #eee;
}


/* Новости (PT) ========= */
/* Список новостей в секции "Новости" */
dl.news_list {
	padding-top: 1em;
}
dl.news_list dd {
	margin-bottom: 1em;
}

/* дата публикации новости в display_news */
.news_date {
	font-size: smaller;
	color: #595959;
}

/* фото-иллюстрации в новостях */
.news_illustr {
	float: right;
	width: 150px;
	padding: 15px 15px 0 15px;
	margin: 0 0 10px 10px;
	background-color: #eee;
}
.news_illustr img {
	border: 1px black solid;
	margin-bottom: 15px;
}
.news_illustr p.detailed {
	margin-bottom: 15px;
}
.news_illustr p.detailed img {
	margin: 0;
	border: none;
}

/* иконка RSS */
#rss_icon {
	float: right;
	font-size:10px;
	color: #656565;
	text-align: right;
	margin-top: 20px;
}
#rss_icon a:link,
#rss_icon a:visited {
	color: #656565;
	text-decoration: none;
}
#rss_icon a:hover,
#rss_icon a:active,
#rss_icon a:focus {
	color: black;
	text-decoration: underline;
}

/* Рейтинги (исп. фотогаллерея, видео */
.ratings {
	font-weight: bold;	
}
.ratings_count {
	font-weight: normal;
	font-size: smaller;
}
.ratings_form {
	font-size: smaller;
}

/* Где купить? (PT) ========= */
/* Список новостей в секции "Где купить?" */
dl.seller_list {
	padding-top: 1em;
	margin-left: 2em;
}
dl.seller_list dd {
	margin-bottom: 1em;
}
/* регион продавца */
.seller_region {
	font-size: smaller;
	color: #595959;
}
/* адрес продавуа */
.seller_address {
}
/* метро продавца */
.seller_metro {
	font-size: small;
	font-weight: bold;
	color: #b22222;
}
/* веб-сайт продавца */
.seller_web {
	margin-top: 2em;
}
/* подробная информация о продавце */
.seller_info {
	font-style: italic;
	margin-top: 2em;	
}
/* информация что именно делают в этом салоне-магазине */
ul.seller_features {
	list-style: none;
}
ul.seller_features img {
	vertical-align: middle;
	margin-left: 10px;	
}

/* информация чо именно делают в этом салоне-магазине (для обзорной страницы) */
div.seller_minifeatures {
	float: right;
	margin-right: 50px;
	height: 34px;
}

/* Сотрудники (PT) ======== */

#team_member {
	border: 1px gray solid;
	height: 240px;
	margin-top: 5em;
	margin-bottom: 2em;
}
#team_photo {
	background-color: #efefef;
	width: 135px;
	height: 170px;
	padding: 35px;
	float: left; 
}
#team_card {
	width: 295px;
	padding-left: 1em;
	padding-right: 1em;
	float:left;
}
/* ФИО */
#team_member h2 {	
	margin-top: 35px;
	color: maroon;
}
#team_job {
	font-weight: bold;
	margin-bottom: 2em;
}
#team_contact1 {
	font-size: smaller;
}
#team_contact2 {
	color: black;
	font-weight: bold;
}



/* Статьи (PT) ======== */
.pub_thumb {
	float: left;
	margin-bottom: 1em;
}
.pub_thumb img {
	border: 1px black solid;
}
.pub_summary {
	float: right;
	width: 410px;
	margin-bottom: 1em;
}

/* Скачать (PT) ======= */

.download {
	border: 1px solid gray;
	height: 2em;
	width: 100%;
}
.download_header {
	width: 290px;
	font-size: larger;
	text-align: center;
}
.download_img {
	text-align: right;
	padding: 5px;
}
.download_link {
	width: 390px;
	font-size: larger;
}
.download_link a {
	font-weight: bold;
}
.download_fsize {
	font-size: smaller;
}


/* Фотогаллерея (PT) ====== */

/* обзор фотографий */
#gallery_overview {
	background-image: url(/images/corp/contback.jpg);
	background-repeat: no-repeat;
	height: 528px;
	width: 528px;
	margin-left: auto;
	margin-right: auto;	
}

/* превью фотографии (overview) */
.gallery_preview,
.faces_preview {
	text-align: center;
	width: 152px;
	height: 152px;
	padding: 11px;
	_height:1%;				/* хак IE6 ?! */
	_width:1%;
	border-bottom: 2px white solid;
	border-right: 2px white solid;
}
.gallery_preview div,
.faces_preview div {
	text-align: center;
	height: 152px;
	width: 152px;
	background-color: white;	
	display: table-cell;
	vertical-align: middle;	
}
.gallery_preview div img,
.faces_preview div img {
	margin-top: expression((147-height)/2 + "px"); /* хак для IE */
}

/* фотография (при отдельном просмотре) */
.gallery_view {
	background-image: url(/images/corp/photoback.jpg);
	background-repeat: repeat;
	text-align:center;
	padding: 35px 17px 20px 17px;
	position: relative;
}
.gallery_view #gallery_frame {
	margin-left: auto;
	margin-right: auto;
	border: 11px white solid;
	margin-bottom:2em;
	
}
.gallery_view img {
	background-color: white;
	padding: 5px;
	border: 2px #C1C1C1 solid;	
}

/* комментарий (описание) к фотографии */
.gallery_comment {
	margin-bottom:2em;
	font-weight: bold;
	font-size: 12px;
}

/* Видеотека (PT) ================== */

/* обзор видео */
#video_overview {
	
}

/* превью видео */
.video_preview {
	width: 200px;
	height: 270px;
	background-image: url(/images/corp/videoback.gif);
	background-repeat: no-repeat;
	
	padding-left: 21px;
	padding-right: 21px;
	margin-right: 23px;
}
.video_preview img {
	width: 200px;
	height: 138px;	
	border: none;
}

/* заголовок-ссылка в обзоре видео */
.video_summary {
	padding: 2px;
}
.video_summary p {
	margin: 0;
	font-size: smaller;
}

/* описание видео */
.video_descr {
}
/* ссылки на скачку */
.video_links {
	float: right;
	width: 40%;
	
	font-size: smaller;
	text-align: right;
}
div#low_video {
	text-align:center;
}
div#high_video {
	text-align: center;
}


/* Стань лицом (конкурс) PT */
/* стили основные из Gallery PT */

/* картинка номинации */
div.gallery_view div.faces_nomination {
	position: absolute;
	top: 1em;
	right: 2em;
	text-align: right;
}
div.gallery_view div.faces_nomination img {	
	background-color: transparent;
	border: none;
	padding:0;
}
/* счетчик голосов */
div.gallery_view .faces_votes {
	font-weight: bold;
}

/* ник-нейм участника и город (при подробном просмотре) */
div.gallery_view .faces_title {
	font-weight: bold;
	font-size: larger;
	color: darkred;
	margin: 0 0 0.3em 0;
	text-align: left;
}
div.gallery_view .faces_info {
	font-weight: bold;
	text-align: left;
	margin: 0 0 1.5em 0;
}
/* обзор фотографий конкурса */
#faces_overview {
	background-image: url(/images/corp/facesback.jpg);
	width: 528px;
	margin-left: auto;
	margin-right: auto;	
	min-height: 528px;	/* минимум поле 3x3 фото */
}
/* превью фотографии конкурса (overview) */
.faces_preview {
	height: 198px; /* 182px*/	
	position: relative;
}

/* карта участника конкурса с именим, городом и возрастом (в обзорном просмотре) */
div.faces_card {
	display: block;
	height: 46px;
	background-color: #eee;
}
div.faces_card a:link,
div.faces_card a:visited {
	text-decoration: none;
	color: darkred;	
}
div.faces_card a:hover,
div.faces_card a:active,
div.faces_card a:focus {
	text-decoration: underline;
	color: red;	
}
div.faces_card .faces_title {
	font-weight: bold;
	color: darkred;
	margin: 0;
}
div.faces_card .faces_info {
	font-size: smaller;	
	margin: 0;
}
/* микро-кнопка "голосовать" */
div.faces_card .faces_voteup {
	height: 12px;
	width: 20px;
	float: right;
	margin-right: 5px;
	margin-bottom: 5px;
	
	border: 1px #888 solid;
}
div.faces_card .faces_voteup form {
	display: inline;
}
div.faces_card .faces_voteup input.voteup {
	font-size: smaller;
	width: 10px;
	height: 10px;	
}
/* количество голосов */
div.faces_card .faces_voteup_count {
	font-size: smaller;	
	text-align: left;
	margin: 0;
	padding-left: 5px;
	color: #888;
}

/* иконки "1/2 финала", "финал", "победитель" (использовать div нельзя) */
span.faces_icons {
	display: block;
	position: absolute;
	width: 43px;
	height: 43px;
	right: 17px;
	bottom: 60px;
}

/* комментарий к фотографии-участнику */
.faces_comment {
	margin-bottom:2em;
	font-size: 12px;	
	font-style: italic;
}
/* дополнительная информация к фото (мастер, салон) */
.faces_addinfo {
	text-align: center;
	font-size: smaller;	
}
/* таблица информации для жюри **/
table.jury_info {
	width: 100%;
}
table.jury_info th {
	text-align: right;
	width: 50%;
	padding: 5px;
}
table.jury_info td {
	text-align: left;
	padding: 5px;
	width: 50%;
}

/* специальное оформление формы */
form#faces_new_form .form_comm {
	margin: 0;
	color: gray;
}



/* специальное оформление стр. конкурса */
table.faces_decor {
	margin-top: 2em;
	margin-bottom: 2em;
}
a.faces_decor {
	font-size: x-large;
	font-weight: bold;
	display: block;
}
table.faces_sponsors td {
	margin: 0;
	padding: 0;
	padding-right: 20px;
	min-height: 100px;
	height: 100px;
	_height: 100px;		/* хак IE */
}
table.faces_sponsors td.last {
	padding: 0;
}

/* Голосования (результаты и прочее) */
#poll_form .vote_quest {
	font-weight: bold;	
}


/* контакты */
.contact_map {
	width:300px; 
	height: 200px; 
	float: left; 
	margin-bottom: 1em;
}
.contact_map iframe {
	background-image: url(/themes/charm/img/loader.gif);
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px black solid;
}
.contact_info {
	float:right; 
	width: 220px; 
}
.contact_metro {
	font-size: small;
	font-weight: bold;
	color: #b22222;
}
.contact_metro img {
	vertical-align: middle;
}
.contact_phone {
	font-size: larger;
	margin-top: 1em;
	margin-bottom: 1em;
}
/* электронная почта */
.contact_m {
	background-image: url(/themes/charm/img/temp/i_mail.gif);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 30px;
	font-size: larger;
}


/* ДОПОЛНИТЕЛЬНЫЕ */

/* основное оформление контента ======================================= */
#corporate h1,
#corporate h2 {
	font-family: Impact, Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #595959;
}
#corporate h1 {
	font-size: 2.3em;
/*	font-size:30px; */
	margin-top: 20px;
	margin-bottom: 20px;
}
#corporate h2 {
	font-size: 1.4em;
/*	font-size: 18px;  */
	margin-top: 2em;
}

/* Иллюстрации */
/* иллюстрация статьи слева */
#corporate img.illustr_left {
	float: left;
	margin: 1em 1em 1em 0;
	border: 1px black solid;
}
/* иллюстрация статьи справа */
#corporate img.illustr_right {
	float: right;
	margin: 1em 1em 1em 0;
	border: 1px black solid;
}

/* иллюстрации по центру (область 450 пикселей) */
.illustr1,
.illustr2,
.illustr3 {
	width: 450px;
	margin: 10px auto 10px auto;
	clear: both;
	text-align:center;
}
/* два изображения по 220 px */
.illustr2 img {
	width: 220px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	
}
.illustr2 img.last {
	margin-right: 0px;
}
/* три изображения по 145 px */
.illustr3 img {
	width: 145px;
	margin-right: 7px;
	float: left;
	margin-bottom: 10px;
}
.illustr3 img.last {
	margin-right: 0px;
}

.illustr1 img,
.illustr2 img,
.illustr3 img {
	display: relative;
}

/* черта разделитель*/
#corporate hr {
	width: 100%;
	height: 1px;
	background-color: gray;
	color: gray;
	border: none
}
/* цитата (исп. в миссии) */
#corporate blockquote {
	font-style: italic;
}

/* списки выделенных определений (имп в tendskin, tca) */
#corporate dl.features dt {
	font-size: 14px;
	margin-bottom: 1px;
	font-weight: bold;
	color: darkred;
}
#corporate dl.features dt strong {
	color: #A36B42;
}
#corporate dl.features dd {
	margin-bottom: 1em;
}


/* регулярные ссылки */
/*#corporate #center_col a:link {
	color: #DE0032;
}
#corporate #center_col a:visited {
	color: #961A8B;
}
#corporate #center_col a:hover,
#corporate #center_col a:active,
#corporate #center_col a:focus {
	color: darkred;
}*/

/* подписи под статьями (исп. в "публикации" и в отзывах) */
p.sign {
	text-align: right;
	font-style: italic;	
}

/* многоколоночный вывод в обзорах pubtypes */
.article_column {
	left: 1px;
	float: left; 
	vertical-align: top;
}

/* ссылки "подробнее" */
.detailed {
	font-weight: bold;
	font-size: 12px;
	text-align: right;
	margin: 0px;	
	color: black;
}
#main_blocks .detailed {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.detailed img {
	vertical-align: middle;
}
.detailed a:link,
.detailed a:visited {
	color: black;
	text-decoration: none;
}
.detailed a:hover,
.detailed a:active {
	color: black;
	text-decoration: underline;
}

/* ссылки "предыдущий" - "следующий" */
.nextprev {
	font-size:small;
	font-weight: bold;
	height: 1em;
}
.nextprev .prev {
	float:left;
}
.nextprev .next {
	float:right;
}

/* счетчик просмотров (фотогаллерея, публикации) */
.views_count {
	font-size: smaller;
	font-style: italic;
}

/* панели кнопок для редакторов */
.editor_toolbar img {
	vertical-align: middle;
}

/* горизонтальное ссылочное меню */
.links_toolbar {
	font-size: smaller;
	font-weight: bold;
}


/* сообщение об ошибке */
.error {
	color: #A52A2A;
	font-weight: bold;
}
/* сообщение об успехе (например удачная обработка формы) */
.all_ok {
	font-weight: bold;
	color: darkgreen;
}


/* список семинаров (яркая ссылка, под ней небольшой комментарий, отспуп между элементами списка) */
ul.nicelist li {
	margin-bottom: 1em;	
}
ul.nicelist a {
	display: block;
	font-weight: bold;
}

/* Электронные формы */
form.eforms .form_req {
	color: #E81C2A;
	font-weight: bold;
}
form.eforms .form_long {
	width:auto;
	text-align:left;
}
form.eforms fieldset {
	background-image: url(/images/corp/photoback.jpg);
}
form.eforms legend {
	border:1px black solid;
	background-color: white;
	font-weight:bold;
}
form.eforms label {
	width: 175px;
	text-align: right;
	font-weight: bold;	
}
form.eforms textarea {
	/* width: 348px; */
}
form.eforms input {
	width: 300px;
}
form.eforms hr {
	margin:0;
	padding:0;
	height:1px;
	background-color: #314650;
	color: #314650;
	border: 0;
}
form.eforms table {
	border-collapse: separate;
}
form.eforms th {
	text-align:right;
	vertical-align: top;
}

.form_comm {			/* используется не только в .eforms */
	font-size:smaller;
}
form.eforms .form_comm {
	margin: 0;
	color: gray;
}

/* вывод списка ошибок в заполнение формы (исп. в конкурсе "Стань лицом SexyHair" */
#form_errors {
	border: 1px solid #999999;
	border-top: 5px solid darkred;
	margin-bottom: 1em;
	padding: 1em;
	background-color: #ffcccc;
	background-image : url(/themes/charm/img/error.gif);
	background-position: 99% 9%;
	background-repeat : no-repeat;
	color: darkred;
}
#form_errors div {
	font-weight: bold;
	color: black;
	margin-bottom: 0.5em;
}

/* пейджер (исп в articles, ebulletin) */
.pager {
	
}

/* табличные данные ================== */
.tab_data {
	border-collapse: collapse;
	width: 100%;
	font-size: smaller;
}
.tab_data caption {
	font-size:larger;
	text-align: center;
	font-weight: bold;
}
.tab_data th {
	border: 1px #999 solid;
	padding: 5px;
	color: black;
	background-color: #c7c7c7;
}
.tab_data th a:link,
.tab_data th a:visited {
	color: black;
}
.tab_data th a:hover,
.tab_data th a:active {
	color: black;
}
.tab_data td {
	padding: 5px;
	border: 1px #999 solid;
}
.tab_data td.left {
	text-align: left;
}
.tab_data td.center {
	text-align: center;
}
.tab_data td.right {
	text-align: right;
}
/* обозначение цены */
.tab_data td.p {
	text-align: center;
	font-weight: bold;
	color: #700001;
}

/* исп. в оформление календаря */
.tab_data td.date {
	width: 55px;
	text-align: center;
}
.tab_data td.weekday {
	width: 50px;
	text-align: center;
}
.tab_data td.name {
	width: 320px;
	
}


/* вертикальная талица данных (вакансии, события) */
.tab_vert {
	border-collapse: collapse;
	width: 100%;
	font-size: small;
}
.tab_vert th {
	padding: 5px;
	color: #656565;
	vertical-align: top;
	font-weight: normal;
	text-align: left;
}
.tab_vert th a:link,
.tab_vert th a:visited {
	color: black;
}
.tab_vert th a:hover,
.tab_vert th a:active {
	color: black;
}
.tab_vert td {
	padding: 5px;
}
.tab_vert p {
	margin: 0 0 1em 0;
}

/* TABBER. Для вывода закладочной навигации */

/* список закладок (навигация по закладкам) */
div.tabber ul {
	padding: 0;
	margin: 0; 
}
div.tabber ul li {
	list-style: none;
	float: right;
	display: block;
	text-align: center;
	padding-top: 10px;	/* хак для IE6 */
	line-height: 1.6em;
}
div.tabber ul li a:link,
div.tabber ul li a:visited {
	padding:0pt 0.5em;
	display: block;
	color: white;
	text-decoration: none;
	color: #A0A0A0;
	background-color: rgb(240, 240, 240);
	
	border: 1px #A0A0A0 solid;
	border-bottom: none;
}
div.tabber ul li a:hover,
div.tabber ul li a:active,
div.tabber ul li a:focus {
	background-color:#BBBBBB;
	color:#FFFFFF;
	text-decoration: underline;
}
div.tabber ul li.current a:link,
div.tabber ul li.current a:visited {
	color:#990000;
	border: 1px #990000 solid;
	border-bottom: none;
	background-color: white;
	
	margin:-3px 1px -1px -1px;
}
div.tabber ul li.current a:hover,
div.tabber ul li.current a:active,
div.tabber ul li.current a:focus {
	color:#990000;
	border: 1px #990000 solid;
	border-bottom: none;
	background-color: white;
	text-decoration: underline;
	
	margin:-3px 1px -1px -1px;
}

/* закладка (с контентом) */
div.tabber div.tab { 
	clear: both;
	padding: 29px;
	border: 1px gray solid;
	display: none;
}
/* закладка по-умолчанию. сразу видна */
div.tabber div.tab#tab_default {
	display: block;
}


/* малый шрифт */
.smalltext {
	font-size: smaller;
}

/* яркое выделение */
.supered {
	color: #A52A2A;
	font-weight: bold;
}


/* TEND SKIN (в будушем будет отделен) */
#tendskin_logo {
	float: left;
}

#tendskin_jar {
	float: right;
}

/* кнопка купить */
#tendskin_buy {
	text-align: center;	
	padding-bottom:2em;
}

/* Dennis bernard TCA (в будушем будет отделен) */
#tca_logo {
	float: left;
	width: 80px;
	margin: 0 1em 1em 0;
	
}

#tca_jar {
	float: right;
}

/* кнопка купить */
#tca_buy {
	text-align: center;	
	padding-bottom:2em;
}


/* РЕЖИМ РЕДАКТИРОВАНИЯ */

.mceEditor {
	clear: both;
	width: 100%;
}

/* стандартные стили оформления форм */
.xar-form-input-wrapper {
	clear: both;
	margin-bottom: 1em;
}

.xar-form-label {
	font-weight: bold;
}

.xar-form-input-wrapper label.xar-form-label {
	width: 40%;
	float: left;	
	display: block;
}
.xar-form-input-wrapper input {
}

.xar-form-input-wrapper-after {
	width: auto;
	padding-left: 33%;
	margin-bottom: 7px;
	clear: both;
}

.xar-form-container-after {
	clear: both;
	width: 100%;
}

.xar-form-textareamedium,
.xar-form-textareasmall,
.xar-form-textarealarge,
.xar-form-textlong {
	width: 100%;
}

/* администрирование Articles */

/* предпросмотр публикации */
div.articles_preview {

}