/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

p {
  margin-bottom: 0.25em;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
input,
textarea,
button,
select,
label,
a {
  -webkit-tap-highlight-color: transparent;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0px;
  padding: 0px;
  height: 100%;
  scroll-behavior: smooth;
  background-color: black;
  background-color: white;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: black;
  color: #111;
  line-height: 1.7em;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
}

a {
  color: dodgerblue;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a.button {
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  padding: 0.75em 1.25em;
  width: fit-content;
  margin-top: 1em;
  position: relative;
  background-color: #222;
  color: hsl(164, 95%, 40%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.025em;
  transition: 0.1s;
  border: 0px solid hsl(164, 95%, 40%);
  border: none;
  border-radius: 16px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}
a.button:hover {
  background-color: #333;
  transform: scale(1.05);
}

.textfield {
  width: 100%;
}

#muoto_teksti {
  fill: #ff08f3;
  animation: MoveUpDown 2.5s ease-in;
}

#muoto_teksti1 {
  fill: white;
}

@keyframes MoveUpDown {
  0% {
    filter: blur(30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5em;
  line-height: 1em;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5em;
  line-height: 1em;
}

#mainLayout {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  background-image: url("http://hieronta-tk.local/images/pyyhe-bg.jpg");
  background-position: top center;
  background-repeat: no-repeat;
}

#container {
  width: 100%;
  max-width: 1400px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

footer {
  width: 100%;
  background-color: #0a0a0a;
  padding: 20px;
  margin: 50px auto 0 auto;
}
footer .footerInfo {
  display: flex;
  gap: 30px;
  max-width: 800px;
  margin: 1em auto;
  color: white;
}
@media (max-width: 767.98px) {
  footer .footerInfo {
    align-items: center;
    flex-direction: column-reverse;
  }
}
footer .footerContact {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: fit-content;
}
@media (max-width: 767.98px) {
  footer .footerContact {
    align-items: center;
    flex-direction: column;
  }
}

section {
  border-radius: 10px;
  padding: 2em;
  margin: 2em 0;
}

.infoBar {
  display: grid;
  padding: 0.75em;
  place-items: center;
  text-align: center;
  font-weight: bold;
}
.infoBar.low {
  background-color: #ffff70;
}
.infoBar.medium {
  background-color: #ffbd00;
}
.infoBar.high {
  background-color: #ff4a55;
}

.blurbg {
  background-color: #111;
  border-radius: 10px;
  color: white;
  margin: 2em 0;
  overflow: hidden;
  position: relative;
  background-image: url("../../images/post-pic-1-thumb.jpg");
  background-position: center;
  background-size: cover;
  background-size: 100%;
  transition: background-size 0.5s ease-in-out;
  transition: background-size 1s ease-in-out;
}
.blurbg:hover {
  background-size: 110%;
}
.blurbg .blurdiv {
  position: absolute;
  backdrop-filter: blur(50px);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.blurbg .bgshape {
  position: absolute;
  left: -50%;
  top: 0px;
  font-size: 100em;
  color: #333;
  color: #12cb78;
}
.blurbg .content {
  position: relative;
  padding: 3em;
}

#naviCont {
  display: flex;
  justify-content: space-between;
  place-items: center;
  width: 100%;
}
#naviCont .naviLogo {
  width: 300px;
  margin-top: -0.5em;
  font-size: 24px;
  line-height: 1.25em;
  font-weight: 600;
}
#naviCont .naviLogo a {
  color: #111;
  text-decoration: none;
}
#naviCont .naviLinks a {
  text-decoration: none;
  font-size: 16px;
  line-height: 1.25em;
  font-weight: 600;
}
#naviCont .naviLinks a.selected {
  background-color: hsla(195, 95%, 42%, 0.25);
}

nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
nav li {
  color: #fff;
  display: block;
  float: left;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
}
nav li:last-child a {
  background: #222;
  color: white;
}
nav li a {
  color: #222;
  padding: 0.5em 0.75em;
  border-radius: 999px;
  transition-duration: 0.5s;
}
nav li a:hover,
nav li a:focus-within {
  background: #d9f7ff;
  cursor: pointer;
}
nav li:focus-within a {
  outline: none;
}
nav ul li ul {
  background: orange;
  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  transition: all 0.5s ease;
  margin-top: 1rem;
  left: 0;
  display: none;
}
nav ul li:hover > ul,
nav ul li:focus-within > ul,
nav ul li ul:hover,
nav ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}
nav ul li ul li {
  clear: both;
  width: 100%;
}

#mobileNav {
  z-index: 9;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  position: fixed;
  right: 0px;
  top: 0px;
  opacity: 1;
  pointer-events: none;
  transition: all 0.2s ease-out;
}
#mobileNav #bar {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 100vw;
  height: 100%;
  background-color: white;
  background-color: #fcfc6c;
  background-color: #059dcf;
  padding: 20px;
  padding: 18px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translate(100vw);
  transition: 0.4s ease-out;
}
#mobileNav #bar.open {
  transform: translate(0px);
}
#mobileNav #bar.close {
  transform: translate(100vw);
}
#mobileNav #bar ul {
  width: 100%;
  list-style-type: none;
  margin: 25vw 0;
  padding: 0;
  flex-grow: 2;
}
#mobileNav #bar li a {
  position: relative;
  display: inline-block;
  text-align: center;
  padding: 0.8em;
  width: 100%;
  font-size: 1.5em;
  font-size: 2.5em;
  color: black;
  text-decoration: none;
  font-weight: 400;
}
#mobileNav #bar li a:hover {
  text-decoration: underline;
}
#mobileNav #bar .footer {
  position: absolute;
  width: 100%;
  padding: 1.5rem;
  left: 0px;
  bottom: 0px;
  text-align: center;
  color: black;
}

@media (max-width: 767.98px) {
  #nav-desktop {
    display: none;
  }
  #nav-mobile {
    display: flex;
  }
}
@media (min-width: 768px) {
  #nav-desktop {
    display: flex;
  }
  #nav-mobile {
    display: none;
  }
}
.langSelectNavi {
  display: flex;
  gap: 10px;
}

.langSelectFlag {
  width: 30px;
  border-radius: 4px;
}

.postCardCont {
  width: 100%;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 10px;
}
.postCardCont .postCardContTitle {
  color: #f0f0f0;
  margin-bottom: 0.5em;
}
.postCardCont .postCardList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.postCardCont .postCardList a {
  text-decoration: none;
  z-index: 1;
}
.postCardCont .postCardList > a .content {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 5/3;
  max-height: 300px;
  border-radius: 10px;
  padding: 1.5em;
  font-size: 2em;
}
.postCardCont .postCardList > a .content:hover .contentBg {
  opacity: 0.4;
  opacity: 0.6;
  background-size: 125%;
}
.postCardCont .postCardList .contentBg {
  background-image: url("../../images/post-pic-1-thumb.jpg");
  background-size: 120%;
  background-position: center;
  opacity: 0.25;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transition: opacity 0.25s ease-in-out, background-size 0.25s ease-in-out;
}
.postCardCont .postCardList-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-columns: 1fr;
  gap: 1rem;
}
.postCardCont .postCardList-2 a {
  text-decoration: none;
  z-index: 1;
}
.postCardCont .postCardList-2 > a .content {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 200px;
  max-height: 400px;
  border-radius: 10px;
  padding: 1.5em;
  font-size: 2em;
}
.postCardCont .postCardList-2 > a .content:hover {
  outline: 1px solid rgba(30, 143, 255, 0.5);
}
.postCardCont .postCardList-2 > a .content:hover .contentBg {
  opacity: 0.4;
  background-size: 125%;
}
.postCardCont .postCardList-2 .contentBg {
  background-image: url("/www.spottimedia.fi/content/images/post-pic-2-thumb.jpg");
  background-size: 120%;
  background-position: center;
  opacity: 0.25;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transition: opacity 0.25s ease-in-out, background-size 0.25s ease-in-out;
}

