/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* External link modal */
#modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-color: rgba(222, 222, 222, 0.87);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal {
    width: 90%;
    height: 90%;
    max-width: 600px;
    max-height: 400px;
    background-color: #EDEEEF;
    border-radius: 6px;
    border: 1px solid #C0C0C0;
    box-shadow: 7px 7px 15px 2px #c0c0c0;
    padding: 36px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal h2 {
	text-align: center;
	color: #101E39;
    font-size: 28px;
    margin-top: 24px;
}

.modal hr {
	background-color: #8A1922;
    height: 2px;
    width: 136px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 36px;
}

.modal p {
	color: #101E39;
    font-size: 18px;
    line-height: 24px;
}

.modal .button {
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 24px;
    margin: 0 8px 8px 0;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

.modal a.button {
	color: white;
	background-color: #253551;
}

.modal button.button {
	color: #253551;
	background: none;
}

@media only screen and (max-width: 767px) {
	.modal {
		height: auto;
		max-height: initial;
		padding: 24px 32px;
	}
}

/* Hide category tag "Externer Inhalt" at /news */
li[data-filter=".extern"] {
    display: none;
}

/* Sticky header */
.elementor-location-header {
    position: sticky;
    top: 0;
    z-index: 50;
	transition: background-color 0.15s ease;
}

.elementor-location-header.scrolled {
    background-color: #253551;
}

.elementor-location-header.scrolled section > div {
    min-height: 70px !important;
}

.elementor-location-header.scrolled .logo img {
    width: 46px !important;
}

.elementor-location-header.scrolled a.elementor-item {
	font-size: 14px !important;
}

.elementor-tab-content h3 {
	color: var(--e-global-color-text) !important;
}

.elementor-tab-content p {
	font-weight: 400 !important;
}