/*
Theme Name: IT & Netsolutions
Text Domain: itn-ol.de
Version: 1.1
Description: Custom theme
Author: IT & Netsolutions
Author URI: https://www.itn-ol.de
*/

/* noto-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/noto-sans-v39-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/noto-sans-v39-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/noto-sans-v39-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/noto-sans-v39-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




:root {
  --primary-font: 'Noto Sans';

--color-background: #f3f7f9;
--color-header: #e3e9ec;
--color-footer: #f3f7f9;
--color-font: #00011a;
--color-headline: #5c676d;


  --width-total: 2000px;
  --width-content: 1320px;
  --padding-content: 60px;
  --padding-content-mobil: 30px;
}



/* Breite Editor */
.wp-block {
  margin: 0 auto;
  max-width: var(--width-total);
}
/* Blöcke mit class .wide */
.wp-block[data-align="wide"] {
  margin: 0 auto;
  max-width: var(--width-total);
}
/* Blöcke mit class .full-width */
.wp-block[data-align="full"] {
  margin: 0 auto;
  max-width: none;
}

/* Container */

html {
  font-family: var(--primary-font);
    font-style: normal;
    font-weight: 300;
	height:100%;
  	margin:0;
  	padding:0;
    overflow-x: hidden;
}


body {
  font-family: var(--primary-font);
    font-style: normal;
    font-size: 18px;
	line-height:130%;
 	color: var(--color-font);
	overflow-x: hidden;
  background-color: var(--color-background);
 	margin:0;
 	padding:0;
	
}

/* Gallerie */


.ngg-galleryoverview.default-view .ngg-gallery-thumbnail {
	margin-right: 10px !important; margin-bottom:10px !important;}


.sl-wrapper .sl-image .sl-caption { background: #e3e9ec !important; color:#000 !important;}
	
/* table */

td.column-1 {width: 100px;}

.tablepress > :where(thead) + tbody > :where(:not(.child)) > *, .tablepress > tbody > * ~ :where(:not(.child)) > *, .tablepress > tfoot > :where(:first-child) > * {
  border-top: 1px solid var(--border-color);}

/* Bilder */
div#content_block img { border-style:none; width: 100% !important; height: auto; max-width: 100% !important; }

section.slider img { border-style:none; width: 100% !important; height: auto; max-width: 100% !important; }


svg { overflow:hidden;}

figure.distance_1 {padding: 50px 0 50px 0;}


:where(figure) {
  margin: 0 0 0em;
  padding: 10px 0 0 0;
}

figure.abgerundet img {border-radius: 20px;}



/* Accordeon*/

.panel_pt {
  padding: 0px 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

 .accordion_head {
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 10px 10px 10px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  border-bottom: 0px solid #5c676d;
  background-color: #e3e9ec;

}

.accordion_head.active, .accordion_head:hover {  color: #5c676d; }

.accordion_head:before {
  content: "+ "; 
  font-size: 20px;
  color: #5c676d;
  float: left;
  margin-right: 10px;
}

.accordion_head.active:before {
  content: "-"; 
}



.panel_kurator {
  padding: 0px 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion_head_kurator {
  font-size: 18px;
  line-height: 23px;
  font-weight: 300;
  cursor: pointer;
  padding: 10px 00px 10px 10px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  border-bottom: 0px solid #5c676d;
  background-color: #e3e9ec;

}

.accordion_head_kurator.active, .accordion_head_kurator:hover {  color: #5c676d; }

.accordion_head_kurator:after {
  content: "[ + ]"; 
  font-size: 50px;
  color: #5c676d;
  float: right;
  margin: 0px 0 30px 0;

}

.accordion_head_kurator.active:after {
  content: "[ - ]"; 
}

/* Formatierungen*/

hr {color:#00011a; margin-top:20px; margin-bottom:0px; width:100%;}

hr.trenner  {color:#00011a; margin-top:30px; margin-bottom:30px; width:100%;}
sub,
sup {
 	position:relative;
 	font-size:75%;
 	line-height:0;
 	vertical-align:baseline;
}
sub { bottom:-.25em;}
sup { top:-.5em;}





/* content */

div#distance_header {margin-top: 80px;}

section {
  display: flex;
  align-items: center;
  justify-content: center;
 }


 section.blank { background: none;}
section.grau_1 {	background-color:#f3f7f9;}
section.grau_2 {	background-color:#e3e9ec;}
section.verlauf_1 {background: linear-gradient(132.29deg, rgba(255, 124, 124, 0.2) 23.01%, rgba(255, 255, 255, 1) 91.1%);}

section.slider { 
  display: flex;
  align-items: center;
  justify-content: center;
}

section.slider p {padding: 0; margin: 0;}



div#paragraph_content {
	display: grid; 
  grid-template-columns: repeat(12, 1fr); 
	grid-template-rows: auto; 
  grid-column-gap: 24px;
  grid-row-gap: 0px;
width: calc(100% - (var(--padding-content)*2));
	max-width: var(--width-content);
	padding-right: var(--padding-content);
	padding-left: var(--padding-content);
	}

  div#paragraph_content.site_header {
    display: grid; 
    grid-template-columns: 57% 35%; 
    grid-template-rows: 1fr 50px; 
    grid-column-gap: 5%;
    grid-row-gap: 0px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    }

div#site_header_medium { grid-row: 1 / 3;}
div#site_header_text { 
  justify-content: flex-start; 
  align-content: center;
  font-size: clamp(20px, 2vw, 50px);
  font-weight: 300;
  line-height: 130%;
}

div#site_header_bildlegende { 
  font-family: var(--primary-font);
  font-size: 14px;
  line-height: 130%;

}

div#site_header_medium p { padding: 0; margin: 0;}
div#site_header_text p { padding: 0; margin: 0;}
div#site_header_bildlegende p { padding: 0; margin: 0;}


  div#paragraph_content.headerpicture {max-width: 100%; width: 100%; padding-left: 0; padding-right: 0;}





section > div#paragraph_content.distance_1 {padding-top: 50px; padding-bottom: 50px;}
section > div#paragraph_content.distance_2 {padding-top: 50px; padding-bottom: 0px;}
section > div#paragraph_content.distance_3 {padding-top: 0px; padding-bottom: 50px;}



/*Site - article */  

article#full {
  display: block;
grid-column: 1 / 13; 
grid-row: auto;
align-content: top;
justify-content: left; 
padding: 0;
margin: 0; 
 }



 article#full.center {
  display: block;
grid-column: 1 / 13; 
grid-row: auto;
align-content: center;
justify-content: left;  
padding-top: 50px;
padding-bottom: 20px;
 }

 article#full.text_center {
  display: block;
grid-column: 1 / 13; 
grid-row: auto;
align-content: center;
justify-content: left;  
padding-top: 50px;
padding-bottom: 20px;
 }

 article#full.pic_center {
  display: block;
grid-column: 1 / 13; 
grid-row: auto;
align-content: center;
justify-content: left;  
padding-top: 50px;
padding-bottom: 20px;
 }


/*Site -content_block */  

div#content_block { display: content; }


div#content_block.zweispaltig {
column-count: 2;
column-gap: 5%;
padding-top: 0px;}

