/*
Theme Name: Sonnhalde – Regensdorf Breit
Theme URI: https://themeforest.net/item/centum-responsive-wordpress-theme/full_screen_preview/3216603
Author: NetElite GmbH, CH-8048 Zürich
Author URI: https://netelite.ch
Description: Sonnhalde child theme with readable, consistent typography inspired by Regensdorf.
Template: centum
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.1.1
Text Domain: sonnhalde-regensdorf-wide
*/

/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/
/*@import url('https://fonts.googleapis.com/css2?family=Saira+Semi+Condensed:wght@400;700;900&display=swap');*/

@font-face {
  font-family: 'icmsicons';
  src: url('https://www.regensdorf.ch/compiled/legacy/fonts/icmsicons87c0d7a53fcece4268c4.eot?65837528') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.icmsicons {
  font-family: 'icmsicons', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-family: 'Saira Semi Condensed', sans-serif !important;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    /*font: inherit;*/
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

code {
    padding: 3px 6px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    background: #fcfcfc;
    border: 1px solid #e4e4e4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #3f8faf;
}


/* Basic Alginment
================================================== */
.columns img,
.column img {
    height: auto;
    max-width: 100%;
}

.columns.google-map img {
    max-width: none;
}

img, object, video {
    height: auto;
    display: block;
}

img {
    /* width: auto; */
    border: 0;
    -ms-interpolation-mode: bicubic;
}

/* Flexible Embeds */
.embed {
    position: relative;
    padding: 0px;
    padding-bottom: 56.25%; /* 16/9 ratio */
    height: 0;
    overflow: hidden;
}

.embed iframe,
.embed object,
.embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-left {
    float: left;
    margin: 0 15px 8px 0;
}

.image-right {
    float: right;
    margin: 0 0 8px 15px;
}

.image-right,
.image-left {
    padding: 4px;
    border: 1px solid #ddd;
    max-width: 100%;
    -webkit-box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
    box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
}

/* #Typography
================================================== */
h1, h2, h3, h4, h5, h6 {
    color: #1d254e;
    font-family: 'Saira Semi Condensed', sans-serif;
    font-weight: bold;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: inherit;
}

h1 {
    font-size: 28px;
    line-height: 50px;
}

h2 {
    font-size: 22px;
    line-height: 30px;
    padding-bottom: 10px;
}

h3 {
    font-size: 16px;
    line-height: 34px;
}

h4 {
    font-size: 14px;
    line-height: 30px;
}

h5 {
    font-size: 12px;
    line-height: 24px;
}

h6 {
    font-size: 10px;
    line-height: 21px;
}

p {
    margin: 0 0 15px 0;
    line-height: 20px;
}

p img {
    margin: 0;
}

p.lead {
    font-size: 21px;
    line-height: 27px;
    color: #777;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
    color: #1d254e;
}

small {
    font-size: 80%;
}

hr {
    border: solid #ddd;
    border-width: 1px 0 0;
    clear: both;
    margin: 10px 0 30px;
    height: 0;
}


/* #Links
================================================== */
a, a:visited {
    color: rgb(93, 228, 194 );
    text-decoration: none;
    outline: 0;
    -webkit-transition: color 0.1s ease-in-out;
    -moz-transition: color 0.1s ease-in-out;
    -o-transition: color 0.1s ease-in-out;
    -transition: color 0.1s ease-in-out;
}

a:hover, a:focus {
    color: #888;
}

p a, p a:visited {
    line-height: inherit;
}


/* #Lists
================================================== */
ul, ol {
    margin: 0;
}

ul {
    list-style: none outside;
}

ol {
    list-style: decimal;
}

ol, ul.square, ul.circle, ul.disc {
    margin-left: 30px;
}

ul.square {
    list-style: square outside;
}

ul.circle {
    list-style: circle outside;
}

ul.disc {
    list-style: disc outside;
}

ul ul, ul ol,
ol ol, ol ul {
}

ul ul li, ul ol li,
ol ol li, ol ul li {
}

li {
    line-height: 18px;
}

ul.large li {
    line-height: 21px;
}

li p {
    line-height: 21px;
}


/* #Forms
================================================== */
fieldset {
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    border: 1px solid #d8d8d8;
    padding: 9px;
    outline: none;
    font: 12px 'Saira Semi Condensed', sans-serif;
    color: #888;
    margin: 0;
    max-width: 100%;
    display: block;
    background: #fff;
    -webkit-box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
    box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
}

select {
    padding: 0;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    border: 1px solid #ccc;
    color: #666;
}

textarea {
    min-height: 60px;
}

label,
legend {
    display: block;
    font-weight: bold;
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 8px;
}

select {
}

input[type="checkbox"] {
    display: inline;
}

label span,
legend span {
    font-weight: normal;
    font-size: 13px;
    color: #444;
}

/* #Misc
================================================== */
.remove-bottom {
    margin-bottom: 0 !important;
}

.half-bottom {
    margin-bottom: 10px !important;
}

.add-bottom {
    margin-bottom: 20px !important;
}

   #contact-details {
        text-align: right;
    }
    
#contact-details i {
    margin-right: 4px;
    margin-top: 6px;
}

