/*! normalize.css v3.0.1 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics

   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* base
----------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
border:0 none;
font-weight:inherit;
margin:0;
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:0;
padding:0;
vertical-align:baseline;
}

.ffa {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1; 
}

html,body{
min-height:100vh;
}

body {
background-repeat: repeat;
background-position: center center;
background-size: auto;
font-family:Merryweather,poppins,'fira sans',barlow,roboto,raleway,Montserrat,lato,ubuntu,'Open Sans','Times New Roman','Roboto Condensed',arial;
font-size:100%;
font-size:18px;
font-weight:300;
font-style:normal;
position:relative;
z-index:0;
}

section, header, footer, div, input, textarea, select, label, :before, :after{
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

p,a,li,textarea,label,input,td,table caption {
}

p,ul,ol{
margin-bottom: 30px;
}

/* Selects every <p> element that is the first <p> element of its parent
p:first-of-type{
font-size:130%;
font-weight:500;
} */

p,li,textarea,label,input,td{
font-size:18px;
line-height:1.7em;
color:#000;
font-weight:300;
}

h1,h2,h3,h4,h5,h6,table caption {
padding:0;
margin-bottom: 0.7em;
line-height:1.3em;
}

h1,h2{
font-size:28px;
color:#000;
font-weight:400;
}

h1.slogan{
font-family:poppins,'fira sans',barlow,roboto,raleway,Montserrat,lato,ubuntu,'Open Sans','Times New Roman','Roboto Condensed',arial;
margin-bottom: 0;
font-size:26px;
color:#fff;
font-weight:700;
text-transform:uppercase;
border-bottom:0px solid #bfada7;
}
h1.slogan a{
color:inherit;
}
h1.slogan span{
font-weight:300;
}

h3 {
margin-bottom: 1.2em;
color:#111;
font-size:30px;
font-weight:200;
text-transform:uppercase;
border-bottom:0px dotted #555;
}

h3:before {
content: " ";
border:1px solid #6fb0db;
display: block;
width: 50px;
margin: 0 0 15px 0;
}

h4 {
margin-bottom: 1.0em;
font-size:25px;
color:#000;
font-weight:600;
text-transform:uppercase;
}

h5 {
margin-bottom: 1.0em;
color:#000;
font-size:23px;
font-weight:400;
}

h5.slogan {
margin-bottom:0;
color:#fff;
font-size:25px;
font-weight:400;
text-transform:uppercase;
}

h6 {
margin-bottom: 0.2em;
color:#000;
font-size:21px;
font-weight:400;
}

img {
max-width:100%;
height:auto;
}

a.right,a.left,img.left,img.right {
margin:0 auto 15px;
text-align:center;
display:block;
float:none;
}

.center {
margin:0;
text-align:center;
vertical-align:top;
max-width:100%;
display:inline-block;
}

.center img{
margin-right:1px;
}

.single-img {
margin:0 auto;
margin-bottom:20px;
text-align:center;
display:block;
}

blockquote {
background: rgba(0,0,0, 0.05);
margin:50px 0;
padding:30px 30px;
border-left:3px solid #388ED6;
}

blockquote p {
margin:0;
text-align:left;
font-style:italic;
color:#000;
}

a,code{
padding:0;
background:none;
color:#E1D6C3;
color:#C4AE87;
text-decoration:none;
-webkit-transition: 0.3s;
-ms-transition: 0.3s;
transition: 0.3s;
opacity:1;
}

/* p a{
border-bottom: dashed 1px #dcde9f;
} */

a:hover {
text-decoration:none;
opacity:0.7;
}

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{
font-family:inherit;
font-size:inherit ;
font-weight:inherit;
color:inherit;
line-height:inherit;
}

sup,sub{
line-height:0;
font-size:0.75em;
vertical-align:baseline;
position:relative;
}
sup{
top:-0.5em;
}
sub{
bottom:-0.25em;
}

code {
font-family:inherit;
}

ul,ol {
padding-left: 25px;
}

ul{
list-style-type:disc;
}

ul ul,ul ol,ol ul,ol ol{
margin-bottom:0;
}

/* li:before {
margin-right: 8px;
font-family: 'FontAwesome';
font-size:inherit;
content: "\f105";
color: #78a1d8;
color:#00AFA9;
} */

li img {
margin:0 auto;
display:block;
}

table {
margin-bottom:50px;
padding:0;
border-collapse:collapse;
border-top: 0px solid #bbb;
width:100%;
}

table caption {
margin-bottom:0.4em;
padding:0;
text-align:left;
font-size:200%;
color:#000;
}

th {
background: rgba(0,0,0, 1);
padding:0.2em 0.5em;
text-align:left;
font-weight:400;
color:#fff;
font-size:22px;
border-bottom: 0px solid #555;
}

tr:nth-child(even) {
background: rgba(200,200,200, 0.2);
}

td {
margin:0;
padding:0.2em 0.5em;
text-align:left;
border-bottom: 0px solid #444;
/* min-width:20%; */
}

.prices tr td:last-child {
color:red;
}

hr {
margin:2em auto;
width:100%;
height:1px;
color:#7a7e7d;
background-color:#7a7e7d;
border:none;
}

.table-head {
background:#333;
color:#fff;
}


/* layout
----------------------------------------------- */

#container {
width:100%;
overflow:hidden;
position:relative;
z-index:0;
}

#header,#header-sub,.content-1,.content-2,.content-3,.content-4,#footer,#footer-2{
background-position: center center;
background-attachment:scroll;
background-repeat: no-repeat;
background-size:cover;
width:100%;
position:relative;
}

#container:before,.top:before,.header:before,#header:before,#footer:before,.content-2:before,.content-3:before,.content-4:before,.container-2:before,.vert-middle:before,.article:before,#container:after,.top:after,.header:after,#header:after,#footer:after,.content-1:after,.content-2:after,.content-3:after,.content-4:after,.container:after,.container-2:after,.vert-middle:after,.article:after,.diff-columns:after,.myCalendar:after  {
display: table;
content: ' ';
clear:both;
} 

#header-top {
height:60px;
width:100%;
position: relative;
z-index:5;
}

#header {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
text-align:center;
width:100%;
height:40vh;
position: relative;
z-index:5;
}

#header-sub {
background-image: url(/images/1848.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
text-align:center;
width:100%;
height:40vh;
position: relative;
z-index:5;
}

.top {
background-color:#fff;
width:100%;
height:60px;
position:fixed;
z-index:700;
}
.scrolled{
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}

.top .container {
padding-left:0;
padding-right:0;
height:100%;
position:relative;
z-index:505;
}

.top-content {
padding-left:10px;
padding-right:10px;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content:flex-end;
align-items: center;
width:100%;
height:100%;
border-top:0;
position:relative;
z-index:510;
}

a.logo {
margin-right:auto;
padding-top:5px;
padding-bottom:5px;
display: flex;
align-items:center;
max-width:32%;
height:100%;
/* max-height:100%; */
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
position:relative;
z-index:800;
}

a.logo:hover,.img-link:hover {
opacity:1;
}

a.logo img{
width:auto;
height:auto;
max-height:100%;
display:block;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}

.scrolled a.logo img{
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
max-height:100%;
}

#mm-all-menus:not( .mm-menu ) {
display: none;
}

#mm-services:not( .mm-menu ) {
display: none;
}

#all-menus {
margin-right:auto;
display: flex;
flex-direction:row;
justify-content: flex-end;
align-items: center;
height:100%;
position:relative;
z-index:510;
}

#main-menu {
list-style-type: none;
margin-bottom: 0;
padding:0;
text-transform:uppercase;
flex-direction:row;
justify-content: center;
align-items: center;
height:100%;
display:none;
}

#main-menu li{
background: none;
margin:0 10px;
font-size:16px;
color:#000;
position:relative;
z-index:600;
}

#main-menu > li{
line-height:80px;
}

