html,body{
min-height:100vh;
  scroll-behavior: smooth;
}

body {
margin:0;
background-color:#0166b4;
background-repeat: repeat;
background-position: center center;
background-size: auto;
font-family: 'Saira Condensed',khand,'fira sans',Oswald,'Zilla Slab','Times New Roman','Open Sans','Roboto Condensed',alegreya,arial;
font-size:100%;
color:#fff;
font-style:normal;
position:relative;
z-index:0;
}

section, header, footer, div, input, textarea, select, label, :before, :after{
box-sizing:border-box;
}

p,ul,ol{
margin-top: 0;
margin-bottom: 40px;
}

p,li,textarea,label,input,tr,tabel caption{
font-size:19px;
line-height:1.6em;
font-weight:400;
}

h1,h2,h3,h4,h5,h6,table caption {
padding:0;
margin-top: 0;
color:#32bbef;
line-height:1.3em;
}

h1,h2{
margin-bottom: 40px;
font-size:36px;
font-weight:400;
}

h2.slogan{
line-height:1.2em;
font-size:32px;
font-weight:700;
}

h3 {
margin-bottom: 1.2em;
font-size:30px;
font-weight:400;
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.2em;
font-size:28px;
font-weight:400;
}

h5 {
margin-bottom: 1.2em;
font-size:26px;
font-weight:400;
}

h6 {
margin-bottom: 1.2em;
font-size:24px;
font-weight:400;
}

h1 span{
color:#ff0000;
font-weight:700;
}

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;
font-weight:400;
color:#007dc7;
color:#e7685f;
text-decoration:none;
-webkit-transition: 0.3s;
-ms-transition: 0.3s;
transition: 0.3s;
opacity:1;
}

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;
}

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: 40px;
color:#fff;
border-collapse:collapse;
border-top: 0px solid #bbb;
width:100%;
}

table caption {
margin:0;
padding:10px 20px;
text-align:left;
font-size:120%;
}

tr{
width:100%;
}

tr:nth-child(odd) {
background: rgba(0,0,0, 0.2);
}

th {
background: rgba(0,0,0, 0.2);
margin-bottom: 0;
padding:7px 8px;
color:#fff;
font-size:120%;
text-align:left;
font-weight:400;
border-bottom: 0px solid transparent;
}

td {
margin:0;
padding:7px 8px;
text-align:left;
line-height:1.3em;
border-bottom: 0px solid #fff;
vertical-align:top;
min-width:80px;
}

.offer tr td:first-child {
padding-right: 1.0em;
color:#aaa;
}

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: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 {
background-position: center center;
padding:0;
text-align:center;
height:40vh;
width:100%;
position: relative;
z-index:3;
}

.top {
left:0;
top:60px;
width:100%;
height:60px;
position:absolute;
z-index:20;
transition: all 0.15s ease-in-out;
}

.top .container {
padding-left:0;
padding-right:0;
height:100%;
position:relative;
z-index:505;
}

/* .top .container::before {
background: rgba(255,255,255, 1); 
content:" ";
top:0;
bottom:0;
right: -20px;
width:3000px;
height:100%;
border-bottom-right-radius: 15px;
transform: skew(-10deg);
position: absolute;
z-index: -100;
} */

.top-content {
padding-left:7%;
display: flex;
flex-direction:row;
flex-wrap: wrap;
justify-content:flex-start;
align-items: center;
height:100%;
border-top:0;
position:relative;
z-index:510;
}

a.logo {
margin-top:0;
margin-bottom:0;
padding-top:0;
padding-bottom:0;
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
width:100%;
max-width:25%;
box-sizing:border-box;
left: 50%;
bottom:-30px;
transform: translateX(-50%);
position: absolute;
z-index:999;
}

a.logo > div{
background-color:#32bbef;
background-image: url(/files/tartulumepark_logo_sinitaust.svg);
background-repeat: no-repeat;
background-position: center center;
background-size: 100%;
padding-bottom:100%;
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
width:100%;
max-width:100%;
border-radius:50%;
box-sizing:border-box;
position:relative;
z-index:80;
}

a.logo:hover {
opacity:1;
}

a.logo img{
width:auto;
height:auto;
max-width:100%;
border-radius: 280px ;
}


#mm-all-menus:not( .mm-menu ) {
display: none;
}

