* {
	padding: 0;
	margin: 0;
	outline: none;
}

@font-face {
	font-family: 'webfont';
	src: url('./../fonts/webfont.eot');
	src: url('./../fonts/webfont.eot?#ie') format('embedded-opentype'),
		url('./../fonts/webfont.woff') format('woff'),
		url('./../fonts/webfont.ttf') format('truetype'),
		url('./../fonts/webfont.svg#webfont') format('svg');
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}

@font-face {
	font-family: 'webfont';

	src: url('./../fonts/webfont-bold.eot');
	src: url('./../fonts/webfont-bold.eot?#ie') format('embedded-opentype'),
		url('./../fonts/webfont-bold.woff') format('woff'),
		url('./../fonts/webfont-bold.ttf') format('truetype'),
		url('./../fonts/webfont-bold.svg#webfont-bold') format('svg');
	font-weight: bold;
	font-style: normal;
	font-variant: normal;
}
/*
@font-face {
	font-family: 'webfont';

	src: url('./../fonts/webfont-italic.eot');
	src: url('./../fonts/webfont-italic.eot?#ie') format('embedded-opentype'),
		url('./../fonts/webfont-italic.woff') format('woff'),
		url('./../fonts/webfont-italic.ttf') format('truetype'),
		url('./../fonts/webfont-italic.svg#webfont-italic') format('svg');
	font-weight: normal;
	font-style: italic;
	font-variant: normal;
}

@font-face {
	font-family: 'webfont';

	src: url('./../fonts/webfont-bold-italic.eot');
	src: url('./../fonts/webfont-bold-italic.eot?#ie') format('embedded-opentype'),
		url('./../fonts/webfont-bold-italic.woff') format('woff'),
		url('./../fonts/webfont-bold-italic.ttf') format('truetype'),
		url('./../fonts/webfont-bold-italic.svg#webfont-bold-italic') format('svg');
	font-weight: bold;
	font-style: italic;
	font-variant: normal;
}
*/

.center { text-align: center }
.left { text-align: left }
.right { text-align: right }
.clear { clear: both }
.help { cursor: help }

body {
	font-size: 100%;
	font-family: "webfont", "Arial", "Verdana", sans-serif;
	background: #ccc;
	font-style: normal;
	font-weight: normal;
}

input, button, select { font-family: "webfont", "Arial", "Verdana", sans-serif }

a {
	text-decoration: none;
	color: #0080ff
}
a:hover { text-decoration: underline }
a img {
	border: none;
	vertical-align: middle;
}

#error, #success {
	display: block;
	width: 100%;
	padding: 10px;
	color: #8b0000;
	text-align: center;
	font-weight: bold;
}

#success { color: #008b00 }

.small-error {
	font-size: 0.765em;
	color: #ab0000;
}

.icon span,
.icon.query span em,
#filter .search input.submit,
#orders ul li a,
#menu ul li span,
#files li h3 a.toggle {
	background: url('./../images/icons.png') no-repeat -9999px -9999px;
}

.icon {
	display: inline-block;
	text-decoration:none;
	color: #0080ff;
	vertical-align: middle;
}
.icon:hover { text-decoration: underline }

div.input span,
.icon span {
	opacity: 0.75;
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin: 1px 3px 0 0;
	cursor: pointer;
}
.icon span.no-text {margin-right: 0}
.icon span.space {
	margin-left: 2px;
	margin-right: 2px;
	opacity: 0.9;
}

.icon.input span {
	width: 26px;
	height: 26px;
	margin: 0 auto;
}

.icon.query span {
	width: 32px;
	display: block;
	float: none;
	margin: 0 auto;
	height: 32px;
	position: relative;
}

