/* ==========================================================================
   Styling and layout for all media
   ========================================================================== */


/* Abridged version of Normalize.css
   ========================================================================== */
/* original authors: Nicolas Gallagher and Jonathan Neal - http://necolas.github.com/normalize.css/ */

/* corrects block display not defined in IE7-9, Firefox3 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

/* corrects inline-block display not defined in IE7-9, Firefox3 */
audio,
canvas,
video {
  display: inline-block;
  /* display and zoom IE7 fix for display:inline-block */
  *display: inline;
  *zoom: 1;
}

/* prevents modern browsers from displaying 'audio' without controls, remove excess height in iOS5 devices */
audio:not([controls]) {
  display: none;
  height: 0;
}

/* addresses styling for 'hidden' attribute not present in IE7-9, Firefox3, Safari4 */
[hidden] {
  display: none;
}

html {
  /* corrects text resizing oddly in IE7 when body font-size is set using em units -
     http://clagnut.com/blog/348/#c790 */
  font-size: 100%;
  /* always force scrollbar padding so we don't get 'jumping' */
  overflow-y: scroll;
  /* prevents iOS text size adjust after orientation change, without disabling user zoom -
     http://www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
  -webkit-text-size-adjust: 100%;
  /* as above, for Windows Phone */
  -ms-text-size-adjust: 100%;
}

/* Addresses margins set differently in IE7 */
p,
pre {
  margin: 1em 0;
}

/* addresses style set to 'bolder' in Firefox3-4, Safari4-5, Chrome */
b,
strong {
  font-weight: bold;
}

/* addresses CSS quotes not supported in IE7, addresses quote property not supported in Safari4 */
q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

/* prevents sub and sup affecting line-height in all browsers */
sub,
sup {
  /* 12px */
  font-size: .85714285714286em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* removes border when inside 'a' element in IE7-9, Firefox3, improves image quality when scaled in IE7 -
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/* consistent tables */
table {
  margin-bottom: 1em;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* make table cells align top and left by default */
th,
td {
  vertical-align: top;
  text-align: left;
}

/* addresses margins set differently in IE7 */
dl,
menu,
ol,
ul {
  margin: 1em 0;
}
dd {
  margin: 0 0 0 2em;
}

/* remove margins from nested lists */
dl dl,
ul ul,
ol ol {
  margin: 0;
}

/* addresses paddings set differently in IE7 */
menu,
ol,
ul {
  padding: 0 0 0 2em;
}


/* Clearfix
   ========================================================================== */
/* updated to prevent margin-collapsing on child elements in most situations -
   http://nicolasgallagher.com/micro-clearfix-hack/ */

.clearfix,
header,
nav ul,
.container,
footer,
#paginator,
#monthly-list {
  /* zoom IE7 fix */
  *zoom: 1;
}

.clearfix:before,
.clearfix:after,
header:before,
header:after,
nav ul:before,
nav ul:after,
.container:before,
.container:after,
footer:before,
footer:after,
#paginator:before,
#paginator:after,
#monthly-list:before,
#monthly-list:after {
  content: "";
  display: table;
}

.clearfix:after,
header:after,
nav ul:after,
.container:after,
footer:after,
#paginator:after,
#monthly-list:after {
  clear: both;
}

