  * {font-family: Calibri, Arial Narrow, Tahoma, Verdana; font-size: 12px;}
  html,body {height:100%;margin:0px;padding:0px}  body {background: url('/img/mainbg.jpg');}
  .main_left {background: url(/img/left_shadow.png) repeat-Y; background-position: right;}  .main_right {background: url(/img/right_shadow.png) repeat-Y; background-position: left;}
  h1 {color: #23394a; font-size: 20px; margin-left: 20px;}
  h2 {color: #5ca605; font-size: 16px; margin-left: 20px;}
  a {color: #23394a; text-decoration: underline;}
  a:hover {color: #23394a; text-decoration: none;}
  .corners {
    border-radius: 10px; /* Возможно какой-нибудь браузер в будущем, будем надеяться IE */    
    -webkit-border-radius: 10px; /* WebKit (Safari/Chrome) */    
    -khtml-border-radius: 10px; /* KHTML (Konquerer) */    
    -opera-border-radius: 10px; /* Возможно Opera в будущем */    
    -moz-border-radius: 10px; /* Gecko (Firefox) */
  }
  
  /* Top styles */
  .top_row {width: 100%; height: 100px; background: url('/img/top.gif') repeat-x;}
  .top_row_buttons {float: right;}
  .login_button {background-image: url('/img/login.gif'); width: 91px; height: 24px; float: right; margin-top: 6px; margin-right: 3px; cursor: pointer;}
  .logout_button {background-image: url('/img/logout.png'); width: 91px; height: 24px; float: right; margin-top: 6px; margin-right: 10px; margin-left: 10px; cursor: pointer;}
  .top_welcome {color: white; height: 24px; float: right; margin-top: 10px; margin-right: 3px;}
  .singup_top_button {background-image: url('/img/singup.gif'); width: 91px; height: 24px; float: right; margin-top: 6px; margin-right: 10px; cursor: pointer;}
  .div_language {color: white; float: left; margin-left: 10px; margin-top: 10px; margin-right: 5px; font-size: 14px; }

  /* Selectbox */
  .select_area {float: left; width:155px; position: relative;}
  .selector {background: url('/img/top_select_bg.gif') repeat-x; width: 155px; height: 32px; margin-top: 6px;}  
  .select_decor {width:10px; height: 27px; background: url('/img/top_select_left.gif'); float: left;}
  .select_flag {background: url('/img/en_flag.gif') no-repeat; background-position: 3px 1px; height: 27px; float: left; margin-top: 5px; padding-left: 30px; cursor: pointer;}
  .select_button {width:26px; height: 27px; background: url('/img/top_select_right.gif'); float: right; cursor: pointer;}
  .select_box {display: none; border-left: 1px solid #807878; border-right: 1px solid #807878; border-bottom: 1px solid #807878; width: 119px; position: absolute; top: 29px; left: 9px; background: white; z-index: 3;}
  .opt_highlight {height: 20px; float: left; cursor: pointer; z-index: 2; width: 119px;}
  .opt1 {background: url('/img/ru_flag.gif') no-repeat; background-position: 3px 1px; height: 20px; float: left; margin-top: 2px; margin-bottom:5px; padding-left: 30px; cursor: pointer; z-index: 2;}
  .opt2 {background: url('/img/ru_flag.gif') no-repeat; background-position: 3px 1px; height: 20px; float: left; margin-top: 2px; margin-bottom:5px; padding-left: 30px; cursor: pointer; z-index: 2;}
  .opt3 {background: url('/img/ru_flag.gif') no-repeat; background-position: 3px 1px; height: 20px; float: left; margin-top: 2px; margin-bottom:5px; padding-left: 30px; cursor: pointer; z-index: 2;}
  .opt4 {background: url('/img/ru_flag.gif') no-repeat; background-position: 3px 1px; height: 20px; float: left; margin-top: 2px; margin-bottom:5px; padding-left: 30px; cursor: pointer; z-index: 2;}
  
  /* Main menu */
  .main_menu {font-family: Arial Narrow, Arial, Verdana; width:100%; height: 50px; background: url('/img/menu_bg.gif') repeat-x;}
  .main_menu li {font-family: Arial Narrow, Arial, Verdana; color: white; display: block; float: left; margin-left: 30px; margin-top: 11px; font-size: 14px; padding: 5px; padding-top: 3px; background: #45634b;}
  a.menu_link {font-family: Arial Narrow, Arial, Verdana; color: white; text-decoration: none; font-size: 16px;}
  a.menu_link:hover {font-family: Arial Narrow, Arial, Verdana; color: white; text-decoration: underline; font-size: 16px;}
  
  /* Index */
  .left_pane {width: 650px; float: left;} 
  .right_pane {width: 220px; float: right; background: none; overflow: hidden; padding 0px; margin: 0px;}
  .right_blue_pane {background: #d3d8dc; border: 1px solid #23394a; padding: 10px; margin-top: 10px;}
  
  .processing_msg {background-image: url(/img/quickloader.gif); background-repeat: no-repeat; background-position: 25px; padding: 10px; margin:5px; margin-left: 30px; margin-right: 30px; background-color: #cce6ff; color: #0b73d4; border:1px solid; border-color: #0b73d4; padding-left:80px; display: none;}
  .info_msg {background-image: url(/img/ico/cancel.png); background-repeat: no-repeat; background-position:5px; padding: 10px; margin:5px; margin-left: 30px; margin-right: 30px; background-color: #fef0a4; color: #464646; border:1px solid; border-color: #ffb515; padding-left:30px;}

  .userico {vertical-align: top; margin-top: -2px; margin-right: 1px; margin-left: 1px;}
  .news_text {font-size: 16px;}
 
  /* Submenu */
  .submenu {float: left; margin: 16px; width: 219px; background: url('/img/submenu_bg.png');}
  .submenu_top {background:url('/img/submenu_topbg.gif'); background-position: bottom; width: 219px; height: 25px;}
  .submenu_item {float: left; height: 25px; overflow: hidden; cursor: pointer; padding-left: 1px; padding-right: 1px;}
  .submenu_item_content {margin-top: 5px; margin-left: 10px; margin-right:10px;}
  .submenu_active {float: left; background:url('/img/submenu_topbgactive.gif'); border-right: 1px solid #7e9808; border-left: 1px solid #7e9808; height: 25px; overflow: hidden; padding: 0px;}
  .submenu_content {margin: 15px;}
  .submenu_bottom {background:#fff url('/img/submenu_bottom.png'); background-repeat: no-repeat; background-position: top; width: 219px; height: 6px;}

  .rss_subscribe {float: right; background-image: url(/img/rss.gif); background-repeat: no-repeat; background-position: 5px; padding: 10px; padding-left:47px; margin-right: 10px; margin-top: 2px;}
  .rss_subscribe a {text-decoration: underline; color: #6f6f6f; font-size: 14px;}
  .rss_subscribe a:hover {text-decoration: none; color: #6f6f6f; font-size: 14px;}
  .tweet_link {float: right; background-image: url(/img/ico/balloon-twitter.png); background-repeat: no-repeat; background-position: 5px; padding: 10px; padding-left:47px; margin-right: 10px; margin-top: 2px;}
  .tweet_link a {text-decoration: underline; color: #6f6f6f; font-size: 14px;}
  .tweet_link a:hover {text-decoration: none; color: #6f6f6f; font-size: 14px;}
  
  /* Auth overlay */
  #overlayBackground {position: absolute; background: black; top: 0; right: 0; width: 100%; z-index:1000; } 
  #login_form {margin: 0px; padding: 0px; background: url('/img/auth_bg.png'); width: 320px; height: 195px; position: absolute; z-index:1001; top: 250px; left: 35%; font-size:12px; display: none; text-align: center;}
  a.login_link {color: black;}
  a.login_link:hover {color: #595959;}
  
  /* Reg forms */
  .ajaxPreloader {margin: 5px;}

  .simpleForm input {font-size: 18px; color: #555; padding:0px 5px 5px 22px; border: 1px solid #99b3e6; width: 275px; background-color: #fff;}
  .simpleForm select {font-size: 18px; color: #555; padding:0px 0px 0px 22px; height: 30px; border: 1px solid #99b3e6; width: 304px; background-image: url('/img/ico/form_select_ico.gif'); background-repeat: no-repeat; background-position: 0px center; }
  .simpleForm textarea {color: #555; padding:2px 5px 5px 22px; border: 1px solid #99b3e6; height: 200px;}	  
  .simpleForm fieldset {border:1px dashed #657909; padding: 10px; margin: 20px;}
  .simpleForm legend {background-image: url('/img/form_set_bg.gif'); color: black; font-size: 1.1em;  font-weight:bold; line-height: 1.5em; border: 1px solid #ccc; padding: 2px 6px;}
  .simpleForm label {background-color: #fff; height: 20px; padding-top: 4px; text-align: left; dislpay: block; float: left;}
  .simpleForm .buttons {margin-left: 18px} 
  
  .formInput {float: none; clear: both; margin-bottom: 10px;}
  .formLabel {width: 30%; text-align: right; float: left; margin-top: 7px; margin-right: 5px;}
  
    /* input styles */
    .input_ok {background-image: url(/img/ico/accept.png); background-repeat: no-repeat; background-position: center center; width: 30px; height: 30px; float: left; display: none;}  
    .input_error {display: none; url(/img/ico/form_error.png); background-repeat: no-repeat; background-position: 10px 14px; background-color: #fbd9d9; color: maroon; border:1px solid; border-color: #dc1717; padding: 10px; padding-left: 30px; clear: both; margin-bottom: 10px;}
    
    .tag_element{font-size: 18px; color: #999999; padding: 0px 5px 5px 22px; border-bottom: 1px solid #99b3e6; width: 275px; background-color: #fff;}
    .textarea {*background-attachment: fixed; }
    .textarea { background-image: url('/img/ico/form_data_ico.gif'); background-repeat: no-repeat; background-position: 2px center; padding: 10px; width: 275px; font-size: 18px;}
        
    .textarea_full {*background-attachment: fixed; }
    .textarea_full { background-image: url('/img/ico/form_data_ico.gif'); background-repeat: no-repeat; background-position: 2px center; padding: 10px; width:95%;}
    
    .textarea_agreement {*background-attachment: fixed; }
    .textarea_agreement {width:95%; background-image: url('/img/ico/form_data_ico.gif'); background-repeat: no-repeat; background-position: 2px center; padding: 10px; height: 300px; font-size: 10px; color: black;}
    
    .textarea:focus, .textarea:hover  {background-color:#F0FFE6;}
    .textbox {background-image: url('/img/ico/form_data_ico.gif'); background-repeat: no-repeat; background-position: 2px center; background-color:#FFFFFF; font:normal 18px;}    
    .textbox:focus, .textbox:hover  {background-color:#F0FFE6;}
    .link_textbox {background-image: url('/img/ico/link.png'); background-repeat: no-repeat; background-position: 2px center; background-color:#FFFFFF; font:normal 18px;}    
    .link_textbox:focus, .link_textbox:hover  {background-color:#F0FFE6;}
    .textbox2 {background-image: url('/img/ico/form_data_ico.gif'); background-repeat: no-repeat; background-position:3px center;}	
    .textbox2:focus, .textbox:hover {background-color:#F0FFE6;}
    .username {background-image: url(/'img/ico/form_user_ico.gif'); background-repeat: no-repeat; background-position: 2px center;}	
    .username:focus, .username:hover {background-color:#F0FFE6;}	
    .password {background-image: url('/img/ico/form_pass_ico.gif'); background-repeat: no-repeat; background-position: 2px center;}	
    .password:focus, .password:hover {background-color:#F0FFE6;}
    .password2 {background-image: url('/img/ico/form_pass_ico.gif'); background-repeat: no-repeat; background-position:2px center;}	
    .password2:focus, .password:hover {background-color:#F0FFE6;}	
    .email {background-image: url('/img/ico/form_mail_ico.gif'); background-repeat: no-repeat; background-position:2px center;}	
    .email:focus, .email:hover {background-color:#F0FFE6;}
    .intval {background-image: url('/img/ico/form_int_ico.gif'); background-repeat: no-repeat; background-position:2px center;}	
    .inval:focus, .password:hover {background-color:#F0FFE6;}
    .submit {padding: 0px; background-color: red; color: green;}	
  /* End reg forms */


  #hospital_table tbody tr {border-bottom: 1px dashed  #dcdcdc; height: 22px;}
  #hospital_table {margin-bottom: 18px;}
  #hospital_table tr {margin-bottom: 18px; cursor: pointer;}

  .viewHospital tr {height: 24px;}
  .viewHospital td {font-size: 14px; padding-left: 10px;}
  .viewHospitalColorRow {background-color: #f3f7fe; border-top:  1px dashed  #dcdcdc; border-bottom: 1px dashed  #dcdcdc;}

  .tipDiv {position: relative; left: 10px; top: -10px; border: 1px solid gray; width: 300px; text-align: center; padding: 5px; background: #fef6ab; display: inline; visibility: hidden;}
  .tipDiv_backup {position: relative; left: 150px; top: -80px; border: 1px solid gray; width: 300px; text-align: center; padding: 5px; background: #fef6ab; display: none;}

  /* File ico's */
  a.pdf {background: url(/img/ico/links/pdf.gif) left top no-repeat; padding-left: 18px; font-size: 14px; line-height: 1.4; padding-bottom: 1px;}
  a.zip {background: url(/img/ico/links/zip.gif) left top no-repeat; padding-left: 18px; font-size: 14px; line-height: 1.4; padding-bottom: 1px;}
  a.rar {background: url(/img/ico/links/zip.gif) left top no-repeat; padding-left: 18px; font-size: 14px; line-height: 1.4; padding-bottom: 1px;}
  a.xls {background: url(/img/ico/links/xls.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.rtf {background: url(/img/ico/links/word.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.doc {background: url(/img/ico/links/word.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.ppt {background: url(/img/ico/links/ppt.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.pic {background: url(/img/ico/links/pic.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.mus {background: url(/img/ico/links/music.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.cdr {background: url(/img/ico/links/cdr.gif) left top no-repeat; padding-left: 18px; line-height: 1.4; padding-bottom: 1px;}
  a.userico {background: url(/img/ico/links/user.gif) left top no-repeat; padding-left: 17px; display: inline-block;}
  
  a.usertypeuser {background: url('/img/ico/user_def12.png') no-repeat 0px center; text-decoration: underline; color: #336699; margin-left: 10px; padding-left: 14px;}
  a.usertypedoctor {background: url('/img/ico/user_doctor12.png') no-repeat 0px center; text-decoration: underline; color: #336699; margin-left: 10px; padding-left: 14px;}

  a.comm_type_pers {background: url('/img/ico/comm_pers12.png') no-repeat 0px center; text-decoration: underline; color: #336699; margin-left: 10px; padding-left: 14px;}
  a.comm_type_prof {background: url('/img/ico/comm_prof12.png') no-repeat 0px center; text-decoration: underline; color: #336699; margin-left: 10px; padding-left: 14px;}
  a.comm_type_all {background: url('/img/ico/comm_all12.png') no-repeat 0px center; text-decoration: underline; color: #336699; margin-left: 10px; padding-left: 14px;}
  
  span.comm_type_all {background: url('/img/ico/comm_all12.png') no-repeat 0px center; color: #336699; margin-left: 2px; padding-left: 16px;}
  span.comm_type_prof {background: url('/img/ico/comm_prof12.png') no-repeat 0px center; color: #336699; margin-left: 2px; padding-left: 16px;}
  
  /*------------------------------------ Админка ---------------------------------------------*/
  /* Админкины стили */
  .admin_menu {color:#336699; font-weight:bold; border-bottom: 1px dashed; text-decoration: none;}
  .admin_menu:hover {border: 0px; text-decoration: none;}
  .admin_submenu {color:#336699; border: 0px; text-decoration: none;}
  .admin_submenu:hover {border-bottom: 1px solid; text-decoration: none;}
  .error_msg {background-image: url(/img/ico/ico-error.gif); background-repeat: no-repeat; background-position:5px; padding: 10px; margin:5px; background-color: #fbd9d9; color: maroon; border:1px solid; border-color: #dc1717; padding-left:80px; margin-bottom: 20px;}
  .error_msg a {color: #ba0000; text-decoration: underline;}
  .error_msg a:hover {color: #ba000; text-decoration: none;}
  .success_msg {background-image: url(/img/ico/ico-success.gif); background-repeat: no-repeat; background-position:5px; padding: 10px; margin:5px; background-color: #d2ffd6; color: #005a08; border:1px solid; border-color: #19b828; padding-left:80px; margin-bottom: 20px;}

  /* Таблица для просмотра */
  .viewTable {border-bottom: 1px dashed #dcdcdc; border-collapse: collapse; height: 50px;}
  .viewTable td{border-bottom: 1px dashed  #dcdcdc; height: 20px; padding: 2px; height: 26px;}
  .viewTable caption{ font-size: 14pt; padding-bottom: 10px}
  .viewTable thead{background-image: url('/img/form_set_bg.gif'); text-align: center; height: 30px;}
  .viewTable thead td {border-bottom: none; font-weight: bold; color: #ffffff}
  .viewTable a {color: #ffffff}

  .orderAsc{ background:url(/img/ico/order_asc.png) no-repeat 0px center; padding-left:20px }
  .orderDesc{ background:url(/img/ico/order_desc.png) no-repeat 0px center; padding-left:20px }  
  
  /* Внешний вид фильтров */
  .filterBOX{	position: absolute;	display: none; padding: 2px;	padding-bottom: 8px;	background-color: #fef8e0;	border: 1px solid black;	margin-top: -2px;	color: black;	text-align: left; }
  .filterBOXButton {cursor: pointer;}  

  /* Формы */
  .background_red {background-color: #fbd9d9;}

  /*------------------------------------ Дополнительные элементы страницы ---------------------------------------------*/
  /* Paginator*/	
  .paginator {margin-top:60px; font-size:1em;	width:600px; margin:0 auto}
  .paginator table {border-collapse:collapse;	table-layout:fixed;	width:100%;}
  .paginator table td {padding:0;	white-space:nowrap; text-align:center;}
  .paginator span {display:block;	padding:3px 0; color:#fff;}
  .paginator span strong,.paginator span a {padding:2px 6px;}
  .paginator span strong {background:#3366cc;	font-style:normal; font-weight:normal;}
  .paginator .scroll_bar {width:100%;	height:20px; position:relative;	margin-top:10px;}
  .paginator .scroll_trough {width:100%;	height:3px; background:#ccc; overflow:hidden;}
  .paginator .scroll_thumb {position:absolute; z-index:2; width:0; height:3px; top:0; left:0;	font-size:1px; background:#336699;}
  .paginator .scroll_knob {position:absolute;	top:-5px; left:50%;	margin-left:-10px; width:20px; height:20px;	overflow:hidden; background:url(/img/slider_knob.gif) no-repeat 50% 50%;	cursor:pointer; cursor:hand;}
  .paginator .current_page_mark {position:absolute; z-index:1; top:0; left:0;	width:0; height:3px; overflow:hidden; background:#3366cc;}
  .fullsize .scroll_thumb {display:none;}
  .paginator_pages {width:600px; text-align:right; font-size:0.8em; color:#808080; margin-top:-10px;}