/* =========================
   Web Accessibility Menu CSS (prefixed with wam-)
============================ */

/* Hide Elementor popup close buttons */
.elementor-popup-modal .dialog-close-button,
.elementor-popup-modal .dialog-close-button svg {
    display: none !important;
}


.elementor-icon:focus {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

.wam-popup-header {
  position: sticky !important;
  top: 0;
  z-index: 999 !important;
  background-color: #6A97B4 !important;
  border-color: #78ABC0 !important;
  
  display: flex;
  flex-direction: column;
  padding: 12px 20px; 
  color: #215387;
  font-family: sans-serif;
  align-items: stretch;
  flex-wrap: nowrap;
  gap:12px;
  width:100%;
  box-sizing: border-box;
}
/* Header items behave like footer items */
.wam-header-item {
    flex: 1 1 auto;
    min-width: 0;
}

.wam-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	min-width: 0;
}

/* Aligment */
.wam-header-left,
.wam-header-center,
.wam-header-right {
    display: flex;
    align-items: center;
}

.wam-header-left {
	flex: 0 0 auto;
}

.wam-header-left svg {
    color:#215387;
    fill: #215387;
}
.wam-header-center {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;

}

.wam-header-title {
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap; /* keep single line on desktop */
    overflow: hidden;
    text-overflow: ellipsis;
}

.wam-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.wam-header-right button {
  background-color: transparent;
}

.wam-popup-header svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Base transition for reset only */
.wam-reset-accessibility svg {
  transition: transform 0.6s linear;
}

/* Hover rotation (mouse) */
.wam-reset-accessibility:hover svg {
  animation: reset-spin 1s linear infinite;
}

/* Keyboard focus rotation (Tab) */
.wam-reset-accessibility:focus-visible svg {
  animation: reset-spin 1s linear infinite;
}

/* Spin keyframes */
@keyframes reset-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); } /* counter-clockwise */
}

/* Close button base state */
.wam-close-popup svg {
  transition: color 0.3s ease, fill 0.3s ease, transform 0.3s ease;
}

/* Hover state */
.wam-close-popup:hover svg {
  color: #d62828;
  fill: #d62828;
  transform: scale(1.1);
}
/* Keyboard focus */
.wam-close-popup:focus-visible svg {
  color: #d62828;
  fill: #d62828;
  transform: scale(1.1);
}


/* Footer container – sticky + responsive flex */
.wam-popup-footer {
    position: sticky !important;
    bottom: 0;
    z-index: 999 !important;
    background-color: #6A97B4 !important;
    border-color: #78ABC0 !important;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;       /* single row */
    gap: 12px;
    padding: 12px 20px;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    min-height: 60px;
}

/* Footer items shrink proportionally */
.wam-footer-item {
    flex: 1 1 auto;         /* allow shrinking */
    text-align: center;
	min-width: 0;
}

/* Alignment */
.wam-footer-left { text-align: left; }
.wam-footer-center { text-align: center; }
.wam-footer-right { text-align: right; }


.wam-accessibility-button {
  display: flex !important;
  position: fixed !important;
  bottom: 20px !important;
  left: 24px !important;
  right: auto !important;

  transform: none !important; /* important: remove centering */
  z-index: 99999 !important;
}



.wam-accessibility-button::after {
 
  position: absolute;
  top: 50%;
  right: 110%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 999;
}

.wam-accessibility-button:hover .wam-tooltip,
.wam-accessibility-button:focus .wam-tooltip{
  opacity: 1 !important;
  pointer-events: auto !important;
}

.wam-tooltip {
  position: absolute !important;
  top: 25% !important;
  right: auto !important;
  left: 110% !important;
  transform: translateY(-50%) !important;
  background: #333 !important;
  color: #fff !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease-in-out !important;
  z-index: 999 !important;
  height: fit-content !important
}


/* Grid container */
.wam-accessibility-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
	justify-content: center;
}


