/* Ensemble Styles - 08.2024 - CHATGPT */

/* FARBEN */
.ensemble_orange {
    color: #f05a1a;
}

.szene_blau-dunkel {
    color: #335c81;
}

.szene_blau-hell {
    color: #39afdf;
}

/* FONT STYLES */
h1,
h2,
h3,
h4 {
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
}

h0 {
    font-size: 2.0582em;
}

h1 {
    font-size: 1.618em;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

h2 {
    font-size: 1.272em;
}

p {
    font-size: 1em;
}

small {
    font-size: 0.7862em;
}

.av-main-nav > li > a {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
}

/* HEADER */
#fullwidthheader .avia_textblock,
#fullwidthheader .container {
    width: 100%;
}

.headingtitle {
    margin-left: -10px;
    margin-top: 130px;
}

.headingtitle h1 {
    color: #ffffff !important;
    font-size: calc(60px + (120 - 60) * ((100vw - 720px) / (1920 - 720)));
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    opacity: 0.6;
    text-transform: uppercase !important;
}

@media only screen and (max-width: 767px) {
    .headingtitle {
        margin-left: -5px;
        margin-top: 100px;
    }
}

.av_header_transparency.av_minimal_header_shadow {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

.responsive #top #wrap_all #fullwidthheader .container {
    margin: 0;
    max-width: 100% !important;
    padding: 0;
    width: 100%;
}

.imgszeneschweiz {
    max-width: 150px;
}

.imgszeneschweiz span.image-overlay {
    display: none !important;
}

#top #wrap_all .av-social-link-szene a:before {
    background: url(https://staging.ensemble-magazin.ch/wp-content/themes/ensemble/img/szene_weiss.svg) no-repeat center center;
    background-size: contain;
    content: "";
    display: inline-block;
    filter: invert(100%);
    height: 20px;
    vertical-align: middle;
    width: 20px;
}

#top #wrap_all .av_header_transparency .av-social-link-szene a:before {
    filter: brightness(0) invert(100%);
}

/* HOME > FIX MAGAZINE TITLE */
.responsive .container.caption_container {
    max-width: 100%;
}

.container.caption_container {
    padding: 0;
    width: 100%;
}

.slideshow_caption {
    bottom: 0;
    display: block;
    height: 100%;
    padding: 0;
    position: absolute;
    text-decoration: none;
    top: auto;
    width: 100%;
    z-index: 100;
}

.slideshow_align_caption .avia-caption-title {
    color: #ffffff99;
    font-size: 13.8vw !important;
    letter-spacing: 0.4em;
    margin-left: -0.2em;
}

@media only screen and (max-width: 767px) {
    .responsive #top .slideshow_caption {
        left: 0;
        padding: 0;
        width: 100%;
    }

    .responsive #top .slideshow_caption .avia-caption-title {
        color: #ffffff99;
        font-size: 19.5vw !important;
        letter-spacing: 0.1em;
        margin-left: -0.2em;
    }

    .responsive #top .slideshow_caption .avia-caption-content {
        font-size: 13px !important;
    }

    .responsive #top #wrap_all .container.caption_container {
        max-width: 100%;
        width: 100%;
    }
}

/* SITE > HEADER */
.html_header_top #top .av_header_stretch .container {
    margin-right: 10px;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.main_menu {
    clear: none;
    height: 100%;
    left: 410px;
    line-height: 30px;
    margin: 0;
    position: absolute;
    right: auto;
    z-index: 100;
}

/* SITE > HAMBURGER */
.av-hamburger {
    margin: 0 7em 0 0;
}

@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .av-logo-container {
        margin: 0;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .logo,
    .logo a {
        height: 60%;
    }

    .responsive #top .logo {
        border: none;
        display: table;
        float: none;
        height: 80px !important;
        max-width: 200px;
        padding-top: 10px;
        position: static;
        width: 100%;
    }

    .av-hamburger {
        margin: 0 5em 0 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
    .responsive #top #wrap_all .av-logo-container {
        margin-right: 10px;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .logo,
    .logo a {
        height: 60%;
    }

    .responsive #top .logo {
        border: none;
        display: table;
        float: none;
        height: 100px !important;
        max-width: 400px;
        padding-top: 20px;
        position: static;
        width: 100%;
    }
}

/* MASONRY PAGES */
#main {
    background-color: #f8f8f8 !important;
}

.avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
    transform: none;
}

.av-masonry-entry .av-masonry-entry-title,
.av-masonry-entry-title {
    font-size: 1.25em;
}

.av-masonry-entry-content {
    display: -webkit-box;
    font-size: 1em;
    line-height: 1.4em;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main_color .container .av-inner-masonry-content,
.main_color .container .av-masonry-entry .avia-arrow,
#top .main_color .container .av-masonry-load-more,
#top .main_color .container .av-masonry-sort {
    background-color: #ffffffcc !important;
}

.main_color .container .av-masonry-entry .avia-arrow {
    display: none;
}

/* MEDIA QUERIES */
@media only screen and (min-width: 1140px) {
    #top #wrap_all .all_colors .dreier h3,
    .dreier .av-masonry-entry-title,
    .dreier .av-masonry-entry h3.av-masonry-entry-title,
    .dreier h3.av-masonry-entry-title {
        font-size: 1.125em;
    }

    #top #wrap_all .all_colors .vierer h3,
    .vierer .av-masonry-entry-title,
    .vierer .av-masonry-entry h3.av-masonry-entry-title,
    .vierer h3.av-masonry-entry-title {
        font-size: 1em;
    }
}

@media only screen and (min-width: 990px) and (max-width: 1139px) {
    #top #wrap_all .all_colors .dreier h3,
    .dreier .av-masonry-entry-title,
    .dreier .av-masonry-entry h3.av-masonry-entry-title,
    .dreier h3.av-masonry-entry-title,
    .zweier .av-masonry-entry-title,
    .zweier .av-masonry-entry h3.av-masonry-entry-title,
    .zweier h3.av-masonry-entry-title {
        font-size: 1em;
    }

    .dreier .av-masonry-entry-content,
    .zweier .av-masonry-entry-content {
        font-size: 0.875em;
        line-height: 1.2em;
    }

    #top #wrap_all .all_colors .vierer h3,
    .vierer .av-masonry-entry-title,
    .vierer .av-masonry-entry h3.av-masonry-entry-title,
    .vierer h3.av-masonry-entry-title {
        font-size: 0.938em;
    }

    .vierer .av-masonry-entry-content {
        font-size: 0.875em;
        line-height: 1.2em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
    #top #wrap_all .all_colors .dreier h3,
    .dreier .av-masonry-entry-title,
    .dreier .av-masonry-entry h3.av-masonry-entry-title,
    .dreier h3.av-masonry-entry-title {
        font-size: 0.938em;
    }

    .dreier .av-masonry-date,
    .vierer .av-masonry-date {
        display: none;
    }

    #top #wrap_all .all_colors .vierer h3,
    .vierer .av-masonry-entry-title,
    .vierer .av-masonry-entry h3.av-masonry-entry-title,
    .vierer h3.av-masonry-entry-title {
        font-size: 0.875em;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #top #wrap_all .all_colors .dreier h3,
    .dreier .av-masonry-entry-title,
    .dreier .av-masonry-entry h3.av-masonry-entry-title,
    .dreier h3.av-masonry-entry-title {
        font-size: 1.125em;
    }

    #top #wrap_all .all_colors .vierer h3,
    .vierer .av-masonry-entry-title,
    .vierer .av-masonry-entry h3.av-masonry-entry-title,
    .vierer h3.av-masonry-entry-title {
        font-size: 1em;
    }
}

@media only screen and (max-width: 479px) {
    #top #wrap_all .all_colors .dreier h3,
    .dreier .av-masonry-entry-title,
    .dreier .av-masonry-entry h3.av-masonry-entry-title,
    .dreier h3.av-masonry-entry-title,
    #top #wrap_all .all_colors .vierer h3,
    .vierer .av-masonry-entry-title,
    .vierer .av-masonry-entry h3.av-masonry-entry-title,
    .vierer h3.av-masonry-entry-title {
        font-size: 1.25em;
    }
}

/* Szene Schweiz Logo (in footer.php) */
#szeneschwizpoppoep {
    position: absolute;
    z-index: 1848;
}

.home #szeneschwizpoppoep,
.page-id-607 #szeneschwizpoppoep,
.page-id-608 #szeneschwizpoppoep {
    display: none;
}