#all-menus {
display: none;
flex-direction:row;
justify-content: flex-start;
align-items: center;
height:100%;
position:relative;
z-index:10;
}

#all-menus::before {
background: rgba(255,255,255, 1); 
content:" ";
top:0;
bottom:0;
left:0;
right: 0;
border:0px solid #777;
border-radius: 100px ;
position: absolute;
z-index: -100;
}

#main-menu {
list-style-type: none;
margin: 0;
padding-right:30px;
text-transform:uppercase;
flex-direction:row;
justify-content: center;
align-items: center;
height:100%;
display:flex;
}

#main-menu li{
background: none;
margin:0 10px;
font-size:22px;
color:#111;
position:relative;
z-index:600;
}

/* #main-menu > li:first-child{
display:none;
}
#main-menu li:nth-child(4n){
margin-left:auto;
margin-right:auto;
} */

#main-menu li a {
margin:0 ;
font-weight:700;
color:inherit;
text-decoration:none;
}

#main-menu ul{
list-style-type: none;
margin: 0;
padding:0 ;
text-align:left;
line-height:1.7em;
display:none;
left:0;
position:absolute;
z-index:610;
}

#main-menu ul li{
margin:0;
padding: 0;
font-size:95%;
display:block;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction:column;
position:relative;
}

#main-menu ul li a {
background-color:#111;
margin:0 0 1px;
padding:9px 14px;
text-align:left;
color:#fff;
display:block;
width:225px;
}

#main-menu ul li a:hover {
background-color:#333;
opacity:1;
}

li.sub a{
padding-right:25px !important;
position:relative;
z-index:10;
}

li.sub > a:before {
font-family: 'FontAwesome';
font-size:inherit;
content: "\f107";
color:inherit;
right:0;
top:-2px;
position:absolute;
z-index:11;
}

#languages {
padding:0;
margin: 0;
margin-right:80px;
list-style-type: none;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: row;
flex-direction:row;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
height:100%;
}

#languages li{
margin:0 10px;
font-size:16px;
}

#languages li a {
font-weight:400;
color:#F78F1E;
color:#F2EBBD;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

#languages a:hover {
opacity:1.0;
}

.content-1 {
padding-top: 16%;
position:relative;
z-index:6;
}

.content-2 {
padding-top: 6%;
padding-bottom:6%;
position:relative;
z-index:4;
}

.content-3 {
position:relative;
z-index:3;
}

.content-4 {
border-top: 4px solid #b19f47;
position:relative;
z-index:4;
}

.content-4 p,.content-4 li{
margin-bottom:0;
color:#fff;
}

.container-5 {
padding-top: 0%;
padding-bottom:0%;
padding-left: 4%;
padding-right: 4%;
text-align:center;
max-width:1100px;
}

.container-5 h2 {
color:#111;
color:#e7685f;
font-weight:500;
}

.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:1100px;
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-2 {
background-image: url(/images/4.jpg);
height:75vh;
position:relative;
z-index:7;
}

#footer {
background-color:#fff;
padding-top:100px;
padding-bottom:40px;
position:relative;
z-index:7;
}

.footer-container {
}

#footer h5{
margin:0 0 0.4em;
}

#footer a{
color:#F2EBBD;
}

#footer i{
margin-left: 1.4em;
}

.logo-footer {
position: relative;
z-index: 40;
width:200px;
}



/* vetical-align middle
------------------------------------- */

.vert-middle {
margin-left: auto;
margin-right: auto;
width:100%;
max-width:1100px;
height:100%;
position:relative;
z-index:15;
}

.middle-box { 
padding-left:5%;
padding-right:5%;
padding-top:0;
padding-bottom:12%;
height:100%;
display: flex;
flex-direction:column;
justify-content: flex-end;
align-items: center;
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%;
min-height:200px;
position:relative;
}

.bg-1{
background-image: url(/images/4.jpg);
}

.bg-2{
background-color:#9dcaee;
background-image: url(/images/4.jpg);
}

.bg-3{
background-color:#e7685f;
}

.bg-4{
background-image: url(/images/5.jpg);
}

.bg-4:after {
content: "";
background: rgba(1, 1, 1, 0.7);
left: 0;
top: 0;
width: 100%;
height: 100%;
}

.bg-5 {
background-image: url(/images/15.jpg);
}

