/*
Theme Name: finest
Theme URI:
Author: Kristofer Turmen
Author URI:
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finest
Tags:

This theme, like WordPress, is licensed under the GPL.

Normalizing styles:
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%;
	height:100%;
}

body {
	margin: 0;
	height:100%;
	background-size:100%;
	background-attachment:fixed;
	background-position:center;
	overflow-y: scroll;
}

.mCSB_container{
	/*height: 100%;*/
}

.mCSB_inside > .mCSB_container{
	margin: 0;
}

video.background-video{
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -1000;
	overflow: hidden;
	opacity: 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;
}

a:active,
a:hover {
	outline: 0;
}

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

b,
strong {
	font-weight: bold;
}
.entry-content b,
.entry-content strong {
	color:#155eb5;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

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: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

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

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

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

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

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

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

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

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 12px 0px;
}
.entry-content table{
	width:100% !important;
	border-collapse:separate;
	empty-cells:hide;
	/*font-family:montserratregular;*/
}

.entry-content table td{
	width:100%;
	background:rgba(21, 94, 181, 0.15);
	text-align:center;
	padding:15px 10px;
	font-size:11pt;
}
.entry-content table tr td:first-child{
	background:white;
	/*padding:0px 5px;*/
}
.entry-content table tr:first-child td,
.st-head-row.st-head-row-main td
{
	background:#155eb5;
	color:white;
	padding:5px 10px;
	font-size:10pt;
	/*padding:0px 5px;*/
}
.st-head-row.st-head-row-main{
	min-height: 50px;
}
td,
th {
	padding: 0;
}



/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: montserratlight, sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
h1.entry-title{
	color: white;
}
h3{
	font-family:montserratultra_light;
	font-size:1.5em;
	/*margin:0em;*/
	color:#155eb5;
}
h4{
	font-size:1.2em;
	margin-bottom:0.8em;
}
p {
	margin-bottom: 1.5em;
	font-size:9.5pt;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	/* background: #fff; Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
.header-wrapper{
	width:100%;
	position:fixed;
	z-index: 10;
}
#masthead{
	max-width:1000px;
	margin:auto;
	background-color:#155eb5;
	padding:30px 10px 20px 10px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button:not(.menu-toggle),
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
button.menu-toggle:hover, button.menu-toggle:focus, button.menu-toggle:active{
	border:none;
	box-shadow:none;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.languageselector{
	float: right;
	list-style-type:none;
	margin:-9px 30px 0px 0px;
	font-size:1.4em;
	padding:0px;
}
.languageselector.mobile{
	margin-top:-2px;
	display:none;
}
@media screen and (min-width: 37.5em) {
	.languageselector.mobile{
		display: none !important;
	}
}

@media screen and (max-width: 37.5em) {
	html, body {
		height: 100%;
	}
	html {
		overflow-y: hidden;
	}
	body {
		overflow-y: scroll;

		/*background: #000 url("http://fineststeel.ee/wordpress/wp-content/themes/finest/images/taustafoto_finest.jpg") cover no-repeat fixed center;*/
	}
	.background-video{
		display: none;
	}
	.languageselector.desktop{
		display:none;
	}
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #2887D8;
	text-decoration:none;
	outline:none;
}

a:visited {
	color: #2887D8;
}

a:hover,
a:focus,
a:active {
	color: #5DA4E0;
}

a:focus {
	/*outline: thin dotted;*/
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	/*clear: both;*/
	display: block;
	float: left;;
	/*width: 100%;*/
	font-family: robotomedium;
	font-size:11.5pt;
}
.main-navigation.mobile {
	display:none;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation.normal ul {
	display: block;
}
.main-navigation li {
	/*float: left;*/
	position: relative;
	margin-bottom:2px;
}

.main-navigation a:link {
	display: block;
	text-decoration: none;
	color:white;
	padding-left:40px;
}
.main-navigation a:visited {
	color:white;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	color: #3183C7;

}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}


