/*
Theme Name: Vectorama 2016
Theme URI: http://themekraft.com/store/_tk-free-wordpress-starter-theme-based-on-twitter-bootstrap/
Author: Odetta, Imperialslug & Vectorama 2016 staff
Author URI: http://vectorama.info
Description: Väliaikainen Vectorama-teema
Version: 0.1
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: gray, light, two-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, sticky-post,  theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

This theme is the most seamless and minimalistic integration of Twitter Bootstrap Framework into
the _s starter theme from Automattic, the guys behind WordPress.

_s (or Underscores) http://underscores.me/, (C) 2012-2013 Automattic, Inc. Twitter Bootstrap

Credits:

1. Bootstrap

 * Bootstrap v3.3.1 (http://getbootstrap.com)
 * Copyright 2011-2014 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)

 * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=f58353a31151a8c05d7c)
 * Config saved to config.json and https://gist.github.com/f58353a31151a8c05d7c

2. wp_bootstrap_navwalker

* Class Name: wp_bootstrap_navwalker
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker

3. Glyphicons

 * http://getbootstrap.com/components/

*/

/* My Minimal WordPress Styling comes here */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Work+Sans:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

/**
@font-face {
	  font-family: 'suigeneris';
  src: url('includes/fonts/suigeneris.eot'); /* IE9 Compat Modes *//**
  src: url('includes/fonts/suigeneris.eot#iefix') format('embedded-opentype'),
  url('includes/fonts/suigeneris.woff2') format('woff2'),
  url('includes/fonts/suigeneris.ttf');
}

@font-face {
  font-family: 'steelfish';
  src: url('includes/fonts/steelfish.eot'); /* IE9 Compat Modes *//**
  src: url('includes/fonts/steelfish.eot#iefix') format('embedded-opentype'),
  url('includes/fonts/steelfish.woff2') format('woff2'),
  url('includes/fonts/steelfish.ttf');
}
**/

html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

/* 1. General */

body { 
    word-wrap: break-word;
    font-family: 'Roboto', sans-serif;
    color: #454545;
    line-height: 1.6;
    font-size: 16px;	
    background: #0a0a0a url(images/VEC2022_saitti_bg.png) no-repeat center center;
	background-size: cover;
	margin: 0;
}

h1,
h2,
h3 {
    font-family: 'Work Sans', sans-serif;
    color: #222;
	font-weight: 900;
	font-variant-caps: none;
}

h1 {
   font-size: 4em;
}

article h1 {
    font-size: 3em;
}

h3 {
	font-size: 2.5em;
}


h2 {
    font-size: 3em;
    margin-top: 0.5em;
}

.entry-content h1 {
    background: url(images/palkki.png) no-repeat top left;
    padding-left: 15px;
    line-height: 0.9;
}

.single .entry-content h1 {
	margin-bottom: 40px;
	font-variant-caps: none;
}

article h1,
article h2,
article h3 {

}

a {
    color: #00abe7;
    text-decoration: none;
    font-weight: bolder;
}

a.excerpt-link  {
	  font-size: 16px;
    margin-top: 0;
    position: relative;
    top: -6px;
		letter-spacing: 0.03em;
}

.center {
		text-align: center;
}

.center h2 {
	text-align: left;
}

h1 a,
h2 a,
h3 a {
    font-weight: 900;
}

a:hover {
    color: #00abe7;
    text-decoration: underline;
}

.link-big {
	font-size: 1.6em;
	text-transform: uppercase;
}

.cyan {
     color: #00abe7;   
}

.site-title, 
.site-description {
    text-align: center;
    color: #fff;
    position: relative !important;
    width: 100%;
}

.site-title {
    font-family: "Work Sans", sans-serif;
    font-size: 2.5em;
	font-weight: 900;
	font-variant: all-small-caps;
}

.site-title a {
    text-decoration: none;
    transition: all .5s ease-in;
	border-bottom: 2px solid #D94D15;
	padding-bottom: -5px;
}

.site-title a:hover {
    text-decoration: none;   
}

.site-description {
    top: -9px;
    font-family: 'Work Sans', sans-serif;
	font-weight: 300;
    font-size: 24px;
	font-variant: normal;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}

.right {
    text-align: right;
}

.vauhtiviivat {
    position: fixed;
    bottom: 0;
		pointer-events: none;
	padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
/*	display: none; */
}

@media screen and (max-width:992px) {
    .vauhtiviivat {
      display: none;
   }   
}

/* WP Gallery */
.gallery {
	margin-top: 10px;
	display: block;
}

.gallery a img {
	border: none;
	display: block;

}

.gallery img {
	margin: 0;
	display: block;
}

.gallery dd {
	margin: 0;
	display: block;
}

.gallery-caption {
	display: block;
}

.wp-block-gallery {
	margin-top: 10px;
	display: block;
}

