/*  
Theme Name: Speedsters2013
Template: twentythirteen
Author: Erno Iipponen & Mikko Haataja
Design: Kari Järvinen
*/
@import url("../twentythirteen/style.css");

@font-face
{
	font-family: 'Big Noodle Titling';
	src: url('fonts/bignoodle/big_noodle_titling.ttf');
}

@font-face
{
	font-family: 'Mocaco';
	src: url('fonts/monaco/Monaco.ttf');
}

body {
	/*background-image: url('img/bg.jpg');*/

	background-color: #f3f3f3;
}

.fa-instagram {
	margin-top:5px;
	margin-left:10px;
}
body p{
	
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 1.2em;
}


h1, h2, h3 {
	text-transform: uppercase;
}

.site {
	width: 90%;
	min-width: 855px;
	max-width: 1200px;
	border: none;
	background-color: transparent;
}

.site-header {
	background: none !important;
	border-bottom: 1px solid #a6a6a6;
	margin-bottom: 10px;
}

.site-header .home-link {
	display: inline-block;
	width: 35%;
	min-width: 0;
	min-height: 0;
	padding: 0;
	/*margin-top: 15px;*/
	margin-bottom: 15px;
	height: 165px;
}

.home-link img{
	width: 100%;
	min-width: 250px;
	max-height: 165px;
}

.site-title {
	display: none;
}

.site-description {
	display: none;
}

.navbar {
    background-color: transparent;
    display: inline-block;
    margin-top: 45px;
    text-align: right;
    vertical-align: top;
    width: 63%;
}

.main-navigation {
	height: 65px;
}

ul.nav-menu, div.nav-menu > ul {
	padding: 0;
}

.nav-menu li a {
	font-size: 1.5em;
	padding-right: 0;
	padding-left: 5px;
	text-transform: uppercase;
	font-family: 'Big Noodle Titling';
	color: #808080;
	transition: color 0.9s;
	-webkit-transition: color 0.9s; /* Safari */

}

.nav-menu li a:hover {

	color: #e20054;
	background-color: transparent;
	transition: color 0.9s;
	-webkit-transition: color 0.9s; /* Safari */
	transition: background-color 0.9s;
	-webkit-transition: background-color 0.9s; /* Safari */
}

.nav-menu .current_page_item > a {
	color: #000;
	font-style: normal;

}

.nav-menu li a:after {
	content: "|";
	padding-left: 5px;
}

.header-bottom {
	height: 70px;
}

.header-bottom .hahmot {
	height: 70px;
	top: 3px;
	position: relative;
	float: left;
	/*left: -45px;*/
}

.header-bottom .hahmot img {
	max-height: 70px;
	margin-left: 10px;
	vertical-align: bottom;
	opacity: 0.6;
}

.header-bottom .fb-icon {
	width: 40px;
	position: absolute;
	bottom: 15px;
	right: 15px;
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s; /* Safari */
}
.fb-icon.insta-icon {
  right: 65px;
  width: 38px;
  bottom: 16px;
}
.fb-icon.eng-flag {
  width: auto;
  bottom: 67px !important;
  right: 20px;
}

.header-bottom .fb-icon:hover {
	opacity: 0.7;
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s; /* Safari */
}

.site-header .search-form {
	display: none;
}



/*wooslider*/



.wooslider .slide-content {

	margin: 0px !important;

}

.wooslider {
	border: none !important;
}

.wooslider .slides > li {
	border: none !important;
	
	
}



.hentry {
	padding: 0;
}

.entry-header {
	max-width: none;
	margin-bottom: 0;
	clear: both;
	float: left;
	/*margin: 0 auto 0 5%;*/
	margin: 0;
}

.entry-content a, .comment-content a {
	color: #e20054;
}
.entry-content a .fa {
	color: #808080;
}
.entry-content a:hover .fa {
	opacity:0.7;
}

header  a .fa {
	color: #808080;
}
header  a:hover .fa {
	opacity:0.7;
}

.entry-content a:hover, .comment-content a:hover {
	color: #000;
}

#post-4 .entry-title {
	display: none;
}

#post-4 .entry-content {
	width: 65%;
	padding-top: 0;
	border-top: none;
	/*border-bottom: 1px solid #a6a6a6;*/
	padding-right: 0;
	float: left;
}

.events-wrap {
	width: 30%;
	float: right;
	color: #808080;
	margin-bottom: 10px;
	font-family: 'Mocaco';
}

.events-wrap .top-ruler {
	border-top: 1px dotted #a6a6a6;
}

