/* 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;
    background: white;
}
p {
    color: rgb(34, 34, 34);
}

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

a:hover {
    text-decoration: underline;
}


.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 {}

/* 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;
}

/* 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 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 */
/* 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 */

/* 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;
}
#wd_printable_content .wd_search_form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 32px;
}
.wd_search_form .wd_select {
    display: inline-block;
    position: relative;
}
.wd_search_form .wd_select:after {
    content: '';
    position: absolute;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333;
    width: 6px;
    height: 6px;
    right: 18px;
    display: block;
    transform: translateY(-50%) rotate(-45deg);
    top: 50%;
}
/* 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-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;
}

/* Nav & Mobile Fix */
.main-nav-dropdown li {
    display: none;
}
.main-nav-dropdown li.show {
    display: block;
}
.mobile-nav.show,
.mobile-nav {
    display: none;
}
.main-nav > li.flex {
    padding: 1rem;
    margin: 0;
}
.main-nav-dropdown li:hover {
    display: block;
}
.menu-panels > div {
    display: none;
}
.wd_toggle-dropdown + div {
    display: none;
}
.wd_toggle-dropdown.wd_login-open {
    background: #fff;
    color: #e00d42;
}
.wd_logo {
    margin-top: 48px;
    padding: 24px 0;
}


/***********************
 Global
***********************/
main {
    overflow-x: hidden;
}
.page_header {
    color: #004070;
    font-weight: bold;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 14px;
}
p a {
    text-decoration: underline;
    color: #004070;
}
.wd_copyright {
    color: white;
    text-align: center;
    padding: 4rem 0 6rem;
    font-size: 14px;
}

.wd_content,
.wd_banner,
#wd_printable_content,
.wd_featureboxes_bottom {
    position: relative;
}

body.wd_item_page .wd_content:before {
    content: '';
    background: #F5F5F5;
    position: absolute;
    width: 200vw;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
body:not(.wd_item_page) .wd_banner::before {
    content: '';
    background: #F5F5F5;
    position: absolute;
    width: 200vw;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

body:not(.wd_item_page) #wd_printable_content::before {
    content: '';
    background: white;
    position: absolute;
    width: 200vw;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
body:not(.wd_item_page) .wd_featureboxes_bottom:before {
    content: '';
    background: #F5F5F5;
    position: absolute;
    width: 200vw;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

#wd_printable_content {
    padding: 64px 0;
}
.page_header {
    margin-bottom: 48px;
    max-width: max(500px, 60%);
}
.wd_banner {
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
    background: url(../images/LBCIcon_News.png);
    background-repeat: no-repeat;
    background-position-x: 90%;
    min-height: 340px;
}
.wd_category_checkboxes input[type="radio"] {
    margin-right: 5px;
}
.wd_search_count:after {
    content: '.';
}

/* button */
.page_header + p a,
.wd_featureboxes_bottom .wd_featurebox > div:last-child a {
    color: rgb(0, 64, 112);
    border: 2px solid rgb(0, 64, 112);
    border-radius: 4px;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    width: fit-content;
}
.page_header + p a:hover,
#wd_printable_content .wd_search_button:hover,
.wd_featureboxes_bottom .wd_featurebox > div:last-child a:hover {
    background: rgb(0, 104, 184);
    border-color: rgb(0, 104, 184);
    color: white;
}
#wd_printable_content .wd_search_button {
    color: rgb(0, 64, 112);
    border: 2px solid rgb(0, 64, 112);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}


/***********************
 Press Release
***********************/


.wd_newsfeed_releases .wd_subscribe_link,
.wd_newsfeed_releases .wd_summary,
.wd_search_advanced_link,
.wd_newsfeed_releases .wd_toolbar {
    display: none;
}
.wd_newsfeed_releases .wd_title a {
    color: #004070;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
    margin-top: 4px;
    display: block;
}
.wd_newsfeed_releases .wd_item_list {
    margin-bottom: 20px;
}
.feed-title {
    color: #004070;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
}
.wd_newsfeed_releases .item {
    padding: 0;
    margin: 36px 0;
}
.wd_search_basic_fields {
    border: none;
    background: none;
    display: flex;
    width: 100%;
    gap: 16px;
    margin: 0;
    padding: 0;
}
#wd_printable_content .wd_search_basic_fields input,
#wd_printable_content .wd_search_basic_fields .wd_select {
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 1rem;
    max-width: 100%;
    color: #777;
    flex: 1;
}
#wd_printable_content .wd_search_basic_fields select {
    width: 100%;
    line-height: 1.2;
}
#wd_printable_content .wd_search_button {
    color: rgb(0, 64, 112);
    border: 2px solid rgb(0, 64, 112);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}