@media only screen and (max-width: 472px) {
    #szeneschwizpoppoep {
        height: 50px;
        left: 120px;
        margin-left: auto;
        margin-right: auto;
        right: 0;
        text-align: center;
        top: 24px;
        width: 50px;
    }
}

@media only screen and (min-width: 473px) and (max-width: 556px) {
    #szeneschwizpoppoep {
        height: 80px;
        left: 80px;
        margin-left: auto;
        margin-right: auto;
        right: 0;
        text-align: center;
        top: 15px;
        width: 80px;
    }
}

@media only screen and (min-width: 556px) and (max-width: 767px) {
    #szeneschwizpoppoep {
        height: 85px;
        left: 0;
        margin-left: auto;
        margin-right: auto;
        right: 0;
        text-align: center;
        top: 15px;
        width: 85px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
    #szeneschwizpoppoep {
        height: 80px;
        left: 100px;
        margin-left: auto;
        margin-right: auto;
        right: 0;
        text-align: center;
        top: 15px;
        width: 80px;
    }
}

@media only screen and (min-width: 990px) {
    #szeneschwizpoppoep {
        height: 80px;
        right: 60px;
        top: 8px;
        width: 80px;
    }
}

/* SITE > MAIN MENU */
#ensemblemenucolumn .menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100vw;
}

#ensemblemenucolumn .menu li a {
    color: #333;
    font-weight: 900;
}

#top .content .flex_column .widget_nav_menu .menu li:first-child,
#top .content .flex_column .widget_nav_menu .menu li {
    border: none;
    border-bottom-style: none !important;
    border-top-style: none !important;
}

/* Menu Startseite */
.entry-content-wrapper #ensemblemenucolumn .menu li a {
    color: #666;
    font-size: calc(16px + (22 - 16) * ((100vw - 320px) / (1210 - 320)));
    margin-left: 0;
    min-width: 180px;
    text-align: center;
    text-transform: uppercase;
    width: 19%;
}

.entry-content-wrapper #ensemblemenucolumn .menu li a::before {
    content: "❯ ";
}

/* Sub Menu */
.entry-content-wrapper #ensemblemenucolumn #menu-sub-menu-szene li a::before,
.entry-content-wrapper #ensemblemenucolumn .menu li.szenelogo a::before {
    content: "";
}

.entry-content-wrapper #ensemblemenucolumn #menu-sub-menu-szene li a {
    font-size: 16px;
}

.entry-content-wrapper #ensemblemenucolumn #menu-sub-menu-szene li.szenelogo img {
    height: auto;
    margin-top: -10px;
    max-width: 70px;
    width: 100%;
}

.entry-content-wrapper #ensemblemenucolumn #menu-sub-menu-szene li.szenelogo a image-overlay-inside:hover,
.entry-content-wrapper span.image-overlay,
.entry-content-wrapper span.image-overlay:hover,
.entry-content-wrapper span.overlay-type-extern,
.entry-content-wrapper span.overlay-type-extern:hover {
    display: none !important;
}

@media only screen and (max-width: 399px) {
    .home #after_section_1 .av-content-full,
    .page-id-607 #after_section_1 .av-content-full,
    .page-id-608 #after_section_1 .av-content-full {
        padding: 0;
    }

    #ensemblemenucolumn .menu li a {
        border: 1px solid grey;
    }

    #ensemblemenucolumn #menu-sub-menu-szene li a {
        border: none;
    }

    #ensemblemenucolumn .menu li {
        padding: 5px !important;
    }
}

@media only screen and (min-width: 400px) and (max-width: 767px) {
    #ensemblemenucolumn .menu li a {
        border: 1px solid grey;
    }

    #ensemblemenucolumn .menu li {
        padding: 5px !important;
    }

    #ensemblemenucolumn #menu-sub-menu-szene li a {
        border: none;
    }
}

@media screen and (min-width: 1250px) {
    .entry-content-wrapper #ensemblemenucolumn #menu-sub-menu-szene li.szenelogo img {
        height: auto;
        margin-top: 0;
        max-width: 150px;
        width: 100%;
    }
}

@media screen and (min-width: 1920px) {
    .entry-content-wrapper #ensemblemenucolumn .menu li a {
        font-size: calc(28px + (36 - 28) * ((100vw - 1920px) / (4096 - 1920)));
    }
}

/* START > LANGUAGE MENU */
#ensemblemenucolumn #menu-language,
#ensemblemenucolumn #menu-language-fr,
#ensemblemenucolumn #menu-language-it {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}

