/* Begin classes for common SPIN elements */

*, ::before, ::after { box-sizing: border-box; }
*, ::before, ::after { box-sizing: inherit; }
*, ::before, ::after { box-sizing: border-box; }
body {
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header styles */
.page_header,
.category_header {}
.detail_header,
.detail_subheader,
.category_name {}
.category_intro {}
/* END Header styles */

.item, .wd_item {
    margin: 10px 0;
    padding: 10px 0;
}
.item_name,
.wd_title,
.wd_item .wd_title,
.wd_newsfeed_releases-teaser .wd_title {
    font-size: 1.2rem;
    font-weight: 700;
}
.item_date, .wd_date,
.wd_item .wd_date,
.wd_event_sidebar .wd_event_date,
.wd_newsfeed_releases-teaser .wd_date {
    font-size: 1rem;
    font-weight: normal;
    color: inherit;
    text-transform: none;
}
.item_summary, .wd_item .wd_summary {}
.wd_item .wd_subtitle {}

table.wd_imagetable {}
td.imagecaption {}

/* Toolbar styles */
div.wd_toolbar ul.wd_tools li.wd_tool {
    margin-bottom: 0;
}

/* END Toolbar styles */

/* Begin classes for individual PCTs */

span.wd_subscribe_icon {
    background: url('../images/webdriver/email_alerts.png') no-repeat;
    background-position: 0 3px;
    display: inline-block;
    height: 18px;
    width: 18px;
    margin-left: 5px;
}
span.wd_subscribe_icon img {
    display: none;
}

/* Standard */
div.wd_standard {}

/* Holiday Products */
.wd_pageid_20315 #wd_printable_content h1.page_header {
    display: none;
}
.wd_pageid_20315 #wd_printable_content ul.categories {
    color: #fff;
    background-color: #00005f;
    border: 1px solid #00005f;
    width: 25%;
    left: auto;
    top: auto;
    flex: 0 1 calc(25% - 9px);
    margin: 0;
    padding: 15px;
    transition: all .2s ease;
}
.wd_pageid_20315 #wd_printable_content ul.categories a {
    color: #fff;
}
.wd_pageid_20315 #wd_printable_content ul.categories li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 90%;
}
.wd_pageid_20315 #wd_printable_content ul.categories div.category_name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 20px 0;
}
.wd_pageid_20315 .category_text {
    margin: 0 !important;
}
.wd_pageid_20315 #wd_printable_content .category_thumbnail {
    float: none;
    width: 100%;
    display: block;
    margin: 0;
}
.wd_pageid_20315 .category_thumbnail img {
    width: 100%;
}
.wd_pageid_20315.wd_category_3202 .wd_category_info {
    display: none;
}
/* END Holiday Products */

/* END Standard */

/* Events */
div.wd_events {}
.wd_event_sidebar .wd_event_date,
.wd_event_sidebar .wd_event_time,
.wd_event_sidebar .wd_event_subscribe,
.wd_event_sidebar .wd_event_reminder,
.wd_event_sidebar .wd_event_webcast {
    background-position: left;
}
/* END Events */

/* Gallery */
div.wd_gallery {}

/* hi-res link for gallery */
ul.hi_res-links {}

ul.hi_res-links li {}

ul.hi_res-links li a, ul.hi_res-links li a:hover, ul.hi_res-links li a:link, ul.hi_res-links li a:visited {
    color: #FFF;
}

ul.hi_res-links li a {
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
}

