body {
	width: 95%;
	font-family: Tahoma, Geneva, Arial, Helvetica, sans-serif;
}
/* EKA VÄLILEHTI */
ul.hoitotyypit {
	width: 100%;
	margin-left: -45px;
	margin-top: 15px;
}

li.ht {
	cursor: pointer;
	list-style: none;
	padding-bottom: 5px; //
	border-bottom: 1px solid #EEEFE2; //
	background-image: url(../img/list.png); //
	background-position: 0 3px; //
	background-repeat: no-repeat; //
	padding-left: 40px;
	clear: both;
	width: 100%;
}

li.ht a {
	text-decoration: none;
}

li.ht:hover {
	background-color: #EEEFE2;
}

li.selected_ht {
	background-color: #ecfef2;
}

.toimipiste_block {
	float: left;
	padding-right: 10px;
}

div.left_ht {
	float: left;
	width: 69%;
}

div.right_ht {
	width: 29%;
	float: right;
}

div.ht_kuvaus {
	width: 100%;
	min-height: 15px;
}

div.ht_kuvaus a {
	font-size: 0.8em;
	color: black;
}

li.ht div.fixer {
	clear: both;
	width: 100%;
	height: 2px;
}

li.ht div.right_ht div.vapaana {
	font-size: 0.6em;
	height: 10px;
}

li.ht div.right_ht div.ht_kesto {
	font-size: 0.7em;
	color: black;
}

li.ht div.right_ht div.vapaana a {
	color: black;
}

li.ht div.right_ht div.ht_kesto a {
	color: black;
}

/* EKAN VÄLILEHDEN LOPPU */
div#right_div {
	float: right;
	width: 150px;
}

div#varaus { //
	min-width: 698px;
}

div#title {
	padding-left: 10px;
	margin-top: 0px;
	width: 100%;
	color: #666666;
	//#
	CCCCCC;
}

div#top_div {
	height: 5px;
	/*background: url(../pics/top.png) no-repeat transparent 0 0;*/
	border-top: 1px solid #CCCCCC;
	margin-top: 0px;
}

img.top_left_bg {
	float: left;
	margin-left: -693px;
	margin-top: -1px;
}

img.bottom_left_bg {
	float: left;
	margin-left: -693px;
	margin-bottom: -1px;
}

div#view {
	margin-top: 0px;
	position: relative;
	clear: both;
	padding-bottom: 10px;
	border-left: 0px solid #CCCCCC;
}

div#bottom_div {
	/*background: url(../pics/bottom.png) no-repeat transparent;*/
	/*background-position: center bottom;*/
	/*border-bottom: 1px solid #CCCCCC;*/
	height: 7px;
}

div#view_content {
	margin-top: 0px;
	width: 100%;
}

div#steps {
	height: 30px;
	width: 950px;
	margin-bottom: 0px;
}

div#steps ul#nav {
	width: 100%;
	margin-left: 0px;
	padding-left: 0px;
	background: url(../img/white.png) repeat;
	margin-bottom: 0px;
}

div#steps ul a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	margin-bottom: 0px;
}

div#steps ul#nav li {
	text-align: center;
	list-style: none;
	float: left;
	width: 22%;
	margin-left: 1.2%;
	margin-right: 1.2%;
	height: 26.8px;
	padding-top: 7px;
	padding-bottom: 4px;
	background-color: var(--diarium-main);
	background: url(../img/nav_bg.png) no-repeat;
	margin-bottom: 0px;
}

div#steps ul#nav li.active {
	background: url(../img/nav_bg_active.png) no-repeat;
	height: 24.6px;
	color: var(--diarium-main);
}

div#steps ul#nav li.active a {
	color: var(--diarium-main);
}

div#steps ul#nav li:hover {
	background: url(../img/nav_bg_hover.png) no-repeat;
}

div#steps ul#nav li.active:hover {
	background: url(../img/nav_bg_active.png) no-repeat;
}

#date {
	float: left;
	margin-left: 5px;
	padding-left: 5px;
	/*position: absolute;*/
	font-size: 0.5em;
	padding-top: 5px;
}

