/*
Theme Name:     Remonstranten 2019
Description:    Custom theme for Remonstranten
Author:         Joost van der Schee
Author URI:     https://www.usecue.com
Version:        1.0.0
*/

:root {
    /* --main-bg-color: #015089; */
    /* --main-bg-color: #ce0032; */
}


@font-face {
 font-family:'ScalaSansOT';
 src:url(fonts/ScalaSansOT-Bold.eot);
 src:url(fonts/ScalaSansOT-Bold.eot?#iefix) format('embedded-opentype') ,
 url(fonts/ScalaSansOT-Bold.woff2) format('woff2') ,
 url(fonts/ScalaSansOT-Bold.woff) format('woff') ,
 url(fonts/ScalaSansOT-Bold.ttf) format('truetype') ,
 url(fonts/ScalaSansOT-Bold.svg#ScalaSansOT-Bold) format('svg');
 font-weight:700;
 font-style:normal;
 font-stretch:normal;
 unicode-range:U+0020-2666
}
@font-face {
 font-family:'ScalaSansOT';
 src:url(fonts/ScalaSansOT.eot);
 src:url(fonts/ScalaSansOT.eot?#iefix) format('embedded-opentype') ,
 url(fonts/ScalaSansOT.woff2) format('woff2') ,
 url(fonts/ScalaSansOT.woff) format('woff') ,
 url(fonts/ScalaSansOT.ttf) format('truetype') ,
 url(fonts/ScalaSansOT.svg#remo) format('svg');
 font-weight:400;
 font-style:normal;
 font-stretch:normal;
 unicode-range:U+0020-2666
}

  

* {padding: 0; margin: 0;}
html {overflow-y: scroll; font-size: 17px!important;}
body {background: #333!important; font-size: 17px;}
body #page {font-family:'ScalaSansOT'; line-height: 1.4em; font-size: 17px;}
#page a, a {color: #015089; text-decoration: none;}
#page h1, #page h2, #page h3 {font-weight: bold;}
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 {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;}
.gform_fields input, .gform_fields textarea {max-width: 100%;}
.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 h1 {font-size: 2.7rem; margin-bottom: 0.45em; line-height: 1.1; margin-top: 0.5rem;}
#page h2 {font-size: 1.7rem; margin-bottom: 0.35em; line-height: 1.1; padding-top: 0.6rem;}
#page h2:first-child {padding-top: 0.15em;}
#page h3 {font-size: 1.3rem; margin-bottom: 0.5em; line-height: 1.1;}


#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: #ce0032;
    color: white;
    font-weight: 500;
    height: 40px;
    border-radius: 4px;
    font-family:'ScalaSansOT';
    font-size: 16px;
    border: 2px solid #ce0032;
    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;}
#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 {margin-top: 10px;}
#page h1.site-title {margin: 0!important;}
#page h1:first-child + .date,
#page h1:first-child + .author {margin-top: -15px;}
.single #content article,
.page #content article {padding-bottom: 50px;}
#page h1, #page h2, #page h3 {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 {font-size: 33px;}
iframe {width: 100%; max-width: 100%;}
.browser {border: 1px solid #ddd;}
.btn {box-shadow: none!important;}
#cookie-notice .btn-primary {padding: 5px 15px; background: #ce0032; border: 0;}

#premenu {background: #111;}
#premenu #search {width: 137px; float: right; border: 0; margin-left: 17px; margin-bottom: 0!important; background: rgba(255,255,255,0.15) url('/wp-content/themes/remonstranten2019/img/search_gray.svg') calc(100% - 5px) center / auto 70% no-repeat; padding: 0 25px 0 5px; margin-top: 8px; border-radius: 4px; color: white;}
#premenu ul {float: right; overflow: auto; margin: 0; padding: 0;}
#premenu ul li {display: inline;}
#premenu ul li a {color: #b8b8b8; float: left; height: 40px; line-height: 40px; padding: 0 17px; font-size: 16px; font-weight: 500;}
#premenu ul li a:hover {background: #ce0032; color: white;}
#premenu ul li.current-menu-item a,
#premenu ul li.current_page_item a {background: #ce0032; color: white;}
#mainmenu {background: #ce0032; color: white; height: 100px; position: relative;}
#mainmenu h1 {margin: 0; padding: 0;}
#mainmenu hgroup {position: absolute;}
#mainmenu hgroup img {height: 66px; margin-top: 10px; 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: 37px; 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: #111;}
#mainmenu #site-navigation ul li:last-child a {background: #111; color: white; line-height: 36px; margin-top: 30px; padding: 0 20px; border-radius: 4px; border: 2px solid #111;}
#mainmenu #site-navigation ul li:last-child a:hover {color: #111; background: transparent;}
#mainmenu #site-navigation ul ul {display: none!important;}

#headerimage {height: 250px; background: url('/wp-content/themes/remonstranten2019/img/headerimage.jpg') center center / cover no-repeat;}
#headerimage > div {background: rgba(0, 0, 0, 0.5); position: relative; height: 250px;}
#headerimage > div > div {position: absolute; left: 50%; top: 50%; color: white; transform: translate(-50%, -50%); text-align: center;}

#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: 10px!important;}
#precontent .widget_nav_menu > div {background: #ce0032; 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: 18px;}
#precontent .widget_nav_menu > div ul li a:hover, #precontent .widget_nav_menu > div a:hover::after {color: #111;}
#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 #precontent h3, #page #colophon h3 {color: #333;}



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

#prefooter {background: #ce0032; padding: 50px 0 60px; color: white;}
#prefooter h2 {margin-top: 0px;}
#prefooter p {max-width: 800px; margin: 0 auto;}
#prefooter p a {color: #EEAE1F;}

.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: #111; 
    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('/wp-content/themes/remonstranten2019/img/play.svg') center center / contain no-repeat;
}
#page aside.blauw {color: white; background: #ce0032!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: #ce0032; 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;}
.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.45);}
#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: #ce0032;}

#colophon .gfield {height: 44px; position: relative; bottom: 4px;}
#colophon label {width: 100%; padding-left: 4px; color: #fff; pointer-events: none; position: absolute; z-index:2; margin-top: 0;}
#colophon .ginput_container_email {position: absolute; z-index: 1; margin-top: 0;}
#colophon .ginput_container_email.active {z-index: 3;}
#page label, #page input, #page textarea {font-size: 17px;}
#colophon input[type="text"] {background: #343434;}
#colophon input[type="text"], #colophon label {line-height: 38px; height: 38px;}
#page #colophon .gform_wrapper .gform_footer {padding-top: 6px}
#colophon .gfield_required {display: none;}

.thepostthumbnail.circle {position: relative; width: 200px; height: 200px; overflow: hidden; border-radius: 100px;}
.thepostthumbnail.circle img {width: auto; 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%);
}
.thepostthumbnail.rechts {float: right; margin-left: 30px;}
.thepostthumbnail.links {float: left; margin-right: 30px;}
.thepostthumbnail.midden {margin: 0 auto;}
.thepostthumbnail.midden img {margin: 0 auto;}
.thepostthumbnail.volledig img {width: 100%;}
.thepostthumbnail.geen {}
.thepostthumbnail.overlay {background: #ce0032!important;}
.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; overflow: hidden; height: auto; padding-top: 60%;}
.tax-eventcategory #page .thepostthumbnail img {
    position: absolute;
    left: 50%;
    width: 100%;
    height: auto;
    top: 50%;
    max-width: none;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.tax-eventcategory #page .entry-summary {margin-left: 0; margin-top: 0; min-height: 0;}
.tax-eventcategory #page article h1 {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;}

.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;}

#secondary .textwidget ul {margin-left: 1em;}
#secondary .textwidget ul li {list-style: initial;}
#secondary .blauw.widget_text a {color: white; text-decoration: underline;}

#secondary .textwidget ul.calendarlist {margin: 0;}
#secondary .textwidget ul.calendarlist li {list-style: none;}

#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;}


@media (min-width: 1199px) {
    .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 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: #ce0032; 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: #ce0032!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: #ce0032!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;}
}
@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;}
    #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;}
}