* {margin:0px; padding:0px;}
body {background-color:#fff; font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:13px; color:#1C1C1C;}

/* Реклама */
.advertisement	{margin:0; padding:10px 0; height:90px; background-color:#DAEFFF; display:table; width:100%;}
.advertisement .td1,
.advertisement .td3	{display:table-cell; width:1%; vertical-align:middle;}
.advertisement .td2	{display:table-cell; width:98%;}

.advertisement .adv	{width:13px; height:66px; border:0; padding:0 5px;}
.advertisement .banners	{display:table; width:100%;}
.advertisement .banner	{display:table-cell; text-align:center; padding:0 5px;}
.advertisement .banner img	{border:1px solid #006FC5;}

/* Ссылки на начальной странице и ссылки управления */
#top	{margin:10px 20px;}
#top .lnk, #top .lnkr, #top .lnkr1	{margin:5px 4% 5px 0; white-space:nowrap; float:left;}
#top .lnkr, #top .lnkr1	{float:right; margin-right:0px;}
#top .lnkr	{margin-bottom:20px;}
#top .img img {position:absolute; width:16px; height:16px; border:0;}
#top .txt{position:relative; margin-left:22px; top:1px; color:#1E3C11;}
#top .txt a	{color:#1E3C11;}

/* Начальная страница */
/* Блоки начальной страницы */
.c11, .c21, .c31{display:table-cell; width:25%; min-width:280px; vertical-align:top; /* border:1px solid #ccc; */ }
/* Центральная часть */
.c21	{width:50%; min-width:300px;}
/* Правая часть */
.c31	{min-width:250px;}


/* Другие страницы */
/* Блоки других страниц */
/* Левая часть */
.c1, .c2, .c3, .c22	{display:table-cell; width:20%; min-width:220px; vertical-align:top; /* border:1px solid #ccc; */ z-index:1;}
/* Центральная часть */
.c2, .c22	{width:60%; min-width:300px;}
/* Правая часть */
.c3	{}

.c2tv	{float:left; margin:0 10px 10px 0;}
.c3tv	{display:block;}

/* Если нет правой части */
.c22	{width:80%;}

/* Если нет правой и левой части */
.c23	{display:block; width:100%;}


/* Шапка */
header	{margin:0 20px;}

header .logo	{margin:10px 0 10px 10px;}
header .logo img{width:260px; height:65px; border:0;}
header .weathertext		{margin:10px 20px;}
header .weathertext .day	{position:absolute; margin-left:0; font-weight:bold; color:#7F7F7F;}
header .weathertext .txt	{position:relative; margin-left:60px; margin-bottom:5px;}
header .weathertext .txt A	{color:#1C1C1C;}
header .rate	{margin-left:8px;}
header .currency	{color:#4c3d19;}
header .currency A	{color:#4c3d19;}
header .lysva_comment	{background-color:#F1F1F1; padding:10px 15px; line-height:1.5; margin-bottom:10px}
header .lysva_comment A	{text-decoration:none; color:#424242;}

/* Разделительная линия на начальной странице */
.line1	{border-top:1px solid #61A84B; padding:5px; clear:both;}

/* Разделительная линия */
.hr	{border-top:1px solid #E1E1E1; margin:10px 0; clear:both;}

.clear	{clear:both;}

/* Mеню */
nav	{font-size:14px; clear:both; letter-spacing:0.2px; margin:0px 20px;}
.logo1	{position:absolute; float:left; left:38px; margin-top:-18px;}
.logo1 IMG	{border:0; width:189; height:43;}

.menu {overflow:hidden; height:32px; margin-left:220px;}
.menu li, .menu a {display:block;}
.menu li {list-style-type:none; background-color:#FFF; margin-right:-1px; border:1px solid #DCEFD5;}
.menu > li {float:left;}
.menu a {padding:7px 10px; text-decoration:none; color:#61A84B;}
.menu a:visited {color:#61A84B;}
.menu a:hover {color:#FF9600;}
.menu .act	{padding:7px 10px; background-color:#DCEFD5; color:#FF9900;}
.menu .act a	{padding:0px; color:#61A84B;}

/* Кнопка "Ещё" */
.fm-more > a:after {
	display: inline-block;
	content:"";
	border-left:5px solid transparent;
	border-right:5px solid transparent;
	border-top:6px solid #61A84B;
	position: relative;
	left:4px;
}
/* Высплывающее меню */
.fm-popup {margin-left:-1px; z-index:2; /* чтобы было выше яндекс.директ */}
.fm-popup > li {display:block;}

/* Линия под меню */
.nav-line	{border-bottom:3px solid #61A84B;  margin:0 20px 10px;}

/* Кнопка вывода левого и правого блока */
#b_left, #b_right, #b_right_tv	{display:none; position:absolute; opacity:0.6; margin-top:10px; width:20px; height:30px; cursor:pointer; z-index:1;}
#b_left	{left:0px; background-image:url(/pics/button/right.png);}
#b_right, #b_right_tv	{right:0px; background-image:url(/pics/button/left.png); z-index:2;}

/* Кнопка вверх для мобильной версии */
#up {display:none; position:fixed; right:5px; bottom:5px; opacity:0.5;}
#up IMG {width:50px; height:50px; border:0;}

/* Заголовок блока */
.b1h	{color:#878787; font-size:16px; margin:0 0 3px 15px; white-space:nowrap; letter-spacing:1px; overflow:hidden;}

/* Блок */
.b1	{border:1px solid #e1e1e1; border-width:1px 0 0 1px; padding:15px; margin:3px 15px 15px 0;}
         

/* Контент */
#content	{line-height:1.5; margin:0 20px;}

/* Ссылки */
a		{color:#006FC5;}
a:visited	{color:#000;}
a:hover		{color:#097DE9;}
a:active	{color:#FF9500;}

/* Заголовки */
h1, h2, h3, h4, h5	{color:#006FC5; font-size:14px;}
/* Заголовок 1 */
h1		{font-size:18px; margin-bottom:10px; line-height:1.35;}
h1 a		{color:#006FC5; text-decoration:none;}
h1 a:hover	{text-decoration:underline;}
/* В новостях Смотрите также */
h2		{margin-bottom:10px;}
/* Подзаголовки на форуме */
h3		{}
/* Ссылка на новость */
h4		{font-weight:normal;}
/* Название праздника в Афише */
h5		{font-weight:normal; font-size:13px;}

p		{line-height:1.5; padding-bottom:10px;}


.c2 ol	{margin-left:12px;}
.c2 ul	{margin-left:15px;}
.c2 ol li, .c2 ul li	{margin:0 0  5px 5px;}

.ul0 ul	{margin-left:0; list-style-type:none;}
.ul0 ul li	{margin-left:0;}

/* Стрелка Подробнее */
.arr a		{text-decoration:none;}

/* Ссылка-пунктир */
.dashed	{text-decoration:none; border-bottom:1px dashed #006FC5;}

/* Дата */
.data	{color:#006FC5; margin-bottom:5px;}

/* Абзац для новостей */
.p	{padding-bottom:10px; line-height:1.5;}
.p .quote	{border-style: solid; border-color:#E1E1E1; border-width: 0 0 0 1px; margin-left:10px; padding-left: 10px; color: #7C7C7C;}

/* Для афиши */
.p1	{padding-bottom:10px; line-height:1.5;}

/* Сообщение об ошибке */
.warning	{color:#ff0000;}

/* Уведомление */
.notice	{color:#157731;}

/* Комментарии */
.comments	{color:#7c7c7c;}
.comments a	{color:#7c7c7c;}
.comments a:visited{color:#7c7c7c;}

/* Ссылки "Все новости, записи в блоге и т.п." */
.links1	a {color:#7C7C7C; font-size:11px; margin-left:30px;}

.links2	{padding-bottom:15px;}
.links2 .icon {position:absolute; }
.links2 .text {position:relative; margin-left:25px;}

.ico	{cursor:pointer; width:16px; height:16px; border:0;}
.ico_small	{cursor:pointer; width:12px; height:12px; border:0;}

.spacer		{padding:10px;}

/* Ссылки на страницы */
.pages .txt	{color:#7c7c7c;}
.pages .page,
.pages .pageactive	{padding:3px 5px 4px;}
.pages .page a:visited	{color:#006FC5;}


footer	{clear:both; color:#647E5B; border-top:3px solid #61A84B; margin:0 20px; padding:10px 15px; line-height:1.5;}
footer a {color:#647E5B;}
footer a:visited {color:#647E5B;}
footer a:hover {color:#647E5B;}

footer div	{margin:0 7% 10px 0; float:left; /* white-space:nowrap; */}
footer div:nth-child(2)	{width:40%;}
footer div:last-child	{margin-right:0; float:right;}


/* Подменю */
.submenu	{font-size:14px; list-style-type:none; margin:10px;}
.submenu li	{padding:3px 10px; /* white-space:nowrap; */}
.submenu li a		{color:#006FC5; text-decoration:none;}
.submenu li a:visited	{color:#006FC5;}
.submenu li a:hover	{color:#FF9600;}
.submenu .act	{color:#FF9600; background-color:#DCEFD5;}
.submenu .act a		{color:#61A84B;}
.submenu .act a:visited	{color:#61A84B;}
.submenu .act a:hover	{color:#FF9600;}
/* Подменю 2 уровня */
.submenu1	{font-size:12px; list-style-type:none; margin-left:20px;}
.submenu1 li	{padding:2px 0; /* white-space:nowrap;*/ color:#FF9600;}
/* Подменю 3 уровня (в магазине) */
.submenu11	{font-size:11px; list-style-type:none; margin-left:10px;}

/* Голосование */
.vote {padding-bottom:15px; max-width:500px;}
.vote .question {font-weight:bold; margin-bottom:5px;}
.vote .point {padding:2px 0; clear:left;}
.vote .point .text {margin-left:15px;}
.vote .point .pbar {height:6px; margin:7px 10px; background-color:#FF9500; float:left;}
.vote .point .ptext {color:#7C7C7C;}

/* Процесс загрузки */
.loading{background-image:url(/pics/loading.gif); background-repeat:no-repeat; width:50px; height:50px; position:absolute; display:none; z-index:1;}

/* Таблица */
.table	{padding-bottom:15px;}
.table TABLE	{border-collapse: collapse; border-left: 1px; border-right: 1px;}
.table TABLE TH	{background-color:#DAEFFF; color: #7C7C7C; font-size: 11px;}
.table TABLE TH,
.table TABLE TD	{padding:5px; border:1px solid #E1E1E1;}

.table .td1	{background-color:#F7FCFF;}
.table .td2	{background-color:#FFFFFF;}
.table .td3	{background-color:#E7F5FF;}/* для раздела "Консультаций" */

/* Модальное окно с полями */
#modal_form {
	width:200px; 
	height:180px;
	border-radius:5px;
	border:1px #ccc solid;
	background:#fff;
	position:fixed;
	top:45%;
	left:50%;
	margin-top:-90px;
	margin-left:-140px;
	display:none;
	opacity:0;
	z-index:5;
	padding:40px;
}

/* Кнoпкa "зaкрыть" */
#modal_close {position:absolute; top:10px; right:10px; cursor:pointer; display:block;}
#modal_close IMG {width:16px; height:16px; border:0;}

/* Пoдлoжкa */
#overlay {
	z-index:3;
	position:fixed;
	background-color:#000;
	opacity:0.6;
	-moz-opacity:0.6;
	filter:alpha(opacity=60);
	width:100%; 
	height:100%;
	top:0;
	left:0;
	display:none;
}

/*календарь*/
#calendar {margin:10px 10px 20px 20px;}
#calendar .arr {font-size:16px;}
#calendar .arr A {text-decoration:none;}
#calendar TABLE {border-collapse: collapse; padding: 0px; margin: 0px;}
#calendar TH {font-weight: normal;}
#calendar TD {text-align: center; border: 1px solid #FEFDF8; padding: 0px; margin: 0px;}
#calendar .daysname TD {text-align: center; width: 25px; padding: 7px 0px 10px 0px;}
#calendar .week TD {text-align: center; width: 25px; height: 24px; _height: 25px; background-color: #EFEEE9;}
#calendar .week TD.othermonth {background-color: #FEFDF8;}
#calendar .week TD.active {background-color: #FF9500;}
#calendar .week TD.active A {color:#006FC5;}
#calendar .week A {text-decoration: none; color: #1C1C1C;}
#calendar .week DIV {border: 1px solid #026CBD; height: 23px; width: 23px; text-align: center; line-height: 1.9em; margin: 0px; padding: 0px;}
#calendar .week DIV.active {border: 1px solid #FF9500; height: 23px; width: 23px; text-align: center; line-height: 1.9em; margin: 0px; padding: 0px;}

/* Формы */
input[type="number"],
input[type="text"],
input[type="password"]	{border:1px solid #006FC5; /* font-weight:bold; */ height:16px; padding:4px 3px; width:300px;}
input[type="radio"]	{}
input[type="checkbox"]	{padding:2px 0; color:#666;}
input[type="submit"],
input[type="button"]	{border:0px; height:26px; cursor:pointer; font-size:14px; color:#fff; background-color:#006FC5; padding:0 10px; width:108px;}

textarea{padding:5px; border:1px solid #006FC5; font-family: Tahoma, Arial, Helvetica, sans-serif; line-height:1.5; height:150px; width:296px;}
select	{padding:3px 3px; height:26px; border:1px solid #006FC5;}

.fname	{position:absolute; color:#666; font-weight:bold; padding:5px 5px 0 0;}
.finput	{position:relative; margin:4px; }

.checkbox	{padding:5px;}
.checkbox .box	{position:absolute; margin-top:1px;}
.checkbox .txt	{position:relative; margin-left:18px;}

.radio	{padding:3px;}
.radio .box	{position:absolute;}
.radio .txt	{position:relative; margin-left:20px;}

/* Авторизация */
#login .finput	{margin-left:55px;}
#login input[type="text"],
#login input[type="password"]	{width:100px;}

/* Регистрация */
#registration .finput	{margin-left:100px;}
#registration #login3	{position:absolute; margin-left:285px; margin-top:-25px;}

#registration input[type="text"],
#registration input[type="password"]	{width:170px;}
#registration input[type="submit"]	{width:178px;}


/* Сообщаение администратору */
#mailtoadmin textarea	{width:100%; max-width:450px; height:150px;}
#mailtoadmin div:nth-child(2)	{width:100%; max-width:450px; text-align:center;}

/* Поиск */
/* На начальной странице */
#search1 .finput	{margin-left:50px;}
#search1 input[type="text"]	{border:1px solid #61A84B;}
/* На странице Поиск */
#search div:nth-child(2)	{margin-top:3px;}
#search select	{float:left; margin-right:20px; margin-top:3px;}
#search .checkbox	{float:left;}
#search .checkbox .box	{}
#search .checkbox .txt	{margin-top:0px; margin-right:30px;}
#search .txt2	{margin:8px 10px; float:left}
/* На других страницах */
#search2 {position:absolute; margin-top:5px; margin-left:270px;}
#search2 input[type="text"]	{width:220px; height:14px; border:1px solid #999; color:#666;}

/* Голосование */
#vote .fname	{width:70px; padding-top:4px;}
#vote .r	{float:right; font-weight:normal; color:#000; padding-right:5px;}
#vote .finput	{margin-left:70px;}
#vote #data1, #vote #data2	{width:70px;}
#vote .submit	{width:100%; max-width:300px; text-align:center;}

/* Форум / Блоги / Консультации */
/* с темой */
#forum .finput	{margin-left:75px;}
#forum select	{width:308px;}
#forum .submit	{width:100%; max-width:300px; text-align:center;}
/* комментарий */
#forum1 .submit	{width:100%; max-width:450px; text-align:center;}
#forum1 textarea{width:100%; max-width:450px;}
#forum1 .comment{float:left;}
#forum1 .icons	{width:100%; max-width:450px; text-align:right;}

/* Объявления / Новости / Афиша / Магазин */
#board .finput	{margin-left:130px;}
#board select	{width:308px;}
#board .submit	{width:100%; max-width:300px; text-align:center;}
#board .radio .box	{position:absolute; padding:3px 0;}
#board1 .submit	{width:100%; max-width:450px; text-align:center;}
#board1 textarea{width:100%; max-width:450px;}

#board_add {display:none; position:fixed; right:60px; bottom:5px; opacity:0.5;}
#board_add img {width:50px; height:50px; border:0;}


/* Платежи */
#payment .finput{margin-left:140px;}
#payment select	{width:308px;}
#payment .submit{width:100%; max-width:300px; text-align:center;}

/* Пользователь */
#user .finput{margin-left:130px;}
#user select	{width:208px;}
#user .submit{width:100%; max-width:200px; text-align:center;}
#user input[type="text"],
#user input[type="password"]	{width:200px;}
#user textarea	{width:196px;}/* аукцион */

/*****************************************************************************/
/* Магазин */
.shopitem	{float:left; margin-bottom:20px; height:250px;}
.shopitem .product{width:200px; margin: -5px 20px 0 0;}
.shopitem A	{cursor:pointer;}
.shopimg	{border:1px solid #E1E1E1; margin: 0 20px 10px 0;}

/* аукцион */
/*
.auction .name	{color:#666666; font-weight: bold; padding: 0px 5px 2px 0px; white-space: nowrap;}
.auction .step	{width:50px; border:1px solid #006FC5; font-weight:bold; height:16px; padding:4px 3px; text-align: right;}
.auction .submit{border:0px; width:108px; height:26px; cursor:pointer; font-size:14px; font-weight:bold; color:#FFF; background-color:#006FC5;}
*/

/* Знак рубля */
.ruble	{font-family:serif; font-size:13px;}
.ruble span.dot	{position:absolute; font-size:11px; line-height:190%;}

/* Сообщения форума и доски объявлений и сообщений */
.forum		{padding: 5px 0px 5px 0px;}
.forum .time	{font-size: 10px; color:#7C7C7C; white-space: nowrap;}
.forum TD	{padding: 5px;}
.forum .td1	{background-color:#F7FCFF;}
.forum .td2	{background-color:#FFFFFF;}
.forum .td3	{background-color:#E7F5FF;}
.forum .td4	{background-color:#FFEBCF;}/* бежевый после редактирования объявления */
.forum .td5	{background-color:#eeeeee;}/* неактивные объявления */
.forum .forumuser{border-style:solid; border-color:#E1E1E1; border-width: 0 0 0 1px; padding-left:5px;}
.forum .quote	{border-style: solid; border-color:#E1E1E1; border-width: 0 0 0 1px; margin-left:10px; padding-left: 10px; color: #7C7C7C;}
.forum .answer	{padding-top:5px; margin-left:10px; color:#006FC5;}

/* Ширина < 1400 */
@media screen and (max-width:1400px)
{
 .p img:not(.ico)	{width:100%; height:auto;}/* изображения в новостях */
}

/* Ширина < 900 */
@media screen and (max-width:900px)
{
 #top .lnkr1	{float:left; margin-right:10px;}
 footer div:last-child	{float:left;}

 .c11, .c21, .c31, .c1, .c2, .c3	{display:block; float:left;}
 .c3	{position:absolute; background-color:#fff; border:1px solid #ccc; right:0; min-width:0; width:0; display:none; overflow:hidden;}
 .c3tv	{position:absolute; top:200px; background-color:#fff; border:1px solid #ccc; right:0; display:none; width:210px; padding:10px;}

 #search2	{display:none;}

 #b_right, #b_right_tv	{display:block;}
 header .lysva_comment	{display:none;}
}

/* Ширина < 600 */
@media screen and (max-width:600px)
{
 #top .lnk	{margin-right:40px;}
 header .weathertext	{margin:10px;}

 #search1 input[type="text"]	{width:90%;}

 footer div:nth-child(2)	{width:100%;}

 .c11, .c21, .c31	{width:100%;}

 .c2	{width:100%;}
 .c1	{position:absolute; background-color:#fff; border:1px solid #ccc; left:-230px;}

 #b_left {display:block;}

 iframe	{width:100%;}

 #board_add	{display:block;}

}
