/*
Theme Name: Expedition

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.
*/


/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Widgets
 * 11.0 - Content
 *    11.1 - Header
 *    11.2 - Posts and pages
 *    11.3 - Post Formats
 *    11.4 - Comments
 *    11.5 - Sidebar
 *    11.6 - Footer
 * 12.0 - Media
 *    12.1 - Captions
 *    12.2 - Galleries
 * 13.0 - Multisite
 * 14.0 - Media Queries
 *    14.1 - >= 710px
 *    14.2 - >= 783px
 *    14.3 - >= 910px
 *    14.4 - >= 985px
 *    14.5 - >= 1200px
 * 15.0 - Print
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}

.st23{
	cursor: pointer;
}

.st22:hover{
	fill:green;
}

/**
 * 2.0 - Genericons
 */

.menu-item-has-children a:after,
.social-navigation a:before,
.dropdown-toggle:after,
.bypostauthor > article .fn:after,
.comment-reply-title small a:before,
.pagination .prev:before,
.pagination .next:before,
.pagination .nav-links:before,
.pagination .nav-links:after,
.search-submit:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}

:root {  --blue: #172f51; }
:root {  --yellow: #faeecc; }

@font-face {
    font-family: rubrik;
    src: url(http://expedition.biosfar.fi/wp-content/themes/expedition/font/DJBTFW-2.woff2) format('woff2');
 
    
}
#main{
	padding: 2vw;
}
column{
	display: flex;
	justify-content: space-between;
}
nav{
	width: 40%;
}
nav h1{
	text-align: center;
}
nav ul{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	justify-content: space-evenly;
	flex-wrap: wrap;
}
nav ul li{
	background-color: var(--blue);
	border-radius: 5px;
	margin: 5px;
}
nav ul li a{
	display: block;
	color: #fff;
	padding: 8px;
	text-decoration: none;
	font-weight: 400;
}


body{
	background-color: var(--yellow);
	font-family: 'Lato', sans-serif;
	font-weight: 100;
	letter-spacing: 0.3px;
	line-height: 20px;
}

.entry-title{
	font-family: rubrik, sans-serif;
	text-align: center;
	font-size: 2em;
	margin-right: 5vw;
}
.entry-header{
	display: flex;
    justify-content: center;
    align-items: center;
}
.post-thumbnail{
	width: 20%;
	
}
.post-thumbnail img{
	width: 100%;
	height: auto;
}
#page{
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#karta{
	width: 100%;
}
#kartan{
	width: 100%;
	height: auto;
}

#header{
	

}
#content{
	flex:1;
	width: 80%;
	max-width: 1366px;
	margin: 0 auto;
}
#header .logo{
	max-width: 1366px;
	display: block;
	margin: 0 auto;
}
#header img{
	width: 100%;
	height: auto;
}
#nav{
	background-color: var(--blue);
}
#nav .menu-nav-container{
	margin: 0 auto;
	max-width: 1366px;
}
#nav ul{
	width: 80%;
	display: flex;
	justify-content: center;
	flex-flow: wrap;
	list-style: none;
	margin: 0 auto;
	padding: 1% 0;
}
#nav ul li{
	padding: 1% 2%;
}
#nav a{
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-weight: 100;
	font-size: 1.5vw;
}
.wpml-ls ul{
	display: flex;
	justify-content: center;
}
.wpml-ls-flag{
	width: 60px !important;
	height: auto !important;
	-webkit-filter: drop-shadow(0px 0px 1px #222);
  filter: drop-shadow(0px 0px 1px #222);
}
.wpml-ls ul li{
	
}
.entry-content h3{
font-family: 'Rubrik', sans-serif;

}

.entry-content h3:before{
	background-image: url('http://expedition.biosfar.fi/wp-content/uploads/2018/06/vattenkikare.jpg');
	background-size: cover;
	display: inline-block;
	width: 4vw; 
    height: 4vw;
	content: "";
}
.entry-content img{
	width: 100%;
	height: auto;
}


blockquote{
	border: 6px solid #25314C;
    border-radius: 20px;
    background-color: #fff;
    color: #317890;
    font-family: 'Rubrik', sans-serif;
    font-size: 0.8em;
    padding: 0.2vw 1vw;
}
#footer{
	background-image: url(http://expedition.biosfar.fi/wp-content/themes/expedition/img/oexp-footer.png);
	background-size: cover;
	text-align: center;
	height: calc(100vw * 0.27);
	position: relative;
}
#footer img{
	width: 90%;
	    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -45%;
}


@media screen and (min-width: 1367px){
	#nav a{
		font-size: 20.5px;
	}
	
}
@media screen and (max-width: 1024px){
	#content{
		width: 95%;
	}
	#nav ul{
		width: 95%;
	}
	#nav a{
		font-size: 1.9vw;
	}
	blockquote{
		font-size: 1.5vw;
	}
}
@media (max-width: 550px){
	
	
	.post-thumbnail{
	width: 35%;
	}
	.entry-title{
	font-size: 4vw;
	margin-right: 3vw;
	}
	.entry-content h3:before{
		    width: 6vw;
    height: 6vw;
	}
	blockquote{
		font-size: 1.8vw;
	}

	
}	