.gallery .wp-block-image img {
	height: 200px;
	width: auto;
	margin: 0;
	padding: 0;
	display: block;
}

.gallery .wp-block-image {
	height: 200px;
	width: 200px;
	margin: 0;
	display: block;
}

.blocks-gallery-caption {
	font-family: 'Work Sans', sans-serif;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 15px;
	background-color: #00abe7;
	color: #fff;
	padding: 0.6em;
	text-shadow: 0 0 2px #0a0a0a;
	font-size: 12px;
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear {
    clear: both;
}

/* 2. Header */

#masthead {
    background: transparent;
		z-index: 9999;
}

#navigaatio-container {
		z-index: 9999;
}

h1.page-title {
    font-size: 48px;
    margin-top: 60px;
}

    h1.page-title a {
        color: #fff;
        position: relative;
        z-index: 99;
        padding-top: 20%;
    }

.header-image {
}
    .header-image img {
        width: 100%;
        opacity: 1;
 
    }

/* 3. Navigation */

.container-nav {
    padding: 0;
    position: relative;
}

.site-navigation {
    background: #00abe7;
    text-align: center;
}
/*
@media screen and (max-width:992px) {
    .site-navigation {
        background-image: none;
    }
}
*/
.site-navigation li > a {
	font-variant-caps: all-small-caps;
    font-family: 'Work Sans', sans-serif;
    font-weight: 900;
    font-size: 1.8em;
	letter-spacing: 0.5pt;
    color: #fff;
    text-shadow: 0px 0px 10px rgba(000,000,000,0.5);
    transition: all 0.1s ease-in;
    line-height: 1.7em;
    padding: 9px 14px;
}

.site-navigation li > a:hover {
    text-shadow: none;
}

.site-navigation li {
    list-style-type: circle;
}

.navbar {
    margin-top: 3px;
    margin-bottom: 0;
    min-height: 0;
}

/*.nav > li > a:hover, 
.nav > li > a:focus,
#navigaatio .current_page_item a, 
#navigaatio .current-page-ancestor a {
    font-style: italic;
    background: transparent;
}*/
.nav > li > a:hover, 
.nav > li > a:focus,
#navigaatio .current_page_item a, 
#navigaatio .current-page-ancestor a {
    background: rgba(0,0,0,0.07);
}

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

#menu-tiimivalikko {
	padding-left: 0;
}

#menu-tiimivalikko li {
	list-style-type: none;
	display: inline-block;
}

#menu-tiimivalikko li a {
	color: #fff;
	background: #00abe7;
	width: 100%;
	font-family: 'Work Sans', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px;
	display: inline-block;
	letter-spacing: 0.05em;
	font-size: 18px;
	text-shadow: 0px 0px 2px #555;
	margin-bottom: 4px;
}


/* 4. Content */

.container {
    max-width: 950px;
}

.main-container {
   background: #fff;
   position: relative;
  // left: -20px; /* Background fix */
}


.main-content-inner {
  padding-top: 6px;
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: none;
}

.single .header-image {
    max-height: 40px;
    overflow: hidden;
}

.wp-post-image {
    margin-bottom: 15px;
    position: relative;
    top: -8px;
}



/* WIDGETS

 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { 
    margin-bottom: 0; 

}

.widget,
.widget h3 {
   font-family: 'Work Sans', sans-serif;
   font-size: 1.2em;
   font-weight: 300;
   display: block;
}

.widget h3 {
   text-transform: uppercase;
   color: #fff;
   background: #0a0a0a;
   font-size: 26px;
   padding: 6px 6px 6px 14px;
   letter-spacing: 0.05em;
   margin-left: -15px;
      border-bottom: 4px solid #D94D15;

}

.widget h3:first-child {
    margin-top: 0;
}

.widget a {
    font-weight: normal;
}

.widget .nav > li > a:hover {
    font-style: normal;
    text-decoration: underline;
}

.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

.entry-meta {
	font-family: 'Work Sans', sans-serif;
    clear: both;
		margin-bottom: 1em;
		font-size: 1.2em;
		font-weight: 300;
}

/* 4.1 Sidebar */

.sidebar {
    border-right: 1px solid #ccc;
}

@media screen and (max-width:992px) {
    .sidebar {
        border-right: 0;
    }
	
}

.sidebar .nav > li > a {
    padding: 0;
}

.sidebar .nav > li {
		margin-bottom: 8px;
		line-height: 1.3;
}

.sidebar-nav {
    padding: 20px 0 0 0;
    margin: 0 0 30px 0;
}

.sidebar-nav li {
    list-style-type: none;
    width: 100%;
    margin-bottom: 4px;
}

.sidebar-nav li a {
    color: #fff;
    background: #00abe7;
    width: 100%;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    padding: 4px 4px 4px 8px;
    display: inline-block;
    font-size: 20px;
	word-break: keep-all;
}

