body {margin:0;padding:0;}
/*body {
	font-family: Arial;
	font-size: 10pt;
}*/

body {
font-family:Trebuchet MS,Verdana;
font-size:12px;
}
input, select, textarea {
	font-family: Arial;
	font-size: 8pt;
}
a {
	text-decoration: none; 
}
a:link { 
	color: #202020;
}
a:visited  { 
	color: #202020;
}
a:hover {
	text-decoration: none;
	color: #586786;
}
a:active { 
	color: #202020;
}

table {
	padding: 0px;
	margin: 0px;
}

form {
	padding: 0px;
	margin: 0px;
}
td {
	vertical-align: top;
}

h1 {
	font-size: 20pt;
	font-weight: normal;
	margin: 0;
}

th {
	text-align: left;	
}

td.leftbox,
td.leftbox td {
	background-color: #ffffff;
	color: black;
}
td.leftbox {
	padding:15px;
}

td.rightbox p {
	padding:10px;
}

td.bottombox {
	background-color: #646464;
	color: white;
	padding:15px;	
}

.table-border {
	border-style: solid;
	border-width: 1px;
	border-color:  #626394;
	padding: 3px;
	padding-right: 20px;
	background-color: #ffffff;
}

#dropboxes {
	padding-top:1em;
	text-align:right;
}
#dropboxes label,
#dropboxes select {
	display: block;
	width: 150px;
	float: left;
	margin-bottom: 10px;
}

#dropboxes label {
	text-align: right;
	width: 90px;
	padding-right: 10px;
}

#dropboxes br {
	clear: left;
}
#weekselector {
	padding-bottom: 10px;	
}
#weekselector label,
#weekselector a {
	padding-left:10px;
}
.search_results th {
	width:100px;
}
pre.debug {
height:48em;
width:64em;
overflow:auto;
}
.dayseparator {
 border-top: 1px solid #000;
}
td {
	height:100%;
}
a.add_new {
	display:block;
	width: 100%;
	height: 100%;
}
a:hover.add_new {
	background-image:url(images/plus.png);
	background-repeat: no-repeat;
	background-position:right top;
}
#contactform div {
/*	padding-left: 5em;
	padding-top:1em;
	text-align:right;
	float:left;
*/	
}
#contactform label,
#contactform .input,
#contactform select {
	display: block;
	width: 20em;
	float: left;
	margin-top: 10px;
}

#contactform label {
	text-align: right;
	width: 5em;
	padding-right: 20px;
}
#contactform label.error { 
	clear: both; 
	color: red; 
	padding-left: 10em; 
	vertical-align: top; 
	width:15em!important; 
	margin-top: 0px;
}

#contactform br {
	clear: left;
}
div.input br {
	clear: both;
}
#contactform div.input {
	padding: 0pt; 
	text-align: left;
}
#contactform div.input label{
	width: 100%;
	text-align: left;
}
table.list th,
.search_results_cal th {
	text-align: left;
	vertical-align: bottom;
	border-bottom: 2px solid gray;
	padding: 0 1ex;
}
table.list tr.bottom {
	border-bottom:0;
	height:3em;
}
tr.bottom td {
	vertical-align: top;
	border-bottom:0;
	border-top: 2px solid gray;
	padding: 0 1ex;
	font-weight: bold;
}
table.list tr {
	border-bottom: 1px solid #ccc;
}
.list-footer {
	border-bottom: 0;
}
.list-footer td {
	padding-top: 1em;
}

th.product_list_header {
	background-color: #ffffff;
	height: 30px;
	text-align: left;
	vertical-align: bottom;
	border-bottom: 2px solid gray;
	padding: 0 1ex;	
}

table.list td {
	padding-right: 0em;
	height: 18px;
}
a.reservable {
	display:block;
	width: 100%;
	height: 100%;
}
/*a:hover.reservable {
	background-color: green;
}*/

.search_results_cal {
	width:100%;
}

.search_results_cal td {
	height:100%;
}
table.list,
.search_results_cal,
.search_results_cal td {
	/*border: 1px solid grey;*/
	margin:0;padding:0;
	border-collapse:collapse;
}

td.placecol {
	width: 15em;	
}