.events-wrap div {
	margin-left: 30px;
	transition: color 0.5s;
	-webkit-transition: color 0.5s; /* Safari */
}

.events-wrap h2 {
	font-size: 1.4em;
	margin: 0;
	font-family: 'Big Noodle Titling';
}

.events-wrap h3 {
	font-size: 0.9em;
	margin: 0;
	font-weight: normal
}

.events-wrap ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.events-wrap a {
	font-family: 'Mocaco';
	text-transform: uppercase;
	color: #808080;
	transition: color 0.5s;
	-webkit-transition: color 0.5s; /* Safari */
}

.events-wrap button {
	font-family: 'Calibri';
	text-transform: uppercase;
	background: transparent;
	border: 1px solid #808080;
	color: #808080;
	padding: 4px;
	width: 50%;
	margin-top: 10px;
	min-width: 100px;
	transition: color 0.5s;
	-webkit-transition: color 0.5s; /* Safari */
	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s; /* Safari */
}

.events-wrap button:hover {
	background: #e20054;
	border: 1px solid #a6a6a6;
	color: #fff;
	transition: color 0.5s;
	-webkit-transition: color 0.5s; /* Safari */
	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s; /* Safari */
}

.events-wrap hr {
	margin: 10px 0;
	border-top: 1px solid #a6a6a6;
	border-bottom: none;
}

.events-wrap hr:last-child {
	display: none;
}

/*.events-featured, .events-featured a {
	color: #111;
	}*/

	.events-featured {
		font-family: 'Calibri';
		font-size: 0.9em;
	}

	.events-featured:hover, .events-featured:hover a {
		color: #111;
		transition: color 0.5s;
		-webkit-transition: color 0.5s; /* Safari */
	}