ul.hi_res-links li a span {
    display: block;
    text-align: center;
    margin: 0;
    padding: 2px 10px;
    position: relative; /*To fix IE6 problem (not displaying)*/
    background: #666 url(../images/webdriver/gradient_bg.gif) repeat-x top;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 1px 1px 5px #888;
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* END hi-res link for gallery */
/* END Gallery */

/* Newsfeed Releases */
div.wd_newsfeed_releases {}

/* override font size set in feed releases */
.wd_newsfeed_releases-detail .news_body p.prnews_p {
    font-family: inherit;
    font-size: 100%;
    color: inherit;
}
/* reset UL behavior to default in NFR body */
.wd_newsfeed_releases-detail .wd_news_body ul,
.wd_newsfeed_releases-detail .wd_news_body ul ul {
    margin: 1em 0 1em 0;
    padding-left: 40px;
}
.wd_newsfeed_releases-detail .wd_news_body li,
.wd_newsfeed_releases-detail .wd_news_body li li {
    list-style-type: disc;
    list-style: disc;
}
.wd_newsfeed_releases-detail .wd_news_body ul.wd_layout-masonry li,
.wd_newsfeed_releases-detail .wd_news_body ul.wd_layout-masonry li li {
    list-style-type: none;
    list-style: none;
}
.wd_newsfeed_releases-teaser .tools {
    text-decoration: none;
    margin-bottom: 12px;
}
/* END Newsfeed Releases */

/* Stories */
div.wd_stories {}
/* END Stories */

/* Formbuilder */
#wd_printable_content input,
#wd_printable_content button,
#wd_printable_content select {
    border-radius: 0;
    border: 1px solid #ccc;
    line-height: 34px;
    padding: 0 1rem;
    font-size: 1.2rem;
    height: 34px;
    color: #333;
}
#wd_printable_content select {
    padding: 0 1rem;
    font-size: 1.2rem;
    height: 34px;
    color: #333;
}
select::-ms-expand {
    margin-left: 50px;
    background-color: #fff;
}
#wd_printable_content button.ui-datepicker-trigger {
    border: 0;
}
#wd_printable_content .wd_form_field_label {
    line-height: 2.4em;
    margin-bottom: 0;
}
#wd_printable_content input[type=text] {
    max-width: 69%;
}
#wd_printable_content input[type=submit] {
    max-width: 30%;
    margin-left: 1%;
}
#wd_printable_content input[type=checkbox],
#wd_printable_content input[type=radio] {
    height: auto;
}
.wd_form_field {
    clear: both;
}
.wd_page_limit {
    padding: 0;
}
.wd_linkmenu-header {
    padding: 6px 2px;
}
.wd_page_link:first-child,
.wd_page_link:last-child,
.wd_linkmenu-header {
    border-radius: 0;
}
.wd_linkmenu-header:hover .wd_linkmenu-icon {
    border-color: transparent;
    background-color: transparent;
    color: #000;
}
.wd_form_field .wd_form_field_input,
.wd_form_field {
    overflow: visible;
}
/* END Formbuilder */

/* Search Results */
/* END Search Results */

/* Featureboxes */

.wd_featureboxes_socialhub .wd_tabs_wrapper {
    background: 0 none;
    padding: 5px;
}
.wd_featureboxes_socialhub .wd_tab {
    margin: 1px;
    padding: 4px;
    border: 0px;
    background-color: transparent;
}
.wd_featureboxes_socialhub .wd_tab-inactive {}
.wd_featureboxes_socialhub .wd_tab-active {
    padding: 3px;
    background-color: #dddddd;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.wd_featureboxes_tabbed .wd_tabs_wrapper {
    background: 0 none;
    border: 0 none;
    width: 100%;
    display: block;
    height: 33px;
}
.wd_featureboxes_tabbed .wd_tabs_wrapper .wd_tabs {
    overflow: visible;
}
.wd_featureboxes_tabbed .wd_tabs_wrapper .wd_tab {
    margin: 0 0.3em 0 0;
    padding: 0.5em;
    border: 1px solid #cccccc;
    border-bottom-width: 0px;
    border-top-left-radius: 0.5em; -moz-border-radius-topleft: 0.5em; -webkit-border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em; -moz-border-radius-topright: 0.5em; -webkit-border-top-right-radius: 0.5em;
}
.wd_featureboxes_tabbed .wd_tabs_wrapper .wd_tab-active {
    margin-bottom: -1px;
    border-bottom: 1px solid #fff;
}
.wd_featureboxes_tabbed .wd_tabs_wrapper .wd_tab-inactive {
    background-color: #eeeeee;
}
.wd_featureboxes_tabbed .wd_tabs_wrapper .wd_tab-inactive:hover {
    background-color: #dddddd;
    border-color: #aaaaaa;
}
.wd_featureboxes_tabbed .wd_tabs_container .wd_tabs_content_wrapper {
    clear: both;
    width: 100%;
    padding-top: 0px;
    border-top: 1px solid #DEDEDE;
}
.wd_featureboxes_tabbed .wd_tabs_wrapper {
    background: 0 none;
    border: 0 none;
}
/* END Featureboxes */