.icon.query.highlight { color: #8B0000 }
.icon.query.highlight:hover { color: #D2691E }
.icon.query.highlight span { opacity: 1 }
.icon.query span em {
	position: absolute;
	font-style: normal;
	top: -10px;
	left: -10px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	background-position: -131px -93px;
	color: #fff;
	text-shadow: 0 0 3px #000;
	font-size: 0.78em;
}

.icon:hover span {opacity: 1}
.icon span.view {background-position: -3px -3px}
.icon span.edit {background-position: -25px -3px}
.icon span.add {background-position: -47px -3px}
.icon span.delete {background-position: -69px -3px}
.icon span.remove {background-position: -91px -3px}
.icon span.info {background-position: -113px -3px}
.icon span.search {background-position: -135px -3px}
.icon span.down {background-position: -3px -25px}
.icon span.up {background-position: -25px -25px}
.icon span.right {background-position: -47px -25px}
.icon span.left {background-position: -69px -25px}
.icon span.companies {background-position: -91px -25px}
.icon span.clients {background-position: -113px -25px}
.icon span.pm-forward {background-position: -135px -25px}
.icon span.pm-unread {background-position: -3px -47px}
.icon span.pm-sent {background-position: -25px -47px}
.icon span.pm-inbox {background-position: -47px -47px}
.icon span.pm-outbox {background-position: -69px -47px}
.icon span.pm-reply {background-position: -91px -47px}
.icon span.calendar {background-position: -113px -47px}
.icon span.printer {background-position: -135px -47px}
.icon span.pdf {background-position: -95px -159px}
.icon span.agreement {background-position: -3px -121px}
.icon span.appointment {background-position: -79px -121px}
.icon span.release {background-position: -41px -121px}
.icon span.leave {background-position: -117px -121px}
.icon span.hospital {background-position: -3px -159px}
.icon span.notes {background-position: -41px -159px}
.icon span.username { background-position: 0 -66px}
.icon span.password { background-position: -78px -66px}


#login {
	font-size: 0.9em;
	width: 300px;
	border: 1px solid #bbb;
	margin: 10em auto;
	padding: 20px 20px 5px 20px;
	background: #eee;
}

#login table {
	width: 200px;
	margin: 0 auto;
	border-collapse: collapse;
}

#login table th {
	width: 20px;
	text-align: right;
	padding: 2px 10px;
}

#login table th img { vertical-align: middle }
#login table td {
	padding: 3px 0;
	text-align: center;
}

#login input.login-field {
	border: none;
	background: url('./../images/login-field.png') no-repeat;
	height: 26px;
	width: 150px;
	line-height: 26px;
	padding:  0 4px;
}

#login input.submit {
	padding: 4px 40px;
	overflow: visible;
}

#footer .wrapper,
#container .wrapper,
#header .wrapper {
	width: 960px;
	height: 100%;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	height: 100%;
	text-align: left;
}

#header {
	width: 100%;
	background: url('./../images/header.png') repeat-x;
	height: 170px;
	text-align: center;
}

#header .wrapper a.logo {
	background: url('./../images/logo.jpg') no-repeat;
	display: block;
	width: 134px;
	height: 134px;
	top: 19px;
	position: absolute;
}

#header .wrapper h1 {
	position: absolute;
	top: 16px;
	color: #8FE6EC;
	font-size: 0.9em;
	right: 0;
}

#header .wrapper .login {
	display: block;
	position: absolute;
	top: 56px;
	right: 0;
	text-align: right;
	color: #555;
	text-shadow: 0 0 2px #fff;
	font-size: 0.96em;
}
#header .wrapper .login p {
	margin: 2px 0;
	font-size: 0.9em;

}

#header .wrapper .login h2 {
	font-size: 1.1em;
	padding-bottom: 7px;
}

#header .wrapper a {
	color: #8b0000;
	text-decoration: none;
}

#header .wrapper a:hover {
	text-decoration: underline;
	color: #d2691e;
}

#header .wrapper .login span.operator { color: #00f }
#header .wrapper .login span.admin { color: #f00 }
#header .wrapper .login span.client { color: #888 }

#header .wrapper h1:hover { color: #008c8f }

