/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

body, 
table {
	font-family: Arial, Helvetica, sans-serif;	
}
body {
	margin: 0px;
	color: #666666;
	background-color: #145329;
	font-size: 0.8em;
}

.date-reservation-num {
    width: 40px;
} 
        
table {
	margin: 7px 0;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	text-align: center;
	font-size: 1.5em;
	margin: 0 10px 10px;
}
h2 {
	font-size: 1.3em;
	margin: 0.2em 0 0.7em;
}
h3 {
	font-size: 1.2em;
}
a {
	color: #69a341;
}
sup {
	font-size: 0.7em;
	vertical-align: top;
}
strong {
	font-weight: bold;
}
ul {
	list-style: none;
}
td, 
th {
	padding: 4px 5px;
}
th {
	font-weight: bold;
}
td {
	vertical-align: top;
}
label {
	display: inline-block;
	text-align: right;
    font-weight: bold;
}
blockquote {
	margin: 1em 1.8em;
}
fieldset {
	display: inline-block;
}
table.clean,
table.clean td,
table.clean th {
	border: 0;
	border-collapse: collapse;
}
.simpletable td {
	padding: 4px 5px 4px 0;
}
.vertical-middle tr > * {
	vertical-align: middle;
}

.green-head {
	margin: 0;
	background-color: #145329;
	color: white;
	font-size: 14px;
	font-weight: normal;
	min-height: 30px;
	line-height: 30px;
	padding-left: 10px;
	letter-spacing: 1px;
}

.graybox {
	background-color: #F3F4F6;
	border: 1px solid #DEE0E4;
	margin-bottom: 15px;
	min-width: 190px;
}

.content-wrapper > * {
	width: 1125px;
	margin: 0 auto;
}

.header-bar {
	color: #666666;
	background-color: #FFFFFF;
	padding-bottom: 10px;
}
#main,
#body,
#canvas {
	border-collapse: collapse;
	display: table;
}
#main > div,
#body > div,
#canvas > div {
	display: inline-block;
	vertical-align: top;
}
#column-content,
#footernavi .menu {
	width: 978px;
}
#column-content {
	padding-top: 0;
}
#column-banners {
}
.banners-wrapper > div {
	margin-bottom: 10px;
}

#top-strip {
	width: 978px;
	height: 95px;
	background-position: bottom;
	background-repeat: no-repeat;
	text-align: right;
}

.details-wrapper,
.login-form-wrapper {
	float: right;
}
.details-wrapper {
	margin-top: 12px;
}
.login-form-wrapper {
	margin-top: 45px;
}

.login-table {
	border: 0;
}
	.login-table td {
		border: 0;
		padding: 0 4px;
		vertical-align: middle;
		font-size: 1em;
	}
	.login-table p {
		height: 16px;
		display: block;
		line-height: 16px;
		margin: 0;
	}

#playerinfo-table {
	font-size: 0.9em;
	margin: 0;
	background-color: #F3F4F6;
}
	#playerinfo-table table {
		margin: 0;
	}
	#playerinfo-table h2 {
		margin: 0;
	}
	#playerinfo-table td {
		width: 185px;
		padding: 6px;
		border-left: 1px solid #DEE0E4;
	}
	#playerinfo-table td:first-child {
		border-left: 0;
	}
	#playerinfo-table td > * {
		padding: 2px;
	}
	#playerinfo-table .player-details tr > * {
		margin: 0;
		border: 0;
		padding: 3px 10px 2px 2px;
		white-space: nowrap;
		width: auto;
	}
	#playerinfo-table .player-details th {
		text-align: left;
		width: 100%;
	}

.navi-bar {
	background-color: #222221;
	height: 43px;
	line-height: 43px;
	white-space: nowrap;
	clear: right;
}
	.navi-bar a {
		color: #FFFFFF;
		text-transform: uppercase;
		text-decoration: none;
		margin-right: 12px;
		font-size: 12px;
	}
	.navi-bar a.selected {
		color: #69a341;
	}
	
#navi {
	padding-left: 26px;
}

#canvas {
	width: 100%;
	margin: 0;
	padding: 5px;
	background-color: #FFFFFF;
}
#payload {
	padding: 10px;
}

#body {
	width: 100%;
}

#leftbar {
	width: 190px;
	padding: 10px 0 10px 10px;
}
#rightbar {
	width: 190px;
	padding: 10px 10px 10px 0;
}
	#rightbar h2 a {
		color: white;
		text-decoration: none;
	}
	
