html {
	height: 100%;
}

body {
	background: #000;
	font-family: 'Tahoma', sans-serif;
	font-size: 12px;
	height: 100%;
}

/* Containers */
#gradient {
	background: #000000; /* Old browsers */
	background: -moz-linear-gradient(top, #000000 0%, #301f40 400px);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #000000),
		color-stop(400px, #301f40) ); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #000000 0%, #301f40 400px);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #000000 0%, #301f40 400px);
	/* Opera11.10+ */
	background: -ms-linear-gradient(top, #000000 0%, #301f40 400px);
	/* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#000000',
		endColorstr='#301f40', GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #000000 0%, #301f40 400px); /* W3C */
	min-height: 100%;
}

/*
#stars {
background: url(pics/stars.png);
background: -moz-radial-gradient(bottom 45deg, circle farthest-corner, rgba(38, 52, 77, 1) 0%, rgba(38, 52, 77, 0) 100%), url(pics/stars.png);
background: -webkit-gradient(radial, 50% 100%, 0, 50% 100%, 1200, from(rgba(38, 52, 77, 1)), to(rgba(38, 52, 77, 0))), url(pics/stars.png);
min-height: 100%;
}
*/
#container {
	min-height: 100%;
	margin: 0 auto;
	min-width: 960px;
	max-width: 80%;
}

#container.logincontainer {
	max-width: 400px;
	min-width: 400px;
	padding-top: 100px;
}

#application {
	background: url(pics/bg.png) repeat-x #e1e1e1;
	border-radius: 5px;
	box-shadow: 0px 2px 3px 0px #111;
	min-height: 250px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 2px 3px 0px #111;
	-moz-box-shadow: 0px 2px 3px 0px #111;
}

#container.logincontainer #application {
	background: #e1e1e1;
	min-height: 100px;
}

/* Header */
header {
	height: 95px;
}

#logo {
	background: url(pics/logo2.png) no-repeat left;
	float: left;
	height: 95px;
	width: 225px;
}

#userinfo {
	float: right;
	margin-top: 20px;
}

#userinfo img {
	border-radius: 3px;
	box-shadow: 0px 2px 3px 0px #000;
	float: left;
	margin-right: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 2px 3px 0px #000;
	-moz-box-shadow: 0px 2px 3px 0px #000;
}

#userinfo .intro {
	display: inline;
	color: #bababa;
	float: right;
	line-height: 18px;
	margin-top: 7px;
}

#userinfo .intro a {
	color: #bababa;
}

/* Primary navigation */
nav#primary {
	border-bottom: 1px solid #3b3b3b;
	height: 80px;
}

nav#primary ul li {
	float: left;
	list-style: none;
	position: relative;
}

nav#primary ul li a {
	color: #595959;
	display: block;
	font-size: 11px;
	height: 70px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	width: 95px;
}

nav#primary ul li.current a {
	color: #1a88e9;
}

nav#primary ul li.current .icon {
	background-position: left center;
}

nav#primary .icon {
	background-repeat: no-repeat;
	background-position: right center;
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	padding: 20px 0;
	width: 25px;
}

.icon.settings {
	background-image: url(pics/dashboard.png)
}

.icon.statistics {
	background-image: url(pics/chart.png)
}

.icon.profit {
	background-image: url(pics/tables.png)
}

.icon.appointments {
	background-image: url(pics/pencil.png)
}

.icon.file {
	background-image: url(pics/newspaper.png)
}

.icon.stock {
	background-image: url(pics/modal.png)
}

.icon.anchor {
	background-image: url(pics/anchor.png)
}

.icon.gallery {
	background-image: url(pics/gallery.png)
}

.icon.modal {
	background-image: url(pics/modal.png)
}

.badge {
	background: url(pics/badge.png) no-repeat;
	color: #fff;
	display: block;
	font-family: "Tahoma";
	font-size: 11px;
	height: 25px;
	padding-top: 5px;
	position: absolute;
	top: 10px;
	left: 50px;
	width: 25px;
}

