html {
    background: url("../images/background.png");
}

body {
    background: url("../images/body_border.png") repeat-y;
    color: black;
    font-family: sans-serif;
    font-size: 14px;
    margin: 19px 0 0 30px;
    min-width: 970px;
    padding-left: 4px;
}

a {
    color: black;
}

a img {
    border-style: none;
}

table td {
    vertical-align: top;
}

form .errors {
    background-color: #ffd7cd;
    border: 1px dotted red;
    padding: 5px;
}

.sidepanel {
	float: right;
	width: 30%;
	border-left: 3px solid #bcd1dd;
	padding: 0 8px;
}

.topic-filter {
    float: right;
    margin-right: 15px;
    margin-top: 5px;
}

.offers-not-found .topic-filter {
    float: none;
}

.nav-paginator {
    height: 25px;
}

.nav-paginator a {
    display: block;
    float: left;
    line-height: 25px;
    margin: 5px;
    padding: 0 5px;
}

.nav-paginator a.selected {
    border: 1px solid gray;
    text-decoration: none;
}

.issue-preview {
    float: right;
    width: 160px;
}

.issue-preview a img {
    margin: 10px 0;
}

.topic-messages {
    background: url("../images/offer_border.png") top left repeat-x;
    margin-right: 170px;
}

.topic-messages .label {
    display: block;
    font-weight: bold;
}

.topic-messages .message {
    background: url("../images/offer_border.png") bottom left repeat-x;
    padding: 7px;
}

.topic-messages .message .info {
    float: right;
    font-size: 12px;
    text-align: right;
}

.topic-messages .message .timestamp, .topic-messages .message .photo {
    clear: right;
    float: right;
}

.topic-messages .message .timestamp {
    color: #ed9421;
}

.offers-not-found {
    text-align: center;
}

.news-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.news-list li table {
    vertical-align: top;
}

.news-list li .image {
    border: 1px solid #bcd1dd;
    float: left;
    margin: 5px 20px 5px 0;
}

.news-list li h2 {
    font-size: 130%;
    font-weight: normal;
    margin: 0;
}

.faq-category-list {
    height: 40px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.faq-category-list li {
    display: block;
    float: left;
    padding: 5px;
}

#send-question-form {
    margin-top: 10px;
    padding: 0 0 10px 0;
}

#send-question-form table {
    width: 580px;
}

#send-question-form textarea {
    width: 100%;
}

#wrapper {
    background: #f1eeec url("../images/cmyk_sign.png") 12px 12px no-repeat;
    padding: 0 10px 0 20px;
}

#offer-export-form table {
    border: 2px black;
    border-collapse: collapse;
    border-style: solid none;
    border-spacing: 0;
}

#search-offer-form {
    padding: 7px;
}

#offer-export-form table td {
    border: 1px gray;
}

#advert-form input[type='text'], #advert-form input[type='file'], #advert-form textarea, #advert-form select {
    border: 1px solid #ccd2d6;
    display: block;
}

#advert-form table {
    border-spacing: 5px;
}

#advert-form table td {
    vertical-align: top;
}

#advert-form table .payment-type td
{
    vertical-align: middle;
}

#advert-form table .key {
    width: 150px;
}

#advert-form .payment-type a {
    border: 1px solid transparent;
    display: block;
    float: left;
    height: 63px;
    margin: 10px 10px 10px 0;
    width: 162px;
}

#advert-form .payment-type a.selected, #advert-form .payment-type a:hover, #advert-form .payment-type a:active {
    background-color: white;
    border-color: gray;
}

#advert-form .payment-type .robokassa {
    background: url("../images/robox_logo.png") no-repeat;
}

#advert-form .payment-type .ultraltd {
    background: url("../images/ultraltd_logo.png") no-repeat;
}

#advert-form .note {
    border-left: 4px solid #BDD0DE;
    display: block;
    float: right;
    font-size: 80%;
    padding: 5px;
    width: 260px;
}

#header {
    background: url("../images/header_background.png") top left no-repeat;
    padding: 20px 0 12px 0;
}

#header .contacts {
    background: url("../images/cmyk_sign.png") right top no-repeat;
    float: right;
    font-size: 14px;
    margin: -10px 0 15px 0;
    padding: 26px 10px 0 0;
}

#header .advert-form {
    clear: right;
    float: right;
    margin-right: 10px;
}

#header .advert-form .note {
    color: #006cb1;
    display: block;
    float: left;
    font-style: italic;
    margin-right: 10px;
    width: 120px;
}

#header .advert-form .send {
    background: url("../images/advert_button_background.png");
    color: black;
    display: block;
    float: left;
    height: 51px;
    line-height: 51px;
    text-align: center;
    width: 155px;
}

