/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display: block;}
audio,canvas,video {display: inline-block;*display: inline;*zoom: 1;}
audio:not([controls]) {display: none;}
html {font-size: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;}
a:focus {outline: thin dotted #333;outline: 5px auto -webkit-focus-ring-color;outline-offset: -2px;}
a:hover,
a:active {outline: 0;}
sub,sup {position: relative;font-size: 75%;line-height: 0;vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
img {max-width: 100%;width: auto \9;height: auto;vertical-align: middle;border: 0;-ms-interpolation-mode: bicubic;}
#map_canvas img,.google-maps img,.gm-style img {max-width: none;}
button,input,select,textarea {margin: 0;font-size: 100%;vertical-align: middle;}
button,input {*overflow: visible;line-height: normal;}
button::-moz-focus-inner,input::-moz-focus-inner {padding: 0;border: 0;}
button,html input[type="button"],input[type="reset"],input[type="submit"] {-webkit-appearance: button;cursor: pointer;}
label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"] {cursor: pointer;}
input[type="search"] {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;-webkit-appearance: textfield;}
input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button {-webkit-appearance: none;}
textarea {overflow: auto;vertical-align: top;}

/* slightly enhanced, universal clearfix hack */
.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

@media print {
	* {text-shadow: none !important;color: #000 !important;background: transparent !important;box-shadow: none !important;}
	a,a:visited {text-decoration: underline;}
	a[href]:after {content: " (" attr(href) ")";}
	abbr[title]:after {content: " (" attr(title) ")";}
	.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after {content: "";}
	pre,blockquote {border: 1px solid #999;page-break-inside: avoid;}
	thead {display: table-header-group;}
	tr,img {page-break-inside: avoid;}
	img {max-width: 100% !important;}
	@page {margin: 0.5cm;}
	p,h2,h3 {orphans: 3;widows: 3;}
	h2,h3 {page-break-after: avoid;}
}


/* WebGarden Template *******************************************************************************************************/

html { 
}

body {
	text-align: center;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 22px;
	color: #333;
	background: none;
	background: #000000 url(../images/background.jpg) 50% 0 no-repeat;
	background-attachment: fixed;
}
	
	.jce-editor { background: #fff !important; text-align: left !important; height: 100%; }
		
		p {
			padding: 7px 0;
		}
		
		strong { font-weight: 700 !important; }
		
		h1,h2,h3,h4,h5,h6 {
			font-family: Merriweather;
			font-weight: 700;
			font-style: italic;
			padding: 14px 0 8px 0;
			line-height: 1.3em;
			color: inherit;
			text-rendering: optimizelegibility;
			color: #2a2a2a;
		}
		
.responsiveMenuTheme1 {
  			font-family: Merriweather !important;
			font-weight: 700 !important;
			font-style: italic !important;
}


		h1,
		h2.componentheading { font-size: 30px !important;}
		
		h2 { font-size: 24px; }
		
		h3 { font-size: 21px; }
		
		h4 { font-size: 18px; }	
		
		a {
			color: #1b8dd6;
			text-decoration: none;
		}
		
		a:hover,
		a:focus {
			text-decoration: underline;
		}
		
		.container,
		.navbar-static-top .container,
		.navbar-fixed-top .container,
		.navbar-fixed-bottom .container {
			width: 940px;
		}
		
		.container:after {
			clear: both;
		}
		
		ul,ol {
			padding: 0;
			margin: 0 0 9px 25px;
		}
		
			li {
				line-height: 18px;
			}

	.pull-right {
		float: right; display: block;
	}
	.pull-left {
		float: left; display: block; 
	}
	
	.foxcontainer { padding: 0 !important; }
	
	.responsive-container {
		position: relative;
		padding-bottom: 54.1%;
		padding-top: 2.2%;
		height: 0;
		overflow: hidden;
	}
		
		.responsive-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
		
	#player, .fallback, iframe { background: #fff !important; }
	
	.pagination { text-align: center; width: 100%; } 
	
	.pagination ul { list-style: none; margin: 0 auto; }
	
		.pagination li { display: table-cell; float: left; padding: 5px !important; }
		
			.pagenav { background-color: #ededed; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; display: block; padding: 3px 6px; } 
	
	.taulukko td { padding: 4px 6px; }
	
		.taulukko tr.kotiottelu,
		.taulukko tr.taustalla { background-color: #E1E1E1; border-bottom: 1px dashed #fff; }
		
	.pelaajakuva { float: right; padding: 0 0 20px 20px; }
	
	dt.article-info-term { display: none; }
	
	/* User */
	
	.login-description,
	.form-validate legend { padding: 12px 0; }
	
	.controls input { padding: 5px 7px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border: 1px solid #c0c0c0; }
	
	.control-group { padding: 3px 0; }
	
	.form-actions { padding: 8px 0; }
	
	.muistaminut .control-label,
	.muistaminut .controls { float: left; padding: 3px 5px 0 0; }
		
	#jform_spacer-lbl { font-style: italic; color: #A0A0A0; padding-bottom: 6px; }
	
	/* Edit */
	
	ul.dropdown-menu { list-style-type: none !important; }
	
	/* Pelaaja */
	
	.pelaaja { width: 40%; margin: 5%; float: left; }
	
		.pelaaja img { clear: both; }
		
	/* Blogi */
	
	.items-leading,
	.items-row .item { border-bottom: 1px dashed #8b8b8b; padding-bottom: 15px; margin-bottom: 10px; }
	
		dl.article-info { width: 100%; border-radius: 3px; background-color: #EDEDED; }
	
			.icon-calendar { width: 14px; height: 14px; background: url(../images/clock.png) 0 0 no-repeat; display: block; float: left; margin: 5px;}
			
	/* Poll */
	
	.polling_container_wrapper { margin: 0 !important; }
	
		.add_answer { display: none; }
			
/* WebGarden Template *******************************************************************************************************/
	
	#logo { position: absolute; top: 12px; left: 50%; margin-left: -590px; z-index: 99999; }
	
	.containerOuter { width: 100%; background: url(../images/topLine.png) 0 60px repeat-x; }
		
		.container { width: 1230px; margin: 0 auto; text-align: left; }
		
			#header { width: 1200px; padding: 0 10px; height: 42px; margin-top: 7px; text-align: right; }
		
			#menu { width: 990px; height: 54px; z-index: 200; padding-left: 222px; margin: 21px 0 5px 0; }
			
			#headerMobile { width: 100%; padding: 40px 0 15px 0; height: 42px; margin: 0; text-align: center; display: none; }
					
			.threeFifths { width: 712px; float: left; margin: 10px; }

				#imageSlideshow { width: 100%; height: 415px; text-align: center; z-index: 100; }
						
					ul.camera_pag_ul {
						display: inline-block !important;
						/* For IE, the outcast */
						zoom:1 !important;
						*display: inline !important;
					}
					
						ul.camera_pag_ul li {
							float: left !important;
							text-align: center !important;
						}
						
						.camera_caption { width: 100% !important; margin: 0 !important; padding: 0 !important; bottom: 0; }
						
							.camera_caption_title {  
								background: url(../images/otsikkoBack.jpg) 0 0 repeat;
								font-family: PancettaSerifPro-BoldItalic;
								font-weight: normal;
								font-style: normal;
								padding: 15px 0 3px 20px;
								font-size: 28px;
								line-height: 28px;
								color: inherit;
								text-rendering: optimizelegibility;
								color: #fff;
							}
							
							.camera_caption_desc {  
								background: url(../images/otsikkoBack.jpg) 0 0 repeat;
								font-family: 'Open Sans', Helvetica, Arial, sans-serif;
								font-weight: 400;
								font-size: 13px;
								line-height: 13px;
								padding: 0 0 14px 22px;
							}
		
				#main {
					width: 672px; 
					padding: 10px 20px; 
					background-color: #fff; 
					border-top: 6px solid #201b17; 
					border-radius: 3px; 
					-moz-border-radius: 3px; 
					-webkit-border-radius: 3px;
				}
																
					#main ul,
					#main ol { list-style-type: disc; }
					
						#main li { padding: 3px 0; }
						
			#fifthContainer { width: 488px; float: left; }
				
			.fifth { width: 224px; height: 323px; float: left; margin: 10px; }
		
				.korisliigaBack {
					width: 224px;
					height: 12px;
					margin-top: 0px; 
					background-color: #fff; 
					border-top: 6px solid #201b17; 
					border-top-right-radius: 3px; 
					-moz-border-top-right-radius: 3px; 
					-webkit-border-top-right-radius: 3px;
					border-top-left-radius: 3px; 
					-moz-border-top-left-radius: 3px; 
					-webkit-border-top-left-radius: 3px;
					text-align: center;
				}
		
				/*#korisliigaLogot { height: 109px; width: 224px; padding-top: 88px; background: url(../images/korisliigaBack.png) 0 0 no-repeat; text-align:center; }*/
				
					#korisliigaLogot img { padding: 10px 4px; margin: 0 4px; }
					
						#korisliigaLogot img:hover { background-color: #E9E9E9;}
						
				.fifthOtsikko {  
					background: url(../images/otsikkoBack.jpg) 0 0 repeat;
					font-family: PancettaSerifPro-BoldItalic;
					font-weight: normal;
					font-style: normal;
					padding: 12px 0 6px 0;
					text-align: center;
					font-size: 28px;
					line-height: 28px;
					color: inherit;
					text-rendering: optimizelegibility;
					color: #fff;
					border-top-right-radius: 3px;
					border-top-left-radius: 3px;
					-moz-border-top-right-radius: 3px;
					-moz-border-top-left-radius: 3px;
					-webkit-border-top-right-radius: 3px;
					-webkit-border-top-left-radius: 3px;
				}	
				
					.fifthOtsikko h2 { color: #fff; }  
					
				.fifthMain {
					height: 277px;
					background-color: #fff;
					border-bottom-right-radius: 3px;
					border-bottom-left-radius: 3px;
					-moz-border-bottom-right-radius: 3px;
					-moz-border-bottom-left-radius: 3px;
					-webkit-border-bottom-right-radius: 3px;
					-webkit-border-bottom-left-radius: 3px;
				}
				
				.fifthMainWithKorisliigaBack {
					height: 315px;
					background-color: #fff;
					border-bottom-right-radius: 3px;
					border-bottom-left-radius: 3px;
					-moz-border-bottom-right-radius: 3px;
					-moz-border-bottom-left-radius: 3px;
					-webkit-border-bottom-right-radius: 3px;
					-webkit-border-bottom-left-radius: 3px;
				}
					
		/* Kaikki viisi palstaa yhdessä*/
		.containerAllcolumns { width: 1210px; margin: 0 10px; }
			
			.otsikko {
				width: 100%; 
				height: 63px; 
				background: url(../images/otsikkoBack.jpg) 0 0 repeat-x; 
				border-top-right-radius: 3px;
				border-top-left-radius: 3px;
				-moz-border-top-right-radius: 3px;
				-moz-border-top-left-radius: 3px;
				-webkit-border-top-right-radius: 3px;
				-webkit-border-top-left-radius: 3px;}
			
				.otsikko h1 { color: #fff; padding-left: 20px; }
		
			.white {
				background-color: #fff;
				padding: 20px;
				width: 1170px;
				text-align: center; 
				border-bottom-right-radius: 3px;
				border-bottom-left-radius: 3px;
				-moz-border-bottom-right-radius: 3px;
				-moz-border-bottom-left-radius: 3px;
				-webkit-border-bottom-right-radius: 3px;
				-webkit-border-bottom-left-radius: 3px;}
			
				.white img { padding: 10px; }
				
				.footerQuarter { width: 25%; float: left; }
				
				.clearFooter { width: 100%; clear: both; display: none; }
			
			.dark { background-color: #2B2B2B; color: #fff; opacity: 80%; padding: 10px 20px; width: 1170px; padding-top: 20px; 
					border-radius: 3px;
					-moz-border-radius: 3px;
					-webkit-border-radius: 3px;
				}
			
				.dark h1,
				.dark h2 { color: #fff; }
				
			.footerErotin { width:100%; border-top: 1px solid #c0c0c0; clear:both; margin-top: 20px; padding-bottom: 20px; }
		
		#footer { width: 100%; text-align: center; margin: 30px 0 0 0; padding: 26px 0; height: 14px; line-height: 14px; color: #fff; }
		
			#footerInner { width: 940px; margin: 0 auto; text-align: left; }

/*** Media queries *******************************************************************************************************/

@media screen and (max-width: 1270px) {
	
	#logo { margin-left: -468px; }
	
	.container { width: 976px; }
	
		#header { width: 956px; }
	
		#menu { width: 774px; }
		
		#fifthContainer { width: 244px; }
	
	.containerAllcolumns { width: 956px; }
		
		.white,
		.dark { width: 916px; }
		
		.fifth { height: auto; }
}

@media screen and (max-width: 1006px) {
	
	#logo { margin-left: -346px; }
	
	.container { width: 732px; }
	
		#menu { width: 500px; text-align: right; }
		
		#header { width: 712px; }
		
		#fifthContainer { width: 742px; }
		
	#imageSlideshowInner { background-size: 96% 20px; background-position: 50% 375px; }
	
	.containerAllcolumns { width: 712px; }
	
		.white,
		.dark { width: 672px; }
				
		.clearFooter { display: block; }
		
		.footerQuarter { width: 50%; float: left; }
}

@media screen and (max-width: 767px) {
	.container { width: 100%; }
	
	#logo { left: 0; margin-left: 15px; }
	
	#menu { width: 48%; padding-left: 50%; padding-right: 2%; }
		
	#header { width: 96%; padding: 0 2%; }
	
	.threeFifths { width: 100%; float: none; margin: 10px 0 0 0; }
	
		#main { width: 96%; padding: 10px 2%; border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; margin-bottom: 20px; }
		
	#fifthContainer { width: 100%; text-align: center; }
	
		.fifth { float: none; margin: 15px auto; }
		
	#imageSlideshow { width: 100% !important;}
	
	.containerAllcolumns { width: 100%; margin: 0; }
	
		.white,
		.dark { width: 96%; padding: 2%; }
		
			.white img { width: 180px; height: auto; }
}

@media screen and (max-width: 640px) {
	.white img { width: 150px; height: auto; }
	
	.pelaajakuva { float: none; padding: 20px; }
	
	#header { visibility: hidden; }
	
	#headerMobile { display: block; }
	
	.pelaaja { width: 100%; float: none; }

@media screen and (max-width: 400px) {
	
	.basket-fi { display: none; }
		
			.white img { width: 100px; height: auto; }
			
	.footerQuarter h2 { font-size: 16px; }
	
	.footerQuarter { width: 100%; float: none; margin: 0 auto; }
}

@media screen and (max-width: 320px) {
}


/*			
#left { display:table-cell; width: 55%; }

#center { display:table-cell; width: auto; }

#right { display:table-cell; width: 200px; }

	*html #left,
	*html #right {float:left;}
	
.displayTable { width: 100%; display: table; }
*/