/* Ad
====================================================================*/

.countdown button[disabled="disabled"] {
  display: none;
}

.countdown button {
  border: 2px solid #ec5d56;
  font-size: 18px;
  padding: 5px 30px;
}

.countdown button:hover,
.countdown button:active,
.countdown button:focus {
  background-color: transparent;
  color: #ec5d56;
  text-decoration: none;
}

/* Rating
====================================================================*/

.rating {
  text-align: center;
}

.rating-title {
  position: relative;
  text-align: center;
}

.rating-status {
  color: #590DE5;
  display: block;
  text-align: center;
}

.rating-danke {
  color: #590DE5;
  cursor: pointer;
  display: block;
  height: 25px;
  line-height: 25px;
  margin: 12px auto 0;
  text-align: center;
  width: 120px;
}

.rating-danke:hover {
  text-decoration: underline;
}

.rating-danke::before {
  background-image: url(https://sexemy.org/wp-content/themes/generatepress_child/assets/images/bin.svg);
  background-repeat: no-repeat;
  background-size: auto 25px;
  content: '';
  display: inline-block;
  height: 25px;
  margin-right: 8px;
  margin-top: -6px;
  vertical-align: middle;
  width: 24px;
}

.rating input {
  -webkit-appearance: none;
  appearance: none;
  background: darkmagenta;
  border-radius: 5px;
  height: 12px;
  opacity: 0.7;
  outline: none;
  -webkit-transition: .2s;
  transition: opacity .2s;
  width: 280px;
}

#rating_range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #333232;
  border: 1px solid #aaa;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

#rating_range::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #333232;
  border: 1px solid #aaa;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

/* Popup
====================================================================*/

.popup {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  display: none;
  flex-flow: column;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: 0.3s all;
  z-index: 9999999;
}

.popup-inner {
  background: #fff;
  margin: 0 24px;
  max-width: 670px;
  overflow-y: auto;
  padding: 30px 30px 3px 30px;
  position: relative;
}

.popup h2 {
  max-width: calc(100% - 64px);
}

.popup-close {
  cursor: pointer;
  font-size: 30px;
  height: 48px;
  line-height: 24px;
  padding: 12px;
  position: absolute;
  right: 18px;
  text-align: center;
  top: 18px;
  width: 48px;
  z-index: 2;
}

.popup-close:hover {
  opacity: 0.5;
}

.popup-buttons {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin-bottom: 24px;
  row-gap: 24px;
}

.popup-buttons .wp-block-button {
  margin-bottom: 0;
}

.popup-buttons a {
  margin: 0 12px;
}

.popup-danke .wp-block-button__link {
  background: #28a745;
  border: 2px solid #28a745;
}

.popup-danke .wp-block-button__link:hover,
.popup-danke .wp-block-button__link:active,
.popup-danke .wp-block-button__link:focus {
  background: #fff;
  border-color: #28a745;
  color: #28a745;
  text-decoration: none;
}

.mdc-slider {
  margin: 0 auto;
  max-width: 280px;
  position: relative;
}

.bewertung {
  border: 2px solid #590DE5;
  border-radius: 50%;
  bottom: -42px;
  color: #590DE5;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  height: 24px;
  line-height: 20px;
  padding-left: 1px;
  position: absolute;
  right: calc((100% - 260px) / 2);
  text-align: center;
  width: 24px;
}

.bewertung:hover,
.bewertung:focus,
.bewertung:active {
  opacity: 0.6;
}

/* Mobile View
====================================================================*/

/*
* Close button
*/

.mobile-view-close {
  color: #afafaf;
  cursor: pointer;
  display: block;
  font-size: 45px;
  height: 22px;
  margin-left: 20px;
  line-height: 16px;
  position: relative;
  width: 22px;
}

.mobile-view-close::before,
.mobile-view-close::after {
  background: #afafaf;
  border-radius: 4px;
  content: '';
  display: block;
  height: 3px;
  position: absolute;
  top: 0;
  width: 28px;
}

.mobile-view-close::before {
  left: 0;
  transform-origin: 0 0;
  transform: rotateZ(45deg);
}

.mobile-view-close::after {
  bottom: 0;
  left: 0;
  top: auto;
  transform-origin: 0 100%;
  transform: rotateZ(-45deg);
}


/*
* Title
*/

.mobile-view h1 {
  text-align: center;
}

/*
* Progress
*/

.mobile-view-progress {
  background: #e5e5e5;
  border-radius: 14px;
  height: 14px;
  left: 64px;
  max-width: calc(100% - 128px);
  overflow: clip;
  position: absolute;
  top: 15px;
  transition: opacity 0.5s 0.5s;
  width: 100%;
}

.mobile-view-progress--bar {
  background: #6e0aea;
  border-radius: 14px;
  height: 100%;
  transition: 0.3s all;
  width: 0%;
}

.mobile-view h1 {
  font-size: 22px;
}

/*
* Content Slider
*/

.mobile-view-slider {
  display: block;
  float: left;
  overflow: hidden;
  transition: 0.3s all;
  width: 100%;
}

.mobile-view-content {
  display: block;
  float: left;
  height: calc(100% - 100px);
  margin-top: 20px;
  position: relative;
  width: 100%;
}

/*
* Illustrations
*/

.mobile-view .illustrations {
  margin-bottom: 15px;
  overflow: clip;
  position: relative;
  /*! height: calc((100vh - 130px) / 2); */
}

.mobile-view .illustration > div {
  height: calc((100vh - 220px) / 2);
}

.mobile-view .illustration svg {
  height:  100% !important;
}

/*
* Text
*/

.mobile-view .texts {
  display: flex;
  flex-flow: row nowrap;
  height: calc((100vh - 190px) / 2);
  margin: 0 8px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.mobile-view .text {
  flex: 1 0 100%;
}

.mobile-view .text {
  font-size: 16px;
  margin-left: 0;
  text-align: center;
  transition: 0.3s all;
}

/*
* Rating
*/

.mobile-view .rating-container {
  display: inline-block;
  height: auto;
  padding: 0px 30px;
  position: relative;
  right: -110vw;
  transition: all 0.3s;
  top: calc(50% - 144px);
  width: 100%;
}

/*
* Button
*/

.mobile-view-button,
.mobile-view-button:active,
.mobile-view-button:hover,
.mobile-view-button:focus {
  background: #6e0bea !important;
  border-color: #6e0bea;
  border-radius: 9px;
  bottom: 12px;
  color: #fff !important;
  display: block !important;
  font-size: 16px;
  font-weight: 700;
  left: 30px;
  letter-spacing: 1px;
  line-height: 12px;
  padding: 15px 0;
  position: fixed;
  right: 30px;
  width: calc(100% - 60px);
}

/*
* Popup
*/

.mobile-view .popup-inner {
  margin: 8px;
}