.testCardCont {
  width: 100%;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 10px;
}
.testCardCont .title {
  color: #f0f0f0;
  margin-bottom: 0.5em;
}
.testCardCont .cardList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.testCardCont .cardList a {
  text-decoration: none;
  z-index: 1;
}
.testCardCont .cardList > a .content {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 5/3;
  max-height: 300px;
  border-radius: 10px;
  padding: 1.5em;
  font-size: 2em;
}
.testCardCont .cardList > a .content:hover .contentBg {
  opacity: 0.4;
  opacity: 0.6;
  background-size: 125%;
}
.testCardCont .cardList .contentBg::after {
  content: "";
  background: url("/www.spottimedia.fi/content/images/spottimedia-logo-cutout.svg") center center;
  background: url("/www.spottimedia.fi/content/images/spottimedia-logo-cutout.svg") center center;
  background-size: 120%;
  background-size: 30%;
  background-position: center;
  background-color: #00ffe5;
  opacity: 0.25;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transition: opacity 0.25s ease-in-out, background-size 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
}

.svg-before-test::before {
  display: inline-block;
  content: "";
  vertical-align: -0.125em;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.202 15.967a7.987 7.987 0 0 1-3.552-1.26c-.898-.585-1.101-.826-1.101-1.306 0-.965 1.062-2.656 2.879-4.583C6.459 7.723 7.897 6.44 8.052 6.475c.302.068 2.718 2.423 3.622 3.531 1.43 1.753 2.088 3.189 1.754 3.829-.254.486-1.83 1.437-2.987 1.802-.954.301-2.207.429-3.239.33Zm-5.866-3.57C.589 11.253.212 10.127.03 8.497c-.06-.539-.038-.846.137-1.95.218-1.377 1.002-2.97 1.945-3.95.401-.417.437-.427.926-.263.595.2 1.23.638 2.213 1.528l.574.519-.313.385C4.056 6.553 2.52 9.086 1.94 10.653c-.315.852-.442 1.707-.306 2.063.091.24.007.15-.3-.319Zm13.101.195c.074-.36-.019-1.02-.238-1.687-.473-1.443-2.055-4.128-3.508-5.953l-.457-.575.494-.454c.646-.593 1.095-.948 1.58-1.25.381-.237.927-.448 1.161-.448.145 0 .654.528 1.065 1.104a8.372 8.372 0 0 1 1.343 3.102c.153.728.166 2.286.024 3.012a9.495 9.495 0 0 1-.6 1.893c-.179.393-.624 1.156-.82 1.404-.1.128-.1.127-.043-.148ZM7.335 1.952c-.67-.34-1.704-.705-2.276-.803a4.171 4.171 0 0 0-.759-.043c-.471.024-.45 0 .306-.358A7.778 7.778 0 0 1 6.47.128c.8-.169 2.306-.17 3.094-.005.85.18 1.853.552 2.418.9l.168.103-.385-.02c-.766-.038-1.88.27-3.078.853-.361.176-.676.316-.699.312a12.246 12.246 0 0 1-.654-.319Z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
}

.leiska-wrapper {
  text-transform: uppercase;
  color: hsl(164, 95%, 40%);
}
.leiska-wrapper h1 {
  font-size: 4rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: bold;
}
.leiska-wrapper i {
  color: lightgray;
  font-weight: normal;
  font-family: "Josefin Sans", sans-serif;
}
.leiska-wrapper div {
  padding: 5rem 6rem 6rem 6rem;
  display: inline-block;
  margin-bottom: 1em;
}

.leiska-light {
  background-color: hsl(0, 0%, 10%);
  background-color: hsl(0, 0%, 7%);
}

.leiska-dark {
  background-color: white;
}

.inputWithEndTagCont {
  display: flex;
}

.inputEndTag {
  min-width: 1.8em;
  height: 2.5em;
  display: grid;
  place-items: center;
  background: dodgerblue;
  background: hsl(164, 95%, 40%);
  color: white;
  padding: 0 5px;
  border-radius: 0 5px 5px 0;
}

