/* CSS Document */
.clear {
  clear:both;
  height:0px;
  overflow:hidden;
}

#page {
  width:944px;
  margin:0 auto;
  min-height:100%;
  position:relative;
}


#top_menu {
  height:38px;
  border-left:1px #1091d5 solid;
  border-right:1px #1091d5 solid;
}

#top_menu ul {
  margin:0;
  padding:0;
  font-size:0;
}

#top_menu ul li {
  list-style-type:none;
  display:inline-block;
  height:38px;
  line-height:38px;
  border-right:1px #1091d5 solid;
  font-size:0;
}

#top_menu ul li a, #top_menu ul li span {
  display:block;
  text-decoration:none;
  text-align:center;
  padding:0 29px;
  color:#0c88ca;
  font-size:14pt; 
}

#top_menu ul li a:hover  {
  text-decoration:underline;
}

#top_menu ul li span { 
  background:url(../images/top_menu_bg.jpg) repeat-x top;
  color:#fff;
}

#top_menu ul li:hover ul {
  display:block;
}

#top_menu ul li ul {
  position:absolute;
  z-index:99;
  border-top:1px #1091d5 solid;
  margin-left:-1px;
  display:none;
}

#top_menu ul li ul li {
  display:block;
  background:#fff;
  border-left:1px #1091d5 solid;
  border-right:1px #1091d5 solid;
  border-bottom:1px #1091d5 solid;
  text-align:left;
}

#top_menu ul li ul li a {
  text-align:left;
}

#main_block {
  border-left:1px #1091d5 solid;
  border-right:1px #1091d5 solid;
  border-bottom:1px #1091d5 solid;
}

.big_border {
  border: 8px solid #017ece; 
}

.page_select_time .top_block {
  
}

.page_select_time .top_block {
  padding:12px 0; 
  border-bottom: 8px solid #017ece; 
} 

.page_select_time .top_block table {
  width:100%;
}

.page_select_time .top_block td {
  padding:5px;
  vertical-align:top;
}

.page_select_time .top_block .label {
  text-align:right;
}

.top_block .col_1 {
  width:110px;
}

.top_block .col_2 {
  width:135px;
}

.top_block .col_3 {
  width:110px;
}

.top_block .col_4 {
  width:115px;
}

.top_block .col_5 {
  width:75px;
}

.top_block .col_6 {
  width:215px;
}

.top_block .col_7 {
  
}

.top_block .field {
  width:90px;
}

.top_block .trener {
  width:180px;
  float:left;
  margin-right:1px;
}

.days_block {  
  padding-top:8px;
  border-bottom: 8px solid #017ece; 
}

.days_block table {
  width:100%;
}

.days_block td {
  vertical-align:top;
  width:14.3%;
  padding:0px 12px 12px 12px;
  background:url(../images/sep.jpg) no-repeat right bottom;
}

.days_block .col_7 {
  background:none;
}

.days_block label, .days_block label input {
  cursor:pointer;
}

.days_block input[type="checkbox"] {
  float:left;
  margin:0;
  margin-right:6px;
  margin-top:2px;
}

.days_block select {
  width:108px;
}

.days_block .label {
  margin-bottom:7px;
}

.r_table_place {
  padding:10px;
  border-bottom: 8px solid #017ece; 
}

.result_table, .abonement_table  {
  width:100%;
  border-top:1px #a8acad solid;
  border-right:1px #a8acad solid; 
}

.abonement_table {
  border-right:none;
  border-top:none;
}

.result_table td, .abonement_table td {

  padding: 3px 4px;
  vertical-align:top;
  width:11.11%;
  border-bottom:1px #a8acad solid;
  border-left:1px #a8acad solid;
}

.abonement_table td {
  border-left:none;
  border-right:1px #a8acad solid;  
}

.result_table .summ_label, .abonement_table .summ_label {
  text-align:center;
  vertical-align:middle;
}

.bottom_bock {
  padding:10px 0px;
  margin:0px 10px;
  padding-top:14px;
}

.bottom_bock .clients { 
  float:left;
  width:345px;
}

