/* 
    Document   : EditYourWeb stylesheet
    Author     : Thar Design
    Description: Stylesheet for template Molen van Ootmarsum
*/

:root {
	--green: #243b2b;
	--gold: #b98423;
	--paper: #f5ecdb;
	--ink: #1b2119;
}

html,
body {
	font-size: 16px;
	background-color: var(--paper);
	margin: 0;
    min-height: 100%;
}

html {
	position: relative;
	min-height: 100%;
}

body {
	/* Margin bottom by footer height */
	color: var(--ink);
	font-family: "Merriweather", serif;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.graan {
	position: fixed;
	top: 0;
	bottom: 0;

	/* Responsieve breedte */
	width: clamp(90px, 11vw, 203px);

	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;

	pointer-events: none;
	z-index: 100;
}

.graan-links {
	left: 0;
	background-image: url("../img/graan-links.png");
}

.graan-rechts {
	right: 0;
	background-image: url("../img/graan-rechts.png");
}

/* Mobiel verbergen */
@media (max-width: 991px) {
	.graan {
		display: none;
	}
}

.divider-noheader {
	height: 40px;
	background-color: transparent;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 25px;
}

a {
	color: var(--ink);
}

.contents {
	/*make sure the footer is still on bottom */
	padding: 40px 0px;
    flex: 1;
}

/* Header styles*/
.header {
	background-color: var(--green);
}

#headerwrapper {
	margin: 0 auto;
	/* slideshow */
}

img.header-logo {
	position: absolute;
	background-color: var(--paper);
	z-index: 10;
	width: 250px;
	top: -1px;
	padding: 10px;
	border-radius: 0 0 30px 30px;
	box-shadow: 0 5px 10px -2px var(--green);
}

.header-logo-mob {
	display: none;
}


/* Related info containers */
.relatedinfo1 {
	/* margin: 100px 0px;
	text-align: center; */
}

.rel1-content {
	padding: 0px 15px;
}

.rel1-button {
	padding: 5px 15px;
	border-radius: 5px;
	margin-top: 10px;
	background-color: var(--gold);
	border: 0px var(--gold);
	font-size: 16px;
	color: #fff;
}