.button, button, input[type=submit] {
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  padding: 0.5em 1em;
  width: fit-content;
  position: relative;
  color: hsl(164, 95%, 40%);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.025em;
  transition: 0.1s;
  border: 0px solid hsl(164, 95%, 40%);
  border: none;
  border-radius: 16px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}
.button img, button img, input[type=submit] img {
  display: block;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: hsl(0, 0%, 95%);
  color: white;
  cursor: pointer;
}
.button:hover > .tooltip, button:hover > .tooltip, input[type=submit]:hover > .tooltip {
  opacity: 1;
}
.button:focus, button:focus, input[type=submit]:focus {
  outline: none;
  background-color: none;
  box-shadow: 0px 0px 0px 4px hsl(164, 95%, 40%);
}
.button.delete, button.delete, input[type=submit].delete {
  color: red;
  border: 1px solid red;
}

.tooltip {
  opacity: 0;
  pointer-events: none;
  background-color: black;
  color: white;
  text-align: center;
  font-weight: normal;
  text-transform: none;
  border-radius: 999px;
  padding: 5px 20px;
  position: absolute;
  z-index: 1;
  bottom: 130%;
  white-space: nowrap;
  left: 0;
}
.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 1.25em;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

#editor-tabs {
  display: flex;
  align-items: center;
}
#editor-tabs div {
  display: inline-block;
  border-radius: 5px 5px 0 0;
  margin: 0;
  padding: 0;
  background-color: hsl(210, 20%, 96%);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
#editor-tabs div:hover {
  cursor: pointer;
  background-color: white;
}

#popUp {
  z-index: 999;
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0px;
  top: 0px;
  opacity: 0;
  pointer-events: none;
  padding: 100px 100px 100px 100px;
  transition: all 0.2s ease-out;
}
#popUp #bar, #popUp #pop {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 1400px;
  border-radius: 5px;
  height: 100%;
  max-height: 1000px;
  background-color: white;
  color: hsl(164, 95%, 40%);
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.2s ease-out;
}
#popUp #bar.open, #popUp #pop.open {
  transform: translate(0px, -10px);
}

.closePopUp {
  cursor: pointer;
  align-self: flex-end;
  padding-right: 2em;
}

#sidebar {
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0px;
  top: 0px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-out;
}
#sidebar #bar {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 240px;
  height: 100%;
  background-color: white;
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translate(-240px);
  transition: 0.2s ease-out;
}
#sidebar #bar.open {
  transform: translate(0px);
}
#sidebar #bar.close {
  transform: translate(240px);
}
#sidebar #bar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#sidebar #bar li {
  padding: 0.4em;
  font-size: 1.5em;
  font-weight: 400;
  font-family: "Baloo 2", cursive;
}
#sidebar #bar li a {
  text-decoration: none;
  font-weight: 300;
  color: black;
  border: 1px solid none;
  transition: all 0.2s ease-out;
}
#sidebar #bar li a:hover {
  border-bottom: 0.2em solid dodgerblue;
}

.closeSidebar {
  cursor: pointer;
  align-self: flex-end;
  padding-right: 2em;
}

#mediaviewer {
  z-index: 999;
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0px;
  top: 0px;
  opacity: 0;
  pointer-events: none;
  padding: 100px 100px 100px 100px;
  transition: all 0.2s ease-out;
}
@media only screen and (max-width: 800px) {
  #mediaviewer {
    padding: 20px;
  }
}
#mediaviewer #bar {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 1400px;
  border-radius: 5px;
  height: 100%;
  max-height: 1000px;
  background-color: white;
  color: hsl(164, 95%, 40%);
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.2s ease-out;
}
#mediaviewer #bar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#mediaviewer #bar li {
  padding: 0.4em;
  font-size: 1.5em;
  font-weight: 400;
  font-family: "Baloo 2", cursive;
}
#mediaviewer #bar li a {
  text-decoration: none;
  font-weight: 300;
  color: black;
  border: 1px solid none;
  transition: all 0.2s ease-out;
}
#mediaviewer #bar li a:hover {
  border-bottom: 0.2em solid dodgerblue;
}
#mediaviewer #viewerImageCont {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: row;
  height: 100%;
  background-color: hsl(0, 0%, 5%);
}
@media only screen and (max-width: 800px) {
  #mediaviewer #viewerImageCont {
    flex-direction: column;
  }
}
#mediaviewer #viewerImage {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: grid;
  place-items: center;
}
#mediaviewer #viewerImageInfo {
  min-width: 200px;
  padding: 1em;
  font-size: 12px;
  text-align: left;
  background-color: hsl(0, 0%, 10%);
}
#mediaviewer #status {
  position: absolute;
  left: 50%;
  bottom: 0;
}

