.case-video {
    width:100%;
    height:auto;
    position:relative;
    cursor: pointer;
    background-color: #fff;
}

.case-video video {
    width:100%;
    cursor:pointer;
    display:block;
}

.play-button {
    width: 60px;
    height: 60px;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
}
.fullwidth-video {
    width:100%;
    height:auto;
    position:relative;
    cursor: pointer;
    background-color: #fff;
	line-height:0;
	font-size:0;
}

.fullwidth-video video {
    width:100%;
	height:auto;
    cursor:pointer;
    display:block;
	vertical-align:bottom;
}
.gallery5050 {
	display:flex;
	flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}
.gallery5050 img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.photo-item {
	flex: 1 1 45%;
}

@media (max-width: 768px) {
	.photo-item {
		flex: 1 1 100%;
	}
}
		
.twocol {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	padding-bottom: 200px;
   	padding-top: 100px;
}
.twocol img {
	width:100%;
	height:100%;
}
.twocol-txt {
	max-width: 80%;
	margin: 0 auto;
	align-content: center;
}
.twocol-txt p{
	padding-top:30px;
	color:#2A2826;
}
@media (max-width: 820px) {
	.twocol {
		grid-template-columns: 1fr;
		padding-bottom: 100px;
        padding-top: 50px;
	}
	.twocol-txt p {
		padding-bottom:30px;
	}
	.twocol-txt {
		order:1;
	}
	.twocol-img {
		order:2;
	}
}
.parent {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 0.8fr 0.6fr 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
}
.parent > div img {
	height:100%;
	object-fit:cover;
}
#case-video-1 {
	width: 100%;
	max-height:780px;
	justify-self: center;
}
.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 1 / 2 / 3 / 4; display: flex;justify-content: center;align-items: center;}
.div4 { grid-area: 3 / 1 / 4 / 2; }
.div5 { grid-area: 3 / 2 / 4 / 3; }
.div6 { grid-area: 3 / 3 / 4 / 4; }

@media(max-width:768px) {
	.parent {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 0.6fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
}

	.div1 { grid-area: 1 / 1 / 2 / 2; }
	.div2 { grid-area: 1 / 2 / 2 / 3; }
	.div3 { grid-area: 3 / 1 / 4 / 3; }
	.div4 { grid-area: 2 / 1 / 3 / 3; }
	.div5 { grid-area: 4 / 1 / 5 / 2; }
	.div6 { grid-area: 4 / 2 / 5 / 3; }
}
/*
.flex-container {
	display: flex;
  	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
	justify-content: center;
	width:100%;
}

.flex-container div{
	background-color:#282826;
	margin: 0 auto;
	display: flex;
    align-items: baseline;
	width:100%;
	padding-top:80px;
	padding-bottom: 80px;
}

.flex-container h4 {
    text-transform:uppercase;
    font-weight:normal;
    width: 90%;
    margin: 0 auto;
	hyphens: manual;
    overflow-wrap: break-word;
    word-break: break-word;
    word-break: auto-phrase;
}

.flex-container h4 span {
    font-family:BarlowCondensed;
    font-size:82px;
    line-height:78px;
    text-transform:uppercase;
    width: 90%;
    display: block;
}

.flex-container h4 span {
    font-weight:900;
    color:#8F8772;
}

@media (max-width:1500px) {
 
    .IE-taste .flex-container h4, .flex-container h4 span {
            font-size: 72px;
            line-height: 74px;
            }
}

@media (max-width:1200px) {

.IE-taste .flex-container h4, .flex-container h4 span {
        font-size: 52px;
        line-height: 58px;
        }
}

.flex-item-3 {
	flex: 33%;
	max-width: 33%;
	overflow:hidden;
	font-size:0;
}
	
.flex-item-3 .last {
	flex: 34%;
	max-width: 34%;
	font-size:0;
}

@media (max-width: 768px) {
	.flex-container{
		flex-direction: column;
	}
	.flex-item-3, .last{
		max-width:100%;
		height:auto;
	}
	.flex-container div:nth-child(odd){
		padding: 40px 0;
	}
}



#case-images-left-message-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap:wrap;
}

.IE-taste #case-images-left-message-right {
    height:1080px;
}

#case-images-left {
    width:60%;
    position: relative;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
	overflow:hidden;
}

#case-images-left img {
    width:100%;
    
	height:100%;
    
}

#case-text-right {
    width:40%;
    padding:0 40px;
    padding-bottom: calc(150px + ((100vw - 1900px) / 5));
    padding-top: calc(150px + ((100vw - 1900px) / 5));
}

#case-text-right h4 {
    font-family:BarlowCondensed;
    font-weight:900;
    font-size: 110px;
    line-height: 122px;
    text-transform:uppercase;
}

@media (min-width:1900px) {
    #case-text-right {
        padding-top: 150px;
        padding-bottom: 150px;
    }
}

@media (max-width:1500px) {
    #case-images-left {
        width:60%;
    }


    #case-text-right {
        width:40%;
        padding-top: calc(150px + ((100vw - 1900px) / 10));
        padding-bottom: calc(150px + ((100vw - 1900px) / 10));
    }
}

@media (max-width:991px) {
    #case-images-left {
        width:100%
    }

    #case-images-left img {
        display: block;
    }

    #case-text-right {
        width:100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width:1400px) {
    #case-text-right h4 {
        font-size:90px;
        line-height:90px;
    }
}

@media (max-width:1150px) {
    #case-text-right h4 {
        font-size:70px;
        line-height:70px;
    }
}

#case-gallery {
	display: flex;
	flex-direction: row;

}

.case-bild {
	display: flex;
	flex-basis:33%;
	overflow:hidden;

}
.case-bild:nth-child(3) {
	flex-basis:34%;
}

.case-bild img{
	max-width:100%;
	height:100%;
}


@media (max-width:769px) {
	#case-gallery {
		flex-direction: column;
	}
	.case-bild {
		flex-basis:100%;
	}
}
*/
.case-fs-image {
    width: 100%;
    height: auto;
	font-size:0;
}

.case-fs-image img {
    width: 100%;
    height: auto;
}
/*
#rila-gallery {
	display: flex;
	flex-direction: row;
}

.rila-bild2 {
	display: flex;
	flex-basis:50%;
	overflow:hidden;
}

.rila-bild2 img{
	max-width:100%;
	height:100%;
}


@media (max-width:1024px) {
	#rila-gallery {
		flex-wrap: wrap;
	}
	.rila-bild2:nth-child(3) {
		order: 4; 
	}
	.rila-bild2:nth-child(4) {
		order: 3;
	}
}*/
