@import url('base.css');

/* А */
@charset "utf-8";
html{font-size:100.01%}
body{font-size:62.5%;font-family:Arial,Sans-serif;background:#f3f3f3 url(../img/bg-body.png) repeat-x 0px 0px}
html,body{margin:0px;padding:0px;height:100%;width:100%}
a,a img{border:none;outline:none}
table,td,th{padding:0px;border-collapse:collapse}
ul,li,form,fieldset,dl,dt,dd,h1,h2,h3,h4,h5,h6,del{margin:0px;padding:0px;list-style:none;text-decoration:none;font-style:normal;border:none}

/* Обёртка с фоном страницы */
.wrap{min-height:100%;height:auto;background:url(../img/wrap.png) repeat-y 50% 0px;width:100%}
/* Главная часть страницы */
.page{width:645px;margin:0px auto;position:relative;left:-6px}

/* Шапка */
.header-wrap{width:655px;margin:0px auto}
.header{background:url(../img/page.png) no-repeat 50% 0px;height:140px;margin:0px auto;overflow:hidden;width:100%}
/* Логотип */
h1{width:249px;height:65px;padding:40px 0px 0px 0px;float:left}
h1 a{display:block;width:249px;height:65px;background:url(../img/logo.png) no-repeat 0px 0px;text-indent:-9999px}
/* Поиск */
.search{width:243px;height:42px;background:url(../img/search.png) no-repeat 0px 0px;float:right;margin:41px 18px 0px 0px}
.search input{border:0px;font:12px Arial,Sans-serif;color:#636363;margin:12px 0px 0px 16px;width:210px}
.search.inactive{display:none}

/* Навигация вверху */
.nav{width:627px;height:82px;background:#f4f4f4 url(../img/nav.png) no-repeat 0px 0px;border-bottom:1px solid #d7d7d7;padding:25px 0px 0px 18px}
.nav li{float:left;margin-bottom:23px}
.nav li.nav1{width:153px}
.nav li.nav2{width:172px}
.nav li.nav3{width:171px}
.nav li.nav4{width:125px}
.nav a{color:#1981d8;font:1.4em Arial,Sans-serif;text-decoration:underline;background:url(../img/nav-arrows.png) no-repeat 0px 6px;padding-left:12px}
.nav a:hover{text-decoration:none}
.nav .best a{text-decoration:underline;color:#86ce67;font-weight:bold}
.nav .best a:hover{text-decoration:none}
.nav-add{background:url(../img/nav-arrows.png) no-repeat 0px -38px}
.nav-add a{text-decoration:none;border-bottom:1px dashed #1981d8;background:none;padding-left:0px;margin-left:12px;display:inline-block;vertical-align:bottom}
.nav-add a:hover{text-decoration:none;border-bottom:none}
.nav .active a,.nav .active a:hover{color:#7d7d7d;border:none;text-decoration:none;font-weight:bold}

.logo-href{display:block;width:100px;height:100px;position:absolute;top:20px;left:0;}

.back{color:#1981d8;font:1.4em Arial,Sans-serif;padding:15px 0px 13px 12px;border-bottom:1px solid #d7d7d7}
.back a{color:#1981d8;text-decoration:underline}
.back a:hover{text-decoration:none}
.quote-none{font-size:14px;line-height:1.4}

/* Цитата */
.quote{margin-top:4px;border-bottom:1px solid #d7d7d7;padding-bottom:25px;clear:both;position:relative}
/* Таблица цитаты */
.quote table,.quote table td{margin:0px;padding:0px;border:0px;border-collapse:collapse;vertical-align:top}
.quote-container{overflow:hidden;zoom:1}
/* Рейтинг и номер цитаты */
.quote-rate{width:93px;padding:26px 0px 0px 29px !important;vertical-align:top !important}
.quote-rate span{font:bold 1.8em Arial,Sans-serif}
.quote-rate span a{text-decoration:none;color:#bcbcbc}
.quote-rate span a:hover{text-decoration:underline}
.quote-rate span strong{padding:0px 9px}
.quote-rate span strong.quote-rating-positive{color:#96cb93}
.quote-rate span strong.quote-rating-negative{color:#cb9393}
.quote-rate span strong.quote-rating-neutral{color:#bcbcbc}
.quote-rate p{margin:0px;padding:13px 0px 0px 1px;color:#808080;font:1.2em Arial,Sans-serif}
.quote-rate p a{color:#808080;text-decoration:underline}
.quote-rate p a:hover{text-decoration:none}
/* Тело цитаты */
.quote-body{margin:22px 0px 0px 0px;padding:0px 0px 1px 31px;font:1.3em/19px Arial,Sans-serif;color:#333;background:url(../img/dots.png) repeat-y 0px 0px}
/* Штука с датой и каментами */
.quote-info{background:#fff url(../img/quote.png) no-repeat 0px -3px;height:20px;position:relative;float:right;color:#aaa;font:1.1em Arial,Sans-serif;margin:-8px 24px 3px 0px;padding-left:7px}
.quote-info a{color:#aaa;text-decoration:underline}
.quote-info a:hover{text-decoration:none}
.quote-info del{padding:0px 6px}
.quote-info div{background:url(../img/quote.png) no-repeat 100% -61px;padding:0px 0px 10px 0px;padding-right:13px}

/* Нумератор */
.pages{clear:both;font:1.6em Arial,Sans-serif;color:#7c7c7c;padding-top:37px;overflow:hidden;zoom:1}
.pages a{color:#1981d8;text-decoration:underline}
.pages a:hover{text-decoration:none}
.pages li{display:block;float:left}
.pages .number{text-align:center;margin:0px auto;width:420px}
.pages .number li{display:inline;padding:0px 9px;float:none}

/* Форма добавления цитаты */
.quote-add{clear:both;background:#f4f4f4 url(../img/quote-add.png) no-repeat 0px 0px;width:642px;height:268px;margin:50px 0px 0px 2px;position:relative;}
.rasp{background:none;width:100%;height:1px;margin:0;}
.quote-add-text{float:left;width:136px;text-align:right;font:bold 1.8em Tahoma,Sans-serif;color:#636363;padding-top:30px}
.quote-add-form textarea{margin:30px 0px 0px 15px;width:464px;height:127px;font:12px Arial,Sans-serif;color:#636363}
.quote-add-form li{float:left}
.quote-captcha{border:1px solid #b9b9b9;margin:18px 0px 0px 151px}
.quote-captcha img{display:block}
.quote-captcha-input input{width:103px;background:#fff;border:1px solid #b3b9c3;color:#808080;font:12px Arial,Sans-serif;padding:3px 0px 2px 5px;margin:34px 0px 0px 20px}
.quote-submit input{width:140px;height:28px;background:url(../img/quote-submit.png) no-repeat 0px 0px;color:#565656;font:14px Arial,Sans-serif;border:0px;margin:32px 0px 0px 35px;position:absolute;}

/* Форма добавления комментария */
.comment-add{width:642px;height:258px;padding:36px 0px 109px 0;margin:0px 0px 0px -40px}
.comment-adder-name input{margin:17px 0px 0px 147px;width:167px;background:#fff;border:1px solid #b3b9c3;color:#808080;font:12px Arial,Sans-serif;padding:3px 0px 2px 5px}
.comment-add-text{font:bold 1.8em Tahoma,Sans-serif;color:#636363;padding-top:30px;margin-left:148px}
.comment-add-form textarea{margin:20px 0px 0px 147px;width:464px;height:125px;font:12px Arial,Sans-serif;color:#636363}
.comment-add-form li{float:left}
.comment-captcha{border:1px solid #b9b9b9;margin:19px 0px 0px 147px}
.comment-captcha img{display:block}
.comment-captcha-input input{width:103px;background:#fff;border:1px solid #b3b9c3;color:#808080;font:12px Arial,Sans-serif;padding:3px 0px 2px 5px;margin:34px 0px 0px 21px;position:relative;}
.comment-submit input{width:140px;height:28px;background:url(../img/quote-submit.png) no-repeat 0px 0px;color:#565656;font:14px Arial,Sans-serif;border:0px;margin:32px 0px 0px 37px;position:absolute;}

/* Комментарии */
.comments{width:471px;clear:both;padding:36px 0px 19px 119px}
.comments h6{color:#636363;font:bold 1.8em Arial,Sans-serif}
.comment{border-top:1px dotted #b2b2b2;margin-top:8px;padding-bottom:3px}
.comment dt{color:#7d7d7d;font:1.1em Arial,Sans-serif;padding:9px 0px 0px 2px}
.comment dt strong{font:bold 1.1em Arial,Sans-serif}
.comment dt del{font:bold 1.2em Arial,Sans-serif;padding:0px 6px}
.comment dd{color:#565656;font:1.2em Arial,Sans-serif;padding:7px 0px 0px 2px}
.comment a{color:inherit;text-decoration:underline}
.comment a:hover{text-decoration:none}

/* Подвал */
.footer{background:url(../img/footer.png) no-repeat 50% 0px;margin:0px auto;position:relative;height:125px;width:100%;width:expression(document.body.clientWidth > 1024? "1024px":"100%" );max-width:1024px}
/* Скроллер наверх */
.footer p{margin:0px;padding:12px 41px 0px 0px;text-align:right}
.footer p a{background:url(../img/footer-arrow.png) no-repeat 0px 4px;color:#48a3ef;font:1em Arial,Sans-serif;padding-left:9px;text-decoration:none}
.footer p a:hover{text-decoration:underline}
.footer-wrap{overflow:hidden;zoom:1}
/* Копирайт */
.kaznet{background:url(../img/knm.png) no-repeat 0px 0px;color:#828282;font:1.1em/15px Arial,Sans-serif;padding:5px 0px 0px 68px;margin:22px 0px 0px 42px;height:60px;float:left}
/* Менюшка */
.footer-menu{float:right;/* width:620px;*/ overflow:hidden;zoom:1;margin-top:30px;padding-right:14px}
.footer-menu li{display:block;float:right}
.footer-menu img{display:block;float:left}
.footer-menu a{color:#1981d8;font:1.1em/29px Arial,Sans-serif;text-decoration:underline;background:url(../img/footer-link.png) no-repeat 0px 4px;padding-left:8px;margin-right:15px}
.footer-menu a:hover{text-decoration:none}
.footer-menu .counter a{background:none;margin-right:13px}

form li.error{background-color:#ffdfdf;margin:3px 0 !important}
input.error,textarea.error,select.error{border:1px solid red}
p.error,li.error label.desc{color:red !important}
p.error{font-size:9px !important;margin:1px 0}

/* Админка */
.content-element{margin:20px 0;}

/* Вход в админку */
.login-text{margin:10px;}
.login-text input{width:300px;height:20px;font-size:14px;}

/* Контент */
.cc{margin:10px 0;}
.cc h3 {font:bold 1.8em Tahoma,Sans-serif;color:#636363;}
.content{line-height:1.3;font:1.4em/19px Arial,Sans-serif;color:#333;}

/* ИЕ жив! */
* html .wrap{height:100%}
* html .search{position:relative;margin:41px 10px 0px 0px}
* html .pages .number{bottom:-4px;position:relative}
* html .quote-info{margin:-8px 12px 3px 0px}
* html .quote-captcha{margin:18px 0px 0px 77px}
* html .kaznet{margin:22px 0px 0px 22px}
* html .comment-captcha{margin:19px 0px 0px 74px}
*:first-child+html .comments h6{padding-top:60px}