.bottom_bock .commnet { 
  float:left;
  width:320px;
  margin-left:20px;
}

.bottom_bock .button_1 { 
  float:left;
  width:90px;
  margin-left:20px;
  padding-top: 23px;
}

.bottom_bock .button_2 { 
  float:left;
  width:90px;
  margin-left:20px;
  padding-top: 23px;
}

.bottom_bock .clients .row {
  margin-bottom:14px;
} 

.bottom_bock .clients .num {
  float:left;
  width:22px;
} 

.bottom_bock .clients .field_block {
  margin-left:22px;
}

.title {
  margin-bottom:8px;
}

.title a, .title a:hover {
  text-decoration:none;
  border-bottom:1px #666 dashed;
  color:#666;
  margin-right:10px;
}

.title a.active {
  border-bottom:none;
}

.bottom_bock input[type="checkbox"] {
  float:left;
  margin:0;
  margin-top:4px;
}

.bottom_bock .clients .organisation_name {
    float: left;
    margin-right: 1px;
    width: 287px;
}


.bottom_bock .clients .num p {
  padding-top:3px;
}

.bottom_bock .clients .client_name {
    float: left;
    margin: 0 1px;
    width: 180px;
}

.bottom_bock .clients .small_button {
  float:left;
}

.bottom_bock .clients .button_print {
  width:79px;
  text-align:center;
  color:#4c4c4c;
  text-decoration:none !important;
  margin-left: 1px;
  line-height:18px;
}

.bottom_bock textarea {
  width:310px;
  height:50px;
  resize:vertical;
}

#st_date {
  display:block;float:left;
  margin-right:4px;
}

.ui-datepicker-trigger {
  border:0;
  background:none;
  padding:0;
  display:block;
  float:left;
  margin-top:-2px;
  cursor:pointer;
}

.header td {
  text-align:center;
  vertical-align: middle !important;
  background:#d7d7d7;
  color:#555;
  font-weight:bold;
}

.page_client .two_cols {
  width:100%;
}

.page_client .two_cols td {
  vertical-align:top; 
}

.page_client .two_cols .left {
  border-right: 8px solid #017ece;
  width:270px;
  padding:10px;  
}

.page_client .two_cols .right {
  padding:10px;  
}

.page_client .block {
  margin-bottom:22px;  
}

.org_filter, .client_filter {
  width:278px !important;
  padding-left:28px !important;
}

.filter {
  position:relative;
  margin-bottom:8px;
}

.filter_button {
  position:absolute;
  height:20px;
  width:20px;
  top:2px;
  left:5px;
  background:url(../images/filter.png) no-repeat center center;
}

.scroll_list {
  height:123px;
  border:1px #a8acad solid;
  background:url(../images/field.jpg) repeat-x top;
  position:relative;
  padding:2px 1px;
  padding-left:2px;
  border-radius: 2px 2px 2px 2px;
  overflow-y:scroll;
  overflow-x:hidden;
}

.page_client .clients {
  height:185px;
}

.scroll_list .item {
  height:21px;
  line-height:21px;
  overflow:hidden;
  padding-left:8px;
  cursor: default;
  position:relative;
  width: 282px;
}

.scroll_list .push {
  height:21px;
}

.scroll_list .item:hover, .scroll_list .active_item  {
  background:#cce5f5;
}

.scroll_list .item .color_box {
  display:none;
}

.scroll_list .item p {
  display:block;
  position:absolute;
  height:21px;
  width:150%;
}

 .block .bottom_panel {
  position:absolute;
  width:294px;
  height:18px;
  background:#fff;
  margin-top:-21px;
  margin-left:1px;
  padding-top:2px;
  z-index: 99;
}

 .block .bottom_panel .l_button {
  float:right;
  margin-right:4px;
}

.block .item .buttons {
  position:absolute;
  right:0px;
  top:2px;
  z-index:99;
  display:none;
  width:37px;
  padding:0 2px;
  background:#cce5f5;
}

.scroll_list .item:hover .buttons {
  display:block;
}

.block .item .l_button_copy {
  display:none;
}

#client_list .item .l_button_copy {
  display:inline-block;
}