/* #main-menu > li:first-child{
display:none;
}
#main-menu > li:last-child > a{
background-color:#444; 
padding-left:10px;
padding-right:10px;
padding-top:10px;
padding-bottom:10px;
} */

#main-menu li a,#main-menu li span {
margin:0 ;
font-weight:400;
color:inherit;
text-decoration:none;
}

#main-menu li span:hover {
cursor:pointer;
}

#main-menu > li > ul,#main-menu > li > ul > li > ul{
margin-top:20px;
margin-bottom:0;
padding:0 ;
text-align:left;
line-height:1.7em;
border-top:1px solid transparent;
visibility:hidden;
opacity:0;
left:0;
position:absolute;
z-index:610;
-webkit-transition: opacity .3s ease-in-out .1s, margin-top .3s ease-in-out .1s;
    -moz-transition: opacity .3s ease-in-out .1s, margin-top .3s ease-in-out .1s;
    -ms-transition: opacity .3s ease-in-out .1s, margin-top .3s ease-in-out .1s;
    -o-transition: opacity .3s ease-in-out .1s, margin-top .3s ease-in-out .1s;
    transition: opacity .3s ease-in-out .1s, margin-top .3s ease-in-out .1s;
}

#main-menu > li:hover > ul,#main-menu > li > ul > li:hover > ul {
    margin-top: 0;
    visibility: visible;
    opacity: 1;
}

#main-menu > li > ul > li > ul{
left:100%;
top:0;
border-left:1px solid transparent;
border-top:0;
}

#main-menu ul li{
margin:0;
padding: 0;
font-size:95%;
color:#fff;
display:block;
position:relative;
}

#main-menu ul li a,#main-menu ul li span {
background-color:#f5f5f5; 
margin:0 0 1px;
padding:9px 14px;
text-align:left;
color:#000;
display:block;
width:225px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

#main-menu ul li a:hover,#main-menu li span:hover {
background-color:#eee;
opacity:1;
}

li.sub a,li.sub span{
padding-right:25px !important;
position:relative;
z-index:10;
}

li.sub > a:after,li.sub > span:after {
font-family: 'Font Awesome 5 Free';
font-size:inherit;
content: "\f105";
color:inherit;
font-weight:900;
right:9px;
top:8px;
position:absolute;
z-index:11;
}

#languages {
padding-left:25px;
margin: 0;
margin-right:60px;
list-style-type: none;
display:flex;
flex-direction:row;
justify-content: center;
align-items: center;
height:100%;
}

#languages li{
margin:0 5px;
font-size:16px;
}

#languages li a {
font-weight:400;
color:#F78F1E;
color:#C4AE87;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

#languages a:hover {
opacity:1.0;
}

.content-1 {
padding-top: 7%;
position:relative;
z-index:6;
}

.content-2 {
padding-top: 8%;
padding-bottom:8%;
position:relative;
z-index:4;
}

.content-3 {
position:relative;
z-index:6;
}

.content-4 {
background-color:#111;
padding-top:30px !important;
padding-bottom:0 !important;
position:relative;
z-index:4;
}

.content-4 p, .content-4 li{
font-size:18px;
line-height:1.7em;
color:#fff;
}

.white-theme{
background-color:#fff;
padding-top:70px !important;
padding-bottom:50px !important;
}

.white-theme p, .white-theme li{
color:#000;
}

.content-5 {
margin-bottom:0 !important;

}

.content-5 > div{
margin-left:auto;
margin-right:auto;
padding-left:0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
padding-bottom:0 !important;
width:100%;
max-width:1100px;
position:relative;
z-index:12;
}

.content-6 {
padding-top: 30px;
padding-bottom:10px;
}

.container-left,.container-right{
margin:0 ;
padding:0 0 0 3%;
width:60%;
float:left;
}

.container-right{
padding:0 4% 0 0;
width:40%;
}

.container,.container-2,.container-3,.footer-container{
margin-left:auto;
margin-right:auto;
padding-left: 5%;
padding-right: 5%;
width:100%;
max-width:1200px;
position:relative;
z-index:12;
}

.container-2{
padding-left: 0;
padding-right: 0;
}

.container-3 {
}

.container-4{ 
background-color:#fff;
padding:4% 5% ;
margin:0 auto;
margin-top:-80px;
margin-bottom:0;
width: 100%;
max-width:1100px;
position: relative;
z-index: 100;
}



#footer {
background-color:#000;
padding-top:20px;
}

.kontakt-all{
margin: 0;
padding:0 0 10px;
text-align:center;
}

#footer p{
margin-bottom:10px;
padding:0;
color:#aaa;
}

#footer i{
margin-left: 6px;
color:#C4AE87;
}

.logo-footer {
margin-left:auto;
}



/* vetical-align middle
------------------------------------- */

.vert-middle {
margin-left: auto;
margin-right: auto;
width:100%;
max-width:1200px;
height:100%;
position:relative;
z-index:13;
}

.middle-box { 
padding-left:5%;
padding-right:5%;
padding-top:60px;
padding-bottom:4%;
height:100%;
display: flex;
flex-direction:column;
justify-content: flex-end;
align-items:flex-start;
position:relative;
z-index:12;
}

.middle-box-content{
text-align:left;
width:100%;
}

.middle-box-content h2 {
margin-bottom:0.1em;
font-size:30px;
color:#fff;
line-height:1.3em;
font-weight:700;
/* text-transform:uppercase; */
font-style:normal;
}

.middle-box-content p{
margin-bottom:0;
color:#fff;
line-height:1.3em;
font-size:22px;
font-weight:400;
}



/* background-images
------------------------------------ */

.bg-image {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
z-index:0;
}

.bg{
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
width:100%;
position:relative;
}

.bg-0{
background-image: url(/images/10.jpg);
}

.bg-1{
background-color:#E1D6C3;
}

.bg-8{
background-color:#92a65f !important;
padding-top: 3% !important;
padding-bottom: 1% !important;
}

.section-bg-01{
background-image: url(/images/4.jpg);
background-repeat: repeat-x;
background-attachment:local ;
background-attachment:fixed ;
background-position: center bottom;
}



/* curtains
---------------------------------- */

.header-curtain{
background: rgba(0,0,0, 0.20);
left: 0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index: 3;
}

.header-curtain-2{
left:0;
right:0;
top: 0;
bottom:0;
position: absolute;
z-index:10;
}

.section-curtain-1{
background: rgba(0,0,0, 0.05);
left: 0;
right:0;
top:0;
bottom:0;
width: 100%;
height:100%;
position: absolute;
z-index: 8;
}

.section-curtain-2{
left: 0;
right:0;
bottom:0;
width: 100%;
height: 40px !important;
position: absolute;
z-index: 4;
}

.section-curtain-2:before {
background: rgba(255,255,255,1);
content: ' ';
left:0;
right:0;
top: 0;
width: 100%;
height:400px;
border-top: 4px solid #B39B49;
-webkit-transform: skewY(-1.7deg);
-ms-transform: skewY(-1.7deg);
transform: skewY(-1.7deg);
position: absolute;
z-index: -100;
}