#menu {
	width: 238px;
	background: url('./../images/menu-bg.png') repeat;
	overflow: hidden;
	height: 100%;
	border: 1px solid #7c8282;
	margin-top: 0;
	border-radius: 2px;
	font-family: "webfont", "Verdana", "Arial", sans-serif;
	float: left;
}

#menu ul {
	list-style: none outside none;
	background: url('./../images/menu-inside-bg.png') repeat;
	display: block;
	margin: 18px auto;
	width: 206px;
	padding: 0;
	margin-bottom: 0;
}

#menu .shadow {
	height: 16px;
	width: 206px;
	background: url('./../images/menu-inside-shadow.png') repeat-x;
	margin: 0 auto 4px auto;
}

#menu ul li {
	display: block;
	margin: 0;
	border-bottom: 1px solid #fff;
	padding: 8px 0;
	text-align: left;
	height: 30px;
}


#menu ul li span {
	display: block;
	width: 26px;
	height: 26px;
	opacity: 0.8;
	float: left;
	margin: 3px 0 0 6px;
}

#menu ul li a {
	display: block;
	width: 158px;
	padding: 4px 0 4px 4px;
	float: left;
	text-decoration: none;
	color: #000;
	margin: 0 0 0 10px;
	border: 1px solid transparent;
}


#menu ul li a.active,
#menu ul li a:hover {
	background: none repeat scroll 0 0 #D7EAEB;
	border: 1px solid #B4B4B3;
	border-radius: 4px 0 0 4px;
}

#menu ul li a.active { background: #E8F2FC}
#menu ul li:hover span { opacity: 1 }

#menu ul li a span {
	display: inline;
	float: none;
	margin: 0;
	color: #8B0000;
}

#menu ul li a:hover span { color: #D2691E }

#menu ul li.last {
	margin-top: 60px;
	text-align: right;
}

#menu ul li.last span {
	float: right;
	margin: 3px 6px 0 0;
}
#menu ul li.last a {
	float: right;
	margin: 0 10px 0 0;
	padding: 4px 4px 4px 0;
}

#menu ul li.last a.active,
#menu ul li.last a:hover {
	border-radius: 0 4px 4px 0;
}

#menu ul li span.clients {background-position: 0 -66px}
#menu ul li span.operators {background-position: -78px -92px}
#menu ul li span.messages {background-position: -26px -92px}
#menu ul li span.settings {background-position: 0 -92px}
#menu ul li span.exit {background-position: -104px -92px}
#menu ul li span.files {background-position: -104px -66px}
#menu ul li span.companies {background-position: -26px -66px}
#menu ul li span.queries {background-position: -52px -92px}
#menu ul li span.upload {background-position: -132px -66px}

#container {
	padding-top: 20px;
	background: #fff;
	border-bottom: 2px solid #9f9f9f;
	padding-bottom: 120px;
	text-align: center;
}

#container .wrapper .content {
	width: 700px;
	float: right;
	min-height: 200px;
	font-size: 0.9em;
}

#container .wrapper .content h2 {
	font-size: 1.1em;
	border-bottom: 1px solid #aaa;
	padding: 0 0 2px 4px;
	color: #444;
}

#footer {
	border-top: 1px solid #ddd;
	min-height: 40px;
	text-align: center;
}

#footer .wrapper {
	padding-top: 10px;
	font-size: 0.745em;
}

#footer .wrapper p.copyrights { float: right }

#ie-warning { height: 21px }
#ie-warning a {
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 1000;
	height: 21px;
	line-height: 21px;
	display: block;
	color: #000;
	width: 100%;
	background: #ffffe1 url('./../images/ie6/warning.png') 4px top no-repeat;
	border-bottom: 1px solid #666;
	text-decoration: none;
	font-family: Verdana, Arial, sans-serif;
}

#ie-warning a:hover {
	color: #fff;
	background-color: #3169B6;
	background-position: 4px bottom;
}

#ie-warning span {
	margin: 0px;
	padding: 0 0 0 24px;
	font-size: 11px;
	display: block;
}


table.list {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ccc;
}