/* 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-family:inherit;
font-size:100%;
font-style:inherit;
font-weight:inherit;
margin:0;
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:0;
padding:0;
vertical-align:baseline;
}

@font-face {
font-family: 'Black Jack';
src: url('/files/blackjar.eot');
src: url('/files/blackjar.ttf') format('truetype'),
url('/files/blackjar.woff') format('woff'),
url('/files/blackjar.svg') format('svg');
}

@font-face {
font-family: 'ElegantIcons';
src:url('/fonts/ElegantIcons.eot');
src:url('/fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
url('/fonts/ElegantIcons.woff') format('woff'),
url('/fonts/ElegantIcons.ttf') format('truetype'),
url('/fonts/ElegantIcons.svg#ElegantIcons') format('svg');
font-weight: normal;
font-style: normal;
}

body {
background:#fff url(/images/1397.jpg) no-repeat center top;
background-size:cover;
background-attachment:fixed;
margin:0;
padding: 0;
font-size:100%;
color:#000;
}

div{
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box; 
}

p,ul,ol,table{
margin:0;
padding: 0 0 30px;
font-family:'roboto condensed',arial,'open sans','cuprum','conduit itc',georgia;
font-size:18px;
line-height:1.5em;
font-style:normal;
}

h1,h2,h3,h4,h5,h6 {
font-family:'black jack',arial;
}

h1, h2, h2 a {
padding:2px 0;
margin:0 0 30px;
line-height:1.3em;
font-size:34px;
color:#76B945;
color:#80a880;
font-weight:400;
font-style:normal;
border-bottom:0px dotted #555;
}

h2 a {
font-size:inherit;
}

h2 a:hover {
text-decoration:none;
}

h3 {
padding:0 0 15px 0;
margin: 0 ;
color:#888;
font-size:30px;
font-weight:400;
font-style:normal;
text-align:left;
border-bottom:0px dotted #555;
}

h4{
padding:0 0 5px;
margin:0 0 10px;
line-height:1.3em;
font-size:28px;
color:#111;
font-weight:400;
font-style:normal;
text-transform:normal;
border-bottom:0px dotted #555;
}

h5,h6 {
padding:0 0 5px;
margin:0 0 10px;
font-size:26px;
font-weight:300;
}

h6 {
font-size:25px;
color:#55ae30;
}

.latest{
color:#444;
font-size:18px;
font-weight:700;
font-style:italic;
text-align:right;
border-bottom: 1px dotted #555;
}

img {
margin:0 ;
padding:2px;
max-width:100%;
height:auto;
}

.left {
margin:2px 20px 2px 0;
float:left;
}

.right {
margin:2px 0 2px 20px;
float:right;
}

.center {
margin:2px;
text-align:center;
vertical-align:top;
float:none;
display:inline-block;
width:100%;
max-width:100%;
}

blockquote {
background-color:#f4f4f4;
margin:0 0 30px 0;
padding:25px 25px 0;
border-left:0px solid #999;
}

blockquote p {
margin:0;
font-family:georgia, "times new roman", verdana;
text-align:center;
font-style:italic;
font-size:20px;
color:#000;
font-weight:400;
}

a,code,span.hide {
margin:0;
padding:0;
background:none;
color:#76B945;
font-weight:400;
text-decoration:none;
}

a:hover {
color:#3074BF;
text-decoration:none;
}

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 {
color:#A06748;
}

ul, li ul {
list-style-type:disc;
margin:0 0 0 30px;
}

ul li, li ul li {
padding:0 ;
margin:0;
}

li ul{
padding:0;
font-size:inherit;
}

ol, li ol {
margin:0 0 0 30px;
}

ol li, li ol li {
padding:.2em 0;
margin:0;
}

ul.viimased-uudised{
list-style-type:none;
margin:0 0 0 5px;
color:#444;
}

table {
margin: 0 0 30px;
padding:0;
border-collapse:collapse;
border-top: 0px solid #bbb;
width:100%;
}

td {
margin:0;
padding:5px 10px;
text-align:left;
border-bottom: 0px solid #888;
width:50%;
}

th {
background-color:#444;
padding:5px 10px;
color:#fff;
font-weight:400;
text-align:left;
border-bottom: 0px solid #555;
}

hr {
margin:2em auto;
width:370px;
height:1px;
color:#7a7e7d;
background-color:#7a7e7d;
border:none;
}

.article {
padding: 0 0 40px 0;
position:relative;
z-index:210;
}

.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}

* html .clearfix { zoom: 1; } /* IE6 */

*:first-child+html .clearfix { zoom: 1; } /* IE7 */

.indent {
text-align:left;
text-indent:-5000em;
position:absolute;
z-index:500;
}

.meta {
margin:0 ;
padding:4px 0;
text-align:right;
line-height:1.5em;
color:#6c2b25;
overflow:hidden;
width:99%;
clear:both;
}

.meta a {
margin:0 ;
padding: 5px 15px;
text-align:center;
font-family:'black jack',arial;
font-size:18px;
color:#111;
font-weight:400;
text-transform:lowercase;
text-decoration: none;
float:right;
}

