/*
Grundwerte für die Grüne-CI, die alle nutzen können. 
Hier wird insbesondere auf die Vorlagen eingegangen.
Das spezielle Farbschema wird separat behandelt.
*/
/* pt-sans-regular - latin */
@font-face {
    font-family: 'GrueneType';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: 
        url('../fonts/GrueneType-BlackCondensedItalic.woff') format('woff'),
        url('../fonts/GrueneType-BlackCondensedItalic.woff2') format('woff2'),
        local('');
  }
:root{
	--ci-hellgruen:#8abd24;
	--ci-dunkelgruen:#005437;
	--ci-mittelgruen:#008939;
	--ci-gelb:#fff17a;
	--ci-blau:#0ba1dd;
	--ci-sand:#f5f1e9;
}
.grueneType{
	font-family: "GrueneType";
}

/*Grünes CI - Vorlagen 2023*/
.ci-wrapper.wp-block-columns .wp-block-column,
.ci-wrapper.wp-block-columns{
	background-color: transparent;
	position: relative;
	margin-bottom: 60px !important;
	}
	
	/*Textzeilen*/
	p.ci-marker-font span{
		display: inline-block;
		padding: .25em 0;
		color: #ffffff;
		text-transform: uppercase;
    	transform: skewX(-5deg);
        font-family: "GrueneType";
        font-size: 150%;
        line-height: 110%;
		}
		p.ci-marker-font span.ci-marker-green{
			background: var(--ci-mittelgruen);
			box-shadow: .5em 0 0 var(--ci-mittelgruen), -.5em 0 0 var(--ci-mittelgruen);
		}
		p.ci-marker-font span.ci-marker-bright-green{
			background: var(--ci-hellgruen);
			box-shadow: .5em 0 0 var(--ci-hellgruen), -.5em 0 0 var(--ci-hellgruen);
			color:var(--ci-dunkelgruen);
		}
		p.ci-marker-font span.ci-marker-dark-green{
			background: var(--ci-dunkelgruen);
			box-shadow: .5em 0 0 var(--ci-dunkelgruen), -.5em 0 0 var(--ci-dunkelgruen);
		}
		p.ci-marker-font span.ci-marker-weisz{
			background: var(--ci-sand);
			box-shadow: .5em 0 0 var(--ci-sand), -.5em 0 0 var(--ci-sand);
			color:var(--ci-dunkelgruen);
		}

	/*Zweierkombi*/
	.ci-wrapper.ci-zweierkombi-vi{
		margin-bottom: 80px !important;
		}
		.ci-wrapper.ci-zweierkombi-vi > div{
			display: flex;
			flex-direction: column;
			align-items: center;
			}
			.ci-wrapper.ci-zweierkombi-vi p:last-child:after{
				content:"";
				background-image: url(../images/Sonnenblume_2023_gelb.svg);
				position: absolute;
				right: -67px;
				background-repeat: no-repeat;
				z-index: -1;
				width: 140px;
				height: 140px;
				bottom: -53px;
			}
				
			.ci-wrapper.ci-zweierkombi-vi p:first-child{
				margin-bottom:0 !important;
			}
			.ci-wrapper.ci-zweierkombi-vi p:not(:first-child){
				font-size: 150%;
				position: relative;
			}

    /*Typoplakat*/
    .ci-wrapper.ci-typoplakat-vii,
    .ci-wrapper.ci-typoplakat-vi{
        flex-direction: column;
        background: var(--ci-mittelgruen);
        padding-top:60px;
        gap:0;
        position: relative;
        overflow: hidden;
        }
    .ci-wrapper.ci-typoplakat-vii{
        background: var(--ci-dunkelgruen);
        }
        /*Sonnenblume*/
        .ci-wrapper.ci-typoplakat-vii:before,
        .ci-wrapper.ci-typoplakat-vi:before{
            content:"";
            background-image: url(../images/Sonnenblume_2023_gelb.svg);
            position: absolute;
            width: 160px;
            height: 160px;
            right: -40px;
            top: -40px;
        }
        .ci-wrapper.ci-typoplakat-vii:before{
            right:auto;
            width: 100%;
            height: 110%;
            right: 0px;
            top: auto;
            bottom: -40%;
            background-repeat: no-repeat;
            background-position: center;
        }

        /*Inhalte*/
        .ci-wrapper.ci-typoplakat-vi > .wp-block-column{
            margin-bottom:0px !important;
        }
        .ci-wrapper.ci-typoplakat-vii > div:first-child,
        .ci-wrapper.ci-typoplakat-vi > div:first-child{
            text-align: center;
            margin-bottom:20px !important;
            padding-right: 10%;
            }
        .ci-wrapper.ci-typoplakat-vii > div:first-child{
            padding-right: 0%;
        }
            .ci-wrapper.ci-typoplakat-vii > div:first-child p,
            .ci-wrapper.ci-typoplakat-vi > div:first-child p{
                margin-bottom:0 !important
            }
            .ci-wrapper.ci-typoplakat-vi > div:first-child p:not(:first-child){
                font-size: 150%;
            }
            .ci-wrapper.ci-typoplakat-vii > .wp-block-column:not(:first-of-type){
                margin-left: 0;
                margin-bottom: 10px !important;
                margin-top:50px;
            }

	/*CI Kandidaten-Plakat Bild/Text */
	.ci-plakat-vi.ci-plakat-wrapper{
		background: var(--ci-dunkelgruen);
	}
	.ci-plakat-vii.ci-plakat-wrapper{
		background: var(--ci-mittelgruen);
	}
		.ci-plakat-content{
			gap:0;
			position: relative;
			}
			/*Sonnenblume*/
			.ci-plakat-content::before{
				content:"";
				background-image: url(../images/Sonnenblume_2023_gelb.svg);
				position: absolute;
				right: 20px;
				background-repeat: no-repeat;
				z-index: 0;
				width: 35%;
				height: 35%;
				top: 20px;
				}
			.ci-plakat-vii .ci-plakat-content::before{
				right: auto;
				left: 20px;
				}

				.ci-plakat-content .wp-block-column{
					margin: 0 !important;
					flex-basis: auto !important;
					flex-grow: inherit !important;
					}
					/*VI*/
					.ci-plakat-content .wp-block-column:first-child{ /*BildSpalte*/
						width: 60%;
					}
					.ci-plakat-content .wp-block-column:last-child{ /*TextSpalte*/
						width: 60%;
						right: 0% !important;
						position: absolute;
                        padding-right:3em;
					}
					/*VII*/
					.ci-plakat-vii .ci-plakat-content .wp-block-column:first-child{ /*TextSpalte*/
						position: absolute;
						z-index: 1;
                        padding-left:3em;
					}
					.ci-plakat-vii .ci-plakat-content .wp-block-column:last-child{ /*BildSpalte*/
						position: relative;
						margin-left: 40% !important;
                        padding-right:0;
					}

						/*Text*/
						.ci-plakat-content .wp-block-column p:first-child{
							margin-bottom:0 !important;
							font-size: 150%;
						}
						.ci-plakat-content .wp-block-column p:last-child{
							margin-bottom:40px !important
						}

						/*Link am Ende*/
                        .ci-wrapper.ci-typoplakat-vii > div:last-child p a,
                        .ci-wrapper.ci-typoplakat-vi > div:last-child p a,
						.ci-themenplakat > div > p a,
						.ci-plakat-wrapper a{
							color: var(--ci-sand) !important;
							text-decoration: none !important;
							font-size: 135%;
							font-size: 150%;
                            padding-top: 5px;
                            padding-bottom: 25px;
							display: inline-block;
                            font-family: "GrueneType";
							border-bottom: none;
						}
                        .ci-wrapper.ci-typoplakat-vii > div:last-child p a:hover,
                        .ci-wrapper.ci-typoplakat-vi > div:last-child p a:hover,
                        .ci-themenplakat > div > p a:hover,
						.ci-plakat-wrapper a:hover{
							text-decoration: underline !important;
							border-bottom: none;
						}

	/*CI Themen-Plakat Bild-Hintergrund/Text*/
	.ci-themenplakat > div{
		position: relative;
		}
		.ci-themenplakat .wp-block-cover{
			padding:0;
			}
			.ci-themenplakat .wp-block-cover .wp-block-cover__image-background{
				position: relative;
			}
			.ci-themenplakat .wp-block-cover .wp-block-cover__inner-container{
				position: absolute;
				padding-left: 40px;
				padding-top: 40px;
				width: 70%;
				left: 0;
				}
			.ci-themenplakat .wp-block-cover:after{
				content:"";
				width: 30%;
				height: 100%;
				position: absolute;
				display: block;
				top: 0;
				right: 0;
				background-image: url(../images/Sonnenblume_2023_gelb.svg);
				background-repeat: no-repeat;
				background-position: -40% center;
				background-size: 120%;
				z-index: 0;
			}

		/*Link am Ende*/
		.ci-themenplakat > div > p {
			position: absolute;
			bottom: 30px;
			width: 100%;
            z-index: 1;
			}
	
@media (max-width:768px) {
	.ci-wrapper.ci-zweierkombi-vi p:last-child:after{
		right: 0;
	    left: 50%;
	    margin: 0;
	    transform: translate(-50%, 10px);
	}	
}		