#contact-details a {
    color: #666;
}

#contact-details a:hover {
    color: #888;
}

.selectnav {
    display: none;
    cursor: pointer;
    width: 100%;
    padding: 8px;
    height: 42px !important;
    float: left;
    font-size: 14px;
    margin: 25px 0;
}


h2 {
    /*font-style: italic;*/
    /*font-size: 40px !important;*/
}

#footer-bottom {
    border-top: 0px solid #3c3c3c;
    margin-top: 25px;
    padding: 22px 0;
}

#footer-bottom, #footer-bottom > a {

    margin-top: 25px;
    padding: 22px 0;
    line-height: 26px !important; 
}




#footer-bottom > br {
    line-height: 150%;
}

#footer-bottom > .adresse, .oeffnungszeiten{
	color: #fff;
	line-height: 28px !important;
	font-size: 12pt;
}

#footer-bottom > .oeffnungszeiten{
  margin-bottom: 10px;
}

.notification > p {
    font-size: 14px !important;
}

#tagline {
    font-style: normal;
    font-size: 22px;
    font-weight: 600;
    border-left: none;
    color: #5de4c2;
    padding: 10px;
    padding-left: 0px;
    margin: 0px;

}

/*-----CUSTOMIZER CSS*/


/*
#wrapper{
	width: 1030px !important;
        padding: 0 0 0px 0 !important;
}
*/


.pf-content {
    padding-bottom: 30px;
}

/* Add top padding for content areas */
.container {
    padding-top: 0px;
}

/* Slider spacing */
.metaslider {
    margin-top: 20px;
    margin-bottom: 30px;
}

#wrapper {
    padding-top: 20px;
}

.container-weitere {
    background-color: #efefef;
    width: 920px;
    padding: 20px;
}

.container-weitere > div > div > h3 {
    background-color: #efefef !important;
}

/* Hide close button on portfolio items */
.container-weitere .close-icon,
.container-weitere .image-overlay-link .close,
.item-description .close,
.headline .close,
.portfolio-item .close-icon,
a.close-image,
.close-overlay {
    display: none !important;
}

.container .column, .container .columns {
    float: left;
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

/*HOMEPAGE*/
blockquote {
    color: #000;
    font-size: larger;
}


/* BILD TITELSEITE*/
.wp-block-image {
    float: right;
    max-width: 100%;
    margin-bottom: 3em;
    margin-left: 0;
    margin-right: 0;
    width: 100%;

}


#tribe-events-pg-template, .tribe-events-pg-template {
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px;
}

.tribe-events-promo {
    display: none;
}

td.tribe-events-present {
    background: #81d742;

}

#tribe-events-content .tribe-events-present a {
    text-align: center;
    color: #ffffff !important;
    font-weight: bold;
}

#tribe-events-content .tribe-events-present a:hover {
    color: #000000 !important;

}

#tribe-events-content .tribe-events-present .tribe-events-calendar td:hover {
    background: #f7f7f7;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

