/*
 Theme Name:   Prosperity premium-technologies
 Theme URI:    https://www.prem-tec.de/
 Description:  This is a child theme, based on Prosperity.
 Author:       Daniel Kindt
 Author URI:   https://www.prem-tec.de/
 Template:     prosperity
 Version:      1.0.1
 Tags:
 Text Domain:  prosperity
*/

/* DO NOT USE @IMPORT RULE TO LOAD PARENT THEME STYLES. THEY ARE LOADED AUTOMATICALLY. ENTER YOUR STYLES AFTER THIS COMMENT. YOU CAN ALSO REMOVE THIS COMMENT. */
.inactive-sidebar.archive:not(.post-type-archive-jetpack-testimonial) .site-main, .inactive-sidebar.blog .site-main, .inactive-sidebar.page.page-template-default .site-main, .inactive-sidebar.search .site-main, .inactive-sidebar.single .site-main {
    margin: 0 auto;
    max-width: none;
}

#slider-pro-2-517 .sp-caption-container
{
    display:none !important;
}

@media (min-width: 600px)
{
    .wp-block-latest-posts.columns-4 li {
        width: calc(50% - 2rem);
    }
}

.footer-widgets aside
{
    margin-top: 0.5rem;
    font-size: 0.7rem;
}

@media(min-width: 992px)
{
    .footer-widget{
        width:25%;
    }
    .wp-block-latest-posts.columns-4 li {
        width: calc(25% - 2rem);
    }
}

.footer-bottom .th-pb-lg
{
    padding-bottom: 1rem;
}

/* Booking Form */
.em-booking { margin:15px 0px 10px 0px; position:relative; display:table; }
.em-booking-form  { position:relative; clear:left; display: table-footer-group; }
.em-booking-form-details  { padding:10px; width:100%; float:left; }  
.em-booking-form-details input.input, .em-booking-form-details textarea { width:100%; }
.em-booking-form p { clear:left; }
.em-booking-form label { display:block; float:left; }
.em-booking-form span.input-group input { margin-left:-20px; }
.em-booking-form span.input-group { display:block; margin-left:120px; }
.em-booking-form label  { display:inline-block; width:300px; }
.em-booking-form p.input-field-data_privacy_consent label { display:block; width:100%; }
.em-booking-form-details .em-booking-submit { width:auto; }	
/* Tickets */
    .em-tickets { margin-bottom:20px; }
