/**
 * @author Denis Barushev <barushev@gmail.com>
 * @since 03.06.2008
 */

html, body, ul, ol, dl, li, dt, dd, p, form, h1, h2, h3, h4, h5, h6, table, tr, td {
    margin: 0;
    padding: 0;
}

body {
    font: 12px Arial, Verdana, Tahoma, sans-serif;
    color: #000;
    background: #fff;
}

ul {
    list-style-type: none;
}

img {
    border: 0;
}

a {
    color: #00c;
}

a, input {
    outline: none;
}

.no_href {
    color: #0000CC;
    text-decoration: underline;
}

table {
    border-collapse: collapse;
}

input {
    margin: 0;
}

input.disabled {
    background: #eeeee6;
}

input.checkbox {
    vertical-align: middle;
    margin-right: 5px;
}

input.radio {
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 15px;
}
label.radio {
    vertical-align: top;
}

h2 {
    font: bold 12px Arial, Tahoma, sans-serif;
    padding: 20px 0;
}

span.bold {
    font-weight: bold;
}

span.link {
    color: #00c;
    border-bottom: 1px dashed #00c;
    cursor: pointer;
}

.tl {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0;
}

.tr {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0;
}
.bl {
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 0;
}

.br {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: left;
    visibility: hidden;
}

.all_entities {
    font-weight: bold;
}

.code {
    padding: 20px;
    background: #f0f0f0;
    border: 1px dashed #b0b0b0;
}

.denied_notice {
    background: url(../images/bgs/denied.gif) no-repeat left 13px;
    padding: 25px 0 30px 45px;
    border-bottom: 1px solid #e5e5e5;
    font: bold 12px Arial, Tahoma, sans-serif;
}
.success_notice {
    background: url(../images/bgs/success.gif) no-repeat left 13px;
    padding: 25px 0 30px 45px;
    border-bottom: 1px solid #e5e5e5;
    font: bold 12px Arial, Tahoma, sans-serif;
}

/**
 * Layout
 */
.wrap {
    width: 960px;
    margin: 0 auto;
}

#sidebar {
    width: 140px;
    float: left;
    padding: 23px 0 20px 0;
}

#content {
    float: right;
    width: 790px;
    padding: 20px 0 20px 0;
}

#primary_content {
    width: 606px;
}

#primary_content.wide {
    width: 100%;
    font-size: 12px;
    font-family: Arial, Tahoma, sans-serif;
}

#primary_content.simple_page.narrow {
    width: 606px;
}
#primary_content.simple_page {
    width: 100%;
    font-size: 12px;
    font-family: Arial, Tahoma, sans-serif;
}

#primary_content.simple_page p {
    margin: 16px 0;
}

#primary_content.simple_page p.comment {
    color: #808080;
}

#primary_content div.stext {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 10px;
}
#primary_content div.stext p {
    color: #808080;
    font-size: 11px;
    margin-top: 10px;
}

#secondary_content {
    float: right;
    width: 154px;
    padding-top: 3px;
}

#bottom_banner {
    border-top: 1px solid #ccc;
    clear: both;
    padding-top: 20px;
    margin-top: 20px;
}

#footer {
    border-top: 3px solid #ccc;
    color: #808080;
    font-size: 10px;
    padding: 20px 0;
    float: right;
    width: 790px;
}


#sidebar h6,
#secondary_content h6 {
    color: #999;
    font-weight: bold;
    font-size: 12px;
    padding: 0 0 10px 0;
}

#secondary_content h6 {
    padding-bottom: 15px;
}

#secondary_content p {
    padding-bottom: 1em;
}

#sidebar ul,
#secondary_content ul {
    margin-bottom: 23px;
}

#secondary_content ul li {
    padding: 1px 0 2px 15px;
    left: -15px;
    position: relative;
}

#secondary_content ul li.all {
    margin-bottom: 10px;
}

#secondary_content ul li.city {
    margin-top: 2px;
    margin-bottom: 10px;
    font-weight: bold;
}

#secondary_content ul li.other {
    margin-top: 9px;
}

#secondary_content ul li.country {
    background: url(../images/bgs/country-separator.gif) no-repeat 15px top;
    padding: 15px 0 3px 15px;
    margin-top: 20px;
}

#secondary_content li.selected {
    font-weight: bold;
}

#secondary_content li.current {
    font-weight: bold;
    background: #f7f3bc url(../images/icons/right-arrow.gif) no-repeat 4px;
}


#menu {
    padding-top: 5px;
}

#menu li {
    padding: 0 0 0 0;
    margin-bottom: 20px;
}

* html #menu li {
}

#menu.personal li {
    margin-bottom: 8px;
}

#menu.main {
    padding-right: 10px;
}

#menu.main li {
    margin-bottom: 9px;
}