#midbar {
/*	width: 100%; */
/*	min-width: 510px; */
	width: 510px;
	overflow: hidden;
	padding: 0 20px;
}
	#midbar p {
		line-height: 1.5em;
		max-width: 510px;
	}
	#midbar h1,
	#midbar h2,
	#midbar h3
	{
		color: #69a341;
		text-align:left;
	}
	#midbar h2 {
		font-size: 1.2em;
	}
	#midbar ul {
		list-style: disc;
	}
	#midbar li {
		margin: 3px 1.5em;
	}
	#midbar li p {
		margin: 0.3em;
	}
	#midbar ul.tight {
		margin: 0.3em 0 1.2em;
	}
	#midbar ul.tight li {
		margin: 0 1.5em;
	}

	.admin-page #midbar {
		width: auto;
	}

#langselect li {
	margin: 8px 0;
}

.content-body p {
	margin: 0.3em 0 1.3em;
}

.footer-wrapper {
	width: 978px;
	font-size: 0.7em;
}
#footer {
	clear: left;
	color: #666666;
	background-color: #FFFFFF;
	padding: 15px 10px;
	font-size: 1.2em;
	text-align: center;
}

.footernavi-bar {
	height: 43px;
	line-height: 43px;
	text-align: center;
}
	.footernavi-bar a {
		color: #b5b4b4;
		text-decoration: none;
		margin-right: 12px;
	}
	
#receipt {
	max-width: 500px;
	background-color: white;
	padding: 5px;
}
	#receipt td {
		height: initial;
	}

#display-address {
	display: none;
}
#display-address-formatted {
	padding: 5px 0;
}
#display-address-map,
#display-address-map-wrapper {
	width: 215px;
	height: 125px;
	background-position: center;
	background-repeat: no-repeat;
}
#display-address-map-wrapper {
	background-image: url(/images/loading.gif);
}

#currentmembers .total {
	font-weight: bold;
	min-width: 25px;
	display: inline-block;
	text-align: right;
}

.golfcourses {
	margin: 10px 10px 0;
}
	.golfcourses li {
		padding: 2px 0;
	}
	.golfcourses a {
		font-size: 0.9em;
		text-decoration: none;
		color: #666666;
	}
	.golfcourses .last {
		margin-top: 1em;
	}
	.upload {
		padding: 5px;
	}
	.upload div {
		max-width: 500px;
	}
	.upload div.choose-image {
		margin-bottom: 10px;
	}
	.upload input[type=text] {
		width:250px;
	}
	.upload textarea {
		height: 100px;
		width: 200px;
	}
	.upload input.error, .upload textarea.error {
		border-color: red;
	}
	.upload .explanation {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	#upload-progress, #upload-done, #upload-error {
		text-align: center;
	}
	.ui-progressbar {
		position: relative;
	}
	#progressbar-label {
		position: absolute;
		left: 46%;
		top: 4px;
		font-weight: bold;
		text-shadow: 1px 1px 0 #fff;
	}
	.ad-nav {
		height: 120px;
	}
	#gallery-window {
		padding: 5px 25px;
	}
	#gallery-window .ad-gallery .ad-forward, #gallery-window .ad-gallery .ad-back {
		background-position: 0px 40px;
	}
	#ad-mode-btn .mode-btn-img {
		vertical-align: middle;
	}
	.ad-gallery .ad-gallery-description {
		min-height:30px;
		margin-bottom: 5px;
	}

.merchants {
	margin: 10px 10px 0;
}
	.merchants li {
		padding: 2px 0;
	}
	.merchants a {
		font-size: 0.9em;
		text-decoration: none;
		color: #666666;
	}
	.merchants .last {
		margin-top: 1em;
	}
	
.package-box {
	border: 2px solid #DEE0E4;
	width: 100%;
	margin: 9px 0;
	font-size: 1.2em;
}
	.package-box td {
		border: 0;
		min-width: 110px;
	}
	.package-box p {
		margin: 0.3em 0 0 !important;
		max-width: 300px !important;
	}
	
.two-col-form {
	margin: 5px 0 25px;
}
	.two-col-form table,
	.two-col-form td,
	.two-col-form th,
	.two-col-form span {
		border: 0;
		border-collapse: collapse;
	}
	.two-col-form caption {
		border-bottom: 1px solid #CCC;
		padding: 5px 0;
		text-align: left;
		font-size: 1em;
		background-color: #145329;
		color: white;
		padding: 5px;
	}
	.two-col-form table {
		width: 100%;
		border: 1px solid #dee0e4;
		background-color: #f3f4f6;
	}
	.two-col-form th {
		width: 130px;
		text-align: right;
	}
	.two-col-form td {
		height: 30px;
	}
	.two-col-form tr.separated > * {
		padding-top: 2em;
		border-top: 1px solid #CCC;
	}

