/*
Theme Name: Tietonakyvaksi
Description: based on Magazine-basic
Author: Informaatiomuotoilu
Author URI: http://www.informaatiomuotoilu.fi
Template: magazine-basic
Version: v0.5 / 2016
*/


@import url(../magazine-basic/style.css);


/* Font */

@font-face {
    font-family: 'FaktConProBdBold';
    src: url('faktconpro-bold-webfont.eot');
    src: url('faktconpro-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('faktconpro-bold-webfont.woff') format('woff'),
         url('faktconpro-bold-webfont.ttf') format('truetype'),
         url('faktconpro-bold-webfont.svg#FaktConProBdBold') format('svg');
    font-weight: bold;
    font-style: bold;
}



/* Hacks & detailings */

#fbComments p { font-size: 1px; }
.post em,.page em { font-style: italic; }
.post strong,.page strong,.post strong em,.page strong em { font-weight: normal; color: #FF4612; }
.post strong a,.page strong a,.post strong em a,.page strong em a { color: #FF4612; }

.ticketlinks { font-size: 18px; color: #000; font-family: FaktConProBdBold, Helvetica, Arial, sans-serif; font-weight: bold; text-transform: uppercase; margin: 12px 0 15px 0 }
.ticketlinks a { color: #000; }

/* Basic Tag Elements */


a {
	text-decoration: none;
	outline: none;
	color: #001D36;
	}
	
	a:hover {
		text-decoration: underline;
		}
	
img { 
	border: 0;
	}

body {
	color: #001D36;
 	margin: 0 auto; 
	font-size: 14px;

	font-family: Helvetica, Arial, Sans-serif; 
	padding: 0; 
	background: #FAFAF0;
	position: relative;
	}

.custom-background {
	background-color: #FAFAF0 !important;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #001D36;
	font-family: FaktConProBdBold, Helvetica, Arial, sans-serif;
	font-weight: bold;
	text-transform: uppercase;	
	}

textarea {
	width: 97%;
	}

.fl {
	float: left;
	}
	
.fr {
	float: right;
	}
	
.clear {
	clear: both;
	}

blockquote {
	margin: 1em 2em;
	border-left: 1px dashed #999;
	padding-left: 1em;
	line-height: normal; 
	font-style: italic;
	}

.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1em 0;
	border-color: none;
}

.entry th {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: normal;
	background: #eee;
	text-transform: uppercase;
	padding: 6px;
}

.entry td {
	border: none;
	padding-left: 0px;
	padding-right: 10px;
	vertical-align: top;
}

.entry a {
font-weight: bold;
color:#001D36;
}


i, cite, em, var, address, dfn {
font-style: normal;
color: #001D36;
}


.button {
   background: #001D36;
    color: white !important;
   font-size: 20px;
   font-family: FaktConProBdBold;
   text-decoration: underline;
   vertical-align: middle !important;
      text-align: center;
      letter-spacing: 1px; 
   padding: 5px 10px 5px !important;
   display: inline;
   }
.button:hover {
   background: #FF4612;
   color: #ccc;
   }
.button:active {
   border-top-color: #001D36;
   background: #001D36;
   }
.button a {
color:white;
}
.fi {background: #001D36;}
.en {background: #FF4612;}

/* Layout Elements */

#header{
	background: #FAFAF0;
	float: left;
	width: 100%;
	}

.headerimage img {
		margin: 0 0 -20px -160px;
		}

#twocol {
	float: left;
	margin-bottom: 3px;
	padding: 10px 0 0;
	border-top: 6 px solid #FF4612;  
	background: none;
	}

	#twocol img {
		margin: 5px 8px 4px 0;
		}
		
	#twocol hr.two {
		height: 0;
		border: 0;
		clear: both;
		
		}
	
.mainhr {
	float: left;
	background: #eee;
	clear: both;
	width: 100%;
	height: 1px;
	margin: 10px 0;
}	
	
.twopost {
	width: 46%;
	float: left;
	word-wrap: break-word;
	border: 0;
	}	

	.twopost img,
	.threepost img,
	.twopost embed,
	.threepost embed {
		max-width: 100% !important;
		height: auto !important;
		}

	.twopost2, .twopost4 {
		margin-left: 7.5%;
		}
		
	.twopost3, .twopost4 {
		padding-top:5px;
		}
		
	.twopost1, .twopost3 {
		clear: left;
		}	
		
	#leftcontent .twopost .wp-caption,
	#leftcontent .threepost .wp-caption {
		max-width: 100%;
	}
	
		#leftcontent .twopost .wp-caption img,
		#leftcontent .threepost .wp-caption img {
			max-width: 94% !important;
			margin: 0;
			}