#menu.main li.current {
    background: #f5f5f5;
    font-weight: bold;
    padding: 7px 0 8px 12px;
    position: relative;
    left: -12px;
}

.rounded {
    position: relative;
}

.rounded .tl,
.rounded .tr,
.rounded .bl,
.rounded .br {
    position: absolute;
    width: 4px;
    height: 4px;
    font-size: 0;
    background-image: url(../images/bgs/menu_corners.gif);
}

.rounded .tl {
    left: 0;
    top: 0;
}

.rounded .tr {
    right: 0;
    top: 0;
    background-position: -4px 0;
}

.rounded .bl {
    left: 0;
    bottom: 0;
    background-position: 0 -4px;
}

.rounded .br {
    right: 0;
    bottom: 0;
    background-position: -4px -4px;
}

#menu.simple li {
    margin-bottom: 6px;
}

#menu .inner_menu {
    background: #f5f5f5;
    position: relative;
    left: -12px;
    padding-top: 6px;
    padding-left: 12px;
}

#menu .current {
    font-weight: bold;
}

/**
 * Content
 */
#content h1 {
    font: bold 16px Arial, Tahoma, sans-serif;
}

#content .wide h1 {
    margin-bottom: 20px;
}

#content div.all {
    padding: 20px 15px 0 15px;
    font: 12px Arial, Tahoma, sans-serif;
}

#search_and_add {
    padding-top: 15px;
}

#search_by_city {
    width: 330px;
    float: left;
    margin: 0 7px 40px 0;
}

#search_city_frm {
    width: 100%;
    float: left;
    position: relative;
}

#search_city_frm input {
    float: left;
}

#search_city_frm span.tip{
    color: #a3a9ba;
    font-size: 11px;
    position: absolute;
    top: 45px;
    left: 0;
}

#search_city_frm input.text {
    color: #ccc;
    padding: 5px;
    width: 250px;
    font-size: 1.8em;
}

#search_city_frm input.text.exact {
    color: #80ab2b;
}

#search_city_frm input.text.miss {
    color: #f00;
}

#search_city_frm input.text.variants {
    color: #666;
}

#search_city_frm div.button {
    cursor: pointer;
    position: absolute;
    left: 275px;
    top: 0;
}
#search_city_frm div.button div.inner {
    width: 43px;
    height: 37px;
    border: 1px solid #c7d1e0;
    background: #c7d1e0 url('../images/icons/search-city.gif') no-repeat 12px 50%;
}
#search_city_frm div.pressed div.inner {
    padding: 0;
    border: 1px solid #fff;
    border-left: 1px solid #a1b2cc;
    border-top: 1px solid #a1b2cc;
    background: #c7d1e0 url('../images/icons/search-city.gif') no-repeat 13px 50%;
}
#add_your_ad {
    float: left;
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}
.button_add div.inner {
    width: 200px;
    background: #c7d1e0 url('../images/bgs/add_your_ad.gif') no-repeat 30px 50%;
    padding: 11px 9px 12px 29px;
    #padding: 9px 9px 10px 29px;
    border: 1px solid #c7d1e0;
}
.pressed div.inner {
    border: 1px solid #fff;
    border-left: 1px solid #a1b2cc;
    border-top: 1px solid #a1b2cc;
    padding: 11px 8px 12px 30px;
    background: #c7d1e0 url('../images/bgs/add_your_ad.gif') no-repeat 31px 50%;
    #padding: 9px 8px 10px 30px;
}
.normal {
    border: 1px solid #a1b2cc;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
}
.pressed {
    border: 1px solid #8090a8;
}

/**
*   AutoCompletion Styles
*/

#autocompletion_box {
    display: none;
    position: absolute;
    z-index: 60;
    left: 0;
    top: 41px;
    width: 307px;
}

#autocompletion_content {
    background: #fff;
    background: transparent url('../images/bgs/autocompetion-shadow.png') no-repeat bottom right;
    padding: 0 3px 7px 0;
}

#right_shadow {
    background: transparent url('../images/bgs/right-shadow-block.gif') no-repeat left top;
    position: absolute;
    width: 6px;
    top: 0;
    right: 0;
    #right: -1px;
}

#autocompletion_content ul.country {
    border-top: 1px solid #ededed;
    background: #fff;
    margin-right: 3px;
}

#autocompletion_content ul.country.last {
    border-bottom: 1px solid #ededed;
}

#autocompletion_content ul.country li.new_country {
    border-top: 1px solid #ededed;
}

#autocompletion_content ul.country li {
    border-left: 1px solid #ededed;
    border-right: 1px solid #ededed;
}

#autocompletion_content ul.country li a {
    text-decoration: none;
    display: block;
    padding: 6px 3px 6px 9px;
    color: #999;
}

