@media (min-width: 1060px) {
    .showcase-item__wrapper {
        max-width: none;
    }
}
@media (min-width: 1400px) {
    .showcase-item__wrapper {
        max-width: none;
    }
}

.fancybox-container {
    margin: 0;
}

.section--teal {
    background: #0B2545;
}

@media screen and (min-width: 1040px) {
    .view--articles-show .section--teal {
        background: #0B2545;
    }
}

p.wp-block-teknavifi-ingressheading {
    font-size: 1.4em;
    font-style: italic;
    border-bottom: 2px solid #10627a;
    padding-bottom: 24px;
    min-height: 86px;
}

.wp-block-teknavifi-galleryblock {
    display: flex;
    flex-wrap: wrap;
}

.wp-block-teknavifi-galleryblock a {
    flex: 0 1 25%;
    padding: 5px 10px;
    box-sizing: border-box;
    position: relative;
    margin: 0;
}

.wp-block-teknavifi-galleryblock a img {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
}

.article__body .wp-block-teknavifi-likesdislikesboxblock {
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
}


@media screen and (min-width: 550px) {
    .article__body .wp-block-teknavifi-likesdislikesboxblock {
        margin-left: 1em;
        margin-right: 0;
        display: inline-block;
        float: right;
    }
}

.article__body .wp-block-teknavifi-likesdislikesboxblock ul li {
    padding-left: 16px;
}

.view--categories-show .wall-item__container--new, .view--sections-show .wall-item__container--new, .view--sites-index .wall-item__container--new {
    /* display: none; WTF? */
    display: inline-block;
}

.wall-item__category {
    position: relative;
}

*+.wall-item__body {
    margin-bottom: 2em;
}

h1.search-result {
    margin-bottom: 1em;
}