input:focus {
	outline: none;
}

/* Secondary navigation */
nav#secondary {
	background: #3b3b3b;
	border-top: 1px solid #5f5f5f;
	height: 34px;
	overflow: hidden;
}

nav#secondary ul li {
	float: left;
	list-style: none;
}

nav#secondary ul li a {
	background: url(pics/tab_inactive.png) repeat-x #484848;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	color: #f4f4f4;
	display: block;
	font-size: 11px;
	margin-left: 7px;
	margin-top: 7px;
	padding: 8px 20px;
	text-decoration: none;
	text-shadow: 0 -1px 0 #282828;
}

nav#secondary ul li.current a {
	background: #e1e1e1;
	color: #282828;
	text-shadow: 0 1px 0 #fff;
}

/* Content */
#content {
	padding: 25px;
	padding-top: 0;
}

/* Footer */
#copyright {
	color: #fff;
	font-size: 11px;
	line-height: 50px;
	text-align: center;
	text-shadow: 0 1px 0 #000;
}

#copyright a {
	color: #fff;
	text-decoration: none;
}

#copyright a:hover {
	text-decoration: underline;
}

/* Search */
#search {
	background: url(pics/search.png) 6px 8px no-repeat #fff;
	border: 1px solid #c7c7c7;
	border-radius: 20px;
	box-shadow: 0 1px 0 #fff;
	color: #282828;
	width: 85%;
	padding-left: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-box-shadow: 0 1px 0 #fff;
	-webkit-box-shadow: 0 1px 0 #fff;
}

#livesearch {
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 2px #000;
	color: #282828;
	display: block;
	font-size: 11px;
	line-height: 18px;
	margin-top: 5px;
	max-height: 400px;
	overflow: auto;
	padding: 5px 0;
	position: absolute;
	z-index: 99;
	-moz-box-shadow: 0 1px 2px #000;
	-webkit-box-shadow: 0 1px 2px #000;
}

#livesearch ul li a {
	color: #282828;
	display: block;
	padding: 5px 10px;
	text-decoration: none;
}

#livesearch ul li a:hover {
	background: url(pics/search_bg.png) repeat-x;
	color: #fff;
}

#livesearch strong {
	font-weight: bold;
	margin-left: 10px;
}

/* Columns */
.column {
	width: 49%
}

.column.left {
	float: left
}

.column.right {
	float: right
}

.column.third {
	width: 32%
}

.column.twothird {
	width: 63%
}

.column.calendar-third {
	width: 20%
}

.column.calendar-twothird {
	width: 75%
}

/* Forms */
form section {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #eee;
	padding: 13px 0;
}

form section:first-child {
	border-top: none
}

form section:last-child {
	border-bottom: none
}

form section>div {
	color: #404040;
	font-size: 11px;
	margin-left: 35%;
	position: relative;
}

form section>label {
	color: #404040;
	float: left;
	font-size: 10px;
	font-weight: bold;
	margin-right: 5%;
	margin-top: 2px;
	text-transform: uppercase;
	width: 30%;
}

form section label small {
	color: #999;
	display: block;
	font-size: 11px;
	font-weight: normal;
	line-height: 13px;
	margin-top: 3px;
	text-transform: none;
}

form input[type="text"] {
	text-indent: 5px;
}