.wd_search_form {
    width: 100%;
}

/* bottom */
.wd_featureboxes_bottom {
    display: flex;
    gap: 24px;
    padding: 72px 0;
    flex-wrap: wrap;
}
.wd_featureboxes_bottom > div {
    background: white;
    padding: 28px;
    flex: 1;
    min-width: 312px;
}
.wd_featureboxes_bottom .wd_featurebox_title {
        color: #004070;
    font-weight: bold;
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 18px;
    margin-top: 0;
}

/***********************
 Release Details
***********************/
.wd_item_page .wd_featureboxes_bottom,
.wd_item_page .wd_banner {
    display: none;
}

.stories-header .wd_title {
    color: #004070;
    font-weight: bold;
    font-size: 48px;
    line-height: 1.1;
    margin: 28px 0 52px;
}

.wd_newsfeed_releases-detail {
    background: white;
    padding: 30px;
}
.wd_newsfeed_releases-detail > div {
    max-width: 750px;
    margin: 0 auto;
}
.wd_newsfeed_releases-detail .wd_date {
    color: #777;
    font-weight: bold;
}
.release-header a {
    color: rgb(0, 64, 112);
}
.header-tools {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    margin-top: 32px;
}
.header-tools a {
    text-decoration: underline;
}
.wd_item_page #wd_printable_content {
    padding-top: 24px;
}
.wd_item_page .wd_content {
    padding-top: 64px;
}
body:not(.wd_item_page) .release-header {
    display: none;
}



.wd_toolbar-detail > span {
    color: #555;
}
.wd_newsfeed_releases-detail .wd_toolbar {
    border: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin-top: 52px;
}
.wd_newsfeed_releases-detail div.wd_toolbar ul.wd_tools {
    width: fit-content;
}
#wd_printable_content .wd_newsfeed_releases-detail .wd_tool-print,
#wd_printable_content .wd_newsfeed_releases-detail .wd_tool-email,
#wd_printable_content .wd_newsfeed_releases-detail .wd_tool-rss,
#wd_printable_content .wd_newsfeed_releases-detail .wd_tool-pdf {
    display: none;
}
#wd_printable_content .wd_newsfeed_releases-detail .wd_tool_icon a {
    background: none !important;
    color: #407094;
    font-size: 22px;
    padding: 6px;
    height: auto;
    width: auto;
    margin-right: 6px;
}

/***********************
 Alerts
***********************/
#email_validated {display: none;}
#wd_printable_content input[type="submit"] {
    color: rgb(0, 64, 112);
    border: 2px solid rgb(0, 64, 112);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    height: 40px;
    cursor: pointer;
    margin: 0;
    max-width: none;
}
#wd_printable_content input[type="submit"]:hover {
    background: rgb(0, 104, 184);
    border-color: rgb(0, 104, 184);
    color: white;
}
#wd_printable_content .wd_subscribe2 input[type="text"] {
    max-width: 500px;
    width: 100%;
}

.mobile-logo {
    display: none;
}
.top-bar {
    justify-content: flex-end;
}