/* YouTube Responsive Video Containers */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* END YouTube Responsive Video Containers */

div.wd_rssfeeds_item {
    margin-bottom: 10px;
}

.wd_subscribe_icon {
    background: url(../images/webdriver/email_alerts.png) 0px 3px no-repeat;
    width: 18px;
    height: 18px;
    display: inline-block;
}
.wd_subscribe_icon img {
    display: none;
}


.site-footer p {
    font-family: 'aldi-sued';
    font-weight: normal;
    font-size: 20px;
}
.breadcrumb {
    display: none;
}
main > div {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ALDI Finds */
.wd_homepage .wd_featureboxes_middle {
    display: flex;
    list-style: none;
    margin: 50px auto;
    max-width: 1320px;
    padding: 0;
    gap: 2.5%;
    flex-wrap: wrap;
}
.wd_homepage .wd_featureboxes_middle > a {
    background-color: #211b5c;
    color: #fff;
    display: block;
    font-size: 1.3em;
    padding: 12px;
    flex: 1 1 30%;
    transition: all .2s ease;
    margin: 0 0 2.5% 0;
}
.wd_homepage .wd_featureboxes_middle.wd_even > a {
    flex: 1 1 48%;
}
.wd_homepage .wd_featureboxes_middle.wd_odd > a {
    flex: 1 1 30%;
}
.wd_homepage .wd_featureboxes_middle > a:hover {
    filter: brightness(112.5%);
}

.wd_homepage .wd_featureboxes_middle > a:nth-of-type(2n) {
    background-color: #55c3f0;
}
.wd_homepage .wd_featureboxes_middle > a img {
    border-radius: 9px;
    width: 100%;
}
.wd_homepage .wd_featureboxes_middle td,
.wd_homepage .wd_featureboxes_middle table {
    border: none;
    padding: 0;
    margin: 0;
}
.wd_homepage .wd_featureboxes_middle .wd_featurebox_title {
    font-family: 'aldi-sued-bold';
    text-align: center;
    font-size: clamp(26px, 2.5vw, 36px);
    padding: 6px 0 12px;
}
.wd_intro-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5%;
}
.wd_intro-flex .page_header {
    flex: 1;
    min-width: 300px;
    font-size: clamp(32px, 4vw, 48px);
    color: #00005f;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: normal;
}
.wd_intro-flex .wd_intro-des {
    flex: 2;
    min-width: 500px;
}
.wd_intro-flex .wd_intro-des p {
    font-size: 20px;
    color: rgb(26, 26, 26);
    font-family: 'aldi-sued';
}

