.block_title {
    background: url(/images/head_grey_center.png) repeat-x left top;
    height: 27px;
}
.block_title .left_title {
    background: url(/images/head_grey_left.png) no-repeat left top;
    height: 27px;
}
.block_title .right_title {
    background: url(/images/head_grey_right.png) no-repeat right top;
    height: 27px;
    text-align: center;
    padding: 5px;
}
.block {
    margin: 1px 0 15px 0;
    padding: 10px 5px;
    text-align: center;
    background: #dddddd;
    border-bottom: 3px solid #cccccc;
}


#main_wrapper {
    width: 1000px;
    margin: 0 auto;
    padding-left: 14px;
    background: url(/images/shadow_body_left.png) left top repeat-y;
}
#main {
  width: 972px;
  padding-right: 14px;
  background: url(/images/shadow_body_right.png) right top repeat-y;
}
#top {
  height: 233px;
  padding: 10px 0 0 0;
  background: url(/images/head.jpg) no-repeat 0 95px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
#bottom {
  background: #dfdfdf;
  padding: 3px 10px 10px 3px;
  margin-top: 10px;
}
#left {
  width: 160px;
  margin-left: 5px;
  float: left;
  min-height: 200px;
}
#right {
  width: 150px;
  margin-right: 5px;
  float: right;
  min-height: 200px;
}
#content {
  margin: 0 160px 0 170px;
  padding: 0 10px;
}
#content_no_right {
  margin: 0 0 0 170px;
  padding: 0 10px;
}
#logo a {
  position: absolute;
  top: 95px;
  left: 5px;
  display: block;
  width: 144px;
  height: 90px;
  text-decoration: none;
}
#slogan {
  position: absolute;
  top: 107px;
  left: 250px;
  font-size: 1.5em;
}
#add_company {
  position: absolute;
  top: 154px;
  left: 201px;
}
#add_company .button_center {
    padding: 0;
    width: 140px;
}
#rss_link {
    background: url(/images/icons/rss.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
}



#top_hint {
    height: 23px;
    background-color: #dddddd;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 10px;
    line-height: 23px;
    vertical-align: middle;
}


.main_menu {
  width: 100%;
  overflow: hidden;
  position: absolute;
  background: url(/images/menu_line.png) repeat-x;
  height: 28px;
  left: 0;
  top: 192px;
}
.main_menu li:first-child {
  margin-left: 80px;
}
.main_menu li {
  float: left;
  text-align: center;
  margin-left: 30px;
}
.main_menu li a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  line-height: 28px;
  font-size: 1.1em;
  padding: 0 5px;
  vertical-align: middle;
}
.main_menu li.active a, .main_menu a:hover {
  color: #ffffff;
  background: url(/images/menu_active.png) repeat-x bottom;
}

.categories_index {
  margin: 0 auto 20px auto;
  width: 580px;
}
.categories_index li {
  float: left;
  margin: 10px 20px;
}
.categories_index li a {
  display: block;
  width: 142px;
  height: 132px;
  color: #000000;
  font-size: 1.1em;
  font-weight: bolder;
  text-decoration: none;
  text-align: center;
  background: no-repeat bottom;
}
.categories_index li div {
    text-align: center;
    color: #ed3d22;
    padding-top: 3px;
}
.categories_index .cat_gyms, .categories_index .cat_fights, .categories_index .cat_sections,
        .categories_index .cat_dance, .categories_index .cat_shops, .categories_index .cat_trainers {
    background-image: url(/images/categories_index.png);
    background-repeat: no-repeat;
}
.categories_index .cat_gyms {
    background-position: -284px 20px;
}
.categories_index .cat_gyms:hover {
    background: url(/images/gyms_a.gif) 0 20px no-repeat;
}
.categories_index .cat_fights {
    background-position: 0 20px;
}
.categories_index .cat_fights:hover {
    background: url(/images/fights_a.gif) 0 20px no-repeat;
}
.categories_index .cat_sections {
    background-position: -142px 20px;
}
.categories_index .cat_sections:hover {
  background: url(/images/sections_a.gif) 0 20px no-repeat;
}
.categories_index .cat_dance {
    background-position: -426px 20px;
}
.categories_index .cat_dance:hover {
  background: url(/images/dance_a.gif) 0 20px no-repeat;
}
.categories_index .cat_shops {
    background-position: -710px 20px;
}
.categories_index .cat_shops:hover {
  background: url(/images/shops_a.gif) 0 20px no-repeat;
}
.categories_index .cat_trainers {
    background-position: -568px 20px;
}
.categories_index .cat_trainers:hover {
  background: url(/images/trainers_a.gif) 0 20px no-repeat;
}



#user {
  position: absolute;
  top: 50px;
  right: 0;
  width: 220px;
  padding: 5px;
  text-align: right;
}
#login_form {
  display: none;
  border: 1px solid #dddddd;
  background: #ffffff;
  padding: 5px;
  position: absolute;
  top: 25px;
  right: 0;
  width: 230px;
}
#login_form dt {
  width: 50px;
}

#registration_form .input {
    width: 200px;
}
#registration_form .required {
    color: #dd0000;
}



