body {
	background-color: #668;
	font-family: Verdana, helvetica, sans-serif;
	padding: 0; margin: 0;
}

img#background {
	width: 100%; height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 0; margin: 0;
	opacity: 1;
}

#content_div {
	position: relative;
	width: 100%;
	padding: 0; margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	text-align: center;
}

h1 {
	font-size: 11pt;
	color: #fff;
}

h2 {
	padding: 3px;
	color: #fff;
	background-color: #29457c;
	border: 1px solid #000;
	font-size: 10pt;
}

.title_box {
  width: 85%;
  max-width: 650px;
  margin: 0 auto;
  padding: 3px;
  color: #fff;
  background-color: #29457c;
  border: 1px solid #000;
  font-size: 10pt;  
  font-weight: bold;
}

h3 {
	margin: 0 4px 8px 4px;
	font-size: 9.5pt;
}

.title {
	position: relative;
	top: 2px; margin: 0; padding: 0;	
}
	
div.box-ok .title {
	display: none;
}

div.box, div.box-ok {
	position: relative;
	margin: 0;
	padding: 0;
	opacity: .95;
	max-width: 900px;
	margin: 0 auto;
	width: 90%;
}

div.box div.loading, div.box-ok div.loading {
	background: transparent url(new/loading12.gif) no-repeat scroll 0 0;
	position: absolute;
	right: 24px;
	top: 12.5px;
	width: 12px;
	height: 12px;
	font-size: 1px;
	line-height: 1px;
}

/*div.box-ok div.loading {
	background: transparent url(new/loading12.gif) no-repeat scroll 0 0 !important;
}*/

table.box {
	table-layout: fixed;
	border-collapse: collapse;
	border: 0;
	padding: 0;
	width: 100%;
}

table.box, table.box * {
	font-family: Verdana, helvetica, sans-serif;
	font-size: 8pt;
}
table.box td {
	padding: 0;
	margin: 0;
	border: 0;
}

div.box    table.box td.tl { background: transparent url(new/tl.png)    no-repeat scroll 0 0; width: 32px; height: 30px; }
div.box    table.box td.tm { background: transparent url(new/tm.png)    repeat-x  scroll 0 0;              height: 30px; }
div.box    table.box td.tr { background: transparent url(new/tr.png)    no-repeat scroll 0 0; width: 41px; height: 30px; } 

div.box    table.box td.ml { background: transparent url(new/ml.png)    repeat-y  scroll 0 0; width: 32px; }
div.box    table.box td.mm { background-color: #a9bce2; padding: 10px 0 0 0; }
div.box    table.box td.mr { background: transparent url(new/mr.png)    repeat-y  scroll 0 0; width: 41px; }

div.box    table.box td.bl { background: transparent url(new/bl.png)    no-repeat scroll 0 0; width: 32px; height: 38px; }
div.box    table.box td.bm { background: transparent url(new/bm.png)    repeat-x  scroll 0 0;              height: 38px; }
div.box    table.box td.br { background: transparent url(new/br.png)    no-repeat scroll 0 0; width: 41px; height: 38px; }

div.box-ok table.box td.tl { background: transparent url(new/ok/tl.png) no-repeat scroll 0 0; width: 32px; height: 30px; }
div.box-ok table.box td.tm { background: transparent url(new/ok/tm.png) repeat-x  scroll 0 0;              height: 30px; }
div.box-ok table.box td.tr { background: transparent url(new/ok/tr.png) no-repeat scroll 0 0; width: 41px; height: 30px; } 

div.box-ok table.box td.ml { background: transparent url(new/ok/ml.png) repeat-y  scroll 0 0; width: 32px; }
div.box-ok table.box td.mm { background-color: #2e4d8b; padding: 0 0 0 0; color: #fff; }
div.box-ok table.box td.mr { background: transparent url(new/ok/mr.png) repeat-y  scroll 0 0; width: 41px; }

div.box-ok table.box td.bl { background: transparent url(new/ok/bl.png) no-repeat scroll 0 0; width: 32px; height: 38px; }
div.box-ok table.box td.bm { background: transparent url(new/ok/bm.png) repeat-x  scroll 0 0;              height: 38px; }
div.box-ok table.box td.br { background: transparent url(new/ok/br.png) no-repeat scroll 0 0; width: 41px; height: 38px; }

/* div.box    table.box td.service_select-bg { background: #61e8b9 url(deco-i.png) no-repeat scroll right bottom; height: 317px; } */
/* div.box    table.box td.time_select-bg { background: #fff url(deco-calendar.png) no-repeat scroll right bottom; height: 280px;} */


table.service_select {
	max-width: 600px;
	width: 80%; 
	border-collapse: collapse;
	font-size: 9pt;
	margin: 4px auto;
}

table.service_select th {
	text-align: left;
	padding: 3px 3px 5px 3px;
	border-bottom: 1px solid #000;
	color: #000;
	text-align: left;
}

table.service_select td {
	padding: 3px 3px 4px 3px;
	color: #000;
	text-align: left;
}

table.time_select {
	width: 300px;
	margin: 8px auto;
	padding: 4px;
}

table.time_select td {
	padding: 4px;
}

table.month {
	margin: 0 auto;
	border-collapse: collapse;
}

table.month th, table.month td, table.month a {
	font-size: 8pt;
}

table.month th, table.month td {
	border: 1px solid #888;
	text-align: center;
	padding: 8px;
	cursor: default;
}

table.month th {
	padding: 4px;
}

table.month th, table.month th a, table.month td.w {
	background-color: #555;
	color: #fff;
}

table.month td.w {
	text-align: right;
}

table.month td.da, table.month td.du, table.month td.de {
	background-color: #222;
}

table.month td.da {
	color: #0f0;
}

table.month td.da:hover {
	background-color: #333;
	cursor: pointer;
}

table.month td.du {
	color: #f00;
}

table.month a {
	text-decoration: none;
}

div#avl_times {
}

div#avl_times div {
	font-weight: bold;
	text-align: center;
	padding: 4px;
}