.section-curtain-3{
background: rgba(0,0,0,0);
background: linear-gradient(to top, rgba(20,20,20,0.66) 0%, rgba(8,8,8,0.15) 45%, rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#111111', GradientType=1 );
left: 0;
right:0;
bottom:0;
width: 100%;
height:100%;
position: absolute;
z-index: 10;
}

.footer-curtain{
background-image: url(/images/3.jpg);
background-position: center bottom;
left: 0;
right:0;
bottom:0;
width:100%;
height: calc(100% + 200px);
position: absolute;
z-index: -1;
}


/* inline article list
---------------------------------------- */

.article-list-inline{
margin-left:0;
padding-left:0;
line-height:1.4em;
}

.article-list-inline li{
margin-left:0;
padding-left:5px;
display:inline;
}

.article-list-inline li:after{
content: ",";
margin-left:-3px;
}

.article-list-inline li:last-child:after{
content: "";
}

.h-inline-block{
margin-right:10px;
margin-bottom:0;
float:left;
}



/* tulbad 
-------------------------------------------- */

.tulbad-2,.tulbad-3,.tulbad-4{
display: flex;
flex-direction:row;
flex-wrap: wrap;
width:100%;
}

.tulbad-2 > div,.tulbad-3 > div,.tulbad-4 > div{
margin-right:0;
margin-bottom: 3%;
text-align:left;
vertical-align:top;
display:inline-block;
width:100%;
}


/* veerud-2-big
------------------------------------------ */

.veerud-2-big{
display: flex;
flex-wrap: wrap;
}

.veerud-2-big > div{
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
padding-bottom:60%;
vertical-align:top;
display:inline-block;
position:relative;
width:100%;
}



/* veerud
---------------------------------------- */

.veerud-1,.veerud-2,.veerud-3,.veerud-4,.veerud-5{
display: flex;
flex-wrap: wrap;
}

.veerud-1 > div,.veerud-2 > div,.veerud-3 > div,.veerud-4 > div,.veerud-5 > div{
vertical-align:top;
display:inline-block;
position:relative;
width:100%;
overflow:hidden;
}


/* 2 columns with different width  
-------------------------------------------- */

.diff-columns{
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction:row;
flex-wrap: wrap;
width:100%;
}

.diff-columns > div{
margin-bottom: ;
overflow:hidden;
position:relative;
width:100%;
}


/* mosaic images 
-------------------------------------------- */

.mosaic-images{
display: flex;
flex-wrap: wrap;
width:100%;
}

.mosaic-images > div{
flex-basis:50%;
display:none;
}

.mosaic-images > div:first-child,.mosaic-images > div:nth-child(2){
display:block;
}

.mosaic-images > div > div{
padding-bottom:140%;
width: 100%;
position: relative;
z-index:5;
}

.mosaic-images img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}




/* mm-menu
-------------------------------------------- */

/*
.mm-listview li:nth-child(1) .mm-next,.mm-listview li:nth-child(4) .mm-next,.mm-listview li:nth-child(5) .mm-next{
display:none;
}
.mm-listview li:nth-child(1) .mm-next+a,.mm-listview li:nth-child(4) .mm-next+a,.mm-listview li:nth-child(5) .mm-next+a{
margin-right:0;
}
*/


/* read on + posted
------------------------------------ */

.meta {
margin:0 ;
padding:0;
text-align:right;
line-height:1.5em;
}

.edasi,.tagasi {
margin-top: 0;
padding-left:0;
padding-right:0;
padding-top:5px;
text-align:right;
border-top:solid 1px #000;
}

.edasi a,.tagasi a{
padding-right:7px;
line-height:15px;
font-size:100%;
color:#111;
text-decoration: none;
text-transform:uppercase;
font-style: normal;
font-variant-ligatures: normal;
font-variant-caps: normal;
font-variant-numeric: normal;
font-weight: normal;
font-stretch: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display:inline;
border:0px solid #6fb0db;
border-radius:300px;
}

.edasi a:hover,.tagasi a:hover{
opacity:1.0;
}

.edasi a:after,.tagasi a:before {
font-family: 'Font Awesome 5 Free';
font-size:inherit;
color: #444;
font-weight:900;
transition: margin 0.15s linear 0s;
-moz-transition: margin 0.15s linear 0s;
-webkit-transition:margin 0.15s linear 0s;
-o-transition: margin 0.15s linear 0s;
}

.edasi a:after {
content: "\f105";
margin-left:7px;
}

.tagasi a:before {
content: "\f104";
margin-right:7px;
}

.edasi a:hover:after{
margin-left:14px;
margin-right:-7px;
}

.tagasi a:hover:before{
margin-right:14px;
}

.posted {
margin-bottom: 20px;
padding: 0;
font-weight:400;
color:#111;
font-style:normal;
text-transform:uppercase;
position:relative;
z-index:1;
}

.date:before {
display: block;
position: absolute;
content: ' ';
top: 50%;
width: 100%;
height: 2px;
background-color: #999;
z-index: 0;
}


/* product list
------------------------------------------ */

.cat {
margin:0 auto;
padding:50px 0;
text-align:center;
width:100%;
}

.cat li {
background:none;
margin-right:5px;
margin-bottom:5px;
padding-bottom:70%;
display:inline-block;
width:80%;
overflow:hidden;
position:relative;
z-index: 5;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.cat > li > a{
left: 0;
bottom: 0;
background: rgba(0,0,0, 0.7);
padding:6px 20px;
text-align:left;
font-size:19px;
text-transform:uppercase;
color:#fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
display:block;
width: 100%;
position: absolute;
z-index: 10;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.cat > li > a:hover {
text-decoration:none;
}

.cat > li > a:after {
content: url(/images/25.png);
content: '';
right:10px;
width:29px;
height:29px;
position: absolute;
z-index: 12;
}

.cat > li > img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
}



/* categories
------------------------------------------ */

.cat {
}

.cat > div{
max-width:300px;
}

.cat-img{
padding-bottom:80%;
overflow: hidden;
position: relative;
z-index:10;
}

.cat-img > a{
left:0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index:10;
-webkit-transition: transform .3s;
-o-transition: transform .3s;
-ms-transition: transform .3s;
transition: transform .3s;
}

.cat-img > a > img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
}

.cat-img:hover > a{
-webkit-transform: scale(1.15);
-ms-transform: scale(1.15);
-o-transform: scale(1.15);
transform: scale(1.15);
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
opacity:1;
}

.cat-img h6{
background-color: #fff;
margin-bottom:0;
padding-left: 2%;
padding-right: 2%;
padding-top:8px;
padding-bottom:8px;
line-height:1em;
font-size:19px;
color:#111;
font-weight:400;
text-transform:uppercase;
display:block;
width:90%;
left:0;
bottom:0;
position:absolute;
z-index:11;
-webkit-transition: padding-bottom .5s;
-o-transition: padding-bottom .5s;
-ms-transition: padding-bottom .5s;
transition: padding-bottom .5s;
}

.cat-img:hover h6{
padding-bottom: 15px;
}

.cat-text {
background-color: #fff;
padding-left: 10px;
padding-right: 10px;
padding-top:10px;
padding-bottom:10px;
text-align:center;
position: relative;
z-index:10;
}

.cat-text h5 {
margin-bottom: 0;
line-height:1.2em;
font-size:23px;
font-weight:500;
color:#000;
text-transform:uppercase;
}

.cat-text p {
margin-bottom: 0;
line-height:1.2em;
font-size:22px;
font-weight:300;
color:#000;
}

.cat-text h5:hover,.cat-text p:hover{
opacity:0.5;
}



/* categories 2 (Põrrand % Zein version)
--------------------------------------------------- */

.cat-2 {
}

.cat > div{
max-width:300px;
}

.cat-2-img{
padding-bottom:80%;
overflow: hidden;
position: relative;
z-index:10;
}

.cat-2-img > span{
left:0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index:10;
-webkit-transition: transform .3s;
-o-transition: transform .3s;
-ms-transition: transform .3s;
transition: transform .3s;
}

.cat-2-img > span > img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
}

.cat-2-img:hover > span{
transform: scale(1.15);
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
opacity:1;
cursor:default;
}

