/* Bootstrap 4.3 */
.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}


/* Helix Ultimate 1 */
/* Sticky header JUMP */
#sp-header.header-sticky ~ section#sp-main-body {
    padding-top: 120px;
}
.itemid-107 #sp-header.header-sticky ~ section#sp-slider {
    margin-top: 80px;
}
.itemid-107 #sp-header.header-sticky ~ section#sp-main-body {
    padding-top: 40px;
}

/* kujundus */
.offcanvas-menu .offcanvas-inner .sp-module ul > li a, .offcanvas-menu .offcanvas-inner .sp-module ul > li span {
  font-size: 1.25rem;
  padding: 0.5rem 0;
}

.btn-circle {
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 12px;
  padding: 0;
  border-width: 0px;
  border-radius: 50%;
}
.btn-circle i {
  position: relative;
  top: -1px;
}


/* Keele valik */
.mod-languages img {
    display: inline-block;
}
.mod-languages .lang-inline {
    padding: 0 0 0 15px;
}

/* Moodulid */
.module-bg {
    background-color: #fff;
}
#sp-search ul.menu {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
    margin: 0;
    list-style: none;
    padding: 10px 0 10px 15px;
}
/* otsingu tulemused*/
.search .search-results span.highlight {
    background-color: #ffffff;
    color: #cc3432;
    padding: 0 3px;
}
.search .search-results dd.result-created {
    color: #1e9889;
    font-size: 0.8rem;
}


/* moodul Latestnews Finatic */
#sp-right .sp-module .sp-module-title, #sp-left .sp-module .sp-module-title {
  font-weight: 500;
  border-color: #ddd;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 20px;
}
#sp-right .sp-module .latestnews > div, #sp-left .sp-module .latestnews > div {
  width: 100%;
  display: flex;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eaeaea;
}
#sp-right .sp-module .latestnews > div:last-child, #sp-left .sp-module .latestnews > div:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
#sp-right .sp-module .latestnews > div > a, #sp-left .sp-module .latestnews > div > a {
  font-size: 13px;
  color: #6c6d8b;
}
#sp-right .sp-module .latestnews > div .article-list-img, #sp-left .sp-module .latestnews > div .article-list-img {
  flex: 0 0 40%;
  max-width: 90px;
  margin-right: 15px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 90px;
}
#sp-right .sp-module .latestnews > div .latest-post-content-wrap, #sp-left .sp-module .latestnews > div .latest-post-content-wrap {
  flex: 0 0 60%;
  max-width: 60%;
}
#sp-right .sp-module .latestnews > div .latest-post-content-wrap .latest-post-title a, #sp-left .sp-module .latestnews > div .latest-post-content-wrap .latest-post-title a {
  font-size: 14px;
  color: #050505;
}
#sp-right .sp-module .latestnews > div .latest-post-content-wrap .latest-post-title a:hover, #sp-left .sp-module .latestnews > div .latest-post-content-wrap .latest-post-title a:hover {
  color: #4e7e5c;
}
#sp-right .sp-module .latestnews > div .latest-post-content-wrap .latest-post-info, #sp-left .sp-module .latestnews > div .latest-post-content-wrap .latest-post-info  {
  line-height: 1;
  padding-bottom: 0.5rem;
}
#sp-right .sp-module .latestnews > div .latest-post-content-wrap .latest-post-info span.category-date, #sp-left .sp-module .latestnews > div .latest-post-content-wrap .latest-post-info span.category-date {
  color: #afafaf;
  font-size: 13px;
}
@media (min-width: 481px) {
  #sp-right .sp-module .latestnews > div, #sp-left .sp-module .latestnews > div {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  #sp-right .sp-module .latestnews > div .latest-post-content-wrap .latest-post-title a, #sp-left .sp-module .latestnews > div .latest-post-content-wrap .latest-post-title a {
    font-size: 16px;
  }
  #sp-right .sp-module .latestnews > div .article-list-img, #sp-left .sp-module .latestnews > div .article-list-img {
    max-width: 110px;
    margin-right: 20px;
  }
}
@media (min-width: 768px) {
  #sp-right .sp-module .sp-module-title, #sp-left .sp-module .sp-module-title {
    padding-top: 0;
  }
}


/* moodul SP-Features*/
.sp-features {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
}
.sp-features .sp-feature {
    background-color: #fff;
    background: rgba(255,255,255,0.8);
    padding: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.5);
    max-width: 205px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}
.sp-features .sp-feature .feature-img-wrapper img {
    max-width: 48px;
    margin: 20px auto;
}
.sp-features .sp-feature i {
    font-size: 48px; 
}
#sp-slider .sp-features .sp-feature h3 {
    font-size: 18px; 
}
@media (min-width: 768px) {
  #sp-slide {
    padding-top: 185px;
  }
  .sp-features .sp-feature {
    padding: 20px;
  }
}

/* moodul jaluses */
#sp-bottom .sp-module ul.menu > li > a.btn {
    color: #e8e7ec;
    display: inline-block;
}
#sp-bottom .sp-module ul.menu > li > a {
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    }
#sp-bottom .sp-module ul.menu > li > a:hover {
    -webkit-transform: translate(5px,0);
    -moz-transform: translate(5px,0);
    -ms-transform: translate(5px,0);
    -o-transform: translate(5px,0);
    transform: translate(5px,0);
}
#sp-bottom .sp-module ul.menu > li > a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f061";
    position: absolute;
    margin-left: 5px;
    top: 1px;
    opacity: 0;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
}
#sp-bottom .sp-module ul.menu > li > a:hover:after {
    opacity: 1;
    color: #cc3433;
}
#sp-bottom .sp-module ul.menu > li > a.btn:after {content: "";}
#sp-bottom .sp-module ul.menu > li > a.btn:hover {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}


/* Artikkel */
body.view-article #sp-component {
    background-color: #ffffff;
}
body.view-article .article-details {
    padding-top: 15px;
}
.article-details .article-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}
.article-full-image .img_caption {
    font-size: 0.875rem;
    font-style: italic;
    text-align: right;
}

/* Blogi */
.article-list .article {
  background-color: #fff;
  display: flex;
  flex-direction: column;
}
.article-list .article .article-intro-image {
  margin: 0 0 20px 0;
}
@media (min-width: 768px) {
  .article-list .article {
    flex-direction: row;
  }
  .article-list .article .article-intro-image {
    margin: 0 20px 0 0;
    flex: 0 0 45%;
    max-width: 300px;
  }
}
.article-list .article .article-intro-image img {
  width: 100%;
}
.article-list .article .article-introtext {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.article-list.articles-leading .article .article-header h2 {
    font-size: 2.25rem;
    margin: 0 0 0.5rem 0;
}