/*
ce_image -> content-image
ce_text -> content-text
ce_headline -> content-headline
*/

@font-face {
    font-family: CentraNo1;
    src: url(fonts/CentraNo1-Book.ttf) format("truetype");
	font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: CentraNo1;
    src: url(fonts/CentraNo1-Medium.ttf) format("truetype");
	font-weight: 700;
    font-style: normal;
}

html,body{
	background-image:none;
	color:black !important;
	font-family: CentraNo1 !important;
	letter-spacing: 0px;
}
h1,h2,h3,h4,h5,p,a{
	font-family: CentraNo1 !important;
}
div.subheadline{
	font-size: 1.2rem;
	line-height:1.3rem;
	font-weight: 700;
}
@media (min-width: 1280px){
	div.subheadline {
		font-size: 1.667rem;
		
	}
}
.ce_back{
	margin-top:20px;
}
/*
a[target="_blank"]:after {
    content: " (öffnet ein neues Fenster)";
    content: " (new window)";	
}
*/
/*
a[target="_blank"]::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0 3px 0 5px;
}
*/
a.button, button,.ce_back a{
    position: relative;
    display: inline-block;
    color: #fff;
    background-color: #ee7601;
    border: none;
    border-radius: 5px;
    padding: 20px 30px;
    cursor: pointer;
    text-decoration: none;
    font-size: inherit;
    transition: box-shadow .5s ease;
}
a.button, a.button:hover, button ,.ce_back a,.ce_back a:hover{
    background-color: #A4CEFC;
    color: white;
}
.ce_rsce_valensina_quote .quote .quote__cite {
    font-family: rollerscript-rough,cursive !important;
	color:black;
}
figure i{
	color:#A4CEFC !important;
}
table{
	border:0px;
}
li>p{
	display:inline;
}
#article-35 .teaser__link,#article-72 .teaser__link{
	display:none !important;
}
/*.content-text.polaroid_mobile,div.polaroid_mobile,
.card.image_container,.ce_image.polaroid_mobile{
	box-shadow: none !important;
}
.content.grid>.ce_image>div>.card.image_container{
	box-shadow: initial !important;
}
*/
.card.block{
	width:100%;
}
.content-text.nocard .image_container,.content-image.polaroid_mobile{
	box-shadow: none !important;
}
.content-text.card.polaroid_mobile{
    border-radius: 15px !important;	
}
.polaroid_mobile figure.card{
	transform: rotate(3.29856deg);
    background: #fff;
    background: linear-gradient(56deg,#fff,#fff 49%,#f9f9f9 60%,#fff 71%,#f9f9f9 80%,#fff 85%,#fff);
    padding: 10px 10px 40px !important;
    margin: 30px;
    box-shadow: 0 0 20px 2px rgba(0,0,0,.6) !important;
    border-radius: 0px !important;
    overflow: hidden;
}
.polaroid_mobile.links figure.card{
	transform: rotate(-3.29856deg);
}
.polaroid_mobile .card{
	border-radius:0px !important;
}
.card.grid .content-image.polaroid_mobile>div{
    padding: 0px;
}

.inside{
	margin-top:40px;
}
header .inside{
	margin-top:30px;
}

.mod_article .card.bg_primary{
	background-color:#A4CEFC;
	color:white;
	width:100%;
/*
	margin-left:15px;
	margin-right:15px;
*/	
}
.grid .card.bg_primary {
    padding-right: 15px;
    padding-left: 15px;
}

.card.image_container,.content-image.card{
	padding:0px;
}
.card.content-text,.card.content-image,.content-text.card.bg_primary.block{
/*	padding:50px;*/
	margin-left:15px;
	margin-right:15px;
	width:100%;
}
/*
.m6.card.content-text,.m6.card.content-image,.m6.content-text.card.bg_primary.block{
	margin-left:0px;
	margin-right:0px;
}
*/
/*
.content-text.card>div{
	padding:30px;
}
*/
.card .card{
    box-shadow: none !important;
    padding: 0px;
}
.ce_list ul li:before, .content-text ul li:before {
    color: #A4CEFC;
}
.mainmenu {
    background-color: black;
}
.mainmenu ul li.active>a, .mainmenu ul li.trail>a {
    background-color: #f9ae17;
}
.menu_hamburger .button .line {
	background-color:black;
}
a.button, a.button:hover,button {
	background-color: #A4CEFC;
	color:white;
}
#footer {
	background-color: black;
}
#footer a,#header a{
	min-width:44px;
	min-height:44px;
	display:inline-block;
}
.footer__logo img{
	max-width:300px;
}
#header {
    background: none;
}

