/**
 * Theme Name:     Twenty Twenty-Three Child
 * Author:         iNet.Builders
 * Template:       twentytwentythree
 * Text Domain:	   twenty-twenty-three-child
 * Description:    facilitates Jazz podium Inverdan (Zaandam Netherlands)
 * Theme URI:      https://inet.builders
 * Author URI:     https://inet.builders
 * Version:        1.1
 * License:        iNet.Builders
 * License URI:    https://jazzinverdan.nl
 */

body {
    --wp--style--global--content-size: 1200px;
    /*height: 100%;*/
    /*min-height: 100%;*/
    /*padding-bottom: 100px;*/
    /*position: relative;*/
}

h1 {
    color: #c21a1f !important;
}

#picture-nav {
    width: 1200px;
    /*min-width: 800px;*/
    /*height: 400px;*/
    /*max-height: 200px;*/
    /*max-width: var(--wp--style--global--content-size);*/
    /*margin-left: auto !important;*/
    /*margin-right: auto !important;*/
    margin-top: 10px;
    display: block;
    /*background-color: #b58a24;*/
}

.picture-nav-left {
    vertical-align: top;
    /*position: relative;*/
    /*top: 0px;*/
    width: 300px;
    /*background-color: #00d700;*/
    display: inline-block;
}

.picture-nav-left img {
    width: 100%;
}

.picture-nav-right {
    text-align: center;
    vertical-align: top;
    display: inline-block;
    margin: 0;
    width: 895px;
}

.picture-nav-right a {
    color: white;
    font-weight: bold;
    text-decoration: none;

}

a:has(img) {
    display: block;
}

img.alignright {
    float: right;
}

/*wordpress credit*/
/*footer .has-text-align-right {*/
/*    display: none;*/
/*}*/

footer {
    width: 100%;
    border-top: 1px solid #a7a8a2;
    font-size: 80%;
    color: #a7a8a2;
}

/*noodoplossing voor de footer op de categorie fotos*/
.category-fotos footer {
    background-color: white;
    position: fixed;
    bottom: 0;
}

.jazz-fotos {
    margin-block-start: 50px !important;
}

.ondercommentaar {
    color: #a7a8a2;
}

.wp-block-navigation-item__content:hover, .wp-block-site-title a:hover {
    color: #c21a1f !important;
    /*font-weight: bold;*/
}

/* site title / home button*/
.home .wp-block-site-title a, .home .wp-block-post-title {
    display: none;
}

.slideshowlink {
    position: relative;
    z-index: 1000;
}

.jazz-fotos-leftright {
    display: block;
    width: 100%;
    position: relative;
}

.jazz-fotos-left {
    /*background-color: yellow;*/
    width: 50%;
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    /*min-height: 150px!important;*/
}

.jazz-fotos-right {
    /*background-color: #00d700;*/
    width: 40%;
    min-height: 150px;
    display: inline-block;
    margin-left: 55%;
    border: lightgrey 3px solid;
}

.jazz-fotos-right figure {
    display: inline-block;
    z-index: 10;
    margin-bottom: 0;
}

.jazz-fotos-right:has(figure) {
    /*background-color: red !important;*/
    height: auto;
}

.jazz-fotos-right .klik-op-titel-tekst {
    margin-left: 50px;
    z-index: 1;
    position: absolute;
    top: 30px;

}

/*.jazz-fotos-right:not(figure) {*/
/*    background-color: red!important;*/
/*}*/

.jazz-fotos.wp-block-post-featured-image {
    /*height: auto !important;*/
    /*float: left;*/
    /*display: inline-block;*/
}

.jazz-fotos .wp-block-post-date {
    display: block;
    width: 100%;
    font-size: 1.5rem;
    margin-top: 10px;
}

.jazz-fotos img {
    width: 100%;
    height: auto;
}

.jazz-fotos .wp-block-post-title {
    margin-top: 0;
    display: block;
    width: 100%;
    word-break: break-word;
    font-size: 2rem;
}

/*dit werkt niet ? */
.jazz-fotos .wp-block-post-title:hover {
    color: #c21a1f !important;
}

.wp-block-site-title a {
    /*padding: 0 2px;*/
    /*border: 2px solid #c21a1f;*/

    text-align: center;
    background-color: #0b93d5;
    border-radius: 50%;
    color: white;
    padding: 5px 10px;
}

.wp-block-site-title a:hover {
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
    text-decoration: none;

}

.wp-block-navigation-item__content {
    font-size: 150%;
}

.wp-block-navigation-submenu {
    /*width: 300px!important;*/
    /*display: block;*/
    /*background-color: yellow!important;*/
}

.picture-nav-right a:hover {
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
    color: #c21a1f;
}

.picture-nav-right-programma {
    font-weight: normal;
    font-size: 40px;
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 10px 0;
    background-color: #0b93d5;
    border-radius: 50%;
    display: inline-block;
}

.picture-nav-right-programma a {
    line-height: 70px;
}

.picture-nav-right-other {
    position: relative;
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 10px 0;
    /*background-color: #cc8386;*/
    /*background-color: #0b93d5;*/
    display: flex;
    justify-content: space-between;

}

.picture-nav-right-other div {
    text-align: center;
    background-color: #0b93d5;
    border-radius: 50%;
    width: 31%;
    margin-top: 10px;
    height: 70px;
    padding-top: 20px;
}

.centercenter {
    text-align: center;
    line-height: 45px;
}


#debug::before {
    content: ">1264px (wide)";
}

@media (max-width: 1264px) {
    #debug::before {
        content: "<1264px";
    }

    #picture-nav {
        width: calc(100vw - 80px);
    }

    .picture-nav-right {
        width: calc(100vw - 385px);
    }

    .jazz-fotos-right {
        min-height: 100px;
    }

    .jazz-fotos-right .klik-op-titel-tekst {
        margin-left: 10px;
    }

    .jazz-fotos li:not(:has(img))::after {
        content: ".";
    }
}