#header .logo {
    background: url("../images/logo.png") top left no-repeat;
    display: block;
    height: 124px;
    width: 579px;
}

#advert-form .inner {
    border-spacing: 0;
    margin: 3px 0 3px -158px;
    float: left;
}

#advert-form .inner .key {
    width: 155px !important;
}

#sidebar {
    float: left;
    margin-bottom: 7px;
}

#sidebar .menu, #sidebar .issues {
    border-left: 3px solid #bcd1dd;
}

#sidebar .menu {
    background: url("../images/menu_bottom.png") bottom left no-repeat;
    border-top: 1px solid #bcd1dd;
    list-style-type: none;
    margin: 0;
    padding: 0 0 7px 0;
    width: 170px;
}

#sidebar .menu li {
    background: url("../images/menu_item_background.png") top left repeat-y;
    border: 1px solid #bcd1dd;
    border-top-style: none;
}

#sidebar .menu li a {
    color: black;
    display: block;
    padding: 7px 17px;
    text-decoration: none;
}

#sidebar .menu li a:hover, #sidebar .menu li a:active, #sidebar .menu li a.selected {
    background-color: white !important;
}

#sidebar .issues {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#sidebar .issues li {
    margin-bottom: 10px;
}

#sidebar .issues li a {
    color: black;
    display: block;
    height: 46px;
    padding: 97px 48px 0 15px;
    text-decoration: none;
    width: 94px;
}

#sidebar .issues li a.last {
    background: url("../images/newspaper_single.png") bottom left no-repeat;
}

#sidebar .issues li a.archive {
    background: url("../images/newspaper_many.png") bottom left no-repeat;
}

#topics, #content {
    margin-left: 180px;
}
#top-banner {
    margin-left: 1px;
}

#topics .next-date {
    background: url("../images/calendar.png");
    height: 113px;
    margin-top: -33px;
    padding: 45px 17px 0 17px;
    position: absolute;
    text-align: center;
    width: 125px;
}

#topics .next-date .day, #topics .next-date .month {
    font-size: 25px;
    font-weight: bold;
}

#topics .next-date span {
    color: #0072bc;
    display: block;
}

#topics table {
    border-spacing: 0;
    width: 100%;
}

#topics td {
    padding: 15px 40px;
    vertical-align: top;
}

#topics td.first {
    background: url("../images/topics_background_1.png");
}

#topics td.second {
    background: url("../images/topics_background_2.png");
}

#topics td.third, #topics td.calendar {
    background: url("../images/topics_background_3.png");
}

#topics td.calendar {
    padding: 0;
    width: 165px;
}

#topics ul {
    list-style-type: none;
    margin: 0;
    min-height: 100px;
    padding: 0;
}

#topics ul li {
    clear: both;
    line-height: 17px;
}

#topics ul li a, #topics ul li .selected {
    color: black;
    display: block;
    float: left;
    padding: 4px 6px;
}

#topics ul li a:hover, #topics ul li .selected {
    background-color: white;
}

#top-banner {
    margin-bottom: 10px;
    margin-top: 5px;
}

#content {
    padding-bottom: 10px;
}

#content-image {
    clear: both;
    float: right;
}

#content h3
{
	margin-top: 0;
}

#footer {
    border-top: 3px solid #bcd1dd;
    clear: both;
    padding: 7px 10px 20px 7px;
}

#footer p {
    line-height: 20px;
    margin: 0;
}

#footer .developer {
    color: #495e5f;
    float: right;
}

#footer .developer img {
    display: block;
}

	   .frame {
			border: 3px solid #00a8e1;
			width: 150px;
			height: 168px;
			margin: 5px;
	    }
	   #frame {
			border: 3px solid #007ec2;
			width: 150px;
			height: 168px;
			margin: 5px;
	    }

.up0
{
height:60px;
 font-size:18px;
 text-align:center;
 background-color:#336699;
 margin-bottom:2px;
text-decoration: blink;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

.up0 a
{
color:#FFFFFF;
text-decoration:none;
weight: bold;

}
.up0 a:hover
{
color:#FFFFFF;
text-decoration:none;
}

.up0 span
{
font-size:12px;
 color:#FFFFFF;
text-decoration:none;
weight: bold;

}

#gogovoteman {
  background: url("../images/opros_button_background.png") no-repeat;
  display:block;
  width:221px;
  height:51px;
  position:fixed;
  right:5px;
  font-size:14px;
  text-align: center;
  text-decoration:none;
  bottom:2px;
  z-index: 99999;
}

#gogovoteman a {
  font-size:14px;
  text-align: center;
  weight: bold;
}

#gogovoteman:hover {
*border: 2px solid #e7a60b;
          border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}
