/*
Theme Name: Jukola 2013 (Twenty Ten) 
Theme URI: http://wordpress.org/
Description: Jukola 2013 Wordpress theme
Author: Tietotemput // Eelis Eskelinen :: eeppo.tv
Version: 1.1
Tags: black, red, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/

@import url("css/jquery.jscrollpane.css"); 
@import url("css/all.css"); 


/* Tuotu TwentyTen teemasta */

/* =Content
-------------------------------------------------------------- */

#content table {
	margin: 0 -1px 24px 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content tr td {
	padding: 6px 24px;
}
#content tr.odd td {
}

#content table.tiivis {
	margin: 0 -1px 24px 0;
	text-align: left;
	width: 100%;
}
#content table.tiivis tr th,
#content table.tiivis thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content table.tiivis tr td {
	padding: 2px;
}
#content table.tiivis tr.odd td {
}

.main-header{
	font-family: 'PT Serif';
	font-size: 34px;
	color: #666f72;
	padding: 15px 0 15px 0;
}

.hentry {
	margin: 0 0 48px 0;
	min-height:300px;
}
.home .sticky {
	background: #f2f7fc;
	border-top: 4px solid #000;
	margin-left: -20px;
	margin-right: -20px;
	padding: 18px 20px;
}
.single .hentry {
	margin: 0 0 36px 0;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}
.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #888;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}

.entry-meta {
	color: #888;
	font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #888;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}
.page-link {
	clear: both;
	color: #000;
	font-weight: bold;
	margin: 0 0 22px 0;
	word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
	font-weight: normal;
	padding: 0.5em 0.75em;
	text-decoration: none;
}
.home .sticky .page-link a {
	background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
	color: #ff4b33;
}
body.page .edit-link {
	clear: both;
	display: block;
}
#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	overflow: hidden;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	float: left;
	height: 60px;
	margin: 0 -104px 0 0;
	padding: 11px;
}
#entry-author-info #author-description {
	float: left;
	margin: 0 0 0 104px;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
.entry-utility {
	clear: both;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #888;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #ff4b33;
}
#content .video-player {
	padding: 0;
}


/* =Asides
-------------------------------------------------------------- */

.home #content .format-aside p,
.home #content .category-asides p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 0;
}
.home .hentry.format-aside,
.home .hentry.category-asides {
	padding: 0;
}
.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
	padding-top: 0;
}


/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 20px;
	margin-top: -4px;
}
.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
	padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}



/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background: none !important;
	}
	#wrapper {
		clear: both !important;
		display: block !important;
		float: none !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		line-height: 1.4em;
		margin: 0;
		padding: 0;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}
	#access,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		margin: 0;
		width: 100%;
	}
	#content,
	.one-column #content {
		margin: 24pt 0 0;
		width: 100%;
	}
	.wp-caption p {
		font-size: 11pt;
	}
	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}
	img#wpstats {
		display: none;
	}
	#site-generator a {
		margin: 0;
		padding: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display: inline;
	}
	.home .sticky {
		border: none;
	}
}

/* =2013 customizations
------------------------------------------------------------- */
body, html {
   background-color: #eaeaea;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
   color: #666f72;
   /*color: #c50b2f;*/
}

#header .menu {
   padding-left: 260px;
}

.big-logo {
   background: transparent url("images/2013_logo_black_shadow.png") left top no-repeat;
   width: 253px;
   height: 166px;
   left: 0;
   top: 50px;
}

.top-nav a.current_year,
.top-nav a.current_year:hover,
#header .menu li a,
#header .menu li a:hover {
   color: #ddd;
}

.top-nav a.current_year,
.top-nav a.current_year:hover,
.top-nav .active a.current_year {
   background: transparent url("images/bg-current.gif") left top no-repeat;
}

.top-nav a.current_year span,
.top-nav li .current_year:hover span,
.top-nav .active a.current_year span {
   background: transparent url("images/bg-current.gif") right -44px no-repeat;
}


