/*
 * Theme Name: Seniorama 2.0
 * Description: Seniorama theme based on Timber 2.x
 * Author: JL
*/
body {
    font-family: Tahoma, Arial, Verdana;
    line-height: 1.5;
    font-size: 16px;
}

img {
    max-width: 100%;
}

.hdr_mnu nav {
    font-size: 18px;
}

.hidden {
    display: none;
}


label.required:before {
    content: " *";
    color: red;
}

.kruimel {
    background-color: #f3f3f3;
    padding: 0px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kruimel a {
    font-weight: normal;
}

#footer>div {
    font-size: 16px;
    display: grid;
    grid: minmax(30px, auto)/33% 33% 33%;
    font-weight: normal;
    line-height: 1.5;
    gap: 5px;
}

#footer h2 {
    background-color: rgb(226, 226, 226);
}

.sra-bbox {
    border: 1px solid rgb(224, 224, 120);
    align-self: stretch;
    padding: 8px;
}

/* lopende tekst met link */
div.lopend {
    padding-top: 14px;
    font-size: xx-large;
    overflow: hidden;
    font-family: arial;
    max-width: 1000px;
    margin: auto;
    background-color: #2196f3;

    /* border: 1px solid green  */
}

div.lopend a div {
    cursor: pointer;
    position: relative;
    animation: lopend 10s;
    animation-direction: normal;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    overflow: hidden;
    color: yellow !important;
    display: inline-block;
    /* width: 100%; */
    height: 1.5cm;
    /* background-image: linear-gradient(to left, #00ddff, #eeFFFF);  */
}

div.lopend a {
    color: yellow !important;
    display: block;
    width: 100%;
}

@keyframes lopend {
    0% {
        right: -100%;
    }

    80% {
        right: 0;
    }

    99% {
        right: 0;
    }


    100% {
        right: 100%;
    }
}


/* dia show */
div.dia {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 0px;
}

div.dia div {
    padding: 2px;
    flex: none;
    overflow: hidden;
    border-bottom: 1px solid black;
}

.dia img {
    object-fit: contain;
    width: 150px;
    height: 150px;
    margin: auto;
    cursor: pointer;
}

#imgpopup {
    display: none;
    grid: calc(95% - 2em) 2em/auto;
    gap: 3px;
    position: fixed;
    width: 95vw;
    height: 95vh;
    padding: 5vh;
    top: 0;
    left: 0;
    background: #222e;
    z-index: 4;
    /* color: white; */
}

#imgpopup img {
    object-fit: contain;
    display: block;
    margin: auto 0;
    width: 99%;
    max-height: 99%;
}

#imgpopup div.menu {
    display: flex;
    align-items: center;
    justify-content: center;

}

#imgpopup div.menu div {
    display: inline-block;
    margin: 0 2px;
    width: 60px;
    background-color: rgb(241, 241, 241);
    border-radius: 5%;
    text-align: center;
}


/*  _________  */

.article-body {
    margin: auto;
}

.text-align-center {
    text-align: center;
}

#content {
    display: grid;
    grid: auto/287px 1fr;
    grid-column-gap: 5px;
    background-color: #f4f4f4;
    /* color: #3a3a3a; */
}

#footer {
    margin-top: 8px;
}

#content>* {
    border: 1px solid #ffff00;
    padding: 12px;
    margin: 0 4px 0 4px;

}

#content .sidebar {
    align-self: start;
    position: sticky;
    top: 1em;
    order: -2;
    margin-right: 14px;
}

#content .sidebar a {
    color: black;
    text-decoration: none;
    font-weight: normal;
}

.sidebar h2,
#footer h2 {
    border: none;
    background-color: #cbcbcb;
    color: black;
    padding: 5px;
}

.sidebar p {
    margin: 4px;
    padding: 4px 0px;
}

#content aside h5 {
    background-color: aliceblue;
    padding: 5px;
    margin: 0;
}

#content aside a {
    display: block;
}

.wp-block-table table {
    border-collapse: collapse;
    margin: 0;
    width: fit-content;
}

table,
td,
th {
    border: 1px solid grey;
    border-collapse: collapse;
    margin: 0px auto;
}

table.publicaties tbody tr {
    cursor: pointer;
}

div.publicaties {
    display: flex;
    flex-wrap: wrap;
}

div.publicaties img {
    display: block;
}

div.publicaties>div {
    cursor: pointer;
    /* width: 180px; */
    border: 1px solid #ffff00;
    margin-left: 10px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #cbcbcb;
    font-weight: bold;
    font-size: large;
    padding: 10px;
}

/* div.publicaties>div>div {
    width: 178px;
    white-space: break-spaces;
}
 */
div.oudedoos img.oudedoos {
    width: 150px;

    cursor: pointer;
    padding: 0;
    display: inline;
    object-fit: unset;
}


@media only screen and (max-width: 900px) {
    #content {
        display: grid;
        grid: auto/auto;
        /* width: 100%; */
    }

    #content .sidebar {
        order: 2;
        margin-right: 0;
    }

    #footer>div {
        grid: auto/auto;
    }

    /* menu */
    .hdr_mnu nav {
        flex: 0 0;
        font-size: 16px;
    }

    div.hdr_mnu>* {
        margin: 0px;
        padding: 0px;
    }

    nav span.has-children {
        display: initial;
    }
}

/* link colors */
a {
    color: #2196f3;
    font-weight: bold;
    text-decoration-line: none;
}

/* visited link */

a:visited {
    color: #2196f3;
}

/* mouse over link */