.bg-6{
background-image: url(/images/16.jpg);
background-repeat:repeat;
background-size: auto;
}


/* curtains
---------------------------------- */

.section-curtain-0{
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
left: 0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index: 3;
}

.section-curtain-1{
background: rgba(0,71,153, 0.9);
left: 0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index: 3;
}

.section-curtain-2{
background: rgba(0,0,0, 0.5);
left: 0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index: 3;
}

.section-curtain-3{
background: rgba(0,0,0,0);
background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(8,8,8,0.15) 45%, rgba(12,12,12,0.66) 72%, rgba(17,17,17,0.66) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,0,0,0)), color-stop(45%, rgba(8,8,8,0.15)), color-stop(72%, rgba(12,12,12,0.66)), color-stop(100%, rgba(17,17,17,0.66)));
background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(8,8,8,0.15) 45%, rgba(12,12,12,0.66) 72%, rgba(17,17,17,0.66) 100%);
background: -o-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(8,8,8,0.15) 45%, rgba(12,12,12,0.66) 72%, rgba(17,17,17,0.66) 100%);
background: -ms-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(8,8,8,0.15) 45%, rgba(12,12,12,0.66) 72%, rgba(17,17,17,0.66) 100%);
background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(8,8,8,0.15) 45%, rgba(12,12,12,0.66) 72%, rgba(17,17,17,0.66) 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: 3;
display:none;
}

.section-curtain-4{
background-image: url(/images/34.jpg);
}

.section-curtain-5{
background-image: url(/images/38.jpg);
}

.section-curtain-6{
background-image: url(/images/35.jpg);
}

.grunge-border-bottom, .grunge-border-top {
background-repeat: repeat-x;
background-size: auto;
left:0;
right:0;
top:0;
bottom:0;
position: absolute;
z-index: 5;
opacity:1;
}

.grunge-border-bottom{
background-image: url(/images/40.png);
background-position: center bottom;
}

.grunge-border-top {
background-image: url(/images/41.png);
background-position: center top;
}



/* subpage width sidebar
--------------------------------------------- */

.sub-container{
margin:0 auto;
padding-bottom:30px;
}

.sidebar-container{
margin:0 -3%;
padding:0;
}

.sidebar-container h6{
margin:0;
line-height:2.9em;
color:#111;
font-size:20px;
text-transform:uppercase;
}

.article-list{
background-color:#f7f7f7;
margin:0;
padding:10px 20px;
line-height:1.4em;
}

.sidebar-content{
background-color:#f9f9f9;
background-color:#fff;
margin:0;
padding:5% 5%;
}


/* tulbad 
-------------------------------------------- */

.tulbad-2,.tulbad-3,.tulbad-4{
font-size: 0;
word-spacing: -0.26em;
width:100%;
}

.tulbad-2 > div,.tulbad-3 > div,.tulbad-4 > div{
margin-right:0;
margin-bottom: 3%;
text-align:left;
font-size: 1.0rem;
word-spacing: 0;
vertical-align:top;
display:inline-block;
width:100%;
}




/* veerud
---------------------------------------- */

.veerud-1,.veerud-2,.veerud-3,.veerud-4,.veerud-5{
font-size:0;
word-spacing: -0.26em;
}

.veerud-1 > div,.veerud-2 > div,.veerud-3 > div,.veerud-4 > div,.veerud-5 > div{
font-size: 1.0rem;
word-spacing: 0;
vertical-align:top;
display:inline-block;
position:relative;
width:100%;
overflow:hidden;
}


/* Information columns  
-------------------------------------------- */

.info > div{
padding-left:2%;
padding-right:2%;
padding-top:2px;
padding-bottom:25px;
text-align: center;
}

.info i{
margin-bottom:15px;
font-size:300%;
color:#32bbef; 
}

.info p{
margin-bottom:0;
padding-bottom:0;
line-height:1.4em;
}

.info span{
padding-top:15px;
display:block;
}


/* 2 columns with different width  
-------------------------------------------- */

.diff-columns{
margin-left: auto;
margin-right: auto;
width:100%;
}

.diff-columns > div{
margin-bottom: ;
overflow:hidden;
position:relative;
width:100%;
}


/* fast connect 
-------------------------------------------- */

.fast-connect{
text-align:center;
}

.fast-connect > div{
text-align:left;
}


