:root{
--wp--preset--spacing--50: 0; /*no spacing around query-block*/

:where(.is-layout-flow) > *{margin-block-start: 0.1rem;margin-block-end: 0.1rem;}


}


* {
  box-sizing: border-box;
}







body {
  margin: 0;
  padding: 0;
}

h2, p {
  margin: 10px;
}

/* container der Fensterläden */
.main-content {
  position:relative;
  top: -30px;
height: 470px;

overflow: scroll;
}

/* Style the topnav */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
  position: fixed;
  top: 0;
	width: 100%;
}

ul.topnav li {
  float: left;
}

ul.topnav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul.topnav li a:hover {
  background-color: #111111;
}

ul.topnav li a.active {
  background-color: #4CAF50;
}
/**************************************************
* rule editor 
***************************************************/
select[name="select-996"],
select[name="select-539"],
input[name="date-947"]
 {
	width: 100%;
height: 30px;
font-size:inherit;
}
input[name="text-974"],
input[name="date-331"],
input[name="date-669"],
input[name="date-947"]
{
font-size:inherit;
width: 130px;
}
input[name="date-947"]{
margin-left: 6px;
}

input[name="text-974"]{
width: 80px;
}

.wpcf7-list-item {
width: 160px;
}
#delete-rule-button a {
text-decoration: underline;
color: black;
background-color: white;
padding-left: 20px;
margin-top: 0px;
}
#save-rule-button {
width: 100%;
}
.wpcf7-form-control.wpcf7-submit.has-spinner { 
 margin-top: 50px;
  width: 100%;
  height: 61px;
  background-color: black;
  border-radius: 30px;
  color: white;
  font-size: inherit;
}
.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
margin-top: 0px;
}


/**************************************************
* footer  
***************************************************/
.info-container-footer .measurements {
  border-collapse: collapse;
  width: auto;
  font-size: x-small;
}

.info-container-footer .measurements,
.info-container-footer .measurements td,
.info-container-footer .measurements th
 {
   border: 1px solid #ddd;
   padding: 4px;
   text-align: center;
}

.info-container-footer .measurements img {
	width: 20px;
}
div.info-container-footer {
display: flex;
}

.block-container-footer-right-side {
	margin-left: 0px;
      font-size: x-small;
	text-align: left;
}
.block-container-footer-right-side p{
	margin-top:0px;
	margin-bottom: 0px;
}


/* Style the shutter and pattern list */
.wp-block-query{
width: 100%;
}

/* linker und rechter Rand der Posts und Liste*/
.wp-site-blocks {
  padding-left: 10px;
  padding-right: 10px;
}

.wp-block-post {
	border-radius: 12px;
	border-bottom: 1px solid lightgrey;
/*background-image: linear-gradient(lightgrey,white,white,white,white,white,white,white,lightgrey);*/
}

.wp-block-post:hover {
  cursor: pointer; 
}
.wp-block-post-title :where(a){
	font-size: medium;
	text-decoration: none;
}	

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  padding: 8px;
  text-align: center;
  z-index: 1000;
}

div.flex-container {
  display: box;
  flex-direction: row;
}

div.flex-container > div {
  margin: 10px;
margin-top: 90px;
}