#ensemblemenucolumn #menu-language li,
#ensemblemenucolumn #menu-language-fr li,
#ensemblemenucolumn #menu-language-it li {
    border-bottom-style: none !important;
    border-top-style: none !important;
}

#ensemblemenucolumn #menu-language li a,
#ensemblemenucolumn #menu-language-fr li a,
#ensemblemenucolumn #menu-language-it li a {
    color: #999;
    font-size: medium;
    font-weight: 400;
    min-width: 20px;
    vertical-align: super;
}

#ensemblemenucolumn #menu-language li a:hover,
#ensemblemenucolumn #menu-language-fr li a:hover,
#ensemblemenucolumn #menu-language-it li a:hover {
    color: #333;
}

#ensemblemenucolumn #menu-language li a::before,
#ensemblemenucolumn #menu-language-fr li a::before,
#ensemblemenucolumn #menu-language-it li a::before {
    content: "";
}

@media only screen and (min-width: 400px) and (max-width: 767px) {
    #ensemblemenucolumn #menu-language,
    #ensemblemenucolumn #menu-language-fr,
    #ensemblemenucolumn #menu-language-it {
        justify-content: center;
    }

    #ensemblemenucolumn #menu-language li a,
    #ensemblemenucolumn #menu-language-fr li a,
    #ensemblemenucolumn #menu-language-it li a {
        border: none;
    }

    #ensemblemenucolumn #menu-language li,
    #ensemblemenucolumn #menu-language-fr,
    #ensemblemenucolumn #menu-language-it li {
        padding: none !important;
    }
}

/* SITE > ENFOLD LANGUAGE FLAGS */
.av-language-switch-item {
    display: none;
}

/* SITE > CONTENT */
.entry-content p {
    font-size: 1.1250em;
    line-height: 1.7em;
}

.entry-content-wrapper .post-title {
    font-size: 34px;
    line-height: 1.3em;
}

.main_color a {
    color: #39afdf;
}

.main_color a:hover {
    color: #335c81;
}

.av-magazine-thumbnail {
    border: 0;
    padding: 0 !important;
}

h1.av-special-heading-tag a,
h2.entry-title a,
h2.post-title a,
h3.av-magazine-title a {
    -webkit-transition: color 1s;
    transition: color 1s;
}

h1.av-special-heading-tag a:hover,
h2.entry-title a:hover,
h2.post-title a:hover,
h3.av-magazine-title a:hover {
    color: #39afdf !important;
}

h3.av-magazine-title a {
    font-size: 26px;
    line-height: 1.5em;
}

.av-magazine .av-magazine-content p {
    font-size: 1.15em;
    line-height: 1.7em;
    text-align: justify;
}

.main_color blockquote p {
    color: #f05a1a;
    font-size: 18px;
    font-style: italic;
}

.home .av-magazine-author,
.home .av-magazine-author-wrap,
.home .av-magazine-tags-wrap,
.home .av-magazine-text-sep,
.home .av-magazine-time,
.page-id-607 .av-magazine-author,
.page-id-607 .av-magazine-author-wrap,
.page-id-607 .av-magazine-tags-wrap,
.page-id-607 .av-magazine-text-sep,
.page-id-607 .av-magazine-time,
.page-id-608 .av-magazine-author,
.page-id-608 .av-magazine-author-wrap,
.page-id-608 .av-magazine-tags-wrap,
.page-id-608 .av-magazine-text-sep,
.page-id-608 .av-magazine-time {
    display: none;
}

.avia-section-huge .content,
.avia-section-huge .sidebar {
    padding-bottom: 50px;
    padding-top: 50px;
}

#aktuell.avia-section-huge .content,
#aktuell.avia-section-huge .sidebar {
    padding-top: 0;
}

.post-meta-infos,
.minor-meta {
    display: inline-block;
    line-height: 1.2;
    vertical-align: middle;
}

/* BORDERLESS */
.container_wrap {
    border-top-style: none;
    border-top-width: 0;
}

/* LANDING PAGE */
.bloglist-excerpt .more-link,
.entry-content .more-link {
    background-color: #ffffff;
    border-radius: 100px;
    border-style: solid;
    border-width: 1px;
    color: inherit;
    display: inline-block;
    font-size: 0.75em;
    font-weight: bold;
    line-height: 2.1em;
    padding: 0 20px;
    position: relative;
    text-transform: uppercase;
    z-index: 2;
}