#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #111;
	background-color: #eee;
	padding: 5px;
	/*opacity: 0.85;*/
}
#tooltip h3 {
	font-size: 100%;
}
#tooltip h3, #tooltip div { margin: 0; }
.vacant, .reserved, .un, .wontfit,
.status-first, .status-second, .status-third,
.av, .status-reserved, .status-dual, .status-many, .status-group {
	height:10px;
	min-width: 10px;
	border-style: solid;
	border-width: 1px 0 0 1px;
}
.vacant, .wontfit, .av {
    /*varattavissa*/
	/*background-color:#ddd;*/
	background-color:#e9e9e9;
	border-color: #ccc;
}
/*
.wontfit {
	background-color:#bbFFaa;//vihre�
	border-color: #9d9; 
}
*/
.un {
    /*suljettu*/
	/*background-color:#c7c7c7;*/
	background-color:#999999;
	/*border-color: #bfbfbf;*/
	border-color: #828282;
}
.reserved, .status-reserved {
	color:gray;
	background-color:#FF9999;
	border-color: #cc8888;
}
.status-dual {
	/* background-color:#FFAAAA ! important;
	border-color: #E88 ! important; */
	background-color:#c05050 ! important;
	border-color: #E88 ! important;
	color: #f0f0f0
}
.status-dual a {
	color: #f0f0f0;
}
.status-many {
	/* background-color:#FFAAAA ! important;
	border-color: #E88 ! important; */
	background-color:#c05050 ! important;
	border-color: #E88 ! important;
	color: #f0f0f0
}
.status-many a {
	color: #f0f0f0;
}
.status-group {
	color:gray;
	background-color:#9FCFFF ! important;
	border-color: #7FAFFF ! important;
}
.comein-free {
	background-image: url('comein_free.png');
	background-repeat: no-repeat;
}
.comein-reserved {
	background-image: url('comein_reserved.png');
	background-repeat: no-repeat;
}
.comein-starts {
	background-image: url('comein_starts.png');
	background-repeat: no-repeat;
	border-color: #88cc88;
}
.comein-startsends {
	background-image: url('comein_startsends.png');
	background-repeat: no-repeat;
}
.comein-ends {
	background-image: url('comein_ends.png');;
	background-repeat: no-repeat;
	border-color: #cc8888;
}
.comein-free_yellow,
tr.comein-free_yellow td.vacant {
	background-image: url('comein_free_yellow.png');
	background-repeat: no-repeat;
}
.comein-reserved_blue,
tr.comein-free_yellow td.reserved {
	background-image: url('comein_reserved_blue.png');
	background-repeat: no-repeat;
}
.comein-starts_blue,
tr.comein-free_yellow td.comein-starts {
	background-image: url('comein_starts_blue.png');
	background-repeat: no-repeat;
	border-color: #88cc88;
}
.comein-startsends_blue, 
tr.comein-free_yellow td.comein-startsends{
	background-image: url('comein_startsends_blue.png');
	background-repeat: no-repeat;
}
.comein-ends_blue,
tr.comein-free_yellow td.comein-ends {
	background-image: url('comein_ends_blue.png');
	background-repeat: no-repeat;
	border-color: #cc8888;
}

/*
.av {
	background-color:#FAFAFA;	
	border-color: #ccc;
}
.status-reserved {
	background-color:#CACACA;	
	border-color: #ccc;
}

.status-first a {
	color: #934542;
}
.status-first {
	background-color: #AAFFAA;
	border-color: #8c8;
}
.status-second a {
	color:#934542;
}
.status-second {
	background-color: #FFEEAA;
	border-color: #cd8;
}
.status-third a {
	color:#455;
}
.status-third {
	background-color: #88EEFF;
	border-color: #8cc;
}
*/
.hour {
	border-left: 2px solid gray ! important;	
}

div#legend {
	float:left;
	padding-left: 50px;
	padding-top: 20px;	
}
div#legend div {
	float:left;	
}
div#legend span {
	float:left;	
	width:16px;
	height:16px;
	margin: 0 5px 0 20px;
}