/* gallery page */
div.wd_content {
    float: none;
}
.wd_gallery .wd_item_search_form_container,
.wd_gallery .wd_toolbar {
    display: none;
}
.wd_gallery .wd_item_list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 965px;
    margin: 0 auto 50px;
    height: auto !important;
}
.wd_gallery .wd_item {
    border: 1px solid #00005f !important;
    position: relative !important;
    width: 25% !important;
    left: auto !important;
    top: auto !important;
    flex: 0 1 calc(25% - 9px);
    margin: 0 !important;
    padding: 15px;
}
.wd_gallery .wd_title,
.wd_gallery .wd_title a {
    color: #00005f;
    font-weight: 500;
    text-align: center;
    font-family: 'aldi-sued';
    font-size: 16px;
}
.wd_gallery .wd_thumbnail img {
    width: 100%;
    transition: all .2s ease;
    height: 200px;
    object-fit: contain;
}
.wd_gallery .wd_layout-grid .wd_item {
    box-shadow: none;
}
.wd_gallery .wd_summary p {
    font-style: italic;
    text-align: center;
    font-family: 'aldi-sued';
}
.wd_gallery-header {
    font-family: 'aldi-sued';
    font-size: 40px;
    color: #55c3f0;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 16px;
}
.wd_is_category .wd_content {
    position: relative;
}
.wd_gallery_modal .wd_image img {
    margin: 0 auto;
    display: block;    
}
.wd_modal-outer {
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
}

.close-modal {
    background: #55c3f0;
    border-radius: .25em;
    box-shadow: 0 .125em .125em rgba(0,0,0,.25);
    color: #fff;
    display: block;
    line-height: 1;
    padding: 0 .33333em 0 .375em;
    position: absolute;
    right: -.4em;
    text-align: center;
    top: -.6em;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 15px;
    font-family: 'Open Sans',Verdana,sans-serif;
    z-index: 10;
    cursor: pointer;
}
.close-modal:hover {
    background: #00005f;
    color: white;
}
.wd_info *,
.wd_gallery_modal p {
    text-align: center;
}
.wd_modal .wd_title,
.wd_modal .wd_hi_res_link_wrapper,
.wd_modal .wd_summary p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #00005f;
    font-family: 'aldi-sued';
    text-align: center;
}
.wd_modal .wd_title {
    margin-bottom: 16px;
}
.wd_modal .wd_info a {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'aldi-sued';
    color: #3f98cf;
    text-align: center;
}
.wd_modal .wd_info a:hover {
    color: #3f98cf;
}
.wd_modal .wd_info div {
    padding: 0;
}
.wd_modal .wd_info {
    margin-top: 12px;
}
.wd_modal .wd_summary p,
.wd_modal .wd_hi_res_link_wrapper {
    margin: 0;
}
.wd_modal .wd_hi_res_link {
    background: none;
    border: none;
    padding: 0;
}
.wd_modal .wd_hi_res_link_wrapper:after {
    content: '|';
    margin: 0 4px;
}
.wd_modal .wd_summary {
    display: flex;
    justify-content: center;
    max-width: 420px;
    flex-wrap: wrap;
}
.wd_modal .wd_summary .wd_hi_res_link_wrapper {
    order: -1;
}

.wd_gallery .wd_item .wd_hi_res_link_wrapper {
    display: none;
}

.wd_gallery .wd_item .wd_thumbnail img:hover {
    filter: brightness(112.5%) saturate(112.5%);
    opacity: .875;
}
.wd_modal .wd_title,
.wd_gallery .wd_item .wd_title {
    line-height: 1.2;
}
.wd_modal .wd_title p,
.wd_gallery .wd_item .wd_title p {
    margin: 14px 0 18px;
}
.wd_modal .wd_title > p:first-child,
.wd_gallery .wd_item .wd_gallery_item > p:first-child {
    font-style: italic;
}
.wd_modal .wd_title > p:last-child,
.wd_gallery .wd_item .wd_gallery_item > p:last-child {
    font-weight: bold;
    font-size: 17px;
}
.wd_modal-outer a.wd_modal-close {
    display: none;
}
.wd_modal .wd_summary {
    visibility: hidden;
}

/* Category Page */