#tribe-events-content .tribe-events-present .tribe-events-calendar td:hover {
    background: #5b2a2a3b;
    color: #000000 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

#tribe-events-content .tribe-events-calendar td.status-publish a {
    display: table;
    height: 70px !important;
    width: 100%;
    border-spacing: 10px /*border-spacing  instead of padding*/
}

.postid-2077 .container:nth-child(4n) {
    display: none;
}

.notification {
    font-size: 14px;
}



.item-description h5 {
    border: none;
}


.item-description p {
    display: none;
}

.postid-3165 p {
    visibility: hidden;
    height: 0px;
}

#tribe-events-pg-template, .tribe-events-pg-template {
    margin: 0 auto;
    max-width: 950px !important;
 padding: 40px;
}


.tribe-events-single-event-title {
    font-weight: normal;
    padding: 11px 0 26px 0;
    font-size: 22px;
    line-height: 30px;
    color: #1d254e;
    font-family: Arial, sans-serif;

}

.tribe-events-c-breadcrumbs__list-item-link, .tribe-events-c-breadcrumbs__list-item {
    font-size: 22px;
}

span.tribe-events-c-top-bar__datepicker-desktop {
    font-size: 18px;
}

.tribe-events-calendar-list__month-separator {

}

time.tribe-events-calendar-list__month-separator-text {
    background-color: #ed625f;
    color: #ffffff !important;
    padding: 5px;
    padding-top: 5px;
    border-radius: 8px;
    line-height: 25.2px;

}

.tribe-common-c-btn, .tribe-events-c-search__button, .active, .current {
    background-color: #ed625f;
    color: #ffffff !important;
}

.tribe-events-calendar-month__day--past {
    background-color: #ddd;
}

.tribe-common > h2 {

    margin-left: 10px;
}

.tribe-common > div#bolded-line {
    margin-left: 10px;
}


.logo-new {
    /*font-size: xxx-large;*/
    font-size: 56px;
    font-style: italic;
    color: #000;
    font-optical-sizing: auto;
    font-family: "Saira Semi Condensed rev=1";
    font-weight: 800;
    line-height: initial;


}

#navigation {
    /*border-top: #1e73be 9px solid !important;*/
}

p {
    font-weight: 400 !important;
}

/*
body.custom-background{
    height: 100% !important;
    background: repeating-radial-gradient(
            circle,
            #ff5d07 0px,
            #ffd600 20px,
            #fff3a4 20px,
            #fff3a4 40px
    ) !important;
}
/**!*/

/*
body.custom-background {
    height: 100% !important;
    background: repeating-radial-gradient(
            circle,
            #EE6352 0px,
            #FFC600 20px,
            #FFE485 20px,
            #FFE485 40px
    ) !important;
}
*/

.mr-3 {
    padding-right: 75px !important;
}




@media only screen and (max-width: 600px) {

    .container .sixteen.columns {
    width: auto;
    }
    .logo-new {
        /*font-size: xxx-large;*/
        font-size: 45px;
        font-style: italic;
        color: #000;
        font-optical-sizing: auto;
        font-family: "Saira Semi Condensed rev=1";
        font-weight: 800;
        line-height: initial;


    }

    .mr-3 {
        padding-right: 0px !important;
    }

    .w3eden .card {
        border: 0px;
    }

    .metaslider .flex-control-nav li {
        margin-top: 30px;
    }

    .flex-control-nav {
        display: none;
    }

    .container-weitere {
        background-color: #efefef;
        width: 100%;
        padding: 0px;
    }

    .container-weitere .headline, .item-description {
        padding: 30px;
    }

    /*.container-weitere, .image-overlay-link{*/
    /*    display:none;*/
    /*}*/
    #tribe-events-pg-template, .tribe-events-pg-template {
        padding: 35px !important;
    }

    .item-description.alt{
        background-color: #efefef !important;
    }
    table.standard-table {
        margin-top: 20px;
        font-size: xx-small;
    }
    div.card-body{
        padding: 0px !important;
        margin: 0px !important;
    }
    .w3eden .card h3 {
        margin: 0;
        padding: 0;
        font-size: 10pt;
        font-weight: 700;
    }
    .tribe-events .tribe-events-l-container {
        padding: 40px !important;
    }
    div#tribe-events-footer>ul>li>a {
        color: #fff !important;
        border-radius: 6px;
    }

    .tribe-events-nav-previous{
        padding-right: 10px;
    }

    .tribe-events-nav-next{
        padding-left: 10px;
    }
    #tagline{
        display: block;
    }
}

