@import url('//thw-handball.de/wp-content/uploads/omgf/local-stylesheet-import-113/local-stylesheet-import-113.css');

/** News Cards Detail Page*/

.a20-news-card-wrapper {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.a20-news-category-detail {
    color: white;
    background-color: black;
    padding-left: 20px;
    padding-right: 10px;
    display: flex;
    width: fit-content;
    margin-top: 20px;
    position: absolute;
    text-transform: uppercase;
}

.a20-news-detail-news-wrapper img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
}

.a20-news-card-description-container-detail {
    padding: 16px;
    color: black !important;
}

.a20-news-card-wrapper-hyperlink {
    text-decoration: none !important;
}

.a20-news-card-description-container-detail h4 {
    line-height: 16px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: bold;
}

/* News cards */

.a20-home-news-category-button-row {
    margin-left: 10px;
}

.a20-news-card-img {
    height: 230px;
    max-height: 230px;
    object-fit: cover;
}

.a20-news-card-text-content-container > h4 {
    overflow: hidden;
	font-family: "IBM Plex Sans", sans-serif;
    text-overflow: ellipsis;
    display: -webkit-box;
    margin-bottom: 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.a20-news-card-text-content-container {
    height: 78px;
    padding-left: 6px;
    padding-right: 6px;
}

section.ahz-news .ahz-news-card .ahz-news-card-img {
    border-radius: 10px;
    margin-bottom: .3em;
}

.ahz-news-card > img {
    width: 100%;
}

section.ahz-news .ahz-news-card span.ahz-news-category {
    position: absolute;
    top: 1em;
    left: 0;
    background-color: white;
    color: black;
    padding: .4em .7em;
    text-transform: uppercase;
    font-size: .9em;
    font-weight: 700;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
}

section.ahz-news .ahz-news-card h4 {
    color: #111;
    font-size: 1em;
    margin: .5em;
    font-weight: 700;
}

section.ahz-news .ahz-news-card p.ahz-news-date {
    color: #111;
    text-decoration: none;
    margin: .5em;
    font-size: .9em;
    margin-top: 0;
}

section.ahz-news .ahz-news-card.ad {
    width: 100% !important;
    height: auto;
    background-color: transparent;
    color: #333;
    text-align: center;
	margin: auto;
}

section.ahz-news .ahz-news-card.ad div {
    max-width: 100% !important;
	
}


div.ahznews-ad-container>div {
	width: 100%;
    max-width: 100% !important;
	padding: 20px 0px;
	margin: auto;
}


/* Category buttons */

button.ahz-news-cat-btn {
    background-color: #fff;
    color: black;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    margin: .5em;
    padding: .4em .7em .4em .7em;
    border: 0;
}

button.ahz-news-cat-btn.ahz-selected {
    color: #fff;
    background-color: black;
}

.a20-gold-color > .a20-standings-table-card-body-name {
    color: black;
}

.a20-gold-color > .a20-standings-table-card-body-same-size{
    color: black;
}
/* Show more news button (homepage) */
button.ahznews-more {
    display: block;
    margin: 0 auto;
    width: 300px;
    color: white;
    background-color: black;
	font-weight: 700;
	border: solid 2px transparent;
	transition: all 300ms;
}

button.ahznews-more:hover{
	color:black;
	background-color: white;
	border: solid 2px black;
}

button.ahznews-btn-inactive {
    background-color: #ccc;
    cursor: progress;
}

/** HOME SLIDER **/ 

.a20-home-slider-item-wrapper {
    display: flex;
    align-items: flex-end;
    text-decoration: none !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.a20-home-slider-background-image-container {
    background-color: black;
    height: 100%;
    width: 100%;
    margin-left: 4px;
    margin-right: 4px;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

.a20-home-slider-item-wrapper h4 {
    font-weight: bold;
    font-size: 2.5rem;
}

.a20-content-wrapper .a20-news-category-home-slider {
    background-color: black;    
    max-width: fit-content;
    padding-left: 20px;
    padding-right: 10px;
    margin-left: -16px;
    margin-bottom: 10px;
}

.a20-content-wrapper {
    color: white !important;
    padding: 16px
}

.a20-content-wrapper h4 {
    color: white !important;
	font-family: "Barlow Condensed", sans-serif;
	text-transform: uppercase;
	font-weight: 700;
}

#a20-slider-home-wrapper .a20-slider-inner-wrapper {
	display: flex;
	height: 400px;
	position: relative;
	width: 100%;
}

#a20-slider-home-wrapper .a20-slider-inner-wrapper {
	overflow-x: hidden;
}

#a20-slider-home-wrapper .a20-home-slider-item-wrapper{
	height: 100%;
	width: 50%;
	position: absolute;
	transition: all 0.5s;
}