/*.events-featured button {
	background: #e20054;
border: 1px solid #a6a6a6;
color: #fff;
	transition: color 0.5s;
	-webkit-transition: color 0.5s; /* Safari */
	/*transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s; /* Safari */
	/*}*/

	.single-event .entry-header {
		display: none;
	}

	.single-event .entry-content {

		width: 100%;
		margin: 0;
		padding-top: 0;

	}

	.event-form {
		width: 45%;
		float: left;
	}

	.event-form h2, h2 {
		border-bottom: 1px dotted #a6a6a6;
		padding-bottom: 10px;
		font-family: 'Big Noodle Titling';
		font-size: 3.5em;
		margin-top: 0;
		white-space: nowrap;
		font-weight: normal;
	}

	.event-form h2:after {
		content: url('img/squares.png');
		margin-left: 50px;
		zoom: 0.7;
	}

	.em-booking-form-details input.input, .em-booking-form-details textarea {
		width: 100%;
		border: 1px solid #808080;
		border-radius: 5px;
	}

	.em-booking-form label {
		display: block;
		width: auto;
		float: none;
		font-size: 0.9em;
	}

	.input-checkbox {
		width: 180px;
	}

	.em-booking-form input[type=checkbox] {
		width: auto;
		vertical-align: middle;
		margin-right: 10px;
		/*float: left;*/
		/*margin-top: 2px;*/
	}

	.em-booking-form .input-field-dbem_terms label {
		/*display: inline-block;*/
		float: right;
		/*margin-right: 47%;*/
	}

	.em-booking-form input[type=submit] {
		background: #e20054;
		border: 1px solid #a6a6a6;
		border-radius: 5px;
		padding-left: 50px;
		padding-right: 50px;
		padding-top: 5px;
		padding-bottom: 5px;
		margin-top: 24px;
		float: left;
		clear: both;
		transition: color 0.5s;
		-webkit-transition: color 0.5s; /* Safari */
		transition: background-color 0.5s;
		-webkit-transition: background-color 0.5s; /* Safari */
	}

	.em-booking-form input[type=submit]:hover {
		color: #fff;
		background-color: #220e10;
		transition: color 0.5s;
		-webkit-transition: background-color 0.5s; /* Safari */
	}

	#label_terms a {
		color: #111;
		text-decoration: underline;
	}

	.event-info {
		width: 45%;
		float: right;
	}

	.event-info h3 {
		font-size: 1.8em;
	}

	.post-navigation {
		display: none;
	}

	.entry-title, { 
		float: left;
		clear: none;
		font-family: 'Big Noodle Titling';
		text-transform: uppercase;
		color: #808080;
		padding-bottom: 10px;
		border-bottom: 1px dotted #a6a6a6;
	}




	.entry-title:after {
		content:  url('img/squares.png');
		margin-left: 50px;
		zoom: 0.7;
	}


	.entry-content {
		max-width: none;
		float: left;
		color: #808080;
		/*padding-right: 5%;*/
		padding-right: 0;
		padding-top: 20px;

		/*border-top: 1px dotted #a6a6a6;*/


		font-size: 0.8em;
	}

	.page-id-6 .entry-header {
		width: 50%
	}

	.page-id-6 .entry-title {
		width: 100%;
	}

	.page-id-6 .entry-content {
		width: 100%;
		float: left;
		/*margin: 0 auto 0 5%;*/
		margin: 0;
	}

	.entry-thumbnail img { 
		float: right;
		width: 45%;
		margin-left: 10px;
		margin-top: -80px
	}

	.entry-meta {
		max-width: none;
	}

	.partner-logo {
		width: 20%;
		margin-left:2%;
		margin-right: 2%;
		transition: opacity 0.5s;
		-webkit-transition: opacity 0.5s; /* Safari */
            margin-bottom: 2%;
	}

	.partner-logo:hover {
		cursor: pointer;
		opacity: 0.7;
		transition: opacity 0.5s;
		-webkit-transition: opacity 0.5s; /* Safari */
	}

	.sidebar-container {
		background-color: transparent !important;
		padding-top: 0 !important;
		padding-bottom: 30px !important;
		float: left;
		clear: both;
		width: 100%;
	}

    .site-footer .widget-area {
        height: auto !important;
    }
    
	#text-2 {
		width: 100%;
		text-align: center;
        position: relative !important;
	}

	#text-2 h3.widget-title {
		font-family: 'Big Noodle Titling';
		font-style: normal;
		text-transform: uppercase;
		color: #808080;
		text-align: center;
		margin-bottom: 25px;
		font-size: 1.5em;
	}

	.site-footer {
		background-color: transparent;
		border-top: 1px solid #a6a6a6;
		border-bottom: 1px solid #a6a6a6;
		margin-bottom: 20px;
		clear: both;
	}

	.site-info {
		max-width: none;
		padding: 15px 0;
		width: 100%;
		font-family: 'Big Noodle Titling';
		text-transform: uppercase;
		clear: both;
		color: #808080;
	}

	.page-id-4 .site-info {
		border-top: 1px solid #a6a6a6;
	}

	.site-info p {
		font-family: 'Big Noodle Titling' !important;

		margin: 0;
		font-size: 1.4em;
	}

	.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 textarea {
		width: 100%;
		border: 1px solid #a6a6a6;
		border-radius: 5px;
	}

	.wpcf7 input[type=submit] {
		background: #e20054;
		border: 1px solid #a6a6a6;
		border-radius: 5px;
		padding-left: 50px;
		padding-right: 50px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.wpcf7 input[type=submit]:hover {
		background: #f21064;
	}

	.event-title { 
		width: 100%;
		float: left;
		clear: none;
		font-family: 'Big Noodle Titling';
		text-transform: uppercase;
		color: #808080;
		padding-bottom: 10px;

	}


	th.event-time {
		width: 30%;
		min-width: 150px;
	}

	.css-events-list tr {
		background-color: rgba(255,255,255,0.3);
		border: 1px solid #a6a6a6;

	}

	.css-events-list td, .css-events-list th {
		border-bottom: 1px solid #a6a6a6;
		padding: 5px;
	}

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

		.site {
			min-width: 0;
		}

		.site-header {
			text-align: center;
		}

		.site-header .home-link {
			width: 60% !important;
			height: auto;
		}

		.home-link img {
			width: 70%;
		}

		#navbar {
			display: block;
			width: 100%;
			text-align: center;
			margin-top: 0;
		}

		.main-navigation {
			height: auto;
		}

		.header-bottom {
			text-align: center;
			margin-top: 0;
			height: auto;

		}

		.header-bottom .hahmot {
			float: none;
			height: 50px;
			left: 0;

		}

		.header-bottom .hahmot img {
			max-height: 50px;

		}




	/*.header-bottom .fb-icon {
		float: right;
		}*/

		.em-booking-form-details input.input, .em-booking-form-details textarea {
			width: 90%;
		}

		.em-booking-form input[type=checkbox] {
			width: auto;
		}

	}

	@media screen and (max-width: 768px){
		#post-4 .entry-content {
			width: 80%;
			float: none;
			margin: 0 auto;
		}

		.events-wrap {
			width: auto;
			float: none;
			text-align: center;
		}

		.events-wrap div:first-child {
			margin-left: 0;
			display: block;
			text-align: left;
			margin-bottom: 0;
			width: 100%;
		}

		.events-wrap hr:nth-child(2) {
			display: block;
		}
		.events-wrap div {
			margin-left: 0;
			display: inline-block;
			width: 30%;
			text-align: left;
		}

		.events-wrap button {
			width: 70%;
		}

		.events-wrap hr {
			display: none;
		}

		.single-event .entry-content {

			width: 95%;
			margin: 0 auto 0 5%;
			padding: 0;
			padding-left: 0 !important;
		}

		.event-info {
			clear: both;
			width: 100%;
		}

		.event-form {
			clear: both;
			width: 100%;
		}
		
		.entry-thumbnail img { 
			margin-top: 5px;
			float: none;
			width: 100% !important;
			
		}
		
		

	}

	@media screen and (max-width: 643px) {
		.nav-menu li a:after {
			content: none;
		}

		.toggled-on .nav-menu li a {
			font-size: 1.3em;
			transition: color 0.5s;
			-webkit-transition: color 0.5s; /* Safari */
		}

		.toggled-on .nav-menu li a:hover {
			background: #220e10;
			color: #fff;
			transition: color 0.5s;
			-webkit-transition: color 0.5s; /* Safari */
		}
		.header-bottom .fb-icon {
			bottom: 5px;
		}

		.events-wrap hr:nth-child(2) {
			width: 100%;
		}

		.events-featured {
			min-width: 200px;
			float: left;
			margin-bottom: 20px;
		}

		.sidebar-container {
			padding-bottom: 0 !important;
		}

		#text-2 {
			width: 100%;
			text-align: center;
			position: relative !important;
			margin: 0 !important;
			padding: 0!important;
			left: 0 !important;
		}

		.partner-logo {
			width: 20%;
			margin-left: 2%;
			margin-right: 2%;
			margin-bottom: 20px;
			min-width: 120px;
		}

		.page-id-6 .entry-header {
			width: 100%;
		}

		.entry-title {
			font-size: 1.8em;
			white-space: nowrap;
		}

		.entry-thumbnail img {
			float: none;
			width: 80%;
			margin-left: 0;
			margin-top: 0;
			max-width: 250px;
			margin: 0 auto;
			margin-bottom: 15px;
		}

		/*valmentajat -osio*/

		div.threecolumn {
			width: 99%;
			clear: both;

		}

		div.three {

			width: 100% !important;
			padding: 5px;
		}

		.three img{
			text-align: center;
			margin: 0 auto;
			width: 100%;
		}
		
		.entry-thumbnail img { 
			margin-top: 5px;
			float: none;
			width: 100% !important;
			
		}


	}

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

		.site-header .home-link {
			width: 100% !important;
		}

		.home-link img {
			width: 80%;
			min-width: 220px;
			max-width: 250px;
		}

		.header-bottom .hahmot {
			display: none;
		}
		
		
		.entry-title {
			font-size: 1.5em;
			white-space: nowrap;
		}

		.entry-content {
			padding-right: 0!important;
		}
		.event-form {
			width: 100%;
		}

		.event-form h2 {
			font-size: 2em;
		}

		.event-form h2:after {
			zoom: 0.5;
		}

		.em-booking-form-details {
			width: auto;
			padding: 0;
		}

		.input-checkbox {
			width: 230px;
		}

		.em-booking-form .input-field-dbem_terms label {
			margin-right: 20%;
		}
		
		.entry-thumbnail img { 
			margin-top: 5px;
			float: none;
			width: 100% !important;
			
		}
		
		h1.event-title{
			
			font-size: 2.9em;
		}
		
		.event-info h2{
			font-size: 2.0em ;
		}
		
		div.em-location-map-container {
			max-width: 400px;
		}
	}
	


	.hahmot {
		display: none;
	}

	.entry-title:after, .event-form h2:after{
		display: none !important;
	}

	div.threecolumn {
		width: 99%;
		clear: bot;
	}

	div.three {
		float: left;
		width: 33%;
		padding: 25px;
	}

	.three img{
		text-align: center;
		margin: 0 auto;
		width: 100%;
	}



/* mobiilia */
@media(max-width:1180px){
    .nav-menu li {
        float: left;
    }
}
@media(max-width:963px){
    .nav-menu li {
        float: none;
    }
    .header-bottom {
        position:absolute;
        top:100px;
        right:0
    }
}
@media(max-width:499px){
    .home-link img {
      width: 60%;
      min-width: 100px;
      max-width: 250px;
      float:left;
    }
}



