/*!
Theme Name: kwhc-gskdownload
Author: KWHC.de
Author URI: https://www.kwhc.de/
Description: Description
Version: 1.0.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Components
	- Galleries
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* Custom Styles
--------------------------------------------- */
.post {
    padding: 50px 0;
}

.entry-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.entry-meta {
    margin-bottom: 20px;
}

.wppb-alert {
    border: 1px solid #ccc;
    background: #fff9c4;
    border-radius: 8px;
    padding: 25px;
    font-size: clamp(18px, 1.5vw, 24px);
}

.wppb-alert a {
    text-decoration: underline;
    text-underline-offset: 8px;
    color: rgb(242, 102, 51);
}

.wppb-user-forms {
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 6px 6px 10px 5px rgba(100, 100, 100, 0.2);
}

#wppb-login-wrap .login-remember {
    display: none !important;
}

.wpcf7 input[type="submit"],
.wppb-user-forms input[type="submit"] {
    border: 1px solid transparent;
    color: rgb(255, 255, 255);
    background-color: rgb(242, 102, 51);
    cursor: pointer;
    font-weight: 300;
    font-size: 18px;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.25s ease-out;
}

.wpcf7 input[type="submit"]:hover,
.wppb-user-forms input[type="submit"]:hover {
    background-color: transparent;
    color: rgb(242, 102, 51);
    border-color: rgb(242, 102, 51);
}

.wpcf7 {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 20px;
}

.wpcf7 input,
.wpcf7 textarea {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 8px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.wppb-front-end-logout {
    margin: 0;
}

.wppb-front-end-logout span {
    display: none;
}

.wppb-front-end-logout a:hover {
    color: rgb(242, 102, 51);
}

.current-menu-item {
    color: rgb(242, 102, 51);
}

.wppb-error a {
    display: none;
}