#header nav.mod_changelanguage{
/*	display:block !important;*/
	height:50px !important;
/*	align-items: unset !important;*/
}
/*
#header nav.mod_changelanguage li.active {
	display:none !important;
}
*/
#header nav.mod_changelanguage li:not(.active) {
	overflow:visible !important;
}

#header nav.mod_changelanguage ul{
    flex-direction:row !important;
}
#header nav.mod_changelanguage ul li a {
    color: #f9ae17 !important;
}
#header nav.mod_changelanguage ul li.lang-en a{
	border-left: solid black 2px;
}
/*
#header nav.mod_changelanguage ul li.lang-en a:before{
    content:"| ";
	color:#000;
}
*/

.mod_newslist .grid{
	display:block;
	padding:50px;
}

.inside .ce_form form .widget input.checkbox {
    display: block!important;
}

/*unsere Marken*/
#article-35{
	@media (max-width: 1280px){	
		.teaser{
			min-height:440px;
		}
	}
}
#article-42{
	h4{
		padding:0px;
	}
@media (max-width: 1280px){	
	.grid  div.ce_rsce_valensina_teaser .teaser{
		min-height:600px;
	}
}	
	.card.grid .content-image {
		padding: 0px;
	}
}
@media (max-width: 769px){
	.hide-on-med-and-down {
		display: none!important;
	}
}
@media (min-width: 769px){
	.hide-on-med-and-up {
		display: none!important;
	}
	.grid .m4{
		width:33%;
		.card{
			border-radius:0px;
		}
	}
	.grid .m8{
		width:66%;
	}
	.grid .is-half--desktop,.grid .m6{
		width:45%;
	}
	.grid .m12{
		width:100%;
	}	
}

@media (min-width: 769px){
	#header .inside .logo {
		padding:25px;
		height:180px;
	}
}
@media (min-width: 769px){
	#header .inside .logo img {
		max-height: 130px;
	}
}
@media (max-width: 769px){
	#header .inside .logo img {
/*		content: url("/img/Logo_ValensinaGruppe_lang_ohneMarken_2zeilig_sRGB.png");*/
	}
}
@media (max-width: 768px){
	#wrapper #mobile .mobilemenu ul li a.active {
		background-color: #f9ae17;
	}
}
/*
#header {
    background: url("/files/build/img/logo-main.png");
	height:150px;
}
#header .inside .logo{
    display:none;
}
*/
.ce_rsce_valensina_teaser .teaser .teaser__content .teaser__title
,.ce_rsce_valensina_teaser .teaser .teaser__content .teaser__text
,.ce_rsce_valensina_teaser,.ce_rsce_valensina_quote
,.ce_rsce_valensina_download .download .download__content .download__title
,.content-text table 
,.mainmenu ul li ul li a
,#wrapper #mobile .mobilemenu ul li a
 {
	color:black !important;
	font-family: CentraNo1 !important;	
}
a,a:hover{
    color: #f9ae17;
}
.ce_rsce_valensina_quote .quote .quote__author {
    color: #A4CEFC;
}

.mainmenu ul li ul li a:hover {
	color:white !important;
}

.mainmenu ul li ul li:hover {
    background-color: #f9ae17;
	a{
/*		color:white !important;*/
	}
}

