/**
Theme Name: Reiterer IT Child
Author: Reiterer IT Solutions e.U.
Author URI: https://www.reiterer-it.at
Description: Child Theme for WP Astra by Reiterer IT Solutions
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: reitereritchild
Template: astra
*/

/**
 * Resets 
 **/

p:last-child,
.elementor-widget:last-child,
.site-content ul:last-child,
.site-content ol:last-child,
.site-footer ul:last-child,
.site-footer ol:last-child {
  margin-bottom: 0 !important;
}

/* Fix Google Search Console "mobile usability issues" */
:where(body, iframe, pre, img, svg, video, canvas, select) {
  max-width: 100%;
  overflow: auto;
  word-break: break-word;
}

:root {
  --color-green: #00ff00;
  --color-black: #000000;
}

/*To do: cleanup -> remove .cmm-boxed-h2 if it is no longer used anywhere*/
.cmm-boxed-h2 h2 {
  border: 2px solid #000000;
  padding: 1rem;
  margin: 0;
  height: 4.5rem;
  line-height: 1.5rem;
  font-size: 60px !important;
  font-weight: 600;
}

.cmm-boxed-h2 h2:nth-child(2) {
  margin-top: -2px;
}

.cmm-boxed-headline h2 {
  text-align: center;
  font-family: "swear-display", Serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 60px;

  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cmm-boxed-headline span {
  display: block;
  border: 2px solid #000;
  padding: 0 1rem;
  line-height: 0.95;
  height: 4.5rem;

  width: fit-content;
}
.cmm-boxed-headline span:nth-child(2) {
  margin-top: -2px;
}

@media only screen and (max-width: 767px) {
  .cmm-boxed-headline h2 {
    font-size: 40px;
  }
  .cmm-boxed-headline span {
    height: 4rem;
    padding: 0 0.5rem;
    line-height: 1.4;
  }
  .cmm-boxed-h2 h2 {
    font-size: 40px !important;
    height: 4rem;
    line-height: 1rem;
  }
}
@media only screen and (max-width: 358px) {
  .cmm-boxed-headline h2 {
    font-size: 35px;
  }
  .cmm-boxed-headline span {
    height: 3.5rem;
    padding: 0 0.5rem;
    line-height: 1.4;
  }
  .cmm-boxed-h2 h2 {
    font-size: 40px !important;
    height: 4rem;
    line-height: 1rem;
  }
}

#content a:not(.elementor-button) {
  text-decoration: underline !important;
}
#content a:not(.elementor-button):hover {
  color: #ff0000 !important;
  text-decoration-color: #ff0000 !important;
}

/* Swiper Buttons */
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  background-image: url(/wp-content/themes/reiterer-it/assets/img/arrow-left.svg);
  background-size: contain;
  width: 40px;
  height: 40px;
  left: -20px !important;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: url(/wp-content/themes/reiterer-it/assets/img/arrow-right.svg);
  background-size: contain;
  width: 40px;
  height: 40px;
  right: -20px !important;
}

/* HEADER */
.cmm-header .elementor-widget-text-editor p span:hover {
  text-decoration-color: white !important;
}


/* Hero */
.cmm-section--hero h1 {
}

.cmm-info-box {
  border-radius: 17rem;
  width: 17rem;
  height: 17rem;
  display: flex;
  align-items: center;
  background-color: #ff0000;
}

.cmm-info-box .elementor-widget-container {
  display: flex;
  align-items: center;
}

.cmm-info-box a {
  color: #fff !important;
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 34px;
  line-height: 44px;
  font-family: 'swear-display';
  text-decoration: underline;
}

#content .cmm-info-box a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}

@media only screen and (max-width: 1300px) {
  .cmm-info-box {
    display: none;
  }
}
.cmm-section--hero span {
  display: block;
  height: 8.5rem;
}