.text-muted, .text-small {
    display: none;
}

.oeffnungszeiten {
    margin-top: 15px;
    padding-top: 15px;
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
    background-color: #ed625f;
    color: #ffffff !important;
    border-radius: 4px;
}

.item-description > h5 > a{
	    color: #1d254e !important;
}


.item-description > h5 > a:visited{
	    color: #1d254e !important;
}

/* ============================================
   DOWNLOAD CARD STYLING
   ============================================ */

/* Card container */
.w3eden .card {
    border: 2px solid #c9ebff !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(29, 37, 78, 0.1) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.w3eden .card:hover {
    box-shadow: 0 4px 16px rgba(99, 212, 255, 0.3) !important;
    border-color: #63d4ff !important;
    transform: translateY(-2px);
}

.w3eden .card-body {
    padding: 20px !important;
}

/* Media container */
.w3eden .media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: center !important;
    gap: 20px;
}

/* PDF Icon styling */
  /* PDF Icon styling */
  .w3eden .img-48 {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      background-color: #ed625f;
      border-radius: 8px;
      padding: 0;
      flex-shrink: 0;
      position: relative;
  }

  .w3eden .img-48::before {
      content: 'PDF';
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: -0.5px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .w3eden .wpdm_icon {
      display: none;
  }

/* Title styling */
.w3eden .package-title {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.w3eden .package-title a {
    color: #1d254e !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.w3eden .package-title a:hover {
    color: #1d254e !important;
    text-decoration: none !important;
}

/* File info styling - HIDDEN */
.w3eden .text-muted,
.w3eden .text-small {
    display: none !important;
}

/* Download button styling - using brand colors */
.w3eden .wpdm-download-link,
.w3eden .btn-primary {
    background-color: #63d4ff !important;
    border: 2px solid #63d4ff !important;
    color: #1d254e !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.w3eden .wpdm-download-link:hover,
.w3eden .btn-primary:hover {
    background-color: #5de4c2 !important;
    border-color: #5de4c2 !important;
    color: #1d254e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 228, 194, 0.4);
    text-decoration: none !important;
}

.media-body {
    padding-top: 8px;
}   

/* Make download cards responsive on mobile */
@media only screen and (max-width: 767px) {
    .w3eden .media {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .w3eden .mr-3 {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .w3eden .ml-3 {
        margin-left: 0 !important;
        margin-top: 15px;
        width: 100%;
    }

    .w3eden .media-body {
        width: 100%;
        margin-bottom: 10px;
    }

    .w3eden .wpdm-download-link {
        width: 100%;
        display: block;
        text-align: center;
    }

    .w3eden .card-body {
        padding: 15px !important;
    }

    .w3eden .package-title {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .w3eden .text-muted.text-small {
        display: block !important;
        font-size: 12px !important;
    }
}

/* Fix unwanted margin on raeume-miete page */
.page-id-173 .entry-content p,
.page-id-173 .entry-content div,
body.page .entry-content p,
body.page .entry-content div {
    margin-left: 0 !important;
    text-align: left !important;
}

/* Override any inline margin-left styles */
[style*="margin-left: 520px"],
[style*="margin-left:520px"] {
    margin-left: 0 !important;
}

.alignleft {
    border: none !important;
    float: left;
    margin: 0 15px 8px 0;
    padding: 3px;
}

/* Prevent text wrapping issues on portfolio items */
.item-description p,
.portfolio-item p {
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

/* Prevent orphaned text fragments */
.item-description p:last-of-type {
    text-align: left;
    orphans: 3;
    widows: 3;
}

/* ============================================
   PORTFOLIO PAGE 2-COLUMN LAYOUT
   Prevents text wrapping around images
   ============================================ */
.pf-content.sixteen.columns {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

/* Image column - left side */
.pf-content img.alignright {
    float: none !important;
    margin: 0 !important;
    width: 100%;
    max-width: 350px;
    height: auto;
    grid-column: 1;
    grid-row: 1 / -1;
}

/* If image is wrapped in a paragraph, move the paragraph to the left column */
.pf-content p:has(img.alignright) {
    grid-column: 1;
    grid-row: 1 / -1;
    margin: 0 !important;
}

/* Text content - right side */
.pf-content > p {
    grid-column: 2;
    margin: 0 0 15px 0;
}

/* Override for paragraphs containing images */
.pf-content > p:has(img.alignright) {
    grid-column: 1;
}

/* Strong tags inside paragraphs stay in column 2 */
.pf-content > p strong {
    display: inline;
}

/* Mobile responsive - stack columns vertically */
@media only screen and (max-width: 768px) {
    .pf-content.sixteen.columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pf-content img.alignright {
        grid-column: 1;
        grid-row: auto;
        margin-bottom: 20px !important;
    }

    .pf-content p,
    .pf-content strong {
        grid-column: 1;
        grid-row: auto;
    }
}
/* Sticky Footer */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}



#wrapper {
    flex: 1 0 auto;
}

#footer {
    flex-shrink: 0;
}

#footer {
    background-color: #1d254e !important;
}


#navigation.menu-hauptmenu-container>ul>li>a {
    font-weight: 600 !important;
    color: #1d254e !important;
}

#navigation.current_page_item {
    color: #1d254e !important;
}
.menu-item a:nth-child(1) {
 
    color: #ffffff !important;
    font-size: 12pt;
}

.notification.success{
    background-color: #5de4c2 !important;
    border: none;
    color: #1d254e !important;
}
.notification.notice {
  background-color: #63deff;
 border: none;
 color: #1d254e !important;
}

/* Hide close button on notifications */
.notification .close,
.notification.notice .close,
.notification.success .close,
.notification.error .close,
.notification .close-notification {
    display: none !important;
}
a:hover{
    text-decoration: underline !important;
}


#footer-bottom > div:nth-child(3) > div:nth-child(1) > img:nth-child(1){
      fill: #ffffff;
  stroke: none; 
}

.logo-to-white {
    /* Transforms a dark color (e.g., black) to white */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

#filters{
    padding-right: 10px;
}

.tribe-common-c-btn tribe-events-c-search__button{
    background-color: #ed625f;	
}

#contact-details ul li {
    /* Prevents the entire list item content from wrapping */
    white-space: nowrap;
}

