/*
Theme Name: Ferienwohnung Schäfer Todtmoos 2
Theme URI: https://www.nollwebdesign.de/
Description: Ferienwohnung Template
Version: 2.0.9
Requires at least: 6.0
Author: Michael Noll
Author URI: https://www.nollwebdesign.de/
*/

@font-face {
    font-family: 'Abel';
    src: url('fonts/Abel-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

body {
    color: #000000;
    font-size: 20px;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: 'Abel', sans-serif;
    overflow-x: hidden;
}
.metaslider {
    z-index: -100;
    position: fixed;
    width: 100%;
    height: 100vh;
}
#header {
    left: 0px;
    width: 100%;
    height: 94px;
    float: left;
    background-color: rgba(255,204,102,0.9);
    z-index: 99999;
    padding: 0px;
}
#header .blog_title {
    font-size: 2.5em;
    color: rgba(138,77,0,1.00);
    text-shadow: 0 1px 0 rgba(58,35,2,.22);
    font-weight: bolder;
    padding: 5px;
}
#header .blog_des {
    font-size: 1em;
    color: rgba(138,77,0,1.00);
    text-shadow: 0 1px 0 rgba(58,35,2,.22);
    font-weight: bolder;
    padding: 5px;
}
.logo {
    display: block;
    position: absolute;
    top: 28px;
    border-radius: 0px !important;
    padding-left: 180px;
    width: 35% !important;
    height: auto !important;
    z-index: 999;
}
#wrapper {
    position: relative;
    top: 0px;
    float: left;
    width: 100%;
    z-index: 0;
    margin: 0px;
    padding: 0px;
}
#titel {
    color: #1B5362;
    font-size: 2em;
}
#main {
    margin-top: 20px;
    position: relative;
    float: left;
    width: 70%;
    left: 15%;
}
.occupancy_kalender tr {
    font-size: 1.6em;
    padding: 3px;
}
#single {
    position: relative;
    width: 100%;
    top: 20px;
    z-index: 9999;
}
h5 {
    font-size: 1.5em;
}
#main a, #main-child a, .beitrag_text a {
    text-decoration: none;
    color: #156C00;
    font-weight: 600;
}
#main a:hover, #main-child a:hover, .beitrag_text a:hover {
    color: #63A704;
}
#main h2, #main-child h2 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 32px;
}
#main-child h2 {
    padding-top: 100px;
}
#main img, #main-child img {
    border-radius: 3px;
}
h3 {
    margin-top: 20px;
    font-size: 1.5em;
    color: #473100;
    font-weight: bold;
}
h4 {
    font-family: 'Merienda One', cursive;
    margin-top: 100px;
    font-size: 2.5em;
    color: #558493;
}
#sidebar_unten_wrapper {
    position: relative;
    float: left;
    width: 100%;
    z-index: 0;
    padding-top: 20px;
    padding-bottom: 5px;
    background-color: rgba(204,153,51,0.9);
    margin-top: 20px;
    margin-bottom: 60px;
}
#sidebar_unten {
    position: relative;
    float: left;
    width: 1000px;
    left: 50%;
    margin-left: -500px;
    z-index: 99;
    padding: 0px;
}
#sidebar_unten li {
    list-style-type: none;
    float: left;
    width: 29%;
    height: auto;
    padding: 5px;
}
#sidebar_unten img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#sidebar_unten h2 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 32px;
}
#sidebar_unten a {
    text-decoration: none;
    color: #076A00;
    font-weight: 400;
}
#sidebar_unten a:hover {
    color: #01A805;
}
#footer {
    position: relative;
    width: 100%;
    float: left;
    z-index: 99999;
    font-size: 0.8em;
    color: #000000;
    height: 22px;
    bottom: 0px;
    font-weight: bolder;
    background-color: rgba(255,204,102,0.9);
}
#footer a {
    text-decoration: none;
    color: #000000;
}
#footer a:hover {
    color: #464646;
}
#nw {
    font-size: 0.6em;
    color: #4A4A4A;
    font-weight: lighter;
}
.alignright {
    float: right;
    margin-left: 20px;
}
.alignleft {
    float: left;
    margin-right: 20px;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#post_image {
    width: 100%;
    height: 400px !important;
    left: 0px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.wpgmp_map {
    border-radius: 5px !important;
}
.wp-caption-text {
    font-size: 12px;
    text-align: center;
}
#br {
    position: relative;
    width: 100%;
    height: 0px;
    display: inline-block;
}
.cat-post-item {
    width: 100% !important;
}
/* Beiträge */