div#content_block.zweispaltig p {
padding: auto;
margin: 0;
  }


  div#button_site {padding: 20px 0 0px 0; text-align: right;} 

  div#button_site.center { text-align: center;} 


 
div#content_block.einruecken_left { padding-left: 60px;}


div#headline {padding: 0 0 20px 0;}
div#headline_2 {padding: 50px 0 20px 0;}


 /*Site - Beitrag  */  

 hr.line_news {color:#00011a; margin-top:30px; margin-bottom:50px; width:100%;}

 div#headline_news {padding: 0 0 50px 0;}

    div.bildlegende {font-size: 12px; line-height: 130%;}
    div.bildlegende p {margin: 0.5em 0 20px 0;}

    div#button_news {padding: 20px 0 0px 0; text-align: right;} 


    div.kurator_pic {width: 400px; float: left; padding: 10px 30px 0px 0;} 

@media only screen and (max-width: 900px) {
    

  div.kurator_pic {width: 100%; ; padding: 0px; clear:both;} 
    
}

@media only screen and (max-width: 800px) {
  
  body {
      font-size: 16px;
    line-height:130%;
  }


  div#paragraph_content {

    width:calc(100% - 60px);
    padding: 20px 30px 20px 30px;
    }


.order_1 {order:1;}
.order_2 {order:2;}


 div#content_block.einruecken_left { padding-left: 0px;}

 div#paragraph_content.site_header {
  display: grid; 
  grid-template-columns: 100%; 
  grid-template-rows: 1fr; 
  grid-column-gap: 0%;
  grid-row-gap: 20px;
  
  }

div#site_header_medium { grid-row: 1 / 2; order: 1;}

div#site_header_text { 
  display: grid;
justify-content: center; 
align-content: center;
font-size: 20px;
padding: 0 20px 30px 20px;
order: 3;

}

div#site_header_bildlegende { 
font-size: 14px;
line-height: 130%;
padding: 0 20px 0 20px;
order: 2;
}




}
@media  (max-width: 800px) and (orientation: portrait) {


}

@media only screen and (max-width: 600px) {
  
  div#paragraph_content {

    width:calc(100% - 60px);
    padding: 20px 30px 20px 30px;
    }
}