#autocompletion_content ul.country li.selected a,
#autocompletion_content ul.country li a:hover {
    text-decoration: none;
    display: block;
    padding: 6px 3px 6px 9px;
    color: #999;
    background: #ededed;
}

#autocompletion_content ul.country li span.city {
    color: #000;
    font-weight: bold;
}

#autocompletion_content ul.country li span.country {
    color: #999;
}

/**
 * Pagination
 */
.pagination {
    padding: 15px 0 15px 0;
    margin-top: 8px;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
}

.pagination .pages {
    float: left;
    font: 12px Arial, Tahoma, sans-serif;
}

.pagination .prev_next {
    float: right;
    font: 12px Arial, Tahoma, sans-serif;
}

.pagination span.current {
    font-weight: bold;
    background: #e5e5e5;
    padding: 1px 3px;
}

.pagination a {
    color: #000;
}

.pagination .pages a {
    padding: 1px 3px;
}

.pagination .ctrl {
    color: #666;
}

/**
 * Form
 */
table.form {
    width: 100%;
    font: 12px Arial, Tahoma, sans-serif;
}

table.static_form {
    margin-top: 15px;
}

table.form td {
    padding: 13px 0;
}

table.form td.label {
    width: 200px;
    vertical-align: top;
}

table.static_form td.label {
    color: #8a8a8a;
}

form.narrow table.form td.label,
#signup_form table.form td.label {
    width: 107px;
}

form.narrow table.form tr.submit,
#signup_form table.form tr.submit {
    color: #808080;
    margin: 0 0;
}

form.narrow table.form tr.submit td,
#signup_form table.form tr.submit td {
    padding: 0 0;
    vertical-align: top;
}
form.narrow table.form tr.submit input,
#signup_form table.form tr.submit input {
    margin-top: 20px;
}

table.form td.label div {
    position: relative;
}

table.form td.label input {
    position: absolute;
    right: 10px;
    top: 2px;
}

table.form .required td.label {
    font-weight: bold;
}

table.form td.label_top {
    padding-top: 17px;
    vertical-align: top;
}

table.form td.label_bottom {
    padding-bottom: 18px;
    vertical-align: bottom;
}

table.form select,
table.form input {
    font: 13px Arial,Tahoma,sans-serif;
}

table.form select {
    width: 406px;
}


table.form select option.selected {
    font-weight: bold;
}

div.progress {
    position: relative;
}

table.form div.progress img.progress {
    position: absolute;
    top: 3px;
    right:23px;
}

table.form div.progress div.error img.progress {
    position: absolute;
    top: 32px;
    right:23px;
}

table.form input.text {
    width: 402px;
}

table.form input.captcha {
    width: 190px;
}

table.form p.captcha {
    padding-top: 15px;
}

table.form textarea {
    width: 402px;
}

table.form input.small {
    width: 82px;
}

table.form select.small {
    width: 86px;
}

table.form input.tiny {
    width: 55px;
}

table.form select.tiny {
    width: 80px;
}

table.form input.flat_type {
    width: 200px;
}

table.form select.w170,
table.form textarea.w170,
table.form input.w170 {
    width: 170px;
}

table.form select.w250,
table.form textarea.w250,
table.form input.w250 {
    width: 250px;
}

table.form tr.border_top td {
    border-top: 1px solid #e5e5e5;
}
table.form tr.border_top_padding td {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}
table.form tr.border_bottom td {
    border-bottom: 1px solid #e5e5e5;
}
table.form tr.border_bottom_padding td {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

table.form div.comment {
    color: #8a8a8a;
    font: 11px Verdana, Tahoma, sans-serif;
    padding-top: 10px;
}

table.form div.comment_black {
    color: #000;
    font: 11px Verdana, Tahoma, sans-serif;
    padding-top: 10px;
}
table.form div.registered_email {
    color: #000;
    font-weight: bold;
    padding-top: 4px;
}

div.file {
    padding-bottom: 10px;
}

div.hidden_file {
    display: none;
}

table.form table.labels td {
    padding: 0 10px 2px 0;
    border: none;
}
table.form table.checkboxes td {
    border: none;
}
table.form .additional_options {
    display: none;
}

.success_notice {
    background: url(../images/bgs/success.gif) no-repeat left 13px;
    padding: 25px 0 30px 45px;
    border-bottom: 1px solid #e5e5e5;
    font: bold 12px Arial, Tahoma, sans-serif;
}

.simple_page .success_notice {
    margin-top: -8px;
}

table.form div.error {
    background: #ffffbf;
    padding: 0 0 13px 15px;
    position: relative;
    left: -15px;
    margin-right:-15px;
}

table.form .error .message {
    font: 11px Verdana, Tahoma, sans-serif;
    color: #f00;
    padding: 9px 0 6px 0;
}

table.form .with_error_message {
    margin-top: -8px;
    margin-right: -15px;
}

form.with_errors {
    padding-top: 28px;
}


table.form .w200 {
    width: 200px;
}

table.form .w204 {
    width: 204px;
}


/**
 * Footer
 */
#footer a {
    color: #808080;
}