div#settings_div {
	float: left;
	width: 200px;
}

div#varaus {
	margin-left: 0px;
}

div.hoitajalinkit {
	margin-top: 180px;
	width: 183px;
	padding: 5px;
	font-size: 0.8em;
}

div.hoitajalinkit ul {
	padding-left: 2px;
	padding-right: 0px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-top: 4px solid #CCCCCC;
	background-color: #C6C6C6;
}

div.hoitajalinkit ul li a {
	color: black;
	text-decoration: none;
}

div.hoitajalinkit ul li {
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	line-height: 15px;
	min-height: 20px;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-right: -1px;
	background-image: url(../img/hoitaja_arrow_active.png);
	background-color: #F6F6F6;
	background-position: 100% 0px;
	background-repeat: no-repeat;
	padding-left: 3px;
	padding-right: 5px;
	list-style: none;
	margin-left: 0px;
	margin-top: -1px;
}

div.hoitajalinkit ul li.active {
	background-image: url(../img/hoitaja_arrow.png);
	background-position: 100% 0px;
	background-repeat: no-repeat;
	border-right: 1px solid white;
	background-color: #FFFFFF;
}

div.hoitajalinkit ul li.active a {
	color: #999900;
}

div#naytaPaivia {
	margin-top: 10px;
	font-size: 0.8em;
}

table#aikataulut {
	border-collapse: collapse;
}

table#aikataulut a {
	cursor: pointer;
	display: block;
	text-decoration: none;
}

table#aikataulut tr {
	border-bottom: 1px solid #c3d2c2;
}

table#aikataulut tr td {
	border: 0px solid gray;
	z-index: 0;
	overflow: hidden;
}

table#aikataulut tr td:hover {
	border: 0px solid gray;
	z-index: 1;
	overflow: visible;
}

div.aikasolu {
	overflow: hidden;
	z-index: -4;
	cursor: pointer;
}

div.aikasolu:hover {
	overflow: visible;
	z-index: 5;
}

.clockTime {
	cursor: default;
}

.clearer {
	clear: both;
    font-size: 0;
    line-height: 0;
}

table#aikataulut th {
	font-size: 0.7em;
}

table#aikataulut th.clockTime {
	text-align: left;
}

.vapaa-aika {
	background: #048e00 url(../img/aika_bg.png) repeat;
	color: black;
	font-weight: normal;
	width: 96px;
	text-align: center;
	font-size: 0.7em;
	text-decoration: none;
}

div.vapaa-aika:hover {
	background: url(../img/aika_bg_hover.png) repeat;
	color: #5f5f5f;
}

div.selected_time {
	font-size: 0.5em;
	background: #54e5b0 url(../img/aika_bg.png) repeat;
	color: #2c343e;
	cursor: default;
}

div.selected_time:hover {
	background: #54e5b0 url(../img/aika_bg.png) repeat;
	color: #2c343e;
	cursor: default;
}

div#ajanvaraus {
	margin-left: 0px;
}

div#select_week {
	float: left;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 100%;
}

div#select_day {
	float: left;
	clear: left;
	width: 100%;
}

table.weeks {
	float: left;
	border: 1px solid gray;
	font-size: 0.9em;
}

table.weeks td a {
	padding: 0.3em 0.5em 0.3em 0.5em;
	text-decoration: none;
	color: black;
}

#varaustiedot {
	padding-left: 150px;
	color: #362d27;
	margin-bottom: 4px;
}

#varaustiedot h4 {
	margin-bottom: 4px;
}

#buttons {
	margin: 0 auto;
	width: 350px;
}

.vapaana {
	font-size: 0.8em !important;
	max-height: 20px !important;
	overflow: hidden;
	min-width: 200px;
}

.pikavaraus {
	font-size: 0.8em !important;
	max-height: 20px !important;
	overflow: hidden;
	min-width: 155px;
}

.vapaana a {
	font-size: 0.8em !important;
	padding: 0px !important;
}

.vapaana a span {
	font-size: 0.8em !important;
	margin: 0px !important;
}

.valmis {
	padding-left: 5px;
	padding-right: 5px;
}