div.pagination {
	padding: 3px;
}
div.pagination a {
	border: 1px solid black;
	padding: 3px;
	margin: 3px;
}
div.pagination a.current {
	background-color: #ccc;
}
div.pagination a.previous,
div.pagination a.next {
	border:none;
	font-weight: bold;
	font-size: 120%;
}
fieldset {
	padding: .5em;
	border: 1px solid #999;
}
form#event label,
fieldset.place label{
	float:left;
	padding: 0 .5em .5em 0;
}
form#event fieldset {
	margin-left: 0.5em;
}
form#event fieldset#status,
form#event fieldset#repeat {
	width:20em;
	float:left;
}
form#event fieldset#status {
	width: 10em;
}
form#event fieldset#status {
	height:10em;
}
form#event fieldset#keywordsfield {
	float:left;
}
form#event fieldset#status {
	margin-right: 0.5em;
}
.groupfield label {
	width: 160px;
	text-align: right;
	float:left;
	padding-right: 5px;
}
.groupfield br {
	clear: both;
}

fieldset.place {
	float:none;
	padding: 1em;
	margin-top: 1em;
}
fieldset.search {
	min-width: 64em;
	/*margin-left: 10px;*/	
}
fieldset.search input,
fieldset.search span,
fieldset.search label {
	display: block;
	float: left;
}
fieldset.search img.left {
	padding-left: 2ex;	
}
fieldset.search img.right {
	padding-right: 2ex;	
}
fieldset.search input {
	width: 4em;
}
fieldset.search .buttons input {
	width: auto;
}
fieldset.search input.search,
fieldset.search select.place,
fieldset.search select.duration,
fieldset.search select.price {
	width: 18em;
}

fieldset.search select.keywords {
	width: 12em;
}
fieldset.search input.search-keyword {
	width: 6em;
}
fieldset.search select.product {
	width: auto;	
}
form#event label.product, fieldset.product {
float:left;
padding: 1em 1em 1em 1em;
}

fieldset label {
	padding-right: 1ex;
}
span.buttons, 
fieldset.search .buttons {
	float: right;
	text-align: right;
	vertical-alignment: bottom;
}

span.report_buttons {
	padding-top: 10px;
	float: right;
	text-align: right;
	vertical-alignment: bottom;
}

/* management menu */
.management td.menu {
	background: #A11514;
	color: white;
}
.management ul.menu {
	margin:0;
	padding:0;
	float: left;
}
.management .menu a{
	color: white;
	padding: 0 10px;
	margin:0;
}
.management .menu a:hover{
	color: white;
	background-color: red;
}
.management .menu li {
	display: inline;
	list-style-type: none;
	border-right: 1px solid white;
	background-color: #b22;
}
.management .menu li.header {
	padding: 0 10px 0 12px;
	background-color: #A11514;
	color: #f99;
}
.management .menu li.selected {
	background-color: red;	
}
.management td.logout {
	text-align: right;
}
.management td.title {
	padding: 2px 10px 0px 12px;
	font-weight: bold;
	font-size: 12pt;
}

fieldset.question {
	width: auto;
	text-align: left;
	float: left;
	margin-left: 0.0 em;
	margin-right: 0.5em;
	margin-bottom:0.5em;
}
fieldset.question br {
	clear:both;
}
fieldset.question label,
fieldset.question input
 {
	padding: 0;
	text-align: left;
	float: left;
	width: auto ! important;
	display: inline;
	text-align: left;
}

tr.checkall {
	border:0 !important;
}
tr.checkall td {
	padding-top:1em;
	font-size: 75%;
}

.groupinfo {
	float:left;
}

.groupfield div.input {
	float:left;
}
.groupfield div.input label {
	text-align: left;
	float:left;
}

.subscriberfield label {
	width: 70px;
	text-align: right;
	float:left;
	padding-right: 5px;
}
.subscriberfield br {
	clear: both;
}

.subscriberfield div.input {
	float:left;
}
.subscriberfield div.input label {
	text-align: left;
	float:left;
}

.customer-form td {
	
	padding-right: 20px;
}

.customer-form input[type='text'] {
	
	width: 100px;
}

.customer-form select, .customer-form-field-short {
	
	width: 120px;
}

.customer-form input[type='submit'] {
	width: 80px;
}


.customer-form textarea {
	
	width: 200px;
	height: 50px;
}

tr.odd {
 background-color: #eaeaea;
}
table.compensation-report,
table.compensation-report td {
	border: 1px solid black;
	padding: 1ex;
	margin: 1ex;
} 
table.compensation-report {
	border-collapse: collapse;
}
h2 {
padding-bottom:0;
margin-bottom:0;
margin-top: 0;
}
.showlines td {
  border-top: thin solid black;
}