.wd_subscribe2 .wd_category_checkboxes {
    display: none;
}
.wd_subscribe2 .wd_form_field {
    display: flex;
    flex-direction: column;
}
.wd_subscribe2 .wd_form_field_label {
    width: fit-content;
}
.wd_subscribe2 .wd_form_field_input {
    margin: 0;
}
.wd_subscribe2 .wd_form_field_input {
    display: flex;
    flex-direction: column-reverse;
}
#wd_printable_content .wd_subscribe2 .wd_form_buttons {
    margin: 36px 0;
}

#wd_printable_content .wd_subscribe2 input[type="text"] {
    border: 1px solid #777;
    border-radius: 6px;
    height: 48px;
}
#recaptcha2_widget {
    margin-top: 24px;
}

#wd_printable_content .wd_subscribe2 .wd_form_field_error + input[type="text"] {
    background: #FEECF0;
    border-color: #E00D42 !important;
}
#w#wd_printable_content .wd_subscribe2 .wd_form_field_error + input[type=text]:focus,
#wd_printable_content .wd_subscribe2 .wd_form_field_error + input[type="text"]:focus-visible {
    outline: none;
}
#wd_printable_content .wd_form_field_error {
    color: #E00D42 !important;
}

#wd_printable_content .wd_subscribe2 input[type="submit"] {
    background: rgb(0, 64, 112);
    border: 2px solid rgb(0, 64, 112);
    color: white;
}
.wd_subscribe2 .wd_form_field_input a[href*="unsub"] {
    display: none;
}
.wd_unsub-link {
    color: rgb(0, 64, 112);
    text-decoration: underline;
    margin: 5px;
}
.wd_subscribe2 .wd_form_header {
    margin: 5px;
}
.wd_unsub .wd_unsub-link {
    display: none;
}
.wd_unsub .wd_subscribe2 p {
    display: none;
}
.wd_form_field_header {
    margin: 5px;
}
.wd_unsub .wd_subscribe2 .wd_form_field_header {
    display: none;
}
.wd_unsub #wd_printable_content .wd_subscribe2 .wd_form_buttons {
    margin-top: 48px;
}

/* submitted */
.wd_pageid_20300:not(.wd_submitted) #wd_printable_content > p a:hover,
.wd_pageid_20300.wd_submitted .wd_banner p > a:hover,
.wd_pageid_20300.wd_submitted.wd_unsub #wd_printable_content > p a:hover {
    text-decoration: underline;
}
.wd_pageid_20300.wd_submitted.wd_unsub #wd_printable_content {
    display: block; 
}
.wd_pageid_20300.wd_submitted #wd_printable_content {
    display: none; 
}
.wd_pageid_20300 .page_header {
    margin-bottom: 20px;
}
.wd_pageid_20300 .page_header + p {
    max-width: max(400px, 50%);
    font-size: 16px;
}

.wd_pageid_20300.wd_submitted .wd_banner p > b {
    margin: 22px 0 12px;
    display: block;
}
.wd_pageid_20300.wd_submitted .wd_banner p > a {
    border: none;
    font-size: 1rem;
    font-weight: normal;
    background: none;
    color: rgb(0, 64, 112);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.wd_pageid_20300.wd_submitted .wd_banner p > a:before,
.wd_pageid_20300:not(.wd_submitted) #wd_printable_content > p a:before,
.wd_pageid_20300.wd_submitted.wd_unsub #wd_printable_content > p a::before,
.wd_return:before {
    content: url(../images/chevron.svg);
    width: 18px;
    transform: rotate(90deg);
    margin-right: 5px;
    display: inline-block;
}
.wd_return:before {
    margin-right: 7px;
}
.wd_pageid_20300 .page_header {
    display: none;
}
.wd_pageid_20300.wd_submitted .page_header + p a {
    margin-top: 32px;
}
.wd_pageid_20300:not(.wd_submitted) #wd_printable_content > p a,
.wd_pageid_20300.wd_submitted.wd_unsub #wd_printable_content > p a {
    margin-bottom: 32px;
    display: block;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    width: fit-content;
}


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