/* equal height columns
------------------------------------------ */

.equal-height{
display:-ms-flexbox;
display: flex;
-ms-flex-direction: row;
flex-direction:row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-pack: flex-start;
justify-content: flex-start;
-ms-flex-line-pack: stretch;
align-content: stretch;
position: relative;
z-index:1;
}

.equal-height:after  {
display: table;
content: " ";
clear:both;
}

.equal-height > div {
padding:20px;
background: rgba(1,1,1, 0.025);
}



/* 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;
}

.edasi a,.tagasi a{
background-color:#32bbef; 
padding-left:24px;
padding-right:24px;
padding-top:12px;
padding-bottom:12px;
font-size:100%;
color:#fff;
font-style:italic;
text-decoration: none;
text-transform:normal;
display:inline;
border:0px solid #6fb0db;
border-radius:300px;
}

.open-link{
background-color:#fff; 
padding-left:22px;
padding-right:22px;
padding-top:10px;
padding-bottom:10px;
font-size:90%;
color:#32bbef;
font-style:italic;
text-decoration: none;
display:inline;
border:0px solid #32bbef;
border-radius: 300px;
box-sizing: border-box;
}

.edasi a:hover,.tagasi a:hover, .open-link:hover{
opacity:1.0;
}

.edasi a:after,.tagasi a:before, .open-link:after {
font-family: 'Font Awesome 5 Free';
font-size:18px;
font-weight:900;
color:#004799;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
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, .open-link:after{
content: "\f105";
margin-left:7px;
}

.tagasi a:before {
content: "\f104";
margin-right:7px;
}

.edasi a:hover:after,.open-link: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: #3970c0;
z-index: 0;
}

.posted span{
background-color:#fff;
padding-right:10px;
display:inline-block;
position:relative;
z-index:2;
}


/* frontpage uudised
------------------------------------ */

.block-uudised h2{
display:inline-block;
}

.block-uudised{
list-style-type:none;
padding-left:0;
}

.block-uudised li {
background:none;
margin-bottom: 0.5em;
color: #388ED6;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}

.block-uudised li a{
color:#111;
font-weight:300;
position:relative;
z-index:15;
}

.block-uudised .posted {
margin-bottom:0 !important;
display:block;
}



/* categories
------------------------------------------ */

.cat {
text-align:left;
}

.cat > div{
max-width:300px;
}

.cat-img{
padding-bottom:75%;
display: block;
text-align: center;
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 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;
}

.cat-img:hover a {
-webkit-transform: scale(1.15);
-ms-transform: scale(1.15);
-o-transform: scale(1.15);
transform: scale(1.15);
}

.cat h6 {
padding:10px 0;
margin: 0 ;
line-height:1.3em;
font-size:18px;
font-weight:400;
font-style:normal;
text-align:center;
text-transform:uppercase;
}

.cat h6 a{
color:inherit;
height:auto;
}


/* article album
----------------------------------------------- */

.article-album{
list-style-type:none;
margin:30px 0;
padding-left: 0;
}

.article-album li {
background:none;
padding:0;
margin:0 3px 12px;
vertical-align:top;
text-align:center;
width:130px;
overflow: hidden;
display:inline-block;
}

.article-album li a{
margin:0 auto;
padding-bottom:100%;
display: block;
text-align: center;
width: 100%;
max-width:none;
position: relative;
overflow: hidden;
-webkit-transition: all .2s;
-o-transition: all .2s;
-ms-transition: all .2s;
transition: all .2s;
}

.article-album img{
margin:0 auto;
padding:0;
display: block;
width: auto;
max-width:250%;
max-height:250%;
top: 50%;
left: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
position:absolute;
z-index:5;
}

.article-album li:hover a {
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1);
}

