﻿
/*
background		#dedcdc
header/footer	#3a581
*/

html {
    min-width: 1035px;
}

/* generic */
body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans';
	/*font-family: 'Segoe UI Light', Calibri, Arial, Lucida Grande, sans-serif;*/
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	background: #FFFFFF;
}
p, ul, ol {
	margin: 1em 0;
}
h1, h2, h3, h4, h5 {
	margin: 0;
	margin-bottom: .2em;
	color: #23326A;
}
h1, h2 {
	color: #333;
}

a:link, a {
	text-decoration: none;
}
a:visited {
}
a:active {
}
a:hover {
	text-decoration: underline; 
}
input {
	border: 1px solid #616161;
	border-radius: .3em;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	box-shadow: inset 0px 3px 5px rgba(0,0,0,.1);
}
button, input[type=submit], input[type=reset], input[type=button] {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	border: none;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #70787e;
	display: inline-block;
	padding: .1em .6em;
	background-color: #7c7e7f;
	border-radius: 1em;
	text-shadow: 0px 1px 0px white;
	color: black;
	background: #dadada;
	background: linear-gradient(to top, #fff, #dadada);
	background: -webkit-linear-gradient(top, #fff, #dadada);
	background: -moz-linear-gradient(top, #dedcdc, #dadada);
	box-shadow: none;
}
button:active, input[type=submit]:active, input[type=reset]:active, input[type=button]:active {
	color: black;
	background: #dadada;
	background: linear-gradient(to bottom, #dedcdc, #dadada);
	background: -webkit-linear-gradient(bottom, #dedcdc, #dadada);
	background: -moz-linear-gradient(bottom, #dedcdc, #dadada);
}
input[type=text], input[type=file], input[type=password], .input-select, .txtBox, .dropDownList {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	display: inline-block;
	padding: .2em .2em .3em .2em;
	margin: .2em .2em .2em 0;
	border-radius: .3em;
	background-color: #7c7e7f;
	color: black;
	background: #dadada;
	background: linear-gradient(to top, #fff, #dadada);
	background: -webkit-linear-gradient(top, #fff, #dadada);
	background: -moz-linear-gradient(top, #dedcdc, #dadada);
	box-shadow: none;
}
input[type=text], input[type=file], input[type=password], .input-select, .txtBox {
    padding: .2em .2em .3em .4em;
}
select, .input-select {
	line-height: inherit;
	padding: .1em 0 .1em .1em;
	margin: .2em .2em .2em 0;
	background: #dadada;
}
input[type=checkbox], input[type=radio] {
	border: none;
}
textarea {
   font-family: "le-havre-rounded", Calibri, Arial, Lucida Grande, sans-serif;
   font-size: 1.1em;
}

table {
	border: none;
	border-spacing: 0;
}
	th {
		border: none;
		padding: 0;
	}
	td {
		text-align: left;
		vertical-align: top;
		padding: 0;
		border: none;
	}


/* default table */
.tblDefault {
	width: 100%;
}
.tblDefault td,
.tblDefault th {
	padding: .3em 1.5em .3em 0;
	vertical-align: middle;
}
.tblDefault > tbody > tr > td > div {
	padding: .2em .5em .5em .5em;
}

.tblDefault100 {
	width: 100%;
	border-collapse: collapse;
}
.tblDefault100 td,
.tblDefault100 th {
	padding: 0 0 0 0;
	margin: 0;
}

/* container taulukko ilman 100 prosentin leveyttä */
.tblContainer {
	margin-bottom: .5em;
}
.tblContainer td {
	/* tune: taulukone solujen välistys */
	padding: .25em 1.4em .25em 0;
}
.tblContainer th {
	padding: .45em 1.4em .45em 0;
	text-align: left;
}

/* inner taulukko ilman 100 prosentin leveyttä  */
.tblInner, .tblInner100 {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
}
.tblInner > tbody > tr > td, 
.tblInner100 > tbody > tr > td {
	padding: 0;
	vertical-align: middle;
	padding-right: .4em;
}
.tblInner > tbody > tr > th 
.tblInner100 > tbody > tr > th {
	padding: 0;
	vertical-align: middle;
	padding-right: .4em;
}
.tblInner100 {
	width: 100%;
}

.tblSlim {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
}
.tblSlim > tbody > tr > td {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
	vertical-align: middle;
}
.tblSlim > tbody > tr > th {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
}

.tblCentered {
	text-align: center;
	margin-left: auto;
	margin-right: auto;	
}
.tblCentered td {
    text-align: center;    
}

.tblSystemMessage td {
	text-align: center;	
}

.tblSystemMessageLogin {
}

.tblLogoHeader {
    padding: 0;
    margin: 0;
}
.tblLogoHeader td {
    padding-top: .3em;
    padding-right: .2em;
}

/* table rows */
.trHeader > td{
}

/* TABLE CELL */

.tdFirstFormColumn {
	width: 20%;
}

.tdNewUserCaption {
    width: 150px;
}
.tdDefault {}

/* basic elements */
.pnlContent  > div > table {
	/*border-spacing: 1em;*/
}

/*
.pnlContent > div > table > tbody > tr > td {
	border: 1px solid #ccc;
	background: white;
}

.pnlContent  > table > tbody > tr > td > div {
	padding: 1em;
}
*/

/* header and footer */
.pnlHeader, .pnlFooter {
	/*background: #3a581b top left repeat-x;*/
	background: inherit top left repeat-x;
	color: white;
	overflow: visible;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
}
.pnlHeader a, .pnlFooter a {
	color: white;
}
.pnlHeader {
  /*box-shadow: 0px -1px 5px 3px rgba(0,0,0,.7);*/
  /*border: solid 1px yellow;*/
}
.pnlFooter {
	padding: .3em;
	top: auto;
	bottom: 0;
	left: 0;
}
.pnlContent {
	padding-top: 2em;
	padding-left: 11.8em;
}
.pnlUpperBeam 
{
	display: block;
	background: url(Images/upperbeam.png) top center no-repeat;
	height: 30px;
	/*border: solid 1px red;*/
	padding: .3em 0 0 0;
	margin: 0;
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
}

/* panels */

/* default dialog */
.pnlDefaultDialog {
  border: 1px solid #616161;
  background: #fefefe;
  padding: .5em;
  border-radius: .5em;
  /*box-shadow: 0px 3px 5px #444;*/
}

.pnlCalendarHidden {
	display: none;
	visibility: hidden;
}

.pnlTutorialHidden {
	display: none;
	visibility: hidden;
}

/* progress panel */
.pnlProgress, .pnlProgressFB {
    position: absolute;
	background: #F2EA6B;
	/*box-shadow: 5px 5px 2px #888888;*/
	border: 0px solid #000;
	border-radius: .5em;
	padding: .5em;
	width: 150px;
	font-weight: bold;
}
.pnlProgressFB {
    display: block;
    top: 60px;
}
.pnlFBLogin {
    display: none;
}

.pnlSystemMessageLogin, .pnlSystemMessageLoginError, .pnlSystemMessageLoginErrorSignUp {
    display: block;
    position: absolute;
    font-weight: normal;
    top: 110px;
    background: #00CC00;
    /*box-shadow: 5px 5px 2px #888888;*/
	border: 0px solid #000;
	border-radius: .5em;
	-moz-border-radius: .5em;
	padding: .5em;
	width: 145px;
	visibility: visible;
	z-index: 99;
}
.pnlSystemMessageLoginError, .pnlSystemMessageLoginErrorSignUp {
    background: #FF0033;
}
.pnlSystemMessageLoginHidden {
    /*display: none;*/
    visibility: hidden;
}
.pnlSystemMessageLoginErrorSignUp {
    top: 450px;
}

/*  labels */
.labelBold {
	font-weight: bold;
}

.labelUnit {
    font-size: 0.8em;
}

.labelAlert {
	font-style: oblique;
	color: #FF0000;
}

.header {
	font-size: 1.5em;
	font-weight: bold;
}

/* special links */
.link:link, .link {
	text-decoration: underline;
	color: #000000;
}
.link:visited {
}
.link:active {
}
.link:hover {
	text-decoration: none; 
}

/*  Images */
.imgBeta {
    position: absolute;
}

.imgIconPlaced {
	cursor: pointer;
	margin-top: 4px;
	margin-left: 4px;
}

/* MIXED */
.noLink {
	cursor: default;
}
.noLink:link {
	color: #000000;
	text-decoration: none;
}
.noLink:visited {
	color: #000000;
}
.noLink:active {
	color: #000000;
}
.noLink:hover {
	color: #000000;
	text-decoration: none;
}

/* TABLE CELL */
.tdCenter {
	text-align: center !Important;
}

.tdTop {
	vertical-align: top !Important;
}

.tdMiddle {
	vertical-align: middle !Important;
}

.td20 {
	width: 20%;
}

.td40 {
	width: 40%;
}

.td80 {
	width: 80%;
}

.tdLoginRow {
    padding-bottom: 1em !Important;    
}

.tdPaddingRight {
	padding-right: .5em !Important;
}

.tdNoWrap {
    white-space: nowrap;    
}

.tdPaddingBottom10px {
	padding-bottom: 10px !Important;
}

/* ASP.NET Calendar Control Styles */

.pnlCalendarPopUp {
	position: absolute; 
	left: -2000px;
	top: -2000px;
	background-color : #FFFFFF;
	border: solid 1px #000000;
	z-index: 9999;
	-moz-border-radius: 10px;
	border-radius: 15px;
	visibility: hidden;
}

.tblCalendar {}
.tblCalendar > tbody > tr > td {
	text-align: center;
	padding: .5em 0 .5em 0;
	margin: 0;
}

.tblCalendarControl {
	/* tune: kelluvan kalenterin leveys */
	width: 250px;
}
.tblCalendarControl > tbody > tr > td {
	text-align: center;	
	padding: .2em;
	margin: 0;
}
.tblCalendarControl > tbody > tr > th {
	text-align: center;	
	padding: .2em;
	margin: 0;
}

.aspnetCalendar,
.aspnetCalendarToday,
.aspnetCalendarSelected {
	text-align: center;
	padding: .2em;
	margin: 0;
}
.aspnetCalendar > tbody > tr > td,
.aspnetCalendarToday > tbody > tr > td,
.aspnetCalendarSelected > tbody > tr > td {
	text-align: center;
	padding: .2em;
}

.aspnetCalendarSelected,
.aspnetCalendarSelected > a {
	background-color: #374A70 !Important;	
}

.aspnetCalendarToday,
.aspnetCalendarToday > a {
	background-color: #F2EA6B !Important;	
}

.buttonCalendar {
	border: none;
	border-top: 1px solid #fff;
	display: inline-block;
	padding: .1em .6em;
	margin: .2em .2em .2em 0;
	line-height: 1.1;
}

/* Ajax control toolkit calendar */
.tfPopUpCalendar .ajax__calendar_container {
    width: 220px;
    background-color: #FFF;
    font-size: 12px;
    border: solid 1px gray;
    padding: 4px 0 0 0;
}

.tfPopUpCalendar .ajax__calendar_days {
    font-size: 14px;
    margin: 0;
}

.tfPopUpCalendar .ajax__calendar_body,
.tfPopUpCalendar .ajax__calendar_days,
.tfPopUpCalendar .ajax__calendar_months,
.tfPopUpCalendar .ajax__calendar_years {
    width: 220px !Important;
}

.tfPopUpCalendar .ajax__calendar_other {
    padding: 2px;    
}

.tfPopUpCalendar .ajax__calendar_today {
    background-color: #F2EA6B;
}

.ajax__calendar_footer {
    height: 20px !Important;
}

.tfPopUpCalendar .ajax__calendar_active {
    background-color: #374A70;
    color: White;
}