.main-navigation li.current-menu-item:before{
	content: "\00a0";
	width:30px;
	float:left;
	border-bottom:2px solid white;
	font-size:5.5pt;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
	background: transparent;
    box-shadow: none;
    border: none;
    color: white;
    float: right;
    outline: none;
}
.menu-toggle{
	font-size:2em;
	margin:10px 10px 0px 0px;
	display: none;
}
@media screen and (min-width: 37.5em) {


	.main-navigation.mobile {
	display:none !important;
}
}

@media screen and (max-width: 37.5em) {
	.site-header .site-branding.header-branding{
		margin-top:5px;
	}
	.main-navigation{
		float:left;
		clear:both;
		margin:10px 0px 0px -10px;
	}
	.main-navigation.normal ul {
		display: none;
	}
	.menu-toggle {
		display: block;
	}
	.entry-content table{
		display: none;
	}
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
	display:none;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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-size: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
/*.site-header:before,*/
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-branding.header-branding{
	float:left;
	width:45%;
	margin-top:27px;
	margin-left:25px;
}

.site-logo-img{
	width:250px;
	min-width:175px;
}

#page{
	min-height:100vh;
	height:auto !important;
	height:100%;
	margin: 0 auto -7.5em;
}
.push{
	height:9em;
}
.site-footer{
	max-width:1000px;
	margin:auto;
	height:7.5em;
	background-color:#155eb5;
	position: relative;
}
.site-footer a{
	color: #6DA5D4;
}
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
	color: #2887D8;
}