div.wd_category_items .item {
    border: 1px solid #00005f;
    position: relative;
    width: 25%;
    left: auto;
    top: auto;
    flex: 0 1 calc(25% - 9px);
    margin: 0;
    padding: 15px;
    transition: all .2s ease;
}
div.wd_category_items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 965px;
    margin: 0 auto 50px;
    height: auto;
}
.category_summary > p {
    font-style: italic;
    text-align: center;
    font-family: 'aldi-sued';
}
.category_header {
    display: none;
}
div.wd_category_items .item_name {
    color: #00005f;
    font-weight: 500;
    text-align: center;
    font-family: 'aldi-sued';
    font-size: 16px;
}
div.wd_category_items table,
div.wd_category_items td {
    margin: 0 !important;
    border: none;
}
div.wd_category_items .item img {
    width: 100%;
    transition: all .2s ease;
    height: 200px;
    object-fit: contain;
}
/* div.wd_category_items .item img:hover {
    filter: brightness(112.5%) saturate(112.5%);
    opacity: .875;
} */
div.wd_category_items .item > p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #00005f;
    font-family: 'aldi-sued';
    text-align: center;
    margin: 12px 0;
}
div.wd_category_items .item > p:first-of-type {
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
}
div.wd_category_items .item > p strong {
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
}
div.wd_category_items .item {
    cursor: pointer;
}
div.wd_category_items .item .wd_imagetable img:hover {
    filter: brightness(112.5%) saturate(112.5%);
    opacity: .875;  
}
div.wd_category_items .item .item-links {
    display: none;
}

.wd_pageid_34153 .wd_intro-flex,
.wd_pageid_34153 .page_header {
    display: none;
}
.wd_pageid_34153 .wd_category_items .item {
  width: 50%;
  flex: 0 1 calc(50% - 9px);
}

.wd_pageid_34153 div.wd_category_items .item img {
    height: 300px;
  object-fit: cover;
  object-position: top;
}
/**********
 HOME
***********/

.home .social-navigation,
.home .site-branding {
    display: none;
}
.home .site,
.home #intro {
    max-width: 100%;

}
.home .logo {
    height: fit-content;
    width: auto;
}
.home #intro {
    top: 0;
    background: #55c3f0;
    background-image: url(../images/stripes.svg) !important;
    background-position: -540px 73%;
    background-repeat: no-repeat;
    min-height: 450px;
    height: auto;
    padding: 90px 30px 30px;
    display: flex;
    align-items: center;
    margin-bottom: 50px !important;
}
.home .wd_header_content {
    font-size: clamp(32px, 4vw, 48px);
    color: #00005f;
    line-height: 1.3;
    font-family: 'aldi-sued-bold';
    display: flex;
    max-width: 1100px;
    margin: 0 auto 0;
    width: 100%;
    padding-left: min(12%, 200px);
    justify-content: space-between;
    padding-right: 30px;
    align-items: center;
}
.wd_header-wrap {
    padding-right: 6%;
}
.home .wd_header_content p {
    color: white;
    font-family: 'aldi-sued';
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}
.home .wd_header_content p.header-subcopy {
    font-size: clamp(32px, 4vw, 48px);
    color: #00005f;
    line-height: 1.3;
    font-family: 'aldi-sued-bold';
}

/* top fb */
main > div.wd_welcome {
    max-width: 1100px;
    margin-bottom: 10px;
}
.wd_fb-title {
	font-family: 'aldi-sued-bold';
	color: #011146;
	font-size: 28px;
	text-align: center;
	width: 100%;
	margin: 0;
    margin-bottom: 34px;
}
.wd_featureboxes_top,
.wd_left-right-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 3%;
	align-items: center;
}
.wd_featureboxes_top {
    margin-bottom: 50px;
}
.wd_featureboxes_top.wd_three_col > div {
	flex: calc(33.3% - 2%);
	border: 2px solid #011146;
	position: relative;
}

.wd_featureboxes_top.wd_four_col > div {
        flex: calc(48.3% - 2%);
}