@media (min-width: 769px){
	.ce_rsce_valensina_teaser .teaser .teaser__content.teaser__content--left, .ce_rsce_valensina_teaser .teaser .teaser__content.teaser__content--right {
		padding: 0 20px;
	}
}



.timeline--wrapper {
    margin: 3.125em auto
}

.timeline {
    transition: all .4s ease;
    counter-reset: section
}

.timeline:before {
    content: "";
    width: 10px;
    height: 100%;
    background: #A4CEFC;
    position: absolute;
    top: 0;
    left: calc(2.5em + 5px);
    border-radius: 40px 40px
}

.timeline--entry {
    position: relative;
    margin-left: 5em;
    margin-bottom: 1em;
    visibility: visible;
    opacity: 1;
    transition: all .5s ease-in-out;
    transform: none
}

.timeline--entry .timeline--entry--content {
    display: block;
    background-color: hsla(0,0%,100%,.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)!important
}
/*
.timeline--entry.not-in-view {
    visibility: hidden!important;
    opacity: 0!important
}
*/
.timeline--entry .timeline--entry--content {
    transition: all .5s ease-in-out;
    transform: none
}
/*
.timeline--entry:nth-of-type(odd).not-in-view .timeline--entry--content {
    transform: translate3d(200px,0,0)
}

.timeline--entry:nth-of-type(2n).not-in-view .timeline--entry--content {
    transform: translate3d(200px,0,0)
}
*/
.timeline--entry .timeline--entry--content:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    left: -1em;
    top: 1.6em;
    border-right: 10px solid #fff
}

.timeline--entry__title {
    color: #fff;
    background-color: hsla(0,0%,100%,.9);
    font-family: inherit;
    font-weight: inherit;
    font-size: 1rem
}

.timeline--entry__detail {
    background-color: hsla(0,0%,100%,.9);
    padding: 1em;
    margin: 0
}

.timeline--entry .timeline--entry__marker {
    font-family: inherit;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4em;
    height: 4em;
    background-color: #A4CEFC;
    border: .2em solid #fff;
    border-radius: 50%;
    position: absolute;
    counter-increment: section;
    content: counter(section);
    left: -5em
}

@supports (display: flex) {
    @media (min-width:786px) {
        .timeline {
            display:flex;
            flex-direction: column;
            width: 100%
        }

        .timeline:before {
            left: calc(50% - 5px)
        }

        .timeline--entry {
            display: flex;
            width: 50%;
            margin-left: 0;
            margin-bottom: 3em
        }

        .timeline--entry .timeline--entry--content {
            width: 100%
        }

        .timeline--entry .timeline--entry--content:before {
            top: 2.4em
        }

        .timeline--entry .timeline--entry__marker {
            width: 6em;
            height: 6em
        }

        .timeline--entry:nth-of-type(odd) {
            align-self: flex-end
        }

        .timeline--entry:nth-of-type(odd) .timeline--entry--content {
            margin-left: 6em;
            margin-right: 0
        }

        .timeline--entry:nth-of-type(odd) .timeline--entry--content:before {
            left: 5em;
            right: unset
        }

        .timeline--entry:nth-of-type(odd) .timeline--entry__marker {
            left: -3em
        }

        .timeline--entry:nth-of-type(2n):not(:nth-of-type(odd)) {
            align-self: flex-start
        }

        .timeline--entry:nth-of-type(2n):not(:nth-of-type(odd)) .timeline--entry--content {
            margin-left: 0;
            margin-right: 6em
        }

        .timeline--entry:nth-of-type(2n):not(:nth-of-type(odd)) .timeline--entry--content:before {
            left: unset;
            right: 5em;
            border-left: 10px solid #fff;
            border-right: 0
        }

        .timeline--entry:nth-of-type(2n) .timeline--entry__marker {
            left: unset;
            right: -3em
        }
/*
        .timeline--entry:nth-of-type(2n).not-in-view .timeline--entry--content {
            transform: translate3d(-200px,0,0)
        }
 */       
    }
}
/*Anpassungen contao 5.3 24.9.2024*/
.content-text .subsubheadline, .content-text h1, .content-text h2, .content-text h3, .content-text h4, .content-text h5, .content-text h6 {
    padding-bottom: 20px;
}

