
/*--------------------------------------------------------------
*
* 	GUTENBERG
*
--------------------------------------------------------------*/
 

/* LAYOUT AND ALIGNMENTS 
-------------------------------------------------- */

body .is-layout-flow > .alignleft {
	float: left;
	margin-inline-start: 0
	;margin-inline-end: 2em;
}
body .is-layout-flow > .alignright{
	float: right;
	margin-inline-start: 2em;
	margin-inline-end: 0;
}
body .is-layout-flow > .aligncenter{
	margin-left: auto !important;
	margin-right: auto !important;
}
body .is-layout-constrained > .alignleft{
	float: left;
	margin-inline-start: 0;
	margin-inline-end: 2em;
}
body .is-layout-constrained > .alignright{
	float: right;
	margin-inline-start: 2em;
	margin-inline-end: 0;
}
body .is-layout-constrained > .aligncenter{
	margin-left: auto !important;
	margin-right: auto !important;
}
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
	max-width: var(--wp--style--global--content-size);
	margin-left: auto !important;
	margin-right: auto !important;
}
body .is-layout-constrained > .alignwide{
	max-width: var(--wp--style--global--wide-size);
}
body .is-layout-flex{
	display: flex;
}
body .is-layout-flex{
	flex-wrap: wrap;align-items: center;
}
body .is-layout-flex > *{
	margin: 0;
}:where(.wp-block-columns.is-layout-flex){
	gap: 2em;
}


/* SPACES
-------------------------------------------------- */

h1 {
    padding-bottom: 10px;
}
.wp-block-columns h2 {
    padding: 30px 0 5px 0;
}
.wp-space + .wp-heading h3,
.wp-block-columns h3 {
    padding: 20px 0 5px 0;
}
.wp-space + .wp-heading h4,
.wp-block-columns h4 {
    padding: 10px 0 0 0;
}
.wp-heading + .wp-gallery {
    padding-top: 0;
}
.wp-list {
    padding-bottom: 15px;
}
.wp-audio {
    padding: 25px 0;
}


/* GALLERY
-------------------------------------------------- */

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: rgba(0,0,0,.5);
	padding: 10px;
}


/* TABLE
-------------------------------------------------- */

.wp-block-table td, .wp-block-table th {
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--grey);
}

/* ZITAT
-------------------------------------------------- */

.wp-block-quote {
    padding-left: 25px;
    border-left: 1px solid var(--grey);
}


/* FILE
-------------------------------------------------- */

.wp-block-file {
    padding: 25px 0;
}
.wp-block-file a {
    text-decoration: none !important;
    font-size: 16px;
}
.wp-block-file > a:first-of-type {
    border-bottom: 1px solid #cdcdcd;
    min-width: 100%;
    padding-bottom: 8px;
    margin-bottom: 6px;
    display: inline-block;
}
.wp-block-file .wp-block-file__button {
    background: var(--grey);
    color: #ffffff;
    border-radius: 0;
}
.wp-block-file *+.wp-block-file__button {
    margin-left: 0;
}


/* VIDEO
-------------------------------------------------- */

figure.wp-block-embed.is-type-video, .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    margin: 50px 0;
}
figure.wp-block-embed.is-type-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* IMAGE
-------------------------------------------------- */

.wp-block-image.is-style-rounded img {
    border-radius: 0 0 160px 0;
}
@media screen and (max-width: 782px){
    .wp-block-image.is-style-rounded img {
        border-radius: 0 0 120px 0;
    }
}



/*--------------------------------------------------------------
*
* 	CONTACTFORM 7 
*
--------------------------------------------------------------*/

.sendbutton {
    background: none !important;
    border: 1px solid var(--orange) !important;
    border-radius: 0 !important;
    color: var(--orange) !important;
    padding: 10px 35px 10px 35px !important;
    font-size: 18px;
    transition: 0.3s;
}
.sendbutton:hover {
    background: var(--orange) !important;
    border: 1px solid var(--orange) !important;
    color: #fff !important;
    transition: 0.3s;
}