#client_list .item .buttons {
  width:57px;
}

.window .caption {
  font-size:10pt;
  margin-bottom:4px;
}

.window .field {
  width:260px;
  margin-bottom:8px;
}

.window textarea {
  width:260px;
  margin-bottom:8px;
  resize:vertical;
}

.ui-state-default {
  font-weight:normal !important;
  padding-bottom: 2px;
}

#b_date {
  width: 230px;
  float:left;
}

.window .ui-datepicker-trigger {
  float:right;
}

.no-close .ui-dialog-titlebar-close {
  display: none;
}

.page_raspisanie .p_wrp {
  padding:10px 0px;
  margin-left:10px;
}

.page_raspisanie .top_block {
  width:100%;
  margin:0 auto;
  margin-bottom:10px;
}

.page_raspisanie .top_block td {
  vertical-align:top;
  width:33%;
  padding-right:10px;
} 

.trener_filter, .sect_filter, .napr_filter {
  width:261px !important;
  padding-left:28px !important;
}

.page_raspisanie .block .bottom_panel {
  width:276px;
}

.page_raspisanie .block .item {
  width:265px;
}

.page_raspisanie #trener_list .item {
  width:245px;
  padding-left:28px;
}

.page_raspisanie #trener_list .item .color_box {
  display:block;
  height:17px;
  width:17px;
  border:1px #ccc solid;
  position:absolute;
  top:1px;
  left:2px;
}

.r_table {
  width:99%;
  border-top:1px #a8acad solid;
  border-right:1px #a8acad solid;
  margin-bottom:10px;
}

.r_table td {

  padding: 3px 4px;
  vertical-align:top;
  border-bottom:1px #a8acad solid;
  border-left:1px #a8acad solid;
}

.r_table .time_col {
  width:70px;
}

.r_table .hover {
  background:#eee;
  color:#000;
}

.r_table .i {
  cursor:pointer;
  font-size:7pt;
  padding:1px !important;
  vertical-align:middle;
  text-align:center;
}

.r_table .free_time {
  background:#c5ebc5;  
}

.r_table .busy_time {
  background:#e38d8d;
}

.new_time input {
  width:80px;
  float:left;
  margin-right:1px;
}

.new_time label {
  float:left;
  margin-right:4px;
  padding-top:2px;
}

.result_table .item td, .abonement_table .item {
  text-align:center;
}

.result_table .v_item {
  cursor:pointer;
}


#summ_cell {
  text-align:center;
}

.report_wrap {
  padding:10px;
}

#rep_st_date, 
#rep_en_date, 
#org_st_date, 
#org_en_date,
#cell_st_date,
#cell_en_date {
    display: block;
    float: left;
    margin-right: 4px;
    width:80px;    
}

.build_week_rep, .build_week_rep:hover {
    color: #4C4C4C;
    line-height: 18px;
    margin-left: 1px;
    text-align: center;
    text-decoration: none !important;
    width: 105px !important;
}

.build_trener_rep, .build_trener_rep:hover {
    color: #4C4C4C;
    line-height: 18px;
    margin-left: 1px;
    text-align: center;
    text-decoration: none !important;
    width: 105px !important;
}

.build_org_rep, .build_org_rep:hover {
    color: #4C4C4C;
    line-height: 18px;
    margin-left: 1px;
    text-align: center;
    text-decoration: none !important;
    width: 105px !important;
}

.build_cell_rep, .build_cell_rep:hover {
    color: #4C4C4C;
    line-height: 18px;
    margin-left: 1px;
    text-align: center;
    text-decoration: none !important;
    width: 105px !important;
}

.year_filed {
  width:32px;
}

.month_select {
  width:80px;
}

.border_top {
  border-top:8px solid #017ECE;
}

.dayoff_block {
  width:312px;
}

