/* Activiteiten CSS */
#grey-bg {
	background: #efefef;
}
#sand-bg {
    background: #fff4e0;
}
#activiteiten {
	display: flex;
	flex-flow: row wrap;
}
#activiteiten.gridcontainer {
	width: 90vw;
	max-width: 90vw;
}
#activiteiten .col-3 {
	flex: 0 0 25%;
}
#activiteiten .col-3 #search-activiteit, #activiteiten .col-3 #datepicker {
    width: 260px;
    border: 2px solid #e94340;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 40px;
    font-size: 15px;
}
#activiteiten .col-9 {
	flex: 0 0 75%;
	flex-flow: row wrap;
}
#activiteiten .col-9 .page-title {
    padding-left: 10px;
    font-size: 80px;
    word-break: break-word;
}
#activiteiten .col-9 .intro-tekst {
    padding-left: 10px;
    font-size: 32px;
    line-height: 1.5em;
}
#activiteiten .grid {
    display: flex;
    flex-flow: row wrap;
    /*justify-content: space-between;*/
}
#activiteiten .gutter-sizer {
	width: calc(0% + 15px);
}
#activiteiten .grid-sizer {
	width: calc(33.3333%);
    padding: 10px;
} 
#activiteiten .activiteit {
	width: calc(33.3333%);
	margin-bottom: 15px;
    display: block;
    padding: 10px;
}
/*#activiteiten .activiteit:nth-child(3n+2) {
    flex: 0 0 calc(33.3333% - 10px);
    margin: 0 15px 15px
}*/
#activiteiten .activiteit.uitlichten .content {
    background: #e94243;
    color: #fff;
}
#activiteiten .activiteit.uitlichten .content h3 {
    color: #fff;
}
#activiteiten .activiteit.uitlichten .content .date .svg-icon, #activiteiten .activiteit.uitlichten .content .location .svg-icon {
	fill: #fff;
}
#activiteiten .activiteit .thumb-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
}
#activiteiten .activiteit.gedicht {
    margin-bottom: 0;
}
#activiteiten .activiteit .thumb-container.beige {
    background: #fff4e0;
}
#activiteiten .activiteit .thumb-container.geel {
    background: #fbba00;
}
#activiteiten .activiteit .thumb-container.rood {
    background: #e84242;
}
#activiteiten .activiteit .thumb-container.zwart {
    background: #384048;
}
#activiteiten .activiteit .thumb-container.beige h3 {
    color: #384048;
    position: absolute;
    top: 120px;
    width: 100%;
    padding: 0 40px;
    font-size: 26px;
    line-height: 34px;
}
#activiteiten .activiteit .thumb-container.geel h3 {
    color: #384048;
    position: absolute;
    top: 120px;
    width: 100%;
    padding: 0 40px;
    font-size: 26px;
    line-height: 34px;
}
#activiteiten .activiteit .thumb-container.rood h3 {
    color: #fff4e0;
    position: absolute;
    top: 120px;
    width: 100%;
    padding: 0 40px;
    font-size: 26px;
    line-height: 34px;
}
#activiteiten .activiteit .thumb-container.zwart h3 {
    color: #fff4e0;
    position: absolute;
    top: 120px;
    width: 100%;
    padding: 0 40px;
    font-size: 26px;
    line-height: 34px;
}
#activiteiten .activiteit .thumb-container h3 p {
    font-family: 'Mont-Bold';
}
#activiteiten .activiteit .thumb-container .lees-gedicht.zwart {
    color: #384048;
    font-family: 'Mont-Bold';
    font-size: 18px;
    left: 40px;
    bottom: 30px;
    position: absolute;
    padding-left: 30px;
    line-height: 30px;
}
#activiteiten .activiteit .thumb-container .lees-gedicht.zwart:hover {
    color: #e94242;
}
#activiteiten .activiteit .thumb-container .lees-gedicht.zwart:before {
    content: "";
    display: inline-block;
    width: 18px;
    background: url(/wp-content/themes/jbna/images/lees-meer-pijl-rood.png) no-repeat center center;
    height: 30px;
    background-size: contain;
    position: absolute;
    left: 0;
}
#activiteiten .activiteit .thumb-container .lees-gedicht.beige {
    color: #fff4e0;
    font-family: 'Mont-Bold';
    font-size: 18px;
    left: 40px;
    bottom: 30px;
    position: absolute;
    padding-left: 30px;
    line-height: 30px;
}
#activiteiten .activiteit .thumb-container .lees-gedicht.beige:hover {
    color: #fcba00;
}
#activiteiten .activiteit .thumb-container .lees-gedicht.beige:before {
    content: "";
    display: inline-block;
    width: 18px;
    background: url(/wp-content/themes/jbna/images/lees-meer-pijl-geel.png) no-repeat center center;
    height: 30px;
    background-size: contain;
    position: absolute;
    left: 0;
}