.content-text.card {
    padding: 30px;
	
	h3{
	/*	font-size:1.6rem;*/
	/*	padding-left:30px;*/
	/*	padding-top:30px;*/
		padding-bottom:20px;
	}
}

.teaser{
	height:100%;
}
.ce_rsce_valensina_teaser .teaser .teaser__media {
	display:block;
}
.grid [class*=content-], .grid [class*=mod_] {
    margin-bottom: 30px;
}
.mod_article [class=content-text], .mod_article [class=content-headline],.mod_article [class*=mod_] {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
    max-width: 100%;
    padding-right: 18.5px;
    padding-left: 18.5px;
    margin-bottom: 30px;
}

.card.grid .content-image, 
.card.grid .content-image>video, 
.card.grid .ce_rsce_valensina_video>div, 
.card.grid .ce_rsce_valensina_video>video, 
/*.card.grid .ce_text>div, */
.card.grid .ce_text>video {
    padding: 30px;
}
.grid>.content-headline,.card.grid>.content-text{
    display: inline-block;
    padding: 30px;
}
h2 {
	font-size: 1.8rem;
}
@media (min-width: 1280px) {
    h2 {
        font-size: 3rem;
    }
}
h3{
/*	padding: 30px 0px;*/
}
h4{
/*	padding: 30px 30px;		*/
	font-size: 1.2rem;
}
@media (min-width: 1280px) {
    h4 {
        font-size: 2.125rem;
    }
}
/*
.card.grid .content-image.polaroid_mobile,.card.polaroid_mobile img{
	box-shadow: 0 0 20px 2px rgba(0, 0, 0, .6) !important;
	width:45%;
	border-radius:0px;
}
*/
.polaroid_mobile.card img{
	border-radius:0px;
}
.card .polaroid_mobile img{
	border-radius:0px;
}
.polaroid_mobile figure {
    transform: rotate(3.29856deg);
    background: #fff;
    background: linear-gradient(56deg, #fff, #fff 49%, #f9f9f9 60%, #fff 71%, #f9f9f9 80%, #fff 85%, #fff);
    padding: 10px 10px 40px !important;
    margin: 30px;
    box-shadow: 0 0 20px 2px rgba(0, 0, 0, .6) !important;
    border-radius: 0px !important;
    overflow: hidden;
}
.polaroid_mobile.links figure {
    transform: rotate(-3.29856deg);
}
.image_container.float_left, .image_container.float_right {
    max-width: 50%;
    margin-bottom: 20px;
}

.card.content-image figure{
	margin-bottom: -10px;
}

.card figure img{
	border-radius:15px;
}

.content-text.media.media--right figure{
	float:right;
	max-width:50%;
}
.media--left figure{
	max-width: 50%;
	float:left;
	margin-right: 2rem;
    margin-left: 2rem;
}	
.card.grid .m6{
	max-width: 50%;
	float:left;
}
.content-text table.table-striped tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}
.content-text table td, .content-text table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
.ce_list ol li, .ce_list ul li, .content-text ol li, .content-text ul li {
    margin-left: 20px;
	margin-bottom:10px;
}
.ce_list ul li:before, .content-text ul li:before {
    content: "•";
    color: #A4CEFC;
    font-weight: 700;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.ce_rsce_valensina_teaser .teaser.with-mobile-image .teaser__media {
    display: block;
}
@media (min-width: 769px) {
    #header .inside .logo img {
        height: initial;
    }
}
@media (max-width: 768px) {
    .mod_article .grid {
		display: block;
    }
	.content-text.card {
		padding: 5px;
	}
}