#contact-details ul li a {
    /* If the above is not sufficient, this ensures the link text itself doesn't wrap */
    white-space: nowrap;
    /* Optional: This property is good practice for long strings to prevent them from breaking out of the container if 'white-space' is not set to 'nowrap' on the container, but here it's fine. */
    overflow: hidden; 
    /* Optional: Shows an ellipsis (...) if the text is still too long for the container. */
    text-overflow: ellipsis; 
}

#contact-details a {
    white-space: nowrap !important;
}

@media only screen and (max-width: 767px) {
  .container {
    width: 370px !important;
  }
}



/* 1. Container for the map */
.mapouter {
    position: relative;
    /* 4:3 Aspect Ratio (3/4 = 0.75 or 75%) */
    padding-bottom: 75%; 
	padding-left:45px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

/* 2. Map iframe and inner container */
.gmap_canvas,
.gmap_canvas iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ensure the content is visible */
    background: none !important;
}

/* 3. Optional: Fix the 45px padding on mobile */
@media (max-width: 600px) {
    /* If you kept the inline style, you must override it */
    .mapouter[style] {
        padding-left: 0 !important;
    }
}


@media only screen and (max-width: 768px) {
    /* 1. Ensure the main navigation container uses full width */
    #navigation {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Target the specific select element using its class */
    .selectnav {
        /* Force it to use the full width of its container */
        width: 100% !important;
        max-width: 100% !important;
        /* Ensure padding/border doesn't cause horizontal overflow */
        box-sizing: border-box !important;
        /* Add some padding/margin to prevent it from hugging the edges */
        padding: 10px 15px !important;
        margin: 5px 0 !important;
		background-color: #63d4ff;
		color: black;
		font-weight: bold;
    }
}