form input[type="text"],form input[type="password"],form textarea,input[type="text"]
	{
	border-radius: 3px;
	border: 1px solid #c9c9c9;
	color: #404040;
	font-size: 11px;
	height: 28px;
	margin-bottom: 3px;
	padding: 0 0px;
	width: 100%;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

form input.error {
	color: #840004
}

form input.xsmall {
	width: 10%
}

form input.small {
	width: 20%
}

form input.medium {
	width: 40%
}

form input.large {
	width: 69%
}

form textarea {
	height: 100px;
	padding-top: 4px;
	line-height: 16px;
}

form textarea.wysiwym {
	background: #fff
}

form input:focus,form textarea:focus {
	outline: none
}

textarea.wysiwyg {
	width: 99%
}

label.radio,label.checkbox {
	color: #404040;
	font-size: 11px;
	padding: 3px 0;
}

section div label.error {
	top: 9px;
	color: #840004;
	position: absolute;
	right: 6px;
}

/* Select boxes */
select {
	cursor: pointer;
	width: 100%;
}

.cmf-skinned-select {
	border: 1px solid #c3c3c3;
	border-radius: 3px;
	box-shadow: 0 1px 2px #ccc;
	height: 28px;
	margin-left: 0;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.sec_nav select {
	width: 300px;
	margin: 5px 0 0 25px;
	padding: 1px;
	float: left;
	background: white;
	height: 22px;
}

.sec_nav input {
	width: 205px;
	margin: 5px 0 0 25px;
	padding: 1px;
	float: left;
	background: white;
	height: 18px;
	text-align: center;
}

.sec_nav form {
	padding-left: 25px;
	color: #ccc;
}

.sec_nav form input {
	float: none;
	width: 205px;
	height: 18px;
	margin: 5px;
	padding: 1px;
	background: white;
	cursor: pointer;
	cursor: hand;
}

.cmf-skinned-text {
	font-size: 11px;
	margin-left: 0;
	padding-left: 9px;
	padding-top: 7px;
}

input.anytime {
	width: 42px !important;
}

/* Notifications */
#notifications {
	background: #fafafa;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	position: absolute;
	right: 10px;
	top: 0;
	z-index: 99;
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

#notifications li {
	border-bottom: 1px solid #e5e5e5;
	border-top: 1px solid #fff;
	color: #696969;
	display: none;
	font-family: sans-serif;
	font-size: 11px;
	line-height: 22px;
	padding: 9px 30px 9px 43px;
	position: relative;
	width: 250px;
}

#notifications li:hover {
	background: url(pics/notification_bg.png) repeat-x #156aa4;
	background-color: #166ba5;
	border-top: 1px solid #3a6584;
	color: #fff;
	cursor: pointer;
}

#notifications li:hover strong {
	color: #fff
}

#notifications li:first-child {
	border-top: none
}

#notifications li strong {
	color: #333
}

#notifications li:last-child {
	border-bottom: none;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

#notifications .image {
	display: block;
	height: 16px;
	left: 14px;
	position: absolute;
	top: 11px;
	width: 16px;
}

#notifications .information {
	background-image: url(pics/information.png)
}

#notifications .warning {
	background-image: url(pics/exclamation.png)
}

#notifications .error {
	background-image: url(pics/error.png)
}

#notifications .success {
	background-image: url(pics/success.png)
}

#notifications .saved {
	background-image: url(pics/saved.png)
}

#notifications .tag {
	background: #c9c9c9;
	border-radius: 20px;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	line-height: 12px;
	padding: 2px 7px;
	position: absolute;
	right: 14px;
	top: 11px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

/* Styles */
h1,h2,h3,h4,h5,h6 {
	color: #282828;
	line-height: 32px;
}

h1 {
	font-size: 20px;
	text-shadow: 0 1px 0 #fff;
}

h2 {
	font-size: 18px;
	margin: 16px 0;
	text-shadow: 0 1px 0 #fff;
}

h3 {
	font-size: 16px
}

h4 {
	font-size: 14px
}

h5 {
	font-size: 12px
}

p {
	text-align: justify
}

p,blockquote,pre {
	color: #282828;
	font-size: 12px;
	line-height: 16px;
	margin-bottom: 16px;
}

blockquote {
	border-left: 4px solid #999;
	font-style: italic;
	margin-left: 16px;
	padding-left: 16px;
	text-align: justify;
}