.ind-post, .hentry {
	border-bottom: none;
}

.tags {
	display: none;
}

#footer {
clear: both;
float: left;
width: 572px;
padding: 10px 0 30px 0;
text-align: center;
font-size: 11px;
border-top: 2px solid #FF4612;
background: #FAFAF0;
}


/* Main Elements */
	
#mainwrapper {
	float: left;
	padding: 15px 0px;
	margin: 0;
	/* border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc; */
	background: #FAFAF0;
	}

#sidebar {
	float: left;
	margin: 0 20px 0 20px;
	padding: 0px 0 0;
	text-align: center;
	}


	#sidebar h1,
	#sidebar h2,
	#sidebar h3 {
		margin: 0 0 0 0;
		padding: 12px 0 0 0;
		font-size: 18px;
		line-height: 24px;
		text-align: center;
		}

#secondsidebar {
	float: left;
	margin: 0 10px;
	padding: 5px 0 0;
	}
	
.side {
	line-height: 20px;
	font-size: 18px;
	margin-bottom: 0;
	}	
	
.side-widget {
	float: center;
	margin: 0px 0 15px;
	padding: 0 25px 5px;
	font-weight: bold;
	/*background: url(images/bg-hatch.gif);
	border: 1px solid #ddd;
	border-right-color: #ccc;
	border-bottom-color: #ccc;*/
	}
	
	.side-widget ul {
		padding: 0 15px 0px 0px;		
		margin: 0;
		list-style-type: none;
		}

	.side-widget ul li {
		padding: 0;
		margin: 0;
		font-size: 13px;
		}
		
	.side-widget ul li {
		padding-left: 15px;
		margin: 2px 0;
		}
	
	.side-widget h2 {
		font-size: 14px;
		padding: 10px 0 5px;
		margin-top: 0;
		text-align: center;
		text-transform: uppercase;
		/* background: url(images/h2line.gif) repeat-x bottom; */
		}
		
	.side-widget .storycontent {
		border-bottom: 1px solid #ddd;
		}
		
	.side-widget .noline {
		border-bottom: 0;
		}		

.side-widget #s {
	margin-top: 15px;
	padding: 2px;
	width: 94%;
	}

.storycontent {
	line-height: 18px;
	font-size: 14px;
	word-wrap: break-word;
	}
		
.readmore {
	color: #cc0000;
	}

.wdc-logo img {
position: fixed;
top: 192px;
right: 13.5%;
z-index: 999;
  backface-visibility: hidden;
  transition: 0.3s;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -webkit-transition: 0.3s;
  -webkit-transform-style: preserve-3d;
}

.wdc-logo img#flipfront {
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transition-delay: 0.0s;
  -webkit-transition-delay: 0.0s;

}

.wdc-logo img#flipback {
  transform: rotateY(90deg);
  -webkit-transform: rotateY(90deg);
  transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
}

		
/* Left Content Elements */