#footer .links {
    padding-top: 15px;
}

#footer .links a {
    color: #00c;
}

/**
 * Styled header
 */
#header {
    background: #e1e5f2;
    border-bottom: 7px solid #667bb3;
    width: 100%;
    float: left;
}

#header .wrap {
    background: #e1e5f2;
    height: 139px;
}

#header_inner {
    height: 139px;
    width: 100%;
    float: left;
}

#logo {
    width: 135px;
    height: 79px;
    margin-left: -50px;
    padding: 40px 0 20px 51px;
    float: left;
}

#search_and_add {
    padding-top: 20px;
    padding-left: 35px;

    float: left;
}

#search_and_add div.separator {
    height: 39px;
    width: 2px;
    background: transparent url('../images/bgs/search-city-separator.gif') repeat-y left top;
    margin: 0 20px 0 5px;
    float: left;
}

#private_links {
    float: right;
    font-size: 13px;
    padding-top: 30px;
    width: 154px;
}
#private_links li {
    float: left;
}
#private_links li span {
    font-weight: bold;
}

#header .menu {
    padding-left: 172px;
    padding-top: 23px;
    zoom: 1;
    height: 13px;
}

#header .menu li {
    float: left;
    padding: 0 8px;
    border-left: 1px solid #b1bee0;
    line-height: 13px;
}

#header .menu li.first {
    padding-left: 0;
    border-left: 0;
}

#header .menu li a {
    color: #4c4c4c;
    font: 11px Verdana, Tahoma, sans-serif;
}

#add_offer_button {
    border-top: 1px solid #ccc;
    padding: 25px 0;
}

#add_offer_button input {
    width: 200px;
}

.simple_page h1 {
    padding-bottom: 8px;
}

.simple_page table.form td {
    padding: 10px 0;
}

.simple_page h2 {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
}

#login_to_system {
    font-weight: bold;
    font-size: 13px;
    padding-top: 8px;
}

.form .checkboxes {
    margin-top: 10px;
}

.form .checkboxes td {
    padding: 8px 35px 8px 0;
}

/**
*   Offers Popup Search
*/
#overlay {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #000;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); /* IE 5.5+*/
    -moz-opacity: 0.3; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 0.3; /* Konqueror 3.1, Safari 1.1 */
    opacity: 0.3; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
    z-index: 2;
}

/**
*   Borders and Paddings
*/
div.border_bottom_padding {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}
div.border_top_padding {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}
div.border_top {
    border-top: 1px solid #e5e5e5;
}
div.border_bottom {
    border-bottom: 1px solid #e5e5e5;
}

/**
 * Some misc styles
 */
.hidden {
    display: none;
}

p.see_other {
    padding-top: 20px;
}

/**
*   Top Rate Styles
*/
#top_list, #top_stat_link {
    font: normal 1em Arial, Tahoma, sans-serif;
}
#top_stat_link a {
    font-weight: bold;
}
#top_list thead th {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 3px;
    color: #808080;
    font-weight: normal;
}
#top_list thead th.position {
    text-align: center;
    width: 30px;
}
#top_list thead th.agency {
    text-align: left;
    width: 215px;
}
#top_list thead th.city {
    text-align: left;
}
#top_list thead th.visits_yesterday {
    text-align: right;
}
#top_list thead th.visits_today {
    text-align: right;
}
#top_list tbody tr.first td {
    padding-top: 15px;
}
#top_list tbody td {
    padding: 7px 3px;
}
#top_list tbody td.position {
    text-align: center;
}
#top_list tbody td.agency {
    text-align: left;
}
#top_list tbody td.city {
    text-align: left;
}
#top_list tbody td.visits_yesterday {
    text-align: right;
}
#top_list tbody td.visits_today {
    text-align: right;
}
#top_list tr.last td {
    border-bottom: 1px solid #e5e5e5;
    padding: 0 0 8px 0;
    line-height: 1px;
}
#top_cities {
    width: 150px;
}
#top_pager {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 15px;
    padding-top: 3px;
}
.top_text {
    padding-top: 20px;
    font: normal 1em Arial, Tahoma, sans-serif;
    padding-bottom: 15px;
}
.top_text p {
    padding-bottom: 15px;
}
.top_text ul.counters {
    margin: 10px 0;
}
.top_text ul.counters li {
    padding-bottom: 15px;
}
.top_text ul.counters li img {
    float: left;
}
.top_text ul.counters li p.comment {
    color: #808080;
    height: 31px;
    line-height: 31px;
    padding: 0 0 0 98px;
}
.top_text .button {
    padding: 0 50px;
    margin-top: 10px;
}