#dayoff_value {
  width:230px;
}

 #wait_win {
    top: 0;
    position: fixed;
    height: 40px;
    margin-left: 776px;
    width: 160px;
    display:none;
    padding-top:8px;
 }
 
 #wait_win .wrp {
   background: none repeat scroll 0 0 #D7D7D7;
    color: #222;
    display: block;
    height: 40px;
    opacity: 0.9; 
    text-align: center;
    width: 160px;
    border-radius:8px 8px 8px 8px;
    float:right;
    border:1px #666 solid;
    font-weight:bold;
 }
 
  #wait_win p {
    padding-top:5px;
  }
  
  .abonement_list {
    height:440px;
    overflow-y: scroll;
    border:1px solid #A8ACAD;
  }
  
  .pagination {
    padding-top:6px;
    text-align:center;
  }
  
  .pagination a {
    margin:0 1px;
    text-decoration:none;
    padding:2px 3px;
    display:block;
    float:left;
  } 
  
  .pagination a:hover,
  .pagination a.active {
    text-decoration:underline;
  }
  
  .r_table .time_col .rel {
    position:relative;
  }
  
  .r_table .time_col .buttons {
    display:none;
    background: none repeat scroll 0 0 #FFFFFF;
    right: -43px;
    margin-top: -4px;
    padding-top: 3px;
    position: absolute;
    border:1px solid #A8ACAD;
    border-left:none;
    padding-right:2px;
  }
  
  .r_table .time_col:hover .buttons {
    display:block;
    
  }
  
  .ex_price input {
    width:30px;
    border:0;
    width: 80px;
    text-align:center;
  }
  
.page_title {
  border-bottom:1px #1091d5 solid;
  
  padding:6px 10px;
}

.service_block,
.day_block,
.stime_block {
  width:280px;
  float:left;
  margin-left:10px;
}

.service_block .scroll_list, 
.stime_block .scroll_list,
.day_block .scroll_list {
  height:423px !important;
} 

.service_block .bottom_panel,
.stime_block .bottom_panel,
.day_block .bottom_panel {
  width:262px;
}

.day_block .item:hover .buttons {
  display:none;
}

.service_block .scroll_list .item,
.stime_block .scroll_list .item,
.day_block .scroll_list .item {
  width:252px;
}

.window {
  display:none;
}

.sa_top_menu {
  margin-bottom:10px;
}

#sa_date {
  display:block;
  float:left;
  width:70px;
}

#serv_list {
  width:150px;
}

.sa_date_label {
  display:block;
  float:left;
  margin-right:4px;
  padding-top:3px;
}

.sa_type {
  float:left;
  margin-right:10px;
}

.table  {
  
  border-top:1px #a8acad solid;
  border-right:1px #a8acad solid; 
  margin-bottom:10px;
}

.table td {
  padding: 3px 4px;
  vertical-align:top;
  border-bottom:1px #a8acad solid;
  border-left:1px #a8acad solid;
  text-align:center;

}

.table td.i {
  
}

.table td.active {  
  background:#ccc;
}


.sa_date {
  float:left;
}

.client_field_block {
  
}

.client_field_block .client_name {
  float:left;
  width:200px;
}

.time_field_block {
  margin-bottom:10px;
}

#sa_from_time, 
#sa_to_time {
  width:60px;
}

#sa_tcount,
#sa_price,
#sa_summ {
  width:60px;
}

.save_visit, .save_visit:hover {
    color: #4C4C4C;
    line-height: 18px;
    margin-left: 1px;
    text-align: center;
    text-decoration: none !important;
    width: 105px !important;
    margin-left:10px;
}

.sa_fields .small_button {
  float:left;
}

#id_pool {
  width:150px;
}

.sa_comment {
  float:left;
  height:16px;
  width:200px;
}

.page_client .bottom_panel {
  width: 254px;
}

.page_client .org_filter, 
.page_client .client_filter {
  width: 238px !important
}

.page_client .scroll_list .item {
  width: 242px;
}

#select_id_service {
  width:550px;
}

.week_selector {
  display:block;
  float:right;
}

.week_selector a {
  margin-right:10px;
  color:#4c4c4c;
  text-decoration:none;
}

.week_selector a:hover {
  text-decoration:underline;  
}

input.error {
  border:1px #ff0000 solid;
}

.error_message {
  color:#ff0000;
  font-size:10pt;
  margin-bottom:5px;
}