.rel1-button a {
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.rel1-button a span,
a.rel1-button span,
a.rel2-button span {
	display: inline-block;
	transition: transform 0.25s ease;
}

.rel1-button:hover a span,
a.rel1-button:hover span,
a.rel2-button:hover span {
	transform: translateX(5px);
}

.rel1-button:hover {
	background-color: var(--paper);
	border: 1px solid var(--gold);
	font-size: 16px;
	color: var(--ink);
}

/* Linkkleur wijzigen zodra de button wordt gehoverd */
.rel1-button:hover a {
	color: var(--ink);
	text-decoration: none;
}

a.rel2-button span {
	margin-left: 5px;
}

.rel1-img {
	-webkit-mask: url("..'/img/mask-links-vervagend-alpha.png") center / 100% 100% no-repeat;
	mask: url("../img/mask-links-vervagend-alpha.png") center / 100% 100% no-repeat;
}


.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* Tablet */
@media (max-width: 991px) {
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobiel */
@media (max-width: 767px) {
	.cards {
		grid-template-columns: 1fr;
	}
}

.card {
	background: #fffaf0dd;
	border-radius: 8px;
	padding: 9px;
	box-shadow: 0 5px 24px #4e392013
}

.card img {
	width: 100%;
	height: 195px;
	object-fit: cover;
	border-radius: 5px;
	display: block
}

.card-body {
	padding: 10px 15px 16px
}

.card h2 {
	font-size: 24px;
	margin: 4px 0 10px
}

.card p {
	font-size: 16px;
	line-height: 1.48;
	min-height: 74px
}

.card a,
.latest a {
	color: #a56a10;
	text-underline-offset: 5px;
	font-weight: bold
}

.relatedinfo3 {
	background: var(--green);
	padding: 20px 0;
	-webkit-mask: url("../img/mask-sectie-alpha.png") center / 200% 100% no-repeat;
	mask: url("../img/mask-sectie-alpha.png") center / 200% 100% no-repeat;
}

.rel3-content {
	color: #fff;
	padding: 70px 0px;
}

@media (max-width: 991px) {
	.rel3-content {
		padding: 100px 15px;
	}
}

.rel3-name {
	color: var(--gold);
	text-transform: uppercase;
}

.relatedinfo4 {
	background: var(--paper);
}

/* NEWS SNIPPET */
.newsmessage {
	padding: 25px 0 35px 0;
	display: inline-block;
}

.newsimage {
	margin-bottom: 20px;
	;
}

.newstitle {
	color: var(--ink);
	position: relative;
	margin-bottom: 5px;
	font-size: 24px;
	text-transform: uppercase;
	display: block;
	line-height: 1.2;
}

.newsmessage .content {
	padding: 20px;
}

.newsmessage .visible_date {
	margin-bottom: 10px;
	color: var(--gold);
	font-size: 16px;
}

.newsmessage .more {
	margin-top: 20px;
	font-size: 12px;
}

.relatedinfo5 {
	background-color: var(--green);
	color: #fff;
	padding: 30px 0px 60px;
	width: 100%;
}

.relatedinfo5 ul {
	list-style: none;
	padding-left: 0;
}

.relatedinfo5 h4 {
	text-transform: uppercase;
	font-weight: bold;
}

/* Footer Styles*/
.footer {
	position: relative;
	width: 100%;
	height: 45px;
	flex-shrink: 0;
}

.copyright {
	text-align: center;
	padding-top: 0.5em;
	background-color: #172c20;
	height: 45px;
	color: #fff;
}

/*
* Default Style Overrides
*/
.header>.container>.navbar-transparent {
	background: none !important;
	border: none !important;
}

.navbar-nav>li>a {
	font-size: 0.9em !important;
	color: #fff;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus {
	color: var(--gold);
	background: none;
}

.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
	background: none;
}

@media (min-width: 1200px) {
	.nav>li>a {
		padding: 15px;
	}
}

.navbar {
	position: relative;
	z-index: 8;
}

.navbar {
	margin-bottom: 0px;
}

.navbar-nav {
	margin: 10px 0 20px;
}

.navbar-nav>li {
	margin-top: 8px;
}

.navbar-nav>li>a {
	padding-bottom: 10px;
	padding-top: 10px;
	text-transform: uppercase;
}

.navbar-nav>li.active>a {
	color: var(--paper);
	font-size: 20px;
	text-decoration: none;
}

.navbar-nav>li.childactive>a {
	color: var(--green);
	font-size: 20px;
	text-decoration: none;
	font-weight: bold;
}

@media(min-width:992px) and (max-width:1199px) {
	.nav>li>a {
		padding: 10px;
		font-size: 0.8em !important;
	}
}
/* Open default child menus */
.header .dropdown-menu {
	background-color: var(--green);
}

.navbar-nav li p {
	padding-bottom: 5px;
	padding-top: 5px;
	font-size: 150%;
	background-color: #999;
	width: 20px;
	text-align: center;
	margin: 0px;
}

.sub_menu li a {
	color: var(--ink);
}

.dropdown>.dropdown-menu {
	left: 0;
}

.navbar-nav>li>.dropdown-menu {
	margin-top: -5px;
}

.dropdown-menu>li>a {
	color: #fff;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
	background-color: inherit;
	color: #eee;
}

.dropdown>.dropdown-menu .dropdown-menu {
	left: 100%;
	top: 0;
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
	background-color: inherit;
}

.navbar-nav>li.childactive>a {
	color: #fff;
	font-weight: inherit;
}

@media (min-width: 992px) {
	.Text {
		font-size: 30px;
		left: 65%;
	}

	.Button {
		left: 65%;
	}
}

.showmobile {
	display: none;
}

.hidemobile {
	display: block;
}

/* == SLIDESHOW > HEADER == */
/* >>Arrows: different content */
.slick-prev:before {
	content: "\f104";
}

[dir='rtl'] .slick-prev:before {
	content: "\f105";
}

.slick-next:before {
	content: "\f105";
}

[dir='rtl'] .slick-next:before {
	content: "\f104";
}

.slick-next {
	right: 5px;
}

.slick-prev {
	left: 5px;
}

/* >>Dots: different colors */
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
	opacity: .75;
}

.slick-dots li button:before {
	opacity: 1;
	color: #ffffff;
}

.slick-dots li.slick-active button:before {
	opacity: 1;
	color: var(--gold);
}

/* Sliders */
.carrousel-grid {
	padding: 15px 0px 75px;
}

.ug-thumb-wrapper.ug-tile {
	background-color: #fff !important;
}

/* Buttons */
.btn-warning {
	color: #0F4F26;
	background-color: #D8A300;
	border-color: #D8A300;
	border-radius: 5px;
}