#main_beitrag {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    float: left;
    height: 100vh;
    margin-bottom: -200px;
}
#main_beitrag h2 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 36px;
}
#main_beitrag h3 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 28px;
}
#beitrag_text {
    display: block;
    width: 100%;
    float: left;
}
#beitrag_bild img {
    width: 30%;
    height: auto;
    display: block;
    float: right;
    z-index: 2;
}
#beitrag {
    position: relative;
    border: rgba(0,255,116,1.00) thick dotted;
}
#termine_grid {
    position: relative;
    float: left;
    width: 100%;
}
.beitrag_dat {
    font-size: 14px;
    font-weight: bolder;
}
/*--- scroll buttons ----*/
.scrollicon {
    text-align: center;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.7;
    position: fixed;
    bottom: 50px;
    left: 50%;
    display: none;
    border: 1px solid #000000;
    z-index: 9999;
    transition: all 0.2s ease-out;
    -webkit-transition: all 0.4s ease-out;
}
.scrollicon:hover {
    opacity: 0.4;
}
.scrollicon span {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-top: 20px;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    -webkit-transform: rotate(135deg);
    box-sizing: border-box;
}
li {
    list-style: square;
    margin-left: 1.2em;
}
ul, p {
    padding-top: 0.2em;
    padding-bottom: 0.8em;
}
strong {
    font-weight: bold;
}
input[type=text], input[type=email], input[type=tel] {
    height: 20px !important;
    padding: 2px !important;
    margin: 2px;
    width: 200px;
    background-color: #D8E9F3;
    border: thin solid rgba(146,146,146,1.00);
    border-radius: 2px;
}
textarea {
    padding: 2px !important;
    margin: 2px;
    width: 400px;
    background-color: #D8E9F3;
    border: thin solid rgba(146,146,146,1.00);
    border-radius: 2px;
}
/* KLICK MICH BUTTON */

#klickmich a {
    padding-top: 70px;
}
#klickmich a span {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: km01 2s infinite;
    animation: km01 2s infinite;
    box-sizing: border-box;
    z-index: 99999;
}
 @-webkit-keyframes km01 {
 0% {
 -webkit-transform: rotate(-45deg) translate(0, 0);
 opacity: 0;
}
 50% {
 opacity: 1;
 border-left: 2px solid #336478;
 border-bottom: 2px solid #336478;
}
 100% {
 -webkit-transform: rotate(-45deg) translate(-20px, 20px);
 opacity: 0;
}
}
@keyframes km01 {
 0% {
 transform: rotate(-45deg) translate(0, 0);
 opacity: 0;
}
 50% {
 opacity: 1;
}
 100% {
 transform: rotate(-45deg) translate(-20px, 20px);
 opacity: 0;
}
}
#km_button {
    background-color: rgba(255,255,255,0.65);
    padding: 25px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 80px;
    display: inline-block;
}
.klickmich a {
    position: absolute;
    bottom: 170px;
    left: 49%;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #164D58;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .3s;
    font-weight: bolder;
    text-align: center;
}
.klickmich a:hover {
    opacity: .5;
}