.cat-2-img h6{
margin-bottom:0;
padding-bottom:8px;
line-height:1em;
font-size:20px;
color:#111;
font-weight:400;
text-transform:uppercase;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.cat-2-img h6 > a{
color:#C4AE87;
display:block;
}

.cat-2-text{
background-color: #fff;
margin-bottom:0;
padding-left: 2%;
padding-right: 2%;
padding-top:10px;
display:block;
width:90%;
left:0;
bottom:0;
position:absolute;
z-index:11;
    max-height: 38px;  /* collapsed height */
    transition: max-height 1.0s ease-out;
}

.cat-2-text:hover {
    max-height: 500px;
    transition: max-height 1.0s ease-in;
}

.cat-2-text > h6 > a{
display:block;
}

.cat-2-text ul {
margin-bottom: 0;
padding-bottom:0;
}

.cat-2-text li {
margin-bottom: 3px;
line-height:1.2em;
font-size:18px;
font-weight:300;
}



/* header titles
---------------------------------------- */

.header-wrapper {
margin-bottom:30px;
display: flex;
flex-direction:row;
justify-content: flex-start;
align-items: center;
position:relative;
z-index:510;
}

.header-top-left,.header-top-right,.diff-header h2{
margin-bottom:0;
font-size:30px;
color:#9AC242;
color:#111;
text-transform:uppercase;
display:inline-block;
position:relative;
z-index: 100;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.header-top-right{
margin-left:auto;
}

/* .header-top-left:after,.diff-header h2:after{
margin-left:6px;
content: '\002F';
font-size:28px;
color:#fff;
} */

.header-bottom{
margin-bottom: 40px;
margin-top: -20px;
padding-left:20px;
padding-right:20px;
line-height:35px;
font-size:85%;
color:#111;
font-weight:400;
text-decoration: none;
text-transform:uppercase;
display:inline-block;
border:1px solid #aaa;
border-radius:3px;
}

.older-news{
margin-left: 0px;
margin-bottom: 0;
line-height:1em;
font-size:20px;
color:#C4AE87;
font-weight:500;
text-transform:uppercase;
display:inline-block;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.older-news a {
color:inherit;
border-bottom: dashed 0px #dcde9f;
}

.fa-slash{
margin-left:0px;
margin-right:0px;
font-size:20px;
color:#C4AE87;
transform: rotate(52deg);
top:-5px;
}



/* front news with image
------------------------------------- */

.col-content{
margin-bottom: 30px;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content: space-between;
width:100%;
}

.col-content > div:nth-child(1n){
width:38%;
}
.col-content > div:nth-child(2n){
display:flex;
flex-direction: column;
justify-content: center;
width:58%;
}

.col-content .posted {
margin-top:0;
margin-bottom:0;
padding-bottom:0;
color: #888;
font-size: 14px;
font-weight:400;
text-transform:uppercase;
}

.col-content .posted a{
font-size:inherit;
font-weight:inherit;
display:inline-block;
}

.col-content h2 {
margin-bottom: 0;
padding-bottom:0;
color: #000;
font-size: 20px;
font-weight:400;
text-transform:none;
}

.article-img{
padding-bottom:100%;
width:100%;
overflow:hidden;
position:relative;
z-index:12;
}

.article-img > a{
left:0;
right:0;
top:0;
bottom:0;
position: absolute;
transition: transform .5s;
}

.article-img > a > img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
}

.article-img:hover > a{
transform: scale(1.1);
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
opacity:1;
}

.product > div{
display:flex;
flex-direction: column;
justify-content: center;
align-items:center;
}

.product h2 {
margin-top: 5px;
margin-bottom: 5px;
padding-bottom:0;
color: #000;
font-size: 22px;
font-weight:400;
text-transform:none;
}

.product span{
background-color:#ce190c;
margin-bottom: 0;
padding:5px 10px;
font-size:14px;
color:#fff;
font-size:15px;
display:block;
}



/* mixed 3 columns
------------------------------------- */

.mix-3{
margin-bottom: 30px;
display: flex;
flex-direction: column;
width:100%;
}



/* time, month, year
------------------------------------------------- */

.posted {
margin-bottom: 20px;
padding: 0;
line-height:1em;
font-weight:300;
font-style:normal;
text-transform:uppercase;
position:relative;
z-index:1;
}

time{
display:inline-block;
}

.time-day{
padding-right:5px ;
line-height:60px;
font-size:60px;
color:#C4AE87 !important;
display:block;
float:left;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.month-year{
padding:8px 5px;
height:60px;
display:block;
float:left;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.time-month,.time-year{
line-height:1.3em;
font-size:18px;
display:block;
}

/* .date:before {
display: block;
position: absolute;
content: ' ';
top: 50%;
width: 100%;
height: 2px;
background-color: #6E2502;
z-index: 0;
} */



/* front news with image
------------------------------------- */

.col-content-2{
margin-bottom: 30px;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content: flex-start;
align-content: stretch;
}

.col-content-2 > div{
margin-bottom: 25px;
position:relative;
z-index: 100;
}

.col-content-2 .clock {
background-color:#fff;
margin-bottom:0;
padding-left: 2%;
padding-right: 2%;
padding-top:6px;
padding-bottom:6px;
line-height:1.5em;
font-size:18px;
color:#000;
font-weight:300;
display:inline-block;
left:0;
bottom:0;
position:absolute;
z-index:700;
}

.col-content-2 h2 {
padding:0;
margin-top: 10px;
margin-bottom: 10px;
line-height:1.3em;
font-size:22px;
font-weight:500;
}

.article-img-2{
padding-bottom:70%;
overflow:hidden;
position:relative;
z-index:10;
}

.article-img-2 > a{
left:0;
right:0;
top:0;
bottom:0;
position: absolute !important;
z-index:10;
-webkit-transition: transform .5s;
-o-transition: transform .5s;
-ms-transition: transform .5s;
transition: transform .5s;
}

.article-img-2 > a > img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
}

.article-img-2:hover > a{
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1);
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
opacity:1;
}



/* front news vertical (titles only)
------------------------------------ */

.block-uudised h2{
margin-bottom: 0;
color: #000;
font-size: 20px;
font-weight:400;
display:inline-block;
text-transform:none;
}

.block-uudised{
list-style-type:none;
padding-left:0;
padding-top:30px;
}

.block-uudised li {
background:none;
margin-bottom: 1.1em;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.block-uudised li a{
color:inherit;
font-weight:inherit;
position:relative;
z-index:15;
}

.block-uudised .posted {
margin-bottom:0 !important;
color: #999;
font-size: 16px;
font-weight:300;
display:inline-block;
}

.block-uudised .posted a{
font-size: 16px;
font-weight:400;
display:inline-block;
}


/* front news horizontal (titles only)
------------------------------------ */

.block-uudised-wrapper{
background-color:#111;
position:relative;
z-index:510;
}

.block-uudised h2{
margin-bottom: 0;
color: #fff;
font-size: 20px;
font-weight:400;
display:inline-block;
text-transform:none;
}

.block-uudised{
padding:40px 50px;
display: flex;
flex-direction:column;
justify-content: space-between;
align-items:flex-start;
height:100%;
position:relative;
z-index:510;
}

.block-uudised div {
margin-bottom:25px;
}

.block-uudised > div:nth-child(3n){
padding-right:0;
}

.block-uudised a{
font-weight:inherit;
position:relative;
z-index:15;
}

.block-uudised .posted {
margin-bottom:0 !important;
color: #ccc;
font-size: 16px;
font-weight:300;
display:inline-block;
}

.block-uudised .posted a{
font-size: inherit;
font-weight:inherit;
display:inline-block;
}



/* article album
----------------------------------------------- */

.article-album{
margin-bottom:30px;
padding-left:0;
display: flex;
flex-wrap: wrap;
}

.article-album li {
padding-right: 2px;
padding-bottom: 2px;
text-align:center;
width:50%;
display:block;
overflow: hidden;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.article-album li.latest {
padding-right: 0;
padding-bottom: 2px;
width:100%;
}

.article-album li a{
padding-bottom:100%;
width: 100%;
display:block;
overflow: hidden;
position:relative;
z-index:1;
}

.article-album li.latest a{
padding-bottom:70%;
}

.article-album img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
-webkit-transition: all .2s;
-o-transition: all .2s;
-ms-transition: all .2s;
transition: all .2s;
}

.article-album a:hover img {
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1);
}

.img-caption {
margin:0 auto;
padding-top:5px;
padding-bottom:0;
padding-left:0px;
padding-right:0px;
text-align:center;
/* font-style: italic; */
color:#000;
line-height:1.4em;
font-size:18px;
max-width:95%;
display:block;
}

.thumb-alt {
margin:0 auto;
padding-top:5px;
padding-bottom:15px;
text-align:center;
/* font-style: italic; */
color:#111;
line-height:1.4em;
font-size:90%;
font-weight:700;
max-width:100%;
display:block;
}

.album {
margin:0 0 20px;
padding: 0 10px;
vertical-align:top;
text-align:center;
display:inline-block;
position: relative;
overflow:hidden;
z-index:11;
}

.album a{
display: block;
position: relative;
text-align: center;
width:250px;
height:250px;
overflow: hidden;
z-index:10;
-webkit-transition: all .2s;
-o-transition: all .2s;
-ms-transition: all .2s;
transition: all .2s;
}

.album img{
margin:0 auto;
padding:0;
top: 50%;
left: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
position:absolute;
display:block;
float:none;
width:auto;
max-width:400px;
max-height:400px;
}

.album:hover a {
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
-o-transform: scale(1.05);
transform: scale(1.05);
}

.album h3 {
padding:10px 0;
margin: 0 ;
line-height:1.5em;
font-size:22px;
font-weight:400;
font-style:normal;
text-align:center;
text-transform:uppercase;
}

.album h3 a{
color:#111;
height:auto;
}



/* toggle content
---------------------------------------------- */

.toggle-content{
margin-bottom: 60px;
}

.toggle-content .toggle{
padding:0 0 15px 0;
margin: 0 ;
line-height:1.5em;
font-style:normal;
cursor:pointer;
}

.toggle-content .toggle:before,.toggle-content .toggle.alt:before {
margin: 0 6px 0 0;
font-family: 'Font Awesome 5 Free';
font-size:20px;
font-weight:900;
color:#D88F03;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
}

.toggle-content .toggle:before{
content: "\f105";
}

.toggle-content .toggle.alt:before {
content: "\f107";
}

.toggle-content div {
background-color:#f7f7f7;
margin: 10px 0 40px;
padding:25px 5%;
}

.toggle-content button{
background-color:#eee;
margin: 0;
padding:8px 25px;
font-family:inherit;
font-size:0.8em;
color:#111;
font-weight:400;
text-transform:uppercase;
border:none;
}


/* section content box
---------------------------------- */

.content-blocks > div {
margin-bottom:100px;
}

.content-blocks > div:before,.content-blocks > div:after{
display: table;
content: " ";
clear:both;
}

.section-box-content { 
background-image: url(/images/5.png);
background-position: center bottom;
background-size:100% auto;
padding:30px 15px 40px;
text-align:left;
width: 100%;
max-width:390px;
position: relative;
z-index: 1;
}

.section-box-content h2{
color:#00AFA9;
font-weight:300;
}

.section-box-content p{
color:#333;
}

.c-left {
float:left;
}

.c-right {
float:right;
}


/* navigation
------------------------------------- */


#navigation{
text-align:center;
}

#navigation p{
margin-bottom:0;
margin-left:auto;
margin-right:auto;
padding:0;
line-height:1.0em;
font-size:16px;
font-weight:400;
font-style:normal;
text-transform:uppercase;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content:center;
align-items: center;
}