.thumb-alt {
margin:0 auto;
padding-top:10px;
text-align:center;
font-style: italic;
color:#444;
line-height:1.4em;
font-size:90%;
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 h3{
padding:0 0 15px 0;
margin: 0 ;
line-height:1.5em;
color:#222;
font-weight:500;
font-style:normal;
cursor:pointer;
}

.toggle-content h3:before,.toggle-content h3.alt:before {
margin: 0 6px 0 0;
font-family: 'Font Awesome 5 Free';
font-size:22px;
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 h3:before{
content: "\f105";
}

.toggle-content h3.alt:before {
content: "\f107";
}

.toggle-content div {
background-color:#fff;
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;
}



/* 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: -ms-flexbox;
display: flex;
-ms-flex-direction: row;
flex-direction:row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-pack: center;
justify-content:center;
-ms-flex-align: 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;
}



/* header titles
---------------------------------------- */

.header-top-left,.header-top-right,.diff-header h2{
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:8px;
content: '\002F';
font-size:30px;
color:#007dc7;
}

.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;
font-size:16px;
color:#007dc7;
font-weight:400;
text-transform:uppercase;
display:inline-block;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}



/* front news
-------------------------------------*/


.col-content{
display:-ms-flexbox;
display: flex;
-ms-flex-direction: row;
flex-direction:row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-pack: flex-start;
justify-content: flex-start;
-ms-flex-line-pack: stretch;
align-content: stretch;
}

.col-content > div{
}

.col-content .posted {
margin-bottom:0;
padding: 0;
font-size:20px;
font-weight:300;
color:#fff;
display:block;
}

.col-content-2 .posted {
color:#000;
}

.col-content h2{
padding:0;
margin:0 0 10px;
line-height:1.4em;
font-size:26px;
color:#9dcaee;
font-weight:400;
}

.col-content-2 h2{
font-size:29px;
color:#000;
font-weight:700;
}

.col-content p{
margin-bottom:20px;
color:#333;
}

.col-content .edasi{
text-align:right;
}

.news-headline {
font-size:32px;
color:#fff;
font-style:italic;
display: inline-block;
position: relative;
}

.news-headline:before,.news-headline:after {
content: "";
background-color: #fff;
width: 40px;
height:2px;
top: 50%;
position:absolute;
}

.news-headline:before {
margin-right:15px;
right:100%;
}

.news-headline:after {
margin-left:15px;
left:100%;
}



/* flexbox with 2-columns
---------------------------------- */

.flex {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction:column;
-ms-flex-pack: center;
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-11::before {
background: rgba(247,247,247, 1); 
content:" ";
top:0;
bottom:0;
right: -200px;
width:3000px;
height:100%;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
-webkit-transform: skew(-10deg);
-ms-transform: skew(-10deg);
transform: skew(-10deg);
position: absolute;
z-index: -100;
}


/* partnerid
----------------------------------------- */

.partnerid {
padding-bottom:0px;
text-align:justify;
}

.partnerid a {
display:inline-block;
box-sizing:border-box;
}

.partnerid a:hover {
opacity:1;
}

.partnerid img{
padding-left:7px;
padding-right:7px;
padding-bottom:10px;
text-indent:-5000em;
width:auto;
height:auto;
max-width:100%;
max-height:30px;
/* filter: grayscale(100%) opacity(100%); */
display:inline-block;
}

.partnerid br {
display:none;
}


/* facebooki nupp
-------------------------------------- */

.fb{
height: 100%;
display: table;
}

.fb > div{
text-align:center;
display: table-cell;
vertical-align:middle;
}

.facebook{
padding:0 ;
line-height:1.6em;
color:#fff;
font-weight:700;
display:block;
}

.facebook:before {
background-color:#5280c7;
font-family: 'FontAwesome';
content: "\f09a";
font-size:inherit;
padding:13px;
color:#fff;
border-radius:0%;
}

.toooop .fb{
left: 0%;
-webkit-transform: translateX(-0%);
-ms-transform: translateX(-0%);
transform: translateX(-0%);
bottom: 12px;
}



/* mobile-menu
--------------------------------------- */

a.mob-nav{
background-color: #fff;
display: flex;
flex-direction:row;
justify-content: center;
align-items: center;
right: 20px;
top: 20px;
height: 50px;
width: 55px;
border-radius: 0;
/* box-shadow: 0 3px 12px rgba(1,1,1,0); */
position: fixed;
z-index:999;
}

.burger {
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
width: 30px;
}

.burger .bar {
background-color: #000;
margin: 2px 0;
border-radius: 0px;
width: 30px;
height: 3px;
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;
}


/* 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;
}

.hide {
display:none;
}

.columns-2{
column-count:1;
-moz-column-count:1; /* Firefox */
-webkit-column-count:1; /* Safari and Chrome */
}

.login{
display:inline-block;
position:relative;
z-index:2000;
}

.header-img {
padding-top:20px;
}

.no-disc-ul {
list-style-type:none;
padding-left:0;
}

.sub-section-content {
margin-top:10%; 
margin-bottom:10%; 
padding:0 7%;
display:inline-block;
position:relative;
z-index:3; 
}

.color-black{
color: #000;
}

.color-black:before,.color-black:after {
background-color: #000;
}

.borders {
padding: 15px 40px;
text-align:center;
border:1px solid #fff;
border-radius:3px;
display:inline-block;
}

.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:4%;
}