.three-col-form {
	margin: 5px 0 25px 0;
}
	.three-col-form table {
		width: 100%;
		border: 1px solid #dee0e4;
		background-color: #f3f4f6;
	}	
	.three-col-form caption {
		border-bottom: 1px solid #CCC;
		text-align: left;
		font-size: 1em;
		background-color: #145329;
		color: white;
		padding: 5px;
	}
	.three-col-form td {
		width: 160px;
		text-align: justify;
		padding-right: 15px;
	}	
	
.result {
	display: inline-block;
}

.loading {
	float: right;
}

.loading-form {
	display: none;
	vertical-align: middle;
	height: 30px;
}
	.loading-form > * {
		vertical-align: middle;
	}

.odd {
	background-color: #dddddd;
}
.error {
	color: red;
}
.messages {
	padding: 10px 15px;
	border: 1px solid #CCC;
	margin-bottom: 15px;
	background-color: #f3f4f6;
}
	.messages p {
		font-weight: bold;
		padding: 5px 0;
	}
	.messages .notify {
		
	}
	.messages .error {
		color: #C00;
		font-weight: bold;
	}
	.messages .warning {
		color: #A93;
		font-weight: bold;
	}
	.messages .okay {
		color: #0A0;
		font-weight: bold;
	}
	
[readonly] {
	background-color: #CCC;
}

hr.widegray {
	border: 1px solid #D6D5D7;
}

.cols2 td {
	width: 50%;
}

.pricetag {
	margin: 5px 0;
	display: inline-block;
	font-size: 1.2em;
}

.add-to-basket-bar {
	background-color: #69A341;
	height: 24px;
	line-height: 24px;
	color: white;
	padding: 7px 10px;
}

.items-list th {
	text-align: left;
}
.items-list td {
	padding: 6px;
	vertical-align: middle;
	border-top: 1px solid #aaa !important;
}
.pay-button {
	margin: 10px 0;
	display: inline-block;
	font-size: 1.2em;
}

/* Extra columns */

.sidebar-items .item {
	margin: 10px 15px;
	width: 160px;
}
	.sidebar-items .item .desc {
		margin-bottom: 5px;
	}
	.sidebar-items .item .desc:first-line {
		font-weight: bold;
	}
	.sidebar-items .item .date {
		font-size: 12px;
		margin-top: 4px;
	}
	.sidebar-items .item .link {
		float: right;
		margin-top: 4px;
	}
	.sidebar-items td {
		padding: 3px 0;
	}

.pricetable {
	border: 1px solid #bbb;
	margin: 15px 0 30px;
	padding: 10px;
}
	.pricetable table {
		width: 100%;
	}
	.pricetable caption {
		padding: 0 0 10px;
		float: left;
		font-size: 1.3em;
		font-weight: bold;
	}
	.pricetable th {
		text-align: right;
	}
	.pricetable .grandtotal > * {
		font-size: 1.5em;
		border-top: 1px solid #BBB;
	}

table.gridtable td {
	border: 1px solid #888;
}

.paymentslider-wrapper {
	margin: 0 0 1.5em;
}
	.paymentslider-wrapper .form {
		padding: 0.5em;
		border: 1px solid #aaa;
		display: none;
	}

	.sliderbar {
		margin: 10px;
	}


/* Accounts */

#accounts {
	text-align: right;
}

.receipts tr > * {
	border-bottom: 1px solid #BBB;
	vertical-align: middle;
}

#pager {
	padding: 5px 0;
}
	#pager > .button {
		line-height: 0.8em;
	 	margin-left: 0.8em;
	}

/* CSS3 enhancements */