#navigation a{
background: rgba(1, 1, 1, 0.7);
margin-right:1px;
padding:18px 25px;
color:#fff;
text-decoration:none;
position:relative;
z-index:3;
}

.nav-link{
color:#F78F1E;
}




/* flexbox with 2-columns
---------------------------------- */

.flex {
display: flex;
flex-direction:column;
justify-content: center;
width:100%;
}

.flex > div {
padding-top: 8%;
padding-bottom: 2%;
padding-left: 5%;
padding-right: 5%;
position: relative;
z-index: 10;
}

.flex > div .article{
margin-bottom:0;
}

.flexbox-1 {
text-align:left;
}

.flexbox-2 {
}


/* flexbox with 2 different width columns
---------------------------------- */

.flex-diff {
display: flex;
flex-direction:column;
justify-content: center;
width:100%;
}

.flexbox-big,.flexbox-small {
flex-basis: 100%;
}

.flexbox-small-content {
background-color:#A6B7B8;
margin-left:0;
padding:30px 40px 10px;
}



/* subpage width sidebar
--------------------------------------------- */

.sub-container{
margin:0 auto;
padding-bottom:0;
}

.sidebar-container{
padding-bottom:30px;
}

.sidebar-container h6{
margin:0;
line-height:2.9em;
color:#111;
font-size:20px;
text-transform:uppercase;
}




/* partnerid
----------------------------------------- */

.partnerid {
padding-bottom:0;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}

