@font-face {
    font-family: "Comic Sans MS";
    src: url("../../../fonts/comic-sans.woff");
           /* für IE9 */
/* src: url(bilangkangen.eot?#iefix) 
           format('embedded-opentype'),
           /* für IE6-IE8 
      url(bilangkangen.woff) 
           format('woff'), 
          /* für moderne Browser
      url(bilangkangen.ttf) 
           format('truetype');
         /* für Safari, Android, iOS */
}

html, body {
    height: 100%;
    min-height: 100%;
	color:#404040;
	font-size: 1em;
	font-family: 'Comic Sans MS', Arial;
    margin: auto;
    background-image: url("../../../images/system/HINTERGRUND_neu.png");
    background-repeat: no-repeat;
    background-position: 40% 20%;
}


/* body #test_col1 {
  height: 100%;
  grid-column: 1 / 4;
  grid-row: 1 / 2;
  background-color: red;
}

body #test_col2 {
  height: 100%;
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  background-color: green;
}
*/

p {
	line-height:1.2em;
    font-size:1.1em;
}

p, h1, h2, h3 {
    padding: 0em 1em 0em 1em;
}

h1 { 
	color:#3B6915;
	font-size:1.2em;
}
	
h2 {
	font-size:1.1em;
}

h3 {
	font-size: 1em;
	font-style: italic;
}

a {
    transition: all 0.4s ease-in-out 0s;
}

a:link, a:visited, a:hover {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	font-style: normal;
}

a:hover {
	color: #502E1B;
}

hr {
	width:98%;
	color:#404040;
	text-align:center;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

li {
  padding:0.5em;
}

#container {
	margin: 1.2em auto;
	width:100%;
    display: grid;
    grid-template-columns: 10% 40% 40% 10%;
 /*   grid-template-rows: 2em 150px 3em 1fr 2em; */
  
}

@media (min-width: 800px) {
#container {
  /*  grid-template-columns: 10% 40% 20% 20% 10%; */
    grid-template-columns: 10% 40% 40% 10%;
    }
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: #9E6361;
  display: grid;
  z-index:9;
}

.page-header {
  display:none;
}


/*kontakt*/
#kontakt {
   grid-column: 1 / 4;
    grid-row: 1 / 2;
    justify-self: flex-end;
    align-self: center;
  
    display: inline;
}
/* fb insta*/
#insta {
   grid-column: 4 / 6;
    grid-row: 1 / 2;
    justify-self: flex-start;
    align-self: center;
  display: inline;
  float: right;
}


#insta img {
    vertical-align: middle;
    padding: 0px 5px 0px 5px;
}


#kontakt p, #nav_rechtlich ul {
    font-size: 0.7em;
    color: #FFFFFF;
}

#copyright p {
    font-size: 0.5em;
    color: #FFFFFF;
}

@media (min-width: 680px) {
   #kontakt p, #nav_rechtlich ul, #copyright p {
    font-size: 0.8em;
} 
}

#kontakt img {
    vertical-align: middle;
    padding: 0px 10px 0px 20px;
}

#kontakt a:link,
#kontakt a:visited,
#nav_rechtlich a:link,
#nav_rechtlich a:visited {
	color: #FFFFFF;
	font-weight: normal;
	text-decoration: none;
	font-style: normal;
}

#kontakt a:hover,
#nav_rechtlich a:hover {
	color: #7E9F56;
	font-weight: normal;
	text-decoration: none;
	font-style: normal;
}

#logo {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    justify-self: center;
    z-index: 5;
}

nav {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    justify-self: flex-start;
    align-self: center;

 /* float: left; 
  margin-left: 10%;
  */
}

nav ul {padding-inline-start: 20px;}

nav li {
    display: inline;
    padding: 0px 10px 0px 10px;
    font-size:0.9em;
   
}

@media (min-width: 680px) {
    nav li {font-size: 1em; padding: 0px 20px 0px 20px;}
}

nav li a:link, nav li a:visited, nav li a:hover, nav li.current a {
  text-decoration:none;
  font-style:normal;
  font-weight:normal;
  text-align:center;
}

nav li a {
    padding-bottom: 0.6em;
    position: relative;
}

nav li a:hover {
    color:#B0D23E;
}

nav li a:after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    width: 0%;
    border-bottom: 3px solid #B0D23E; 
    transition:0.5s ease;
}

nav li a:hover:after {
    width: 100%;
}

nav li.current a {
    color: #7E9F56;
}


#logo img {
    width: 20em;
}

#inhalt,
#system-message-container {
    grid-column: 2 / 4;
    grid-row: 2 / 4; 
    width: 75%;
    margin: 1em;
    padding-top: 50px;
}

#inhalt p, 
#inhalt h1,
#inhalt h2 {
  margin-left: 6%;
}
/* 
.com-content-article.item-page {
    max-width: 80%;
    margin: auto;
    background-color: #f8dda4;
    border-top: 1px solid #813405;
    border-bottom: 1px solid #813405;
    padding: 1em;
    margin-top:1.5em;
    margin-bottom: 1.5em;    
} */

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: #9E6361;
    font-size: 0.8em;
    color: #FFFFFF; 
    display: grid;
    text-align: right;
    z-index: 10;
}