.posted {
left: -95px;
top:0;
padding: 8px 12px;
background-color:#76B945;
background-color:#db8671;
font-family:'black jack',arial;
font-size:19px;
color:#fff;
font-weight:400;
font-style:normal;
text-transform:uppercase;
position:absolute;
z-index:220;
}


/* .article-album{
list-style-type:none;
margin:30px 0;
}
.article-album li {
background:none;
padding:0;
margin:0 0 6px;
vertical-align:top;
text-align:center;
display:inline-block;
max-width:100%;
}
.thumb-alt {
text-align:center;
line-height:1.2em;
display:block;
}
.album {
margin:0 5px 15px;
padding: 0;
vertical-align:top;
text-align:center;
max-width:190px;
display:inline-block;
overflow:hidden;
}
.album-image img{
margin:0 ;
padding:0;
float:none;
}
.album h3 {
padding:10px 0;
margin: 0 ;
line-height:1.3em;
font-family:'roboto condensed',tahoma,arial,georgia;
font-size:18px;
font-weight:400;
font-style:normal;
text-align:center;
text-transform:uppercase;
}
.album h3 a{
color:#111;
} */


/* 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:25%;
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);
}

.thumb-alt {
margin:0 auto;
padding-top:0;
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-family:'roboto condensed',tahoma,arial,georgia;
font-size:22px;
font-weight:400;
font-style:normal;
text-align:center;
text-transform:uppercase;
}

.album h3 a{
color:#111;
height:auto;
}




/* uritused
---------------------------------------------- */

.article-img{
background-image: url(/images/629.jpg);
background-position: center center;
background-attachment:scroll;
background-repeat: no-repeat;
background-size:cover;
margin-bottom:3%;
padding-bottom:45%;
display: block;
text-align: center;
overflow: hidden;
position: relative;
z-index:1;
}

.article-img a{
background:#5280c7;
margin:0;
padding: 0 20px;
line-height:2.5em;
font-size:25px;
font-weight:700;
color:#fff;
border-radius:0 50px 50px 0;
left:0;
bottom:20px;
position:absolute;
z-index:9;
}

.article-img a:before {
margin-left:5px;
font-family: 'ElegantIcons';
content: "\3d";
color:#afcbeb;
font-size:24px;
float:right;
}

.article-img 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%;
max-width:none;
-webkit-transition: .4s;
-o-transition: .4s;
-ms-transition: .4s;
transition: .4s;
position:absolute;
z-index:5;
}

.article-img:hover img{
opacity:0.9;
}



/* 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;
}


/* categories
------------------------------------------ */

.cat {
text-align:left;
}

.cat > div{
margin-bottom:25px;
max-width:300px;
}

.cat-img{
padding-bottom:100%;
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:500px;
max-height:100%;
}

.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 {
font-family:'roboto condensed',arial,'open sans','cuprum','conduit itc',georgia;
padding:8px 0 0px;
margin: 0 ;
line-height:1.3em;
font-size:18px;
font-style:normal;
text-align:center;
text-transform:uppercase;
}

.cat h6 a{
color:inherit;
height:auto;
}

.cat p {
padding: 0;
margin: 0 ;
line-height:1.3em;
font-size:17px;
font-weight:400;
font-style:normal;
text-align:center;
}


/* 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;
}


/* mm_menu
----------------------------------------------- */

.mm-listview {
padding-left:0;
text-transform:uppercase;
}

.mm-listview li{
font-size:18px;
text-align:left;
}

.mm-listview li:before {
content: " ";
}



/* layout
----------------------------------------------- */

#container {
margin:0 auto;
padding:0;
text-align:center;
max-width:1100px;
}

#top{
margin:0;
padding:0;
text-align:right;
width:100%;
height:150px;
display:block;
position:relative;
z-index:300;
}

#logo {
margin:5px 0 0;
padding:0;
text-align:center;
width:25%;
display:block;
float:left;
position:absolute;
z-index:305;
}

#logo img{
margin: 0 auto;
padding:0 ;
text-indent:-5000em;
display:block;
zoom:100%;
position:relative;
-webkit-animation: FadeInTop 1s forwards ease;
animation: FadeInTop 1s forwards ease;
}