/* tabs */
ul.tabs {
    margin:0;
    padding:0;
}
ul.tabs li {
    display:block;
    float:left;
    padding:0 1px;
    border:0 solid #ddd;
}
ul.tabs li a {
    display:block;
    float:left;
    padding: 2px 10px 2px 12px;
    /*font-size:10pt;*/
    /*background-color:#aaa;*/
    color:#fff;
    text-decoration:none;
}
ul.tabs a:link {
	/*background-color: #b22;*/
}
ul.tabs a:hover{
	color: white;
	/*background-color: red;*/
}
ul.tabs a:active {
	/*color: white;*/
	/*background-color: red;*/	
}
ul.tabs a:visited {
	/*color: white;*/
}
ul.tabs .selected {
	/*background-color: red;*/	
}
ul.tabs li a.selected {
	color: red;
}
#wrapper {
    margin-top:25px;
}
.tab-content {
	display: none;
	margin:10px;
	clear:both;
}

div.tab-content {
	position:relative;
	height: 100%;
}
div.save_and_quit {
	width:100%;
	text-align: right;
}

/* subtabs */
ul.subtabs {
    width:100%;
    margin:0;
    padding:0;
}
ul.subtabs li {
    display:block;
    float:left;
    padding:0 1px;
    border:0 solid #ddd;
}
ul.subtabs li a {
    display:block;
    float:left;
    padding: 2px 10px 2px 12px;
    font-size:10pt;
    background-color:#aaa;
    color:#fff;
    text-decoration:none;
}
ul.subtabs a:hover{
	color: white;
	background-color: red;
}
ul.subtabs a:active {
	color: white;
	background-color: red;	
}
ul.subtabs a:visited {
	color: white;
}
ul.subtabs .selected {
	background-color: red;	
}
.subtab-content {
	clear:both;
    border:1px solid red;
    padding: 10px;
    min-height: 500px;
    overflow: auto;
}
div.subtab-content {
	position:relative;
	height: 100%;
}
.place-form {
	width: 900px;	
}
.place-form td {
	padding-right: 20px;
}
.place-form input[type='text'] {
	width: 145px;
}

.place-form select, .place-form-field-short {	
	width: 150px;
}

.place-form input[type='submit'] {	
	width: 80px;
}

tr.longrun td {
	vertical-align: top;
	border-top: 2px solid lightgray;
	padding: 0 1ex;
	font-weight: bold;
}

a.pick_workday {
	display:block;
	width: 100%;
	height: 100%;
}
a.workday {
	display:block;
	width: 100%;
	height: 100%;
	background-color: #cccccc;
}
a:hover.pick_workday {
	/*background-image:url(images/cross.gif);*/
	background-color: #339900;
	background-repeat: no-repeat;
	background-position:center;
}
.passive_picked { 
	display:block;
	width: 100%;
	height: 100%;
	background-color: #cccccc;
}
.picked { 
	display:block;
	width: 100%;
	height: 100%;
	background-color: #339900;
	/*background-image:url(images/cross.gif);*/
	background-repeat: no-repeat; 
	background-position:center;
}
a:hover.passive_picked {
	/*background-image:url(images/cross.gif);*/
	/*background-color: #339900;*/
	background-repeat: no-repeat;
	background-position:center;
}
a:hover.picked {
	/*background-color: #cccccc;*/
}
a:hover.workday {
	background-color: #339900;
}
a.disabled_workday {
	display:none;
	width: 100%;
	height: 100%;
}
td.td_disabled_workday {
	background-color:#FF9999;
}
a.can_not_picked {
	display:none;
	width: 100%;
	height: 100%;
}
td.can_not_picked {
	background-color:#999999;
}
span.can_not_picked {
	background-color:#999999;
}
span.workday {
	background-color:#339900;
}
.status_passive {
	background-color:#ccc;
	border-color: #bbb;
}

table.logdata {
	font-family: Arial;
	font-size: 8pt;
}
th.logdata {
	font-weight: normal;
}

table.reservedata {
	font-family: Arial;
	font-size: 8pt;
}
th.reservedata {
	font-weight: normal;
}