/* Large devices (desktops) */
@media (max-width: 1024px) {
    .mobile-nav.show {display: flex;}
    .stories-header {flex-direction: column;}
    .stories-header .wd_title {font-size: 32px;}

    .wd_featureboxes_stories .wd_stories-teaser {flex-direction: column;}
    .wd_featureboxes_stories .side-bar {max-width: 100%;}
    .wd_featureboxes_categories > div {width: calc(50% - 15px);}

    .wd_banner {
        background-position-x: 100%;
        background-size: max(40%, 160px);
        padding-bottom: 70px;
    }
    .page_header {
        max-width: 60%;
    }
}

/* Medium devices (tablets) */
@media (max-width: 767px) {
    .wd_page_limit {
        float: none;
        margin-bottom: 24px;
    }
    .wd_gallery ul.wd_item_list {
        display: flex;
        flex-direction: column;
    }
    .wd_banner {
        background-position-x: 100%;
        background-size: 40%;
    }
    .page_header {
        margin-top: 46px;
        max-width: 67%;
    }
    .wd_logo {
        display: none;
        margin-top: 0;
    }
    .wd_search_basic_fields {
        flex-direction: column;
    }
    #wd_printable_content .wd_search_form .wd_search_button {
        height: 40px;
    }
    #wd_printable_content .wd_search_form input {
        padding: 2px 16px;
    }

    #wd_printable_content .wd_gallery .wd_search_basic_fields select,
    #wd_printable_content .wd_gallery .wd_search_basic_fields input,
    #wd_printable_content .wd_gallery .wd_search_basic_fields .wd_search_button,
    #wd_printable_content .wd_gallery .wd_search_form_advanced input[type="submit"] {
        width: 100%;
        max-width: 100%;
        margin: 0 0 10px;
    }
    #wd_printable_content .wd_gallery .wd_search_form_advanced input[type="submit"] {
        margin-top: 10px;
    }
    #wd_printable_content .wd_gallery .wd_search_form_advanced input[name="keywords"],
    #wd_printable_content .wd_gallery .wd_search_form_advanced select,
    .wd_gallery .wd_search_form_advanced .wd_input_border {
        width: 100%;
        max-width: 100%;
    }

    .item.wd_event {
        flex-direction: column-reverse;
        gap: 16px;
    }
    .wd_event_sidebar {
        flex: 1;
    }
      
    .wd_events select,
    button.wd_events_input_go {
        margin: 0 0 10px;
        width: 100%;
        max-width: 100%;
    }
    ul.wd_events_tabs {display: flex; margin: 0;}
    ul.wd_events_tabs li {flex: 1;}

    .mobile-logo {
        display: block;
        height: 40px;
    }
    .top-bar {
        justify-content: space-between;
    }

}

/* Small devices (landscape phones) */
@media (max-width: 575px) {
    .wd_banner {
        background-position-x: 90%;
        background-size: 160px;
    }
    .page_header {
        margin-top: 46px;
        max-width: 100%;
    }

    .wd_featureboxes_categories > div {width: 100%;}

    #recaptcha2_widget {
        position: relative;
        height: 68px;
    }
    #recaptcha2_widget > div {
        transform: scale(0.85);
        position: absolute;
        -moz-transform-origin: 0 0;
        transform-origin: top left;
    }
}

/* CLIENT CSS OVERRIDES */
.QSIFeedbackButton {
    display: none !important;
}
.skip-content-wrap {
    top: 60px;
}

html,
body,
#__next,
#layout-div {
  height: 100%;
}
#main {min-height: calc(100% - 333px);}
@media (max-width: 767px) {
    #main {min-height: calc(100% - 235px);}
}
@media (min-width: 1921px) {
    #main {min-height: calc(100% - 387px);}
}
