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);
}
}
}
@media screen and (max-width: 919px) {
.hide-on-mobile {
display: none !important;
}
}
body.menu-open {
main {
opacity: 0;
}
& #topbar {
height: 0;
overflow: hidden;
}
& .subheader {
display: none;
}
& #main-menu {
display: block !important;
position: fixed;
inset: 0;
z-index: 1000;
background: white;
margin: 80px 0 0 0;
padding: 12px 5%;
overflow: auto;
& li.icon-home {
display: none;
}
@media screen and (max-width: 919px) {
&>li:has(>ul.sub-menu) {
&>a {
position: relative;
display: block;
margin-top: 1rem;
padding: .5rem 1rem .5rem .2rem;
&:after {
content: '';
position: absolute;
top: .3rem;
right: 0;
width: 16px;
height: 16px;
background-image: url(//www.aangetekendmailen.nl/wp-content/themes/aangetekend/images/icon-chevron-rechts.svg);
background-size: contain;
background-repeat: no-repeat;
transform: rotate(90deg);
transition: transform .2s ease-in-out;
}
}
&>ul.sub-menu {
display: none;
}
&.active {
&>a:after {
transform: rotate(-90deg);
}
&>ul.sub-menu {
display: block;
overflow: hidden;
opacity: 1;
transform: translateY(0);
transition: opacity .2s ease-in-out, transform .2s ease-in-out;
@starting-style {
opacity: 0;
transform: translateY(-10px);
}
}
}
}
}
}
#mobile-menu {
transform: rotate(90deg);
}
[class*="icon-"] {
background-position: top 5px left;
}
}
body>header {
position: sticky;
top: 0;
z-index: 99;
}
body>header,
body>section.subheader {
background-color: var(--wp--preset--color--white);
font-size: var(--wp--preset--font-size--small);
font-weight: 300;
z-index: 99;
&.subheader {
position: relative;
}
& #topbar-menu,
#main-menu {
display: none;
}
& #cta {
display: none;
.is-consument & {
display: flex;
}
font-size: 14px;
padding: 10px 32px 6px 16px;
border-radius: 8px;
background-color: var(--wp--preset--color--blauw);
color: var(--wp--preset--color--wit);
margin-block: auto;
position: relative;
&:after {
content: '';
position: absolute;
top: 50%;
right: 8px;
width: 16px;
height: 16px;
transform: translateY(-50%);
background-color: currentColor;
-webkit-mask-image: url(//www.aangetekendmailen.nl/wp-content/themes/aangetekend/images/icon-chevron-rechts.svg);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-image: url(//www.aangetekendmailen.nl/wp-content/themes/aangetekend/images/icon-chevron-rechts.svg);
mask-repeat: no-repeat;
mask-size: contain;
}
}
.main-submenus {
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: center;
gap: 1rem;
&>* {
display: flex;
align-items: center;
list-style-type: none;
padding: 0;
gap: 1rem;
}
& ul,
li {
list-style-type: none;
padding: 0 0 0 .5rem;
&.sub-menu a {
font-size: 90%;
}
}
}
& #topbar {
padding-block: 5px;
}
& #topbar-tab-menu {
gap: 2px;
margin: 0 0 0 auto;
align-items: flex-end;
& li {
& a {
display: block;
padding: 6px clamp(3px, 2vw, 20px) 4px clamp(3px, 2vw, 20px);
border-radius: 4px;
border: 2px solid transparent;
font-size: var(--wp--preset--font-size--x-small);
}
&.current_page_item a,
&.current-page-ancestor a,
&.current-menu-item a {
border: 2px solid var(--wp--preset--color--blauw);
font-weight: 600;
pointer-events: none;
}
&:hover a {
border: 2px solid var(--wp--preset--color--blauw);
text-decoration: none;
}
}
&:not(:has(.current_page_item, .current-page-ancestor, .current-menu-item, .current-menu-ancestor)) li:first-child a {
border: 2px solid var(--wp--preset--color--blauw);
font-weight: 600;
pointer-events: none;
}
}
& .custom-logo {
height: clamp(48px, 5vw, 75px);
width: auto;
margin-block: .4rem;
&.custom-logo-right {
height: clamp(32px, 4vw, 52px);
max-width: 100%;
}
}
#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;
}
}
}
.rank-math-breadcrumb {
margin-block: 1rem;
:is(a, span.last) {
font-size: var(--wp--preset--font-size--x-small);
color: var(--wp--preset--color--blauw);
}
}
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;
}
}
.wp-block-group.trustpilot>.wp-block-columns {
ul.wp-block-list li {
font-size: 16px !important;
}
.wp-block-column:not(:first-child)>* {
max-width: 180px;
margin: 0 auto;
}
.trustpilot-widget iframe {
max-height: 100px;
} @media screen and (max-width: 780px) {
display: grid;
justify-content: center;
gap: 1rem;
padding: 1rem !important;
.wp-block-column:first-child {
grid-column: 1 / span 2;
padding: 1rem 0 0 0 !important;
ul.wp-block-list {
display: block;
text-align: center;
li {
display: inline-block;
font-size: 14px !important;
margin-inline: 0.5em;
padding-bottom: 2px;
}
}
}
}
} #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;
}