table.list thead th,
table.list tfoot th {
	background: #ccc;
	text-align: center;
	font-size: 0.9em;
	font-weight: normal;
	padding: 2px 0;
}

table.list tbody td {
	padding: 2px 0;
	color: #000;
}
table.list tbody tr.odd td {
	background: #e5e5e5;
}

table.list tbody tr.unread-pm td,
table.list tbody tr.odd.unread-pm td {
	font-weight: bold;
}

table.list tbody tr:hover td {
	background: #08f;
	color: #fff;
}
table.list tbody tr:hover td a {
	color: #fff;
}


#filter {
	margin: 5px auto 4px auto;
	padding: 2px;
	font-size: 0.9em;
	overflow: hidden;
	height: 100%;
}

#filter .search {
	float: left;
	width: 260px;
	overflow: hidden;
	height: 100%;
}

#filter .search input.text {
	width: 200px;
	background: #fff;
	height: 20px;
	line-height: 20px;
	border: 1px solid #666;
	float: left;
	padding: 0 2px;
}

#filter .search input.submit {
	border: none;
	float: left;
	background-color: transparent;
	background-position: -132px 0;
	background-repeat: no-repeat;
	opacity: 0.75;
	height: 22px;
	line-height: 20px;
	width: 24px;
	float: left;
}

#filter .search input.submit:hover { opacity: 1 }

#filter .operations { float: right }

#filter select.fixed { 
	width: 120px;
	padding: 0;
	margin: 0 0 0 4px;
}

#filter .home {
	margin: 0;
	padding: 0;
	float: right;
}

#orders { margin: 0 0 5px 0 }
#orders ul {
	list-style: none outside none;
	overflow: hidden;
	width: 100%;
}

#orders ul li {
	background-color: #F6F6F6;
	border: 1px solid #ccc;
	border-radius: 4px 4px 4px 4px;
	display: block;
	float: left;
	font-size: 0.8em;
	height: 18px;
	line-height: 18px;
	margin-bottom: 5px;
	margin-right: 5px;
	padding: 4px 3px;
}
#orders ul li:hover { border-color: #aaa }
#orders ul li a.remove span {
	border-left: 1px solid #CCCCCC;
	background-position: -88px -3px;
	width: 20px;
}

table.layout {
	margin: 10px auto;
	width: 100%;
	border-collapse: collapse;
}

table.layout th {
	text-align: left;
	width: 40%;
	padding: 3px 0;
	color: #444;
	vertical-align: top;
}

table.layout th small {
	color: #aaa;
	font-size: 0.7em;
	display: block;
}

table.layout tr:hover th small { color: #444 }
table.layout tr:hover td,
table.layout tr:hover th {
	background: #eee;
}

table.layout th img { vertical-align: bottom }

table.layout td {
	vertical-align: top;
	padding: 3px 0;
	width: 60%;
}

table.layout td input.text,
table.layout td select.fixed {
	width: 260px;
}

table.layout td input.text-small { width: 120px }


table.layout td textarea.text-small {
	width: 360px;
	height: 150px;
	resize: vertical;
}

div.chars-remaining { font-size: 0.8em }

table.layout td textarea.text {
	margin: 0 auto;
	width: 500px;
	padding: 10px;
	height: 200px;
	resize: vertical;
	display: block;
	font-family: "webfont", "Arial", "Verdana";
	font-size: 0.9em;
}

.buttons {
	text-align: center;
	padding: 10px;
}

.buttons input {
	margin: 5px auto;
	text-align: center;
	padding: 5px 20px;
}

.navigation {
	font-size: 0.76em;
	margin: 10px auto;
	text-align: center;
	white-space: nowrap;
}

div.navigation span {
	background: none repeat scroll 0 0 #0080ff;
	border: 1px solid #0000ff;
	font-weight: bold;
	border-radius: 4px 4px 4px 4px;
	color: #fff;
	padding: 3px 8px;
	text-shadow: 0 0 1px #000;
}

div.navigation a {
	border: 1px solid #EEEEEE;
	border-radius: 4px 4px 4px 4px;
	line-height: 30px;
	padding: 3px 8px;
}


div.navigation a:hover {
	border-color: #bbb;
	text-decoration: none;
}

div.file-upload {
	margin: 2px 0;
}


#files {
	margin: 20px auto;
	list-style: none outside none;
}