pre,.sub {
	background: #eee;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: monospace;
	overflow: auto;
	padding: 16px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.sub_menu {
	background: #eee;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: monospace;
	overflow: auto;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.sub_menu ul {
	margin: 0 !important;
	padding: 0 !important;
}

.sub_menu ul li {
	list-style-type: none;
	height: 40px;
	border-bottom: 1px dotted #ccc;
}

.sub_menu ul li a {
	display: block;
	height: 40px;
	text-decoration: none;
	line-height: 40px;
	padding-left: 20px;
	color: #282828;
	overflow: hidden;
	white-space: nowrap;
}

.sub_menu ul li a span {
	padding-left: 25px;
}

.sub_menu ul li a span.dop_time {
	padding-left: 73px;
}

.sub_menu ul li a strong {
	display: inline-block;
	-zoom: 1;
	-display: inline;
	width: 16px;
	padding-bottom: 1px;
	background: #ddd;
	border: 1px solid #aaa;
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	line-height: 15px;
	text-align: center;
}

.sub_menu ul li a strong.dop_time {
	width: 48px;
}

.sub_menu ul li:last-child {
	border-bottom: none;
}

.sub_menu ul li a:hover,.sub_menu ul li a.on {
	text-decoration: none;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
	color: #fff;
	background-color: #3C8DDE;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc),
		to(#3072b3) );
	background-image: -moz-linear-gradient(#599bdc, #3072b3);
	background-image: -o-linear-gradient(#599bdc, #3072b3);
	background-image: linear-gradient(#599bdc, #3072b3);
}

.sub_menu ul li a:hover strong,.sub_menu ul li a.on strong {
	background: none;
	border-color: white;
}

#patients-list li {
	text-align: left !important;
}

.on {
	text-decoration: none;
	text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
	color: #fff !important;
	background-color: #3C8DDE;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc),
		to(#3072b3) );
	background-image: -moz-linear-gradient(#599bdc, #3072b3);
	background-image: -o-linear-gradient(#599bdc, #3072b3);
	background-image: linear-gradient(#599bdc, #3072b3);
}

strong {
	font-weight: bold
}

em {
	font-style: italic
}

#content ul,ol {
	color: #282828;
	line-height: 16px;
	margin: 0 24px 16px 24px;
}

#content ul {
	list-style: disc
}

#content ol {
	list-style: decimal
}

#content li>ul,#content li>ol {
	margin: 0 24px
}

#content li>ul {
	list-style: circle
}

.clear {
	clear: both
}

a:focus {
	outline: none
}

/* -- Notify -- */
/*#notifyBox {
	top: 72px !important;
}*/
#notifyBox {
	border: none !important;
	background: none !important;
}

#notifyBox tr {
	border-bottom: none !important;
}

#notifyBox td {
	text-align: center;
	border: none !important;
}

#notifyBox .messageBox {
	display: none;
	z-index: 10;
	width: 300px;
	margin: 2px auto;
	padding: 5px;
	background: #aaa;
	color: white;
	border: 1px solid #999;
	-moz-border-radius: 5px; /* Mozilla border-radius */
	-webkit-border-radius: 5px; /* WebKit border-radius */
	border-radius: 5px; /* CSS3 (Opera browser) border-radius */
	font-size: 12px;
}

#notifyBox .error {
	background-color: #ff4242;
	border: 1px solid darkred;
}

/* Popup, alert, confirm с помощью jQuery (© toran) */
label.error {
	display: block;
	position: absolute;
	z-index: 2;
	left: 150px;
	width: 175px;
	padding: 3px 5px 3px;
	background: #3b3b3b;
	color: #fff !important;
	-moz-border-radius: 5px; /* Mozilla border-radius */
	-webkit-border-radius: 5px; /* WebKit border-radius */
	border-radius: 5px; /* CSS3 (Opera browser) border-radius */
	font-size: 11px;
	text-align: left;
}

.b-alert__body {
	position: fixed;
	-position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	-top: expression(( e =   document.documentElement.scrollTop)?  document.documentElement.scrollTop:
		 document.body.scrollTop+  'px' );
	z-index: 2000;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.b-alert__shadow {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1000;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: black;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	/* IE8 */
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60 );
	/* IE5+ */
	filter: alpha(opacity = 60); /* IE4- */
	moz-opacity: 0.6; /* Mozilla */
	-khtml-opacity: 0.6; /* Safari */
	opacity: 0.6; /* general CSS3 */
}