.closeMediaviewer {
  cursor: pointer;
  align-self: flex-end;
  padding-right: 2em;
}

.progress {
  background-color: #999;
  border: 0;
  height: 10px;
  border-radius: 9999px;
  width: 100%;
  text-align: center;
}

.bar {
  border-radius: 9999px;
  background-color: aquamarine;
  height: 100%;
  width: 0%;
}

#filelist {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  max-width: 800px;
}
#filelist .fileItemWrapper {
  position: relative;
}
#filelist .fileItemWrapper .fileTypeTag {
  position: absolute;
  left: 0px;
  font-size: 0.735em;
  padding: 0 0.3em;
  border-radius: 3px 0 3px 0;
  text-transform: uppercase;
  background-color: #05c793;
}
#filelist .fileItem {
  width: 100px;
  height: 100px;
  border-radius: 3px;
  padding: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: 1px solid #e9e9e9;
  transition: all 0.05s ease-out;
}
#filelist .fileItem.loaded {
  background-color: hsl(164, 95%, 40%);
}
#filelist .fileItem:hover {
  outline: 1px solid hsl(164, 95%, 40%);
  transform: scale(1.04);
}

.loading-pulse {
  animation-name: loading-pulse-background;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  filter: blur(2px);
}

@keyframes loading-pulse-background {
  0% {
    background-color: hsla(164, 95%, 40%, 0);
  }
  50% {
    background-color: hsl(164, 95%, 40%);
  }
  100% {
    background-color: hsla(164, 95%, 40%, 0);
  }
}
.c-green {
  background-color: hsl(120, 61%, 50%);
}
.c-green:hover {
  background-color: hsl(210, 100%, 56%);
  background-color: hsl(120, 100%, 45%);
}

.version {
  width: 2em;
  height: 2em;
  padding: 0;
  border-radius: 999px;
}

[contenteditable]:focus {
  outline: none;
  border-radius: 3px;
  box-shadow: 0px 0px 0px 4px rgb(189, 225, 255);
}

.design-menu-cont {
  position: relative;
}

.design-menu {
  margin: 0;
  padding: 0;
  border-radius: 6px 0 0 6px;
  background-color: rgba(189, 225, 255, 0.5);
  height: 100%;
  position: absolute;
  left: -53px;
  width: 50px;
  border-right: 3px dotted rgb(30, 144, 255);
}

.folder {
  box-shadow: 0px 2px 4px 4px rgba(0, 0, 0, 0.2);
  fill: hsl(51, 100%, 60%);
  stroke: gold;
  stroke-width: 1;
}

.folder-cont {
  padding: 2em 3em;
  display: inline-block;
  border-radius: 5px;
}
.folder-cont:hover {
  background-color: hsl(51, 100%, 90%);
}
.folder-cont:focus {
  box-shadow: 0px 0px 0px 4px rgb(189, 225, 255);
}

