/**
Theme Name: Mediatouch-Child
Author: Mediatouch
Author URI: https://mediatouch.digital
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mediatouch
Template: astra
*/

/* FONT BIGGER */

@media (max-width: 1919px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1920px) {
  body {
    margin: auto !important;
  }
  body {
    /* max-width: 1920px; */
    margin: auto;
    box-shadow: 0 0 1000px 500px rgba(0, 0, 0, 0.05);
  }
}

/*  HEADER */

header#masthead {
  /* transition: all .8s ease-in-out; */
}

@media (max-width: 639px) {
  body {
    padding-top: 0 !important;
  }
  #page {
    overflow-x: hidden;
  }
}

@media (min-width: 640px) {
  /* NEW -  */
  body {
    /* padding-top: 120px !important; */
  }
  /*.scrolled header#masthead{*/
  header#masthead {
    /* position: fixed !important; */
    left: 0;
    top: 0;
    width: 100%;
    z-index: 998 !important;
  }
}

#topBar {
  z-index: 1000;
}

.wpml-ls-item .hfe-sub-menu-item {
  display: block !important;
}
.wpml-ls-item .hfe-sub-menu-item .wpml-ls-native {
  color: #222;
  margin-left: 6px;
}

/* ENDE HEADER */

.hotspot-contact .e-hotspot__tooltip img {
  border-radius: 100px;
  height: 100px;
  width: 100px;
}

.hotspot-contact .e-hotspot__tooltip {
  white-space: normal !important;
  font-size: 14px !important;
}

a.button {
  background: #ffd00b;
  border-radius: 40px;
  font-weight: 500;
  display: inline-block;
  font-size: 15px;
  padding: 16px 32px 16px 32px;
  color: #222 !important;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-weight: var(--e-global-typography-accent-font-weight);
}

@media (min-width: 767px) and (max-width: 1400px) {
  .elementor-section-wrap > section {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  .screen-30-left .elementor-widget-wrap {
    padding-left: 0px !important;
  }
  .screen-30-right .elementor-widget-wrap {
    padding-right: 0px !important;
  }
}

.uael-offcanvas-menu {
  border-bottom: 1px solid #ddd;
}
.uael-offcanvas-menu .menu-item-has-children {
  padding-bottom: 16px !important;
}
.uael-offcanvas-content .menu-link {
  border-top: 1px solid #ddd;
}
.uael-offcanvas-content a:hover {
  color: #ffd00b !important;
}
.uael-offcanvas-content .sub-menu .menu-link {
  border: 0 none;
}
.uael-offcanvas-content .sub-menu a {
  font-weight: 400 !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

#wikiNav nav li a:not([href]) {
  color: #ccc !important;
  pointer-events: none;
}

/* WIZARD */

.wizard > .elementor-container,
.wizard > .elementor-container .slick-list,
.wizard > .elementor-container .slick-track {
  overflow: visible !important;
}
.wizard > .elementor-container .slick-slide {
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.wizard > .elementor-container .slick-slide.slick-active {
  opacity: 1;
}
.wizard > .elementor-container {
  display: block;
}
.wizard > .elementor-container > .elementor-column {
  width: 100%;
  /*
	margin: 40px;
	box-shadow: 10px 10px 50px rgba(0,0,0,.1);
	*/
}
/*
html.elementor-html .wizard > .elementor-container > .elementor-column{
	display: inline-block;
	white-space: normal;
	margin-right: 50px;
	box-shadow: 100px 0 200px -100px rgba(0,0,0,.5);
}
html.elementor-html .wizard > .elementor-container {
    white-space: nowrap;
	overflow: auto!important;
}*/

.wizard {
  margin: 0 -12px;
  width: calc(100% + 24px);
  position: relative;
}

#wizard:hover .slick-slide:first-child .wizard-answer {
  animation-duration: 1s;
  animation-name: wizIn;
}
.wizard-answer:nth-child(1) {
  animation-delay: 0.25s;
}
.wizard-answer:nth-child(2) {
  animation-delay: 0.5s;
}
.wizard-answer:nth-child(3) {
  animation-delay: 0.75s;
}
.wizard-answer:nth-child(4) {
  animation-delay: 1s;
}

@keyframes wizIn {
  0% {
    transform: scale(1);
    background: #fff;
    box-shadow: 10px 10px 50px rgb(0 0 0 / 10%);
  }
  50% {
    transform: scale(1.1);
    background: #ffd00b;
    box-shadow: 10px 20px 40px rgb(0 0 0 / 10%), 0 0 0 1px #ffd00b;
  }
  100% {
    transform: scale(1);
    background: #fff;
    box-shadow: 10px 10px 50px rgb(0 0 0 / 10%);
  }
}

.wizard-answer {
  padding: 40px 20px 40px;
  margin: 12px;
  box-shadow: 0 0 0 1px rgba(255, 208, 11, 0), 10px 10px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  background: #fff;
}

.wizard-answer-small {
  padding-top: 18px;
  padding-bottom: 18px;
}
/*WIZARD NOT MOBILE*/
@media screen and (min-width: 64em) {
  .wizard-answer div.elementor-heading-title {
    opacity: 0;
    margin-bottom: -46px;
    transition: all 0.3s ease-in-out;
  }
  .wizard-answer:not(.wizard-answer-small) {
    padding-top: 70px;
  }
  /*
	.wizard-answer:not(.wizard-answer-small):hover {
		padding-top: 24px;
	}
	.wizard-answer:hover div.elementor-heading-title{
		margin-bottom: 0px;
		opacity: 1;
	}
	*/
}

.wizard-answer:before {
  content: "";
  display: block;
  position: absolute;
  top: 24px;
  right: 24px;
  border-radius: 30px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.05);
}
.wizard-answer:after {
  content: "";
  display: block;
  position: absolute;
  top: 31px;
  right: 35px;

  width: 7px;
  height: 12px;
  border-bottom: 2px solid #2da235;
  border-right: 2px solid #2da235;
  transform: rotate(45deg);
  opacity: 0;
}

