/*
 Theme Name:   Twenty Twentyone Child
 Theme URI:    http://projekt-hilft.de/
 Description:  Twenty Twentyone Child Theme for projekt-hilft.de
 Author:       PSO
 Author URI:   http://projekt-hilft.de
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  twentytwentychild
*/

.ph {
	/* classy color palette https://mycolor.space/ */
	light-green: #D1E4DD
	dark-green: #364B44
	green: #84B5A5
	light-blue: #CDE2F9;
	grey: #97ABC0;

	/* other option : #b0d4dd;*/
	--light-blue: #E6F4F1;
}

body.ph {
	background-color: #B0D4DD;
}

.ph .singular .entry-header {
    border-bottom: 1px solid var(--global--color-border);
    padding-bottom: calc(1.5 * var(--global--spacing-vertical));
    margin-bottom: calc(1.5 *var(--global--spacing-vertical));
}

.ph .footer-navigation-wrapper {
	justify-content: end;
}

/* Directories */
@property --gradient-start {
  syntax: '<color>';
  initial-value: #E6F4F1;
  inherits: false;
}

@property --gradient-end {
  syntax: '<color>';
  initial-value: #B0D4DD; /*#c3e0dc;*/
  inherits: false;
}

.ph .drts-view-entities-masonry .drts-display-default-summary {
	display: flex;
	flex-direction: column;
	background: linear-gradient(112deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	transition: --gradient-start 0.5s, --gradient-end 0.5s;
	border-radius: 5px;
    color: #1e1e1e;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}

.ph .drts-view-entities-masonry .drts-display-default-summary:hover {
	box-shadow: 0 2px 2px 0 rgb(0 0 0 / 20%), 0 3px 1px -2px rgb(0 0 0 / 30%), 0 1px 5px 0 rgb(0 0 0 / 20%);
	--gradient-start: #B0D4DD; /*#c3e0dc;*/
    --gradient-end: #E6F4F1;
    /* cursor: pointer; */
}

.ph .drts-view-entities-masonry .drts-display-element-entity_field_field_kurzbezeichnung-1 {
    padding: 10px 10px;
    /* background-color: #E6F4F1; */
}

.ph .drts-view-entities-masonry .drts-display-element-columns-1 {
	display: flex;
	align-items: end;
	height: 100%;
	padding: 10px 10px;
    /* border-top: 1px solid white; */
}

.ph .drts-view-entities-masonry .drts-display-element-columns-1 > div {
	width: 100%;
}
.ph .drts-view-entities-masonry .drts-display-element-entity_field_post_title-1 {
	align-self: end;
}

.ph .drts-view-entities-masonry .drts-compact-list-location .drts-entity-fieldlist-no-inline .drts-entity-field {
	flex-direction: row;
}

.ph .drts-view-entities-masonry .drts-display-element-column-2 {
	width: 100%;

}

.ph .drts-view-entities-masonry .drts-display-element-entity_field_post_title-1 a {
	text-decoration: none;
	background: rgba(158,158,158,.2);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    border: none;
    border-radius: 2px;
    color: #000;
    position: relative;
    height: 36px;
    margin: 0;
    min-width: 64px;
    padding: 0 16px;
    display: inline-block;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 36px;
    vertical-align: middle;
}
.ph .drts-view-entities-masonry .drts-display-element-entity_field_post_title-1 a:active {
    box-shadow: 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%), 0 2px 4px -1px rgb(0 0 0 / 20%);
    background-color: rgba(158,158,158,.4);
}


/* reset styles that bleed into components */
.ph .drts-map-directions button:not(:hover):not(:active):not(.has-background) {
	background-color: initial;
}

.ph .drts-map-directions button.drts-map-directions-trigger:not(:hover):not(:active):not(.has-background),
.ph .drts-map-directions button.drts-bs-dropdown-toggle:not(:hover):not(:active):not(.has-background) {
	background-color: #467fcf;
}

.ph .mce-container button:not(:hover):not(:active):not(.has-background) {
	background-color: initial;
	color: rgb(89, 89, 89);
}

@media only screen {
	.ph {
	    --global--font-size-page-title: var(--global--font-size-xl);
	}
}

@media only screen and (min-width: 482px) {
	.ph .site-header {
	    padding-bottom: calc(var(--global--spacing-vertical));
	}
}