.partnerid > a {
padding-left:7px;
padding-right:7px;
padding-top:5px;
padding-bottom:5px;
display:block;
overflow: hidden;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.partnerid a:hover {
opacity:1;
}

.partnerid img{
text-indent:-5000em;
width:auto;
height:auto;
max-width:100%;
max-height:80px;
display:inline-block;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.partnerid br {
display:none;
}



/* persons profile
---------------------------------- */

.person > div {
margin-bottom:30px;
display: flex;
flex-direction:column;
justify-content: center;
}

.person-img {
margin-bottom:30px;
text-align:center;
}

.person-img img {
background: rgba(255,255,255,1);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(230,226,225,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(34%, rgba(255,255,255,1)), color-stop(100%, rgba(230,226,225,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(230,226,225,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(230,226,225,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(230,226,225,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(230,226,225,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e2e1', GradientType=0 );
margin:0 auto 10px;
padding:12px;
display:block;
max-width:200px;
border-radius:50%;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
opacity:1;
}

.person-img p{
margin-bottom:0;
font-size:95%;
}

.person-text {
text-align:left;
position: relative;
z-index: 10;
}


/* list with same icons 
---------------------------------------------- */

.list-icons {
list-style-type: none;
margin-bottom: 20px;
padding:0;
}

.list-icons li{
padding-left: 28px;
margin: 0 ;
line-height:1.5em;
color:#000;
font-weight:400;
font-style:normal;
position:relative;
z-index:0;
}

.list-icons li a{
color:inherit;
font-weight:inherit;
}

.list-icons li:before {
font-family: 'Font Awesome 5 Free';
content: "\f30b";
font-size:20px;
font-weight:700;
color:#BA2F1D;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
left:0;
top:5px;
position:absolute;
z-index:1;
}


/* list with different icons 
---------------------------------------------- */

.list-icons-diff {
list-style-type: none;
text-transform:uppercase;
margin-bottom: 20px;
padding:0;
}

.list-icons-diff li{
padding-left: 40px;
margin: 0 ;
margin-bottom: 15px ;
line-height:1.3em;
color:#000;
font-size:18px;
font-weight:700;
font-style:normal;
position:relative;
z-index:0;
}

.list-icons-diff li a{
color:inherit;
font-weight:inherit;
}

.list-icons-diff li.item-0:before, .list-icons-diff li.item-1:before, .list-icons-diff li.item-2:before, .list-icons-diff li.item-3:before, .list-icons-diff li.item-4:before, .list-icons-diff li.item-5:before, .list-icons-diff li.item-6:before, .list-icons-diff li.item-7:before, .list-icons-diff li.item-8:before, .list-icons-diff li.item-9:before, .list-icons-diff li.item-10:before, .list-icons-diff li.item-11:before {
font-family: 'Font Awesome 5 Free';
font-size:24px;
font-weight:700;
color:#BA2F1D;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
left:0;
top:0px;
position:absolute;
z-index:1;
}

.list-icons-diff li.item-0:before {
content: "\f4df";
}
.list-icons-diff li.item-1:before {
content: "\f21a";
}
.list-icons-diff li.item-2:before {
content: "\f072";
}
.list-icons-diff li.item-3:before {
content: "\f238";
}
.list-icons-diff li.item-4:before {
content: "\f4d7";
}
.list-icons-diff li.item-5:before {
content: "\f48b";
}
.list-icons-diff li.item-6:before {
content: "\f0d1";
}
.list-icons-diff li.item-7:before {
content: "\f57e";
}
.list-icons-diff li.item-8:before {
content: "\f474";
}
.list-icons-diff li.item-9:before {
content: "\f4ff";
}
.list-icons-diff li.item-10:before {
content: "\f5e1";
}



/* sections column
---------------------------------- */

.sec-content{
display: flex;
flex-direction:column;
flex-wrap: wrap;
justify-content: flex-end;
}

.sec-content > div{
display: flex;
flex-direction:row;
flex-wrap: wrap;
}

.sec-right{
justify-content: flex-end;
}

.con > div{
background-color:#fff;
padding-left: 80px;
padding-right: 50px;
padding-top:50px;
padding-bottom:50px;
position: relative;
z-index: 90;
}

.con > div:before{
content:' ';
background: rgba(98,113,123, 1);
left:0;
top:50px;
bottom:50px;
width:20px;
position: absolute;
z-index: 100;
}



/* youtube link with image
------------------------------------- */

.youtube-link{
padding-bottom:55%;
overflow:hidden;
position:relative;
z-index:10;
}

.youtube-link > a,.youtube-link-front > a{
left:0;
right:0;
top:0;
bottom:0;
position: absolute !important;
z-index:10;
-webkit-transition: transform .5s;
-o-transition: transform .5s;
-ms-transition: transform .5s;
transition: transform .5s;
}

.youtube-link > a > img,.youtube-link-front > a > img{
margin:0;
padding:0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-width:none;
-o-object-fit: cover;
object-fit: cover;
}

.youtube-link:hover > a,.youtube-link-front:hover > a{
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1);
-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
filter: grayscale(100%);
opacity:1;
}

.play {
left:0;
right:0 ;
top:0;
bottom:0;
position:absolute;
z-index:7;
}

.play:before {
font-family: 'Font Awesome 5 Brands';
content: "\f167";
color:#f11606;
font-size:3.5em;
font-weight:700;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
top: 50%;
left: 50%;
position:absolute;
z-index:8;
-webkit-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}

.play:hover {
opacity:1.0;
}


/* mosaic images 
-------------------------------------------- */

.mosaic-images{
display: flex;
flex-wrap: wrap;
width:100%;
}

.mosaic-images > div{
flex-basis:50%;
display:none;
}

.mosaic-images > div:first-child,.mosaic-images > div:nth-child(2){
display:block;
}

.mosaic-images > div > div{
padding-bottom:140%;
width: 100%;
position: relative;
z-index:5;
}

.mosaic-images img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}




/* referentsid
----------------------------- */

.ref {
margin:0 auto;
padding:50px 0;
text-align:center;
word-spacing: -0.26em;
display:block;
width:100%;
}

.ref li {
background:none;
padding:0;
word-spacing:0;
vertical-align:top;
display:inline-block;
width:50%;
overflow:hidden;
position:relative;
z-index: 5;
}

.ref > li > a{
padding-bottom:50%;
display: block;
text-align: center;
overflow: hidden;
position: relative;
z-index:6;
}

.ref a img{
margin:0 auto;
padding:0;
top: 50%;
left: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
display: block;
width: 100%;
-webkit-transition: .4s;
-o-transition: .4s;
-ms-transition: .4s;
transition: .4s;
position:absolute;
z-index:5;
}

/*
.ref img{
padding:0;
display:block;
width:100%;
}
*/

.ref span{
left: 0;
bottom:25px;
background: rgba(1, 1, 1, 0.5);
padding:8px 20px;
text-align:left;
font-size:19px;
text-transform:uppercase;
color:#fff;
display:block;
width: 80%;
position: absolute;
z-index: 10;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.ref span a{
padding:4px 40px;
color:#fff;
position:relative;
}

.ref span a:before{
top:0;
left:0;
margin:0;
padding:4px 8px;
font-family: 'Font Awesome 5 Free';
content: "\f105";
font-size:18px;
font-weight:900;
color:#ccc;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
border-radius:50%;
border:1px solid #ccc;
position:absolute;
}

.ref br{
display:none;
}

.references img{
padding:0;
max-width:100%;
}



/* contact content
--------------------------------------------------- */

.contact-content {
margin-bottom:0;
display:flex;
flex-direction:column;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
height:100%;
}

.contact-content > div{
margin-left:0px;
font-size:16px;
line-height:1.3em;
font-weight:400;
}

.contact-content .iphone,.contact-content .location,.contact-content .open{
padding-left:70px;
}

.open:before,.iphone:before,.location:before {
margin-left:-70px;
font-family: 'Font Awesome 5 Free';
font-size:35px;
font-weight:700;
color:#c6b298;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
float:left;
} 

.open:before{
content: "\f3c1";
content: "\f13e";
}

.iphone:before{
content: "\f3cd";
}

.location:before{
content: "\f3c5";
}



/* Make youtube video fit 100% with any screen resolution
---------------------------------------------------- */

.video-container {
margin-bottom:4%;
padding-bottom:56%;
width: 100%;
height: 100%; 
position: relative;
z-index: 0;
overflow: hidden;
}

.video-container iframe {
min-width: 100%; 
min-height: 100%; 
width: auto;
height: auto;
position: absolute;
z-index: -1;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
} 


/* full screen html <video> with any screen resolution and autoplay
----------------------------------------------------------------- */

.bg-video-container {
width: 100vw;
position: relative;
height:50vh;
overflow: hidden;
}

.bg-video-container video {
width: 100%;
display: inline-block;
}


/* content html <video> with any screen resolution and autoplay
----------------------------------------------------------------- */

.content-video-container {
margin-bottom:4%;
padding-bottom:56%;
width: 100%;
height: 100%; 
position: relative;
z-index: 0;
overflow: hidden;
}

.content-video-container video {
max-width: none; 
max-height: 100%; 
width: auto;
height: 100%;
position: absolute;
z-index: -1;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}

.padding-50 {
padding-bottom:50%;
}

.padding-45 {
padding-bottom:45%;
}




/* lightSlider
-------------------------------------- */

.lSSlideOuter,.lSSlideWrapper,#lightSlider,#lightSlider > div {
height:100% !important;
}

#lightSlider > div{
background-position: center top;
background-attachment:scroll;
background-repeat: no-repeat;
background-size:cover;
}

/* #lightSlider > div.first{
display:block;
} */

.lSPager {
margin-top: -60px !important;
}

.cS-hidden {
    height: 1px;
    opacity: 0;
    filter: alpha(opacity=0);
    overflow: hidden;
}


/* half border behind image
---------------------------------------------- */

.img-border-left,.img-border-right {
display:flex;
position:relative;
z-index:3; 
}

.img-border-left > *,.img-border-right > *{
border:1px solid #fff; 
/* mix-blend-mode: difference; */
}

.img-border-left:before,.img-border-right:before {
background-color:#19415A;
content: ' ';
top: -15px;
width: 50%;
height:calc(100% + 30px);
position: absolute;
z-index: -1;
opacity:1;
}

.img-border-left:before {
left:-15px;
}

.img-border-right:before {
right:-15px;
}


/* mobile-menu
--------------------------------------- */

a.mob-nav{
display: flex;
flex-direction:row;
justify-content: center;
align-items: center;
position:relative;
z-index:700;
border-radius: 0;
/* box-shadow: 0 3px 12px rgba(1,1,1,0); */
}

.burger {
display: block;
width: 30px;
}

.burger .bar {
background-color: #000;
margin: 2px 0;
border-radius: 0px;
width: 30px;
height: 3px;
float: right;
display: block;
}

a.mob-nav-services .burger .bar {
background-color: #000;
}

.burger-text{
margin-left: 13px;
line-height:30px;
color: #000;
font-size:20px;
font-weight:700;
text-transform:uppercase;
display:block;
}




/* fancybox
----------------------------------------------- */

.fancybox-slide--iframe .fancybox-content {
width  : 940px;
max-width  : 80%;
max-height : 80%;
margin: 0;
}

.fancybox-caption {
background-color: rgba(0,0,0, 0.3);
font-size: 18px;
font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
color: #fff;
}

/* hidden content */
#hidden-content{
max-width: 950px;
padding: 10px 30px;
border-radius: 4px;
opacity: 0;
transform: translateY(-50px);
transition: all .3s;
}

.fancybox-slide--complete #hidden-content{
opacity: 1;
transform: translateY(0);
}

.fancybox-caption-wrap {
background: linear-gradient(180deg,transparent 0,rgba(0,0,0,.1) 20%,rgba(0,0,0,.2) 40%,rgba(0,0,0,.6) 80%,rgba(0,0,0,.8));
text-align:center;
}


/* flexbox propertires
---------------------------------------- */

.flex-align-items-center{
display: flex !important;
align-items: center;
}


.flex-justify-content-end{
display: flex !important;
}



/* miscellanneous
------------------------------------ */

.indent {
text-align:left;
left:-5000em;
position:absolute;
z-index:500;
}

.float-left {
float:left;
}

.float-right {
float:right;
}

.align-left {
text-align:left;
}

.align-right {
text-align:right;
}

.align-center {
text-align:center;
}

.margin-center {
margin-left:auto;
margin-right:auto;
}

.hide {
display:none !important;
}

.columns-2{
column-count:1;
-moz-column-count:1; /* Firefox */
-webkit-column-count:1; /* Safari and Chrome */
}

.no-disc-ul {
list-style-type:none;
padding-left:0;
}
.no-disc-ul li{
color:#23b14d;
}
.no-disc-ul li:before {
content: '';
}
.no-disc-ul li a{
font-weight:400;
color:#000;
}


.sub-section-content {
margin-top:10%; 
margin-bottom:10%; 
padding:0 7%;
display:inline-block;
position:relative;
z-index:3; 
}

.button {
background-color:#71A416;
background-color:#476cb8;
margin:0 ;
padding: 0 15px 0 15px;
line-height:2.3em;
text-align:center;
font-size:17px;
color:#fff;
font-weight:400;
text-transform:uppercase;
text-decoration: none;
display:inline-block;
border:0px solid #fff;
border-radius:3px;
}

.button:after {
margin-left:8px;
content: "\f105";
font-family: 'Font Awesome 5 Free';
font-size:inherit;
font-weight:600;
color:#FFC00C;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
transition: all 0.3s linear 0s;
-moz-transition: all 0.3s linear 0s;
-webkit-transition: all 0.3s linear 0s;
-o-transition: all 0.3s linear 0s;
}

.down:before {
left:50%;
bottom:-25px;
font-family: 'FontAwesome';
content: "\f103";
font-size:2.0em;
background-color:#111;
margin:0 0 0 -25px;
padding:5px;
color:#fff;
border-radius:50%;
border:3px solid #fff;
position:absolute;
z-index:200;
}

.title {
margin-bottom:30px;
}

.title h1,.title h2{
margin-bottom:0;
}

.title h3 {
margin-bottom:0.2em;
font-size:24px;
}

.title p {
margin:0 0 0.2em;
}

.bg-text::before,.bg-text-en::before,.bg-text-ru::before {
font-family:'Raleway,Kanit',arial;
font-size: 90px;
line-height: 90px;
letter-spacing: 1px;
font-weight: 900;
display: none;
color: #234975;
position: absolute;
top: 40px;
left: 40px;
z-index: -1;
opacity:0.085;
}
.bg-text::before{
content: "MEIST";
}
.bg-text-en::before{
content: "COMPANY";
font-size: 70px;
}
.bg-text-ru::before {
content: "КОМПАНИЯ";
font-size: 70px;
}

.bg-title {
font-family:raleway;
font-size: 50px;
line-height: 1.0em;
text-transform:uppercase;
font-weight: 900;
display: inline-block;
color: #333;
position: absolute;
top:20px;
left: 20px;
z-index: -1;
}
.bg-title-col {
font-size: 50px;
top: -15px;
left: -15px;
}

.info-box {
background-color:#f3f4d3;
padding:30px;
text-align:center;
}
.info-box p{
margin-bottom:5px;
line-height:1.5em;
font-size:22px;
font-weight:400;
}
.info-box h6{
background-color:#446129;
margin-bottom:0;
padding:2px 30px;
font-size:30px;
color:#fff;
font-weight:700;
display:inline-block;
}

.social {
margin-right:30px;
}

.social a{
margin-left:7px;
color:#007dc7;
display:inline-block;
}

.line-top,.line-bottom {
background-color:#fff;
position:absolute;
z-index:-200;
width:100%;
height:2px;
}

.line-top{
top: 3px;
}

.line-bottom {
bottom: 3px;
}

.wrap,.highlighted{
font-family:'Annabel 1',Merriweather,Roboto,Oswald,'open sans',arial;
color: #155767;
font-size:inherit;
font-weight:400;
}

.google-map{
height:60vh;
}

.small{
font-size:90%;
}

.margin-bottom{
margin-bottom: 5%;
}

.no-padding {
padding:0 !important;
}

audio {
width: 100%;
max-width: 335px;
}

.mm-listview {
padding-left:0;
text-transform:uppercase;
}

.mm-listview li{
font-size:18px;
text-align:left;
}

.mm-listview li:before {
content: " ";
}


/* tagasiside vorm 
---------------------------------------------------*/

.comConnectForm,#txpCommentInputForm {
padding-bottom: 20px;
width:100%;
max-width: 1000px;
}

.comConnectForm fieldset{
margin: 0;
padding:30px 0px 20px;
border:0px solid #ddd;
position:relative;
}

.comConnectForm legend{
margin: 0;
padding: 5px 0;
font-size:130%;
font-weight:400;
position:absolute;
left:0;
top:-40px;
}

.comConnectForm input, .comConnectForm textarea, .comConnectForm select,#txpCommentInputForm input,#txpCommentInputForm textarea{
background-color:transparent;
margin: 3px 0;
padding: 5px;
color:#eee;
line-height:1.25em;
border-width: 0px;
border-bottom: 1px solid #999;
border-radius:0px;
width: 100%;
display:inline-block;
}

.comConnectForm label,.comConnectForm p,#txpCommentInputForm label{
margin:0 ;
padding:0 10px;
line-height:2.1em;
color:inherit;
display:none;
}

label.comRequired::after {
content: " *";
color: red;
font-weight:400;
}

.comConnectForm input.comCheckbox, .comConnectForm input.comRadio{
margin:0 0 0 30px;
padding: 0;
line-height:1.5em;
width:20px;
border:none;
box-sizing:border-box;
display:inline-block;
}

label.comCheckbox, label.comRadio{
margin:0 ;
padding:0;
text-align:left;
line-height:1.5em;
color:inherit;
display:inline-block;
float:none;
}

.comConnectForm input.comSubmit{
box-shadow: none;
background-color:#000;
margin: 15px 0 0 30%;
padding: 8px 20px;
color:#fff;
border:none;
width:auto;
display:inline-block;
}

.comThanks{
background-color:#dcebd4;
padding:15px 40px;
font-size: 125%;
font-weight:700;
border:1px solid #999;
}

.comError{
margin:0 auto 50px;
}

input::-ms-input-placeholder {
color: #999;
}

/* supported by Safari 9.2+ Firefox 51, Chrome 57 */
::placeholder {
color: #999;
font-size:80%;
font-style:italic;
opacity: 1; /* Firefox; */
}


div[style^=visibility] {
height: 0;
overflow: hidden;
}



/* mobile devices (min-width:420px) 
---------------------------------------------------*/

@media screen and (min-width:420px) {

.section-box-content { 
padding:40px 40px 60px;
}

}


/* mobile devices (min-width:500px) 
---------------------------------------------------*/

@media screen and (min-width:500px) {

a.logo{
max-width:280px;
}

.cat li {
padding-bottom:45%;
width:45%;
}

}


/* mobile devices (min-width:650px) 
---------------------------------------------------*/

@media screen and (min-width:650px) {

.top,#header-top {
height:80px;
}

a.logo{
padding-top: 10px;
padding-bottom: 10px;
max-width:350px;
}

a.left,img.left {
margin:0 15px 0 0;
float:left;
}

a.right,img.right {
margin:0 0 0 15px;
float:right;
}

#footer .container {
flex-direction:row;
}
#footer p{
text-align:left;
}