.sidebar-nav .page_item,
.sidebar-nav .page_item a {
    transition: all 0.2s ease-out;
}

.sidebar-nav .page_item:hover,
.sidebar-nav .current_page_item {
    color: #000;
    background: #333;
}

.sidebar-nav .page_item a:hover,
.sidebar-nav .current_page_item a {
    color: #333333;
    background: #fff;
    width: 96%;
    margin-left: 5%;
    text-decoration: none;
}

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

    .sidebar-nav li,
    .sidebar-nav li a {
        width: auto !important;
        display: inline-block;
        margin: 0;
        padding: 6px;
   }
    
    .sidebar-nav .page_item a:hover, 
    .sidebar-nav .current_page_item a {
        width: 100% !important;
        margin: 0;
        background: #00abe7;
        color: #fff;
        text-decoration: underline;
    }
    
    .sidebar-nav li {
        padding: 0;
        margin-right: 6px;
    }
    
		#displaytweetswidget-4,
    #wptt_twittertweets-3 {
        display: none;
    }
		   
    .sidebar aside:first-child {
        width: 100%;
    }
    
    .sidebar aside {
        display: inline-block;
        vertical-align: top;
        width: 30%;
        margin-right: 2em;
    }
    
    #text-3 {
        position: absolute;
        right: 0;
        top: 40px;
    }
		
		.page-id-67 #text-3 {
			display: none;
		}
    
    .widget h3 {
        background: transparent;
        color: #333;
        text-align: right;
    }
    
    .page-id-94 #text-3 {
        display: none;
    }
    
    #recent-posts-2 {
        display: none;
    }
	
	.sidebar aside.widget {
		display: none;
	}
	
}

@media screen and (max-width:678px) {
      #text-3 {
        display: none;
    }

    .sidebar-nav li {
        margin-bottom: 1em;
    }

		.page-id-67 #text-3 {
			display: block;
		}		
}

/* 4.2. Page & Post*/

.entry-content p {
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
}

.entry-content h2,
.entry-content h3 {
}

.entry-content-thumbnail {
    margin-bottom: 1em;
}

.entry-content h2 {
	font-variant-caps: normal;
	font-size: 2em;
}

.entry-content h3 {
	font-size: 1.8em;
}

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #fff; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/

/* Hey, if you don't need my comments anymore, just delete me! :)  */

/* Twitter */

.tweet_data {
    font-family: "Work Sans", sans-serif !important;
    font-size: 1em !important;
}

ul.light li.tweets_avatar .times a, ul.light li.tweets_avatar .wdtf-screen-name a, ul.light li.tweets_avatar .stats a {
    font-size: 12px !important;
}

.fetched_tweets.light > li {
    border: none !important;
    box-shadow: none !important;
}

ul.light li.tweets_avatar {
    background: transparent !important;
}

.fp-somerow {
    height: 300px;
	display: block;
}

.twitter-timeline {
    display: none;
}

@media screen and (max-width:992px) {
    .fp-somerow {
        display: none;
    }
		
	
	#recent-posts-3 {
		display: none;
	}
    #fp-isonappi {
        display: block;
    }
}

#recent-posts-3 a {
	color: #333;
}





@media screen and (max-width:768px) {
    .site-title {
        font-size: 2em;
        line-height: 1.6;
        margin-bottom: 1em;
    }
    .site-description {
        top: 10px;
    }
    
    #navigaatio-container {
        display: none;
    }
       
    .navbar-toggle {
        background: #00abe7;
        color: #fff;
        position: relative;
        top: -20px;
        right: 0;
    }
    
    tr,td {
        display: block;
    }
}

/* Kuvat */

.page-id-67 .entry-content a {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 1.5em;

}
.page-id-67 h2 {
    background: #141414;
    color: #fff;
    font-size: 26px;
    padding: 6px 6px 6px 14px;
    text-transform: uppercase;
    width: 36%;
    display: block;
    padding-right: 1em;
    margin-top: 20px; 
}

/*
.instagram-feed {
    position: absolute;
    top: 150px;
    right: 1em;
}
*/
@media screen and (max-width:678px) {
    .instagram-feed {
        display: none;
    }
}

@media screen and (min-width: 768px)  {
	.sivu-instagram #sb_instagram {
		width: 150px !important;
		max-width: 150px;
		position: absolute;
		top: 100px;
		right: 20px;
	}
	
	.sivu-instagram h2 {
		position: absolute;
		top: 40px;
		right: 30px;
		background-image: none;
		width: 130px;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
	}
}

/* ToDo: Säädä mobiilinäkymän paikka  */
@media screen and (max-width:992px) {
	#logoruletti_widget_1 {
		 display: none;
		 
	}
	
    #logoruletti_widget_2,
	#logoruletti_widget_1 h3,
	#logoruletti_widget_1 br {
		display: none;
	}
}