#leftcontent {
	float: left;
	margin: 0 0px;
	padding: 0;
	}

	#leftcontent img {
		height: auto;
		}

	#leftcontent h5.latest {
		font-family: Helvetica, Arial, sans-serif;
		margin: 0;
		padding: 0;
		color: #FF4612;
		margin-bottom: 5px;
		font-size: 14px;
		font-weight: bold;
		}

	#leftcontent h1,
	#leftcontent h2,
	#leftcontent h3 {
		margin: 5px 0 0;
		padding: 0;
		font-size: 36px;
		line-height: 38px;
		}

	#leftcontent .entry h1 { font-size: 28px; line-height: 30px; }
	#leftcontent .entry h2 { font-size: 22px; line-height: 24px; }
	#leftcontent .entry h3 { font-size: 18px; line-height: 20px; }
	#leftcontent .entry h4 { font-size: 16px; line-height: 18px; }
	#leftcontent .entry h5 { font-size: 14px; line-height: 16px; }
	#leftcontent .entry h6 { font-size: 12px; line-height: 14px; }

	#leftcontent h1.catheader {
		color: #FF4612;
		margin-bottom: 15px;
		font-size: 24px;
		line-height: 28px;
		}
		
	#leftcontent .twopost h2 {
		font-size: 26px;
		line-height: 28px;
		}
	
	#leftcontent .threepost h2 {
		font-size: 20px;
		line-height: 22px;
		}
	
	#leftcontent .postmetadata {
		clear: both;
		line-height: 14px;
		}
		
	#leftcontent .hentry .entry {
		font-size: 14px;
		line-height: 22px;
		}
		
	#leftcontent .date {
		margin-bottom: 5px;
		font-style: normal;
		color: #001D36;
		}
		
	#leftcontent .meta {
		font-family: Helvetica, Arial, sans-serif;
		font-size: 11px;
		color: #001D36;
		}	
		
	#leftcontent .catdesc {
		background: #f7f7f7;
		border: 3px double #ddd;
		padding: 0 10px;
		color: #666;
		font-size: 13px;
		line-height: 15px;
		margin-bottom: 10px;
		}

/* Comment Elements */

#comments { display: none; }

.comment-notes { clear: both; }

#postcomments {
	padding-top: 20px;
	}
			
	 h3#comments, #respond h3, h3#comments-title { color:#001D36; font:normal 20px/26px FaktConProBdBold, Helvetica, Arial, sans-serif; margin: 10px 0 15px; clear: both; float: left; width: 100%; }
	h3#comments-title { color:#FF4612;}
	 #respond p { font-size:11px; margin:0 0 1em; }	

	 ol.commentlist { list-style:none; margin:0; padding:0; float: left; }

	 ol.commentlist li { margin:0 0 10px; padding:20px 0 20px 20px;  }

	.commentlist .even {
		background: #fff;
		border-bottom: 1px solid #FF4612;
		border-right: 0px solid #ddd;
		}

	.commentlist .odd {
		background: #fff;
		border-bottom: 1px solid #FF4612;
		border-right: 0px solid #ddd;
		}

	.commentlist .avatar {
		float: right;
		padding: 5px;
		border: 2px solid #ddd;
		margin: 0 20px 10px 10px;
		background: #fff;
		}
	
	.commentlist .comment-author {
		font-size: 12px;
		}
	
	.commentlist .comment-text {
		padding: 0 20px 0 0;
		}
	
	.commentlist .url {
		font-size: 16px;
		font-family: Helvetica, Arial, sans-serif;
		font-style: italic;
		}

	 ol.commentlist li div.reply { background:#FF4612; border: None; border-radius:0px; -moz-border-radius:0px; -webkit-border-radius:0px; color:#fff; font:bold 9px/1 helvetica,arial,sans-serif; padding:3px 4px 4px;  text-align:center; width:30px; }

	 ol.commentlist li div.reply:hover { background:#cc0000; border: none; }

	 ol.commentlist li div.reply a { color:#FAFAF0; text-decoration:none; text-transform:uppercase; }

	 ol.commentlist li ul.children { margin:16px 20px 0 0; padding: 0 0 0 20px;  border-bottom: 2px solid #FF4612; list-style-image: url(images/commentarrow.png); }

	 
.main-navigation {

	background: #FF4612;
}

.sub-navigation ul ul li a:hover { background-color:white; }