.title h1,.title h2{
margin-bottom:0;
}

.title h3 {
margin-bottom:0.2em;
font-size:24px;
}

.title p {
margin:0 0 0.2em;
}

.social {
margin:0 auto;
}

.rounded-border {
background: rgba(0,0,0, 0.1); 
padding:4% 5%;
border:1px solid #32bbef;
border-radius: 25px;
}

.rounded-box {
background-color: #32bbef; 
padding:10px;
left: 50%;
bottom:-35px;
transform: translateX(-50%);
width:70px;
height:70px;
position: absolute;
z-index: 3;
border:0px solid #32bbef;
border-radius: 5px;
}

.rounded-box img {
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
width:100%;
max-width:100%;
height:auto;
max-height:100%; 
/* filter: brightness(0%) opacity(100%); */
}

.social a{
margin-left:7px;
display:inline-block;
}

i{
margin-left:15px;
margin-right:10px;
}

.wrap,.highlighted{
font-family:'Annabel 1',Merriweather,Roboto,Oswald,'open sans',arial;
color: #155767;
font-size:inherit;
font-weight:400;
}

.small{
font-size:90%;
}

.margin-bottom{
margin-bottom: 5%;
}

.connect{
color: #7C1B1E;
}

.snowflake-1 {
background-image: url(/images/2.png);
background-position: 90% 50%;
background-attachment:scroll;
background-repeat: no-repeat;
}

.snowflake-2 {
top:20%;
left:20px;
position: absolute;
z-index: -50;
}

.grunge-border-top,.grunge-border-bottom {
min-width:100%;
}

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: 80px 0 20px;
width:100%;
max-width: 1000px;
}

.comConnectForm fieldset{
margin: 0;
padding:0px 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{
margin: 3px 0;
padding: 5px;
color:#222;
line-height:1.25em;
border: 1px solid #999;
width: 100%;
display:inline-block;
}

#txpCommentInputForm input.button{
background-color:#eee;
}

.comConnectForm label,.comConnectForm p,#txpCommentInputForm label{
margin:0 ;
padding:0 10px;
line-height:2.1em;
color:inherit;
display:block;
}

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;
-webkit-box-sizing:border-box;
-moz-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{
-webkit-box-shadow: none;
-moz-box-shadow: none;
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:40px 40px;
font-size: 125%;
font-weight:700;
border:1px solid #999;
}

.comError{
margin:0 auto 50px;
}

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) {

p,li,tr{
font-size:22px;
}

.article-album li {
width:140px;
}

.info > div{
width:50%;
}


}


/* mobile devices (min-width:650px) 
---------------------------------------------------*/

@media screen and (min-width:650px) {

.top {
top:30px;
height:80px;
}

.top-content {
padding-left:0;
justify-content: center;
}

a.logo {
max-width:20%;
}

a.mob-nav{
display: none;
}

#all-menus {
display: flex;
justify-content: space-between;
}

a.left,img.left {
margin:0 15px 0 0;
float:left;
}

a.right,img.right {
margin:0 0 0 15px;
float:right;
}

.content-4 {
padding-bottom:90px;
}

.container-up{
margin-top:-60px ;
}

.middle-box-content{
width:70%;
}

.middle-box-content p{
font-size:24px;
}

.col-3 li,.col-4 li,.col-5 li,.col-6 li{
width:33.33333333%;
}

.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){
margin-right:0;
}

.block-uudised > div{
height:470px;
}

.diff-columns > div{
width:30%;
}

.diff-columns > div:first-child{
width:64%;
}

.fast-connect > div{
width:100% !important;
}

.flex {
-ms-flex-direction:row;
flex-direction:row;
-ms-flex-pack:start;
justify-content: flex-start;
}

