/*
Theme Name: Vepa-test
Theme URI: https://www.vepa.ee
Author: Vepa
Description: VEPA testteema – ainult pealeht
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Serif:400,400i,700,700i&display=swap&subset=cyrillic,latin-ext');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --cocogoose_proregular_weight:   800;
  --cocogoose_prosemilight_weight: 600;
  --cocogoose_prolight_weight:     500;
  --sidebar-width-lg: 260px;
}

/* ---- normalize ---- */
*, ::before, ::after { box-sizing: border-box; }
button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}summary{display:list-item}[hidden],template{display:none}

/* ---- BODY ---- */
body {
  background: #F6F6F6;
  color: #2F2F2F;
  font-family: 'Noto Serif', serif;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

p { margin: 0 0 20px; }

a {
  color: #F5AF31;
  text-decoration: none;
}

.nobr { white-space: nowrap; }

/* ---- BURGER ---- */
.burger {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  display: inline-block;
  height: 30px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: fixed;
  right: 20px;
  top: 10px;
  transition: opacity .15s linear;
  width: 30px;
  z-index: 107;
}
.burger:focus { outline: none; }
.burger:hover .burger__inner,
.burger:hover .burger__inner::after,
.burger:hover .burger__inner::before { background: #333; }
.burger__inner { display: block; top: 6px; }
.burger__inner,
.burger__inner::after,
.burger__inner::before {
  background-color: #000;
  border-radius: 2px;
  height: 3px;
  position: absolute;
  transition: transform .15s ease;
  width: 30px;
}
.burger__inner::after,
.burger__inner::before { content: ''; display: block; }
.burger__inner::before { top: 7px; transition-property: transform, opacity; }
.burger__inner::after { top: 14px; }
.burger--active .burger__inner { transform: translate3d(0,8px,0) rotate(45deg); }
.burger--active .burger__inner::before { opacity: 0; transform: rotate(-45deg) translate3d(-6px,-6px,0); }
.burger--active .burger__inner::after { transform: translate3d(0,-14px,0) rotate(-90deg); }
.primary-navigation-active,
.primary-navigation-active body { overflow: hidden; }

/* ---- SIDEBAR ---- */
.sidebar {
  background: #fff;
  display: table;
  left: -100%;
  height: 100vh;
  position: fixed;
  transition: left .2s ease-in-out;
  width: 90%;
  z-index: 11;
}
.sidebar--active { left: 0; }

@media (max-width: 991px) {
  .sidebar {
    height: 100vh !important;
    padding-top: 48px;
  }
}

.sidebar-section { display: table-row; }
.sidebar-section-inner { display: table-cell; }
.sidebar-section-inner--header { height: 12%; vertical-align: top; }
.sidebar-section-inner--menu { height: 76%; vertical-align: middle; }
.sidebar-section-inner--footer { height: 12%; text-align: center; vertical-align: bottom; }
.sidebar .cta { font-size: 20px; margin-bottom: 30px; }

/* ---- SITE OPTIONS (lang + search) ---- */
.site-options {
  border-bottom: 1px solid #F6F6F6;
  display: flex;
  line-height: 1;
}
.site-options > div { flex-basis: 50%; }
.site-options > div:last-child { text-align: right; }

.icon-search {
  background: url(img/search.svg) no-repeat 50% 50%;
  display: inline-block;
  height: 29px;
  margin-right: 3px;
  width: 29px;
}

/* ---- LOGO ---- */
.site-logo {
  font-size: 20px;
  line-height: 1;
  margin: 20px 0 0;
  text-align: center;
}
.site-logo a { display: inline-block; vertical-align: top; }
.site-logo img { height: auto; max-width: 100%; vertical-align: top; }
.site-logo .tai-logo { width: 180px; margin-bottom: 28px; margin-left: 8px; }
.site-logo .tai-logo img { height: 50px; float: left; }

/* ---- OVERLAY ---- */
.overlay {
  background: #F6F6F6;
  bottom: 0;
  display: flex;
  left: 0;
  opacity: 0;
  overflow-y: auto;
  padding: 20px;
  position: fixed;
  right: 0;
  top: 0;
  transition: all .2s ease-in-out;
  visibility: hidden;
  z-index: 108;
}
.overlay--active { opacity: 1; visibility: visible; }

.icon-close {
  background: url(img/close.svg) no-repeat 50% 50%;
  display: inline-block;
  height: 30px;
  margin-right: 3px;
  position: absolute;
  right: 30px;
  top: 30px;
  width: 30px;
  z-index: 1;
}

/* ---- FORMS ---- */
::-webkit-input-placeholder { color:#2F2F2F; opacity:1; transition: opacity 250ms ease-in-out; }
:-ms-input-placeholder { color:#2F2F2F; opacity:1; }
::placeholder { color:#2F2F2F; opacity:1; transition: opacity 250ms ease-in-out; }
:focus::placeholder { opacity:.5; }
input:focus, textarea:focus { outline: 0; }

select,
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="text"],
textarea {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 28px;
  box-shadow: none !important;
  color: #2F2F2F;
  font-family: 'Noto Serif', serif;
  font-size: 16px;
  padding: 15px 15px 15px 20px;
}
@media (min-width: 768px) {
  select, input[type="email"], input[type="number"],
  input[type="tel"], input[type="text"], textarea {
    padding: 20px 20px 20px 25px;
  }
}
textarea { min-height: 150px; }
div.fhp { height: 0; margin: 0; overflow: hidden; }

.simple-form-cont { margin: auto; }
@media (max-width: 767px) { .simple-form-cont { width: 100%; } }
.simple-form { margin: 0 auto; }
.simple-form > div { position: relative; }

.simple-form-label {
  color: #3E78BD;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 22px;
  margin: 11px 40px 0 0;
}
.simple-form-text { background: #fff; color: #2F2F2F; transition: all .2s ease-in-out; width: 100%; }
.simple-form-text.error { border-color: red; }
.form-group { margin-bottom: 25px; }
.simple-form-submit { cursor: pointer; }

.simple-form-submit--round {
  background: #3E78BD;
  border: 0;
  border-radius: 24px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  line-height: 1;
  min-width: 100px;
  padding: 17px 25px 13px;
  text-align: center;
  text-transform: uppercase;
  transition: all .1s ease-in-out;
}
.simple-form-submit--round:hover,
.simple-form-submit--round:focus { background: #F5AF32; }

.simple-form-submit--arrow {
  background: url(img/go.svg) no-repeat 50% 50%;
  background-size: 20px;
  border: 0;
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  position: absolute;
  right: 2px;
  text-indent: -200px;
  top: 0;
  width: 60px;
}
#searchform .simple-form-text { padding-right: 50px; }

.simple-form-col--2 {
  width: 100%;
}

span.error { color: red; display: none !important; font-size: 12px; margin-top: 2px; text-align: center; }
.form-message { margin-top: 20px; font-family: 'Raleway', sans-serif; }

/* ---- MAIN ---- */
.main { min-height: 100vh; }

/* ---- LANGS ---- */
.langs {
  align-items: center;
  display: flex;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_prolight_weight);
  font-size: 12px;
  height: 100%;
  list-style: none;
  margin: 0 5px;
  padding: 1px 0 0;
}
.langs li { margin: 0 5px; }
.langs .active {
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
}
.langs a { color: #3B3B3B; text-decoration: none; }
.langs-separator { color: #C4C4C4; font-family: Arial, sans-serif; position: relative; top: -1px; }

/* ---- CTA BUTTON ---- */
.cta {
  background: #3E78BD;
  border-radius: 24px;
  color: #fff;
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  line-height: 1.1;
  min-width: 162px;
  padding: 17px 25px 13px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .1s ease-in-out;
}
.cta:hover, .cta:focus { background: #F5AF32; }
.cta--lg { font-size: 20px; }

/* ---- MENU ---- */
.menu {
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  line-height: 1.6;
  list-style: none;
  margin: 0;
  padding: 0 50px;
}
.menu li { margin: 25px 0; }
.menu a {
  color: #3B3B3B;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .1s ease-in-out;
}
.menu a:hover,
.menu .current-menu-item a,
.menu .current-page-ancestor a { color: #F5AF32; }
.menu-item-description {
  color: #2F2F2F;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_prolight_weight);
  font-size: 12px;
  line-height: 1.15;
  margin-left: 10px;
  margin-top: -2px;
  opacity: .3;
}

/* ---- MASTHEAD (hero) ---- */
.masthead {
  background-position: 50% 50%;
  background-size: cover;
  height: 350px;
  margin-bottom: 90px;
  position: relative;
}
.masthead::after {
  background: url(img/line.svg) 50% 50%;
  bottom: -12px;
  content: '';
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
}
.masthead-text {
  bottom: 20px;
  color: #fff;
  position: absolute;
  right: 30px;
}
.masthead-title {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 0 2px rgba(0,0,0,.3);
  text-transform: uppercase;
}

/* ---- SECTIONS ---- */
.sections { margin-bottom: 20px; }
.section { padding-left: 30px; padding-right: 30px; }
.section--statistics,
.section--video,
.section--news { margin-bottom: 50px; margin-top: 50px; }
.section--boxed { padding: 30px; }
.section--text { margin-bottom: 40px; margin-top: 40px; }
.section--text + .section--text { margin-top: -60px; }
.section--pages { margin-bottom: 40px; margin-top: 40px; }
@media (min-width: 768px) {
  .section--pages { margin-bottom: 100px; margin-top: 80px; }
}
.section--contained { margin-left: auto; margin-right: auto; max-width: 850px; }
.section--edge-to-edge { padding-left: 0; padding-right: 0; }

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  color: rgba(42,42,42,.6);
  display: flex;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_prolight_weight);
  font-size: 14px;
  list-style: none;
  margin: 5px 0 15px;
  padding: 0;
}
.breadcrumbs .separator { margin: 0 10px; }
.breadcrumbs .separator,
.breadcrumbs a { color: rgba(42,42,42,.3); text-decoration: none; transition: all .1s ease-in-out; }
.breadcrumbs a:hover { color: #F5AF31; text-decoration: none; }

/* ---- ENTRY ---- */
.entry-header { margin-bottom: 60px; }
.entry-title {
  color: #3B3B3B;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 28px;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}
.entry-title--single { color: #3E78BD; font-size: 22px; line-height: 1.35; text-transform: none; }

/* ---- CARD ---- */
.card {
  background-color: #fff;
  margin: 0 0 64px 0;
  padding: 25px 30px;
  position: relative;
}
.card--no-horiz-padding { padding-left: 0; padding-right: 0; }
.card::after {
  background: url(img/pattern.svg) 100% 100%;
  background-size: 200px 200px;
  bottom: -24px;
  content: '';
  height: 100%;
  position: absolute;
  right: -20px;
  width: 100%;
  z-index: -1;
}

/* ---- PAGE OBJECTS (3 cards on homepage) ---- */
.page-objects {
  display: flex;
  flex-wrap: wrap;
}
.page-object {
  flex: 1 1 200px;
  padding: 25px 30px;
  border-left: 1px solid #F6F6F6;
}
.page-object:first-child { border-left: none; }
.page-object-title {
  color: #3E78BD;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 15px;
  text-transform: uppercase;
}
.page-object-summary {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 25px;
  color: #2F2F2F;
}
.page-object-link { text-align: center; }

/* ---- H2 / CARD TITLE ---- */
h2 { margin: 0 0 30px; }
h2, .card-title {
  color: #3E78BD;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 22px;
  line-height: 1.3;
}
.card-title { margin: 3px 0; text-transform: uppercase; }
.card-title--xs {
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 16px;
  margin-top: 8px;
}
.card-title a { color: #3B3B3B; text-decoration: none; }
.card-meta {
  color: #C8C8C8;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_prolight_weight);
  font-size: 12px;
  line-height: 1;
  margin: 7px 0 24px;
}
.card-body { font-size: 16px; margin-bottom: 30px; margin-top: 20px; }
.card-body--xs { line-height: 1.65; margin-bottom: 25px; }
.card-footer { margin: 5px 0; text-align: center; }

/* ---- VIDEO SECTION ---- */
.video {
  background-position: 50% 50%;
  background-size: cover;
  height: 550px;
  margin: 10px 0 20px;
  position: relative;
}
.video-link { display: block; height: 100%; }
.video-label {
  color: #fff;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 16px;
  left: 5%;
  min-width: 60px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 35%;
  width: 90%;
}
@media (min-width: 768px) {
  .video-label { left: 50%; transform: translate(-50%); width: auto; }
}
.video-label::after {
  background: url(img/play.svg) no-repeat 50% 50%;
  content: '';
  display: block;
  height: 60px;
  margin-top: 22px;
  width: 100%;
}

/* ---- STATS BUBBLES ---- */
.stats-bubbles {
  margin: 10px 0;
  text-align: center;
}
.stats-bubble { margin: 10px auto; }
.stats-bubble-inner {
  background: #fff;
  border-radius: 50%;
  display: flex;
  height: 180px;
  margin: 0 auto;
  padding: 20px;
  width: 180px;
  position: relative;
  flex-direction: column;
  justify-content: center;
}
.stats-bubble-value {
  color: #3E78BD;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 40px;
  line-height: 1.3;
}
.stats-bubble-label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}
.stats-bubble-label span { display: block; padding: 0 15px; }

.masked {
  display: inline-block;
  margin: 0;
  overflow: hidden;
  position: relative;
}
.masked::after {
  background: url(img/mask.png) no-repeat 50% 50%;
  background-size: cover;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.masked img { height: auto; max-width: 100%; vertical-align: top; }

/* ---- CMS CONTENT ---- */
.cms--single { margin-bottom: 50px; text-align: justify; }
.cms--single p { margin-bottom: 40px; }
.cms table {
  border-collapse: collapse;
  font-size: 18px;
  border: 0;
  line-height: 1.25;
  width: 100%;
}
.cms table td { font-size: 16px; padding: 8px 0; transition: all 0.2s ease-in-out; }
.cms table tr:hover td { background-color: #FCFCFC; }
.cms table th + th, .cms table td + td { padding-left: 10px; }
.cms table th {
  color: #3B3B3B;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 16px;
  padding: 18px 0;
  text-align: left;
}
.cms a:hover { text-decoration: underline; }

/* ---- ALIGNMENTS ---- */
.alignleft, img.alignleft { display: inline; float: left; margin-right: 30px; margin-top: 4px; }
.alignright, img.alignright { display: inline; float: right; margin-left: 30px; margin-top: 4px; }
.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 12px; }

/* ---- SHARE ---- */
.share { border-top: 1px solid #fff; margin: 40px 0; padding: 40px 0 0; }
.share-title {
  color: #3B3B3B;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 16px;
  margin: 0 0 25px;
  text-transform: uppercase;
}
.share-links { display: flex; list-style: none; margin: 0; padding: 0; }
.share-links li + li { margin-left: 40px; }
.share-link {
  background: url(img/facebook.svg) no-repeat 0 50%;
  color: #3B3B3B;
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 12px;
  line-height: 20px;
  padding-left: 30px;
  text-decoration: none;
}
.share-link--email { background-image: url(img/newsletter.svg); }

/* ---- CORNER MAIL BUTTON ---- */
.corner-mail {
  background: #92C632 url(img/contact.svg) no-repeat 50% 50%;
  border-radius: 50%;
  bottom: 20px;
  color: #fff;
  height: 60px;
  position: fixed;
  right: 20px;
  width: 60px;
  z-index: 10;
}

/* ---- PAGINATION ---- */
.pagination {
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 16px;
  line-height: 30px;
  margin: 60px auto 50px;
  position: relative;
}
.pagination h2 { display: none; }
.nav-links { position: relative; }
.nav-links ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0 20px 0 0; padding: 0; }
.nav-links a { color: #BFBFBF; transition: all 0.1s ease-in-out; }
.nav-links .number { background: #fff; min-width: 30px; text-align: center; }
.nav-links a, .nav-links span { border-radius: 15px; display: inline-block; padding: 0 10px; }
.nav-links .current { min-width: 30px; text-align: center; }
.nav-links .current,
.nav-links .number:hover { background: #F5AF32; color: #fff; }

/* ---- FOOTER ---- */
.footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid #F6F6F6;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 0 15px;
  position: relative;
}
.footer-col { margin-bottom: 14px; margin-top: 14px; }

.footer-socials {
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-socials li { margin: 14px 0; }
.footer-socials-icon {
  color: #3B3B3B;
  display: inline-block;
  padding-left: 30px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.footer-socials-icon::before {
  content: '';
  display: inline-block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}
.footer-socials-icon--newsletter::before { background-image: url(img/newsletter.svg); background-repeat: no-repeat; background-size: contain; }
.footer-socials-icon--facebook::before  { background-image: url(img/facebook.svg);   background-repeat: no-repeat; background-size: contain; }
.footer-socials-icon--youtube::before   { background-image: url(img/youtube.svg);    background-repeat: no-repeat; background-size: contain; }

.footer-socials-icon:hover { color: #F5AF31; }
.footer-socials-icon--newsletter:hover::before { background-image: url(img/newsletter_hover.svg); }
.footer-socials-icon--facebook:hover::before   { background-image: url(img/facebook_hover.svg);   }
.footer-socials-icon--youtube:hover::before    { background-image: url(img/youtube_hover.svg);     }

.footer-contacts {
  color: #C0C0C0;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_prolight_weight);
  font-size: 12px;
  text-align: center;
}
.footer-contacts p { margin: 0; }
.footer-contacts a { color: #C0C0C0; }
.footer-contacts a:hover, .footer-contacts a:focus { color: #F5AF31; }
.footer-logos { align-items: center; display: flex; flex-direction: column; }
.footer-logos a { display: inline-block; }
.footer-logos img { margin: 14px 0; }

/* ---- COOKIE BAR ---- */
.bar_privacy {
  background: #3E78BD;
  bottom: 0;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  left: 0;
  padding: 10px 0;
  position: fixed;
  right: 0;
  z-index: 200;
}
.bar_privacy .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bar_privacy a { color: #fff; text-decoration: underline; }
.buttonn {
  background: #fff;
  border: 0;
  border-radius: 20px;
  color: #3E78BD;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 12px;
  margin-left: 10px;
  padding: 5px 15px;
  text-decoration: none;
}
.buttonn:hover { background: #F5AF31; color: #fff; }
.button-dismiss { background: transparent; border: 1px solid #aaa; color: #aaa; }

/* ---- BUTTON ---- */
.button {
  background: #3E78BD;
  border-radius: 24px;
  color: #fff;
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: var(--cocogoose_proregular_weight);
  font-size: 16px;
  padding: 14px 28px 11px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .1s ease-in-out;
}
.button:hover { background: #F5AF32; }
a.button.button--download { display: table; margin-left: auto; margin-right: auto; margin-bottom: 30px; }
span.button-wrap { vertical-align: top; }

/* ---- EMBED ---- */
.embed-responsive { display: block; margin: 45px 0; position: relative; height: 0; overflow: hidden; }
.embed-responsive.embed-responsive-16by9 { padding-bottom: 56.25%; }
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  body::before {
    background: #fff;
    content: '';
    height: 48px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
  }
  .site-logo {
    left: 0;
    margin: 10px 0 0 10px;
    position: fixed;
    top: 0;
    width: 160px;
    display: flex;
    flex-direction: row;
  }
  .site-logo .tai-logo { margin-top: -1px; margin-left: 0px; width: 135px; }
  .site-logo a { margin-left: 10px; }
  .site-logo .tai-logo img { height: auto; }
  .d-flex-row { display: flex; flex-direction: column; align-items: center; }
}

@media (min-width: 600px) {
  .stats-bubbles { display: flex; justify-content: space-between; }
}

@media (min-width: 768px) {
  .sections { margin-bottom: 80px; }
  .simple-form { align-items: flex-start; display: flex; flex-wrap: wrap; }
  .stats-bubble-inner { height: 200px; width: 200px; }
  .stats-bubble-label { font-size: 16px; }
  .footer { flex-direction: row; justify-content: space-between; padding-left: 50px; padding-right: 50px; }
  .footer-logos { flex-direction: row; }
  .footer-logos a + a, .footer-logos img + img { margin-left: 60px; }
  .main { margin-bottom: 100px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-col:nth-child(1) { flex-basis: 50%; }
  .footer-col:nth-child(2) { flex-basis: 50%; }
  .footer-col:nth-child(3) { flex-basis: 100%; }
}

@media (min-width: 992px) {
  .burger { display: none; }
  .overlay { left: var(--sidebar-width-lg); }
  .sidebar { left: 0; width: var(--sidebar-width-lg); }
  .main { margin-left: var(--sidebar-width-lg); }
  .stats-bubble-inner { height: 200px; width: 200px; }
  .footer-col.bottom-page { margin-left: var(--sidebar-width-lg); }
}

@media (min-width: 1200px) {
  .site-logo { margin-top: 40px; }
  .footer { flex-wrap: nowrap; }
  .footer-contacts { max-width: 600px; padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 767px) {
  .sidebar { width: 100%; }
  a.icon-search { background-size: 20px; margin: 15px 20px; }
  .site-options { border-top: 1px solid #F6F6F6; border-bottom: none; }
  .langs a { padding: 15px 10px; display: inline-block; }
  .menu li { text-align: center; }
}

@media (max-height: 824px) { .menu li { margin: 15px 0; } }
@media (max-height: 729px) { .menu li { margin: 11px 0; font-size: 14px; } }
@media (max-height: 692px) { .sidebar .cta { font-size: 14px; margin-bottom: 0px; } }

.cta--kasiraamat {
  margin-bottom: 20px;
}

.kasiraamat-info {
  font-size: 0.9em;
  color: #666;
  margin-top: 16px;
  line-height: 1.6;
}