@media only screen and (max-width: 768px) {
    /* Target the main wrapper container */
    .sixteen.columns {
		padding-top:20px;
		
        width: 100% !important;
        max-width: 100% !important;
        /* Remove any horizontal padding that might be collapsing it */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

#tribe-events-events-bar-search > form > button {
    background-color:#63d4ff;
    border: none;
    
}

#logo{
	padding-bottom: 30px;
}
.w3eden{
	padding-top: 0px;
	padding-bottom: 10px;
}
#contact-details i {
    margin-right: 4px;
    margin-top: 2px;
}


/* Sidebar Navigation Menu Styles */
#nav_menu-4.widget_nav_menu {
    background: #1d254e;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
}

.menu-sidebar-ueber-uns-container {
    padding: 0;
}

#menu-sidebar-ueber-uns {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-sidebar-ueber-uns li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(99, 212, 255, 0.2);
}

#menu-sidebar-ueber-uns li:last-child {
    border-bottom: none;
}

#menu-sidebar-ueber-uns a {
    display: block;
    padding: 12px 20px;
    color: #fff;
     background-color: #1d254e;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

#menu-sidebar-ueber-uns a:hover {
    background-color: #63d4ff;
    color: #1d254e !important;
    padding-left: 25px;
}

#menu-sidebar-ueber-uns a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background-color: #1d254e;
    transition: width 0.3s ease;
    z-index: -1;
}

#menu-sidebar-ueber-uns a:hover::before {
    width: 100%;
}

/* Active/Current Page State */
#menu-sidebar-ueber-uns .current-menu-item a {
    background-color: #63d4ff;
    color: #1d254e;
    font-weight: 600;
}

/* ============================================
   MAIN NAVIGATION MENU - OPTIMIZED STYLES
   ============================================ */

#navigation {
    background-color: #c9ebff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#navigation > ul > li {
    position: relative;
    margin: 0;
}

#navigation a {
    display: block;
    padding: 15px 20px;
    color: #1a1a1a; /* Dark text for better contrast */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
}

#navigation a:hover,
#navigation a:focus {
    background-color: #63d4ff;
    color: #1d254e !important;
}

/* Active/Current Page */
#navigation .current-menu-item > a,
#navigation .current-menu-ancestor > a {
    background-color: #63d4ff;
  color: #1d254e !important;
    position: relative;
}

#navigation .current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #fff;
}

/* Dropdown Submenu Styles */
#navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    flex-direction: column;
}

#navigation li:hover > ul,
#navigation li:focus-within > ul {
    display: flex;
}

#navigation ul ul li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

#navigation ul ul li:last-child {
    border-bottom: none;
}

#navigation ul ul a {
    padding: 12px 20px;
    color: #333;
    font-weight: 400;
}

#navigation ul ul a:hover,
#navigation ul ul a:focus {
    background-color: #c9ebff;
    color: #1a1a1a;
    padding-left: 25px;
}

#navigation ul ul .current-menu-item > a {
    background-color: #63d4ff;
    color: #fff;
}

/* Dropdown Indicator */
#navigation .menu-item-has-children > a::after {
    content: '\25BC';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
}

/* Tablet Responsive - iPad Portrait Mode */
@media screen and (min-width: 600px) and (max-width: 959px) {
    #navigation a {
        padding: 12px 10px;
        font-size: 13px;
    }

    #navigation .menu-item-has-children > a::after {
        margin-left: 3px;
        font-size: 8px;
    }
}

/* iPad Portrait Mode - Prevent Navigation Wrapping - More Aggressive */
@media screen and (min-width: 768px) and (max-width: 820px) {
    #navigation a {
        padding: 12px 8px;
        font-size: 12px;
        font-weight: 500;
    }

    #navigation .menu-item-has-children > a::after {
        margin-left: 2px;
    }
}

