﻿/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Netzgaenger working on Elegant Themes
 Author URI:     https://www.netz-gaenger.de
 Template:       Divi
 Version:        1.0.0
*/

/*****Add any custom CSS below this line*****/
{}

/*---------------Vertically Center Column Elements---------------*/
/* Quelle + Video https://joshhall.co/how-to-create-a-fullwidth-2-column-image-text-section-in-divi/ */ 
.et_pb_equal_columns >.et_pb_column {
	margin-top:auto;
	margin-bottom:auto;
}

/* === Begin: Set the divi slider height === */
/* Src: https://divibooster.com/changing-the-height-of-the-divi-slider/ */

/* Desktop */
.startseitenslider .et_pb_slide .et_pb_container {
height: auto !important;
min-height: 650px !important;
max-height: 650px !important;	
}
/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 980px) {
.startseitenslider .et_pb_slide .et_pb_container {
height: auto !important;
min-height: 450px !important;
max-height: 450px !important;
}
}
/* Phone */
@media only screen and (max-width: 767px) {
.startseitenslider .et_pb_slide .et_pb_container {
height: auto !important;
min-height: 450px !important;
max-height: 450px !important;
}
}

/* Handle padding */
.myslider .et_pb_slide {
padding-bottom: 0px !important;
}
.myslider div.et_pb_slide_description,
.myslider .et_pb_slider_fullwidth_off div.et_pb_slide_description {
padding-top: 1%;
padding-bottom: 1%;
}

/* === End: Set divi slider height === */