.wizard-answer.checked {
  background: #fff !important;
}
.wizard-answer.checked:before {
  background: #d9f2d1 !important;
}
.wizard-answer.checked:after {
  opacity: 1;
}

.wizard-step.multiple .wizard-answer:before {
  border-radius: 3px;
}

.wizard-answer:hover {
  background: #ffd00b !important;
  background: rgba(255, 208, 11, 0.1) !important;
  box-shadow: 0 0 0 1px #ffd00b, 10px 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.final-step form .elementor-button {
  display: none;
}

/* FORM */
input.error {
  border: 1px solid #f91d4a !important;
}
.form-error {
  display: none;
}
.form-error.error {
  display: block;
}
/* SLICK */

.wizard .slick-arrow {
  padding: 24px 30px;
  position: absolute;
  background: rgba(0, 0, 0, 0.1) !important;
  left: 24px !important;
  top: 24px;
  z-index: 995;
  transition: all 0.3s ease-in-out;
  border-radius: 0 !important;
  border: 0 none !important;
}
.wizard .slick-arrow:hover {
  background: rgba(0, 0, 0, 0.25) !important;
}
.wizard .slick-arrow span {
  position: absolute;
  top: 50%;
  right: 50%;
  display: block;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
}

.wizard .slick-next {
  display: none !important;
}
.wizard .slick-arrow.slick-prev {
  left: 12px !important;
  right: auto;
}

.wizard .slick-arrow.slick-prev span {
  right: auto;
  left: 50%;
  transform: translate(-30%, -50%) rotate(-135deg);
}

.wizard .slick-arrow.slick-disabled.slick-disabled {
  opacity: 0.05 !important;
  pointer-events: none;
}
.wizard-next {
  transition: all 0.3s ease-in-out;
  margin: 0 !important;
}
.wizard-next.disabled {
  opacity: 0.1;
  pointer-events: none;
}
.wizard .show-in-final {
  display: none;
}

