/*!
Theme Name: alfaomega
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alfaomega
Tags: custom-background, custom-logo, custom-menu, featured-images, 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.

alfaomega is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700');
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}
p {
  margin-bottom: 1.5em;
}
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 https://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. */
}
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. */
}
figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}
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;
  padding: 3px;
}
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;
}
select {
  border: 1px solid #ccc;
}
textarea {
  width: 100%;
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: royalblue;
}
a:visited {
  color: purple;
}
a:hover,
a:focus,
a:active {
  color: midnightblue;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  left: 100%;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  float: left;
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}
@media screen and (min-width: 1011px) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}
.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 {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.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;
  clip-path: none;
  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
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}
.hentry {
  margin: 0 0 1.5em;
}
.updated:not(.published) {
  display: none;
}
.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
/*--------------------------------------------------------------
## 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,
.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%;
}
/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}
/*--------------------------------------------------------------
## 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;
}
body {
  font-family: 'Raleway', sans-serif;
  color: #3d3d3d;
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
}
h1,
h2 {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 300;
  color: #a80532;
  color: #083d77;
  text-align: center;
  margin-top: 0;
  line-height: 1.5;
}
h2 {
  margin: 0 0 4px;
}
h2 + p {
  position: relative;
  margin: 0 0 50px;
  padding: 0 0 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}
h2 + p:after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  width: 75%;
  height: 1px;
  margin: auto;
  background: #e7e7e7;
}
h2.no-description {
  position: relative;
  margin: 0 0 50px;
  padding: 0 0 20px;
}
h2.no-description:after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  width: 75%;
  height: 1px;
  margin: auto;
  background: #e7e7e7;
}
.color h2 {
  margin-top: 24px;
  color: #fff;
}
h3 {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 40px;
}
a:visited {
  color: #083d77;
}
a {
  color: #003162;
  color: #083d77;
  font-weight: 400;
}
a:hover,
a:focus,
a:active {
  color: #a80532;
  font-weight: 400;
}
.button-container {
  height: 42px;
}
.button {
  display: inline-block;
  font-size: 17px;
  font-weight: 300;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 3px 22px;
  transition: all 0.25s ease-out;
  cursor: pointer;
}
.button:hover {
  font-weight: 300;
  color: #a80532;
  background: #fff;
}
.color .button {
  color: #fff;
}
.color .button:hover {
  font-weight: 300;
  color: #a80532;
  background: #fff;
}
section {
  margin-bottom: 90px;
}
.content-group {
  position: relative;
  z-index: 2;
}
.content-group.content-group-hidden {
  display: none;
  position: relative;
  z-index: 1;
}
header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: background 0.55s ease-in-out, padding 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out, max-height 0.2s ease-in-out;
  /* Mobile menu button */
  /* Header Media Queries */
}
header.no-bg-transition {
  transition: padding 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out, max-height 0.2s ease-in-out;
}
header.background {
  background: rgba(255, 255, 255, 0.95) !important;
  transition: background 0.3s ease-in-out !important;
}
header.nav-hidden {
  -webkit-transform: translateY(-123px);
  transform: translateY(-123px);
}
header .inner-shadow {
  opacity: 1;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.25);
  position: absolute;
  z-index: -1;
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  top: -5px;
}
header .site-title,
header .site-description {
  display: none;
}
header #site-branding {
  display: inline-block;
  float: left;
  padding: 22px 0;
  cursor: pointer;
}
header #site-branding img {
  height: 46px;
  width: auto;
  max-width: none;
  transition: 0.25s ease-in-out;
}
header #site-branding img.logo-only {
  display: none;
}
header .main-navigation {
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  line-height: 1.5;
  float: right;
  clear: none;
  width: auto;
}
header .main-navigation .menu-menu-estonian-container,
header .main-navigation .menu-menu-english-container {
  display: inline-block;
  float: left;
}
header .main-navigation ul {
  overflow: hidden;
}
header .main-navigation ul:hover li a.active:before {
  opacity: 0;
}
header .main-navigation li {
  overflow: hidden;
}
header .main-navigation li a {
  padding: 36px 20px 30px;
  color: #003361;
  font-weight: 300;
  transition: all 0.3s ease-out;
}
header .main-navigation li a:hover:before,
header .main-navigation li a:active:before {
  opacity: 1 !important;
}
header .main-navigation li a.active:before {
  opacity: 1;
}
header .main-navigation li a:before {
  opacity: 0;
  content: attr(link-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 0 30px;
  text-align: center;
  font-weight: 400;
  color: #a80532;
  background: #fff;
}
header .main-navigation li#menu-item-32,
header .main-navigation li#menu-item-84 {
  display: none;
}
header .main-navigation #languages {
  display: inline-block;
  width: 24px;
  height: 24px;
  padding: 34px 0 33px 20px;
  float: right;
  box-sizing: content-box;
  transition: padding 0.2s ease-in-out;
}
header .main-navigation #languages a,
header .main-navigation #languages img {
  width: 24px;
  height: 24px;
  outline: 0;
  transition: all 0.3s ease-out;
}
header .main-navigation #languages .lang-text {
  display: none;
}
header .main-navigation #languages a:hover img {
  opacity: 0.6;
}
header.transparent {
  padding: 15px 0;
  background: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
header.transparent .inner-shadow {
  opacity: 0;
  transition: background 0.55s ease-in-out;
}
header.transparent #site-branding {
  padding: 19px 0;
}
header.transparent #site-branding img {
  height: 50px;
}
header.transparent .main-navigation li a {
  transition: none;
}
header.transparent .main-navigation li a:before {
  background: transparent;
}
header.transparent .main-navigation li a:hover,
header.transparent .main-navigation li a:active,
header.transparent .main-navigation li a.active {
  color: transparent;
  transition: all 0.3s ease-out;
}
header.transparent + #content .hero-background-img:after {
  opacity: 1;
}
header .hamburger {
  position: absolute;
  top: 0;
  right: 0;
  padding: 29px 25px 21px;
  margin: 0;
  border: 0;
  overflow: visible;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  text-transform: none;
  transition: opacity 0.15s linear, padding 0.2s ease-in-out;
}
header .hamburger .hamburger-box {
  width: 21px;
  height: 18px;
  margin-top: -2px;
  display: inline-block;
  position: relative;
}
header .hamburger .hamburger-box .hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
  width: 21px;
  height: 2px;
  background-color: #003361;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
