/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */

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,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/**/

.clearfix,
.clr {
    *zoom: 1;
    clear: both;
}

.clearfix:before,
.clearfix:after,
.clr:before,
.clr:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after,
.clr:after {
    clear: both;
}

html,
body {
    height: 100%;
}

body {
    background: #f0f0ee;
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    color: #282827;
}

.container {
    max-width: 950px;
}

img {
    max-width: 100%;
    width: auto \9;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
    border: none;
}

a,
a:link,
a:visited {
    color: #7abe3b;
}

a:hover {
    text-decoration: underline;
    ;
}

.mainarea {
    margin-top: 30px;
}

strong,
.strong {
    font-weight: 700;
}

.greenbg {
    background: #7abe3b;
}

.graybg {
    background: #b3b3b4;
}

.wrap {
    position: relative;
}

.header {
    position: relative;
}

.logo {
    padding-top: 30px;
}

.logo a:hover {
    opacity: 0.8;
}

.topright {
    text-align: right;
    padding-right: 30px;
}

.toplink {
    display: inline-block;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    margin: 0 20px 0 0;
}

.toplink:hover {
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.toplink a {
    display: inline-block;
    padding: 28px 15px 20px 15px;
    color: #fff;
}

.lang {
    display: inline-block;
    font-size: 14px;
    position: absolute;
    top: 14px;
}

.lang a {
    display: block;
    color: #282827;
    padding-bottom: 10px;
    text-align: left;
}

.lang a.active {
    font-weight: 700;
}

.banner {
    margin-top: 40px;
}

.slogan {
    font-size: 42px;
    text-shadow: #cacacb 2px 3px 0;
    max-width: 690px;
}

.misjuhtub {
    font-size: 34px;
    text-shadow: #cacacb 2px 3px 0;
    max-width: 600px;
    margin-bottom: 15px;
}

.slider {
    margin-bottom: 50px;
}

#slidercontent {
    max-width: 617px;
}

.osalevad {
    background: #7dc449;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.osalevad .text {
    text-align: left;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
}

.osalevad .osalejad img {
    margin: 0 10px 20px 0;
    max-width: 80px;
    height: auto;
}

.videod {
    background: #fff;
    padding: 30px 50px;
    color: #000;
}

.videod .text {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 30px;
}

.videotitle {
    font-size: 16px;
    text-decoration: underline;
    padding-bottom: 20px;
}

.video-container {
    position: relative;
    margin-bottom: 30px;
    width: 390px;
    height: 219px;
}


/*
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 390px;
height: 219px;
}
*/

.video {
    float: left;
}

.video1 {
    padding-right: 30px;
}

.vaata {
    background: #7dc449;
    color: #fff;
    padding: 30px 45px;
    margin-bottom: 40px;
}

.vaata .text {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 30px;
}

.vaata a {
    color: #fff;
    text-decoration: none;
}

.vaata a:hover {
    color: #fff;
    text-decoration: underline;
}

@media screen and (min-width:320px) and (max-width:479px) {
    .toplink a {
        padding: 10px;
    }
    .logo {
        text-align: center;
        float: none !important;
        margin-bottom: 20px;
    }
    .topright {
        float: none !important;
        text-align: center;
    }
    .lang {
        top: -70px;
        right: 20px;
    }
    .bannerimg {
        text-align: center;
    }
    .slogan {
        font-size: 32px;
        text-align: center;
    }
    .text {
        text-align: center;
    }
    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        margin-bottom: 30px;
        width: 100%;
        height: 100%;
    }
    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .video {
        float: none;
        padding-right: 0;
    }
}

@media screen and (min-width:480px) and (max-width:599px) {
    .logo {
        text-align: center;
        float: none !important;
        margin-bottom: 20px;
    }
    .topright {
        float: none !important;
        text-align: center;
    }
    .lang {
        top: 7px;
    }
    .bannerimg {
        text-align: center;
    }
    .slogan {
        font-size: 36px;
        text-align: center;
    }
    .text {
        text-align: center;
    }
}

@media screen and (max-width:767px) {
    .toplink {
        display: inline-block;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        margin: 0 20px 10px 0;
    }
    .toplink a {
        padding: 17px 10px
    }
}

@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
}
