body,
html {
margin: 0;
padding: 0;
font-optical-sizing: auto;
scroll-behavior: smooth;
}
body {
overflow: auto;
position: relative;
min-height: 100dvh;
& :target{
scroll-margin-top: 30px;
}
}
* {
box-sizing: border-box;
z-index: 1;
}
a {
transition: all .2s;
&:hover{ }
} .skip-link {
z-index: 999;
position: fixed;
display: flex;
top: 0;
left: 0;
justify-content: center;
align-items: center;
padding: 1em;
font-size: var(--wp--preset--font-size--default);
background-color: var(--wp--preset--color--white);
border: 2px solid var(--wp--preset--color--white);
transform: translateX(-101%) translateY(50px);
transition: transform .3s ease !important;
}
.skip-link:active,
.skip-link:focus {
transform: translateX(50px) translateY(50px);
}
button:focus,
input:focus,
a:focus {
outline: 2px dashed #000;
z-index: 1010;
outline-offset: 0;
-webkit-box-shadow: 0 0 0 2px #fff;
box-shadow: 0 0 0 2px #fff;
}
main a:hover,
footer a:hover {
text-decoration: underline;
}
a:not([href]) {
pointer-events: none;
} body>main { display: flex;
flex-direction: column;
&>* {
margin-inline: max(calc((100% - var(--wp--style--global--content-size)) / 2), 12px);
}
&>.alignfull {
margin-inline: 0;
}
&>.aligncenter {
margin-inline: auto;
}
& .paginate {
text-align: center;
padding: 1em;
& .page-numbers{
padding:0.25em 0.5em;
border-radius:10px;
border:1px solid var(--wp--preset--color--blauw);
text-decoration: none;
color:var(--wp--preset--color--blauw);
&:hover{
color:var(--wp--preset--color--wit);
background-color:var(--wp--preset--color--oranje);
border:1px solid var(--wp--preset--color--oranje);
}
}
& .page-numbers.current{            
color:var(--wp--preset--color--wit);
background-color:var(--wp--preset--color--oranje);
border:1px solid var(--wp--preset--color--oranje);
}
}
}
.hide-on-mobile {
display: none;
}
body.menu-open {
main {
opacity: 0;
}
& #topbar {
height: 0;
overflow: hidden;
}
& #main-menu {
display: block!important;
position: fixed;
inset: 0;
z-index: 1000;
background: white;
margin: 150px 0 0 0;
padding: 12px 5%;
}
#mobile-menu {
transform: rotate(90deg);
}
[class*="icon-"] {
background-position: top 5px left;
}
}
body>header, 
body>section.subheader {
background-color: var(--wp--preset--color--white);
font-size: var(--wp--preset--font-size--small);
font-weight: 300;
& #topbar-menu,
#cta,
#main-menu {
display: none;
}
& #search {
width: 20px;
aspect-ratio: 1 / 1;
color: transparent;
background: url(//www.aangetekendmailen.nl/wp-content/themes/aangetekend/images/search.svg) center center / contain no-repeat;
}
& a {
text-decoration: none;
color: inherit;
line-height: 1em;
&:hover{
text-decoration:underline;
}
}
& nav {
margin-inline: max(calc((100% - var(--wp--style--global--wide-size)) / 2), 12px);
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: stretch;
gap: 1rem;
&>* {
display: flex;
align-items: center;
list-style-type: none;
padding: 0;
gap: 1rem;
}
& ul,li{
list-style-type: none;
padding: 0;
}
}
& #topbar-tab-menu {
gap: 2px;
margin: .5rem 0 0 0;
align-items: flex-end;
& li {
& a {
display: block;
padding: 10px clamp(3px, 2vw, 20px) 4px clamp(3px, 2vw, 20px);
border-radius: 12px 12px 0 0;
}
&.current_page_item a,
&.current-page-ancestor a,
&.current-menu-item a,
:hover {
background: white;
}
}
&:not(:has(.current_page_item, .current-page-ancestor, .current-menu-item)) li:first-child a {
background-color: var(--wp--preset--color--white);
}
}
& #logobar {
padding-block: 1rem;
}
& .custom-logo {
height: clamp(48px, 5vw, 88px);
}
#mobile-menu {
height: 32px;
aspect-ratio: 1 / 1;
background: url(//www.aangetekendmailen.nl/wp-content/themes/aangetekend/images/icon-menu.svg) center center / contain no-repeat;
color: transparent;
margin-block: auto;
transition: transform .2s ease-out;
}
}
body.is-consument>header {
position: sticky;
top: -1;
background-color: var(--wp--preset--color--white);
z-index:10;
& img{
max-height: 100px;
transition: max-height .2s ease-in;
}
& .wp-block-button a{
display: inline-block;
text-wrap-mode: nowrap;
}
}
body.is-consument.has-sticky-header header img{
max-height: 60px;
}
.wp-block-button.in-view {
animation: fadeIn;
animation-duration: 2s;
}
p.in-view,
.wp-block-heading.in-view {
opacity: 0;
animation: 0.5s fadeIn 0.25s forwards;
}
body.search{
& .search-container form{
display: flex;
height: 3rem;
& input{
font-family: var(--wp--preset--font-family--overpass);
font-size: var(--wp--preset--font-size--default);
text-align: start;
color: var(--wp--preset--color--blauw);
line-height: 1.3em;
padding-inline: .5rem;
border: 0;
}
& input[type="text"]{
border: 1px solid var(--wp--preset--color--oranje);
border-right: 0;
border-radius: 0.5rem 0 0 0.5rem;
}
& input[type="submit"]{
color: white;
background: transparent;
position: relative;
display: inline-block;
padding-inline: 2em;
background-color: var(--wp--preset--color--oranje);
border-radius: 0 0.5rem 0.5rem 0;
}
}
article:first-of-type{
margin-top: 3rem;
}
& article + article{
border-top: 1px solid var(--wp--preset--color--blauw);
padding-top: 1rem;
}
& a{
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
}
footer {
display: grid;
grid-template-columns: 1fr;
gap: 0;
padding: 5rem max(calc((100% - var(--wp--style--global--wide-size)) / 2), 12px) 5rem;
& ul {
margin: 0;
padding: 0;
list-style-type: none;
& a {
text-decoration: none;
}
}
&>nav>ul {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: clamp(1rem, 4vw, 3rem) 1rem;
&>li>a {
font-size: var(--wp--preset--font-size--default);
font-weight: 700;
letter-spacing: -0.07em;
color: var(--wp--preset--color--blauw);
}
& ul a {
font-weight: 300;
font-size: var(--wp--preset--font-size--small);
color: var(--wp--preset--color--blauw-donker);
}
}
}
.copyright{
padding: 1rem max(calc((100% - var(--wp--style--global--wide-size)) / 2), 12px) 1rem;
display:grid;
grid-template-columns:1fr;
align-items: center;
& ul {
margin: 0;
padding: 0;
list-style-type: none;
& a {
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
}
&>.custom-logo-link {
display: inline-block;
text-align: center;  
& img {
max-height: 50px;
max-width: 200px;
}
}
&>#copyright-menu {
display: flex;
gap: 1rem;
font-size: 14px;
justify-content: center;
& a {
color: var(--wp--preset--color--blauw);
}
}
}
.beautiful-taxonomy-filters{
background-color: var(--wp--preset--color--lichtblauw-40);
border-radius: 10px;
padding: 0.5em;
margin-bottom:1em;
& #beautiful-taxonomy-filters-form{
margin:0;
display:flex;
flex-direction: column;
gap:0.5em;
& .beautiful-taxonomy-filters-select-wrap{
display:flex;
flex-direction: column;
width: 100%;
gap:0.5em;            
& .beautiful-taxonomy-filters-tax{
flex-grow:1;
& select{
width:100%;
padding:0.5em;
border-radius: 5px;
border-color:var(--wp--preset--color--lichtblauw);
color:var(--wp--preset--color--blauw);
}
& label {
display:none;
}
}
}
& button{
background-color: var(--wp--preset--color--oranje);
color:var(--wp--preset--color--wit);
padding:0.5em 2em;
border-radius: 5px;
border:0;
}
}
} .page-template-page-postnl{
& section.subheader,footer,.rank-math-breadcrumb{
display:none;
}
} #rank-math-faq .rank-math-list-item {
margin-bottom: 1em;
margin-top: 1em;
border-bottom: 1px solid #fff;
}
.rank-math-question {
cursor: pointer;
position: relative;
display: block;
padding-right: 1em;
margin-right: 1em;
font-weight: 300;
margin-top: 30px;
}
.rank-math-question:after {
position: absolute;
right: 5px;
top: 0;
content: "\2715";
transform: rotate(-45deg);
transition: all 150ms ease-in-out;
}
.rank-math-question.collapse:after {
transform: rotate(0deg);
}
.rank-math-question:hover {
opacity: 0.8;
}