a:hover,
#content .sidebar a:hover,
summary:hover {
    color: #055e39;
    font-weight: bold;
}

summary {
    color: #2196f3;
    cursor: pointer;
}

/* headings 
H1: lettergrootte=24, kleur=4189C7
H2: grootte=22, kleur=4189C7
H3: grootte=20, kleur=077F4C
H4: grootte=16, kleur=4189C7
H5: grootte=14, kleur=4189C7
H6: grootte=12, kleur=4189C7
*/

h1 {
    font-size: 24px;
    color: #2196f3;
    font-weight: 500;
}

h2 {
    font-size: 22px;
    color: #2196f3;
    font-weight: 500;
}

h3,
h3 a,
h3 a:visited {
    font-size: 20px;
    color: #055e39;
    font-weight: 500;
}

h4 {
    font-size: 16px;
    color: #2196f3;
}

h5 {
    font-size: 14px;
    color: #2196f3;
}

h6 {
    font-size: 12px;
    color: #2196f3;
}

hr.is-style-default.wp-block-separator {
    width: unset !important;
    /* border-top-width: 0;  */
}


/* fix Wordpress table alignment */
.aligncenter {
    margin: 0 auto;
    clear: both;
}


input {
    width: auto;
    padding: 0;
    font-size: 18px;
}

#postcode {
    width: 4em;
}

input[type=radio] {
    width: unset;
    margin-bottom: 0px;
}

label {
    margin: 5px 0 1px 0;
    width: 130px;
    display: inline-block;
}

textarea {
    font-size: 18px;
}

select {
    padding: 8px 0;
    margin-bottom: 16px;
}

#kopie {
    width: unset;
}


#bericht {
    width: 100%;
    height: 8em;
    margin-bottom: 16px;
}

/* menu en navigatie */

#nav-main-mnu {
    display: unset;
    color: black;
    text-decoration: none;
}

#nav-main-mnu> :nth-child(2) {
    /* hide menu symbol */
    display: none;
}

.hdr_mnu {
    padding: 5px 2px;
    background-color: #e3e3e3 !important;
    background-image: linear-gradient(#b3b3b3, #fafafa);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 0;
    border: 1px solid #ffff00;
}

.hdr_mnu img {
    height: 52px;
    margin: 0 16px;
    flex: 0 0 54px;
}

.hdr_mnu nav {
    flex: 1 0;
    margin-left: auto;
    margin-right: auto;


}



.hdr_mnu div {
    margin: auto 0;
    color: #2196f3;
    padding: 0 2px 0 0;
    /* flex: 0 0;  */
}

#mnudiv {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#mnudiv a {
    color: black;
    text-decoration: none;
    font-weight: normal;
}

#mnudiv .mnu-item {
    margin: 8px 12px;
    position: relative;
    min-width: max-content;
    # text-align: center;
    # flex-basis: 115px;
}

#mnudiv div.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #e3e3e3;
    min-width: max-content;
    line-height: 2.5;

}

#mnudiv div.dropdown-menu div {
    padding-left: 10px;
}

#mnudiv div.dropdown-menu div:hover {
    background-color: #cbcbcb;

}

#mnudiv div.mnu-item:hover div.dropdown-menu {
    display: block;
    z-index: 200;

}

div.verslag div {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 900px) {
    #mnudiv {
        display: block;
        flex-wrap: unset;
        justify-content: unset;
    }

    #nav-main-mnu> :nth-child(2) {
        display: block;
    }

    #nav-main-mnu> :nth-child(1) {
        display: none;
    }

    #nav-main-mnu.show> :nth-child(1) {
        display: block;
    }
}

p.array {
    background-color: #e3e3e3;
}

p.array span {
    font-weight: bold;
}

#fotorij figure {
    max-width: 150px;
    display: inline-block;
}

/* 
    google search bar
    */

#googlesearch .gsc-control-cse {
    padding: 0px;
}

#googlesearch {
    max-width: 300px;
    flex-grow: 1;
    width: 250px;

}

#googlesearch .gsc-search-box {
    padding: 0;
    margin: 0;
}

#googlesearch .gsc-search-button {
    padding: 5px;
}

/************/
/* Lezingen */
/************/
.lezing>div {
    display: grid;
    grid-template-columns: 2fr auto auto 2fr;
    align-items: center;
    column-gap: 15px;
    row-gap: 10px;
    background-color: floralwhite;
    padding: 5px;

    p {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.lezing>div :nth-child(2n+1 of img) {
    justify-self: self-start;
    width: 150px;
}

.lezing>div :nth-child(n+5):nth-child(-n+8) {
    grid-column: span 2;
    color: white;
    background-color: darkblue;
    font-size: x-large;
    padding: 5px;
    /* 
   justify-self: center;
    margin: 0 auto 0 auto;
*/
}



#een {
    background-color: aliceblue;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#een img {
    float: inline-end;
}

.bil {
    /* insert left image border */
    border-image-slice: 33.33%;
    border-image-repeat: round;
    border-style: none none none solid;
    border-width: 0 0 0 8vw;
}

.bisbe {
    border-image-source: url('/wp-content/uploads/flags/_be.svg');
}

.bisde {
    border-image-source: url('/wp-content/uploads/flags/_de.svg');
}

.bises {
    border-image-source: url('/wp-content/uploads/flags/_es.svg');
}

.bisgb {
    border-image-source: url('/wp-content/uploads/flags/_gb.svg');
}

.bisit {
    border-image-source: url('/wp-content/uploads/flags/_it.svg');
}