@media screen and (max-width: 768px)  {
		#logoruletti_widget_1 {
		 display: none;
	}
}

a.button {
	color: #fff;
    padding: 8px 10px;
    background: #222;
    background: #00abe7;
	font-family: 'Work Sans', sans-serif;
	font-variant-caps: all-small-caps;
	border-radius: 5px;
	margin-top: 20px;
	font-size: 2em;
	font-weight: 900;
	display: block;
	border: 1px solid #0db6ee;
}

a.button:active,
a.button:hover {
	text-decoration: none;
	color: #fff;
	background: #2fc4f4;
	border: 1px solid #09779b;
}


.wp-block-button .liput-nappi {
	margin-top: 2em;
	margin-bottom: 2em;
}

/* liput-sivun lipunmyyntinappi 2022 */
.liput-nappi a {
	display: block;
	font-family: 'Work Sans', sans-serif;
	max-width: 80%;

}

.fp-nosto {
	box-sizing: content-box;
	display: block;
	height: 36px;
	text-align: center;
}

/*
.widget.widget_displaytweetswidget p {
	font-family: 'Work Sans', sans-serif;
	font-size: 16px;
	font-weight: normal;
	display: none;
}
*/


/* YHTEISTYÖSSÄ-SIVU */
.yhteistyossa .row {
		margin-bottom: 2em;
		border-bottom: 1px solid #ddd;
		padding-bottom: 1em;
}	

.yhteistyossa .row h3 {
	font-size: 1.5em;
}

.yhteistyossa img {
		max-width: 180px;
		max-height: 180px;
}
 @media only screen and (min-width : 992px) {
			
			.yhteistyossa  img {
						max-width: 180px;
				}

				.yhteistyossa .row {
					margin-bottom: 1em;
					margin-right: 1em;	
				}
				
				.yhteistyossa  .col-md-8,
				.yhteistyossa  .col-md-4 {
					
				}
				
				.vcenter {
					display: inline-block;
					vertical-align: middle;
					float: none;
				}
				
				.col-md-8.vcenter{
					width: 60%;
				}
			#logoruletti_widget_2 {
				margin-bottom: 0.8em;
			}
			#displaytweetswidget-4 {
				display: none;
			}		
            h3.widget-title {
                letter-spacing: 0.001pt;
            }
		}
		
.irc,
.irc a {
	color: #00abe7;
	color: #fff;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	padding-top: 6px;
	background: #222222;
	display: inline-block;
	padding: 3px;
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.irc {
	width: 33%;
}

.stream {
		margin-top: 10px;
}

.stream a {
	background: #222222;
	color: #fff;
	padding: 3px 6px;
	font-size: 0.9em;
	width: 100%;
	display: inline-block;
	margin-bottom: 6px;
}

.stream .irc {
		width: 100%;
}


/* Etusivu */

.uutiset h2,
.nosto h2 {
    color: #fff;
    padding: 4px 4px 4px 0px;
    letter-spacing: 0.04em;
    margin-top: 0;
    font-weight: 900;
	font-variant-caps: normal;
    background: #0a0a0a;
    padding-left: 20px;
}

.col-md-12 a {
	font-variant-caps: normal;
}

.col-md-12 h3 {
	font-size: 1.8em;
}

.nosto-border {
    border: 1px solid #00abe7;
}

.nosto-inner {
    padding: 10px 0;
}

.nosto-inner h2 a {
	font-size: 2.5rem;
}

.fp-h2,
.nosto-inner h2 a {
   color: #fff;
}

.fp-h2:hover,
.nosto-inner h2 a:hover {
   text-decoration: none;
	 position: relative;
	 left: 1px;
}

.fp-nosto-sisaiset-linkit h2 {
	padding-right: 0;
}


/*------------------------------
/* New frontpage */
/*
.new_frontpage .fp-content {
	font-size: 55px;
	font-family: suigeneris;
	color: #00abe7;
	padding-top: 50px;
}
*/

/* Schedule plugin */

.wcs-class__countdown-time {
	background: #00abe7;
	color: #fff;
	font-weight: bold;
	border: 1px solid #fff;
}

.wcs-timetable--countdown .wcs-class__countdown-time {
		font-size: 250%;
}

.wcs-timetable--2 .wcs-timetable--countdown .wcs-class__countdown-time::before {
	background-color: transparent !important;
}

.wcs-timetable--countdown .wcs-class__countdown-label {
	font-size: 70%;
}

.wcs-timetable--countdown .wcs-class__countdown-time::before {
	opacity: 0.95;
}

.wcs-timetable--countdown h3.wcs-class__title {
	text-align: center;
	font-size: 40px !important;
}

.mec-event-image {
	max-width: 50% !important;
}