#header .menu li a:hover,
#header .menu li:hover a,
#header .menu li.hover a {
   background: transparent url("images/bg-menu-hover.gif") left -1px no-repeat;
}

#header .menu li a:hover span,
#header .menu li:hover a span,
#header .menu li.hover a span {
   background: transparent url("images/bg-menu-hover.gif") 100% -48px no-repeat;
}

.top-nav li .about {
   background: transparent url("images/bg-top-nav.gif") no-repeat left top !important;
}



.top-nav li .about span {
   background: transparent url("images/bg-top-nav.gif") no-repeat 100% 100% !important;
}


.top-nav li .about:active,
.top-nav li .about:hover {
   background: transparent url("images/bg-about-active.gif") no-repeat left top !important;
}



.top-nav li .about span:active,
.top-nav li .about span:hover {
   background: transparent url("images/bg-about-active.gif") no-repeat 100% 100% !important;
}

/*.sponsors div.wp_bannerize {
   text-align: center;
}

.sponsors div div {
   display: inline-block;
   float: none;
}*/


.formBuilderForm .formBuilderLabel, .formBuilderForm .formBuilderLabelRequired {
   clear: both !important;
   float: none !important;
 /*  margin-bottom: 5px !important; */
   margin-bottom: 0 !important;
   width: 100% !important;
   line-height: 1.4em;
}

.formBuilderLabelRequired {
   font-weight: normal !important;
    padding-left: 15px;
}

.formBuilderField em.formBuilder-required {
   color: #ff0000;
   position: static !important;
   font-weight: bold;
   padding-top: 5px;
}

.entry-content input {
   margin-bottom: 0;
}

.formBuilderField span {
   font-size: 0.9em;
   color: #ff0000;
   margin: 0;
   padding: 0;
   display: block;
   position: absolute;
   left: 0;
   top: 0; 
}

.formBuilderField .formBuilderError {
   font-weight: normal !important;
}


.formBuilderField .formBuilderRadio, {
   margin-left: 0 !important;
}

.formBuilderInput input {
   width: 300px !important;
}

.formBuilderField .formBuilderRadio input {
   vertical-align: middle;
   width: 20px !important;
}


.formBuilderField {
   padding-top: 1.2em !important;
   position: relative;
}

.formBuilderSubmit {
   display: inline !important;
   float: left !important;
   clear: none !important;
}

.formBuilderSubmit input, .formBuilderSubmit a {
   margin-right: 50px;
}

#formBuilderFieldReset {
   padding-bottom: 0px;
}


div.formBuilderFailure {
   background-color: #fff !important;
   border: 0 !important;
   color: #ff0000 !important;
}


.checkbox .formBuilderInput  input {
   width: 20px !important;
   margin: 0;
   padding: 0;
}

.checkbox span.formBuilderCheckboxDescription {
   display: inline !important;
   position: static !important;
}


.checkbox {
     padding-top: 2px !important;
     padding-bottom: 2px !important;
}

.formBuilderForm .radio_buttons,
.formBuilderRadio {
      margin-left: 0 !important;
}

div#formBuilderFieldedustamani_median_www_osoite,
div#formBuilderFieldmuu_mika,
div#formBuilderFieldmuu_tehtava {
   padding-top: 0px !important;
}

/* clearfix for .main-holder for full-height body element */
.main-holder:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.main-holder {
	display: inline-block;
	background:#fff !important;
	border:1px solid #101010 !important;
	border-radius:10px !important;
	background-image: none !important;
}
#main, #wrapper {
	background:none !important;
	padding-bottom:0px !important;
}
#footer{
	background:url(images/bg-footer.png) no-repeat top left;
	margin-top:-15px !important;
}

html[xmlns] .main-holder {
	display: block;
}
 
* html .main-holder {
	height: 1%;
}