#files li {
	margin-bottom: 15px;
	background: #eee;
	height: 100%;
	overflow: hidden;
	border: 1px solid #aaa;
}

#files li .not-found {
	margin: 10px auto;
	text-align: center;
}

#files li h3 {
	background: #ddd url('./../images/header.png') 0 -128px repeat-x;
	padding: 0 10px;
	overflow: hidden;
	text-shadow: 0 0 1px #eee;
	height: 26px;
	line-height: 24px;
	font-size: 0.90em;
}

#files li h3 strong {
	float: left;
	text-shadow: 0 1px 1px #fff;
}

#files li h3 em {
	float: right;
	color: #008c8f;
	font-style: normal;
	text-shadow: 0 1px 1px #9ff6fc;
}

#files li h3 a.toggle {
	background-position: -76px -156px;
	height: 16px;
	width: 16px;
	display: block;
	float: right;
	margin-top: 4px;
	margin-left: 16px;
	opacity: 0.8;
}

#files li h3 a.toggle:hover { opacity: 1 }
#files li h3 a.toggle.hide { background-position: -76px -172px }

#files li:hover h3 {
	background-position: 0 -130px;
}

#files li.collapse { opacity: 0.70 }
#files li.collapse:hover { opacity: 0.8 }

#files li .file-list table {
	width: 680px;
	margin: 6px auto;
	border-collapse: collapse;
}

#files li .file-list table tr td {
	height: 26px;
	line-height: 26px;
}

#files li .file-list table tr td img {
	vertical-align: middle;
}

#files li .file-list table tr:hover td,
#files li .file-list table tr:hover td a {	font-weight: bold }


/** clients */
#files li .file-list.clients table td.filename {
	width: 336px;
	padding-left: 4px;
}

#files li .file-list.clients table td.company {
	text-align: center;
	width: 180px;
}

#files li .file-list.clients table td.size{
	text-align: center;
	width: 80px;
}

#files li .file-list.clients table td.time {
	width: 80px;
	text-align: center;
}

/** operators */
#files li .file-list.operators table td.filename {
	width: 246px;
	padding-left: 4px;
}

#files li .file-list.operators table td.size,
#files li .file-list.operators table td.company {
	text-align: center;
	width: 100px;
}

#files li .file-list.operators table td.time {
	width: 110px;
	text-align: center;
}
#files li .file-list.operators table td.options,
#files li .file-list.operators table td.downloads {
	width: 20px;
	text-align: center;
}

/** attachments / pm */
#files li .file-list.attachments table td.filename {
	width: 576px;
	padding-left: 4px;
}

#files li .file-list.attachments table td.size {
	text-align: center;
	width: 100px;
}

/** queries */
#files li .file-list.query-files table {
	width: 400px;
}

#files li .file-list.query-files table td.filename {
	width: 320px;
}

#files li .file-list.query-files table td.size {
	width: 80px;
}

#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #111;
	background-color: #eee;
	padding: 2px 5px;
	font-size: 0.8em;
	opacity: 0.85;
	border-radius: 5px;
	box-shadow: 1px 1px 3px #333;
	text-shadow: 0 1px 1px #fff;
}

#tooltip h3 {
	margin: 0;
	font-size: 0.9em;
	font-weight: normal;
}

#tooltip div {
	margin: 3px 0 0 0;
	font-size: 0.9em;
	color: #444;
}

.loading-gif {display: none}


.categories {
	width: 660px;
	margin: 5px auto;
	overflow: hidden;
}

.categories .item {
	float: left;
	width: 180px;
	height: 100px;
	padding: 20px;
	text-align: center;
}

div.indenting {
	float:left;
	width: 30px;
}

div.range-fields {
	display: none;
}