.cmm-section--hero h1 span.box {
  color: var(--color-green);

  border: 4px solid #00ff62;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;

  padding: 0 2rem 0.2rem 2rem;
  line-height: 0.8em;
}

@media screen and (max-width: 1024px) {
  .cmm-section--hero span {
    display: block;
    height: 6rem;
  }
}
@media screen and (max-width: 768px) {
  .cmm-section--hero h1 span.box {
    border: 2px solid #00ff62;
  }
  .cmm-section--hero span {
    display: inline;
    height: 4rem;
    line-height: 1.34em !important;
  }
}

@media screen and (max-width: 767px) {
  .cmm-section--hero h1 {
    font-size: 45px !important;
	line-height: 1.4rem;
  }
}

/* ACCORDION */
.cmm-accordion .uael-accordion-icon {
  max-width: 33px;
}
.cmm-accordion .uael-question-span {
  width: calc(100% - 60px);
}

/* POP-UP */
.uael-modal .uael-content {
  min-height: 30rem;
  border-radius: 12px;
  padding: 1.5rem;
  padding-bottom: 6rem;
  height: fit-content;
}

.uael-close-custom-popup-edge-top-right {
  top: calc(100% - 5rem);
  right: 50%;
  left: 50%;
}

@media only screen and (max-width: 640px) {
  .uael-modal .uael-content {
    min-height: 36rem;
    height: fit-content;
    padding-bottom: 4.5rem;
  }
}

/* CONTACT PAGE */
.cmm-kontakt a:hover {
  color: #ff0000 !important;
}

/* CF7 */
.cmm-cf7--container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 640px) {
  .cmm-cf7--container {
    flex-direction: column;
  }
}

.cmm-cf7--container p {
  margin: 0;
}

.cmm-cf7--submit p {
  display: flex;
  flex-direction: column;
}

/* SLIDER */
.cmm-slider .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

.cm-slider--container .swiper-slide.e-loop-item,
.cm-slider--container .elementor-element.e-flex.e-con-boxed.e-con.e-parent,
.cm-slider--container .e-con-inner {
  width: fit-content !important;
  margin: 0 !important;
}

.cm-slider--container h2:after {
  content: "+++";
  position: relative;
  font-family: "swear-display-cilati", Sans-serif;
  line-height: 1.5rem;
  font-size: 60px;
  font-weight: 600;
  padding-left: 1rem;
}

/* EMPHASIZE */
.cmm-impressum--em em span {
  color: #000;
  font-family: 'Signo', Serif !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.cmm-impressum--a a:hover {
  color: #ff0000 !important;
  text-decoration-color: #ff0000 !important;
}

.cmm-impressum--a span:hover {
  text-decoration-color: #ff0000 !important;
}

/* WHITEPAPER FORM */
input#form-field-email {
  color: black;
  padding: 1rem 0 1rem 0;
}

.mc4wp-response {
  margin-top: 1.5rem;
}

/* BLOG Overview (Swiper) */
.cmm-section--blog-overview {
  overflow: hidden;
}