/* Inner button styling */
.wam-accessibility-btn button {
    width: 100%;
    min-height: 44px; /* WCAG touch target */
    font-size: 14px;
    font-weight: 500;
    background-color: #57b9d5;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

/* Hover state */
.wam-accessibility-btn button:hover {
    background-color: #125793;
}

/* Wider width when OpenDyslexic font is active */
body.font-open-dyslexic, .wam-accessibility-btn,
 .wam-bigger-text-widget,
 .wam-font-switcher,
 .wam-reader-switcher,
 .wam-cursor-switcher {
	max-width: 250px !important;
	min-height: 70px !important;
	
}
body.font-open-dyslexic .elementor-element-30ccc496 {
	font-size: 12px !important;
}
body.font-atkinson .elementor-element-30ccc496 {
	font-size: 16px !important;
}
body.font-arial .elementor-element-30ccc496 {
	font-size: 16px !important;
}
.wam-accessibility-btn:hover {
  background-color: #e0e0e0;
}

/* Bigger text widget */
.wam-bigger-text-widget {
  display: flex;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  padding: 16px 40px;
  flex-direction: column;
  align-items: center;
  font-family: sans-serif;
  margin-top: 10px;
  width:100%;
  max-width: 200px;
}

.wam-bigger-text-widget:hover {
  background-color: #e0e0e0;
}

.wam-bigger-text-widget:hover .wam-bigger-text-btn {
  background: #125793;
}

.wam-bigger-text-btn {
  background: #57b9d5;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 40px;
  font-size: 16px;
  cursor: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.2s;
}

.wam-bigger-text-btn .wam-text-icon {
  width: 18px;
  height: 18px;
  fill: white;
}

/* Zoom controls below the button */
.wam-font-size-widget {
  margin-top: 6px;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 4px;
  padding: 4px 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wam-font-size-widget button {
  background: #57b9d5;
  color: white;
  border: none;
  padding: 2px 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.wam-font-size-display {
  margin: 0 6px;
  min-width: 50px;
  text-align: center;
  font-weight: bold;
  color: #333;
}

.wam-font-size-widget button:hover {
  background: #125793;
}

/* Try box-shadow instead of outline */
body.wam-highlight-links-active a {
  outline: 2px dashed cyan;
	 }
body.wam-highlight-headings-active h1,
body.wam-highlight-headings-active h2,
body.wam-highlight-headings-active h3, 
body.wam-highlight-headings-active h4, 
body.wam-highlight-headings-active h5, 
body.wam-highlight-headings-active h6 {
  background: cyan;
}

/* Bold text mode */
body.wam-bold-text p,
body.wam-bold-text li,
body.wam-bold-text span,
body.wam-bold-text a,
body.wam-bold-text h1,
body.wam-bold-text h2,
body.wam-bold-text h3,
body.wam-bold-text h4,
body.wam-bold-text h5,
body.wam-bold-text h6 {
  font-weight: 700 !important;
}

/* Optional: Live region for screen reader announcements */
#bold-mode-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Line height */
body.wam-lineheight-large {
  line-height: 1.8 !important;
}

/* Letter spacing */
body.wam-letterspacing-large {
  letter-spacing: 0.1em !important;
}

/* Toast container */
#wam-accessibility-toast {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  margin-top: 8px;
}

#wam-accessibility-toast.show {
  opacity: 1;
}

/* Reading guide bar */
body.wam-reading-guide-active {
  position: relative;
}

#wam-reading-guide-bar {
  position: fixed;
  top: 40%;
  left: 0;
  width: 100vw;
  height: 60px;
  background: rgba(173, 216, 230, 0.25);
  pointer-events: none;
  z-index: 99999;
  border-radius: 8px;
  border: 2px solid grey;
  box-shadow: 0 0 12px rgba(173, 216, 230, 0.4);
  transition: top 0.08s ease-out, background 0.3s ease;
  display: none;
}