header .hamburger .hamburger-box .hamburger-inner:before,
header .hamburger .hamburger-box .hamburger-inner:after {
  content: "";
  display: block;
  width: 21px;
  height: 2px;
  background-color: #003361;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
header .hamburger .hamburger-box .hamburger-inner:before {
  top: -8px;
}
header .hamburger .hamburger-box .hamburger-inner:after {
  bottom: -8px;
}
header .hamburger.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.1s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
header .hamburger.hamburger--squeeze .hamburger-inner:before {
  transition: top 0.1s 0.14s ease, opacity 0.1s ease;
}
header .hamburger.hamburger--squeeze .hamburger-inner:after {
  transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
header .hamburger.hamburger--squeeze[aria-expanded="true"] .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
header .hamburger.hamburger--squeeze[aria-expanded="true"] .hamburger-inner:before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease, opacity 0.1s 0.14s ease;
}
header .hamburger.hamburger--squeeze[aria-expanded="true"] .hamburger-inner:after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}
@media only screen and (max-width: 1300px) {
  header #site-branding img {
    height: 3.54vw;
  }
  header.transparent #site-branding {
    padding: 1.46vw 0;
  }
  header.transparent #site-branding img {
    height: 3.85vw;
  }
  header .main-navigation li a {
    padding-right: 1.4vw;
    padding-left: 1.4vw;
  }
  header .main-navigation #languages {
    padding-right: 1.4vw;
  }
}
@media only screen and (max-width: 1060px) {
}
@media only screen and (max-width: 1010px) {
  header .content-container {
    padding: 0;
  }
  header #site-branding,
  header.transparent #site-branding {
    padding: 15px 24px 18px 24px;
  }
  header #site-branding img,
  header.transparent #site-branding img {
    height: 35px;
  }
  header #site-branding img.logo,
  header.transparent #site-branding img.logo {
    display: block;
  }
  header #site-branding img.logo-only,
  header.transparent #site-branding img.logo-only {
    display: none;
  }
  header.transparent .hamburger {
    padding-top: 44px;
  }
  header .main-navigation {
    width: 100%;
  }
  header .main-navigation li {
    display: block;
    float: none;
    text-align: left;
  }
  header .main-navigation li a {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 400;
  }
  header .main-navigation li a:before {
    padding: 12px 24px;
    text-align: left;
    font-weight: 400;
  }
  header .main-navigation .menu-menu-estonian-container,
  header .main-navigation .menu-menu-english-container,
  header .main-navigation #languages {
    display: block;
    float: none;
  }
  header .main-navigation #languages {
    display: none;
    height: auto;
    width: auto;
    padding: 0;
  }
  header .main-navigation #languages a {
    width: 100%;
    height: 22px;
    padding: 12px 24px 28px;
  }
  header .main-navigation #languages img {
    float: left;
    width: 22px;
    height: 22px;
  }
  header .main-navigation #languages .lang-text {
    display: inline-block;
    float: left;
    margin-left: 14px;
    font-size: 14px;
    line-height: 22px;
  }
  header .main-navigation.toggled #languages {
    display: block;
  }
}
@media only screen and (max-width: 640px) {
  header #site-branding,
  header.transparent #site-branding {
    padding-left: 12px;
  }
  header .hamburger {
    padding-right: 14px;
  }
  header .main-navigation li a {
    padding-left: 13px;
    padding-right: 13px;
  }
}
footer {
  background: #8f042b;
  padding: 30px 0;
  color: #fff;
}
footer .left,
footer .right {
  float: left;
  width: 50%;
  text-align: left;
}
footer .right {
  text-align: right;
}
footer .right .scroll-to-top {
  display: inline-block;
  cursor: pointer;
  transition: all 0.15s ease-out;
}
footer .right .scroll-to-top:hover {
  opacity: 0.75;
}
footer .right svg {
  width: 24px;
  height: auto;
  vertical-align: middle;
}
.content-container {
  max-width: 1172px;
  margin: auto;
  padding: 0 24px;
}
.full-size-photo {
  vertical-align: middle;
}
.hero-container {
  position: relative;
  height: 1200px;
  height: 100vh;
  max-height: 100%;
  margin: 0;
  font-size: 0;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.hero-container > .hero-background-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
}
.hero-container > .hero-background-img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: inset 0 110px 115px rgba(255, 255, 255, 0.65);
  height: 200px;
  transition: 0.55s ease-in-out;
  opacity: 0;
}
.hero-container #hero-arrow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5%;
  text-align: center;
}
.hero-container #hero-arrow div {
  display: inline-block;
  cursor: pointer;
}
.hero-container #hero-arrow div > div {
  opacity: 0;
}
.hero-container #hero-arrow svg {
  width: 36px;
  height: 36px;
  display: block;
  margin: auto;
}
.hero-container #hero-arrow svg + svg {
  width: 32px;
  margin-top: -19px;
}
.hero-container .inner-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(55, 2, 17, 0.53), rgba(65, 2, 20, 0.05));
}
.hero-container .content-container {
  position: absolute;
  width: 100%;
  /* Needed for IE */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.hero-container .content-container h3 {
  padding: 0 24px;
}
.hero-container .container {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 50%;
  transform: translate(0, -50%);
}
@media only screen and (max-width: 860px) {
  .hero-container .container {
    left: 24px;
    right: 24px;
  }
}
.hero-container h2 {
  margin: 0;
  color: #fff;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.25;
}
.hero-container h2 + h2 {
  margin-top: 0.4em;
  font-size: 38px;
  line-height: 1.32;
}
@media only screen and (max-width: 860px) {
  .hero-container h2 {
    font-size: 4.88vw;
  }
  .hero-container h2 + h2 {
    font-size: 4.42vw;
  }
}
@media only screen and (max-width: 660px) {
  .hero-container h2 {
    font-size: 32px;
    line-height: 1.35;
    font-weight: 500;
  }
  .hero-container h2 + h2 {
    line-height: 1.42;
    margin-top: 1em;
    font-size: 29px;
  }
}
@media only screen and (max-width: 660px) and (orientation: landscape) {
  .hero-container h2 {
    line-height: 1.15;
    font-size: 29px;
  }
  .hero-container h2 + h2 {
    margin-top: 0.2em;
    line-height: 1.22;
    font-size: 26.5px;
  }
}
@media only screen and (max-width: 380px) {
  .hero-container h2 {
    font-size: 30.5px;
  }
  .hero-container h2 + h2 {
    font-size: 27.5px;
  }
}
@media only screen and (max-width: 330px) {
  .hero-container h2 {
    font-size: 28px;
  }
  .hero-container h2 + h2 {
    font-size: 26px;
  }
}
#page-teenused {
  padding-top: 60px;
}
#page-teenused ul li strong {
  display: block;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 3px;
  line-height: 1.6;
}
#page-teenused .list:not(:last-of-type) {
  margin-bottom: 36px;
}
#page-meeskond {
  background: #a80532;
  margin-bottom: 0 !important;
  padding: 40px 0 50px;
  color: #fff;
}
#page-meeskond ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#page-meeskond ul li {
  position: relative;
  margin-bottom: 40px;
  background: rgba(95, 2, 28, 0.2);
  background: #99052e;
  background: #a30632;
  background: #8f042b;
  background: rgba(143, 4, 43, 0.85);
  transition: all 0.3s ease-out;
}
#page-meeskond ul li:nth-child(even) .picture {
  float: right;
}
#page-meeskond ul li:nth-child(even) .content:before {
  left: auto;
  right: -30px;
  border-right: 0;
  border-left: 30px solid;
  right: -20px;
  border-left: 20px solid;
}
#page-meeskond ul li:nth-child(even) .content h4,
#page-meeskond ul li:nth-child(even) .content .position {
  text-align: right;
}
#page-meeskond ul li:nth-child(even) .content .left {
  float: right;
}
#page-meeskond ul li:nth-child(even) .content .right {
  float: left;
}
@media only screen and (max-width: 975px) {
  #page-meeskond ul li:nth-child(odd) .content .right {
    display: block;
    float: left;
  }
  #page-meeskond ul li:nth-child(odd) .content .left {
    display: block;
    width: 100%;
  }
}
@media only screen and (max-width: 975px) {
  #page-meeskond ul li:nth-child(even) .content .right {
    display: block;
    float: right;
  }
  #page-meeskond ul li:nth-child(even) .content .left {
    display: block;
    float: right;
    width: 100%;
  }
}
#page-meeskond ul li .inner-container {
  position: relative;
}
#page-meeskond ul li .shadow-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: 0 3px 15px 0 rgba(95, 2, 28, 0.6);
  box-shadow: 0 4px 12px 0 rgba(95, 2, 28, 0.5);
  box-shadow: 0 6px 15px -2px rgba(95, 2, 28, 0.5);
}
@media only screen and (min-width: 768px) {
  #page-meeskond ul li:hover {
    background: none;
    background: #8f042b;
  }
  #page-meeskond ul li:hover .shadow-container {
    background-image: none;
  }
  #page-meeskond ul li:hover .content:before {
    color: #a80532;
    color: #8f042b;
  }
  #page-meeskond ul li:hover .picture:after {
    opacity: 0;
  }
}
#page-meeskond ul .picture {
  position: relative;
  float: left;
  width: 270px;
  height: 315px;
  background-size: cover !important;
  background-position: center center !important;
}
#page-meeskond ul .picture:after {
  background-image: radial-gradient(rgba(65, 2, 20, 0.15), rgba(65, 2, 20, 0.25));
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.3s ease-out;
}
#page-meeskond ul .content {
  position: relative;
  float: left;
  padding: 24px 40px;
  padding: 26px 54px;
  padding: 30px 70px 20px;
  width: calc(100% - 270px);
  text-align: justify;
}
#page-meeskond ul .content:before {
  transition: all 0.25s ease-in-out;
  content: ' ';
  width: 0;
  height: 0;
  border-bottom: 30px solid transparent;
  border-right: 30px solid;
  border-top: 30px solid transparent;
  position: absolute;
  z-index: 1;
  top: 30px;
  left: -30px;
  color: #a30632;
  color: #8f042b;
  color: rgba(143, 4, 43, 0);
  border-bottom: 20px solid transparent;
  border-right: 20px solid;
  border-top: 20px solid transparent;
  top: 40px;
  left: -20px;
}
#page-meeskond ul .content .left,
#page-meeskond ul .content .right {
  display: inline-block;
  float: left;
}
#page-meeskond ul .content .right {
  float: right;
}
#page-meeskond ul .content h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
#page-meeskond ul .content .position {
  text-transform: uppercase;
  margin: 2px 0 6px;
  font-size: 16px;
}
#page-meeskond ul .content > p {
  margin-top: 20px;
}
#page-meeskond ul .content > p:last-of-type {
  margin-bottom: 0;
}
#page-meeskond ul .content .contacts {
  margin-top: 6px;
}
#page-meeskond ul .content .contacts a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: all 0.15s ease-out;
}
#page-meeskond ul .content .contacts a:hover {
  opacity: 0.75;
}
#page-meeskond ul .content .contacts a:hover .icon {
  opacity: 0.75;
}
#page-meeskond ul .content .contacts a:nth-of-type(2n) {
  margin-left: 40px;
}
#page-meeskond ul .content .contacts .icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 14px;
  transition: all 0.15s ease-out;
}
#page-meeskond ul .content .contacts .phone {
  margin-bottom: -7px;
}
#page-meeskond ul .content .contacts .email {
  width: 30px;
  height: 30px;
  margin-bottom: -10px;
}
#page-firmast {
  padding-top: 80px;
  margin-bottom: 105px;
}
#page-firmast .left,
#page-firmast .right {
  display: inline-block;
  float: left;
  width: 50%;
}
#page-firmast .left p,
#page-firmast .right p {
  text-align: justify;
  margin: 0 0 15px;
}
#page-firmast .left {
  padding-right: 30px;
}
#page-firmast .right {
  padding-left: 30px;
}
#page-kogemus {
  margin-bottom: 0 !important;
  padding: 40px 0 90px;
  background: #a80532;
  color: #fff;
}
#page-kogemus .gallery {
  font-size: 0;
}
#page-kogemus .gallery .gallery-row .image {
  position: relative;
  float: left;
  width: 25%;
  cursor: pointer;
  box-shadow: 0 3px 15px 0 rgba(95, 2, 28, 0.6);
  transition: all 0.3s ease-out;
}
#page-kogemus .gallery .gallery-row .image:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(65, 2, 20, 0.15), rgba(65, 2, 20, 0.25));
  transition: all 0.3s ease-out;
  opacity: 1;
}
#page-kogemus .gallery .gallery-row .image .year {
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 20px;
  font-weight: 300;
  background: rgba(95, 2, 28, 0.8);
  padding: 4px 20px;
  transition: all 0.3s ease-out;
}
#page-kogemus .gallery .gallery-row .image .description {
  opacity: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 19px;
  text-align: center;
  background: rgba(95, 2, 28, 0.8);
  padding: 4px 12px;
  transition: all 0.3s ease-out;
}
#page-kogemus .gallery .gallery-row .image:hover .year,
#page-kogemus .gallery .gallery-row .image:hover .description {
  opacity: 1;
}
#page-kogemus .gallery .gallery-row .image:hover:after {
  opacity: 0;
}
#page-kogemus .gallery .content-container {
  margin: 50px auto 0;
  text-align: center;
}
#page-kogemus .logos {
  margin: 120px 0 0;
  text-align: center;
}
#page-kogemus .logos .logos-container {
  background: #fff;
  box-shadow: 0 3px 15px 0 rgba(95, 2, 28, 0.6);
  font-size: 0;
}
#page-kogemus .logos .logo-set {
  padding: 50px 0;
  text-align: center;
}
@media only screen and (max-width: 890px) {
  #page-kogemus .logos .logo-set {
    padding: 30px 24px 0;
  }
}
#page-kogemus .logos .logo-set:first-of-type {
  padding-top: 80px;
}
@media only screen and (max-width: 890px) {
  #page-kogemus .logos .logo-set:first-of-type {
    padding-top: 6vw;
  }
}
#page-kogemus .logos .logo-set:last-of-type {
  padding-bottom: 80px;
}
@media only screen and (max-width: 890px) {
  #page-kogemus .logos .logo-set:last-of-type {
    padding-bottom: 6vw;
  }
}
#page-kogemus .logos .logo-set > div {
  display: inline-block;
  float: left;
  width: 16.66%;
  padding: 20px;
  cursor: pointer;
}
#page-kogemus .logos .logo-set > div:hover .background-img {
  -webkit-filter: none;
  filter: none;
}
#page-kogemus .logos .logo-set > div:hover .background-img.bw,
#page-kogemus .logos .logo-set > div:hover .background-img.bw-2,
#page-kogemus .logos .logo-set > div:hover .background-img.bw-3 {
  opacity: 1;
}
@media only screen and (max-width: 890px) {
  #page-kogemus .logos .logo-set > div {
    width: 33.33%;
    padding-bottom: 50px;
  }
  #page-kogemus .logos .logo-set > div:nth-of-type(3n+1) {
    padding-left: 0;
  }
  #page-kogemus .logos .logo-set > div:nth-of-type(3n) {
    padding-right: 0;
  }
}
@media only screen and (max-width: 550px) {
  #page-kogemus .logos .logo-set > div {
    width: 50%;
    padding: 20px 12px 50px 0 !important;
  }
  #page-kogemus .logos .logo-set > div:nth-of-type(2n) {
    padding-right: 0 !important;
    padding-left: 12px !important;
  }
}
#page-kogemus .logos .logo-set .background-img {
  display: block;
  width: 100%;
  height: 4vw;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: all 0.25s ease-out;
}
@media only screen and (max-width: 890px) {
  #page-kogemus .logos .logo-set .background-img {
    height: 4.5vw;
  }
}
@media only screen and (max-width: 550px) {
  #page-kogemus .logos .logo-set .background-img {
    height: 6vw;
  }
}
#page-kogemus .logos .logo-set .background-img.bw {
  opacity: 0.7;
}
#page-kogemus .logos .logo-set .background-img.bw-2 {
  opacity: 0.9;
}
#page-kogemus .logos .logo-set .background-img.bw-3 {
  opacity: 0.6;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #page-kogemus .logos .logo-set .background-img.bw,
  #page-kogemus .logos .logo-set .background-img.bw-2,
  #page-kogemus .logos .logo-set .background-img.bw-3 {
    opacity: 1;
  }
}
#page-kogemus .logos .button {
  margin: 50px 0 0;
}
#page-tunnustused {
  padding-top: 80px;
  margin-bottom: 100px;
}
#page-tunnustused .list {
  margin-bottom: 60px;
}
#page-tunnustused ul li strong {
  display: block;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 3px;
  line-height: 1.6;
}
#page-tunnustused .gallery {
  font-size: 0;
}
#page-tunnustused .gallery .content {
  color: #fff;
}
#page-tunnustused .gallery .gallery-row .image {
  position: relative;
  float: left;
  width: 25%;
  cursor: pointer;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-out;
  color: #fff;
}
#page-tunnustused .gallery .gallery-row .image:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(65, 2, 20, 0.15), rgba(65, 2, 20, 0.25));
  transition: all 0.3s ease-out;
  opacity: 1;
}
#page-tunnustused .gallery .gallery-row .image .year {
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 20px;
  font-weight: 300;
  background: rgba(95, 2, 28, 0.8);
  padding: 4px 20px;
  transition: all 0.3s ease-out;
}
#page-tunnustused .gallery .gallery-row .image .description {
  opacity: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 19px;
  text-align: center;
  background: rgba(95, 2, 28, 0.8);
  padding: 4px 12px;
  transition: all 0.3s ease-out;
}
#page-tunnustused .gallery .gallery-row .image:hover .year,
#page-tunnustused .gallery .gallery-row .image:hover .description {
  opacity: 1;
}
#page-tunnustused .gallery .gallery-row .image:hover:after {
  opacity: 0;
}
#page-tunnustused .gallery .content-container {
  margin: 50px auto 0;
  text-align: center;
}
#page-tunnustused .gallery .content-container .button {
  border: 1px solid #083d77;
  padding: 3px 22px;
  transition: all 0.25s ease-out;
}
#page-tunnustused .gallery .content-container .button:hover {
  font-weight: 300;
  color: #fff;
  background: #083d77;
}
#page-kontakt {
  position: relative;
  margin-bottom: 0;
  background: #a80532;
  color: #fff;
}
#page-kontakt .left,
#page-kontakt .right {
  float: left;
  width: 50%;
}
#page-kontakt .right {
  position: relative;
  padding: 64px 32px;
}
#page-kontakt #map,
#page-kontakt .right {
  height: 600px;
}
#page-kontakt h2 {
  position: relative;
  color: #fff;
  text-align: left;
}
#page-kontakt h2:after {
  right: auto;
}
#page-kontakt h2 + p {
  text-align: left;
}
#page-kontakt h2 + p:after {
  right: auto;
}
#page-kontakt h3 {
  margin: 0;
  font-size: 24px;
  margin-bottom: 12px;
}
#page-kontakt ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#page-kontakt ul li {
  position: relative;
  margin-bottom: 10px;
}
#page-kontakt ul li.details span {
  font-weight: 400;
  margin-right: 10px;
}
#page-kontakt ul li.details:last-of-type {
  margin-bottom: 30px;
}
#page-kontakt ul li.contacts a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: all 0.15s ease-out;
}
#page-kontakt ul li.contacts a:hover {
  opacity: 0.75;
  font-weight: 400;
}
#page-kontakt ul li.contacts .icon {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin-right: 20px;
}
#page-kontakt ul li.contacts .icon.phone {
  width: 22px;
  height: 22px;
}
#page-kontakt a.author-copyright {
  display: inline-block;
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 32px;
  color: #6b0320;
  text-decoration: none;
  transition: all 0.15s ease-out;
}
#page-kontakt a.author-copyright:hover {
  color: #fff;
}
#page-kontakt a.author-copyright.mobile-theme {
  display: none;
}
@media only screen and (max-width: 767px) {
  #page-kontakt a.author-copyright.desktop-theme {
    display: none;
  }
  #page-kontakt a.author-copyright.mobile-theme {
    display: block;
  }
}
#page-kontakt .scroll-to-top-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  #page-kontakt .scroll-to-top-wrapper {
    position: relative;
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    box-ordinal-group: 3;
  }
}
#page-kontakt #scroll-to-top {
  display: inline-block;
  padding: 20px 0px;
  cursor: pointer;
  transition: all 0.15s ease-out;
}
#page-kontakt #scroll-to-top:hover {
  opacity: 0.75;
}
#page-kontakt #scroll-to-top svg {
  width: 24px;
  height: auto;
  vertical-align: middle;
}
#gallery-content {
  width: 100%;
  width: calc(100% - 4px);
  margin: 2% auto;
  padding: 44px 0 80px;
  vertical-align: top;
}
@media only screen and (max-width: 1250px) {
  #gallery-content h2.portfolio-title {
    font-size: 3.20vw;
  }
}
@media only screen and (max-width: 800px) {
  #gallery-content h2.portfolio-title {
    font-size: 26px;
  }
}
#gallery-content .intro p {
  max-width: 85%;
  margin: 0 auto 60px;
  text-align: justify ;
}
#gallery-content .intro-2 {
  margin: 0 auto 60px;
}
#gallery-content .intro-2 .left,
#gallery-content .intro-2 .right {
  display: inline-block;
  float: left;
  width: 50%;
}
#gallery-content .intro-2 .left p,
#gallery-content .intro-2 .right p {
  text-align: justify;
  margin: 0 0 15px;
}
#gallery-content .intro-2 .left {
  padding-right: 30px;
}
#gallery-content .intro-2 .right {
  padding-left: 30px;
}
#gallery-content .video-container {
  position: relative;
  padding-bottom: 56.25%;
  margin-bottom: 60px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}