.footer-content{
	max-width:800px;
	margin:auto;
	text-align:center;
}
.site-footer .site-info{
	display:inline-block;
}
.site-branding.footer-branding{
	margin:27px 20px 0px 0px;
	display:inline-block;
}
.site-branding.footer-branding .site-logo-img{
	max-width:170px;
	min-width:100px;
	height:40px;
}
.site-footer .type-jalus{
	color:white;
	margin:0px 10px 0px 30px;
	text-align:left;
	display:inline-block;
}
.site-footer .type-jalus p{
	margin:0.1em 0em;
}
.copyright{
	font-size:8pt;
	color:white;
	margin-top:20px;
	text-align:center;
}
.site-description{
	text-align: center;
    font-size: 2.2em;
    font-family: montserratbold;
	margin:4em 0em;
}
.wise
{
	position: absolute;
	width: 25px;
	bottom: 5px;
	right: 10px;
}
@media screen and (max-width: 50em) {
.site-branding.footer-branding .site-logo-img{
	max-width:140px;
	min-width:100px;
}
.site-branding.footer-branding{
margin:34px 20px 0px 0px;
}
.site-footer .type-jalus{
	margin:0px 10px 0px 10px;
}
}
@media screen and (max-width: 37.5em) {
.footer-content{
	text-align:left;
}
.site-footer .site-info{
	display:block;
	float:right;
	margin:15px 30px 0px 0px;
}
.site-branding.footer-branding{
	float:left;
	display:block;
	margin:60px 0px 0px 30px;
}
.site-branding.footer-branding .site-logo-img{
	max-width:200px;
}
.site-footer .type-jalus{
	display:block;
	margin-top:10px;
}
.push{
	height:14em;
}
#page{
	margin: 0 auto -13em;
}
.site-footer{
	height:13em;
}
.copyright{
	float:left;
	width:100%;
	clear:both;
}
}
@media screen and (max-width: 30em) {
.site-footer .site-info{
	margin:15px 15px 0px 0px;
}
.site-branding.footer-branding{
	margin:70px 0px 0px 15px;
}
.site-branding.footer-branding .site-logo-img{
	max-width:150px;
}
.site-footer .type-jalus{
	margin-top:10px;
}
}
@media screen and (max-width: 25em) {
.site-footer .site-info{
	float:none;
	margin:20px 00px 0px 0px;
	text-align:center;
}
.site-branding.footer-branding{
	margin:20px 0px 0px 0px;
	text-align:center;
}
.site-footer .type-jalus{
	text-align:center;
}
.site-branding.footer-branding .site-logo-img{
	max-width:200px;
}
.site-branding.footer-branding{
	float:none;
}
.push{
	height:18em;
}
#page{
	margin: 0 auto -17em;
}
.site-footer{
	height:17em;
}
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}
#main.home .teenused{
	width:25%;
	float:left;
	margin:0;
}
#main.home .teenused.first{
	clear:left;
}
#main.home .teenused .post-item{
	margin:15px;
	height:300px;
	background-size:cover;
	background-position-x:50%;
	/*margin: 0px 5px 0px 5px;
	height:320px;*/
	transition: margin ease-in-out 0.15s, height ease-in-out 0.15s, filter ease-in-out 0.15s;
	-moz-filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
}
#main.home .teenused .post-item:hover{
	margin: 0px 5px 0px 5px;
	height:330px;
	-moz-filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	-o-filter: grayscale(0%);
	filter: grayscale(0%);
}
#main.home .teenused .post-item .post-info{
	height:100%;
	background-color:rgba(73,73,73,0.75);
	transition: background-color ease-in-out 0.15s;
}
#main.home .teenused .post-item .post-info:hover{
	background-color:rgba(21,94,181,0);
}
#main.home .teenused .post-item .post-info:hover > .post-title a{
	padding:15px 20px;
}
#main.home .teenused .post-info h3.post-title{
	display:block;
	width:100%;
	height:100%;
	margin:0;
}
#main.home .teenused h3.post-title a:link{
	color:white;
	display:block;
	width:100%;
	height:100%;
	padding:10px 15px;
	transition: padding ease-in-out 0.15s;
}
#main.home h3.post-title a:visited{
	color:white;
}
#main.home .teenused h3.post-title a:hover,
#main.home .teenused h3.post-title a:focus,
#main.home .teenused h3.post-title a:active {
	/*color: #5EA6E1;*/
}
#main.home .teenused .post-info .more-info{
	margin:-34px 15px 0px 15px;
	padding-top:7px;
	border-top:1px solid white;
	font-size:8pt;
	font-family:robotomedium;
	text-transform:uppercase;
	letter-spacing:1px;

}
#main.home .teenused .post-info .more-info a{
	color:white;
}
#main.home .teenused .post-info .more-info .readmore{
	float:right;
}






#main.home .uudised{
	float:left;
	width:75%;
}
#main.home .uudised.meist{
	width:100%;

}
#main.home .uudised-sisu{
	margin: 15px;
    background-color: rgba(21,94,181,0.75);
    height: 300px;
}
#main.home .uudised-sisu.meist{
    height: auto;
	padding-bottom:10px;
	margin-bottom:80px;
}
#main.home .uudised-title{
	display:inline-block;
	margin: 38px 0px 0px 20px;
    font-family: montserratlight;
	font-size:1.9em;
	line-height:0;
}
#main.home .title-separator{
	margin:6px 0px 19px 0px;
	width:155px;
	border-bottom:2px solid white;
}
#main.home .uudised .post{
	margin: 10px 20px 20px 20px;
}
#main.home .uudised .post .metasisu.date{
	font-size:9.5pt;
	margin:3px 0px;
	color:#dbdbdb;
}
#main.home .uudised .post p{
	margin:0px;
	max-height:36px;
	overflow:hidden;
}
#main.home .uudised .meist .post p{
	margin-bottom:1.5em;
	max-height:inherit;
	overflow:visible;
}
#main.home .uudised .post-info h3.post-title{
	line-height:0em;
	display:inline;
}
#main.home .home-uudised h3.post-title a:link, #main.home h3.post-title a:visited{
	color:white;
}
#main.home .home-uudised h3.post-title a:hover,
#main.home .home-uudised h3.post-title a:focus,
#main.home .home-uudised h3.post-title a:active {
	color: #5EA6E1;
}