@-webkit-keyframes FadeInTop {
0%   {opacity: 0; -webkit-transform: translateY(-10px);}
100% {opacity: 1; -webkit-transform: translateY(0);}
} 

@keyframes FadeInTop {
0%   {opacity: 0; -ms-transform: translateY(-10px); transform: translateY(-10px);}
100% {opacity: 1; -ms-transform: translateY(0); transform: translateY(0);}
} 

.mesilane{
right:100px;
bottom:-15px;
margin: 0;
padding:0px ;
text-indent:-5000em;
display:none;
position:absolute;
z-index:306;
}

#wrapper-big {
margin:0 auto;
padding:0;
text-align:left;
width:100%;
clear:both; 
position:relative;
z-index:200;
}

#sidebar-1 {
background-color:#bcd7b6;
margin:0;
padding:90px 0 80px ;
text-align:center;
width:25%;
float:left;
position: relative;
}

.lepatriinu{
left:50px;
bottom:-45px;
margin: 0;
padding:0px ;
text-indent:-5000em;
display:block;
position:absolute;
z-index:206;
}

#mm-main-menu:not( .mm-menu ) {
display: none;
}

#main-menu {
margin: 0;
padding:0;
}

#main-menu ul{
list-style-type: none;
margin: 0;
padding:0;
text-align:left;
line-height:1.5em;
font-size:16px;
text-transform:uppercase;
font-style:normal;
}

#main-menu ul li{
padding:0;
margin:0;
vertical-align:top;
position:relative;
}

#main-menu ul li a {
margin:0 ;
padding:6px 45px;
color:#111;
font-weight:400;
text-decoration:none;
display:block;
-webkit-transition-duration:0.3s;
transition-duration:0.3s;
}

#main-menu ul li a:hover,#main-menu ul li.active a {
background-color:#fff;
text-decoration:none;
}

#main-menu ul li.active a {
font-weight:700;
}

#main-menu ul li:hover ul{
left:0;
}

#main-menu ul ul{
list-style-type: none;
margin: 0;
padding:0 ;
text-align:left;
line-height:1.7em;
font-size: 1.0em;
text-transform:lowercase;
-webkit-transition-duration:0.5s;
transition-duration:0.5s;
left:-999em;
position:absolute;
}

#main-menu ul ul li{
margin:0;
padding: 0;
display:block;
float:none;
position:relative;
}

#main-menu ul ul li a,#main-menu ul li.active ul li a {
background-color:#036D74;
margin:0 0 1px;
padding:7px 14px;
text-align:left;
color:#fff;
font-weight:300;
border-bottom:0px solid #ddd;
width:180px;
display:block;
}

#main-menu ul ul li a:hover {
background-color:#C3E3DD;
color:#111;
text-decoration:none;
}

#wrapper{
margin:0 0 0;
padding:0 0 0 15px;
width:75%;
float:left;
}

#head {
margin:0 0 15px;
padding:0;
width:100%;
clear:both; 
}

#head img {
margin: 0 ;
padding:0;
}

/* slideshow */

.cycle-slideshow {
text-align:left;
}

.cycle-slideshow img{
margin:0;
padding:0;
width:100%;
height:auto;
display: none;
}

.cycle-slideshow img.first {
display: block;
}

/* slideshow overlay */

.cycle-overlay { 
background: url(/images/8.png) repeat center top;
color: #fff; 
padding: 0px 30px; 
font-family: tahoma, arial;
line-height:2.6em;
position: absolute; 
bottom: 0; 
width: 100%; 
z-index: 600;
}

/* slideshow pager */

.cycle-pager { 
text-align: center; 
width: 100%; 
z-index: 500; 
position: absolute; 
bottom: 10px; 
display:block; 
overflow: hidden;
}

.cycle-pager span { 
font-family: arial; 
font-size: 50px; 
width: 16px; 
height: 16px; 
display: inline-block; 
color: #ddd; 
cursor: pointer; 
}

.cycle-pager span.cycle-pager-active { 
color: #D69746;
}

.cycle-pager > * { 
cursor: pointer;
}