.wd_featureboxes_top .wd_imagetable,
.wd_featureboxes_top img {
	width: 100%;
	float: none;
	display: block;
    border: none;
}
.wd_featureboxes_top .wd_imagetable td {
    padding: 0;
    border: none;
}
.wd_featureboxes_top .wd_featurebox {
    display: flex;
    padding: 24px 8px;
    align-items: center;
    justify-content: space-evenly;
    gap: 4px;
}
.wd_featureboxes_top .wd_featurebox_title,
.wd_left-right-flex .wd_featurebox_title {
    color: #011146;
    font-family: 'aldi-sued-bold';
    font-size: 20px;
}
.wd_featureboxes_top .wd_featurebox a {
    background: #011146;
    display: block;
    color: white;
    font-size: 18px;
    padding: 6px 16px 3px;
    border-radius: 10px;
    font-family: 'aldi-sued';
    letter-spacing: .25px;
}
.wd_featureboxes_top img {
    height: 25vw;
    object-fit: cover;
    max-height: 300px;
}

.wd_featureboxes_top.wd_four_col img {
    height: auto;
    object-fit: cover;
    width: 100%;
    max-height:none;
}

.wd_featureboxes_top .wd_featurebox p {
    margin: 0;
}

/* left right fb */
.wd_left-right-flex > div {
	flex: calc(50% - 20px);
    position: relative;
}
.wd_left-right-flex > div {
    background: #55c3f0;
    padding: 32px;
    height: 220px;
    display: flex;
    width: 100%;
}
.wd_left-right-flex .wd_featurebox_title {
    margin-bottom: 10px;
}
.wd_left-right-flex p {
    color: white;
    font-family: 'aldi-sued';
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    font-size: 15px;
}
.wd_left-right-flex p strong {
    font-family: 'aldi-sued-bold';
    font-size: 20px;
    font-weight: normal;
    color: #011146;
}
.wd_left-right-flex a {
    color: #011146;
    font-size: 15px;
    transition: all 0s;
}
.wd_left-right-flex a:hover {
    text-decoration: underline;
    color: #011146;
}
.wd_featureboxes_left > div,
.wd_featureboxes_right > div {
    display: flex;
    width: 100%;
}
.wd_flex-div {
    display: block;
    width: 3px;
    background: #011146;
    height: auto;
    margin: 0 24px;
}
.wd_flex-wrap, .wd_left-right-flex .wd_featurebox {
    flex: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.wd_featureboxes_left .wd_featurebox ul {
    flex: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.wd_featureboxes_right .wd_featurebox ul {
    flex: 1;
    justify-content: space-between;
    align-items: center;
    display: flex;
    list-style: none;
    padding: 4px 0 8px;
    margin: 0;
}
.wd_left-right-flex .wd_featurebox ul li {
    margin: 0;
}
.wd_left-right-flex .wd_featurebox ul li img {
    max-width: 26px;
    width: 100%;
}



/****************/
.primary-menu li a {
    display: none;
}
.wd_pageid_20300 #wd_printable_content .wd_subscribe2 .wd_form_field_label {
    line-height: 1.5;
}
#wd_printable_content .wd_subscribe2 input[type="submit"] {
    background: #55c3f0;
    border: none;
    color: #00005f;
}
#wd_printable_content label[for="formbuilderform_forminfo[email]"] {
    line-height: 34px;
}