.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.scrolldown-wrapper{
	text-align: center;
	height: 40px;
	margin-top: -40px;
}
.scrolldown{
	display: inline-block;
	width: 250px;
	height: 40px;
	background-color: #155eb5;
	cursor: pointer;
	font-weight: 400;
	font-size: 1.2em;
	line-height: 40px;
}
.scrolldown span{
	display: inline;
	margin-left: 25px;
}
.scrolldown i.ion-ios-arrow-down{
	font-size: 1.5em;
	display: block;
	float: right;
	margin: 2px 15px 0px 5px;
}
#primary.content-area{
	padding:0px 20px;
	color:white;
	margin-top:100vh;
}
#primary.content-area.regular{
	margin-top:220px;
}
#main.site-main{
	max-width:970px;
	margin:auto;
}
#main.regular .entry-header{
	outline:none;
}
#main.regular .entry-header.ui-accordion-header{
	cursor:pointer;
}
#main.regular .entry-title{
	background-color:rgba(21,94,181,0.8);
	margin:0;
	padding:10px;
	color:white;
}
#primary.kontakt #main.regular .entry-title{
	padding:10px 20px;
}
#primary.kontakt #main.regular .kontakt-map{
	margin-top:24px;
}
#main.regular .entry-title a:link, #main.regular .entry-title a:visited, #main.regular .entry-title a:active{
	color:white;
}
#main.regular .entry-title a:hover, #main.regular .entry-title a:focus{
	color:#5EA6E1;
}
#main.regular h1.entry-title:before{
	content: "\00a0";
	width:36px;
	float:left;
	border-bottom:2px solid white;
	font-size:5.5pt;
	margin:14px 10px 0px -10px;
}

#primary.kontakt #main.regular h1.entry-title:before{
	content: "";
	width:0px;
	float:none;
	border-bottom:none;
	font-size:inherit;
	margin:0;
}


#main.regular h2.entry-title:before{
	content: "\00a0";
	width:33px;
	float:left;
	border-bottom:2px solid white;
	font-size:5.5pt;
	margin:8px 10px 0px -10px;
}
#main.regular #accordion .single-content{
	display:none;
}
#main.regular .single-content{
	background-color:rgba(255, 255, 255, 0.8);
	color:#353535;
	padding:35px 40px;
}


#primary.kontakt #main.regular .single-content{
	background-color:inherit;
	color:#353535;
	padding:0px;
}
#primary.kontakt #main.regular .single-content .post .single-content{
	background-color:rgba(255, 255, 255, 0.8);
	color:#353535;
	padding:25px 25px;
}
#primary.kontakt #main.regular .single-content .post .single-content p{
	margin:0.5em 0em;
}


.entry-content{
	margin:0;
}
.entry-content p:first-child, .entry-content h1:first-child, .entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child, .entry-content h5:first-child{
	margin-top:0px;
}
.regular article.teenused{
	margin-bottom:0.8em;
}
.entry-content img.alignleft{
	margin:0em 3em 1em 0em;
}



#tabs{
	display: none;
}
#tabs .single-content.wrapper{
	padding:0px;
}
#tabs ul.category-tabs{
	list-style-type:none;
	margin:0px;
	padding:8px 0px 8px 0px;
	float:left;
	width:30%;
	background-color:rgba(21,94,181,0.25);
}
#tabs ul.category-tabs li{
	outline:none;
	color:#353535;
	text-transform:uppercase;
	font-family:montserratregular;
}
#tabs ul.category-tabs li.ui-tabs-active{
	background-color: rgba(21,94,181,0.5);
}
#tabs ul.category-tabs li:hover:not(.ui-tabs-active){
	background-color: rgba(21,94,181,0.2);
}
#tabs ul.category-tabs li a{
	color:#353535;
	display:block;
	padding:8px 20px;
}
#tabs ul.category-tabs li.ui-tabs-active a{
	color:white;
}
#tabs ul.category-tabs li a:hover{
	color:#353535;
}
#tabs ul.category-tabs li.ui-tabs-active a:hover{
	color:white;
}
#tabs article.post{
	float:left;
	width:70%;
	padding:20px 30px;
	margin:0px;
	display:none;
}
#tabs article.post .entry-title-cat{
	margin:0em 0em 0.2em 0em;
	color:#155eb5;
}
#tabs article.post .entry-title-cat a{
	color:#155eb5;
}
#tabs article.post .entry-meta{
	font-size:9.5pt;
	margin-bottom:0.5em;
	color:#155eb5;
	text-transform:capitalize;
}