div#avl_times div {
	font-size: 8pt;
}

div#avl_times div div#avl_times_content {
	font-weight: normal;
	padding: 2px;
}

div#avl_times div div#avl_times_content table {
	/* width: 160px; */
	margin: 0 auto;
	padding: 2px;
	border-collapse: collapse;
	border: 1px solid #888;
	background-color: #333;
}

div#avl_times div div#avl_times_content table th,
div#avl_times div div#avl_times_content table td,
div#avl_times div div#avl_times_content table a {
	font-size: 8pt;
}

div#avl_times div div#avl_times_content table th {
	background-color: #555;
	color: #fff;
	padding: 5px;
}

div#avl_times div div#avl_times_content table td {
	background-color: #333;
	color: #fff;
	padding: 8px;
}

div#avl_times div div#avl_times_content table a {
  color: #fff;
  text-decoration: none;
}

div#avl_times div div#avl_times_content table a:hover {
  text-decoration: underline;
}

div#avl_times div div#avl_times_content table a.partial {
  color: #ee0;
}

div#avl_times div div#avl_times_content .new_date_button, div#avl_times div div#avl_times_content .select_time_title {
  /* display: none; */
}

div#avl_times div div#select_time_content {
	font-weight: normal;
	padding: 2px;
}

div#avl_times div div#select_time_content table {
	/* width: 160px; */
	margin: 0 auto;
}


div#avl_times div div#select_time_content table a {
	color: #0e0;
	text-decoration: none;
	font-weight: bold;
}

div#avl_times div div#select_time_content table a:hover {
	color: #0f0;
	text-decoration: underline;
}

div#avl_times div div#select_time_content table a.partial {
  color: #ee0;
}

div#avl_times div div#select_time_content table a:hover {
	color: #0f0;
	text-decoration: underline;
}

div#avl_times div div#select_time_content table a.partial:hover {
  color: #ff0;
}

div#avl_times div div#select_time_content .new_date_button {
  display: inline;
}

div#avl_times div div#select_time_content .select_time_title {
  display: table-row;  
}

table.login_form {
	border-collapse: collapse;
	width: auto;
	margin: 10px auto;
}

table.login_form th, table.login_form td {
	font-size: 9pt;
	padding: 1px 3px;
}

table.login_form th {
	vertical-align: top;
	text-align: left;
	font-weight: normal;
}

table.login_form td {
	vertical-align: top;
	text-align: left;
}

table.login_form input {
	width: 100%;
	margin: 2px 0;
	border: 1px solid rgba(0,0,0,0.2);
}

table.login_form .tborder {
	border-top: 1px solid rgba(0,0,0,0.2);
}


table.userinfo_form {
	border-collapse: collapse;
	width: 250px;
	margin: 8px auto 8px auto;
}

table.userinfo_form th, table.userinfo_form td {
	padding: 1px;
	border: 0;
}

table.userinfo_form th {
	text-align: right;
	font-weight: normal;
}

table.userinfo_form td {
	text-align: left;
}

table.userinfo_form .tborder {
	border-top: 1px dotted #000;
}