.middle-box { 
padding-bottom:2%;
}

.columns-2{
column-count:2;
-moz-column-count:2; /* Firefox */
-webkit-column-count:2; /* Safari and Chrome */
column-gap:40px;
-moz-column-gap:40px; /* Firefox */
-webkit-column-gap:40px; /* Safari and Chrome */
}

.veerud-2 > div,.veerud-3 > div,.veerud-4 > div,.veerud-5 > div{
width:50%;
}

.tulbad-2 > div,.tulbad-3 > div,.tulbad-4 > div{
width:47%;
margin-right:6%;
}

.tulbad-2 > div:nth-child(2n),.tulbad-3 > div:nth-child(2n),.tulbad-4 > div:nth-child(2n),.tulbad-4 > div:nth-child(4n){
margin-right:0;
}

.mosaic-images > div{
flex-basis:25%;
}
.mosaic-images > div:nth-child(2){
margin-top:75px;
}
.mosaic-images > div:nth-child(3){
margin-top:25px;
display:block;
}
.mosaic-images > div:nth-child(4){
margin-top:50px;
display:block;
}

.diff-columns > div{
width:30%;
}

.diff-columns > div:first-child{
padding-right:5%;
width:70%;
}

.fast-connect > div{
width:100% !important;
}

.flex {
flex-direction:row;
justify-content: flex-start;
}