/*.site-footer{
	position: absolute;
    bottom: 0px;
    width: 100%;
}
.site-info{
	height: 100px;
	background-color: #155eb5;
	max-width: 1000px;
	margin: auto;
}*/
@media screen and (max-width: 53em) {
#main.home .post-info h3.post-title{
	font-size:1.3em;
}
.entry-content img.alignleft{
	width:50%;
}
}
@media screen and (max-width: 50em) {
.site-description{
    font-size: 2em;
	margin:3em 0em;
}
#main.home .teenused.first{
	clear:none;
}
#main.home .teenused.second{
	clear:left;
}
#main.home .teenused{
	width:50%;
}
#main.home .teenused .post-item{
	margin:15px 20px;
	height:150px;
}
#main.home .teenused .post-item:hover{
	height:180px;
}
#main.home .uudised{
	float:left;
	width:100% !important;
}
#main.home .uudised-sisu{
	height:inherit;
	padding-bottom:10px;
}
#main.home .uudised .post p{
	margin:0px;
	max-height:inherit;
	overflow:visible;
}
}
@media screen and (max-width: 37.5em) {
.site-description{
    font-size: 1.5em;
	margin:2em 0em;
}
#primary.content-area{
	margin-top:130px;
}
.scrolldown-wrapper{
	display: none;
}
#primary.content-area.regular{
	margin-top:150px;
}
#primary.kontakt .site-main .single-content article.post{
	width:100%;
}
#primary.kontakt .site-main .single-content article.post.type-post .kontakt-wrapper{
	padding:0;
}
}
@media screen and (max-width: 30em) {
#tabs ul.category-tabs{
	width:100% !important;
	height:auto !important;
}
#tabs article.post{
	width:100% !important;
}
}
@media screen and (max-width: 28em) {
.site-description{
    font-size: 1.2em;
	margin:2em 0em;
}
#primary.content-area
{
	padding:0px 20px;
}
#main.regular .single-content
{
	padding:25px;
}
#primary.content-area{
	margin-top:130px;
}
#main.home .teenused{
	float:none;
	width:100%;
}
#main.home .teenused .post-item{
	margin:15px 20px;
	height:100px;
}
#main.home .teenused .post-item:hover{
	height:100px;
	margin:15px;
}
#main.home .teenused .post-item .post-info:hover > .post-title a{
	padding:10px 15px;
}
.entry-content img.alignleft{
	width:100%;
	margin-bottom:1.5em;
}
}
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


@media screen and (max-width: 750px) {
	.entry-content table tr td{
		width: 50% !important;
	}
	.entry-content table tr{
		width: 100% !important;
	}
	.entry-content iframe{
		height: 320px;
	}
}

@media screen and (max-width: 650px) {
	.entry-content iframe{
		height: 280px;
	}
}

@media screen and (max-width: 500px) {
	.entry-content iframe{
		height: 230px;
	}
	.entry-content table{
		border-collapse: collapse;
	}
	.entry-content table tbody{
		table-layout: fixed;
		display: table;
		width: 100%;
	}
}

@media screen and (max-width: 400px) {
	.entry-content iframe{
		height: 200px;
	}
}
