/*
Theme Name:     Vrijburg 2018
Description:    Fixing all screw-ups from Max
Author:         Joost van der Schee
Author URI:     http://www.usecue.com
Version:        1.0.0
*/


:root {
    --blue: #00a8db;
}

/* roboto-100 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/roboto-v18-latin-100.eot'); /* IE9 Compat Modes */
    src: local('Roboto Thin'), local('Roboto-Thin'),
         url('../fonts/roboto-v18-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-100.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-100.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-300 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v18-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Roboto Light'), local('Roboto-Light'),
         url('../fonts/roboto-v18-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-regular - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Roboto'), local('Roboto-Regular'),
         url('../fonts/roboto-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-italic - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v18-latin-italic.eot'); /* IE9 Compat Modes */
    src: local('Roboto Italic'), local('Roboto-Italic'),
         url('../fonts/roboto-v18-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-500 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v18-latin-500.eot'); /* IE9 Compat Modes */
    src: local('Roboto Medium'), local('Roboto-Medium'),
         url('../fonts/roboto-v18-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-500.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-700 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v18-latin-700.eot'); /* IE9 Compat Modes */
    src: local('Roboto Bold'), local('Roboto-Bold'),
         url('../fonts/roboto-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-700italic - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v18-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
         url('../fonts/roboto-v18-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-700italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-700italic.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-900 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v18-latin-900.eot'); /* IE9 Compat Modes */
    src: local('Roboto Black'), local('Roboto-Black'),
         url('../fonts/roboto-v18-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-v18-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-v18-latin-900.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-v18-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-v18-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  

  

* {padding: 0; margin: 0;}
html {overflow-y: scroll;}
body {background: #333!important;}
body #page {font-family: 'Roboto', sans-serif; line-height: 1.5em; font-size: 16px;}
#page a, a {color: var(--blue); text-decoration: none;}
#page h1, #page h2, #page h3 {font-weight: 500;}
a:hover {text-decoration: underline;}
a img {border: 0;}
img {display: block; max-width: 100%; height: auto;}
.site-description, .menu-toggle, .assistive-text, .search-toggle, .featured-post {display: none;}
label {font-weight: normal!important; display: block!important;}
input, textarea, select {border-radius: 4px; display: block; width: 100%; max-width: 250px; padding: 5px 10px; margin-bottom: 10px!important; border: 0px solid #ccc; background: rgba(0,0,0,0.1); color: #333;}
input[type="radio"], input[type="checkbox"] {width: auto; display: inline; margin: 0!important;}
input[type="radio"] + label, input[type="checkbox"] + label {display: inline-block!important; padding-left: 5px!important;}
body .gform_legacy_markup_wrapper ul li.field_description_below div.ginput_container_checkbox {margin-top: 6px!important;}
.gform_fields input, .gform_fields textarea, .gform_fields select {max-width: 100%;}
select {appearance: none; -webkit-appearance: none; -moz-appearance: none; line-height: inherit; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; cursor: pointer;}
.gform_fields li > * {max-width: 500px}
form input:-moz-ui-invalid {
    -moz-box-shadow: 0 0 2px 1px #e21a23!important;
    -webkit-box-shadow: 0 0 2px 1px #e21a23!important;
    box-shadow: 0 0 2px 1px #e21a23!important;
}
form .error {
    -moz-box-shadow: 0 0 2px 1px #e21a23!important;
    -webkit-box-shadow: 0 0 2px 1px #e21a23!important;
    box-shadow: 0 0 2px 1px #e21a23!important;
}
#page .gform_fields li div span label {font-size: 70%; margin-top: -7px; margin-bottom: 0;}
#page .gform_wrapper .gform_footer {margin-top: -6px;}
#page .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {max-width: 100%!important;}
#page button, #page input, #page optgroup, #page select, #page textarea {color: #333;}
.nav-next a, .nav-previous a,
#page a.btn, #page button, html #page input[type="button"], #page input[type="reset"], #page input[type="submit"] {
    cursor: pointer;
    border: 0;
    background: var(--blue);
    color: white;
    font-weight: 500;
    height: 40px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    border: 2px solid var(--blue);
    padding-left: 20px; padding-right: 20px;
    width: auto;
}
#page a.btn {width: 100%; text-align: center; padding: 0; line-height: 35px;}
#page .nav-next a, #page .nav-previous a {color: rgba(0,0,0,0.35); background: rgba(0,0,0,0.07); border: 0; display: inline-block; line-height: 40px;}
#page .nav-next a:hover, #page .nav-previous a:hover {background: #333; color: white;}
#page .nav-previous a {padding-right: 30px;}
#page .nav-previous a::after {
    content: " ›";
    font-size: 150%;
    position: absolute;
    margin-left: 5px;
}
#page .nav-next a {padding-left: 30px;}
#page .nav-next a::before {
    content: "‹ ";
    font-size: 150%;
    position: absolute;
    margin-left: -13px;
}
#page a.btn.gray {background: #ececec; color: #999; border-color: #ececec;}
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #page a.btn.gray:hover {background: #333; color: white; border-color: #333;}
input[type="radio"] {width: auto;}
#page p, #content ul, #content ol {margin-bottom: 1.1em;}
#page a.black {color: #333;}
#page h3 {font-size: 26px; margin-top: 40px;}
#page #colophon h3 {font-size: 22px;}
#page h1:first-child, #page h2.entry-title:first-child {margin-top: 10px;}
.author #page h1:first-child,
.page #page h1:first-child,
.single #page h1:first-child {margin-top: 20px;}
#page .site-title {margin: 0!important;}
#page h1:first-child + .date,
#page h1:first-child + .author,
#page h2.entry-title:first-child + .date,
#page h2.entry-title:first-child + .author {margin-top: -15px;}
.single #content article,
.page #content article {padding-bottom: 50px;}
#page h1, #page h2, #page h3 {margin-bottom: 22px; margin-top: 40px;}
#page .entry-content h2:first-child {margin-top: 0px;}
#page .entry-content h3 {margin-top: 0; margin-bottom: 0px; line-height: 1.5em; font-weight: 700; font-size: 16px;}
#page .entry-content h2 {font-size: 27px;}
.archive #page h1,
.home #page h1,
.archive #page h2.entry-title,
.home #page h2.entry-title {font-size: 33px;}
.search #page h2.entry-title {font-size: 36px;}
iframe {width: 100%; max-width: 100%;}
.browser {border: 1px solid #ddd;}
.btn {box-shadow: none!important;}
#cookie-notice .btn-primary {padding: 5px 15px; background: var(--blue); border: 0;}

#premenu {background: white;}
#premenu #search {width: 137px; float: right; border: 0; margin-left: 17px; margin-bottom: 0!important; background: rgba(0,0,0,0.15) url('../img/search_gray.svg') calc(100% - 5px) center / auto 70% no-repeat; padding: 0 25px 0 5px; margin-top: 8px; border-radius: 4px;}
#premenu ul {float: right; overflow: auto; margin: 0; padding: 0;}
#premenu ul li {display: inline;}
#premenu ul li a {color: #333; float: left; height: 40px; line-height: 40px; padding: 0 17px; font-size: 16px; font-weight: 500;}
#premenu ul li a:hover {background: var(--blue); color: white;}
#premenu ul li.current-menu-item a,
#premenu ul li.current_page_item a {background: var(--blue); color: white;}
#mainmenu {background: var(--blue); color: white; height: 100px; position: relative;}
#mainmenu .site-title {margin: 0; padding: 0;}
#mainmenu hgroup {position: absolute;}
#mainmenu hgroup img {height: 100px; max-width: none; width: auto;}
#mainmenu a {color: white;}
#mainmenu #site-navigation ul {padding: 0; margin: 0; float: right; overflow: auto;}
#mainmenu #site-navigation ul li {height: 100px; line-height: 100px; display: inline;}
#mainmenu #site-navigation ul li a {color: white; float: left; margin-left: 45px; font-weight: 500; font-size: 18px;}
#mainmenu #site-navigation ul li.current_page_ancestor a,
#mainmenu #site-navigation ul li.current_page_item a,
#mainmenu #site-navigation ul li a:hover {color: #333;}
#mainmenu #site-navigation ul li:last-child a {background: #333; color: white; line-height: 36px; margin-top: 30px; padding: 0 20px; border-radius: 4px; border: 2px solid #333;}
#mainmenu #site-navigation ul li:last-child a:hover {color: #333; background: transparent;}

#headerimage {height: 250px; background: url('../img/headerimage2.jpg') center center / cover no-repeat;}
#headerimage > div {height: 250px; background: rgba(0, 100, 131, 0.7);}
#headerimage > div ul {line-height: 250px; text-align: center; max-width: 700px; margin: 0 auto; max-height: 250px; overflow: hidden;}
#headerimage > div ul li {display: inline-block; list-style: none; color: white; font-size: 26px; line-height: 1.3; vertical-align: middle;}
#headerimage > div ul li span {font-size: 16px; line-height: 1.3; display: inline-block; padding-bottom: 10px;}

#precontent {padding: 30px 0; overflow: auto; position: relative; background: white;}
#precontent .widget {float: left;}
#page #precontent .widget_media_image img {border-radius: 100%; width: 180px; margin-right: 30px; margin-left: 40px;}
#precontent .widget_text {width: calc(100% - 640px);}
#precontent .widget_text h3 {margin-top: 20px!important;}
#precontent .widget_nav_menu > div {background: var(--blue); padding: 20px; position: relative; width: 360px; margin-left: 30px;}
#precontent .widget_nav_menu > div ul {padding: 0; margin: 0;}
#precontent .widget_nav_menu > div ul li {list-style: none;}
#precontent .widget_nav_menu > div ul li a {color: white; display: block; padding: 3px 0; font-weight: 500; font-size: 16px;}
#precontent .widget_nav_menu > div ul li a:hover, #precontent .widget_nav_menu > div a:hover::after {color: #333;}
#precontent .widget_nav_menu > div a::after {content: "›"; position: absolute; right: 20px; font-size: 150%;}
.arrowafter {white-space: nowrap;}
.arrowafter::after {content: " ›"; font-size: 150%; position: absolute; margin-left: 5px;}

#main {background: #ececec; padding-bottom: 60px;}

#primary article, #secondary aside {margin-bottom: 30px; padding: 18px 30px 35px; background: white;}
#secondary {padding-top: 71.4px;}
#secondary aside {padding: 20px;}
#secondary aside h3 {margin: 5px 0 20px;}
#secondary ul li {list-style: none;}
#content ul,
#content ol {margin-left: 25px;}

#page .author, #page .date {margin-bottom: 1.6em;}
#page .author, #page .author a, #page .date {color: #999; font-style: italic;}
#page .date:last-child {font-style: italic; margin-top: 1.6em;}
#page h1 a, #page h2.entry-title a, #page #precontent h3, #page #colophon h3 {color: #333;}



#colophon {background: #333; color: rgba(255,255,255,0.5); font-size: 15px;}
#colophon h3 {margin-top: 40px; color: white!important; margin-bottom: 12px!important;}
#colophon .footerbar {padding: 20px 0 10px 0;}
#colophon a {color: white;}
#colophon .footerbar a {color: rgba(255,255,255,0.5)!important;}
#colophon input, #colophon textarea {background: rgba(255,255,255,0.3); color: white;}
#colophon input[type="submit"] {background: var(--blue);}
#colophon input[type="submit"]:hover {background: transparent; color: var(--blue); border-color: var(--blue);}
#colophon #socialmedia {position: relative; margin-top: -5px;}
#colophon .mc-field-group label {color: white;}

#prefooter {background: var(--blue); padding: 50px 0 60px; color: white;}
#prefooter h3 {margin-top: 0px;}
#prefooter p {max-width: 800px; margin: 0 auto;}

.wikimenu {padding: 20px; background: #ccc;}
#page .wikimenu ul {margin: 0; padding: 0;}
#page .wikimenu ul ul {margin-left: 20px;}
#page .wikimenu ul li {list-style: none;}
#page .wikimenu ul li a {color: #333; display: block; width: 100%; padding-left: 25px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
#page .wikimenu ul li ul {display: none;}
#page .wikimenu ul li.current_page_ancestor > a,
#page .wikimenu ul li.current_page_item > a {font-weight: 700;}
#page .wikimenu ul li.current_page_item > ul,
#page .wikimenu ul li.current_page_ancestor > ul {display: block;}
#page .wikimenu ul li:before {content: "•"; width: 20px; text-align: center; display: inline-block; position: absolute;}
#page .wikimenu ul li.page_item_has_children:before {content: "+";}
#page .wikimenu ul li.current_page_ancestor.page_item_has_children:before,
#page .wikimenu ul li.current_page_item.page_item_has_children:before {content: "-";}



aside {position: relative;}
aside .onderschrift {
    position: absolute; 
    pointer-events: none; 
    background: var(--blue); 
    color: white; 
    display: inline-block; 
    margin-top: -16px; 
    margin-left: -5px;
    padding: 0px 10px;
    font-size: 12px;
    border-radius: 4px;
    line-height: 1.9em;
}
.playbutton {
    pointer-events: none; 
    position: absolute; 
    top: calc(47% - 30px); 
    left: calc(50% - 30px);
    width: 60px; 
    height: 60px; 
    background: url('../img/play.svg') center center / contain no-repeat;
}
#page aside.blauw {color: white; background: var(--blue)!important;}
#page aside.blauw input, aside.blauw textarea {background: rgba(255,255,255,1);}
#page aside.blauw input[type="submit"] {background: #333; border-color: #333;}
#page aside.blauw input[type="submit"]:hover {background: transparent; color: #333;}
#page aside.blauw #socialmedia a {background: #333;}
#page aside.blauw #socialmedia a:hover {background: #fff;}
#page .widget_media_image img {display: block; margin: 0 auto;}

.calendarlist {margin-bottom: 0;}
.calendarlist li {margin-left: 62px;}
.calendar {background: var(--blue); color: white; padding: 7px 5px 5px; position: absolute; margin-left: -62px; width: 49px; font-size: 11px; text-align: center; font-weight: 700; border-radius: 4px;}
.calendar > div:last-child {text-transform: uppercase; line-height: 1.5em; padding-top: 1px;}
.calendar > div:first-child {font-size: 18px; line-height: 1.1em;}
.calendar::after,
.calendar::before {position: absolute; top: 0; margin-top: -5px; left: 10px; background: #ccc; width: 4px; height: 10px; border-radius: 2px;}
.calendar::after {right: 10px; left: auto;}



.breadcrumbs {margin: 30px 0 15px; height: 26.4px; line-height: 26.4px; color: #999; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
.breadcrumbs p {margin: 0; overflow: hidden; text-overflow: ellipsis;}
.home .breadcrumbs {display: none;}
.home #primary, .home #secondary {padding-top: 30px;}


#socialmedia a {width: 30px; height: 30px; border-radius: 15px; margin-right: 10px; display: inline-block; text-align: center; background: rgba(255,255,255,0.3);}
#socialmedia a img {vertical-align: middle; height: 15px; width: auto; display: block; margin: 8px auto 0;}
#socialmedia a:nth-child(2) img {height: 12px; margin: 9px auto 0; position: relative; left: 1px;}
#socialmedia a:hover {background: var(--blue);}



.mc-field-group.active label {display: none!important;}
.mc-field-group {position: relative;}
.mc-field-group label {position: absolute; width: 100%; height: 34px; line-height: 34px; padding-left: 10px; color: #333;}
#page label, #page input, #page textarea, #page select {font-size: 15px;}
#page #mc-embedded-subscribe {height: 38px;}


/* Featured image placement, see _partials/featured.html */
.thepostthumbnail.volledig img {width: 100%;}
/* Only at the start of the text does the text wrap around it on the right; further on it sits left, without wrapping */
.thepostthumbnail.rechts {max-width: 40%; margin: 15px 0;}
.thepostthumbnail.rechts:first-child {float: right; margin: 5px 0 15px 30px;}
@media (max-width: 480px) {.thepostthumbnail.rechts, .thepostthumbnail.rechts:first-child {float: none; max-width: 100%; margin: 0 0 15px;}}
.thepostthumbnail.overlay {background: rgba(0, 100, 131, 1)!important;}
.thepostthumbnail.overlay.noimage {background: #00a8db!important;}
.thepostthumbnail.overlay.noimage img {opacity: 1;}
.tax-eventcategory #page .thepostthumbnail.noimage img {inset: auto; left: 50%; top: 50%; width: 60%; height: auto; transform: translate(-50%, -50%);}

/* Kring logo for kring events without an image, see _partials/thumbnail.html */
.thepostthumbnail.kringlogo {position: relative; width: 100%; max-width: 600px; aspect-ratio: 5 / 3; background: #00a8db; container-type: inline-size; overflow: hidden;}
.thepostthumbnail.kringlogo > a,
.thepostthumbnail.kringlogo .kringlogo-inner {position: absolute; inset: 0;}
.thepostthumbnail.kringlogo .kringlogo-inner {display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-family: 'Roboto', sans-serif; text-decoration: none;}
.kringlogo-vrijburg {display: block; width: 62%; aspect-ratio: 500 / 236; margin-bottom: -1cqw; background: url(/img/vrijburglogo.png) no-repeat center / contain;}
.kringlogo-sub {display: block; width: 52%; padding-top: 2.5cqw; border-top: 1px solid rgba(255, 255, 255, 0.8); font-size: 4.2cqw; line-height: 1.3; letter-spacing: 0.01em;}
.kringlogo-kring {display: block; margin-top: 4cqw; font-size: 15cqw; line-height: 1; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; padding-left: 0.12em;}
.tax-eventcategory #page .thepostthumbnail.kringlogo {aspect-ratio: 5 / 3; max-width: none; background: #00a8db;}
.tax-eventcategory #page .kringlogo-vrijburg {width: 46%; margin-bottom: -0.5cqw;}
.tax-eventcategory #page .kringlogo-sub {width: 40%; padding-top: 2cqw; font-size: 3.3cqw;}
.tax-eventcategory #page .kringlogo-kring {margin-top: 2cqw; font-size: 12cqw;}
.single #page .thepostthumbnail.kringlogo {margin-bottom: 1.1em; max-width: none; float: none;}
.single #page .kringlogo-vrijburg {width: 46%; margin-bottom: -0.5cqw;}
.single #page .kringlogo-sub {width: 40%; padding-top: 2cqw; font-size: 3.3cqw;}
.single #page .kringlogo-kring {margin-top: 2cqw; font-size: 12cqw;}
.thepostthumbnail.overlay img {opacity: 0.3; margin: 0 auto;}
.single #page .author + .thepostthumbnail {margin-top: -10px; margin-bottom: 2em;}

.tax-eventcategory #page #primary article {padding-top: 0px; position: relative;}
.tax-eventcategory #page .thepostthumbnail {background: gray; position: relative; width: calc(100% + 60px); margin: 0 -30px 15px; overflow: hidden; height: auto; padding-top: 0; aspect-ratio: 5 / 3;}
.tax-eventcategory #page .thepostthumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: 0;
    object-fit: cover;
    transform: none;
}
.tax-eventcategory #page .entry-summary {margin-left: 0; margin-top: 0; min-height: 0;}
.tax-eventcategory #page article h1, .tax-eventcategory #page article h2.entry-title {font-size: 26px; margin-top: 25px; margin-bottom: 5px;}
.tax-eventcategory #page article p {margin-bottom: 1em;}
.tax-eventcategory #page .date:last-child {margin-top: 0;}
.tax-eventcategory #page article p.clamp {display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; margin-bottom: 1lh; text-wrap: pretty;}
/* The whole agenda card is clickable through its Lees verder link */
.tax-eventcategory #page #primary article .entry-summary > .arrowafter::before {content: ""; position: absolute; inset: 0; z-index: 1;}
.tax-eventcategory #page #primary article .entry-summary > .arrowafter:hover {text-decoration: none;}
@media (min-width: 992px) {
    /* Cards in a row of the agenda are equally high */
    .tax-eventcategory #content .row {display: flex; flex-wrap: wrap;}
    .tax-eventcategory #content .row::before,
    .tax-eventcategory #content .row::after {display: none;}
    .tax-eventcategory #content .row > .col-md-4 {display: flex;}
    .tax-eventcategory #content .row > .col-md-4 > article {flex: 1; width: 100%; display: flex; flex-direction: column;}
    .tax-eventcategory #content .row > .col-md-4 > article .entry-summary {flex: 1; display: flex; flex-direction: column; overflow-wrap: anywhere;}
    .tax-eventcategory #content .row > .col-md-4 > article .entry-summary > .arrowafter {margin-top: auto; align-self: flex-start;}
}

.wp-caption {max-width: 100%!important;}
.wp-caption-text {font-style: italic; padding-top: 3px; font-size: 16px;}
article > *:last-child,
.entry-summary > *:last-child,
.entry-content > *:last-child {margin-bottom: 0!important;}
.alignleft {float: left; margin-right: 20px;}
.alignright {float: right; margin-left: 20px;}


.gallery img {border: 0!important;}

#eventdetails {margin-bottom: 2.0em; margin-top: -0.3em; margin-left: -1px; margin-right: -1px;}
#eventdetails > div {padding: 0 1px; font-size: 15px; line-height: 1.4em;}
#eventdetails > div > div {background: #ececec; padding: 10px 15px;}

#content .ginput_container ul {margin: 0;}
.gfield_radio label {display: inline!important;}
div.ginput_container_name span.name_last {padding-right: 0;}

.thepostthumbnail {width: fit-content;}
.entry-summary {clear: both;}
.thepostthumbnail.audioicon {position: relative;}
.thepostthumbnail.audioicon::after {content: ""; position: absolute; left: 50%; top: calc(50% - 5px); width: 60px; height: 60px; transform: translate(-50%,-50%); background: var(--blue); border-radius: 100%;}
.thepostthumbnail.audioicon a::after {content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url('../img/audio.svg') center calc(50% - 5px) / 35px auto no-repeat; z-index: 2;}
.single .thepostthumbnail a {cursor: default;}

.youtube-video-gallery {display: flex; flex-wrap: wrap;}
.youtube-video-gallery iframe {width: 47%; margin-right: 3%; margin-bottom: 3%; height: 20rem;}

#secondary figcaption {margin-top: 0.5rem;}
#secondary p:last-child {margin-bottom: 0;}

@media (min-width: 1199px) {
	.archive .thepostthumbnail.audioicon, .home .thepostthumbnail.audioicon {position: absolute;}
	.archive .thepostthumbnail.audioicon a, .home .thepostthumbnail.audioicon a {display: block; position: absolute; width: 100%; height: 100%;}
    .archive .entry-summary, .home .entry-summary {margin-top: -10px;}
    .archive article.has-post-thumbnail .entry-summary,
    .home article.has-post-thumbnail .entry-summary {margin-left: 220px; min-height: 200px;}
    .archive .has-post-thumbnail .thepostthumbnail,
    .home .has-post-thumbnail .thepostthumbnail {position: absolute; width: 200px; height: 200px; margin-top: -10px; background: gray; overflow: hidden;}
    .archive .has-post-thumbnail .thepostthumbnail.kringlogo,
    .home .has-post-thumbnail .thepostthumbnail.kringlogo {background: #00a8db;}
    .archive .has-post-thumbnail .thepostthumbnail img,
    .home .has-post-thumbnail .thepostthumbnail img {position: relative; left: 50%; height: 100%; width: auto; min-width: 100%; max-width: none;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
		object-fit: cover;
    }
}

@media (max-width: 1199px) {
    #mainmenu #site-navigation ul li:nth-child(5) {display: none;}
    #mainmenu #site-navigation ul li a {margin-left: 35px;}
}
@media (max-width: 991px) {
    #mainmenu #site-navigation ul {display: none; z-index: 99; position: absolute; left: 0; width: 100%; background: var(--blue); margin: 100px 0 0; border-top: 1px dotted white; padding: 20px 0 35px; overflow: hidden;}
    #mainmenu #site-navigation ul li, #mainmenu #site-navigation ul li a {display: block; height: 40px; line-height: 40px; float: none; text-align: center; margin-left: 0px; position: relative;}
    #mainmenu #site-navigation .menu-toggle {padding: 0; border: 0; display: block; position: absolute; margin-top: 30px; margin-left: 17px; left: 15px; background: var(--blue)!important;}
    #mainmenu #site-navigation .menu-toggle span,
    #mainmenu #site-navigation .menu-toggle span::before,
    #mainmenu #site-navigation .menu-toggle span::after {content: ""; height: 4px; border-radius: 2px; background: white; display: block; width: 30px;}
    #mainmenu #site-navigation .menu-toggle span::before {position: absolute; margin-top: -10px;}
    #mainmenu #site-navigation .menu-toggle span::after {position: absolute; margin-top: 10px;}
    #mainmenu #site-navigation .search-toggle {padding: 0; border: 0; cursor: pointer; width: 30px; display: block; position: absolute; margin-top: 28px; margin-right: 14px; right: 15px; background: var(--blue)!important;}
    #mainmenu #site-navigation .search-toggle img {width: 30px; margin-top: 5px; height: auto;}
    #mainmenu #site-navigation .search-toggle span {display: none;}
    #mainmenu #site-navigation .search-toggle span,
    #mainmenu #site-navigation .search-toggle span::after {right: 0; position: absolute; width: 30px; height: 4px; border-radius: 2px; background: white; transform: rotate(45deg);}
    #mainmenu #site-navigation .search-toggle span::after {content: ""; transform: rotate(-90deg);}
    #mainmenu #site-navigation ul li:last-child a {margin: 15px 32px 0; width: calc(100% - 64px)}
    #premenu ul {float: left;}
    #mainmenu hgroup {left: 50%;
        -webkit-transform: translateX(-52%);
        -ms-transform: translateX(-52%);
        transform: translateX(-52%);
    }
    #precontent .widget_media_image {width: 100%;}
    #page #precontent .widget_media_image img {margin: -15px auto 25px;}
    #precontent .widget_text {width: 100%; float: none; text-align: center;}
    #precontent .widget_nav_menu {width: 100%; float: none;}
    #precontent .widget_nav_menu > div {width: 100%; margin: 0;}
    #premenu #search {margin-bottom: 8px!important; display: none; max-width: none;}
    #colophon h3 {margin-top: 60px;}
	.home #secondary {padding-top: 0px; margin-top: 120px;}
}
@media (max-width: 650px) {
    #premenu #search {width: 100%; height: 40px; line-height: 40px; padding-right: 40px; padding-left: 10px; background-position: calc(100% - 10px) center; background-size: auto 60%;}
}
@media (max-width: 480px) {
    #premenu .container {padding: 0 5px;}
    #premenu ul li a {padding: 0 10px;}
    #precontent .widget_text {text-align: left;}
    #page .container {padding-left: 10px; padding-right: 10px;}
    #page .row {margin-left: -10px; margin-right: -10px;}
    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
        padding-right: 10px!important;
        padding-left: 10px!important;
    }
    #primary article, #secondary aside, .wikimenu {padding-left: 15px; padding-right: 15px;}
    #mainmenu #site-navigation .menu-toggle {margin-left: 0px;}
    #mainmenu #site-navigation .search-toggle {margin-right: 0px;}
    .tax-eventcategory #page .thepostthumbnail {width: calc(100% + 30px); margin: 0 -15px 15px;}
    #page #colophon .container {padding-left: 15px; padding-right: 15px;}
    .breadcrumbs {margin-left: 5px;}
}
@media (max-width: 390px) {
    #premenu .container {padding: 0;}
    #premenu #search {width: calc(100% - 16px); margin-right: 8px;}
    #premenu ul li a {font-size: 15px;}
}
@media (max-width: 370px) {
    #premenu ul li a {font-size: 14px;}
}
#secondary .widget_media_image > a, #secondary .widget_media_image > img {margin: -20px; display: block; position: relative; width: calc(100% + 40px); max-width: calc(100% + 40px)!important;}
@media (max-width: 480px) {#secondary .widget_media_image > a, #secondary .widget_media_image > img {margin: -20px -15px; width: calc(100% + 30px); max-width: calc(100% + 30px)!important;}}

/* author banner and custom SoundCloud player on podcast posts */
.authorbanner {margin: 0 0 20px;}
.authorbanner img {display: block; width: 100%; height: auto;}
.podcastplayer {--pp-bg: #8e3f73; position: relative; margin: 20px 0 30px; color: white;}
.podcastplayer-banner {display: block; margin-bottom: 12px;}
.podcastplayer-banner img {display: block; width: 100%; height: auto;}
.podcastplayer-main {display: flex; gap: 24px; align-items: center; padding: 24px; border-radius: 12px; background: linear-gradient(to bottom, #c8063a 0%, #8e3f73 55%, #3a8fcb 100%);}
.podcastplayer-main > img {flex: none; width: 190px; height: 190px; object-fit: cover; border-radius: 6px; background: rgba(0,0,0,.2); box-shadow: 0 9px 9px 0 rgba(0,0,0,.1), 0 0 29px 0 rgba(0,0,0,.15);}
.podcastplayer-body {flex: 1; min-width: 0;}
.podcastplayer-title {font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 6px;}
.podcastplayer-meta {font-size: 14px; line-height: 1.3; opacity: .75;}
.podcastplayer-controls {display: flex; align-items: center; gap: 16px; margin-top: 24px;}
#page .podcastplayer button.podcastplayer-play {flex: none; position: relative; width: 52px; height: 52px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: white; box-shadow: none; cursor: pointer; opacity: .5; transition: opacity .2s, transform .1s;}
#page .podcastplayer.ready button.podcastplayer-play {opacity: 1;}
#page .podcastplayer button.podcastplayer-play:hover {background: white; transform: scale(1.06);}
.podcastplayer-play > span {position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-left: 18px solid var(--pp-bg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; transform: translate(calc(-50% + 2px), -50%);}
.podcastplayer.playing .podcastplayer-play > span {width: 16px; height: 18px; border: 0; border-left: 5px solid var(--pp-bg); border-right: 5px solid var(--pp-bg); transform: translate(-50%, -50%);}
.podcastplayer-progress {flex: 1; position: relative; height: 3px; border-radius: 3px; background: rgba(255,255,255,.4); cursor: pointer; touch-action: none;}
.podcastplayer-progress::before {content: ""; position: absolute; inset: -10px 0;}
.podcastplayer-progress > div {position: relative; width: 0; height: 100%; border-radius: 3px; background: white;}
.podcastplayer-progress > div::after {content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(0,0,0,.25); transform: scale(0); transition: transform .15s;}
.podcastplayer-progress:hover > div::after, .podcastplayer.dragging .podcastplayer-progress > div::after, .podcastplayer.playing .podcastplayer-progress > div::after {transform: scale(1);}
.podcastplayer.dragging, .podcastplayer.dragging * {cursor: grabbing; user-select: none;}
.podcastplayer-time {flex: none; min-width: 48px; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right;}
#page .podcastplayer a.podcastplayer-soundcloud {display: inline-block; margin-top: 20px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; color: white; font-size: 14px; line-height: 1.4; transition: background .2s, color .2s;}
#page .podcastplayer a.podcastplayer-soundcloud:hover {background: white; color: black; mix-blend-mode: screen;}
.podcastplayer-widget {position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none;}
@media (max-width: 560px) {
	.podcastplayer-main {flex-direction: column; align-items: stretch; padding: 20px;}
	.podcastplayer-main > img {width: 100%; height: auto; aspect-ratio: 1;}
}

/* markdown tables without a header row */
.entry-content thead:not(:has(th:not(:empty))) { display: none; }

/* paragraphs holding several linked images (old WordPress galleries) lay them out side by side */
.entry-content p:has(> a:nth-of-type(2) > img) { display: flex; flex-wrap: wrap; gap: 8px; }
