/*SLIDESHOW */
.ba-slideshow-caption :is(p, h1, h2, h3, h4) {
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000;
}


/*CUSTOM*/

.ba-blog-post-image {
  height: initial !important;
}

/* Hide link in image */
.ba-blog-post-image a {
	display:none;  
}

.ba-blog-post-image img {
 opacity: 1;
      -webkit-backface-visibility: visible;
}

.ba-blog-post-field-title {
  display: none;
}

/* Download Button für Kursfinder*/

.ba-blog-post-field-value .fas {
		margin-right: 15px 
}

.ba-blog-post-field-value {
 text-align: left !important; 
 font-size: 20px;
}

.ba-blog-post-field-value a{
  transform: rotate(-2deg); 
  display: block;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  padding: 20px 15px;
  color: var(--title-inverse);
  margin-top: 30px;
  line-height: 1.25em;
  text-transform:uppercase;
}

.ba-blog-post-field-value:hover a {
    color: var(--title-inverse);
}

.ba-blog-post-field-value a::before {
    content: "";
    height: 100%;
    width: 100%;
  	background-color: #ffffff;
    position: absolute;
    z-index: -1;
    top: 0;
    left: -1px;
    transition: all 0.3s ease;
}

.ba-blog-post-field-value a::before {
		 background-color: var(--primary);
}

.ba-blog-post-field-value:hover a::before {
  background-color: var(--text) !important;
}

.ba-blog-post-field-value a::after {
		content: "";
    height: 100%;
    width: 100%;
    background: #000;
    position: absolute;
    z-index: -2;
    left: 0;
    top: 4px;
    opacity: 0.2;
    transform: rotate(2deg);
}


.btn-download {
	margin-top: 20px;  
}

.btn-download .ba-button-wrapper{
 text-align: center; 
  padding: 10px;
  
}
.btn-download a {
  color: #ffffff;
  font-size: 1.7em;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  
}

.btn-download a:hover {
	color: #ffffff;  
}

.ba-items-filter-search-button {
   transform: rotate(-2deg); 
  font-size: 1.25em;
}

.ba-items-filter-search-button::before {
    content: "";
    height: 100%;
    width: 100%;
  	background-color: var(--primary);
    position: absolute;
    z-index: -1;
    top: 0;
    left: -1px;
    transition: all 0.3s ease;
}

.ba-items-filter-search-button:hover::before {
  background-color: var(--text) !important;
}

.ba-items-filter-search-button::after {
		content: "";
    height: 100%;
    width: 100%;
    background: #000;
    position: absolute;
    z-index: -2;
    left: 0;
    top: 4px;
    opacity: 0.2;
    transform: rotate(2deg);
}

.crooked .ba-btn-transition {
    transform: rotate(-2deg); 
}

.crooked .ba-btn-transition::before {
    content: "";
    height: 100%;
    width: 100%;
  	background-color: #ffffff;
    position: absolute;
    z-index: -1;
    top: 0;
    left: -1px;
    transition: all 0.3s ease;
}

.crooked.primary-color .ba-btn-transition::before {
		 background-color: var(--primary);
}

.crooked:hover .ba-btn-transition::before {
  background-color: var(--text) !important;
}

.crooked .ba-btn-transition::after {
		content: "";
    height: 100%;
    width: 100%;
    background: #000;
    position: absolute;
    z-index: -2;
    left: 0;
    top: 4px;
    opacity: 0.2;
    transform: rotate(2deg);
}

.content-text h2 {
	 display:inline-block;
   position: relative;
}

.content-text h2::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-color: #ffce00;
    z-index: -1;
    left: 0;
    top: 0;
    transition: 0.7s ease;
}

.no-bg .content-text h2::after {
  content: none;
}

.ba-slideshow-description {
  text-shadow: 1px 1px 2px #000000;
}

@media (min-width: 1025px){
.home-slideshow .ba-slideshow-title {
    width: 60%;
  }
}
/* Forms */
.ba-form .ba-btn-submit {
    font-family: 'Rajdhani';
    letter-spacing: 6px;
    font-weight: 700 !important;
    margin-top: 35px;
  	transition: .3s linear;
    -webkit-transition: .3s linear;
}

.ba-form .ba-btn-submit:hover {
    color: #1b1b1d!important;
    background-color: rgba(255, 255, 255, 1)!important;
  	opacity: 1!important;
}

.com-baforms:not(.footer-contact) .ba-form textarea,
.com-baforms:not(.footer-contact) .ba-form input {
	  font-weight: bold;
}

.footer-contact .ba-form .ba-btn-submit {
   margin-top: 0;
}