/* Mobile Responsive - Only for screens smaller than iPad */
@media screen and (max-width: 599px) {
    #navigation ul {
        flex-direction: column;
        width: 100%;
    }

    #navigation > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(99, 212, 255, 0.3);
    }

    #navigation a {
        padding: 14px 20px;
        font-size: 16px;
    }

    #navigation ul ul {
        position: static;
        box-shadow: none;
        background-color: rgba(99, 212, 255, 0.2);
        display: none;
    }

    #navigation li.menu-open > ul {
        display: flex;
    }

    #navigation ul ul a {
        padding-left: 40px;
    }
}

/* ============================================
   SIDEBAR NAVIGATION MENU - OPTIMIZED STYLES
   ============================================ */

#nav_menu-4.widget_nav_menu {
    background: #c9ebff;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-sidebar-ueber-uns-container {
    padding: 0;
}

#menu-sidebar-ueber-uns {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-sidebar-ueber-uns li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(99, 212, 255, 0.2);
}

#menu-sidebar-ueber-uns li:last-child {
    border-bottom: none;
}

#menu-sidebar-ueber-uns a {
    display: block;
    padding: 12px 20px;
    color: #1a1a1a; /* Dark text for better contrast */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

#menu-sidebar-ueber-uns a:hover,
#menu-sidebar-ueber-uns a:focus {
    background-color: #63d4ff;
    color: #fff;
    padding-left: 25px;
}

#menu-sidebar-ueber-uns a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #63d4ff;
    transition: width 0.3s ease;
    z-index: -1;
}

#menu-sidebar-ueber-uns a:hover::before,
#menu-sidebar-ueber-uns a:focus::before {
    width: 100%;
}

/* Active/Current Page State */
#menu-sidebar-ueber-uns .current-menu-item a {
    background-color: #63d4ff;
    color: #fff;
    font-weight: 600;
}

#menu-sidebar-ueber-uns .current-menu-item a::before {
    width: 100%;
}

/* Focus Styles for Accessibility */
#navigation a:focus,
#menu-sidebar-ueber-uns a:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Ensure smooth scrolling when clicking menu items */
html {
    scroll-behavior: smooth;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}
/* ============================================
   FOOTER - IMPROVED STRUCTURE STYLES
   ============================================ */

/* Main Footer Container */
#footer {
    background: #2c3e50;
    color: #ecf0f1;
    border-top: 4px solid #63d4ff;
}

/* Footer Widgets Section */
.footer-widgets {
    background: #34495e;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(99, 212, 255, 0.2);
}

.footer-widgets-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-widgets .four.columns {
    flex: 1;
    min-width: 220px;
}

/* Widget Styling */
.footer-widgets .widget {
    padding: 25px;
    background: rgba(99, 212, 255, 0.05);
    border-radius: 8px;
    border-top: 3px solid #63d4ff;
    transition: all 0.3s ease;
}

.footer-widgets .widget:hover {
    background: rgba(99, 212, 255, 0.12);
    transform: translateY(-3px);
}

.footer-widgets .widget h3,
.footer-widgets .widget h4,
.footer-widgets .widget-title {
    color: #63d4ff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(99, 212, 255, 0.3);
}

.footer-widgets .widget p,
.footer-widgets .widget li {
    color: #bdc3c7;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-widgets .widget a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widgets .widget a:hover {
    color: #63d4ff;
}

.footer-widgets .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets .widget li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.footer-widgets .widget li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #63d4ff;
    font-weight: bold;
}

/* Footer Bottom Section */
#footer-bottom {
    background: #1d254e;
    padding: 50px 0 30px;
}

/* Footer Info Grid */
.footer-info-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info-grid h4 {
    color: #63d4ff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(99, 212, 255, 0.3);
}

/* Contact Column */
.footer-contact-col p {
    color: #bdc3c7;
    margin: 12px 0;
    line-height: 1.8;
}

.footer-contact-col strong {
    color: #fff;
    font-size: 1.2rem;
    display: block;
}

.footer-contact-col a {
    color: #63d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact-col a:hover {
    color: #fff;
}