footer ul {
      grid-column: 2 / 4;
}


footer ul li{
  display: inline;
  text-align: right;
}

/* footer #mod-custom113 {
  grid-column: 3 / 4;
}
*/
#nav_rechtlich {
    grid-column: 1 / 4;
    grid-row: 5 / 6;
    justify-self: flex-end;
    align-self: center;
     font-size: 1.3em;
}


#copyright {
    grid-column: 4 / 6;
    grid-row: 5 / 6;
    justify-self: flex-start;
    align-self: center;
   font-size: 1.3em;
}

#nav_rechtlich li {
    display: inline;
    padding: 0px 20px 0px 20px;
}

@media (min-width: 1000px) {
.com-content-category-blog__items.blog-items.columns-2 {
  	display:grid;
  	/* grid-template-rows: 200px 200px 200px 200px;
  	grid-template-columns: 50% 50%;
    grid-row-gap: 10px;
    grid-column-gap: 10px; */
 }}

/* @media (max-width: 1199px) {
.com-content-category-blog__items.blog-items.columns-2 {
  	max-width:470px;
 }}

@media (max-width: 500px) {
.com-content-category-blog__items.blog-items.columns-2 {
  	max-width:320px;
 }} */

.com-content-category-blog__item.blog-item {
    display: grid;
    grid-template-rows: max-content;
    grid-template-columns: 150px 1fr;
    grid-row-gap: 10px;
    grid-column-gap: 5px;
}

@media (min-width: 600px) {
    .com-content-category-blog__item.blog-item {grid-template-columns: 180px 1fr;} 
}

figure {
    display:grid;
    grid-template-rows: 100%;
    grid-template-columns: 100%;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    margin-block-start: 0em;
    margin-block-end: 0em;
} 


/* 
.com-content-category-blog__item.blog-item {
    background-color: #f8dda4;
    border-top: 1px solid #813405;
    border-bottom: 1px solid #813405;
    padding: 1em;
    margin-top:1.5em;
    margin-bottom: 1.5em;
} */

.com-content-category-blog__item.blog-item:nth-child(1),
.com-content-category-blog__item.blog-item:nth-child(3),
.com-content-category-blog__item.blog-item:nth-child(5),
.com-content-category-blog__item.blog-item:nth-child(7),
.com-content-category-blog__item.blog-item:nth-child(9) {grid-column: 2 / 3;}

.com-content-category-blog__item.blog-item:nth-child(1),
.com-content-category-blog__item.blog-item:nth-child(2) {grid-row: 1 / 2;}


.com-content-category-blog__item.blog-item:nth-child(3),
.com-content-category-blog__item.blog-item:nth-child(4) {grid-row: 2 / 3;}

.com-content-category-blog__item.blog-item:nth-child(5),
.com-content-category-blog__item.blog-item:nth-child(6) {grid-row: 3 / 4;}

.com-content-category-blog__item.blog-item:nth-child(7),
.com-content-category-blog__item.blog-item:nth-child(8) {grid-row: 4 / 5;}    

.com-content-category-blog__item.blog-item:nth-child(2),
.com-content-category-blog__item.blog-item:nth-child(4),
.com-content-category-blog__item.blog-item:nth-child(6),
.com-content-category-blog__item.blog-item:nth-child(8),
.com-content-category-blog__item.blog-item:nth-child(10) {grid-column: 4 / 5;}

figure.left.item-image:nth-child(1) img, 
figure.left.item-image:nth-child(3) img,
figure.left.item-image:nth-child(5) img,
figure.left.item-image:nth-child(7) img,
figure.left.item-image:nth-child(9) img {grid-column: 1 / 2;}

figure.left.item-image:nth-child(1) img,
figure.left.item-image:nth-child(2) img {grid-row: 1 / 2;}

figure.left.item-image:nth-child(3) img,
figure.left.item-image:nth-child(4) img {grid-row: 2 / 3;}

figure.left.item-image:nth-child(5) img,
figure.left.item-image:nth-child(6) img {grid-row: 3 / 4;}

figure.left.item-image:nth-child(7) img,
figure.left.item-image:nth-child(8) img {grid-row: 4 / 5;}
  
figure.left.item-image:nth-child(2) img, 
figure.left.item-image:nth-child(4) img,
figure.left.item-image:nth-child(6) img,
figure.left.item-image:nth-child(8) img,
figure.left.item-image:nth-child(10) img {grid-column: 3 / 4;}

figure.left.item-image img {
    width: 150px;
    height: auto;
    justify-self:flex-start;
    align-self: flex-start;
}

@media (min-width: 600px) {
    figure.left.item-image img {width: 180px; }    
}

/* .item-content:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
} */

.item-content {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.items-row {
    margin: auto;
}

div.items-row:nth-child(1) > div:nth-child(1), div.items-row:nth-child(1) > div:nth-child(2), div.items-row:nth-child(2) > div:nth-child(1), div.items-row:nth-child(2) > div:nth-child(2) {

}

div.items-row:nth-child(2) > div:nth-child(1), div.items-row:nth-child(2) > div:nth-child(2) {
    margin-bottom: 1.1em;
}