div.userinfo_buttons {
	padding: 4px;
	text-align: center;	
}

div.userinfo_bookings {
	text-align: center;
}

div#user_bookings >div {
	text-align:left;
	padding:8px;
}

div#user_info >form div.title, div.userinfo_bookings >div.title {
	text-align: center;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

table.format              { margin: 0 auto; padding: 0; border-collapse: collapse; border: 0; }
table.format .col         { padding: 0 16px; border: 1px solid #242; border-top: 0; border-bottom: 0; vertical-align: top; }
table.format .first_col   { border-left: 0; padding-left: 0; }
table.format .last_col    { border-right: 0; padding-right: 0; }
table.format th.col       { border-bottom: 1px solid #242; vertical-align: middle; }

div.event {
  font-size: 8pt;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #242;
  margin: 2px;
}

div.event_status_pending { background-color: #ff8; }
div.event_status_accepted { background-color: #8f8; }

#version_tag {
  text-align: right;
  color: #ccc;
  position: fixed;
  bottom: 3px;
  right: 3px;
  font-size: 7pt;
}
#version_tag a {
  color: #eee;
  text-decoration: none;
}
#version_tag a:hover {
  text-decoration: underline;
}

div#calendars {
	width: 100%;
	position: relative;
	border: 1px solid #444;
}

div.calendar_scroller {
	position: relative; border: 0; overflow: auto; overflow-x: scroll; overflow-y: hidden;
	width: 100%;
}
div.calendar_header {
	position: absolute;
	top: 0; left: 0; 
	width: 100%;
	z-index: 1;
	font-weight: bold;
	font-size: 11pt;
	text-align: center;
	vertical-align: middle;
	background-color: #444;
	color: #fff;
}

div#calendars-box.box {
	min-width: 700px;
	width: 90%;
}

@media only screen and (min-width: 300px) and (max-width: 399px) {
	table.box { 
		width: 320px !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	#content_div {
		width: 320px !important;
	}
	table.service_select { width: 100% !important; }
	
	div.calendar_scroller {
		width: 245px !important;
	}
	div.calendar_header {
		width: 245px !important;
	}
	div.box, div.box-ok, div#calendars-box.box, div#time_select-box.box {
		width: 320px;
	}
	table.login_form {
		width: 280px;
		margin: 2px auto;
	}
	.title_box {
  		width: 95%;
  }
  td.mm >div {
  	position: relative;
  	margin-left: -15px;
	margin-right: -15px;
  }

}

@media only screen and (min-width: 500px) {
	table.userinfo_form {
		width: 45%;
		float: left;
	}
	div.userinfo_bookings {
		width: 45%;
		float: right;
	}
	div.userinfo_buttons {
		clear: both;
	}

	div#user_info >form >div.title {
		width: 45%;
		float: left;
	}

	div.userinfo_fields {
	  float: left;
	  width: 45%;
	}
	
	div#password_change {
		float: right; width: 45%;
	}
}

table.tradium_day {
	margin: 0 auto;
	width: 800px;
	background-color: #777;
	border-collapse: collapse;
	border: 1px solid #aaa;
}
table.tradium_day th {
	background-color: #444;
}
	
table.tradium_day td, table.tradium_day th {
	padding: 1px;
	text-align: center;
	border-collapse: collapse;
	border: 1px solid #aaa;
	color: #fff;
}

table.tradium_day a 				{ color: #eee; text-decoration: none; }
table.tradium_day a:hover			{ color: #fff; }
table.tradium_day a.partial 		{ color: #ee0; }
table.tradium_day a.partial:hover	{ color: #ff0; }

div#time_select {
	position: relative;
}

div.eventcell {
	overflow: hidden;
}

body.p4y-c-tuc-fyn {
	background-color: #ffffff;
}

table.service_select textarea {
	width: 95%;
}

body.p4y-c-tuc-fyn #version_tag {
	color: #000;
}

body.p4y-c-tuc-fyn #version_tag a {
	color: #222;
}

body.p4y-c-tuc-fyn div.login_title {
	margin-bottom: 8px;
}

body.p4y-c-tuc-fyn div.login_help * {
	font-size: 9pt;
}

body.p4y-c-kt-tradium div#calendars-box {
	max-width: 90%;
}
	
table.userinfo_form input {
	width: 100%;
}

#service_select >form >div >table img {
	width: 16px;
	height: 16px;
}

@media only screen and (max-width: 500px) {
	#service_select >form >div >table img {
		width: 32px;
		height: 32px;
	}
}