.b-alert__window {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 300px;
	height: auto;
	margin: -100px 0 0 -150px;
	padding: 1px;
	background: #efefef;
	border: 1px solid #c5c5c5;
	-moz-border-radius: 5px; /* Mozilla border-radius */
	-webkit-border-radius: 5px; /* WebKit border-radius */
	border-radius: 5px; /* CSS3 (Opera browser) border-radius */
}

.b-alert__title {
	margin: 0;
	padding: 5px 20px;
	background: #d6d6d6;
	color: #666;
	border-bottom: 1px solid #eee;
	font-size: 12px;
}

.b-alert__text {
	margin: 0;
	padding: 5px 20px;
	font-size: 11px;
	line-height: 20px;
}

#simple .b-alert__text {
	margin: 0;
	padding: 5px 20px 5px 20px;
}

.b-alert__accept-bttn,.b-alert__deny-bttn {
	float: right;
	display: block;
	width: 30px;
	margin: 5px;
	padding: 0 20px;
	background: #e3e3e3;
	border: 1px solid #fff;
	border-bottom-color: #c5c5c5;
	border-right-color: #c5c5c5;
	-moz-border-radius: 5px; /* Mozilla border-radius */
	-webkit-border-radius: 5px; /* WebKit border-radius */
	border-radius: 5px; /* CSS3 (Opera browser) border-radius */
	font: 12px Arial;
	text-align: center;
	cursor: pointer;
}

.b-alert__accept-bttn {
	left: 70px;
	bottom: 0;
}

.b-alert__deny-bttn {
	right: 70px;
	bottom: 0;
}

#tooltip {
	position: absolute;
	z-index: 3000;
	padding: 5px;
	background-color: #eee;
	border: 1px solid #111;
	opacity: 0.85;
}

#tooltip h3,#tooltip div {
	margin: 0;
}

/* ischedule */
#ischedule table {
	border-collapse: separate;
	border-left: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	font-size: 20px;
}

#ischedule td,#ischedule th {
	height: 81px;
	width: 14%;
	border-right: 1px solid #9dacbe;
	text-align: center;
	vertical-align: middle;
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
	color: black;
	position: relative;
}

td.sec {
	height: 30px !important;
	font-size: 13px;
	border-right: none !important;
}

td.time {
	vertical-align: top !important;
	padding-top: 20px;
	background: #c7d0da !important;
	border-top: 1px solid #e2e7ed !important;
	width: 30%;
}

#ischedule th {
	height: 40px;
	font-weight: bold;
	font-size: 13px;
}

.doctor-times {
	float: left;
	width: 85%;
}

.doctor-times td {
	height: 30px !important;
	cursor: pointer;
	cursor: hand;
}

.doctor-times td.in {
	background: url(pics/calendar/cells_free.png) repeat-x left top
		!important;
}

.doctor-times td.out {
	padding-left: 10px;
	background: url(pics/calendar/cells_busy.png) repeat-x left top
		!important;
	font-size: 12px;
	text-align: left !important;
	cursor: default;
}

.doctor-times td.save {
	background: url(pics/calendar/cells_reserved.png) repeat-x left top
		!important;
}

.doctor-times td.out.title {
	padding-left: 30px;
	background: url(pics/calendar/cells_inactive.png) repeat-x left top
		!important;
	font-weight: bold;
}

.doctor-times td.out.title .b-notification__close {
	top: 8px;
	right: auto;
	left: 5px;
}

/* icalendar */
#icalendar table {
	width: 100%;
	border-collapse: separate;
	border-left: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	font-size: 20px;
}

#icalendar td,#icalendar th {
	height: 81px;
	width: 14%;
	border-right: 1px solid #9dacbe;
	text-align: center;
	vertical-align: middle;
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
	color: black;
	position: relative;
}

#icalendar th {
	height: 30px;
	font-weight: bold;
	font-size: 13px;
}