.feedcont {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.feed {
  display: flex;
  flex-direction: row;
  background-color: hsl(0, 0%, 95%);
  width: 350px;
  padding: 20px;
  margin: 5px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.05s ease-out;
}
.feed:hover {
  background-color: hsl(0, 0%, 95%);
  outline: 1px solid hsl(164, 95%, 40%);
  cursor: pointer;
}
.feed:active {
  background-color: hsl(0, 0%, 90%);
  outline: 3px solid hsl(164, 95%, 40%);
}
.feed.nonLink {
  cursor: default;
}

.feed-cat {
  border-left: 8px solid orange;
}

.feed-ser {
  border-left: 8px solid dodgerblue;
}

.feed-selected {
  border-left: 8px solid dodgerblue;
  border-right: 16px solid #05c793;
  border-right: 60px solid limegreen;
}

.feed-additional {
  width: 350px;
  padding: 20px;
  margin: 5px;
  margin-left: 1em;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.05s ease-out;
}
.feed-additional:hover {
  outline: 1px solid hsl(164, 95%, 40%);
  cursor: pointer;
}
.feed-back {
  width: fit-content;
  border-left: 8px solid hsl(164, 95%, 40%);
}

.feed-next {
  width: fit-content;
  color: white;
  background-color: hsl(164, 95%, 40%);
}

[data-selected=service] {
  outline: 1px solid hsl(164, 95%, 40%);
  border-right: 64px solid hsl(164, 95%, 40%);
}

[data-booking-tab-selected=false] {
  padding: 1em;
}

[data-booking-tab-selected=true] {
  border-radius: 10px 10px 0 0;
  background-color: hsl(164, 95%, 40%);
  background-color: rgb(134, 195, 255);
  padding: 1em;
}

.hideElement {
  display: none;
}

.portal-list-table {
  /* display: inline-block; */
  border: 0;
  width: 100%;
  padding: 0em;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0 0.5em;
  border-style: hidden;
  text-align: left;
  margin-top: 2em;
}
.portal-list-table tr {
  height: 100%;
  border-radius: 10px;
}
.portal-list-table tr td:first-child {
  border-radius: 10px 0 0 10px;
}
.portal-list-table tr td:last-child {
  border-radius: 0 10px 10px 0;
}
.portal-list-table tr th {
  font-size: 0.9em;
  padding: 0em 1em;
}
.portal-list-table tr td {
  height: 100%;
  background-color: hsla(0, 0%, 0%, 0.05);
  padding: 0.5em 1em;
}
.portal-list-table tr:hover td {
  background-color: hsla(0, 0%, 0%, 0.07);
}
.portal-list-table .buttons {
  display: flex;
  gap: 0.25em;
}
.portal-list-table.leiskaa td:nth-child(1) {
  width: auto;
}
.portal-list-table.leiskaa td:nth-child(2),
.portal-list-table.leiskaa td:nth-child(3) {
  width: 30ch;
}
.portal-list-table.leiskaa td:nth-child(4) {
  width: 0;
}
.portal-list-table.user-list td:nth-child(2),
.portal-list-table.user-list td:nth-child(3),
.portal-list-table.user-list td:nth-child(4) {
  width: 20ch;
}
.portal-list-table.user-list .profile {
  display: block;
  width: 40px;
  border-radius: 999%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}
.grid div {
  padding: 0.5em;
}

.list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  padding: 10px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
  text-overflow: ellipsis;
}
.list > div:nth-child(1) {
  width: 5em;
}
.list > div:nth-child(2) {
  width: 5em;
  width: 10em;
}
.list > div:nth-child(3) {
  width: 6em;
}
.list > div:nth-child(4) {
  width: 8em;
}
.list > div:nth-child(5) {
  width: 4em;
}
.list > div:nth-child(6) {
  width: 4em;
}
.list > div:nth-child(6) {
  width: 4em;
}
.list.titles {
  color: gray;
  margin-top: 2em;
}
.list.rows {
  background-color: hsla(0, 0%, 0%, 0.05);
}
.list.rows:hover {
  background-color: hsla(0, 0%, 0%, 0.08);
}

.portal_item_row {
  display: flex;
  justify-content: space-between;
  background-color: rgb(255, 255, 255);
  border: 1px solid dodgerblue;
  max-width: 600px;
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
}
.portal_item_row.category {
  border-left: 10px solid dodgerblue;
}
.portal_item_row.service {
  border-left: 10px solid #05c793;
}
.portal_item_row:hover {
  background-color: rgb(230, 230, 230);
}

.default_info::before {
  content: "Oletus ";
}
.default_info {
  margin-top: 0.5em;
  display: inline-block;
  background-color: white;
  color: dodgerblue;
  border: 1px solid dodgerblue;
  font-size: 0.8em;
  padding: 0em 0.8em;
  border-radius: 10px 3px 3px 10px;
}