#main {
	width:64em;
    margin: 10px;
}
.widermain {
	margin: 10px;
}

#mainNavi  {
	height:50px;
	width:100%;
	margin-bottom: 0;
	background:none repeat scroll 0 0 #9C1C1B;
	font-weight:bold;
	font-weight:bold;
}
#mainNavi ul {
	position: relative;
	float:left;
	height:39px;
	list-style:none outside none;
	margin: 0;
	margin-top: 11px;
	padding:0 0 0 15px;
}
#mainNavi ul {
	/*background:none repeat scroll 0 0 #9C1C1B;*/
}
#mainNavi li {
	margin:4px 0 0;
	padding:0 10px 0 0;
}
#mainNavi li {
	float:left;
	height:35px;
	overflow:hidden;
}
#mainNavi li {
	background:url("images/main-navi_tab.gif") no-repeat scroll right top transparent;
	/*border-right:1px solid #9C1C1B;*/
	margin-right:2px;
}
#mainNavi li.selected {
	height:39px;
	margin:0;
}
#mainNavi li.selected {
	background:url("images/main-navi_selected.gif") no-repeat scroll right top transparent;
}
#mainNavi li.selected a {
	background:url("images/main-navi_selected.gif") no-repeat scroll 0 0 transparent;
	color:#AA1C1A;
}
#mainNavi li a {
	padding:9px 6px 11px 16px;
}
#mainNavi li a {
	background:url("images/main-navi_tab.gif") no-repeat scroll left top transparent;
	margin-left: -1px;
}
#mainNavi a {
	display:block;
}
#mainNavi li.selected a {
	display:block;
	padding:11px 6px 11px 16px;
}
#mainNavi a {
	color:white;
}
#mainNavi a:hover {
	color:#E4BEBE;
}
a:link, a:visited, a:active {
	text-decoration:none;
}
a {
	color:#AA1C1A;
	cursor:pointer;
}
#mainNavi b {
	color:white;
	font-size: 14pt;
	display: block;
	padding-top: 4px;
	padding-bottom: 3px;
	padding-left: 25px;
}
#logo {
	float:right;
}
.main-nav-icon {
	float:left;
}
.main-nav-icon a {
	padding: 4px;
	margin-top: 14px;
}
.main-nav-icon .ui-icon {
	background-image: url(../../css/ebsolut/images/ui-icons_ffffff_256x240.png);
	margin: 6px;
	margin-bottom: 0;
	padding-bottom: 0;
}
.main-nav-icon li {
	display: inline;
	list-style: none;
}
#subNavi  {
	height:25px;
	margin: 0;
	padding:0;
	background:url("images/subnavi_bg.gif") repeat-x scroll left bottom transparent;
}
#subNavi ul {
	float:left;
	list-style:none outside none;
	padding:0 0 0 15px;
	margin:0;
}
#subNavi li {
	margin:0;
	padding:0;
	float:left;
	overflow:hidden;
	border-right:1px solid #ccc;
}
#subNavi li.selected a {
	color:#AA1C1A;
}
#subNavi a {
	display:block;
	color:#000;
	padding:3px 15px 3px 15px;
}
#subNavi a:hover {
	color:#9C1C1B;
}
#subNavi li a.selected {
	color:#9C1C1B;
}
.pool {
	border-left: 2px solid gray ! important;	
	text-align: center;
}
td.pool_list_header {
	background-color: #ffffff;
	height: 10px;
	text-align: left;
	vertical-align: bottom;
	border-bottom: 2px solid gray;
	border-left: 2px solid gray;
	padding: 0 1ex;	
	font-weight: bold;
}
#mobile_report label  {
	width: 70px;
	text-align: right;
	float:left;
	padding-right: 10px;
}
#mobile_report input, select  {
	margin-bottom: 10px;
}
#mobile_report {
	margin-left:10px;
	background-color:#E9E9E9;
}

.ui-autocomplete { position: absolute; cursor: default; }	
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
.ui-menu {
	list-style:none;
	padding: 0px;
	margin: 0;
	display:block;
	float: left;
	border:1px solid #494849;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
	text-align:left;
	border:0.5px solid #494849;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	line-height:1.4;
	zoom:1;
	background:#FFF;
  	padding:5px;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	background:#717171;
  	color:#FFF;
  	text-decoration:none;
}