#icalendar th.ical-header {
	border-right: none;
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
}

#icalendar th.ical-header a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	cursor: hand;
}

#icalendar td:hover {
	background: url(pics/calendar/cells_hover.png) repeat-x left top;
	color: #222;
	cursor: pointer;
	cursor: hand;
}

#icalendar td.date_has_event {
	background-position: 162px 0px;
	color: white;
}

#icalendar td.date_has_event:hover {
	background-position: 162px -81px;
}

#icalendar td.padding {
	background: url(pics/calendar/calpad.jpg);
}

#icalendar td.off_month {
	cursor: auto;
}

#icalendar td.off_month:hover {
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
}

#icalendar td.today {
	background: url(pics/calendar/cells_today.png) repeat-x left top;
	color: white;
}

#icalendar td.work,#icalendar td.work1 {
	background: url(pics/calendar/cells_work_hover.png) repeat-x left top;
	color: white;
}

#icalendar td.work.work1 {
	background: #4182c4;
	border-bottom: 1px solid white;
}

#icalendar td.today:hover {
	background: url(pics/calendar/cells_today_hover.png) repeat-x left top;
}

#icalendar td.work:hover {
	background: url(pics/calendar/cells_work.png) repeat-x left top;
}

#icalendar td .b-td {
	position: relative;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#icalendar td .b-td .b-date {
	padding-top: 2.75em;
	text-align: right;
}

#icalendar td .b-td .b-doctor {
	position: absolute;
	z-index: 20;
	left: 0;
	top: 0;
	width: 100%;
}

#icalendar td .b-td .b-doctor div {
	position: relative;
	z-index: 20;
	height: 1.7em;
	margin: 2px 2px 2px 1px;
	padding: 0 3px;
	font-size: 11px;
	font-weight: bold;
	line-height: 1.7em;
	text-shadow: 1px 1px 1px #aaa;
	text-align: right;
	background-color: transparent;
	background-color: rgba(160, 163, 169, 0.5);
	background-repeat: no-repeat;
	border-radius: 3px;
	color: #222;
	box-shadow: 1px 1px 1px #777;
	overflow: hidden;
}

#icalendar .events {
	position: relative;
}

#icalendar .events ul {
	text-align: left;
	position: absolute;
	display: none;
	z-index: 1000;
	padding: 15px;
	background: #E7ECF2;
	color: white;
	border: 1px solid white;
	font-size: 15px;
	width: 200px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	-border-radius: 3px;
	list-style: none;
	color: #444444;
	-webkit-box-shadow: 0px 8px 8px #333;
}

#icalendar .events li {
	padding-bottom: 5px;
}

#icalendar .events li span {
	display: block;
	font-size: 12px;
	text-align: justify;
	color: #555;
}

#icalendar .events li span.title {
	font-weight: bold;
	color: #222;
}

.i-file {
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: sub;
	opacity: 0.5;
}

.cart {
	background: url("pics/calendar/information.png") no-repeat center;
}

.i-file:hover {
	opacity: 1;
}

/* ical_mini */
.ical_mini {
	position: absolute;
	z-index: 1000;
	margin-left: 350px;
	margin-top: 30px;
	width: 210px;
}

#ical_mini_start {
	margin-left: 77px;
	margin-top: -5px;
}

#ical_mini_end {
	margin-left: 317px;
	margin-top: -5px;
}

.ical_mini table {
	width: 100%;
	border-collapse: separate;
	border-left: 1px solid #9DABCE;
	border-bottom: 1px solid #9dacbe;
	border-top: 1px solid #9dacbe;
	font-size: 10px;
}

.ical_mini td,.ical_mini th {
	height: 20px;
	width: 30px;
	border-right: 1px solid #9dacbe;
	text-align: center;
	vertical-align: middle;
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
	color: black;
	position: relative;
}

.ical_mini th {
	font-weight: bold;
	font-size: 10px;
}

.ical_mini th.ical-header {
	border-right: none;
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
}

.ical_mini th.ical-header a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	cursor: hand;
}

