/* dirisk */
@import url('../fonts/fonts.css');
@import url('rangeslider.css');
@import url('icos.css');
.red {
  color: #E45959;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.hero-gradient {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff0000+0,ff0000+20,ffffff+20,ffffff+100 */
  background: #F2F3EE;
  /* Old browsers */
  background: -moz-linear-gradient(left, #E45959 0%, #E45959 23%, transparent 23%, transparent 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #E45959 0%, #E45959 23%, transparent 23%, transparent 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #E45959 0%, #E45959 23%, transparent 23%, transparent 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@bg', endColorstr='transparent', GradientType=0);
  /* IE6-9 */
}
.regular {
  font-family: 'hkg';
}
.bold {
  font-family: 'hkg';
  font-weight: 700;
}
.hkg-extrabold {
  font-family: 'hkg-extrabold';
}
.hkgw-bold {
  font-family: 'hkgw-bold';
}
.hkgw-extrabold {
  font-family: 'hkgw-extrabold';
}
html,
body {
  font-size: 24px;
  height: 100%;
}
body {
  min-height: 100%;
  background: #F2F3EE url(../gfx/bg-wavez.png) center top -12em repeat-y;
  background-size: 154em auto;
  color: #292C43;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'hkg';
  overflow-x: hidden;
}
body.halt {
  overflow: hidden;
}
.center {
  text-align: center;
}
.btn-round {
  border-width: 2px;
  padding-left: 1.5em;
  padding-right: 1.5em;
  border-radius: 2em;
  font-family: 'hkg';
  font-weight: 700;
}
header {
  display: flex;
  align-content: center;
  position: relative;
  z-index: 445;
  font-size: 0.75em;
}
header img .logo {
  max-height: 3.6em;
  width: auto;
}
header .btn {
  border-width: 2px;
  padding-left: 1.5em;
  padding-right: 1.5em;
  border-radius: 2em;
  font-family: 'hkg';
  font-weight: 700;
  font-size: 1em;
  color: #292C43;
  background-color: #F2F3EE;
}
header ul.menu {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
header ul.menu li {
  list-style: none;
  padding-left: 3em;
}
header ul.menu li:first-child {
  padding-left: 0;
}
header ul.menu li a {
  color: #292C43;
}
header ul.menu li a:hover {
  text-decoration: none;
  color: #E45959;
}
header ul.menu li.current-menu-item a,
header ul.menu li.current_page_item a {
  font-family: 'hkg';
  font-weight: 700;
  text-decoration: underline;
}
h1 {
  font-family: 'hkgw-bold';
  font-size: 2.6em;
  line-height: 1.2em;
}
div.content {
  flex-grow: 2;
}
div.content a {
  color: #E45959;
  text-decoration: underline;
}
div.content .fronthero {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff0000+0,ff0000+20,ffffff+20,ffffff+100 */
  background: #F2F3EE;
  /* Old browsers */
  background: -moz-linear-gradient(left, #E45959 0%, #E45959 23%, transparent 23%, transparent 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #E45959 0%, #E45959 23%, transparent 23%, transparent 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #E45959 0%, #E45959 23%, transparent 23%, transparent 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@bg', endColorstr='transparent', GradientType=0);
  /* IE6-9 */
}
div.content .fronthero p {
  line-height: 1.7em;
}
div.content .img {
  display: flex;
  width: 100%;
  height: 100%;
  padding-bottom: 30em;
  background-size: cover;
  background-position: center center;
}
footer {
  font-family: 'hkg';
  font-size: 0.83em;
}
footer strong {
  font-family: 'hkg';
  font-weight: 700;
}
footer .col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
footer .col a {
  text-decoration: none;
  color: #292C43;
}
.separaText {
  display: flex;
  align-items: center;
  color: #E45959;
  text-transform: uppercase;
  font-family: 'hkg-extrabold';
  font-size: 0.7em;
  letter-spacing: 0.1em;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.separaText::after {
  background-color: #E45959;
  height: 0.15em;
  width: 100%;
  content: '';
  margin-left: 1em;
}
ul.squareNumbers {
  counter-reset: number-counter;
  list-style: none;
  padding-left: 0;
}
ul.squareNumbers li {
  counter-increment: number-counter;
  display: flex;
  position: relative;
  margin-top: 2em;
  align-items: center;
}
ul.squareNumbers li:first-child {
  margin-top: 0;
}
ul.squareNumbers li span {
  flex-grow: 2;
}
ul.squareNumbers li::before {
  content: counter(number-counter) ". ";
  color: #E45959;
  border: solid 2px #E45959;
  font-weight: bold;
  font-size: 4em;
  margin-right: 0.3em;
  line-height: 0.7em;
  height: 1.5em;
  display: flex;
  padding-left: 0.1em;
  padding-right: 0.1em;
  align-items: flex-end;
  justify-content: center;
  letter-spacing: -0.05em;
}
.scrollHorizontal {
  color: #ffffff;
  background-color: #292C43;
}
.scrollHorizontal {
  color: #ffffff;
  background-color: #292C43;
}
.tekkisHuvi {
  color: #ffffff;
  background-color: #E45959;
}
.tekkisHuvi p {
  margin: 0;
  font-family: 'hkg';
  font-weight: 700;
}
.tekkisHuvi a {
  text-decoration: none!important;
  color: #ffffff!important;
}
.arguments h1 {
  font-size: 2em;
  color: #E45959;
}
.arguments .argument {
  position: relative;
  padding-left: 2em;
}
.arguments .argument::before {
  color: #E45959;
  content: '\e800';
  font-family: 'dirisk';
  position: absolute;
  left: 15px;
  top: 0;
}
/* mobile menu */
#nav-icon {
  position: relative;
  width: 24px;
  height: 24px;
  z-index: 445;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  -moz-transition: 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  cursor: pointer;
}
#nav-icon span {
  display: block;
  position: absolute;
  z-index: 999;
  height: 2px;
  width: 100%;
  background: #E45959;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  -moz-transition: 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
#nav-icon:focus span,
#nav-icon:hover span {
  background: #E45959;
}
#nav-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#nav-icon span:nth-child(2) {
  top: 7px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#nav-icon span:nth-child(3) {
  top: 14px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
#nav-icon.open span:first-child,
#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -2px;
  left: 3px;
  background: #E45959;
}
#nav-icon.open span:first-child + span,
#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}
#nav-icon.open span:first-child + span + span,
#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 15px;
  left: 3px;
  background: #E45959;
}
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #ffffff;
  z-index: 444;
  display: none;
  font-size: 4vmin;
}
.overlay .wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.overlay ul {
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
  margin-top: 2.5em;
  display: flex;
  flex-direction: column;
}
.overlay ul:first-child {
  flex-grow: 2;
}
.overlay ul:first-child li a {
  color: #292C43;
}
.overlay ul:last-child {
  padding-bottom: 2em;
}
.overlay ul li {
  padding: 1.3vmax 0;
  color: #ffffff;
  text-align: center;
  font-size: 4vw;
  width: 100%;
  box-sizing: border-box;
}
.overlay ul li a,
.overlay ul li a:link,
.overlay ul li a:focus,
.overlay ul li a:active {
  text-decoration: none;
}
.overlay ul li a.active,
.overlay ul li.current_page_parent a,
.overlay ul li.current-menu-item a {
  color: #E45959;
  border: solid 0 #ffffff;
  border-bottom-width: 1px;
}
.overlay ul li.login {
  margin-top: 1em;
  text-decoration: underline;
}
.clicktainer {
  cursor: pointer;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.scrollHorizontal .rangeslider__fill {
  background-color: #ffffff;
  height: 4px;
  margin-top: -1px;
}
.scrollHorizontal .rangeslider__fill__bg {
  background-color: rgba(242, 243, 238, 0.6);
}
.scrollHorizontal .rangeslider__handle {
  will-change: width,height,top;
  width: 14px;
  height: 14px;
  display: inline-block;
  z-index: 3;
  cursor: pointer;
  border: solid 2px #fff;
  border-radius: 50%;
  -webkit-transition: width 0.1s ease-in-out, height 0.1s ease-in-out, top 0.1s ease-in-out;
  transition: width 0.1s ease-in-out, height 0.1s ease-in-out, top 0.1s ease-in-out;
}
.scrollHorizontal .rangeslider__handle {
  border: none;
  background: #E45959;
}
.scrollHorizontal .bems-scroller {
  height: auto;
}
.scrollHorizontal .bems-scroller #scrolling-container::after {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5em;
  pointer-events: none;
  content: '';
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff0000+0,0000ff+100 */
  background: transparent;
  /* Old browsers */
  background: -moz-linear-gradient(left, transparent 0%, #292C43 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, transparent 0%, #292C43 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, transparent 0%, #292C43 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='transparent', endColorstr='@main', GradientType=1);
  /* IE6-9 */
}
.scrollHorizontal .bems-scroller #scrolling-container .argNr {
  padding-right: 2em;
  min-width: 30%;
}
.scrollHorizontal .bems-scroller #scrolling-container .argNr h2 {
  font-family: 'hkgw-extrabold';
  color: #E45959;
  font-size: 3em;
}
#picBlock #bigPic::after {
  content: '\e807';
  font-size: 2em;
  pointer-events: none;
  color: #E45959;
  position: absolute;
  font-family: 'dirisk';
  left: 50%;
  top: 50%;
  margin-top: -0.5em;
  margin-left: -0.5em;
  z-index: 444;
}
#picBlock .thumbs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
#picBlock .thumbs a {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.1);
  border: solid 2px transparent;
  border-radius: 0.3em;
  overflow: hidden;
}
#picBlock .thumbs a.active {
  border-color: #E45959;
}
#picBlock .thumbs a img {
  max-width: 10em;
}
.mazeList .ico-maze {
  color: #E45959;
  display: block;
  font-size: 2em;
}
.mazeList p {
  margin-bottom: 0;
}
/* fullscreen modal */
.modal {
  font-size: 0.85em;
}
.modal .modal-dialog {
  max-width: 1200px;
}
.modal .modal-dialog .modal-content {
  padding: 0.5em 1.2em 1.2em 1.2em;
}
.modal .modal-dialog .modal-content .modal-header {
  border-bottom-width: 0;
  padding-bottom: 0;
}
.modal .modal-dialog .modal-content .modal-header .ico-close {
  margin-top: -0.5em;
  margin-right: -1em;
}
.modal .modal-dialog .modal-content .modal-header h2 {
  font-size: 2em;
  font-family: 'hkgw-extrabold';
  margin-bottom: 0;
}
.modal .modal-dialog .modal-content .modal-header h2 span {
  color: #E45959;
}
.modal.modal-fullscreen .modal-dialog {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  max-width: none;
  z-index: 335;
}
.modal.modal-fullscreen .modal-dialog .modal-content {
  height: auto;
  height: 100vh;
  border-radius: 0;
  background: transparent;
  border: none;
}
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body {
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .fullmodal-header {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  color: #ffffff;
  padding: 1em;
  left: 0;
  width: 100%;
  z-index: 2;
}
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .fullmodal-content {
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.1);
  flex: 1 0 auto;
  position: relative;
}
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks {
  display: flex;
  justify-content: center;
}
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:link,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:visited,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:active,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:hover {
  color: #292C43;
  text-transform: uppercase;
  margin: 0 1em;
}
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a.active,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:link.active,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:visited.active,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:active.active,
.modal.modal-fullscreen .modal-dialog .modal-content .modal-body .modalLinks a:hover.active {
  font-weight: bold;
  color: #E45959;
}
/* carousel */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  background: #E45959;
  top: 43%;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  color: #fff;
  text-align: center;
  opacity: 1;
  margin: 0 1em;
  width: 3em;
  height: 3em;
  border-radius: 1.5em;
  line-height: 1em;
}
.carousel .carousel-control-prev {
  margin-left: 0;
}
.carousel .carousel-control-prev span {
  pointer-events: none;
}
.carousel .carousel-control-prev span::before {
  margin-right: 0.3em;
}
.carousel .carousel-control-next {
  margin-right: 0;
}
.carousel .carousel-control-next span {
  pointer-events: none;
}
.carousel .carousel-control-next span::before {
  margin-left: 0.3em;
}
.carousel ol.carousel-indicators {
  bottom: 0;
  margin: 0;
  justify-content: left;
}
.carousel ol.carousel-indicators li {
  border-radius: 0.25em;
  width: 0.75em;
  height: 0.75em;
  background: #EAE8E9;
  margin-right: 0.3em;
}
.carousel ol.carousel-indicators li.active {
  background: #E45959;
}
.carousel img {
  user-drag: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  user-select: none;
}
.carousel#fullCarousel {
  margin: auto;
  height: 100%;
}
.carousel#fullCarousel .count {
  position: absolute;
  left: 1em;
  top: 1em;
  z-index: 333;
  color: #ffffff;
}
.carousel#fullCarousel .carousel-indicators {
  position: absolute;
  justify-content: center;
  bottom: 5%;
}
.carousel#fullCarousel .carousel-indicators li {
  padding: 0;
  display: inline;
  border: solid 2px #ffffff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.carousel#fullCarousel .carousel-indicators li.active {
  background: #ffffff;
}
.carousel#fullCarousel .carousel-inner {
  height: 100%;
  padding: 0;
}
.carousel#fullCarousel .carousel-inner .carousel-item {
  height: 100%;
  padding-left: 13%;
  padding-right: 13%;
}
.carousel#fullCarousel .carousel-inner .carousel-item .in {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.carousel#fullCarousel .carousel-inner .carousel-item .in .img {
  width: 70%;
  height: 80%;
  background-size: cover;
  background-position: center center;
}
.carousel#fullCarousel .carousel-control-prev,
.carousel#fullCarousel .carousel-control-next {
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
  font-size: 2em;
  margin: 0 1em;
}
.krimbel {
  margin-left: -4em;
}
@media (min-width: 1342px) and (max-width: 1469px) {
  html body {
    background: #F2F3EE url(../gfx/bg-wavez.png) center top -8em repeat-y;
    background-size: 114em auto;
  }
  html #picBlock .thumbs img {
    max-width: 9.5em;
  }
}
@media (min-width: 992px) and (max-width: 1341px) {
  html #picBlock .thumbs img {
    max-width: 16vw;
  }
}
/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
  html body {
    font-size: 16px;
    background: #F2F3EE url(../gfx/bg-wavez.png) center top -8em repeat-y;
    background-size: 130em auto;
  }
  html #picBlock .thumbs img {
    max-width: 16vw;
  }
}
/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
  html body {
    font-size: 18px;
    background: #F2F3EE url(../gfx/bg-wavez.png) center top -8em repeat-y;
    background-size: 114em auto;
  }
  html body h1 {
    font-size: 1.6em;
  }
  html body div.content {
    margin-top: calc(3.75em);
  }
  html body div.content .fronthero {
    background: none;
  }
  html body div.content .fronthero .container-lg img {
    max-width: 90%;
  }
  html body div.content .img {
    padding-bottom: 21em;
  }
  .krimbel {
    margin: auto;
  }
  .modal .modal-dialog .modal-content {
    padding: 0.5em 0 1.2em 0;
  }
  .scrollHorizontal .bems-scroller #scrolling-container .argNr {
    min-width: 70%;
  }
  #picBlock .thumbs {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
  }
  #picBlock .thumbs a img {
    max-width: 20vw;
  }
  #picBlock #bigPic::after {
    font-size: 1.5em;
    margin-top: -0.5em;
    margin-left: -0.5em;
  }
  .arguments .argument {
    padding-left: 2.5em;
  }
  .arguments .argument::before {
    font-size: 1.3em;
  }
  .carousel#fullCarousel .carousel-control-prev,
  .carousel#fullCarousel .carousel-control-next {
    top: 47%;
    margin: 0;
  }
  .tekkisHuvi .col {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  footer img.img-fluid {
    max-width: 11em;
  }
  footer .col {
    text-align: center;
    font-size: 1.2em;
  }
  header {
    background-color: #F2F3EE;
    position: fixed;
    align-items: center;
    top: 0;
    width: 100%;
    -webkit-transition: top 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: top 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: top 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: top 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    height: 5em;
  }
  header.nav-up {
    top: calc(-5em);
  }
  header a#mailto {
    font-size: 2.8em;
    margin-right: 0.2em;
  }
  header img.logo {
    height: 2.8em;
    max-width: auto;
  }
}