/* Modal */
.modal-flex .modal-btn .wd_item_inner_wrap > :not(.item_name) {
	display: none;
}
.modal-wrap .item {
	display: none;
	background: white;
	max-width: 100%;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    width: fit-content;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    margin: 0;
    flex-direction: column;
    align-items: center;
}
.modal-wrap {
	display: none;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	padding: 15px;
}
.modal-close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 10px;
	cursor: pointer;
}
.modal-close svg {
	width: 32px;
	fill: #141651;
}
.modal-wrap .item > * {
    width: fit-content;
}
.modal-wrap .wd_imagetable {
    width: auto;
}
.modal-wrap .wd_imagetable td,
.modal-wrap .wd_imagetable {
    border: none;
}
.modal-wrap p,
.modal-wrap div,
.modal-wrap a {
    text-align: center;
    margin: 0 auto;
}
.modal-wrap .item_name,
.modal-wrap .item p,
.modal-wrap .item > div {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: #00005f;
    font-family: 'aldi-sued';
    text-align: center;
    margin-bottom: 16px;
}
.modal-wrap .item a {
    color: #3f98cf;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'aldi-sued';
}
.modal-wrap .item > .modal-close {
    border-radius: .25em;
    box-shadow: 0 .125em .125em rgba(0,0,0,.25);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    padding: 6px 15px;
    font-family: 'Open Sans',Verdana,sans-serif;
    z-index: 10;
    text-align: center;
    line-height: 1;
    transition: all .2s ease;
    background-color: rgb(85, 195, 240);
    color: white;
    position: absolute;
    right: -.4em;
    top: -.6em;
}
.modal-wrap .item > .modal-close:hover {
    background: #00005f;
    color: white;
}
.modal-wrap .item > .item-links {
    margin-bottom: 0;
}


.wd_subscribe2 .wd_category_checkboxes {
    display: none;
}
.wd_pageid_20300 .wd_intro-flex {
    flex-direction: column;
}

@media (max-width: 1500px) {
    .home #intro {
        background-position: calc(40% - 800px) 73%;
    }
}

/* Extra large devices (large desktops) */
@media (max-width: 1199px) {}

/* Large devices (desktops) */
@media (max-width: 992px) {

}

@media (max-width: 909px) {
    .wd_header_content img.logo {
        display: none;
    }
    .wd_pageid_20309 .wd_header_content,
    .wd_header-wrap  {
        padding: 0;
    }
    .home .wd_header_content {
        padding: 0;
    }


    .wd_featureboxes_top, .wd_left-right-flex {
        flex-direction: column;
    }
    .wd_featureboxes_top > div {
        width: 100%;
        max-width: 450px;
        flex: 1;
    }
    .wd_featureboxes_top img {
        height: 300px;
    }
    .wd_featureboxes_top, .wd_left-right-flex {
        gap: 34px;
    }
    .wd_fb-title {
        margin-bottom: 0;
    }
}

/* Medium devices (tablets) */
@media (max-width: 767px) {
    .wd_homepage .wd_featureboxes_middle {
        flex-direction: column;
        gap: 30px;
    }
    .wd_gallery .wd_item,
    div.wd_category_items .item,
    .wd_pageid_20315 #wd_printable_content ul.categories {
        flex-basis: calc(49% - 2px);
    }
    .wd_intro-flex .wd_intro-des {
        min-width: auto;
    }
    .wd_intro-flex {
        flex-direction: column;
    }



}


/* Small devices (landscape phones) */
@media (max-width: 575px) {
    .wd_gallery .wd_item,
    div.wd_category_items .item,
    .wd_pageid_20315 #wd_printable_content ul.categories {
        flex-basis: 100%;
    }
}

@media (max-width: 535px) {
    .wd_featureboxes_left > div, .wd_featureboxes_right > div {
        flex-direction: column;
    }
    .wd_flex-div {
        width: 90%;
        height: 3px;
        margin: 32px auto;
    }
}

/* CLIENT CSS OVERRIDES */
#menu-primary::before,
#menu-primary::after {
    display: none;
}
.main-navigation ul.primary-menu {
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
}
.primary-menu li a img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(78deg) brightness(104%) contrast(104%);
    width: 18px;
    display: inline-block;
    margin-left: 12px;
    margin-bottom: 2px;
}
#menu-primary a {
    font-family: 'aldi-sued';
    font-size: 18px;
    white-space: pre;
}
#main.site-main {
    margin-bottom: 50px;
}
