/*
	Theme Name: chrystalismag
	Description: chrystalismag
	Author: Sergey Oleynik
	Template: semplice4
*/
@media (max-width: 1199px) {
  .semplice-navbar .hamburger {
    display: flex !important;
  }
}
.semplice-navbar .logo img {
  width: 270px !important;
}
@media (min-width: 767px) {
  .semplice-navbar .logo img {
    width: 340px !important;
  }
}
@media (max-width: 1200px) {
  .semplice-navbar .menu {
    display: none !important;
  }
}

.overlay-nav .search-icon {
  margin-top: 2em;
}

.search-icon {
  width: 15px !important;
  height: 15px !important;
  cursor: pointer;
}

.search-icon:hover {
  transition: 0.5s;
  opacity: 0.8;
}

.live-search {
  z-index: 1000;
  background: black;
}

#live-search-close {
  max-width: 1230px;
  height: 50px;
  margin: auto;
}

.empty-black-block {
  position: relative;
  height: 30% !important;
  background: black;
}

#search-input {
  font-weight: bold;
  border-left: 1px;
  border-top: 1px;
  border-right: 1px;
  background: black;
  color: white;
}

.bottom-border {
  height: 50px;
}

.form-search-hidden {
  transition: 1s;
  transition-delay: 0s;
  transition-duration: 1s;
  z-index: 0;
  width: 100%;
  height: 0;
  position: fixed;
  top: -300px;
}

.show-live-search {
  transition: 1s;
  transition-delay: 0s;
  transition-duration: 1s;
  z-index: 1000;
  width: 100%;
  height: 300px;
  position: fixed;
  top: 0;
}

.custom-close-item {
  cursor: pointer;
  position: relative;
  float: right;
  top: 50px;
  right: 30px;
  width: 32px;
  height: 32px;
}

.custom-close-item:hover {
  opacity: 1;
}

.custom-close-item:before, .custom-close-item:after {
  position: absolute;
  left: 12px;
  content: " ";
  height: 12px;
  width: 2px;
  background-color: white;
}

.custom-close-item:before {
  transform: rotate(315deg);
}

.custom-close-item::after {
  transform: rotate(45deg);
}

.chr-quiz {
  margin: 2em 0;
  display: grid;
}
.chr-quiz .button {
  justify-self: center;
}
.chr-quiz__counter {
  color: gray;
}
.chr-quiz__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chr-quiz__item {
  padding: 2em 0 3em;
  display: grid;
  grid-gap: 1em;
}
@media (min-width: 640px) {
  .chr-quiz__item {
    border: 1px solid #efefef;
    padding: 2em 7.5% 3em;
  }
}
.chr-quiz__item:not(.is-active) {
  display: none;
}
.chr-quiz__question {
  position: relative;
  font-weight: bold;
  margin-bottom: 1em;
}
.chr-quiz__question a {
  color: currentColor;
}
.chr-quiz__answers {
  counter-reset: q-counter;
  margin: 0;
  padding: 0;
}
.chr-quiz__answer {
  list-style: none;
  cursor: pointer;
  counter-increment: q-counter;
  position: relative;
  grid-gap: 0.5em;
  border-top: 1px solid #efefef;
  padding: 1em;
  margin: 0 -1em;
  display: grid;
  grid-template-columns: auto 1fr;
}
.chr-quiz__answer:before {
  margin-right: 1em;
  content: counter(q-counter, lower-latin) ".";
}
.chr-quiz__answer:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
.chr-quiz__result {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  left: 0;
  top: 0;
  display: grid;
  align-items: center;
  align-content: center;
  background-color: #f9f9f9;
  padding: 2em;
  list-style: none;
}
@media (min-width: 640px) {
  .chr-quiz__result p {
    font-size: 1.2em;
  }
}
.chr-quiz__result p a {
  color: currentColor;
  font-weight: bold;
}
.chr-quiz__result:not(.is-active) {
  display: none;
}
.chr-quiz__scores {
  margin: 0;
}
.chr-quiz__score {
  background-color: #f9f9f9;
  padding: 4em 2em;
  text-align: center;
  list-style: none;
}
.chr-quiz__score:not(.is-active) {
  display: none;
}
@media (min-width: 640px) {
  .chr-quiz__score p {
    font-size: 1.2em;
  }
}
.chr-quiz__share {
  display: grid;
  justify-self: center;
  grid-gap: 1rem;
  font-size: 0.8rem;
}
@media (min-width: 640px) {
  .chr-quiz__share {
    font-size: 1rem;
  }
}
.chr-quiz__share-icons {
  display: grid;
  justify-content: center;
  grid-auto-flow: column;
}
.chr-quiz__share-icon {
  width: 6rem;
  padding: 0.5rem;
  position: relative;
  cursor: pointer;
}
.chr-quiz__share-icon:not(:hover):before {
  opacity: 0;
}
.chr-quiz__share-icon:before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  left: 0;
  background-color: white;
  opacity: 0.1;
}
.chr-quiz__share-icon svg {
  height: 1.5rem;
  display: block;
  margin: auto;
  width: auto;
}
.chr-quiz__share-icon svg * {
  fill: white;
}
.chr-quiz__share-icon--facebook {
  background-color: #3b5999;
}
.chr-quiz__share-icon--twitter {
  background-color: #55acee;
}

.button {
  display: inline-block;
  background-color: black;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  padding: 0.625em 1.5em;
  text-decoration: none;
  cursor: pointer;
  transition: 0.5s transform;
}
.button, .button:hover {
  color: white;
}
.button:hover {
  transform: scale(1.1);
}
.button--outlined.button {
  border: 2px solid;
  color: currentColor;
  background-color: transparent;
}

html {
  scroll-behavior: smooth;
}