.green-rounded-button {
    display: inline-block;
    padding: 3px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;    
    
    background-color: #005825;
    border-color: #005825;    
    color: white;
    text-decoration: none;
        /*
	text-decoration: none;
	font-weight: bold;
	color: white;
	padding: 3px 10px;
	border-radius: 9px; 
	-moz-border-radius: 9px; 
	-webkit-border-radius: 9px; 
	border: 1px solid #666666;
	background: rgb(105,163,65); /* Old browsers */
	/*background: -moz-linear-gradient(top,  rgba(105,163,65,1) 0%, rgba(236,255,226,1) 10%, rgba(105,163,65,1) 18%, rgba(105,163,65,1) 85%, rgba(71,111,44,1) 100%); /* FF3.6+ */
	/*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(105,163,65,1)), color-stop(10%,rgba(236,255,226,1)), color-stop(18%,rgba(105,163,65,1)), color-stop(85%,rgba(105,163,65,1)), color-stop(100%,rgba(71,111,44,1))); /* Chrome,Safari4+ */
	/*background: -webkit-linear-gradient(top,  rgba(105,163,65,1) 0%,rgba(236,255,226,1) 10%,rgba(105,163,65,1) 18%,rgba(105,163,65,1) 85%,rgba(71,111,44,1) 100%); /* Chrome10+,Safari5.1+ */
	/*background: -o-linear-gradient(top,  rgba(105,163,65,1) 0%,rgba(236,255,226,1) 10%,rgba(105,163,65,1) 18%,rgba(105,163,65,1) 85%,rgba(71,111,44,1) 100%); /* Opera 11.10+ */
	/*background: -ms-linear-gradient(top,  rgba(105,163,65,1) 0%,rgba(236,255,226,1) 10%,rgba(105,163,65,1) 18%,rgba(105,163,65,1) 85%,rgba(71,111,44,1) 100%); /* IE10+ */
	/*background: linear-gradient(to bottom,  rgba(105,163,65,1) 0%,rgba(236,255,226,1) 10%,rgba(105,163,65,1) 18%,rgba(105,163,65,1) 85%,rgba(71,111,44,1) 100%); /* W3C */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#69a341', endColorstr='#476f2c',GradientType=0 ); /* IE6-9 */
	/*white-space: nowrap;
        */
}

.green-rounded-button:hover,
.green-rounded-button:focus {
    background-color: #088A08;
    border-color: #088A08;
}

.dartkyellow-rounded-button {
    display: inline-block;
    padding: 3px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;    
    
    background-color: #fff;
    border-color: #fff;    
    color: #005825;
    text-decoration: none;
}

.dartkyellow-rounded-button:hover,
.dartkyellow-rounded-button:focus {
    background-color: #69a341;
    border-color: #D4AC0D;
}

.dropshadow-light {
	-webkit-box-shadow: 0px 4px 10px 0px #AAA;
	box-shadow: 0px 4px 10px 0px #AAA;
}
.dropshadow-dark {
	-webkit-box-shadow: 0px 4px 10px 0px #21281C;
	box-shadow: 0px 4px 10px 0px #21281C;
}

.number {
	text-align: right;
	white-space: nowrap;
}
.dimtext {
	opacity: 0.5;
}

/* Sprite */

.sprite {
	margin: 0;
	padding: 0;
	background-image: url(/images/sg-sprite2.png);
	display: inline-block;
	vertical-align: middle;
	text-indent: -9999px;
}
.sprite.flag			{ background-position: 0 0; width: 40px; height: 55px; }
.sprite.silvercoin { 
	background-position: -100px 0;
	width: 65px;
	height: 70px;
	margin-right: 5px;
	text-indent: -1000px;
	color: #145329;
	font-size: 34px;
	font-weight: bold;
	text-align: center;
	line-height: 65px;
}
.sprite.silvercoin.c5  { background-position: -400px 0; }
.sprite.silvercoin.c10  { background-position: -500px 0; }
.sprite.silvercoin.c20  { background-position: -600px 0; }
.sprite.silvercoin.c30  { background-position: -700px 0; }
.sprite.silvercoin.c40  { background-position: -800px 0; }
.sprite.silvercoin.c50  { background-position: -900px 0; }

.sprite.lang { width: 27px; height: 20px; }
.sprite.lang.fi { background-position: -300px -100px; }
.sprite.lang.sv { background-position: -350px -100px; }
.sprite.lang.en { background-position: -400px -100px; }

.sprite.giftcard		{ background-position: -300px 0; width: 90px; height: 90px; }

.sprite.basket			{ background-position: 0 -150px; width: 30px; height: 30px; }
.sprite.facebook		{ background-position: -51px -151px; width: 37px; height: 37px; margin: 10px;}

.sprite.verkkopankit	{ background-position: 0 -300px; width: 690px; height: 50px; }
.sprite.liikuntasetelit	{ background-position: -690px -300px; width: 270px; height: 50px; }