.message {
  background-color: limegreen;
  border-radius: 5px;
  height: 3em;
}

.calendar-wrapper .calendar {
  display: grid;
  flex-direction: row;
  grid-template-columns: repeat(7, 1fr);
}
.calendar-wrapper .calendar2 div {
  padding: 10px;
}
.calendar-wrapper .calendar2 {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  row-gap: 0px;
  column-gap: 0px;
  background-color: white;
}
.calendar-wrapper .first-day {
  grid-column-start: 1;
}
.calendar-wrapper .baa {
  grid-column-start: 3;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 4;
  background-color: blueviolet;
  opacity: 0.5;
}
.calendar-wrapper .day {
  display: grid;
  grid-template-columns: repeat(1, 75%);
  grid-template-rows: auto;
}
.calendar-wrapper .slot {
  margin: 0px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
}
.calendar-wrapper .slot.range {
  background-color: none;
  border: 1px solid rgb(226, 226, 226);
  color: gray;
}
.calendar-wrapper .slot.available {
  background-color: lightyellow;
}
.calendar-wrapper .slot.available:hover {
  background-color: yellow;
}
.calendar-wrapper .slot.booked {
  background-color: limegreen;
}
.calendar-wrapper .slot.booked:hover {
  background-color: green;
}
.calendar-wrapper .slot.booked.time_before {
  background-color: rgb(67, 163, 67);
  border-radius: 0;
}
.calendar-wrapper .slot.booked.time_after {
  background-color: rgb(67, 163, 67);
  border-radius: 0;
}
.calendar-wrapper .slot.bookable {
  background-color: dodgerblue;
  color: white;
}
.calendar-wrapper .slot.bookable:hover {
  background-color: blue;
  color: white;
}
.calendar-wrapper .slot.modify-selected {
  background-color: yellow;
}
.calendar-wrapper .slot .slot_cont {
  border-radius: 0;
  overflow: hidden;
}
.calendar-wrapper .slot0 {
  background-color: gray;
  padding: 10px;
}
.calendar-wrapper .time {
  grid-row-start: 3;
  grid-row-end: 5;
  background-color: blueviolet;
}
.calendar-wrapper .time2 {
  grid-row-start: 4;
  grid-row-end: 6;
  background-color: chocolate;
}
.calendar-wrapper .time3 {
  grid-row-start: 6;
  grid-row-end: 7;
  background-color: dodgerblue;
}
.calendar-wrapper .day-name {
  background: white;
  border: 1px solid #eee;
}
.calendar-wrapper h1 {
  text-align: center;
}
.calendar-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.calendar-wrapper li {
  padding: 10px;
}

#vastausANDbreadcrumbCont {
  width: 50%;
  min-height: 300px;
  padding: 20px;
  border: 2px solid rgb(134, 195, 255);
  border-radius: 0 0 0 20px;
  background-color: #f5fdff;
}

#tiedot {
  width: 50%;
  background-color: rgb(134, 195, 255);
  background-color: #f5fdff;
  padding: 1em;
  border-radius: 10px;
  min-width: 100px;
  border: 2px solid rgb(134, 195, 255);
  border-radius: 0 20px 20px 0;
}

#kalenteri {
  padding: 20px;
  border: 2px solid rgb(134, 195, 255);
  border-radius: 0 0 0 20px;
  background-color: #f5fdff;
}

#varattu {
  padding: 20px;
  border: 2px solid rgb(134, 195, 255);
  border-radius: 0 0 0 20px;
  background-color: #f5fdff;
}

#lomake {
  padding: 20px;
  border: 2px solid rgb(134, 195, 255);
  border-radius: 0 0 0 20px;
  background-color: #f5fdff;
}

.dayColumn {
  background-color: white;
  border: 2px solid lightgray;
  padding: 1em;
  border-radius: 10px;
  min-width: 100px;
}

.bookingSelectedMainservice {
  background-color: #05c793;
}