#activiteiten .activiteit .thumb-container img {
	display: block;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#activiteiten .activiteit .thumb-container img.veertje {
    border-radius: 0;
    width: 50px;
    height: auto;
    margin: 0 auto;
    top: 30px;
    cursor: default;
}
.verhalen#activiteit .absolute.gedicht {
    bottom: 0;
    transform: translate(0);
}
#activiteiten .activiteit .thumb-container .more-info {
    display: flex;
    position: absolute;
    top: 50%;
    left: -51%;
    transform: translateX(-50%) translateY(-50%);
    background: rgba(0,0,0,0.5);
    width: 100%;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: space-around;
    color: #fff;
	cursor: pointer;
    transition: all 0.5s cubic-bezier(0.65, 0.05, 0.36, 1) 0.1s;
    font-size: 24px;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
}
#activiteiten .activiteit:hover .thumb-container .more-info {
	left: 50%;
}
#activiteiten .activiteit .thumb-container .more-info:hover {
    background: rgba(235, 67, 64, 0.5);
}
#activiteiten .activiteit .thumb-container .verlopen {
    position: absolute;
    bottom: 0;
    font-size: 20px;
    background: rgba(57, 64, 72, 0.7);
    font-weight: 400;
     display: none; 
    text-align: center;
    width: 100%;
    color: #fff;
    padding: 10px 0;
}
#activiteiten .activiteit .thumb-container .verlopen.show {
    display: block;
}
#activiteiten .activiteit .content {
	background: #fff;
	padding: 20px;
	border-radius: 0 0 4px 4px;
    line-height: 35px;
}
#activiteiten .activiteit .content a:hover {
    text-decoration: underline;
}
#activiteiten .activiteit .content span:last-of-type {
    margin-bottom: 20px;
}
#activiteiten .activiteit .content .date {
    display: flex;
    margin-bottom: 0;
    margin-top: 0px;
    font-size: 15px;
    align-items: center;
}
#activiteiten .activiteit .content .date .svg-icon{
    fill: #394048;
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 5px;
}
#activiteiten .activiteit .content .location {
    display: flex;
    margin-bottom: 20px;
    margin-top: 0px;
    font-size: 15px;
    align-items: center;
}
#activiteiten .activiteit .content .location .svg-icon {
    fill: #394048;
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 5px;
}
#activiteiten .activiteit .content h3 {
	color: #394048;
    word-break: break-word;
}
#activiteiten .activiteit .content p {

}
#activiteiten .button-group .button {
    background: url(../jbna/images/Buttons-Large-Geel.png) no-repeat;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    font-weight: 900;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    border: none;
    margin-bottom: 10px;
    transition: all 0.4s;
    width: 260px;
    height: 60px;
    background-size: cover !important;
}
#activiteiten .button-group .button:hover {
    background: url('../jbna/images/Buttons-Large-Rood.png') no-repeat;
}
#activiteiten .button-group .button.is-checked {
    background: url('../jbna/images/Buttons-Large-Rood.png') no-repeat;
    pointer-events: none;
}

/* Single Activiteit */
#activiteit .et_pb_section {
    background: transparent;
}
#activiteit .diff-margin {
    margin-top: 36px!important;
    margin-bottom: 20px!important;
}
#activiteit .diff-margin h1 {
    font-size: 48px;
    word-break: break-word;
}
#activiteit .intro-tekst {
    font-size: 20px;
    line-height: 1.5em;
}
#activiteit .absolute {
    position: absolute;
    max-height: 550px;
    bottom: 0px;
    transform: translateY(50%);
    cursor: pointer;
    transition: filter 0.4s;
    height: 640px;
    max-width: 200%;
    object-fit: cover;
}
#activiteit .absolute:hover {
    filter: contrast(0.7);
    -webkit-filter: contrast(0.7);
}
#activiteit .back a {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #394048;
}
#activiteit .back a svg {
    width: 24px;
    height: 24px;
    fill: #394048;
    margin-right: 15px;
}
#activiteit .back a:hover {
    color: #e94243;
}
#activiteit .back a:hover svg {
    fill: #e94243;
}
#activiteit .bg-opacity {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
    display: none;
}
#activiteit .zoomed {
    position: fixed;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
}
#activiteit .zoomed img {
    position: relative;
    bottom: initial;
    transform: translateY(0);
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
    cursor: default;
    height: auto;
}
#activiteit .zoomed img:hover {
    filter: none;
}
.activiteit-tekstvlakken .et_pb_with_border {
    border-bottom: 1px solid #efefef;
}
.activiteit-tekstvlakken .et_pb_without_border:before {
    content: "";
    width: 65%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    background: #efefef;
}
.activiteit-tekstvlakken .et_pb_column_1_3.red_color {
    color: #e94243;
}
.activiteit-tekstvlakken .et_pb_column_2_3 ul {
    padding: 0 0 23px 1em;
    line-height: 26px;
    list-style-type: disc;
}
.activiteit-tekstvlakken #nextpreviouslinks {
    display: flex;
    justify-content: space-between;
}
.activiteit-tekstvlakken #nextpreviouslinks:after {
    display: none;
}