#buttons a {
	/*	color: #FFFFFF; */

}

.button {
	font-size: 0.6em;
}

.buttons {
	margin: auto;
	width: 172px;
}

#buttons ul a:hover {
	color: #999900;
}

#buttons a.disabled {
	color: red;
}

#buttons a.disabled:hover {
	color: red;
}

#buttons ul {
	margin-left: 0px;
}

#buttons ul li {
	float: left;
	list-style: none;
	margin-right: 5px;
	margin-left: 5px;
}

#buttons ul li a {
	text-decoration: none;
}

.ui-state-disabled span {
	color: red;
}

.lomake_error {
	color: #D8000C;
	font-size: 1.0em;
}

div#error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('../img/Error.png');
	border: 1px solid;
	margin: 10px 0px 10px 200px;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
}

div#varaus_success {
	align: left; #
	border: 1px solid var(--diarium-main);
	padding: 0.7em;
}

div#varaus_error {
	padding: 0.7em;
}

.submit_button {
	border: 1px solid #626262;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #B7B7B7;
	font-weight: bold;
	font-size: 1.2em;
	color: #FFFFFF;
}

#selectable_user li, #selectable_user-small li {
/* 	display: inline-block; */
	margin: 3px;
	font-size: 0.9em;
	min-height: 20px;
	display: block;
	float: left;
}

.user_slider-small {
	padding-left: 10px;
}

#selectable_user-small li {
	border: 1px solid #dfd9c3;
	background: #f5f3e5;
	color: #312e25;
	padding: 2px 8px;
	cursor: pointer;
}

#selectable_user-small li.selected {
	background: #00B2EB;
	color: white;
}

#selectable_user {
	cursor: pointer;
	list-style-type: none;
}

#selectable_group {
	cursor: pointer;
	list-style-type: none;
}

#selectable_group li {
	display: block;
	float: left;
	margin: 3px;
	font-size: 0.9em;
	min-height: 50px;
	width: 125px;
}

#selectable_week li {
	display: block;
	float: left;
	margin: 5px;
	padding: 0.4em;
	font-size: 0.9em;
	width: 110px;
}

#selectable_week {
	cursor: pointer;
	list-style-type: none;
}

table#selectable_time {
	width: 100%;
}

table#selectable_time th {
	font-size: 0.8em;
	padding: 0.4em;
}

table#selectable_time td {
	border: 1px solid #B7B7B7;
}

table#selectable_time td div {
	padding: 0.4em;
	font-size: 0.8em;
	cursor: pointer;
	text-align: center;
	border-bottom: 1px solid #B7B7B7;
}

table#selectable_time td span {
	padding: 0.4em;
	font-size: 0.9em;
	color: #B7B7B7;
}

.ammatti {
	color: gray; 
	font-size: 11px;
}

#selectable_user .ui-selected .ammatti {
	color: white;
}

.week_slider {
	padding: 2px;
	float: left;
}

.user_slider {
	padding: 2px;
	float: left;
}

.group_slider {
	padding: 2px;
	float: left;
}

a.arrow {
	background: url(../img/diarium_seuraava-edellinen.png) no-repeat
		transparent;
	width: 45px;
	height: 50px;
	float: left;
	/*margin-top: 23px;*/
	text-decoration: none;
}

a.next {
	margin-left: 41px;
	background-position: -45px 0;
}
a.prev {
	margin-right: 41px;
}

div#henkilotiedot {
	padding-left: 10px;
}

.btnDiarium {
	cursor: pointer;
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed
		), color-stop(1, #dfdfdf));
	background: -moz-linear-gradient(center top, #ededed 5%, #dfdfdf 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',
		endColorstr='#dfdfdf');
	background-color: #ededed;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	color: black; /*#777777;*/
	font-family: arial;
	font-weight: bold;
	padding: 2px 10px 2px 10px;
	text-decoration: none;
	text-shadow: 1px 1px 0px #ffffff;
}

.btnDiarium:hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf
		), color-stop(1, #ededed));
	background: -moz-linear-gradient(center top, #dfdfdf 5%, #ededed 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf',
		endColorstr='#ededed');
	background-color: #dfdfdf;
}