.bloglist-excerpt .more-link:hover,
.entry-content .more-link:hover {
    text-decoration: none;
}

.home .entry-content-wrapper .post_delimiter,
.page-id-607 .entry-content-wrapper .post_delimiter,
.page-id-608 .entry-content-wrapper .post_delimiter {
    border-bottom-style: none !important;
}

/* BLOG LIST */
.home .ensemblebloglist .big-preview,
.page-id-607 .ensemblebloglist .big-preview,
.page-id-608 .ensemblebloglist .big-preview {
    float: left;
    margin-right: 15px;
    max-width: 150px;
}

.home .ensemblebloglist .entry-content-wrapper,
.page-id-607 .ensemblebloglist .entry-content-wrapper,
.page-id-608 .ensemblebloglist .entry-content-wrapper {
    display: block;
    position: relative;
}

.home .ensemblebloglist .entry-content-wrapper header,
.page-id-607 .ensemblebloglist .entry-content-wrapper header,
.page-id-608 .ensemblebloglist .entry-content-wrapper header {
    margin-top: -20px;
}

.home .ensemblebloglist .big-preview img,
.home .ensemblebloglistfeatured .big-preview img,
.page-id-607 .ensemblebloglist .big-preview img,
.page-id-607 .ensemblebloglistfeatured .big-preview img,
.page-id-608 .ensemblebloglist .big-preview img,
.page-id-608 .ensemblebloglistfeatured .big-preview img {
    border-radius: 0;
}

.home .ensemblebloglist .entry-content-wrapper .post-meta-infos,
.home .ensemblebloglistfeatured .entry-content-wrapper .post-meta-infos,
.page-id-607 .ensemblebloglist .entry-content-wrapper .post-meta-infos,
.page-id-607 .ensemblebloglistfeatured .entry-content-wrapper .post-meta-infos,
.page-id-608 .ensemblebloglist .entry-content-wrapper .post-meta-infos,
.page-id-608 .ensemblebloglistfeatured .entry-content-wrapper .post-meta-infos {
    display: none;
}

/* BLOG ARCHIVE */
.archive article img,
.archive article picture {
    display: block;
    height: auto;
    max-height: 200px;
    max-width: 300px;
    object-fit: cover;
    width: auto;
}

/* TAG CLOUD */
.tagcloud a {
    border-style: solid;
    border-width: 1px;
    display: block;
    float: left;
    margin: 0 1px 1px 0;
    padding: 2px 8px;
    text-decoration: none;
}

/* POST WATERMARK */
.single-post .post-entry .entry-content-wrapper {
    background-image: url(img/bg_article_grey.png);
    background-repeat: no-repeat;
    background-size: contain;
}

/* REMOVE SLIDESHOW BORDER */
.jetpack-slideshow-window {
    border: none !important;
    border-radius: 0 !important;
}

/* CONTACT FORM 7 CF7 */
form.wpcf7-form {
    margin: 0;
}

#responsive-form {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
}

#responsive-form p {
    margin: 0;
}

.form-row {
    width: 100%;
}

.column-half,
.column-full {
    box-sizing: border-box;
    float: left;
    padding: 0 0.45rem;
    position: relative;
    width: 100%;
}

.clearfix:after {
    clear: both;
    content: "";
    display: table;
}

@media only screen and (min-width: 48em) {
    .column-half {
        width: 50%;
    }
}

.main_color .wpcf7 input[type="email"],
.main_color .wpcf7 input[type="text"],
.main_color .wpcf7 textarea {
    border: 1px solid #cf0;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 8px;
    width: 100%;
}

.main_color .wpcf7 input[type="text"]:focus {
    background: #fff;
}

.main_color input[type='submit'].wpcf7-submit {
    background-color: none;
    border: 3px solid #fff;
    color: #fff;
    cursor: pointer;
    float: right;
    font-size: 1em;
    padding: 8px;
    text-transform: uppercase;
    width: 100%;
}

.main_color input[type='submit'].wpcf7-submit:hover {
    background-color: #ffffff33;
    border-color: #fff;
}

span.wpcf7-not-valid-tip {
    color: antiquewhite;
    float: left;
    margin: 0;
}