/* Datepicker CSS */

.ui-datepicker * {
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ui-datepicker table {
    width: calc(100% + 1px);
    font-size: 13px;
    margin: 0;
    border: none;
    border-collapse: collapse;
}

.ui-datepicker .ui-widget-header,
.ui-datepicker .ui-datepicker-header {
    background-image: none;
    border: none;
    color: #fff;
    font-weight: normal;
}

.ui-datepicker .ui-datepicker-header .ui-state-hover {
    background: transparent;
    border-color: transparent;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    text-align: center;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: relative;
    top: 0;
    height: 34px;
    width: 34px;
}

.ui-datepicker .ui-state-hover.ui-datepicker-prev,
.ui-datepicker .ui-state-hover.ui-datepicker-next {
    border: none;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-prev-hover {
    left: 0;
}

.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-next-hover {
    right: 0;
}

.ui-datepicker .ui-datepicker-next span,
.ui-datepicker .ui-datepicker-prev span {
    display: none;
}

.ui-datepicker .ui-datepicker-prev {
    float: left;
}

.ui-datepicker .ui-datepicker-next {
    float: right;
}

.ui-datepicker .ui-datepicker-prev:before,
.ui-datepicker .ui-datepicker-next:before {
    font: normal 20px/34px 'dashicons';
    padding-left: 7px;
    color: #fff;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 34px;
    height: 34px;
}

.ui-datepicker .ui-datepicker-prev:before {
    content: '\f341';
}

.ui-datepicker .ui-datepicker-next:before {
    content: '\f345';
}

.ui-datepicker .ui-datepicker-prev-hover:before,
.ui-datepicker .ui-datepicker-next-hover:before {
    opacity: 0.7;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 33%;
}

.ui-datepicker thead {
    color: #fff;
    font-weight: 600;
}

.ui-datepicker th {
    padding: 10px;
}

.ui-datepicker td {
    padding: 0;
    border: 1px solid #f4f4f4;
}

.ui-datepicker td.ui-datepicker-other-month {
    border: transparent;
    background: #eee;
}

.ui-datepicker tr:first-of-type td {
    border-top: 1px solid #f0f0f0;
    background: #eee;
}

.ui-datepicker td.ui-datepicker-week-end {
    background-color: #f4f4f4;
    border: 1px solid #f0f0f0;
}

.ui-datepicker td.ui-datepicker-today {
    background-color: #0691d3;
}

.ui-datepicker td.ui-datepicker-current-day {
    background: #009553;
}

.ui-datepicker td.ui-datepicker-today a {
    color: #ffffff;
    background: #394048;
}

.ui-datepicker td.ui-datepicker-current-day a {
    color: #ffffff;
    background: #fbbb00;
}


.ui-datepicker td .ui-state-default {
    background: #fff;
    border: none;
    text-align: center;
    text-decoration: none;
    width: auto;
    display: block;
    padding: 5px 10px;
    font-weight: normal;
    color: #444;
}

.ui-datepicker td.ui-state-disabled .ui-state-default {
    opacity: 1;
    background: #eee;
}

/* Default Color Scheme */
.ui-datepicker .ui-widget-header,
.ui-datepicker .ui-datepicker-header {
    background: #eb4340;
}

.ui-datepicker thead {
    background: #32373c;
}

.ui-datepicker td .ui-state-hover {
    background: #eb4340;
    color: #fff;
}

/* Responsive CSS Activiteiten */

@media screen and (max-width: 1440px) {
    #activiteiten .activiteit {
        width: calc(50%);
    }
    #activiteiten .grid-sizer {
        width: calc(50%);   
    }
    #activiteiten .button-group .button {
        width: 100%;
    }
    #activiteiten .col-9 {
        flex: 0 0 calc(75% - 20px);
        flex-flow: row wrap;
        margin-left: 20px;
    }
}

@media screen and (max-width: 980px) {
    #activiteiten .activiteit {
        width: 100%;
    }
    #activiteiten .col-3 {
        flex: 0 0 100%;
    }
    #activiteiten .col-9 {
        flex: 0 0 100%;
        margin-left: 0;
    }
    .button-group.filter-button-group {
        margin-bottom: 20px;
        display: flex;  
        justify-content: space-between;
        flex-flow: row wrap;
    }
    #activiteiten .button-group .button {
        display: inline-block;
        width: 49.5%;
    }
    #activiteiten .grid-sizer {
        width: 100%;   
    }
    #activiteiten .activiteit {
        padding: 0;
    }
    #activiteiten .activiteit .thumb-container {
        padding-top: 60%;
    }
	#activiteiten .activiteit.gedicht .thumb-container {
        padding-top: 100%;
		margin-bottom: 20px;
    }
	#activiteiten .activiteit.gedicht .thumb-container h3 {
		font-size: 20px !important;
		line-height: 30px !important;
	}
    #activiteiten .activiteit .content {
        min-height: initial;
    }
}