.flexbox-1 {
-ms-flex-preferred-size:50%;
flex-basis: 50%;
order:2;
}

.flexbox-2 {
-ms-flex-preferred-size:50%;
flex-basis: 50%;
order:1;
}

.flex-2 {
-ms-flex-direction:column;
flex-direction:column;
-ms-flex-pack:start;
justify-content: flex-start;
}

.flexbox-11 {
-ms-flex-preferred-size:100% ;
flex-basis: 100%;
order:1;
}

.flexbox-22 {
-ms-flex-preferred-size:100% ;
flex-basis: 100%;
order:2;
}

.partnerid img{
max-height:45px;
}

.padding-top{
padding-top: 100px !important;
}

}


/* mobile devices (min-width:821px) 
---------------------------------------------------*/

@media screen and (min-width:821px) {

a.logo {
max-width:220px;
bottom:-60px;
}

.content-1{
padding-top: 130px;
padding-bottom: 40px;
}

.content-2 {
padding-top: 60px;
padding-bottom: 60px;
}

#footer {
padding-bottom:45px;
}

.sub-container{
padding:0 5% 0 0;
width:70%;
float:left;
}

.sidebar-container{
margin:0;
width:30%;
float:right;
}

.columns-2{
column-gap:100px;
}

.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;
}

.block-uudised > div:nth-child(2){
margin-top:-20px;
margin-bottom:-20px;
height:510px;
}

.veerud-2-big > div{
width:50%;
padding-bottom:35%;
}

.flex-2 {
-ms-flex-direction:row;
flex-direction:row;
-ms-flex-pack:start;
justify-content: flex-start;
}

.flexbox-11 {
-ms-flex-preferred-size:50%;
flex-basis: 50%;
}

.flexbox-22 {
-ms-flex-preferred-size:50%;
flex-basis: 50%;
}

.flexbox-11::before {
right: 0;
}

.flexbox-line {
top:0;
bottom:0;
right:0;
position:absolute;
z-index: 12;
}

.flexbox-line::before {
background-color:#f7f7f7; 
content:" ";
top:0;
bottom:0;
left: 0;
width:3000px;
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
-webkit-transform: skew(-10deg);
-ms-transform: skew(-10deg);
transform: skew(-10deg);
position: absolute;
z-index: -100;
}

.title {
margin-bottom:30px;
}

h2.slogan{
font-size:45px;
}

/*
.comment-box {
margin-left:30%;
}
*/

}


/* mobile devices (min-width:940px) 
---------------------------------------------------*/

@media screen and (min-width:940px) {

#header {
height:100vh;
}

#languages {
margin-right:0;
}

.container-up{
margin-top:-130px ;
}

h1,h2{
font-size:40px;
}

.middle-box-content{
width:50%;
}

.middle-box-content h2 {
font-size:35px;
}

}


/* mobile devices (min-width:1050px) 
---------------------------------------------------*/

@media screen and (min-width:1050px) {

.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;
}

.block-uudised > div {
padding: 65px 55px;
}

.flex > div {
padding-top: 50px;
}

}


/* mobile devices (min-width:1150px) 
---------------------------------------------------*/

@media screen and (min-width:1150px) {


.container,.container-2,.container-3,.content-5 > div,.middle-box{ 
padding-left:0 ;
padding-right:0 ;
}

.container-3{ 
padding-top:0;
}

.flexbox-2 {
padding-left:0 !important;
}

.flexbox-11 {
padding-left:0 !important;
}

.flexbox-22 {
padding-left:5% !important;
}

}


/* mobile devices (min-width:1350px) 
---------------------------------------------------*/

@media screen and (min-width:1350px) {

.content-4 {
min-height:55vh;
}

}


/* mobile devices (min-width:2000px) 
---------------------------------------------------*/

@media screen and (min-width:2000px) {

#header {
height:70vh;
}


}


/* mobile devices (min-width:2700px) 
---------------------------------------------------*/

@media screen and (min-width:2700px) {

#header-sub {
height:40vh;
}

a.logo {
width:14%;
}

}

/* 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) {


.bg-image {
padding-bottom:0;
position:relative;
}

#header .bg-image {
padding-bottom:40%;
}

.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:500px) 
---------------------------------------------------*/

@media screen and (max-width:500px) {

.slides .slide-box .slide-content div{ 
padding: 20px;
}

}