.ical_mini td:hover,.ical_mini .selected {
	background: url(pics/calendar/cells_hover.png) repeat-x left top;
	color: #222;
	cursor: pointer;
	cursor: hand;
}

#icalendar td.date_has_event {
	background-position: 162px 0px;
	color: white;
}

#icalendar td.date_has_event:hover {
	background-position: 162px -81px;
}

#icalendar td.padding {
	background: url(pics/calendar/calpad.jpg);
}

.ical_mini td.off_month {
	cursor: auto;
}

.ical_mini td.off_month:hover {
	background: url(pics/calendar/cells_inactive.png) repeat-x left top;
}

.ical_mini td.today {
	background: url(pics/calendar/cells_today.png) repeat-x left top;
	color: white;
}

.ical_mini td.work {
	background: url(pics/calendar/cells_work_hover.png) repeat-x left top;
	color: white;
}

.ical_mini td.today:hover {
	background: url(pics/calendar/cells_today_hover.png) repeat-x left top;
}

.ical_mini td.work:hover {
	background: url(pics/calendar/cells_work.png) repeat-x left top;
}

/* Log */
table.log {
	width: 100%;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-size: 12px;
}

table.log th {
	background: #3b3b3b;
	color: #fff;
	height: 30px;
	vertical-align: middle;
	border-right: 1px solid #ccc;
	padding: 5px;
}

table.log th:last-child {
	border-right: none !important;
}

table.log td {
	padding: 5px;
	background: #fff;
	height: 30px;
	text-align: center;
	vertical-align: middle;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

table.log td a {
	cursor: pointer;
	cursor: hand;
}

.will td {
	color: #008200;
}

.was td {
	color: #c9552d;
}

.was-not {
	color: #959595;
}

a.change {
	line-height: 25px;
	color: #3274b5;
	text-decoration: underline;
}

a.change:hover {
	text-decoration: none;
}

/* Popup */
#win {
	position: absolute;
	z-index: 2000;
	top: 0;
	left: 0;
	background: url(pics/win.png);
	display: none;
	height: 100%;
	width: 100%;
}

#popup {
	padding: 0;
	background: #e1e1e1;
	position: fixed;
	width: 600px;
	z-index: 3000;
}

#obj {
	display: none;
}

.sample {
	padding: 10px;
}

#add-appointments-doctor ul {
	margin: 0;
}

#add-appointments-doctor li {
	display: inline-block;
	margin: 0 5px 5px 0;
	padding: 3px 5px;
	border: 1px solid #999;
	border-radius: 3px;
	background: #ccc;
	cursor: pointer;
	cursor: hand;
}

#add-appointments-doctor li:hover,#add-appointments-doctor li.active {
	background: white;
}

#add-appointments-doctor li.active {
	cursor: default;
}

#add-appointments-sections section {
	display: none;
}

#add-appointments-sections section.active {
	display: block;
}

.b-notification {
	position: fixed;
	z-index: 2000;
	left: 50%;
	top: 15px;
	width: 200px;
	margin-left: -100px;
	padding: 2px 6px;
	background-color: transparent;
	background-color: rgba(160, 163, 169, 0.8);
	box-shadow: 0px 2px 3px 0px #111;
	border: 3px solid #eee;
	border-radius: 3px;
	text-align: left;
}

.waitlist {
	width: 250px;
}

.b-notification p {
	margin: 5px 0;
	color: #eee;
	text-align: left;
	text-shadow: 0 1px 0 #333;
}

.b-notification p a {
	color: #fff;
}

.b-notification p a:hover {
	text-decoration: none;
}

.b-notification p.h {
	text-decoration: underline;
}

.b-notification__close {
	position: absolute;
	z-index: 11;
	right: 2px;
	top: 2px;
	display: block;
	padding: 3px;
	background: #444;
	border-radius: 6px;
	opacity: 0.6;
	text-decoration: none;
}

.b-notification__close div {
	width: 7px;
	height: 7px;
	background: url("pics/icon-close.png") no-repeat center;
}