body.wam-reading-guide-active::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 99998;
  transition: background 0.3s ease;
}

/* prevent ugly per-line selection behavior */
.elementor-widget-text-editor ::selection {
  background: transparent;
}

/* Ally-style full block highlight */
.wam-reading-active {
  background: rgba(173, 216, 230, 0.35);
  outline: 2px solid #8ecae6;
  border-radius: 6px;
}

/* Font switcher */
.wam-font-switcher {
  display: flex;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  padding: 16px 0px;
  flex-direction: column;
  align-items: center;
  font-family: sans-serif;
  margin-top: 10px;
  width: 100%;
  max-width: 200px;
}

.wam-font-switcher:hover {
  background-color: #e0e0e0;
}

#wam-switchFontBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #5cb8d7;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#wam-switchFontBtn:hover {
  background: #125793;
}

.wam-font-tabs {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  position: relative;
	height: 40px;
	width: 100%;
}
.wam-font-tab {
  position: absolute;
  
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.wam-font-tab.active {
  opacity: 1;
  visibility: visible;
  background: #0073e6;
  color: white;
  font-weight: bold;
}

/* Monochrome overlay */
#wam-monochrome-filter {
  position: fixed;
  inset: 0;
  pointer-events: none;
  backdrop-filter: grayscale(100%) !important;
  -webkit-backdrop-filter: grayscale(100%);
  z-index: 999999;
  display: none;
}

body.wam-monochrome-active #wam-monochrome-filter {
  display: block;
  animation: MonoFadeIn 0.3s ease forwards;
}

@keyframes wam-MonoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.wam-monochrome-active .dialog-widget-content.dialog-lightbox-widget-content {
    filter: grayscale(100%) !important;
}

/* Make sure child elements don’t override it */
body.wam-monochrome-active .dialog-widget-content.dialog-lightbox-widget-content * {
    filter: inherit !important;
}

/* High contrast overlay */
#wam-high-contrast-filter {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999998;
  display: none;
}

body.wam-high-contrast-active {
  color: #000;
  background-color: #fff;
}


body.wam-high-contrast-active .elementor-495 .elementor-element.elementor-element-093379d .elementor-cta__button {
	background-color: #4cb8fe !important;
}

/* Header in blue */
body.wam-high-contrast-active header
 {
  background-color: #4cb8fe !important;
  color: #000; /* Keep text dark for readability */
}
body.wam-high-contrast-active header a:hover {
	background-color: #000 !important;
	
}
body.wam-high-contrast-active .elementor-nav-menu li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item{
	 background-color: #000 !important;
	border: 3px solid #0000ff;
}

/* High contrast mode footer fix */
body.wam-high-contrast-active h1,
body.wam-high-contrast-active h2,
body.wam-high-contrast-active h3, 
body.wam-high-contrast-active h4, 
body.wam-high-contrast-active h5, 
body.wam-high-contrast-active h6{
  color: #fff !important;
}

body.wam-high-contrast-active .elementor-location-footer a {
  color: #fff !important; 
}
body.wam-high-contrast-active .elementor-location-footer a:hover {
  background-color: #000 !important; 
}
body.wam-high-contrast-active .elementor-location-footer a:active {
  background-color: #000 !important;
	border: 3px solid #0000ff;
}
body.wam-high-contrast-active .elementor-nav-menu.sm-vertical li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item {
  background-color: #000 !important;
	border: 3px solid #0000ff;
}
body.wam-high-contrast-active .elementor-element.elementor-element-fe8e2ba.elementor-hidden-tablet.elementor-hidden-mobile.elementor-hidden-tablet_extra.e-con-full.elementor-hidden-mobile_extra.elementor-hidden-widescreen.e-flex.e-con.e-parent.e-lazyloaded {
	background-color: #4cb8fe;
}
/* Main content area in pale white */
body.wam-high-contrast-active main,
body.wam-high-contrast-active .main-content {
  background-color: #ffffff !important;
  color: #000;
}