@media (max-width: 900px) {

    main {
        margin-bottom: 0;
    }

    #debug::before {
        content: "<900px";
    }

    .picture-nav-left {
        width: calc(.35 * (100vw - 80px) - 3px);
    }

    .picture-nav-right-programma {
        box-sizing: content-box;
        width: calc(.65 * (100vw - 80px) - 3px);
        height: 5vw;
        /*margin-top: 4.5vw;*/
    }

    .picture-nav-right-programma a {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    .picture-nav-right-other {
        width: calc(.65 * (100vw - 80px) - 3px);
        height: 5vw;
    }

    .picture-nav-right-other div {
        height: 5vw;
        font-size: 1.5vw;
    }

    .centercenter {
        line-height: 2vw;
    }

    .jazz-fotos li:not(:has(img)) {
        /*background-color: red;*/
        /*display: block;*/
    }

    /*.category-fotos li{*/
    /*}*/
    .jazz-fotos-leftright {
    }

    h2.wp-block-post-title a {
        font-size: 50%;
    }

    .jazz-fotos .wp-block-post-title {
        margin: 0px;
    }

    .jazz-fotos .wp-block-post-title a {
        font-size: 24px;
    }

    /*.jazz-fotos .wp-block-post-title{font-weight: 400;margin-top: 0;margin-bottom: 0;}*/
    .jazz-fotos .wp-block-post-date {
        font-size: 15px;
        /*margin-bottom: 0;*/
    }

    .jazz-fotos-left {
        height: fit-content;
        /*background-color: yellow;*/
    }

    .jazz-fotos-right {
        min-height: 50px;
    }

    .jazz-fotos-right .klik-op-titel-tekst {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0px;
        font-size: 12px;
        padding: 5px;
    }
}

@media (max-width: 600px) {

    h1 {
        font-size: 25px;
    }

    #debug::before {
        content: "<600px (mobile)";
    }

    /*class="wp-block-group has-global-padding is-layout-constrained"*/
    .has-global-padding {
        padding-right: 5px;
        padding-left: 5px;
        /*background-color: #f6f6b2;*/
    }

    /*.has-global-padding.nav-home {*/
    /*    padding-right: 5px;*/
    /*    padding-left: 5px;*/
    /*    background-color: #c21a1f;*/
    /*}*/
    #picture-nav {
        width: calc(100vw - 10px);
        height: calc(2 * .35 * (100vw - 10px) / 3);
        margin: 0;
    }

    .picture-nav-left {
        width: calc(.35 * (100vw - 10px) - 3px);
    }

    .picture-nav-left img {

    }

    .picture-nav-right {
        width: calc(.65 * (100vw - 10px) - 3px);
        height: 100%;
        position: relative;
    }

    .picture-nav-right-programma {
        box-sizing: content-box;
        width: calc(.65 * (100vw - 10px) - 3px);
        height: 5vw;
        /*margin-top: 4.5vw;*/
    }

    .picture-nav-right-programma a {
        font-size: 3.5vw;
        line-height: 5vw;
    }

    .picture-nav-right-other {
        width: calc(.65 * (100vw - 10px) - 3px);
        height: 10vw;
        position: absolute;
        bottom: 0;
        display: block;
        margin: 0;
        padding: 0;

    }

    .picture-nav-right-other div {
        position: relative;
        font-size: 2.2vw;
        /*line-height: 5vw;*/
        margin: 0;
        display: inline-block;

    }

    .picture-nav-right-other div:not(:first-child) {
        padding-left: 4px;
        /*background-color: red;*/
    }

    .picture-nav-right-other div .centercenter {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translateY(-50%);
        transform: translateX(-50%);
    }

    h2.wp-block-post-title {
        margin-bottom: 0;
    }

    .wp-block-post-excerpt {
        display: none;
    }

    .wp-block-post-featured-image {
        margin-bottom: 0;
    }

    .jazz-fotos-left {
        position: relative;
        display: block;
        width: 100%;
    }

    .jazz-fotos-right {
        position: relative;
        margin-left: 0;
        display: block;
        width: 100%;
    }


    .jazz-fotos li:not(:has(img)) {
        border: lightgrey 3px solid;
    }

    .jazz-fotos li:not(:has(img))::after {
        content: "";
    }

    .jazz-fotos-right:not(:has(img)) {
        display: none;
    }

    .bahlmann{
        margin-bottom: 0!important;
    }
}

.ngg-gallery-thumbnail-box {
    /*float: none;*/
    /*width: calc(var(--wp--style--global--content-size)/4)px!important;*/
    /*display: inline-block;*/
    /*background-color: #0b93d5;*/

}

.ngg-imagebrowser.default-view {
    margin-right: auto !important;
    margin-left: auto !important;
}

.ngg-imagebrowser.default-view .pic img {
    max-height: 600px;
}

.wp-block-post-featured-image {
    display: none;
}

/*.wp-block-navigation-item__content:hover, .wp-block-site-title a:hover {*/
/*    color: #c21a1f !important;*/
/*    !*font-weight: bold;*!*/
/*}*/
h2.wp-block-post-title a:hover {
    color: #c21a1f !important;

}

.category-fotos .wp-block-spacer {
    display: none;
}


#artikelen li {
    list-style-type: none;
}

#artikelen a {
    color: black;
}

#artikelen a:hover {
    color: #c21a1f;
}

#artikelen-link {
    text-align: right;
    margin-right: 30px;
    margin-bottom: 10px;
}

#artikelen-link a {
    color: lightgrey;
}

#artikelen-link a:hover {
    color: #c21a1f;
}