@media (max-width: 1024px) {
#header .blog_title {
    font-size: 1.2em;
    color: rgba(138,77,0,1.00);
    text-shadow: 0 1px 0 rgba(58,35,2,.22);
    font-weight: bolder;
    padding: 5px;
}
#header .blog_des {
    font-size: 0.5em;
    color: rgba(138,77,0,1.00);
    text-shadow: 0 1px 0 rgba(58,35,2,.22);
    font-weight: bolder;
    padding: 5px;
}
#main {
    margin-top: 20px;
    position: relative;
    float: left;
    width: 96%;
    left: 2%;
}
#sidebar_unten_wrapper {
    position: relative;
    float: left;
    width: 96%;
    left: 2%;
}
#sidebar_unten {
    position: relative;
    float: left;
    width: 100%;
    left: 0%;
    margin-left: 0px;
}
#sidebar_unten li {
    list-style-type: none;
    float: left;
    width: 100%;
    height: auto;
    padding: 5px;
}
#sidebar_unten img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#sidebar_unten h2 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 32px;
}
.wpgmp_map_container {
    width: 85% !important;
}
#footer {
    font-size: 0.6em;
    height: 45px;
}
.wp-caption {
    max-width: 50%;
    float: right;
    display: block;
    padding: 0px !important;
    margin: 0px !important;
}
#main img, #main-child img {
    width: 100%;
}
.wp-caption-text {
    display: none;
}
}

/* Only images with an active enlargement link show the hand cursor. */
a.ngg-fancybox[href],
a.ngg-fancybox[href] img,
a[data-slb-active="1"][href] img,
button.lightbox-trigger {
    cursor: pointer;
}

@media (max-width: 1024px) {
    #wrapper {
        box-sizing: border-box;
        padding-inline: clamp(.5rem, 2vw, 1.5rem);
    }

    #wrapper :is(img, iframe, textarea, select, input) {
        box-sizing: border-box;
        max-width: 100%;
    }

    #sidebar_unten li {
        box-sizing: border-box;
        margin-inline: 0;
        overflow-wrap: anywhere;
    }

    .entry table:has(iframe:is([src*="youtube"], [data-src*="youtube"], [data-cmplz-src*="youtube"])) {
        width: 100%;
        table-layout: fixed;
    }

    .entry td:has(iframe:is([src*="youtube"], [data-src*="youtube"], [data-cmplz-src*="youtube"])) {
        width: 100%;
    }

    .entry iframe:is([src*="youtube"], [data-src*="youtube"], [data-cmplz-src*="youtube"]) {
        display: block;
        width: min(100%, 600px);
        height: auto;
        aspect-ratio: 16 / 9;
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .wpcf7-form table:has(textarea) {
        width: 100%;
    }

    .wpcf7-form table:has(textarea) > tbody,
    .wpcf7-form table:has(textarea) > tbody > tr,
    .wpcf7-form table:has(textarea) > tbody > tr > td {
        display: block;
        width: auto;
    }

    .wpcf7-form table:has(textarea) > tbody > tr {
        padding-bottom: .55rem;
    }

    .wpcf7-form table:has(textarea) p {
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }

    .wpcf7-form table:has(textarea) > tbody > tr > td:first-child p {
        padding-bottom: .25rem;
    }

    .wpcf7-form :is(.wpcf7-text, .wpcf7-number, .wpcf7-date, .wpcf7-select, .wpcf7-textarea) {
        display: block;
        box-sizing: border-box;
        width: min(100%, 400px);
        max-width: 100%;
        margin-inline: 0;
        min-height: 44px;
        padding: .3rem .45rem !important;
        font: inherit;
        line-height: 1.2;
    }

    .wpcf7-form .wpcf7-textarea {
        height: 7.5rem;
        resize: vertical;
    }

    .wpcf7-form table:has(.wpcf7-submit) tr:first-child:has(+ tr .wpcf7-submit) {
        display: none;
    }

    .wpcf7-form .wpcf7-submit {
        display: block;
        box-sizing: border-box;
        width: min(100%, 400px);
        min-height: 48px;
        margin: 0;
        padding: .55rem .9rem;
        border: 1px solid #6a3406;
        border-radius: .35rem;
        background: #cc9933;
        color: #3a2302;
        font: inherit;
        font-weight: 700;
    }
}

/* Keep the two address fields together, including when other fields stack. */
.wpcf7-form p:has(> [data-name="plz"]):has(> [data-name="ort"]) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .5rem;
    width: min(100%, 400px);
}

.wpcf7-form [data-name="plz"] > input,
.wpcf7-form [data-name="ort"] > input {
    box-sizing: border-box;
    min-width: 0;
    margin-inline: 0;
}

.wpcf7-form [data-name="plz"] > input {
    width: calc(6ch + 1.125rem);
}

.wpcf7-form [data-name="ort"] > input {
    width: 100%;
}