#a20-slider-home-wrapper .a20-no-animation {
	transition: none !important;
}

#a20-slider-home-wrapper .a20-to-left {
	transform: translateX(calc(-100% + -4%));
}

#a20-slider-home-wrapper .a20-to-right {
	transform: translateX(calc(100% + -4%));
}
.a20-slider-inner-wrapper > :not(.a20-active-news)::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.a20-slider-inner-wrapper > :not(.a20-active-news) > .a20-home-slider-background-image-container {
    box-shadow: rgb(0 0 0 / 70%) 1000px -186px 111px -25px inset, rgb(0 0 0 / 60%) 0px 4px;
}

.a20-slider-inner-wrapper > :not(.a20-active-news) > .a20-home-slider-background-image-container > .a20-content-wrapper {
    opacity: 0.8;
}

#a20-slider-home-wrapper .vce-image-gallery-img {
	opacity: 0.7;
	cursor: pointer;
}

#a20-slider-home-wrapper .a20-active-news .a20-home-slider-item-wrapper{
	opacity: 0.9;
	cursor: unset;
	pointer-events: none !important;
}

#a20-slider-home-wrapper .a20-slider-node-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
    margin-top: -19px;
}

#a20-slider-home-wrapper .a20-slider-node {
	background-color: white;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	position: relative;
	margin-left: 3px;
	margin-right: 3px;
}

#a20-slider-home-wrapper .a20-slider-node-highlighted {
	background-color: #bea258;
}

#a20-slider-home-wrapper .a20-active-news .a20-home-slider-background-image-container {
    box-shadow: rgb(0 0 0 / 70%) 0px -186px 111px -25px inset, rgb(0 0 0 / 60%) 0px 4px 12px;
}


/* Arrows for mobile sliders*/
.a20-slider-arrow-wrapper {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 45px;
    height: 400px;
    z-index: 999;
}

.a20-slider-arrow {
    display: flex;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

#a20-slider-arrow-right {
    right: 0;
}


section.ahz-news .ahz-news-card {
    position: relative;
    float: left; 
    background-color: #fff;
    border-radius: 10px;
    width: calc(calc(100% - 64px) / 2) !important;
    margin: 16px;
}

@media (min-width: 1023px) and (max-width: 1100px) {
    section.ahz-news .ahz-news-card {
        width: calc(calc(100% - 64px) / 2) !important;
    }
}


@media (min-width: 992px) and (max-width: 1022px) {
    section.ahz-news .ahz-news-card {
        width: 100%;
    }
    .a20-ad-banner-news-home {
        width: 100%;
    }
}

@media (max-width: 670px) {
    .a20-home-news-category-button-row {
        margin-left: 0;
    }
    section.ahz-news .ahz-news-card {
        width: 100%;
    }
    section.ahz-news .ahz-news-card.ad {
        width: 100%;
    }
    section.ahz-news .ahz-news-card.ad > div{
        max-width: 100vw;
    }
}

@media (max-width: 576px) {
    .a20-home-slider-background-image-container {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .a20-slider-arrow-wrapper {
        display: flex !important;
    }
	
	#ahz-news-section {
		display: flex;
		flex-direction: column;
	}
	.ahz-news-card{
		width: 100%;
		
	}
	.a20-news-card-wrapper a{
		width: 100%;
	}
	section.ahz-news .ahz-news-card{
		width: 100% !important;
		margin: 0px !important;
	}
}