.footer-address,
.footer-phone,
.footer-email {
    padding: 8px 0;
}

/* Opening Hours Column */
.footer-hours-col {
    border-radius: 8px;
}

.hours-box {
    background: rgba(99, 212, 255, 0.08);
    padding: 20px;
    border-left: 4px solid #63d4ff;
    border-radius: 6px;
}

.hours-box strong {
    color: #fff;
    display: block;
    margin-bottom: 15px;
}

.hours-line {
    color: #bdc3c7;
    margin: 8px 0;
    display: flex;
    gap: 10px;
}

.hours-line .day {
    font-weight: 600;
    color: #63d4ff;
    min-width: 40px;
}

/* Logo Column - Aligned Right, No Header */
.footer-logo-col {
    text-align: right;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.footer-logo-col h4 {
    display: none;
}

.logo-footer {
    max-width: 150px;
    height: auto;
    margin: 0 0 15px 0;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo-footer:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-text {
    color: #bdc3c7;
    font-size: 0.9rem;
    text-align: right;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(99, 212, 255, 0.2);
    margin-top: 20px;
}

.footer-copyright p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

/* Scroll to Top */
#scroll-top-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

#scroll-top-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #63d4ff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(99, 212, 255, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

#scroll-top-top a::before {
    content: '↑';
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

#scroll-top-top a:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 212, 255, 0.6);
}

#scroll-top-top a:hover::before {
    color: #63d4ff;
}

/* Responsive Design */
@media screen and (max-width: 959px) {
    .footer-widgets-row {
        gap: 20px;
    }
    
    .footer-widgets .four.columns {
        flex: 0 0 calc(50% - 10px);
    }
    
    .footer-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-logo-col {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    
    .partner-text {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .footer-widgets {
        padding: 40px 0 30px;
    }
    
    .footer-widgets-row {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-widgets .four.columns {
        width: 100%;
        flex: 1 1 100%;
    }
    
    .footer-widgets .widget {
        padding: 20px;
    }
    
    #footer-bottom {
        padding: 40px 0 25px;
    }
    
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-hours-col,
    .footer-logo-col {
        padding: 15px;
    }
    
    .footer-logo-col {
        align-items: center;
        text-align: center;
    }
    
    .partner-text {
        text-align: center;
    }
    
    #scroll-top-top {
        bottom: 20px;
        right: 20px;
    }
    
    #scroll-top-top a {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .footer-contact-col a {
        word-break: break-word;
        font-size: 0.85rem;
    }
    
    .hours-line {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo-footer {
        max-width: 120px;
    }
}

/* Accessibility */
#footer a:focus {
    outline: 2px solid #63d4ff;
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    #footer {
        background: #fff !important;
        color: #000 !important;
        border-top: 2px solid #000;
    }
    
    .footer-widgets,
    #footer-bottom {
        background: transparent !important;
    }
    
    .footer-widgets .widget {
        background: transparent !important;
        border: 1px solid #ddd;
    }
    
    #scroll-top-top {
        display: none;
    }
    
    .logo-footer {
        filter: none !important;
    }
}


.two-column-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on mobile */
    gap: 30px; /* Space between columns */
}
.column-left {
    flex: 0 0 40%; /* 40% width on desktop */
}
.column-right {
    flex: 1; /* Takes up remaining space */
}
/* Media Query for mobile devices */
@media (max-width: 768px) {
    .column-left, .column-right {
        flex: 0 0 100%; /* Full width on mobile */
    }
}



  /* Make entire download card clickable - goes to download */
  .w3eden .card {
      position: relative;
      cursor: pointer;
  }

  .w3eden .card-body {
      position: relative;
  }

  .w3eden .wpdm-download-link::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 10;
  }

  .w3eden .package-title a {
      pointer-events: none;
      cursor: pointer;
  }


  .post-meta {
    display: none;
    margin-bottom: 10px;
    }
     /* Links on page post-6667 */
     #post-6667 a,
     #post-6667 a:visited {
         color: #ed625f !important;
     }

     #post-6667 a:hover,
     #post-6667 a:focus {
         color: #888 !important;
     }