@media screen and (min-width: 1400px) {
  .wizard .slick-arrow.slick-prev {
    left: 60px !important;
    right: auto;
  }
}
/*WIZARD MOBILE*/
@media screen and (max-width: 63.9375em) {
  .wizard .slick-slide {
    padding-bottom: 32px;
  }
  .wizard {
    /* margin: 0 16px; */
    padding: 80px 24px 0 !important;
    width: auto;
    position: relative;
    box-shadow: 16px 0 0 #efecec, -16px 0 0 #efecec;
  }
  .wizard h4.elementor-heading-title {
    font-size: 13px !important;
  }
  .wizard h2.elementor-heading-title {
    font-size: 21px !important;
  }
  .wizard-answer {
    width: 100% !important;
    padding: 10px 0px 2px;
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
  .wizard-answer:before {
    top: 19px !important;
    right: 16px !important;
  }
  .wizard-answer:after {
    top: 26px !important;
    right: 27px !important;
  }
  .wizard-answer .elementor-widget-icon {
    float: left;
    width: 48px;
    display: inline-block;
    margin: 0 !important;
  }
  .wizard-answer .elementor-widget-icon svg {
    width: 32px;
    height: 32px;
  }

  .wizard-answer .elementor-widget-heading:last-child {
    /*		display: none;*/

    padding-top: 7px;
  }

  .wizard-answer .elementor-widget-heading {
    float: left;
    width: auto;
    margin: 0 !important;
  }
  .wizard-answer .elementor-widget-heading h3 {
    font-size: 15px !important;
    margin-left: 6px;
  }

  /*
	html:not(.elementor-html) .wizard-answer-small{
		display: none;
	}
*/
  .wizard-answer-small {
    padding-top: 0;
    margin-bottom: 0;
  }
  .wizard-answer-small .elementor-widget-heading:last-child {
    padding-top: 3px;
    padding-bottom: 3px;
  }
  .wizard-answer-small.wizard-answer:before {
    top: 9px !important;
  }
  .wizard-answer-small.wizard-answer:after {
    top: 6px !important;
  }

  .wizard .slick-arrow span {
    width: 12px;
    height: 12px;
  }
  .wizard .slick-arrow {
    padding: 16px 16px;
    left: 0px !important;
    top: 0px;
  }
}

.eicon-chevron-left,
.eicon-chevron-right {
  display: block;
  width: 40px;
  height: 50px;
}

.eicon-chevron-left:before,
.eicon-chevron-right:before {
  display: none !important;
}
.eicon-chevron-left:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: translate(-50%, -50%) rotate(135deg);
  width: 16px;
  height: 16px;
  border-radius: 2px;
  transition: all 0.4s ease-in-out;
}
.eicon-chevron-right:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: all 0.4s ease-in-out;
}
.eicon-chevron-left:hover:after,
.eicon-chevron-right:hover:after {
  border-color: #ffd00b;
}

.elementor-image-carousel-caption {
  position: absolute;
  top: 12px;
  left: 0px;
  background: #fff;
  padding: 8px 24px 8px 46px;
  border-radius: 0 30px 30px 0;

  transition: all ease-in-out 0.3s;
  color: #000;
  color: rgba(0, 0, 0, 0);
  background: #fff;
  background: rgba(255, 255, 255, 0);
}

.swiper-slide-active .elementor-image-carousel-caption,
figure:hover .elementor-image-carousel-caption {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}
figure .elementor-image-carousel-caption:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #ffd00b;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .elementor-image-carousel-caption {
    padding: 5px 20px 6px 24px;
    font-size: 12px;
  }
  figure .elementor-image-carousel-caption:after {
    left: 8px;
    width: 9px;
    height: 9px;
  }
}

#comments {
  display: none;
}

#wikiNav .uael-offcanvas-trigger_ {
  position: fixed;
  top: 50vh;
  left: 0;
  width: 200px;
  margin-bottom: -100px;
  transform: rotate(-90deg);
  transform-origin: top left;
}
#wikiNav .uael-offcanvas-trigger {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
}
#wikiNav .elementor-post__title a {
  font-size: 1rem !important;
  text-decoration: none;
}
#wikiNav .uael-offcanvas-shadow-inset.position-at-left.uael-offcanvas-show {
  box-shadow: -7px 0 48px -9px rgb(0 0 0 / 15%) !important;
}
#wikiNav .uael-offcanvas-overlay {
  pointer-events: none;
}

#wiki-top-entrys a:hover {
  color: var(--e-global-color-secondary) !important;
}

@media (max-width: 640px) {
  #wikiNavDesktop > .elementor-widget-wrap {
    padding: 0 0 0 24px;
    transition: all 0.5s ease-in-out;
  }
  #wikiNavDesktop a {
    white-space: nowrap;
  }
  #wikiNavDesktop {
    position: fixed;
    top: 0;
    left: 0;
    background: #f7f7f7;
    z-index: 2;
    height: 100vh;
    padding-top: 120px;
    width: 80vw;
    width: 50px;
    overflow: hidden;
    box-shadow: inset -10px 0 12px rgb(0 0 0 / 25%);
    transition: all 0.5s ease-in-out;
    overflow: auto;
  }
  #wikiNavDesktop.hover,
  #wikiNavDesktop:hover {
    width: 80vw;
  }
  #wikiNavDesktop.hover > .elementor-widget-wrap,
  #wikiNavDesktop:hover > .elementor-widget-wrap {
    padding: 0 24px 0 24px;
  }
}