/* Message Errors */
    div.em-booking-message { margin:10px 0px; padding:10px; color:#333; border-radius:3px; }
    div.em-booking-message p { margin:10px 0px !important; padding:0px; color:#333; }
    div.em-booking-message-success { background-color:#f1fff0; border:1px solid #a8d144; }	
    div.em-booking-message-error { background-color:#FFEBE8; border:1px solid #C00; }
/* Optional Login Form */
    div.em-booking-login { padding: 10px 10px 10px 20px; margin: 0px;	border-left: 0px solid transparent; display: table-header-group; }
    div.em-booking-login label { display:inline-block; width:150px;}
    div.em-booking-login p{ margin:10px 0px !important; padding:0px !important;	}	
    div.em-booking-login input { margin:0px; }

    


/*Timeline*/
.timeline{
    position: relative;
    padding-left: 46px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 23px;
    margin-left: -1px;
    border-left: 2px solid rgba(0,0,0,.1); 
    opacity: 1;
}

.timeline .timeline-end, .timeline .timeline-begin
{
    left: -40px;
    position: relative;
}

.timeline .timeline-item
{
    position: relative;
    margin-top:0px;
}

.timeline .timeline-item-inner {
    border: medium none;
    border-radius: 25px;
    -webkit-box-shadow: 0px 0px 15px -10px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 15px -10px rgba(0,0,0,1);
    box-shadow: 0px 0px 15px -10px rgba(0,0,0,1);
    background-color: #fff;
    padding: 1.5rem;
}

.timeline .timeline-item-inner:before {
    top: 43px;
    width: 26px;
    height: 26px;
    left: -36px;
    right: 0;
    bottom: 0;
    z-index: 1;
    content: '';
    position: absolute;
    background-color: #028004;
    border-radius: 50%;
    opacity: 0.25;
}
.timeline-date h4
{
    color: #028004;
}
@media (min-width: 768px){
    .timeline:before {
        left: 50%;
    }

    .timeline .timeline-end, .timeline .timeline-begin
    {
        left: -22px;
        text-align: center;
    }
    .timeline .timeline-item
    {
        width: 50%;
    }
    .timeline .timeline-item-inner {
        margin-left: 0;
        margin-right: calc(1.5rem + 46px / 2);
    }

    .timeline .odd .timeline-item-inner:before {
        
        left: auto;
        right: 10px;
        
    }
    .timeline .even {
        margin-left: 50%;
    }
    
    /*    
    .timeline .timeline-item  {
        margin-top: -5.5rem;
    }*/
}

/* Custom */

h2.wp-block-heading {
	font-size: 1.4rem;
	margin-top: 1.5rem;
}
h3.wp-block-heading {
	font-size: 1.2rem;
}

.info-box {
	list-style-type: square;
	padding: 24px 24px 24px 24px;
	margin-bottom: 24px;
	line-height: 27.2px;
}
.info-box.info-box-gray {
	background-color:#f1f1f1; 
}

.wp-block-quote {
	font-size: 16px;
}
	
.wp-block-media-text.alignwide.is-stacked-on-mobile.is-image-fill {
	margin-bottom: 1.5rem;
}

.wp-block-image figcaption {
	font-size: 0.7em;
}



.footer-widget.th-w-full {
	padding: 0px 50px 10px 50px;
	margin: 0px 100px 0px 100x;
}



.button {
  display: inline-block !important;
  border: none !important;
  border-radius: 5px !important;
  background-color: #028004 !important;
  color: white !important;
  text-align: center !important;
  font-size: 16px !important;
  padding: 16px 32px !important;
  width: 300px !important;
  transition: all 0.5s !important;
  transition-duration: 0.6s !important;
  margin: 4px 2px !important;
  cursor: pointer !important;
  }
  
.button span {
  cursor: pointer !important;
  display: inline-block !important;
  position: relative !important;
  transition: 0.5s !important;
}

.button span:after {
  content: '\00bb' !important;
  position: absolute !important;
  opacity: 0 !important;
  top: 0 !important;
  right: -20px !important;
  transition: 0.5s !important;
}

.button:hover span {
  padding-right: 25px !important;
  color: white !important;
}

.button:hover span:after {
  opacity: 1 !important;
  right: 0 !important;
}

h1 {
	hyphens: auto !important;
	hyphenate-limit-chars: 8 4 4 !important;
}

h1.entry-title {
	text-align: center !important;
}

img.card-img-top {
    width: 100%;
	aspect-ratio: 3/2 !important;
    object-fit: cover !important;
	object-position: center !important;
}

img.mgpd-pimg {
	width: 100%;
	aspect-ratio: 3/2 !important;
    object-fit: cover !important;
	object-position: center !important;
}

p.card-text {
	hyphens: auto;
	hyphenate-limit-chars: 3;
	hyphenate-limit-lines: 2;
}

th.event-time, th.event-description {
	font-family: 'Maven Pro' !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    color: #028004 !important;
}
	
td h3 a {
    font-weight: 300 !important;
	font-size: 28px !important;
    color: #028004 !important;
}

.wp-block-media-text .wp-block-media-text__content {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

.wp-block-media-text {
	grid-gap: 5%;
	padding-bottom: 16px;
}

li.td-content {
	padding-bottom: 10px !important;
}

/* LANDINGPAGES */
.funktionen h3 {
    font-style: normal;
    font-size: 18px !important;
    color: #ffffff !important;
    text-align: center !important;
    background-color: #028004 !important;
    padding: 10px !important;
    margin: 0 0 18px 0 !important;
}

.funktionen .elementor-testimonial__text {
    font-style: normal !important;
    font-size: 18px !important;
    hyphens: auto !important;
    hyphenate-limit-chars: 6 5 5 !important;
}

.funktionen .elementor-testimonial__footer {
    margin: 0 !important;
}

.em.pixelbones a {
	color: #028004 !important;
}

.th-mt-0, .th-my-0 {
    margin-top: 0.67em;
}

.h1 {
	hyphens: auto;
}