#content {
background-color:#fff;
margin: 0 ;
padding:50px 90px;
text-align:left;
width:100%;
min-height:600px;
position:relative;
z-index:205;
}

.columns {
padding:20px 0 40px;
display:inline-block;
width:100%;
clear:both;
}

.column-1, .column-2 {
margin: 0 5% 0 0;
padding:0;
width:45%;
float:left;
}

ul.inline{
list-style-type: none;
margin:0;
padding:20px 0;
line-height:1.3em;
display:inline-block;
width:100%;
clear:both;
}

ul.inline li {
background: none;
margin:0 0 40px;
padding:0;
vertical-align:top;
text-align:center;
display:inline-block;
width:200px;
}

ul.inline li a{
margin:2px;
text-align:center;
vertical-align:top;
color:#111;
display:block;
}

#navigation {
margin: 0 0 50px;
padding:8px 0;
text-align:center;
position:relative;
z-index:225;
}

.nav-link-prev, .nav-link-next {
margin:0;
padding:0;
display:inline;
}

.nav-link-prev a, .nav-link-next a{
margin:0;
padding:8px 30px;
background-color:#80a880;
font-family:'black jack',arial;
font-size:22px;
color:#fff;
font-weight:400;
font-style:normal;
text-transform:lowercase;
text-decoration:none;
position:absolute;
z-index:230;
}

.nav-link-prev a:hover, .nav-link-next a:hover{
background-color:#A7562B;
text-decoration:none;
}

.nav-link-prev a{
right:-90px;
top:0;
}

.nav-link-next a{
left:-90px;
top:0;
}

#foot {
margin:0 auto;
padding:20px 10px;
width:100%;
min-height:70px;
clear:both;
position:relative;
}

#foot p{
margin:0 0 15px;
padding:0;
font-size:16px;
color:#fff;
}

#foot a{
color:#E2D78F;
}

#foot img{
margin:0;
padding:0;
}

.get-this{
margin:0 0 0 25px;
padding:0;
float:right;
display:block;
}

.counter {
left:5px;
bottom:-50px;
position:absolute;
z-index:200;
}

.counter img{
border:none;
}

.button {
background-color:#71A416;
background-color:#476cb8;
margin:0 ;
padding: 0 15px 0 25px;
line-height:3.2em;
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 {
font-family: 'ElegantIcons';
content: "\35";
color:#FFC00C;
font-size:1.5em;
float:right;
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;
}

a.button:hover {
color:#fff;
opacity:0.85;
}


/* tagasiside vorm 
---------------------------------------------------*/


.zemContactForm {
font-family:tahoma,arial,georgia, "times new roman", verdana;
margin:30px 0;
padding: 0;
width: 500px;
}

.zemContactForm fieldset{
margin: 0;
padding: 0;
border:0 solid #ddd;
}

.zemContactForm legend{
margin:0 ;
padding: 0 10px 10px 20px;
font-family:'fjalla one',arial;
font-size: 1.3em;
font-style:normal;
font-weight:400;
}

.zemContactForm input, .zemContactForm textarea, .zemContactForm select{
margin: 3px 1px;
padding: 6px 4px;
font-family:tahoma,arial,georgia, "times new roman", verdana;
background-color:#F7D9C9;
font-size: 1.0em;
font-style:normal;
border: 1px solid #3F1C09;
border-radius:0px;
-moz-border-radius:0px;
width: 300px;
}

.zemContactForm label{
margin: 0;
padding:7px 30px;
text-align:right;
font-size: 1.0em;
font-style:normal;
font-weight:400;
width: 120px;
float: left;
}

.zemContactForm .zemCheckbox, .zemContactForm .zemRadio{
margin: 0 200px 5px 0;
border:none;
float:right;
}

.zemContactForm .zemSubmit {
background-color:#000;
margin-left:16em;
padding: 4px 15px;
color:#fff;
font-size: 80%;
border: 1px solid #000;
-moz-border-radius:0px;
border-radius:0px;
width:100px;
}

.zemThanks{
font-size: 1.3em;
}

ul.zemError{
margin: 2px 0 30px 30px;
padding: 0;
}

ul.zemError li{
margin: 0;
padding: 0 20px;
font-size: 0.9em;
color:#eee;
}


/* mobile devices (min-width:650px) 
---------------------------------------------------*/

@media screen and (min-width:650px) {

a.logo {
width:25%;
}

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 ;
}

#footer .container {
-ms-flex-direction: row;
flex-direction:row;
}

