/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Child Theme for Divi Theme by Elegant Themes
 Author:         Divi.world
 Author URI:     http://divi.world
 Template:       Divi
 Version:        1.0.0
*/
/* roboto-100 - 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: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/roboto-v30-latin-100.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-100.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-100italic - 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: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('fonts/roboto-v30-latin-100italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-100italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-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: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-300italic - 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: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-300italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-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: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-italic - 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: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-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: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-500italic - 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: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/roboto-v30-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-500italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-700 - 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: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-700italic - 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: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-900 - 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: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/roboto-v30-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-900italic - 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: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/roboto-v30-latin-900italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v30-latin-900italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

h1,h2,h3,h4,h5,h6{
	font-family:'Roboto'!important;
}
body{
	font-family:'Roboto'!important;
	font-weight:300;
}

.side-by-side-2 {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.two-columns-text{
  column-count: 2;
  column-gap: 40px;
}

.teaserrow .et_pb_module.et_pb_image,
.teaserrow .et_pb_module.et_pb_image span{
  height:100%;
  overflow: hidden;
}
.teaserrow .et_pb_module.et_pb_image img{
  object-fit: cover;
  transition: transform 0.5s;
}
.teaserrow:hover .et_pb_module.et_pb_image img{
  transform: scale(1.1);
}

.nolink > a{
  cursor: default;
}
/*BLOG*/
.blog-with-tags .et_pb_ajax_pagination_container{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.blog-with-tags article{
  /* width:33%; */
  border:2px solid #1523473d;
  padding:24px;
  margin-bottom:0px;
}

article.type-ansprechpartner .post-meta{
  padding-top:15px;
}
article.type-ansprechpartner .post-meta .tags a {
  pointer-events: none;
  padding: 0 8px;
  text-transform: uppercase;
  display:inline-block;
  margin:0 10px 10px 0;
  background:#f3f5f7;
  border-radius:3px;
  font-size:70%;
}
article.type-ansprechpartner{
  display:flex;
  flex-direction: column;
}
article.type-ansprechpartner .entry-title{
  pointer-events: none;
  order:1;
}
article.type-ansprechpartner .post-content{
  order:2;
}
article.type-ansprechpartner .post-meta{
  order:3;
}

.referenzen .et_pb_ajax_pagination_container{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.referenzen article{
  display: flex;
  flex-direction: column;
  border:1px solid #1523473d;
  padding:0 24px 24px 24px;
}
.referenzen article .entry-featured-image-url{
  height:300px;
  overflow: hidden;
  margin:0 -24px 24px -24px;
}
.referenzen article .entry-featured-image-url img{
  transition: transform 0.5s;
  object-fit: cover;
  height:300px;
}
.referenzen article a{
  pointer-events: none;
}
.referenzen article:hover .entry-featured-image-url img{
  transform: scale(1.1);
}

@media(max-width:980px){
  .nomobile .et_pb_menu__menu{
    display:block;
  }
  .nomobile .et_mobile_nav_menu{
    display:none;
  }
  .referenzen .et_pb_ajax_pagination_container,
  .blog-with-tags .et_pb_ajax_pagination_container{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .teaserrow .et_pb_module.et_pb_image span,
  .teaserrow .et_pb_module.et_pb_image img{
    max-height:400px;
    width: 100%;
  }
  .teaserrow.mobile-change-order{
    display:flex;
    flex-wrap:wrap;
  }
  .teaserrow.mobile-change-order .et_pb_column:first-child{
    order:2;
  }
  .teaserrow.mobile-change-order .et_pb_column:last-child{
    order:1;
  }
}

@media(max-width:768px){
  .two-columns-text{
    column-count: 1;
    column-gap: 0px;
  }
  .referenzen .et_pb_ajax_pagination_container,
  .blog-with-tags .et_pb_ajax_pagination_container{
    display:grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
#top-menu .sub-menu{
  margin-left:-25px;
  width:350px;
}
#top-menu li li{
  display:block;
}
#top-menu li li a{
  padding: 6px;
  width: 100%;
}
@media(max-width:1120px){
  #top-menu-nav{
    display:none;
  }
  #et_mobile_nav_menu{
    display:block;
  }
}
@media (max-width: 980px) {
  .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
      -webkit-box-pack: start!important;
      -ms-flex-pack: start!important;
      justify-content: flex-start!important;
  }
}