.silvercoin-large { 
	margin: 0;
	margin-top: 10px;
	padding: 0;
	background-image: url(/images/gamerightpack.png);
	display: inline-block;
	vertical-align: middle;
	width: 215px;
	height: 140px;
	text-indent: -20px;
	color: #145329;
	font-size: 34px;
	font-weight: bold;
	text-align: center;
	line-height: 85px;
}


/* Popups */
.popup {
}
	.popup .options {
		text-align: right;
		margin-top: 15px;
		border-top: 1px solid #AAA;
		padding-top: 15px;
	}

/* jQuery UI */
.ui-tooltip,
.ui-dialog {
}
.button {
	font-size: 1em;
}

/* Icons */
.icon {
	background-image: url(/images/icons3.png);
	background-repeat: no-repeat;
	background-color: transparent;
	width: 26px;
	height: 26px;
	display: inline-block;
	vertical-align: middle;
}
.icon.notify	{ background-position: 0 -75px; }
.icon.add		{ background-position: 0px 0px }
.icon.warning	{ background-position: -36px 0px }
.icon.okay		{ background-position: -110px -37px }
.icon.error		{ background-position: 0px -108px }
.icon.edit		{ background-position: -107px -144px }
.icon.delete	{ background-position: 0px -108px; text-indent: -1000px; }
.icon.printer	{ background-position: -144px -72px }

.removeborder {
	border: 0px;
}

/* Infobox */
.infobox-wrapper {
    display:none;
}
#infobox {
    border:2px solid #005825;
    margin-bottom: 16px;
    background: #f3f4f6;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    min-height: 120px;
    padding: .5em 1em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0  8px #000;
    box-shadow: 0 0 8px #000;
}

.pay-button {
	cursor: pointer;
}

#eveninggames-list th {
	text-align: left;
}
#eveninggames-list select {
	min-width: 110px;
}
#eveninggames-list tr > * {
	border-bottom: 1px solid #BBB;
	line-height: 30px;
}

.sevendays td {
	width: 100%;
}
.sevendays th {
	padding: 0;
	text-align: center;
	vertical-align: bottom;
}
.sevendays td {
	height: inherit;
	text-align: center;
	overflow: hidden;
	vertical-align: middle;
}
.sevendays td.title {
	width: 100%;
	min-width: 100px;
	text-align: left;
}
.sevendays td.slot {
	box-shadow: 0px 4px 10px 0px rgb(170, 170, 170);
	font-weight: bold;
	padding: 0;
}
.sevendays td.slot span {
	width: 42px;
	display: inline-block;
}
.sevendays td.slot.free {
	background-color: #6A6;
	color: #DDD;
}
.sevendays td.slot.some  {
	background-color: #FF6;
}
.sevendays td.slot.full  {
	background-color: #D88;
	color: #fff;
}
.sevendays td.slot.closed  {
	background-color: #D88;
	color: #fff;
}

.cancelwatch-addtable {
	border: 1px solid #aaa;
	width: 100%;
}
	.cancelwatch-addtable caption {
		font-weight: bold;
	}
	.cancelwatch-addtable tr td:first-child {
		text-align: right;
	}
	.cancelwatch-addtable td {
		vertical-align: middle;
	}
	.cancelwatch-addtable-input {
		border-width: 2px;
		border-color: initial;
	}
	.cancelwatch-addtable-input.error {
		border-color: #F00;
	}
	
#buyrightsform-row td {
	white-space: nowrap;
	vertical-align: middle;
}

.bongari.two-col-form td {
	height: initial;
}

.playerselection {
	border: solid 1px #eee;
}
.playerselection:hover {
	cursor: pointer;
}

thead td {
	background-color: #145329;
	color: white;
}
.col-players {
	border-left: 1px solid #BBB;
	background-color: #F5F5F5;
}

#home_reservationtable {
    width: 510px;
}

#home_reservationtable,
.home_chooseplayers {
	border: 1px solid #BBB;
}
td.divider {
	border-top: 1px solid #BBB;
	border-bottom: 1px solid #BBB;
}

.home_chooseplayers {
	width: 100%;
	border-collapse: collapse;
}
	.home_chooseplayers p {
		margin: 0;
	}
	.home_chooseplayers .date {
		vertical-align: top;
	}
	.home_chooseplayers td {
		vertical-align: middle;
	}
	.home_chooseplayers table {
		margin: 0;
	}
	.home_chooseplayers table td {
		height: 35px;
		white-space: nowrap;
	}       