#tags li {
    display: inline;
}
#tags a {
    text-decoration: none;
}
#tags a.level_0 {
    font-size: 1em;
}
#tags a.level_1 {
    font-size: 1.1em;
}
#tags a.level_2 {
    font-size: 1.15em;
}
#tags a.level_3 {
    font-size: 1.2em;
}
#tags a.level_4 {
    font-size: 1.25em;
}
#tags a.level_5 {
    font-size: 1.27em;
}
#tags a.level_6 {
    font-size: 1.3em;
}


/* companies list */



.selected_company {
    background-color: #fef3f3;
}
.company_short {
  margin: 10px 0 20px 0;
}
.company_short .info {
    padding: 5px;
}
.company_short .bottom {
    height: 20px;
    margin-top: 0;
    background: url(/images/grey_partition_center.gif) repeat-x;
}
.company_short .bottom .left, .company_short .bottom .right, .company_short .bottom .video {
    padding: 2px;
}
.company_short .bottom .left {
    color: #555555;
    width: 253px;
}
.company_short .bottom .right {
    width: 190px;
    padding-right: 5px;
}
.company_short .bottom .right, .company_short .bottom .video {
    font-size: 0.95em;
}
.company_short .bottom .bg_left, .company_short .bottom .bg_right {
    width: 4px;
    height: 20px;
}
.company_short .bottom .bg_left {
    float: left;
    background: url(/images/grey_partition_left.gif) no-repeat;
}
.company_short .bottom .bg_right {
    float: right;
    background: url(/images/grey_partition_right.gif) no-repeat;
}
.company_short .bottom .video {
    border-right: 1px solid #bdbdbd;
    border-left: 1px solid #fafafa;
}
.company_short .bottom .video_wrapper {
    float: right;
    width: 150px;
    height: 20px;
    text-align: center;
    border-left: 1px solid #bdbdbd;
    border-right: 1px solid #fafafa;
}
.company_short .image {
    float: left;
    width: 100px;
    margin: 0 5px 5px 0;
    position: relative;
}
.company_short .image .company_logo {
    width: 100px;
}
.company_short .title a {
    font-weight: bolder;
    text-decoration: none;
}
.company_short .title {
    margin-bottom: 5px;
}
.company_short .title .category {
    font-weight: normal;
}
.company_short td {
    vertical-align: top;
    padding: 0;
}
.company_short table {
    width: 200px;
    float: left;
    border-collapse: collapse;
}
.company_short table a {
    color: #888888;
}
.company_short .description {
    width: 290px;
    float: right;
}
.company_short .best {
    position: absolute;
    left: 0px;
    top: 0px;
}


#adverts_list .advert {
    margin: 1px 0 15px 0;
    padding: 5px 10px;
}
#adverts_list .advert a {
    font-weight: bolder;
}
#adverts_list .advert.best {
    background: #fce0e2;
}

.index_news {
}
.index_news_short {
    float: left;
    margin: 15px;
    width: 160px;
}
.index_news .center {
    margin: 15px 25px;
    text-align: left;
}
.index_news_short img {
    width: 160px;
    height: 120px;
}
.index_news_short .category {
    color: #999999;
    font-style: italic;
}
.index_news_short .title a {
    font-weight: bolder;
    text-decoration: none;
}

#news_full_list .news_short {
    margin: 10px 0 20px 0;
    text-align: justify;
}
#news_full_list .news_short img {
    width: 160px;
    height: 120px;
    float: left;
    margin-right: 5px;
}
#news_full_list .news_short .title a {
    font-weight: bolder;
    text-decoration: none;
}


.message_form {
    width: 310px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 5px;
    position: absolute;
}
.message_form > div {
    margin: 3px 0;
}
.message_form .input, .message_form textarea {
    width: 300px;
}
.message_form textarea {
    height: 100px;
}
.message_form .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 5px;
    text-decoration: none;
    background: #f5f5f5;
    font-weight: bolder;
}

#company_photos img {
    border: 1px solid #dddddd;
}
#company_view_logo {
    width: 160px;
    float: left;
    margin-right: 10px;
}
#company_view_logo img {
    width: 160px;
    border: 1px solid #dddddd;
}
.company_view_main_info {
    margin-left: 170px;
}
.company_view_main_info table {
    width: 260px;
    float: left;
    padding: 0;
    border-collapse: collapse;
}
#company_view_schedule {
    width: 200px;
    float: right;
}
#company_view_schedule table {
    width: 99.9%;
}
#company_view_schedule table .aright {
    width: 100px;
}
#company_view_schedule .center {
    margin-bottom: 5px;
}
#company_view_url .left, .company_view_main_info_title {
    width: 50px;
}
#company_view .trainer {
    padding: 7px 0;
}
#company_view .trainer img {
    float: left;
    margin: 0 5px 5px 0;
}

#cv_media {
    width: 160px;
    float: left;
}
#cv_right {
    margin-left: 170px;
}

#company_view h3 {
    margin-top: 15px;
}
.cv_list div {
    padding: 1px 3px;
}
.cv_list .bg_grey {
    margin-top: 5px;
}