.view--sites-index .section__container {
    display: block;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.aside__hintaopas {
    display: none;
}

.aside__latest,
.aside__popular,
.section__aside {
    display: block;
}

@media (min-width: 720px) {
    .section__main {
        display: inline-block;
        margin-top: 0;
        margin-right: 10px;
    }
    .section__aside {
        display: inline-block;
    }
    .aside__hintaopas {
        display: block;
    }
}

.article__body img.aligncenter,
.article__body img.alignleft,
.article__body img.alignright,
.article__body img.alignnone {
    max-width: 100%;
    height: auto;
}

.hideonmobile {
    display: none;
}
.hideondesktop {
}

@media screen and (min-width: 1000px) {
    .hideonmobile {
        display: block;
    }
    .hideondesktop {
        display: none;
    }
}



@media screen and (min-width: 1000px) {
    .teknavi-header-ad--desktop {
        min-height: 448px;
    }
}

@media screen and (max-width: 999px) {
    .teknavi-header-ad--mobile {
        min-height: 308px;
    }
}

.article__custom-modules.desktop {
    display: none;
}

.article__custom-modules.mobile {
    display: block;
}

@media screen and (min-width: 1000px) {
    .article__custom-modules.mobile {
        display: none;
    }
    .article__custom-modules.desktop {
        display: block;
    }
}

.adform-teknavi-section-top-panorama.desktop,
.adform-teknavi-site-top-panorama.desktop,
.adform-teknavi-article-top-panorama.desktop {
    display: none;
    background-color: #0B2545;
    text-align: center;
    border-top: 1px solid #0B2545;
    margin-top: 0;
    padding: 0;
}

.adform-teknavi-site-top-panorama.desktop {
    padding-top: 20px;
}

.adform-teknavi-section-top-panorama.desktop .panorama,
.adform-teknavi-site-top-panorama.desktop .panorama,
.adform-teknavi-article-top-panorama.desktop .panorama {
    width: 728px;
    height: 90px;
    margin: 0 auto;
    padding: 0;
}

.adform-teknavi-wall.desktop {
    display: none;
    padding-bottom: 25px;
    text-align: center;
}

.adform-teknavi-wall .box {
    display: inline-block;
    vertical-align: middle;
    width: 49%;
    box-sizing: border-box;
    margin: 0;
    text-align: center;
}

.adform-teknavi-wall .box.third {
    display: none;
}

.adform-teknavi-wall.mobile {
    text-align: center;
    padding-bottom: 35px;
}

@media screen and (min-width: 630px) {
    .adform-teknavi-wall.desktop {
        display: block;
    }
    .adform-teknavi-wall.mobile {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .adform-teknavi-section-top-panorama.desktop,
    .adform-teknavi-site-top-panorama.desktop,
    .adform-teknavi-article-top-panorama.desktop {
        display: block;
    }
    .adform-teknavi-section-top-panorama.mobile,
    .adform-teknavi-site-top-panorama.mobile,
    .adform-teknavi-article-top-panorama.mobile {
        display: none;
    }
}

@media screen and (min-width: 1400px) {
    .adform-teknavi-wall.desktop .box {
        width: 33%;
    }
    .adform-teknavi-wall.desktop .box.third {
        display: inline-block;
    }
}


.showcase, .showcase-item__cover {
    padding-top: 85%;
}

@media (min-width: 680px) {
    .showcase, .showcase-item__cover {
        padding-top: 50%;
    }
}

@media (min-width: 984px) {
    .showcase, .showcase-item__cover {
        padding-top: 52%;
    }
}

@media (min-width: 1060px) {
    .showcase, .showcase-item__cover {
        padding-top: 45%;
    }
}

@media (min-width: 1400px) {
    .showcase, .showcase-item__cover {
        padding-top: 37.5%;
    }
}

@media (min-width: 1680px) {
    .showcase, .showcase-item__cover {
        padding-top: 32.5%;
    }
}

.article__wrapper {
    padding-top: 2em;
    margin-top: 0;
}

@media (min-width: 768px) {
    .article__wrapper {
        margin-top: 20px;
    }
}

.site-top {
    z-index: 100;
}

.article {
    position: relative;
}

.shop-button {
    position: absolute;
    background-color: #00a0fa;
    color: #fff;
    display: block;
    z-index: 20;
    text-decoration: none;
    padding: 5px 15px 5px 20px;
    line-height: 1.5em;
    font-size: 14px;
    border-radius: 3px;
    right: 10px;
    top: -4px;
}

.shop-button.article {
    margin: 0;
    top: 0;
}

@media (min-width: 680px) {
    .shop-button {
        top: -11px;
    }
}

@media (min-width: 1040px) {
    .shop-button.article {
        top: 10px;
    }
}

.shop-button i {
    margin-left: 5px;
    margin-right: 5px;
    transition: all .3s ease 0s;
}

.shop-button:hover {
    color: #fff;
}
.shop-button:hover i {
    margin-left: 10px;
    margin-right: 0;
}

body.navi-fixed {
    padding-top: 44px;
}

@media screen and (min-width: 768px) {
    body.navi-fixed {
        padding-top: 40px;
    }
}

@media screen and (min-width: 930px) {
    body.navi-fixed {
        padding-top: 50px;
    }
}

@media screen and (min-width: 1300px) {
    body.navi-fixed {
        padding-top: 69px;
    }
}

body.navi-fixed .site-top {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

@media (max-width: 767px) {
    body.navi-fixed .site-top .site-menu.is-open {
        max-height: calc(100vh - 44px);
    }
}

#fixed-marker {
    width: 1px;
    height: 0;
    margin: 0;
}

@media (min-width: 720px) {
    #wall-items--some .wall-item__container {
        width: 337px;
    }
}

.wp-block-teknavifi-readerdrawblock .question {
  font-size: 30px;
  margin-bottom: .4em;
}
.wp-block-teknavifi-readerdrawblock .answer {
  margin: 0;
}
.wp-block-teknavifi-readerdrawblock .answer label {
  margin: 0;
}
.wp-block-teknavifi-readerdrawblock .answer input {
  margin-right: 15px;
  width: auto;
  margin-top: .3em;
}
.wp-block-teknavifi-readerdrawblock .fields {
  margin: 0;
}
.wp-block-teknavifi-readerdrawblock .contact {
  margin: 1em 0 0;
  font-size: 25px;
  font-weight: 100;
}
.wp-block-teknavifi-readerdrawblock .answer input {
  border: 1px solid #bbb;
  display: block;
}
.wp-block-teknavifi-readerdrawblock .fields input,
.wp-block-teknavifi-readerdrawblock .fields select {
  display: block;
}
.wp-block-teknavifi-readerdrawblock .fields input[type="checkbox"] {
  width: auto;
}
.wp-block-teknavifi-readerdrawblock .fields label {
  padding: .5em 0;
  font-size: 1rem;
}
.wp-block-teknavifi-readerdrawblock .veil {
  margin: 0;
}
.wp-block-teknavifi-readerdrawblock .fields input {
  margin-bottom: 5px;
}



#teknavi-panorama-ad, .teknavi-panorama-ad {
  margin-bottom: 0;
  margin-top: 0;
}
#teknavi-panorama-ad.ad--active, .teknavi-panorama-ad.ad--active {
  margin-bottom: 1.5em;
  margin-top: -1.5em;
}
@media (min-width: 1400px) {
  #teknavi-panorama-ad.ad--active, .teknavi-panorama-ad.ad--active {
    margin-top: -3em;
  }
}
.is-article-view #teknavi-panorama-ad.ad--active, .is-article-view .teknavi-panorama-ad.ad--active {
  margin-top: 1.5em;
}
@media (min-width: 1040px) {
  .is-article-view #teknavi-panorama-ad.ad--active, .is-article-view .teknavi-panorama-ad.ad--active {
    margin-top: 3em;
  }
}
@media (min-width: 1040px) {
  .is-article-view #teknavi-panorama-ad.ad--active + .article--fancy, .is-article-view .teknavi-panorama-ad.ad--active + .article--fancy {
    margin-top: -4.5em;
  }
}
#teknavi-panorama-ad * + * .teknavi-panorama-ad * + * {
  margin-top: 0;
}
#teknavi-panorama-ad div, .teknavi-panorama-ad div {
  margin-left: auto;
  margin-right: auto;
}

.article__authors {
  text-align: center;
}

.article__product,
.article__author {
  display: inline-block;
  vertical-align: top;
  margin-left: 10px;
  margin-right: 10px;
}

.article__author {
  min-height: 201px;
}

.article__product {
  max-width: 220px;
  width: 100%;
  background-image: url(../img/teknavi-store-tuote.svg);
  background-size: contain;
  text-decoration: none;
  border: 0;
  height: 220px;
  background-repeat: no-repeat;
}

@media (min-width: 520px) {
  .article__product {
    margin-top: -19px;
  }
}

.article__custom-modules > iframe {
  margin-top: 0;
}