.flexbox-1 {
flex-basis: 50%;
order:2;
}

.flexbox-2 {
flex-basis: 50%;
order:1;
}

.flex-2 {
flex-direction:column;
justify-content: flex-start;
}

.person > div {
flex-direction:row;
justify-content: flex-start;
}

.person-img {
margin-bottom:0;
flex-basis: 30%;
}

.person-text {
padding-left:30px;
flex-basis: 70%;
}


.article-album li {
width:16.6666%;
}

.article-album-2 li {
width:50%;
}

.article-album-3 li {
width:33.333333%;
}

.article-album-4 li {
width:25%;
}

.open:before,.iphone:before,.location:before {
font-size:55px;
} 

}


/* mobile devices (min-width:821px) 
---------------------------------------------------*/

@media screen and (min-width:821px) {


#header {
height:90vh;
}

#header-sub {
height:30vh;
}

.bg-video-container {
height:100vh;
}

.content-2 {
padding-top: 60px;
padding-bottom: 60px;
}

.sub-container{
padding-left: 5%;
}

.sidebar-container{
margin:0;
}

.columns-2{
column-gap:100px;
-moz-column-gap:100px; /* Firefox */
-webkit-column-gap:100px; /* Safari and Chrome */
}

.veerud-3 > div,.veerud-5 > div{
width:33.33333333%;
}

.tulbad-3 > div,.tulbad-3 > div:nth-child(2n){
width:31.33333333%;
margin-right:3%;
}

.tulbad-3 > div:nth-child(3n){
margin-right:0;
}

.veerud-2-big > div{
width:50%;
padding-bottom:35%;
}

.block-uudised{
flex-direction:row;
}

.block-uudised div {
margin-bottom: 0;
padding-right:30px;
}

.cat > div,.cat-2 > div{
max-width:none;
}

.cat li {
padding-bottom:25%;
width:32%;
}

.flex-2 {
flex-direction:row;
justify-content: flex-start;
}

.flex-justify-content-end{
justify-content: flex-end;
align-items: flex-start;
}

.smaller-85,.smaller-70 {
margin-bottom:20px;
text-align:center;
width:100%;
}
.smaller-85 img,.smaller-70 img{
margin-left:auto;
margin-right:auto;
max-width:85%;
}
.smaller-70 img{
max-width:70%;
}

/*
.comment-box {
margin-left:30%;
}
*/

}


/* mobile devices (min-width:940px) 
---------------------------------------------------*/

@media screen and (min-width:940px) {


.middle-box { 
padding-top:40px;
}

.bg-text::before,.bg-text-en::before,.bg-text-ru::before {
display: inline-block;
}

.flex-diff {
flex-direction:row;
}
.flexbox-big {
flex-basis: 60%;
}
.flexbox-small {
flex-basis: 40%;
}
.flexbox-small-content {
margin-left:40px;
margin-top:-130px ;
padding:60px 0 0 70px;
position:relative;
z-index: 1;
}
.flexbox-small-content:before{
background-color:#A6B7B8;
content: ' ';
left:0;
top: 0;
bottom:0;
width: 3000px;
position: absolute;
z-index: -1;
}
.flexbox-small-content h2{
font-size:28px;
}

.person {
flex-wrap: nowrap;
}

h1,h2{
font-size:45px;
}

h1.slogan{
font-size:35px;
}

h5.slogan {
font-size:38px;
}


}


/* mobile devices (min-width:1150px) 
---------------------------------------------------*/

@media screen and (min-width:1150px) {


#all-menus {
justify-content: space-between;
}

a.mob-nav{
display: none;
}

#main-menu{
display: flex;
}

#languages {
margin-right:0;
}

.veerud-4 > div{
width:25%;
}

.veerud-5 > div{
width:20%;
}

.tulbad-4 > div,.tulbad-4 > div:nth-child(2n) {
width:23.5%;
margin-right:2%;
}

.tulbad-4 > div:nth-child(4n){
margin-right:0;
}

.flex > div {
padding-top: 50px;
}

.con-block-text{
padding-top: 30px;
padding-bottom: 30px;
}

}


/* mobile devices (min-width:1250px) 
---------------------------------------------------*/

@media screen and (min-width:1250px) {

.top-content {
padding-left:0;
padding-right:0;
}

.content-1{
padding-top:70px ;
padding-bottom: 20px;
}

.container,.container-2,.container-3,.middle-box { 
padding-left:0 ;
padding-right:0 ;
}

.container-3{ 
padding-top:0;
}

.container-up{
margin-top:-90px ;
}

.middle-box { 
padding-bottom:60px;
}

.flexbox-2 {
padding-left:0 !important;
}

.flexbox-11 {
padding-left:0 !important;
}

.flexbox-22 {
padding-left:5% !important;
}

}



/* mobile devices (min-width:2000px) 
---------------------------------------------------*/

@media screen and (min-width:2000px) {


}


/* mobile devices (min-width:2700px) 
---------------------------------------------------*/

@media screen and (min-width:2700px) {


}

/* mobile devices (min-width: 500px) and (max-width: 649px)
--------------------------------------------------------------- */

@media only screen and (min-width: 500px) and (max-width: 649px)  {

.fast-connect > div{
width:50%;
}

}

/* mobile devices (max-width:1100px) 
---------------------------------------------------*/

@media screen and (max-width:1100px) {
}


/* mobile devices (max-width:820px) 
---------------------------------------------------*/

@media screen and (max-width:820px) {

.content-3 > .container{
padding-left: 0;
padding-right: 0;
}


.bg-image {
padding-bottom:0;
position:relative;
}

#header .bg-image {
padding-bottom:40%;
}

#services ul {
display:none;
}

.teenused-big > div{
margin-right:0;
margin-bottom: 3%;
overflow:hidden;
width:100%;
}

.block-uudised li a{
padding:0 ;
}

.block-uudised .posted {
display:block;
float:none;
}

}


/* mobile devices (max-width:649px) 
---------------------------------------------------*/

@media screen and (max-width:649px) {

.col-content-2{
justify-content: center;
}

.col-content-2 > div{
max-width: 500px;
}

}


/* mobile devices (max-width:500px) 
---------------------------------------------------*/

@media screen and (max-width:500px) {

.slides .slide-box .slide-content div{ 
padding: 20px;
}

}