.btn-warning.focus,
.btn-warning:focus {
	color: #fff;
	background-color: #0F4F26;
	border-color: #0F4F26;
}

.btn-warning:hover {
	color: #fff;
	background-color: #0F4F26;
	border-color: #0F4F26;
}

.submit .btn {
	color: #fff;
	background-color: #5cb85c;
	border-color: #4cae4c;
}

/* Scroll-to-top */
.scroll-top-wrapper {
	position: fixed;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	text-align: center;
	z-index: 99999999;
	background: #0F4F26;
	color: rgba(255, 255, 255, 1);
	border-radius: 0px;
	right: 30px;
	bottom: 55px;
	height: 60px;
	width: 60px;
	border: 1px solid #fff;
	line-height: 60px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.scroll-top-wrapper:hover {
	color: #fff;
}

.scroll-top-wrapper.show {
	visibility: visible;
	cursor: pointer;
	opacity: 1.0;
}

i.fa.fa-angle-double-up {
	line-height: inherit;
	font-size: 2em;
}

/* Media Queries */
@media(max-width:1199px) {
	h1 {
		font-size: 50px;
	}
}

@media(max-width:991px) {
	.footer {
		height: 35px;
	}

	.navbar-nav {
		margin-left: 0px;
		float: none !important;
		margin-top: 7.5px;
	}

	.header>.container>.navbar {
		height: auto;
	}

	.nav {
		border-top: 1px solid #eee !important;
	}

	.nav>li {
		border-bottom: 1px solid #eee !important;
	}

	.navbar-header {
		float: none;
	}

	.navbar-left,
	.navbar-right {
		float: none !important;
	}

	.navbar-toggle {
		display: block;
		float: left;
	}

	.navbar-collapse {
		border-top: 1px solid transparent;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	}

	.navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}

	.navbar-collapse.collapse {
		display: none !important;
	}

	.navbar-nav>li {
		float: none;
		display: list-item;
		width: 100%;
	}

	.navbar-nav>li>a {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.collapse.in {
		display: block !important;
	}

	.header-logo-mob {
		display: block;
	}

	.relatedinfo1 {
		margin: 50px 0px;
	}

	.carrousel-grid {
		padding: 0px 0px 50px;
	}

	.event_content {
		margin-left: 15px;
	}

	.event_date,
	.event_title {
		font-size: 16px;
	}

	.event_title {
		margin-left: 10px;
	}

	.event_more {
		margin-bottom: 15px;
	}

	.event_next:before {
		font-size: 30px;
		padding: 5px;
	}

	.col-xs-12.col-md-6.pull-left {
		margin-top: 0px;
	}
}

@media(max-width:767px) {

	html,
	body {
		font-size: 16px;
	}

	.showmobile {
		display: block;
	}

	.hidemobile {
		display: none;
	}

	.scroll-top-wrapper {
		right: 0px;
		bottom: 0px;
	}

	h1 {
		font-size: 45px;
	}
}

@media(min-width:576px) and (max-width: 991px) {
	img.header-logo-mob {
		width: 250px;
		position: relative;
		left: 15%;
		margin: 10px 0px;
	}
}

@media(max-width:575px) {
	img.header-logo-mob {
		position: relative;
		left: 20%;
		margin: 10px 0px;
		width: 150px;
	}

	.relatedinfo5 {
		padding: 50px 0px 0px;
	}

	h1 {
		font-size: 40px;
	}
}


/* >>Captions: correspond with captionTypes in Settings */
.slick-slide .caption {
	color: #ffffff;
	padding: 8px 15px;
	font-size: 45px;
}

.caption.top-right {
	font-size: 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
	top: 20%;
	right: 5%;
}

.caption.bottom-right {
	font-size: 20px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
	top: 30%;
	right: 5%;
	line-height: 50px;
}

@media (max-width: 991px) {
	.caption.top-right {
		top: 10%;
		font-size: 25px;
	}

	.caption.bottom-right {
		font-size: 18px;
	}
}

@media (max-width: 650px) {
	.caption.top-right {
		font-size: 20px;
	}

	.caption.bottom-right {
		font-size: 16px;
	}
}

@media (max-width: 500px) {

	.slick-dots,
	.slick-arrow,
	.caption.top-right,
	.caption.bottom-right {
		display: none !important;
	}
}

.youtube-video {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.btn-default,
.btn-default.focus,.btn-default:focus,
.btn-default:hover,
.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default,
.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover {
    color: var(--ink);
    background-color: var(--paper);
    border-color: var(--gold);
}