/* Buttons readable on blue background */
body.wam-high-contrast-active button,
body.wam-high-contrast-active .button
 {
  background-color: #4cb8fe;
  color: #000;
  border: 2px solid #000;
}
body.wam-high-contrasty-active  accessibility menu button,
body.wam-high-contrast-active .elementor-button {
	background-color: #4cb8fe;
	color: #000;
	 border: 2px solid #000;
	
}
/* Focus outline for keyboard accessibility */
body.wam-high-contrast-active a:focus,
body.wam-high-contrast-active button:focus,
body.wam-high-contrast-active input:focus {
  outline: 3px solid #0000ff;
}
/* Container */
.wam-cursor-switcher {
  display: flex;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  padding: 4px 10px;
  flex-direction: column;
  align-items: center;
  font-family: sans-serif;
  width: 100%;
  max-width: 200px;
}
 }

.wam-cursor-switcher:hover {
  background-color: #e0e0e0;
}
/* Main button */
#wam-BigCursorBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #5cb8d7;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 8px 40px;
}

#wam-BigCursorBtn:hover {
  background: #125793;
}
/* Tabs container */
.wam-cursor-tabs {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  position: relative;
  height: 40px;
  width: 100%;
}

/* Individual tabs */
.wam-cursor-tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  user-select: none;
  border-radius: 6px;
}

.wam-cursor-tab.active {
  opacity: 1;
  visibility: visible;
  background: #0073e6;
  color: white;
  font-weight: bold;
  z-index: 10;
}



/* Visually hidden for screen readers */
.wam-hidden-cursor-icon {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wam-reader-switcher {
  display: flex;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  padding: 4px 10px;
  flex-direction: column;
  align-items: center;
  font-family: sans-serif;
  width: 100%;
  max-width: 200px;
}
  
.wam-reader-switcher:hover {
  background-color: #e0e0e0;
}
/* Tabs container */
  .wam-reader-tabs {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    position: relative;
    height: 40px;
    width: 100%;
  }
.wam-reader-tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  user-select: none;
}

.wam-reader-tab.active {
  opacity: 1;
  visibility: visible;
  background: #0073e6;
  color: white;
  font-weight: bold;
  z-index: 10;
}

#wam-readerBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #5cb8d7;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 8px 40px;
}

#wam-readerBtn:hover {
  background: #125793;
}

/* Visually hidden for screen readers */
.wam-hidden-ear-icon {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}




/* Font families */
body.font-default {
    font-family: 'Roboto', sans-serif;
}
body.font-open-dyslexic *:not(i):not(.fa):not(.fas):not(.far):not(.fab),
body.font-open-dyslexic {
  font-family: 'OpenDyslexic', sans-serif !important;
}

body.font-atkinson *:not(i):not(.fa):not(.fas):not(.far):not(.fab),
body.font-atkinson {
  font-family: 'Atkinson Hyperlegible', sans-serif !important;
}

body.font-arial *:not(i):not(.fa):not(.fas):not(.far):not(.fab),
body.font-arial {
  font-family: Arial, sans-serif !important;
}

/*logo bijschrift*/
.wp-caption-text {
	display: none;
}



.button:disabled {
	color: #a7aaad !important;
	border-color: #dcdcde !important;
	background: #f6f7f7 !important;
	box-shadow: none !important;
	cursor: default !important;
	transform: none !important;
}

.button-primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	text-decoration: none;
	text-shadow: none;
}

.wam-changelog-version {
    margin-top: 24px;
    margin-bottom: 6px;
    font-weight: 600;
}

.wam-changelog-version.wam-changelog-latest {
    background: #f5f7fa;
    border-left: 4px solid #2271b1;
    padding: 10px 12px;
}

.wam-changelog-badge.latest {
    background: #2271b1;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 3px;
}

.wam-changelog-date {
    font-size: 0.9em;
    color: #666;
}

.wam-changelog-item {
    margin: 0 0 6px 16px;
}