.waitlist .b-notification__close {
	top: 9px;
}

.waitlist .b-notification__close div {
	background: url("pics/icon-wrap.png") no-repeat center;
}

.b-notification__close:hover {
	opacity: 1;
}

#b-notification-waitlist {
	max-height: 300px;
	overflow-y: auto;
	padding: 2px;
	background-color: transparent;
	background-color: rgba(143, 143, 143, 0.6);
	border-radius: 3px;
}

.b-notification__save {
	display: none;
	left: 40%;
	top: auto;
	bottom: 35px;
	width: 130px;
	margin-left: 0;
	text-align: center;
}

.b-notification__save a {
	display: block;
	margin: 3px auto;
	padding: 3px;
	color: #eee;
	border-radius: 2px;
	text-shadow: 0 1px 0 #333;
}

.b-notification__save a:hover {
	text-decoration: none;
}

.b-form_action {
	padding: 10px 0;
}

a.b-action-link {
	display: block;
	width: 100px;
	padding: 5px 0;
	background: white;
	border-radius: 3px;
	color: #333;
	text-align: center;
	text-decoration: none;
}

a.b-action-link:hover {
	color: #666;
}

.b-data {
	margin-top: 10px;
	border: 1px solid #999;
}

.b-data th,.b-data td {
	padding: 5px 10px;
}

.b-data th {
	background: white;
	text-align: left;
}

input.b-form_submit {
	width: 100px;
	padding: 5px 0;
	background: white;
	border-style: none;
	border-radius: 5px;
	color: #333;
	text-align: center;
	cursor: pointer;
}

input.b-form_submit:hover {
	color: #666;
}

.b-text {
	padding: 10px 0;
}

#full-doctor-list {
	
}

#ischedule {
	
}

#b-ischedule-titles {
	position: fixed;
	z-index: 100;
	left: 40%;
	bottom: 25px;
	padding-left: 160px
}

#b-ischedule-titles div {
	display: inline-block;
	margin: 10px;
	padding: 2px 6px;
	background-color: transparent;
	background-color: rgba(160, 163, 169, 0.8);
	box-shadow: 0px 2px 3px 0px #111;
	border: 3px solid #eee;
	border-radius: 3px;
	color: #222;
	text-align: left;
}

.b-failures__close {
	display: inline-block;
	margin-left: 10px;
	padding: 2px;
	background: #444;
	border-radius: 4px;
	opacity: 0.6;
	text-decoration: none;
}

.b-failures__close div {
	display: inline-block;
	width: 5px;
	height: 5px;
	background: url("pics/icon-close.png") no-repeat center;
}

.b-steps li {
	list-style-type: none;
	display: inline-block;
	padding-right: 1em;
	font-size: 1.5em;
}

.b-steps li span {
	color: gray;
}

.autocomplete-w1 {
	position: absolute;
	top: 0;
	left: 0;
	margin: 6px 0 0 6px;
	/* IE6 fix: */
	_margin: 1px 0 0 0;
}

.autocomplete {
	border: 1px solid #999;
	background: #fff;
	cursor: default;
	text-align: left;
	max-height: 350px;
	overflow: auto;
	margin: -6px 6px 6px -6px;
	/* IE6 specific: */
	_height: 350px;
	_margin: 0;
	_overflow-x: hidden;
}

.autocomplete .selected {
	background: #ccc;
}

.autocomplete div {
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
}

.autocomplete strong {
	font-weight: normal;
	color: #3399ff;
}

/* рекламный канал */
.new-from-link {
	margin-top: 5px;
}

.new-from-link a,.new-from-link-hide {
	border-bottom: 1px dotted;
}

.new-from-link a:hover,.new-from-link-hide:hover {
	cursor: hand;
	cursor: pointer;
	border-bottom: none;
}

.new-from-block {
	display: none;
	margin-top: 5px;
}

.hide-block {
	display: none !important;
}

.services_list {
	height: 200px;
	overflow-y: auto;
}