.btnDiarium:active {
	position: relative;
	top: 1px;
}

table.varaustiedot {
	width: 100%;
	border-collapse: collapse;
}

table.varaustiedot td {
	padding: 0.5em;
	text-align: left;
	background-color: #fff;
	vertical-align: top;
	border-bottom: 1px dotted #EAEAEA;
}

div.week_number {
	float: left;
	font-size: 0.8em;
}

div.user_name {
	margin-top: 0.8em;
	padding: 0.2em 0.2em 0.2em 0.2em;
	text-align: center;
}

div.group_name {
	text-size: 20px;
	margin-top: 15px;
	text-align: center;
}

#group_accordion {
	float: left;
	width: 100%;
}

div.user_kaikki {
	margin-top: 10px;
	padding: 10px 0px 15px 0px;
	text-align: center;
}

img.user_img {
	width: 70px;
	height: 80px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.divToimipiste, .divPeruutus {
	float: left;
	border: 1px solid #E1E1E1;
	background-color: #F9F9F9;
	padding: 15px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	margin-bottom: 5px;
	margin-right: 5px;
}

.divToimipiste a {
	text-decoration: none;
}

.toimipiste_linkki {
	padding: 10px;
}

.ryhmavaraus_taynna {
	width: 70px;
	color: white;
	font-size: 16px;
	background: #B7B7B7;
	padding: 0px 10px 3px 10px;
	border: 1px solid #B7B7B7;
	border-radius: 15px;
	text-align: center;
}

#login {
	text-align: left;
	margin: 5px 0px;
	font-size: 14px;
}

#login #login-form {
	font-size: 12px;
	margin-top: 5px;
}

#login #login-form input {
	font-size: 10px;
}

a {
	color: #000;
}

#omat-tiedot {
	border-collapse: collapse;
	border-spacing: 2px;
}

#omat-tiedot th {
	text-align: left;
	font-weight: normal;
	padding: 5px 5px 5px 0px;
	border-bottom: 1px solid gray;
}

#omat-tiedot td {
	text-align: left;
	font-weight: normal;
	padding: 5px 5px 5px 20px;
	border-bottom: 1px solid gray;
}

.omat-tiedot-header {
	text-align: left;
	margin: 10px 0px;
	font-size: 16px;
	font-weight: bold;
}

.cancel-button {
	cursor: pointer;
	border: none;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 2px 6px;
	color: #fff;
	background-color: #999;
}

.cancel-button:hover {
	background-color: #bcbcbc;
}

.cancelled {
	text-decoration: line-through;
}

#passwordPwd {
	margin-right: 10px;
}

.badPass {
	color: #FF6600;
}

.shortPass {
	color: #FF0000;
}

.goodPass {
	color: #339933;
}

.select_groups_button {
	float: right;
	width: 90px;
	color: #fff;
	background-color: #666666;
	font-weight: bold;
	border: 1px solid #666666;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	text-align: center;
	padding: 10px;
	cursor: pointer;
}

#jonossa {
	background-image: url("../img/jonotus_18x15.png");
}

/* Palauteviestit */
.success {
	background-color: #FFFE95;
	padding: 10px 10px 10px 40px;
	border: 1px solid #EBE8C8;
	margin: 0.5em 0 0.5em 0;
	color: #000D47;
	background-position: 5px 50%;
	background-image: url(../img/icon_ok.png);
	background-repeat: no-repeat;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.error {
	background-color: #FFFE95;
	padding: 10px 10px 10px 40px;
	border: 1px solid #EBE8C8;
	margin: 0.5em 0 0.5em 0;
	color: #000D47;
	background-position: 5px 50%;
	background-image: url(../img/Error.png);
	background-repeat: no-repeat;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.cancelError {
	color: red;
}

.errorField {
	background-color: #FF8080;
	padding: 10px 10px 10px 10px;
	border: 1px solid #EBE8C8;
	margin: 0.5em 0 0.5em 0;
	color: #000D47;
	background-position: 5px 50%;
	background-image: url(../img/icon_ok.png);
	background-repeat: no-repeat;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
