/*
Theme Name: CDU Kreisverband Peine Custom Theme
Theme URI: https://cdu-peine.de/theme
description: >-
  This is a Child Theme for the CDU NDS WP Theme made by Nico Bock
Author: Nico Bock
Author URI: https://nico-bock.de
Template: CDUser-v1-2.7
Version: 0.8.1
Text Domain: cdu-kv-pe-child-theme
*/

@import url('./site/css/materialize.min.css');
@import url('./site/css/style.min.css');
@import url('./site/css/fontAwesome.min.css');
.cduserPost {
    padding-left: 0rem;
}

.cduserPost figure {
    margin: 0;
}

.cduserPost figure {
    margin: 0 2rem 3.7rem -15rem;
    display: inline-block;
    float: left;
    position: relative;
    max-width: 100%;
}

.cdu-pe-center {
    text-align: center;
    margin: auto;
}

.cdu-pe-link-title {
    position: absolute;
    margin-bottom: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(255, 255, 255, 0.7);
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cdu-pe-link-title p {
    padding: 5px;
    font-size: 20px;
    font-weight: 700;
    vertical-align: middle
}

.cdu-pe-nav-element {
    position: relative;
}

.cdu-pe-nav-element:hover .cdu-pe-link-title {
    height: 100%;
    font-size: 40px;
}

.cduserPost figure {
    margin: inherit;
}

figure {
    margin: 15px !important;
}

.thumbnail-crop-center {
    height: 200px;
    width: 100% !important;
    object-fit: cover;
    object-position: top center;
}

.post-grid-post {
    border: 1px solid white;
    border-radius: 3px;
    height: 100%;
    background-color: white;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
}

.post-grid-post:hover {
    box-shadow: 0 3px 3px 0 rgb(0 0 0 / 24%), 0 4px 2px -3px rgb(0 0 0 / 22%), 0 2px 7px 0 rgb(0 0 0 / 30%);
}

.post-grid-post:active {
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 24%), 0 2px 1px -1px rgb(0 0 0 / 22%), 0 1px 3px 0 rgb(0 0 0 / 30%);
}

.post-grid-post h3 {
    margin: 10px;
    margin-bottom: 20px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.flex-child {
    padding: 10px;
    max-width: 33%;
}

a.post-grid-link:hover {
    text-decoration: none;
}

hr.wp-block-separator {
    border-top: 1px solid rgba(0, 0, 0, 0.7);
    margin-top: 15px;
    margin-bottom: 15px;
}

.participation-response-banner {
    border-radius: 5px;
    padding: 20px;
}

.cdu-event-sucess {
    color: azure;
    background-color: #4BB543;
}

.cdu-event-error {
    color: #ffffff;
    background-color: #FC4A4A;
}

a.cdu-event-error-link {
    color: blue;
}

.cdu-button {
    background-color: #04AA6D;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

@media only screen and (max-width: 700px) {
    .flex-child {
        max-width: 50%;
    }
}

@media only screen and (max-width: 500px) {
    .flex-child {
        max-width: 100%;
    }
}