.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;
}

.person {
-ms-flex-direction:row;
flex-direction:row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}

.person-img {
margin-bottom:0;
-ms-flex-preferred-size:25%;
flex-basis: 25%;
}

.person-text {
padding-left:30px;
-ms-flex-preferred-size:75%;
flex-basis: 75%;
}

.firm {
-ms-flex-preferred-size:100%;
flex-basis: 100%;
}

.padding-sides {
padding-left:30px !important;
padding-right:30px !important;
}

.padding-top{
padding-top: 100px !important;
}

.team {
margin-right:auto;
text-align:left;
}

.article-album li {
width:25%;
}

.article-album-2 li {
width:50%;
}

.article-album-3 li {
width:33.333333%;
}

.article-album-4 li {
width:25%;
}

}



/* mobile devices (min-width:761px) 
---------------------------------------------------*/

@media screen and (min-width: 761px) {

a.nav {
display: none !important;
}

}




/* mobile devices (min-width:821px) 
---------------------------------------------------*/

@media screen and (min-width:821px) {

.content-2 {
padding-top: 60px;
padding-bottom: 60px;
}

.logo-footer {
width:170px;
}

.sub-container{
padding:0 5% 0 0;
width:70%;
float:left;
}

.sidebar-container{
margin:0;
width:30%;
float:right;
}

.col-4 li,.col-5 li,.col-6 li{
width:25%;
}

.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;
}

.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;
}

.flex-diff {
-ms-flex-direction:row;
flex-direction:row;
}

.flexbox-big {
-ms-flex-preferred-size:67%;
flex-basis: 67%;
}

.flexbox-small {
-ms-flex-preferred-size:33%;
flex-basis: 33%;
}

.title {
margin-bottom:20px;
}

/*
.comment-box {
margin-left:30%;
}
*/

}


/* mobile devices (min-width:940px) 
---------------------------------------------------*/

@media screen and (min-width:940px) {

.top {
height:80px;
}

.top-content {
-ms-flex-pack: center;
justify-content: center;
}

#all-menus {
-ms-flex-pack: justify;
justify-content: space-between;
}

a.mob-nav{
display: none;
}

#main-menu{
display: -ms-flexbox;
display: flex;
}

#languages {
margin-right:0;
}

.container-up{
margin-top:-130px ;
}

.person {
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
}

.firm {
-ms-flex-preferred-size:75%;
flex-basis: 75%;
order:2
}

.mart {
order:1;
}

.janek {
order:3;
}

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) {

.logo-footer {
top:-90px;
width:200px;
}

.col-5 li{
width:20%;
}

.col-6 li{
width:16.66666666%;
}

.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 (max-width:760px) 
---------------------------------------------------*/

@media screen and (max-width:760px) {

#sidebar-1,#main-menu,.posted,.lepatriinu,.mesilane {
display:none;
}

#main-menu ul{
text-transform:uppercase;
}

#top{
height:100px;
}

#logo {
padding:0 0 0 10px;
width:160px;
}

#logo img{
width:100%;
height:auto;
}

a.nav{
margin: 20px 35px 0 15px;
color: #fff;
display:inline-block;
float:right;
}

.burger {
width: 40px;
display: block;
}

.burger .bar {
background: #222;
margin: 3px 0;
border-radius: 4px;
width: 40px;
height: 5px;
float: right;
display: block;
}

#wrapper {
margin:0 auto;
padding:0;
width:100%;
clear:both; 
}

#head {
margin:0;
}

#content {
padding:50px 15px 20px;
}

h1, h2, h2 a {
margin:0 0 15px;
}

p,ul,ol,table{
font-size:22px;
}

.nav-link-prev a, .nav-link-next a{
margin:0;
padding:5px 10px;
font-size:19px;
}

.nav-link-prev a{
right:-15px;
}

.nav-link-next a{
left:-15px;
}
}