#TB_window {
    width: 800px !important;
    height: 600px !important;
    margin-left: -400px !important;
}

#TB_iframeContent {
    width: 800px !important;
    height: 600px !important;
}

/* detail page tabs setting*/
.wam-tabs {
    margin-bottom: 20px;
}
.wam-tab-buttons {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 5px;
}
.wam-tab-btn {
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    transition: 0.25s ease;
    user-select: none;
    position: relative;
    background: #f3f3f3;
}
.wam-tab-btn:hover {
    color: #ffff;
    background: #444444;
}
.wam-tab-btn.active {
    color: #ffff;
    font-weight: 600;
    background: #000;
}
.wam-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wam-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: 0.25s ease;
}

.wam-title {
    font-weight: 500;
}
/* Hide all tab content by default */
.wam-tab-content {
    display: none;
    width: 100%;
}

/* Show active tab */
.wam-tab-content.active {
    display: block;
}

/* ======================================================
   HEADER RESPONSIVE
====================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .wam-popup-header {
        padding: 8px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .wam-popup-footer {
        padding: 8px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .wam-accessibility-button {
        display: flex !important;
        position: fixed !important;
        bottom: 20px !important;
        left: 24px !important;
        right: auto !important;
        transform: none !important;
        z-index: 99999 !important;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Header */
    .wam-popup-header {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
    }

    .wam-popup-header svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .wam-header-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        font-size: 14px;
        line-height: 1.2em;
    }

    .wam-header-center {
        justify-content: center;
        text-align: center;
    }

    /* Footer */
    .wam-popup-footer {
        font-size: 12px;
        gap: 6px;
        padding: 6px 10px;
    }

    .wam-footer-right .wam-header-logo {
        max-width: 30px;
    }

    /* Floating button */
    .wam-accessibility-button {
        display: flex !important;
        position: fixed !important;
        bottom: 20px !important;
        left: 24px !important;
        right: auto !important;
        transform: none !important;
        z-index: 99999 !important;
    }
}

/* Very small phones */
@media (max-width: 480px) {

    /* Header */
    .wam-popup-header {
        text-align: center;
    }

    .wam-popup-header svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    /* Footer */
    .wam-popup-footer {
        flex-wrap: wrap !important;
        text-align: center;
    }

    .wam-footer-item {
        flex: 1 1 100%;
        text-align: center;
        min-width: 0;
    }
}
@media (max-width: 414px) {
/* Floating button */
    .wam-accessibility-button {
        bottom: 15px !important;
    }
}	

/* ======================================================
   ACCESSIBILITY BUTTON GRID RESPONSIVE
====================================================== */

/* Desktop: >1366px */
.wam-accessibility-btn {
    flex: 1 1 calc(50% - 6px);
    max-width: none;
}

/* Laptop: 1025px – 1366px */
@media (min-width: 1025px) and (max-width: 1366px) {
    .wam-accessibility-btn {
        flex: 1 1 calc(50% - 12px);
        max-width: 300px;
    }
}

/* Tablet Landscape: 835px – 1024px */
@media (min-width: 835px) and (max-width: 1024px) {
    .wam-accessibility-btn {
        flex: 1 1 calc(50% - 12px);
        max-width: 300px;
    }
}

/* Tablet Portrait: 768px – 834px */
@media (min-width: 768px) and (max-width: 834px) {
    .wam-accessibility-btn,
    .wam-bigger-text-widget,
    .wam-font-switcher,
    .wam-reader-switcher {
        flex: 1 1 calc(50% - 6px);
        max-width: 300px;
    }
}

/* Mobile Landscape: 415px – 812px */
@media (min-width: 415px) and (max-width: 812px) {
    .wam-accessibility-btn {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* Mobile Portrait: up to 414px */
@media (max-width: 414px) {
    .wam-accessibility-btn {
        flex: 1 1 100%;
        max-width: none;
    }
}