#frontpage {
  position: relative;
  display: flex;
  justify-content: space-around;
}
#frontpage .pic {
  position: absolute;
  overflow: hidden;
  right: 0px;
  top: 15%;
  border-radius: 20px;
  background-size: cover;
  background-position: calc(50% + 5px) calc(50% - 10px);
  width: 300px;
  aspect-ratio: 2/3;
}
#frontpage .pic::before {
  content: "";
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0 */
  background: radial-gradient(circle 350px at left bottom, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
  /* allow clicks through overlay */
}

.serviceCardHor {
  padding: 65px 50px;
  border-radius: 30px;
  margin-top: 60px;
  width: 100%;
  background: #f5fdff;
  /* background: linear-gradient(360deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); */
}
.serviceCardHor > div:first-of-type {
  display: flex;
  gap: 2em;
  flex-direction: row;
}
@media (max-width: 767.98px) {
  .serviceCardHor > div:first-of-type {
    flex-direction: column;
  }
}
.serviceCardHor h1 {
  font-size: 3.5rem;
  margin-bottom: 0.15em;
}
.serviceCardHor .pic {
  border-radius: 20px;
  background-size: cover;
  background-position: center center;
  height: 300px;
  aspect-ratio: 4/3;
}
.serviceCardHor .pic::before {
  content: "";
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0 */
  background: radial-gradient(circle 350px at left bottom, rgba(255, 255, 255, 0.85), transparent);
  pointer-events: none;
  /* allow clicks through overlay */
  z-index: 1;
}

.loader {
  width: 24px;
  height: 24px;
  border: 4px solid #e0e0e0;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  /* animation: rotation 0.75s ease-in infinite; */
  animation: rotation 0.85s linear infinite;
}

table {
  border-collapse: collapse;
  border-style: hidden;
}
table th, table td {
  padding: 0.75em;
  border: 1px solid;
  border-color: #059dcf;
}
table th {
  background-color: rgb(222, 248, 254);
}

.tavleCont {
  border: 1px solid #059dcf;
  border-radius: 10px;
  width: fit-content;
  overflow: hidden;
}

.shopItems {
  display: grid;
  gap: 1em;
}
.shopItems > a {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  width: 200px;
  height: 200px;
  padding: 10px;
  background-color: #f5f5f5;
  background-size: cover;
  border: 2px solid dodgerblue;
  border-radius: 10px;
  overflow: hidden;
}

.shopItems2 {
  display: grid;
  gap: 2em;
  padding: 2em;
}
.shopItems2 > a {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  width: 100%;
  height: 200px;
  padding: 2em;
  background-color: #f5f5f5;
  background-size: cover;
  border: 2px solid dodgerblue;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 3px 2px 10px 4px rgba(0, 0, 0, 0.1);
}
.shopItems2 > a:hover {
  background-color: dodgerblue;
}

.priceDisplayStart {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
}

.priceDisplayEnd {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
}

.cartItems {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
  background-color: #f5f5f5;
  background-size: cover;
  border: 1px solid #c0c0c0;
  border-radius: 10px;
}

.cartItem {
  display: flex;
  flex-direction: row;
  border-radius: 10px;
  gap: 1em;
  padding: 10px;
  background-color: #f5f5f5;
  background-size: cover;
  border: 1px solid white;
  border-radius: 10px;
}

[data-animate] {
  opacity: 0;
  transition: 0.6s ease-out;
  transition: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: 1s cubic-bezier(0.95, 0.05, 0.8, 0.04);
  transition: 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Fade */
[data-animate=fade] {
  transform: none;
}

[data-animate].in {
  opacity: 1;
  transform: none;
}

/* Slide Up */
[data-animate=slide-up] {
  transform: translateY(20px);
}

[data-animate=slide-up].in {
  transform: translateY(0);
}

/* Slide Left */
[data-animate=slide-left] {
  transform: translateX(-30px);
}

[data-animate=slide-left].in {
  transform: translateX(0);
}

/* Zoom In */
[data-animate=zoom] {
  transform: scale(0.8);
}

[data-animate=zoom].in {
  transform: scale(1);
}

/*# sourceMappingURL=main.css.map */