#gallery-content .video-container #video-player,
#gallery-content .video-container iframe,
#gallery-content .video-container object,
#gallery-content .video-container embed {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#gallery-content .gallery {
  font-size: 0;
  transition: all 0.3s ease-out;
}
#gallery-content .gallery .content {
  text-align: center;
  transition: all 0.3s ease-out;
}
#gallery-content .gallery .content a {
  display: inline-block;
  position: relative;
  width: 20%;
  float: left;
  cursor: pointer;
  transition: all 0.3s ease-out;
  padding: 4px;
}
#gallery-content .gallery .content a:after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background-image: radial-gradient(rgba(65, 2, 20, 0.1), rgba(65, 2, 20, 0.2));
  transition: all 0.3s ease-out;
  opacity: 1;
}
#gallery-content .gallery .content a:before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  transition: all 0.3s ease-out;
}
#gallery-content .gallery .content a:hover:after {
  opacity: 0;
}
#gallery-content .gallery .content a:hover:before {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);
}
#gallery-content .gallery .content a img {
  transition: all 0.3s ease-out;
}
@media only screen and (max-width: 1250px) {
  #gallery-content .gallery .content a {
    width: 25%;
  }
}
@media only screen and (max-width: 900px) {
  #gallery-content .gallery .content a {
    width: 33.333%;
    width: calc(100% / 3);
  }
}
@media only screen and (max-width: 600px) {
  #gallery-content .gallery .content a {
    width: 50%;
  }
}
#gallery-content .gallery .gallery-row .image {
  position: relative;
  float: left;
  width: 25%;
  cursor: pointer;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-out;
}
#gallery-content .gallery .gallery-row .image:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(65, 2, 20, 0.1), rgba(65, 2, 20, 0.2));
  transition: all 0.3s ease-out;
  opacity: 1;
}
#gallery-content .gallery .gallery-row .image:hover:after {
  opacity: 0;
}
/* Content List (used in Services and Awards) */
.list.list-2-columns,
.list.list-1-column {
  display: none;
}
ul.content-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.content-list li {
  position: relative;
  width: 33.33%;
  padding: 0 0 30px 40px;
}
ul.content-list li:nth-of-type(3n + 1) {
  padding-right: 12px;
}
ul.content-list li:nth-of-type(3n - 1) {
  padding-left: 46px;
  padding-right: 6px;
}
ul.content-list li:nth-of-type(3n - 1):before {
  left: 6px;
}
ul.content-list li:nth-of-type(3n) {
  padding-left: 52px;
}
ul.content-list li:nth-of-type(3n):before {
  left: 12px;
}
ul.content-list li:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 22px;
  height: 22px;
  background: url(gfx/svg/icon-horn-4.svg) no-repeat;
  background-size: 22px 22px;
}
/* Media Queries */
@media only screen and (max-width: 1180px) {
  #page-meeskond ul .content {
    padding-right: 5vw;
    padding-left: 5vw;
  }
  #page-meeskond ul .content .contacts a:nth-of-type(2n) {
    margin-left: 3vw;
  }
}
@media only screen and (max-width: 980px) {
  .list.list-3-columns,
  .list.list-1-column {
    display: none;
  }
  .list.list-2-columns {
    display: block;
  }
  ul.content-list li {
    width: 50%;
    padding: 0 12px 30px 40px !important;
  }
  ul.content-list li:before {
    left: 0 !important;
  }
  ul.content-list li:nth-of-type(2n) {
    padding-left: 52px !important;
    padding-right: 0 !important;
  }
  ul.content-list li:nth-of-type(2n):before {
    left: 12px !important;
  }
}
@media only screen and (max-width: 975px) {
  #page-meeskond ul .content {
    padding: 2.5vw 3vw;
  }
  #page-meeskond ul .content .contacts a:nth-of-type(2n) {
    margin-left: 2.4vw;
  }
}
@media only screen and (max-width: 767px) {
  #page-meeskond ul .picture {
    display: block;
    margin: auto;
    float: none !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 41.07vw;
  }
  #page-meeskond ul .content {
    display: block;
    float: none;
    width: auto;
    padding: 2.5vw 5vw 4vw;
  }
  #page-meeskond ul li .content .contacts a {
    margin-right: 5vw;
    margin-bottom: 10px;
  }
  #page-meeskond ul li .content .contacts a:nth-of-type(2n) {
    margin: 0;
  }
  #page-meeskond ul li .content .contacts a:last-of-type {
    margin-bottom: 0;
  }
  #page-meeskond ul li:nth-child(odd) .content .right {
    display: block;
    float: left;
  }
  #page-meeskond ul li:nth-child(odd) .content .left {
    display: block;
    width: 100%;
  }
  #page-meeskond ul li:nth-child(even) .content h4 {
    text-align: left;
  }
  #page-meeskond ul li:nth-child(even) .content .right {
    display: block;
    float: left;
  }
  #page-meeskond ul li:nth-child(even) .content .left {
    float: left;
  }
  #page-kogemus .gallery .gallery-row .image,
  #page-tunnustused .gallery .gallery-row .image {
    width: 50%;
  }
  #page-kontakt .left,
  #page-kontakt .right {
    width: auto;
    float: none;
  }
  #page-kontakt .map,
  #page-kontakt #map {
    height: 600px;
  }
  #page-kontakt .right {
    height: auto;
  }
  #page-kontakt .wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
  }
  #page-kontakt .wrapper .map {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    box-ordinal-group: 2;
  }
}
@media only screen and (max-width: 720px) {
  .list.list-3-columns,
  .list.list-2-columns {
    display: none;
  }
  .list.list-1-column {
    display: block;
  }
  ul.content-list li,
  ul.content-list li:nth-of-type(2n) {
    width: auto;
    padding: 0 0 30px 50px !important;
  }
  ul.content-list li:before,
  ul.content-list li:nth-of-type(2n):before {
    left: 0 !important;
  }
  #page-kogemus .gallery .gallery-row .image .year,
  #page-tunnustused .gallery .gallery-row .image .year,
  #page-kogemus .gallery .gallery-row .image .description,
  #page-tunnustused .gallery .gallery-row .image .description {
    display: none;
  }
  #page-firmast .left,
  #page-firmast .right {
    display: block;
    float: none;
    width: auto;
  }
  #page-firmast .left p,
  #page-firmast .right p {
    text-align: justify;
    margin: 0 0 15px;
  }
  #page-firmast .left {
    padding-right: 0;
  }
  #page-firmast .right {
    padding-left: 0;
  }
}
@media only screen and (max-width: 610px) {
  #page-meeskond ul .picture {
    height: 250px;
  }
}
@media only screen and (max-width: 480px) {
  #page-meeskond ul .content {
    padding: 12px 24px 20px;
  }
}
.fancybox-bg {
  background: rgba(8, 61, 119, 0.3);
  background: rgba(0, 0, 0, 0.5);
  background: #fff;
}
.fancybox-is-open .fancybox-bg {
  opacity: 1;
}
.fancybox-button {
  background: #8f042b;
  color: #fff;
}
.fancybox-button:hover {
  color: rgba(255, 255, 255, 0.75);
}
.full-screen-fancybox .fancybox-button.fancybox-button--close {
  transition: all 1s;
}
.full-screen-fancybox .fancybox-button.fancybox-button--close.visible {
  opacity: 1;
}
.full-screen-fancybox .fancybox-slide {
  padding: 0;
}
.fancybox-slide:before {
  margin-right: 0;
}
.full-size-photos .fancybox-bg {
  background: #fff;
}
.full-size-photos.fancybox-is-open .fancybox-bg {
  opacity: 1;
}
.fancybox-caption:before {
  opacity: 0.9;
  background-image: linear-gradient(to bottom, rgba(95, 2, 28, 0), #5f021c);
}