#cv_prices {
    margin-top: 15px;
}
#cv_prices table {
    width: 99%;
    border-collapse: collapse;
}
#cv_prices .cv_price {
    width: 100px;
    text-align: right;
}
.cv_light_list li {
    padding: 1px 0;
}

.company_controls {
    overflow: hidden;
    padding: 3px 5px;
    background: #fce0e2;
    margin-bottom: 3px;
}
.company_controls li {
    float: left;
    margin-right: 10px;
}
.company_controls a {
    color: #770000;
    text-decoration: none;
}
.company_controls a:hover {
    text-decoration: underline;
}
.company_controls .active a {
    text-decoration: none;
    color: #cc3333;
}

.company_news_item {
    margin-top: 15px;
}
.company_news_item a {
    font-weight: bolder;
    text-decoration: underline;
}
.company_news_item .text {
    text-align: justify;
}


#news_form dl {
    margin: 5px 0;
}
#news_form dt {
    float: none;
    text-align: left;
}
#news_form dd {
    margin: 0;
}
#news_form .input {
    width: 400px;
}
#news_form textarea {
    width: 90%;
    height: 500px;
}

#news_view img {
  float: left;
  margin: 0 10px 10px 0;
}
#news_view .source {
    text-align: right;
    margin-top: 20px;
    color: #888888;
}

#cat_search select {
    width: 210px;
}
#search_form {
    height: 68px;
    overflow: hidden;
}
#search_form .search_top .left, #search_form .search_top .right {
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    padding: 0 2px;
}
#search_form .search_top .left {
    color: #ffffff;
    font-size: 1.1em;
}
#search_form .search_top .right {
    color: #fff9c2;
    font-size: 0.88em;
}
#search_form .search_top .left_round {
    width: 5px;
    height: 27px;
    background: url(/images/head_left.png) left 0 no-repeat;
}
#search_form .search_top .right_round {
    width: 5px;
    height: 27px;
    background: url(/images/head_right.png) right 0 no-repeat;
}
#search_form .search_top {
    padding: 0;
    height: 27px;
    background: url(/images/head_center.png) left 0 repeat-x;
}

#search_form .lgrey_left {
    background: #dddddd url(/images/grey_down_left.gif) left 0 no-repeat;
}
#search_form form {
    padding: 8px;
    _width: 584px;
    background: url(/images/grey_down_right.gif) right 0 no-repeat;
    overflow: hidden;
    margin: 0 auto;
}
#search_form .button_left {
    width: 140px;
}
#search_form .button {
    width: 130px;
}
#search_form select, #search_form .button_left {
    float: left;
    margin: 0 7px;
}

#letter_search {
    text-align: center;
    margin: 10px 0;
}
#letter_search a {
    text-decoration: none;
    font-size: 1.1em;
    margin: 0 5px;
}


#subscribe .submit {
    display: none;
}
#subscribe a {
    display: block;
    float: right;
    width: 34px;
    height: 23px;
    background: url(/images/mail_but.png) left 0 no-repeat;
}
#subscribe a:hover {
    background: url(/images/mail_but_active.png) left 0 no-repeat;
}
#subscribe .input {
    width: 108px;
    border: none;
    background: url(/images/mail_left.png) left 0 no-repeat;
    height: 23px;
    padding: 0 5px;
    color: #777777;
}
#subscribe {
    margin-left: 2px;
    margin-bottom: 15px;
    background: url(/images/mail_center.png) repeat-x;
}


#gmap {
  width: 600px;
  height: 470px;
}
#small_map {
    width: 160px;
    height: 170px;
    cursor: pointer;
}

.video_item {
    margin-bottom: 10px;
}
.video_player {
    display: block;
    width: 160px;
    height: 120px;
}
#video_full {
    width: 600px;
    margin: 0 auto;
}
#video_full .video_player {
    width: 600px;
    height: 450px;
}
#video_edit .video_player {
    width: 400px;
    height: 300px;
}

#awards_list {
    margin: 0 0 15px 23px;
}
#awards_list li {
    padding-top: 3px;
    margin-left: 0;
}

#friends .left {
    margin: 0 10px 20px 10px;
}



.advert_form {
    margin-top: 10px;
}
.advert_form div {
    margin: 3px 0;
}
.advert_form .input {
    width: 300px;
}
.advert_form textarea {
    width: 300px;
    height: 100px;
}

#review_form textarea {
    width: 400px;
    height: 150px;
    margin: 5px 0;
}
#review_form .button {
    margin-top: 10px;
}

#reviews_list {
    margin-bottom: 20px;
}
.review {
    margin: 10px 0;
    border: 1px solid #eeeeee;
    background: #f7f7f7;
}
.date {
    font-size: 0.83em;
    color: #bbbbbb;
    padding: 2px 5px;
}
.review .text {
    padding: 5px;
}

#clubs_search .input {
    margin-right: 5px;
}
#clubs_search_results {
    margin-top: 5px;
}

#printscrin_wrapper {
    padding: 10px;
}
#ps_open_link {
    vertical-align: text-bottom;
}