.main_sidebar{
	height:auto;
}
.main_sidebar .title{
	width:344px !important;
	padding-bottom:4px !important;
	border-bottom:1px solid #e7e9ea;
	font-size:16px !important;
	margin-bottom:13px !important;
}
.main_sidebar .title a{
	margin:0px !important;
	padding:0px !important;
	font-size: 16px !important;
}
#sidebar{
	width:346px !important;
}
h3.frontpage a{
	width:346px !important;
}
.news li{
	width:346px !important;
	margin:0px;
	padding:0px;
	margin-bottom:12px;
}
.news{
	border-bottom:8px solid #ecedee;
	padding-bottom:8px;
	
}
.first_news{
	padding-bottom:14px !important;
	height:auto !important;
	border-bottom:1px solid #e7e9ea;
	margin-bottom:18px !important;
}
.first_news p{
	margin:0px !important;
}
.news-box{
	margin:0px;
	padding:0px;
	margin-top:7px;
}
.news-box ul #fbw_likebox-2{
	border-bottom:8px solid #ecedee;
	width:346px;
	padding-bottom:10px;
}
.news-box ul #text-3{

}
.home .entry-content{
	width:238px;
	border-right:1px solid #f2f2f2;
	padding-right:23px;
	text-align: left;
}
.entry-content h2{
	text-transform: uppercase;
	/*color:#c50b2f;*/
	color: #666f72;
	font-size:16px;
	margin:0px;
	margin-bottom:23px;
}
.entry-content p a img{
	width:238px !important;
	height:145px !important;
	border:1px solid #101010;
	/*float:none !important;*/
	display:block;
	clear:both;
}

.alignright {
    float:right !important;
}

.alignleft {
    float: left !important;
}

.gogu p a img{
/*	float:left;*/
	width:auto !important;
	height:auto !important;
	border:none !important;
/*	margin-right:20px;
	margin-left:0px !important;*/

}
.entry-content p{
	text-align: left;
	margin-bottom:13px;
}
.frontlink{
	text-transform: uppercase;
	color:#22bbea;
	font-size:15px;
}
#content{
	padding:0px;
}
.page{
	padding-bottom:0px;
	margin:0px;
	border-bottom:8px solid #ecedee;
	padding:0px;
	margin-bottom:25px;
}
.sponsors{
	width:190px;
	height:auto;
	background:none;
	left:0px !important;
	right:0px !important; 
	margin:0px !important;
	top:0px !important;
	margin-left:684px !important;
	padding:0px;
	text-align: center;
}
.sponsorgroup{
	display: none;
}
.sponsors h2{
	font-size:16px;
	color:#666f72;
	border-bottom:1px solid #ecedee;
	width:190px;
	text-transform: uppercase;
	padding:0px;
	padding-bottom:10px;
}
#rightcontentwrap{
	position:relative;
}
.wp_bannerize{
	text-align: center  !important;
	width:190px !important;
	margin:0px  !important;
	padding:0px  !important;
}
.wp_bannerize div, .wp_bannerize div a{
	display: block;
	clear:both;
	text-align: center !important;
	width:190px !important;
}
.wp_bannerize div{
	margin-bottom:20px;
}
.wp_bannerize div img{
	display:inline !important;
	max-width:120px;
	height:auto;
}
#sponsorbanners .wp_bannerize div{
	margin-bottom:8px !important;
	width:auto !important;
}
#sponsorbanners .wp_bannerize div img{
	max-width:470px;
}
h3.widget-title {
	text-transform: uppercase;
}
.widget_fbw_likebox iframe{
	width:346px;
	height:65px;
}
.widget_fbw_likebox{
	border-bottom:8px solid #ecedee;
	padding-bottom:10px;
	width:346px;
}
.type-page img{
	/*float:left;*/
	margin:0px;
padding:0px;
margin-right:10px;
margin-bottom:10px;
}
.type-page p{
margin-bottom:7px;
margin-top:5px;
}
.type-page{
	width:630px;
	padding-right:20px;
	border-right:1px solid #ecedee;
}
.internaly #rightcontent{
position:absolute;
top:52px;
}