.cmm-swiper--blog {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.cmm-swiper--blog .swiper-wrapper {
  width: 100%;
  height: 100%;
  overflow: visible !important;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.cmm-swiper--blog:not(.swiper-container-initialized) .swiper-navigation {
  display: none;
}
.cmm-swiper--blog .swiper-navigation .swiper-button-disabled {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .cmm-swiper--blog {
    overflow: visible;
  }
}

@media only screen and (min-width: 1025px) {
  .cmm-swiper--blog:not(.swiper-container-initialized) .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

/* BLOG Post Card */
.cmm-card--blog {
  width: 100%;
  height: unset;
  border: 2px solid black;
  border-radius: 18px;
  padding: 3rem 4rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cmm-card--blog h2.cmm-title {
  font-family: "swear-display-cilati", Sans-serif;
  font-size: 3.75rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1em;
  margin-bottm: 1.5rem;
}
.cmm-card--blog p.cmm-excerpt {
  color: #000000;
  font-family: "signo", Sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

@media only screen and (max-width: 768px) {
  .cmm-card--blog h2.cmm-title {
    margin-bottom: 0;
  }
  .cmm-card--blog p.cmm-excerpt {
    margin-bottom: 1.5rem !important;
  }
}

.cmm-swiper--blog .swiper-button-prev,
.cmm-swiper--blog .swiper-container-rtl .swiper-button-next {
  background-image: url(/wp-content/themes/reiterer-it/assets/img/arrow-left-green.svg);
}
.cmm-swiper--blog .swiper-button-next,
.cmm-swiper--blog .swiper-container-rtl .swiper-button-prev {
  background-image: url(/wp-content/themes/reiterer-it/assets/img/arrow-right-green.svg);
}

@media only screen and (max-width: 767px) {
  .cmm-card--blog {
    padding: 0.72rem 1.5rem 1.5rem 1.5rem;
  }

  .cmm-card--blog h2.cmm-title {
    font-size: 2.5rem;
  }
  .cmm-card--blog p.cmm-excerpt {
  }
}

/* Whitepaper Download Formular */
.cmm--form-whitepaper .cmm-box--row {
  display: flex;
  gap: 1rem;
}
.cmm--form-whitepaper p {
  flex: 1;
}

.cmm--form-whitepaper label:not(.terms) {
  display: none;
}
.cmm--form-whitepaper label.terms {
  font-family: "signo", Sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.cmm--form-whitepaper input[type="text"],
.cmm--form-whitepaper input[type="email"] {
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 2px solid #fff;
  color: #ffffff !important;
  outline: none;

  font-family: "signo", Sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;

  width: 100%;

  padding-left: 0;
}

.cmm--form-whitepaper input:focused {
  border: none !important;
}
.cmm--form-whitepaper input::placeholder {
  font-family: "signo", Sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

.cmm--form-whitepaper .terms {
  display: block;
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cmm--form-whitepaper .terms input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.cmm--form-whitepaper .terms .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

/* On mouse-over, add a background color */
.cmm--form-whitepaper .terms:hover input ~ .checkmark {
  background-color: #ffffff;
}

/* When the checkbox is checked, add a blue background */
.cmm--form-whitepaper .terms input:checked ~ .checkmark {
  background-color: #000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.cmm--form-whitepaper .terms .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.cmm--form-whitepaper .terms input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.cmm--form-whitepaper .terms .checkmark:after {
  left: 5px;
  top: 2px;
  width: 8px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.cmm--form-whitepaper .submit input {
  background: #ff0000;
  color: #fff;
  font-family: "signo", Sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 12px;
  border: 2px solid #ff0000;
  height: 80px;
  padding-left: 25px;
  padding-right: 25px;

  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
.cmm--form-whitepaper .submit input:hover {
  background: #000;
  color: #ff0000;

}

@media screen and (max-width: 768px) {
  .cmm--form-whitepaper .submit input {
    height: 50px;
    padding: 15px;
    width: 100%;
  }
}

/* Blog Headline Marquee, source: https://stackoverflow.com/questions/21233033/how-can-i-create-a-marquee-effect */
.cmm-section--animated-headline {
  color: #fff;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.cmm-section--animated-headline .elementor-widget-html {
  height: 7rem;
}

.cmm-marquee {
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  width: 100%;
  font-size: 60px;
  line-height: 1.65em;

  font-family: "swear-display-cilati", Sans-serif;
  font-size: 3.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cmm-marquee span {
  display: inline-block;
  animation: marquee 30s linear infinite;
  color: #fff;
}

.marquee2 span {
  animation-delay: 15s;
  animation: marquee2 30s linear infinite;
}

.cmm-section--animated-headline .elementor-widget-html:hover span {
  animation-play-state: paused;
}

@media screen and (max-width: 1024px) {
  .cmm-marquee {
    font-size: 40px;
  }

  .cmm-section--animated-headline .elementor-widget-html {
    height: 4.4rem;
  }
}

@keyframes marquee {
  0% {
    transform: translate(-100%, 0);
  }
  100% {
    transform: translate(0%, 0);
  }
}
@keyframes marquee2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmm-marquee span {
    animation-iteration-count: 1;
    animation-duration: 0.01; 
    /* instead of animation: none, so an animationend event is 
     * still available, if previously attached.
     */
    width: auto;
    padding-left: 0;
  }
}

/* ============================================
Intersection observer animation
============================================ */

body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget:not(.elementor-widget-uael-faq):not(.elementor-widget-icon-list):not(.u-animate--no),
body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget-uael-faq .uael-faq-accordion:not(.u-animate--no),
body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget-icon-list .elementor-icon-list-item:not(.u-animate--no),
body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget-text-editor .elementor-widget-container >*:not(.u-animate--no) {
	opacity: 0;
	transform: translate(0,2rem);
	transition: opacity .5s ease, transform .5s ease;
}

body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget:not(.elementor-widget-uael-faq):not(.elementor-widget-icon-list).u-animate,
body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget-uael-faq .uael-faq-accordion.u-animate,
body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget-icon-list .elementor-icon-list-item.u-animate,
body:not(.u-io-not-supported):not([class*="elementor-editor"]):not(.single-astra-advanced-hook) #content .elementor-widget-text-editor .elementor-widget-container .u-animate {
	opacity: 1;
	transform: translate(0,0);
}

/* Disable intersection observer for IE11 */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
	.elementor-widget {
		opacity: 1 !important;
		transform: none !important;
	}	
}


/************************************/
/* Magnetisches Unternehmen*/

/* Headlines */
h2,
h2.elementor-heading-title {
  font-size: 70px !important;
  line-height: 90px !important;
}

@media screen and (max-width: 767px) {
	    h2,
		h2.elementor-heading-title {
		  font-size: 35px !important;
		  line-height: 45px !important;
	}
}

/* Footer */
/* Link styling */
.cmm-footer p a {
  color: #000 !important;
}

.cmm-footer p a:hover {
  color: #ff0000 !important;
}


/* Button styling */
.elementor-widget-button .elementor-widget-container {
  width: fit-content;
}

.elementor-widget-button
  .elementor-widget-container
  .elementor-button.elementor-button-link.elementor-size-sm {
  font-size: 20px;
  font-family: signo;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  background-color: #ff0000;
  border-radius: 13px;
  transition: all 0.3s ease-in-out;
  border: 2px solid transparent;

  padding: 28px 25px;
}

@media only screen and (max-width: 767px) {
  .elementor-widget-button .elementor-widget-container {
    width: 100%;
  }
  .elementor-widget-button
    .elementor-widget-container
    .elementor-button.elementor-button-link.elementor-size-sm {
    font-size: 16px;
    padding: 15px;
    width: 100%;
  }
}

@media only screen and (min-width: 1024px) {

  .elementor-widget-button
    .elementor-widget-container:hover
    .elementor-button.elementor-button-link.elementor-size-sm {
    background-color: transparent;
    color: #ff0000;
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
    border: 2px solid #ff0000;
  }

  .elementor-widget-button
    .elementor-widget-container
    .elementor-button.elementor-button-link.elementor-size-sm
    .elementor-button-text {
    transition: all 0.2s ease-in-out;
  }

  .elementor-widget-button
    .elementor-widget-container:hover
    .elementor-button.elementor-button-link.elementor-size-sm
    .elementor-button-text {
    transition: all 0.3s ease-in-out;
  }
}

/* Styling "Erstgespräch"-Banner */
.mu-container--erstgespraech a {
  font-family: "swear-display", Serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 90px;
  color: #fff;
  text-decoration: underline;
}

#content .mu-container--erstgespraech a:hover {
  color: #000 !important;
  text-decoration: underline !important;
}

@media screen and (max-width: 1024px) {
	  .mu-container--erstgespraech a {
		  font-size: 60px;
		  line-height: 70px;
	}
}

@media screen and (max-width: 767px) {
	  .mu-container--erstgespraech a {
		  font-size: 30px;
		  line-height: 35px;
	}
}

/* Timeline */
.cmm-timeline--main-container {
  overflow: hidden;
}

.cmm-timeline--main-container:before {
  content:"";
  display: block;
  background-color: #000;
  width: 2px;
  left: 50%;
  right: 50%;
}

.cmm-timeline--item-center:nth-child(1) .elementor-icon {
  background-color: white;
   margin-top: -2rem;
}

.cmm-timeline--item-center .elementor-icon {
  background-color: white;
}

.cmm-timeline--item-center p {
  color: #ff0000;
  line-height: 28px;
  letter-spacing: 2.42px;
  text-transform: uppercase;
  text-align: center;
  background-color: white;
  padding: 0.5rem;
}

.cmm-timeline--item-right p {
  color: #000;
  line-height: 28px;
  letter-spacing: 2.42px;
  text-transform: uppercase;
  text-align: left;
  margin-left: 4rem;
}

.cmm-timeline--main-container .cmm-timeline--item-right {
  left: calc(50%) !important;
}

.cmm-timeline--main-container .cmm-timeline--item-right:before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 2rem;
  background-color: #000;
  left: -1rem;
  top: calc(50% - 1rem);
}

.cmm-timeline--item-left p {
  color: #000;
  line-height: 28px;
  letter-spacing: 2.42px;
  text-transform: uppercase;
  text-align: right;
  margin-right: 4rem;
}

.cmm-timeline--main-container .cmm-timeline--item-left {
  right: calc(50%) !important;
}

.cmm-timeline--main-container .cmm-timeline--item-left:before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 2rem;
  background-color: #000;
  left: calc(100% - 1rem);
  top: calc(50% - 1rem);
}

@media screen and (max-width: 767px) {
	.cmm-timeline--item-center p {
	  color: #ff0000;
	  line-height: 28px;
	  letter-spacing: 2.42px;
	  text-transform: uppercase;
	  text-align: center;
	  background-color: white;
	  padding: 0.5rem;
	}

	.cmm-timeline--item-right p {
	  color: #000;
	  font-size: 12px;
	  line-height: 17px;
	  letter-spacing: 1.32px;
	  text-transform: uppercase;
	  text-align: left;
	  margin-left: 2rem;
	}

	.cmm-timeline--main-container .cmm-timeline--item-right {
	  left: calc(50%) !important;
	}

	.cmm-timeline--main-container .cmm-timeline--item-right:before {
	  content: "";
	  display: block;
	  width: 1rem;
	  height: 1rem;
	  border-radius: 1rem;
	  background-color: #000;
	  left: -0.46rem;
	  top: calc(50% - 0.46rem);
	}

	.cmm-timeline--item-left p {
	  color: #000;
	  font-size: 12px;
	  line-height: 17px;
	  letter-spacing: 1.32px;
	  text-transform: uppercase;
	  text-align: right;
	  margin-right: 2rem;
	}

	.cmm-timeline--main-container .cmm-timeline--item-left {
	  right: calc(50%) !important;
	}

	.cmm-timeline--main-container .cmm-timeline--item-left:before {
	  content: "";
	  display: block;
	  width: 1rem;
	  height: 1rem;
	  border-radius: 1rem;
	  background-color: #000;
	  left: calc(100% - 0.46rem);
	  top: calc(50% - 0.46rem);
	}
}

/* Icon List Box */
.cmm-iconbox--container .elementor-icon-list-icon {
	width: 2rem !important;
}

.cmm-iconbox--container .elementor-icon-list-text {
	width: calc(100% - 2rem);
}