.cleaner {
    clear: both;
}

h1 {
    font-size: 33px;
}

h1 a, h2 a {
    text-decoration: none;
}

h1, h2 {
    font-family: LetterGothic12PitchBT-Bold;
    font-weight: normal;
    font-style: normal;
    letter-spacing: 3px
}

.thumb .title {
    color: white;
    text-align: center;
    display: none;
}

.thumb .count {
    background: url(/~erikodijk1/images/peil.gif) bottom left no-repeat;
    padding-bottom: 6px;
    padding-left: 10px;
    color: white;
    display: none;
}

#mainmenu {
    justify-content: space-between;
    padding: 2px;
    display: flex;
    /* margin-bottom: 40px; */
    font-family: LetterGothic12PitchBT-Bold;
    font-size: 14px;
    font-weight: lighter;
    letter-spacing: 0.02em;
    flex-wrap: wrap;
}

.thumb .fancybox {
    display: block;
    background-image: radial-gradient(white, transparent 70%);
    text-align: center;
}

.thumb .fancybox img {
    width: 100%;
    mix-blend-mode: darken;
    /* visibility: hidden; */
}

.thumb {
    flex-grow: 1;
    /* margin: 0px 1em 1em 0; */
    font-size: 10px;
    width: 300px;
    max-width: 346px;
}

.thumb:nth-child(4n) {
    /* margin-right: 0; */
}

.tekeningen {
    /* background-color: black; */
    height: 80vh;
    overflow: auto;
    padding: 23px 0;
    height: calc(100vh - 200px);
}

.submit {
    border: 1px solid white;
    border-radius: 0 0 10px 10px;
    padding: 5px;
    float: right;
    margin-right: 100px;
    background-color: rgba(200,200,200,.7);
}

.contactform td {
    background-color: rgba(255,255,255,.7);
    padding: 4px;
}

.contactform td.label {
    background-color: rgba(200,200,200,.7);
    text-align: right;
    vertical-align: top;
    padding: 4px;
}

.contactform td img {
    vertical-align: middle;
}

.field {
    /* max-width: 400px; */
    width: 100%;
}

.contactform {
    background-color: rgba(255,255,255,.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.active {
    color: #AA1918;
}

.text {
    padding: 0 90px 40px 90px;
    background-color: white;
    max-height: calc(100vh - 140px);
    overflow: auto;
}

a {
    color: #000;
}

#mainmenu a {
    text-decoration: none;
    cursor: pointer;
}

#mainmenu li {
    list-style-type: none;
    float: left;
    padding: 5px 12px;
}

#mainmenu li.cleaner {
    display: none;
    padding: 0;
}

li.mainlevel {
    position: relative;
}

#mainmenu .submenu li {
    float: none;
    padding: 2px 0 2px 0;
    white-space: nowrap;
}

li.mainlevel:hover .submenu {
    display: block;
}

.submenu {
    position: absolute;
    padding: 20px;
    /*display:none;*/
    background-color: #ccc;
    transform: translate(-20px, 0px);
    z-index: 1;
}

.mainlevel.right > .submenu {
    right: 0;
    transform: none;
}

#mainwrap {
    width: 100%;
    margin: 0 auto;
    position: relative;
    max-width: 1600px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

body {
    background-color: #CCC;
    color: #444;
    font-family: Calibri, Verdana, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

h1.header {
    text-align: center;
    font-weight: normal;
}

img.main {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.fulltext {
    padding-bottom: 1em;
}
.fulltext p{
    break-inside: avoid;
}
.fulltext iframe{
    width: 100%;
    background-color: black;
    min-height: 40vh;
}
.columns_,
.columns_3{
    column-count: 3;
}
.slideshow{
    flex: 1;
    padding-bottom: 20px;
}
#slider-container{
    height: auto;
}
    #number_slideshow,
    #number_slideshow ul:not(.number_slideshow_nav),
    #number_slideshow ul:not(.number_slideshow_nav) li,
    #number_slideshow img{
        width: 100% !important;
        height: calc(100vh - 240px) !important;
    }

    #number_slideshow{
        height: 100% !important;
    }
    #number_slideshow img{
        object-fit:cover;
        object-position: center center;
    }
@media(max-width: 1200px) {
    .fulltext
	.columns_,
	.columns_3  {
        column-count: 2;
    }
}

@media(max-width: 991px) {
    	.fulltext,
	.columns_,
	.columns_3 {
        column-count: 1;
    }
    

}

@media(max-width: 541px) {
    .contactform table {
        display: block;
    }

    .contactform td.label {
        flex: 1;
        min-width: 200px;
        text-align: left;
    }

    .contactform td:nth-child(2) {
        flex: 2;
        min-width: 300px;
    }

    .contactform tr {
        display: flex;
        flex-wrap: wrap;
    }
}

