/*======================================
Theme Name: Free Divi Child Theme By Pee-Aye Creative
Theme URI: https://www.peeayecreative.com/
Description: This is a free Divi child theme from Pee-Aye Creative!
Author: Nelson Lee Miller (aka The Divi Teacher)
Author URI: https://www.peeayecreative.com/
Author Email: nelson@peeayecreative.com
Template: Divi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

 /* ===== NOTES ==================================================================
 * 
 * New to Divi? Take our full Divi course: https://www.peeayecreative.com/product/beyond-the-builder-the-ultimate-divi-website-course/
 * 
 * Learn cool tricks and features with our Divi tutorials: https://www.peeayecreative.com/blog/
 * 
 * Discover our premium Divi products: https://www.peeayecreative.com/shop/
 * 
 * =============================================================================== */

/*add your custom CSS below this line*/


/*linien unter menüpunkten*/

#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 50%;
 background: #ffffff; /*** COLOR OF THE LINE ***/
 height: 3px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}



/*hide footer bottom leiste unter footermenu ausblenden*/
#footer-bottom {
    height: 0 !important;
    overflow: hidden;
    padding: 0;
}



/*hide Divi Blog module post title*/
.pa-blog-no-links .et_pb_post .entry-title{display: none;}


/*blog image aspect ratio square 1:1*/

.pa-blog-image-1-1 .entry-featured-image-url {
  padding-top: 100%;
  display: block;
}

.pa-blog-image-1-1 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}




/*-------Change Link color in a module-------*/
.freiburglinkfarbe a{
 color: #54b583
}


/*-------Change Link color in a module-------*/
.europalinkfarbe a{
 color: #1b4695;
}

/*-------Change Link color in a module-------*/
.uebermichlinkfarbe a{
 color: #d91e6a;
}


/*-------Change Link color in a module-------*/
.rechtsseitenlinkfarbe a{
 color: red;
}


/*-------Change Link color in a module-------*/
.regionsleistenlinkfarbe a{
 color: #e0e0e0;
}


/*-------Change Link color in a module-------*/
.footerlinkfarbe a{
 color: #ffffff;
}



/*featured image grüner Rahmen bei Blogbild Kategorie Wahlkreis*/

.et_pb_blog_fullwidth .category-wahlkreis.et_pb_post .entry-featured-image-url
	img {
  border-right:7px solid #54b583;
}


/*featured image grüner Rahmen bei Blogbild Kategorie Wichtig*/

.et_pb_blog_fullwidth .category-wichtig.et_pb_post .entry-featured-image-url
	img {
  border-right:7px solid #54b583;
}




/*featured image blauer Rahmen bei Blogbild Kategorie europa*/

.et_pb_blog_fullwidth .category-europa.et_pb_post .entry-featured-image-url
	img {
  border-right:7px solid #1b4695;
}


/*featured image blauer Rahmen bei Blogbild Kategorie bundestag*/

.et_pb_blog_fullwidth .category-bundestag.et_pb_post .entry-featured-image-url
	img {
  border-right:7px solid #1b4695;
}


/*featured image roter Rahmen bei Blogbild Kategorie persoenlich*/

.et_pb_blog_fullwidth .category-persoenlich.et_pb_post .entry-featured-image-url
	img {
  border-right:7px solid #d91e6a;
}



/*set the width of the rows inside the Post Content module*/
.et-l .et-l--post .et_builder_inner_content .et_pb_row {
	width: 100%;
}


.et-l .et-l--post .et_builder_inner_content .et_pb_section {
padding: 0;
}



/*image gallery item aspect ratio square 1:1*/

.pa-image-gallery-1-1 .et_pb_gallery_image {
  padding-top: 100%;
  display: block;
}

.pa-image-gallery-1-1 .et_pb_gallery_item img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
 }