/*
Theme Name: Stadsmid WP
Author: Dennis de Vogel | graphic design (c)
Author URI: https://dennisdevogel.com/
Description: A minimalist vanilla WordPress theme compatible with core WordPress functionality.
Version: 1.0
*/

* {
    /* margin: 0;
    padding: 0; */
    box-sizing: border-box;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
  	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 1.2em;
	font-smooth: auto;
	-moz-osx-font-smoothing: auto; 
	-webkit-font-smoothing: antialiased;
	background-color: black;
	color: white;
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

@media screen and (max-width: 750px) {
	h1 {
		font-family: "Bricolage Grotesque", sans-serif;
		font-weight: 400;
		font-style: normal;
		color: #00BAFF;
		padding-top: 20px;
		font-size: 2em;
	}
	h2 {
		font-family: "Bricolage Grotesque", sans-serif;
		font-weight: 400;
		font-style: normal;
		color: #FFB103;
		padding-top: 20px;
		font-size: 2em;
	}
}
@media screen and (min-width: 751px) {
	h1 {
		font-family: "Bricolage Grotesque", sans-serif;
		font-weight: 400;
		font-style: normal;
		color: #00BAFF;
		padding-top: 20px;
		font-size: 3em;
	}
	h2 {
		font-family: "Bricolage Grotesque", sans-serif;
		font-weight: 400;
		font-style: normal;
		color: #FFB103;
		padding-top: 20px;
		font-size: 3em;
	}
}
h3 {
	font-family: "Bricolage Grotesque", sans-serif;
	color: #00BAFF;
}

a:link { 
	text-decoration: none;
	color: currentcolor;
} 
a:visited { 
	text-decoration: none;
	color: currentcolor;
} 
a:hover { 
	text-decoration: none; 
	color: #00BAFF;
} 
a:active { 
	text-decoration: none;
	color: currentcolor;
}

p{
	padding: 0 5px 0 5px;
}

@media screen and (max-width: 750px) {
	header {
	background-color: black;
	/*max-height: 90px; UITGESCHAKELD WERKT HIER NIET CORRECT! */
	position: fixed;
    z-index: 999;
    width: 100%;
	}
}
@media screen and (min-width: 751px) {
	header {
	background-color: black;
	/*max-height: 90px; UITGESCHAKELD WERKT HIER NIET CORRECT! */
	position: fixed;
    z-index: 999;
    width: 100%;
	}
}

.navheader{
	max-width: 100%;
	height: 80px;
	/* set the navigation to the bottom of the navheader: */
	display: flex;
    justify-content: space-between;
	border-bottom: 1px solid white;
}

.viph-logo{
    background: url(images/stadsmid_woordmerk.svg);
    background-repeat: no-repeat;
    height: 65px;
    width: 300px;
    display: block;
    position: absolute;
    left: 20px;
    top: 10px;
	z-index: 1;
}

.nav-container {
    max-width: 80%;
    /*margin: 0 auto;*/
}

.nav-menu {
    list-style: none;
    display: flex;
    color: white;
    font-size: 20px;
    font-weight: 200;
	padding-right: 20px;
	margin-top: 0px;
}

.nav-menu ul {
	display: flex;
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    unicode-bidi: isolate;
}

.nav-menu li {
    display: inline;
}

.nav-menu a:link {
    color: white;
    text-decoration: none;
	font-weight: 600;
	height: 80px;
	padding-top:25px;
    padding-left: 1rem;
	padding-bottom: auto;
	padding-right: 1rem;
    display: block;
}

.nav-menu a:visited {
	color: white;
	height:80px;
}

.nav-menu a:hover {
	color: white;
	background-color:#FFB103;
	height:80px;
}

.nav-menu a:active {
	color: white;
	background-color: #00BAFF ;
	background: -webkit-linear-gradient(bottom, rgba(0, 186, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
	background: -o-linear-gradient(bottom, rgba(0, 186, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
	background: linear-gradient(to top, rgba(0, 186, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
	height:80px;
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
	color: white;
	background-color: #00BAFF ;
	background: -webkit-linear-gradient(bottom, rgba(0, 186, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
	background: -o-linear-gradient(bottom, rgba(0, 186, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
	background: linear-gradient(to top, rgba(0, 186, 255, 1) 0%, rgba(0, 64, 128, 1) 100%);
	height:80px;
}

.hamburger {
    display: none;
    font-size: 2.0rem;
	font-weight: 600;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding-left: 1.5rem;
	padding-top:20px;
}

/* Mobile Styles */
@media screen and (max-width: 1350px) {
    .hamburger {
        display: block;
        /*position: absolute;*/
        left: 1rem;
        top: 1rem;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: black;
        padding: 2rem 1rem 1rem 1rem;
        margin-top: -20px;
    }

    .nav-menu.active {
        display: flex;
		border-bottom: 1px solid white;
        padding-bottom: 30px;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }
	
	.nav-menu a:link {
		height: 40px;
	}
	
	.nav-menu a:hover { 
		color: #FFB103;
		background: none;
	}
	
	.nav-menu .current-menu-item a,
	.nav-menu .current_page_item a {
		color: #00BAFF;
		background: none;
	}
}


main {
	padding: 0 0 0 0;
	background-color:black;
	color: white;
	overflow:hidden;
}
@media screen and (max-width: 750px) {
	.main-content {
    max-width: 1200px;
    margin-left: 1rem;
	margin-right: 1rem;
	padding: 110px 0px 20px 0px;
	}
}

@media screen and (min-width: 751px) {
	.main-content {
    max-width: 1200px;
    margin-left: auto;
	margin-right: auto;
	padding: 130px 0px 20px 0px;
	}
}

/* Block Alignment Styles */
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    margin: 0 calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignwide {
    margin: 0 auto;
    max-width: 1400px;
    width: calc(100% - 40px);
}

/* Ensure blocks inside container respect parent */
.container .alignfull,
.container .alignwide {
    /* margin-left: 0; */
    /* margin-right: 0; */
}

.wp-block-button__link {
    color: black !important;
    background-color: #00BAFF;
    border-radius: 8px;
    box-shadow: none;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 1em;
}

footer {
	width:100%;
	color:white
}
footer .copyright {
	max-width: 1200px;
	margin: auto;
	background: none;
	color: white;
	padding: 0 0 0 0;
}
.below-footer{
	background-color: black;
}

.widget-area {
	color: white;
	max-width: 1200px;
	margin: auto;
	padding: 50px 0 50px 0;
}

/* Other elements from here : */

.wp-block-buttons .wp-block-button__link {
    width: 100%;
    color: white;
}

/* wp-block-search, the search block item in your editor */
.wp-block-search {
	padding: 20px 20px 20px 20px;
}
.wp-block-search__label{
	color:white;
}
.wp-block-search__input {
    appearance: none;
    border: 1px solid white;
    flex-grow: 1;
    margin-left: 0;
    margin-right: 0;
    min-width: 3rem;
    padding: 8px;
    text-decoration: unset !important;
	background-color: white;
}
.wp-block-search__button {
    margin-left: 20px;
    word-break: normal;
    border: 1px solid white;
    color: white;
    background-color: transparent;
}

/* Latest post list : 3 columns */
.wp-block-latest-posts.columns-3 li {
    width: calc(33.33333% - .83333em);
    background-color: black;
	border: 1px solid white;
	color: white;
}

.wp-block-latest-posts__featured-image{
	overflow: hidden;
    aspect-ratio: 1.8 / 1;
}

.wp-block-latest-posts, a:hover {
	color: #00BAFF;
}

.wp-block-latest-posts__post-title{
	padding: 0 10px 15px 10px;
	font-size: 1.4em;
	font-weight: 700;
	display: block;
}

.wp-block-latest-posts__post-title:hover{
	color: #00BAFF;
}

.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
    display: block;
    font-size: .8125em;
    padding: 0 10px 10px 10px !important;
}

.wp-block-latest-posts__post-excerpt{
	padding: 0 10px 0 10px;
}

@media screen and (max-width: 860px) {
	.wp-block-latest-posts.columns-3 li {
    	width: 100%;
    	background-color: #00BAFF;
		color: white;
	}
	.wp-block-latest-posts.is-grid li{
		margin: 0;
    	width: 100%;
	}
}

/* WP-Block-file: file download block in your editor */
.wp-block-file:not(.wp-element-button) {
    font-size: 1.25em;
    background-color: white;
    display: grid;
    padding: 20px;
	margin: 5px 0;
}

.wp-block-file *+.wp-block-file__button {
    margin: 0px;
	color: white;
	border-radius: 0px;
	background-color: #00BAFF;
}

/* WP-Block-social-links: Social links in the widget and other places */
.wp-block-social-links, .wp-block-social-links.has-normal-icon-size {
    font-size: 60px;
	gap: 0px;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
    display: inline-block;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
}



/* mytheme_setup_theme_colors, the block color editor in the Gutenberg editor */
/*tesxt color*/
.has-primary-green-color {
  background-color: #afca0b !important;
}
.has-secondary-green-color {
  background-color: #008d36 !important;
}
.has-primary-blue-color {
  background-color: #009fe3 !important;
}
.has-secondary-blue-color {
  background-color: #009b92 !important;
}
.has-brown-color {
  background-color: #634e42 !important;
}
.has-white-color {
  background-color: #ffffff !important;
}
.has-black-color {
  background-color: #000000 !important;
}
/* Backgrounds*/
.has-primary-green-background-color {
  background-color: #afca0b !important;
}
.has-secondary-green-background-color {
  background-color: #008d36 !important;
}
.has-primary-blue-background-color {
  background-color: #009fe3 !important;
}
.has-secondary-blue-background-color {
  background-color: #009b92 !important;
}
.has-brown-background-color {
  background-color: #634e42 !important;
}
.has-black-background-color {
  background-color: #000000 !important;
}

/* SEARCH FUNCTION */
.search-page-form {
	margin-bottom: 2rem;
    max-width: 50%;
    background-color: #009fe3;
    padding: 40px 20px 40px 20px;
}

.search-page-form .search-form {
	display: flex;
	gap: 0.5rem;
}

.search-page-form .search-field {
	flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
}

.search-page-form .search-submit {
    padding: 0.75rem 1.5rem;
    background: none;
    color: white;
    border: 1px solid white;
    cursor: pointer;
    font-weight: bold;
}

.search-page-form .search-submit:hover {
	background: #005a87;
}

/* FADE IN FUNCTION, SEE ALSO JS FILE */
.fade-in-bottom {
  opacity: 0;
  transform: translateY(50px); /* Start 50px lager */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-bottom.is-visible {
  opacity: 1;
  transform: translateY(0);
}