/* === MAIN === */

* {
    font-family: 'FiraSans', sans-serif;
    font-size: 15px;
}

body {
    padding: 0;
    margin: 0;
    background-color: var(--wd-body-bg-color);
    color: var(--wd-primary-font-color);
    height: 100%;
}

.wrapper {
    background-color: var(--wd-page-bg-color);
    padding-top: 1rem;
    padding-bottom: 3rem;
    min-height: 80vh;
}

h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--wd-primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--wd-secondary-color);
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.0rem;
    font-weight: bold;
    color: var(--wd-secondary-color);
    margin-bottom: 0.8rem;
}

p {
    color: var(--wd-primary-font-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.wd-bread-crumbs {
    margin: 0.3rem 0 2rem 0;
}

p.wd-introduction {
    color: var(--wd-secondary-font-color);
    font-size: 1.1rem;
}

li {
    color: var(--wd-primary-font-color);
}

a, a:focus, a:hover, a:visited {
    color: var(--wd-primary-font-color);
}

.ws-button {
    -webkit-appearance: none;
    border: 0;
    border-radius: 20px;
    background-color: var(--wd-primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

a.ws-button {
    color: white;
    text-decoration: none;
}

a.ws-button.ws-large {
    font-size: 1.5rem;
    border-radius: 25px;
}

footer {
    background-color: var(--wd-footer-bg-color);
    color: white;
    font-size: 0.9rem;
    padding: 2.5rem 1rem;
    line-height: 1.75rem;
}

footer h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

footer a, footer a:focus, footer a:hover, footer a:visited {
    color: white;
}

.wd-hidden {
    display: none;
    visibility: hidden;
}

.wd-highlight {
    font-weight: bold;
    background-color: yellow;
}

/* === NAVBAR === */
.navbar .wd-logo {
    height: 40px;
}

.navbar.wd-bottom-large {
    border-bottom: 35px solid var(--wd-primary-color);
}

.navbar.wd-bottom-small {
    border-bottom: 2px solid var(--wd-primary-color);
}

.navbar-light .navbar-nav .nav-link {
    text-transform: uppercase;
    color: var(--wd-primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.navbar-light .navbar-nav .nav-link.active {
    background-color: var(--wd-page-bg-color);
    color: var(--wd-primary-color);
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:visited {
    color: var(--wd-primary-color);
}

/* === CONTENT === */
.wd-fixed-header-margin {
    margin-top: 110px;
}

.wd-world-img {
    width: 100%;
    border-radius: 15px;
}

/* === SIDE BLOCK === */
.wd-side-block {
    background-color: white;
    min-height: 30rem;
    border-radius: 15px;
    padding: 3rem 3rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wd-side-block-equal-height {
    background-color: white;
    min-height: 30rem;
    border-radius: 15px;
    padding: 3rem 3rem 2rem 3rem;
    display: grid;
    grid-auto-rows: 1fr;
    grid-row-gap: 0.7rem;
}

.wd-side-block-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}
.wd-side-block-stack-front {
    font-size: 1.5rem;
}
.wd-side-block-stack-back {
    color: var(--wd-primary-color)
}
.wd-side-block-content-cell h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    color: var(--wd-secondary-color);
    font-weight: bold;
}
.wd-side-block-content-cell h3 {
    font-size: 1.0rem;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    color: var(--wd-primary-color);
    font-weight: bold;
}
.wd-side-block-content-cell h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--wd-primary-color);
    font-weight: bold;
}
.wd-side-block-content-cell p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--wd-primary-font-color)
}
.wd-side-block-content-cell li, .wd-side-block-content-cell a, .wd-side-block-content-cell i, .wd-side-block-content-cell b {
    font-size: 0.9rem;
    color: var(--wd-primary-font-color)
}
.wd-side-block-content-cell .wd-author-img {
    float: left;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    height: 114px;
}

.wd-side-block-content-cell .wd-faq-side-toc {
    margin: 0;
    padding-left: 1rem;
}

.wd-side-block-content-cell .wd-faq-side-toc li {
    margin: 0;
    padding: 0.2rem 0;
}

.wd-side-block-content-cell .wd-faq-side-toc a {
    color: var(--wd-primary-font-color);
    font-size: 1.0rem;
}

/* === BOXES === */
.wd-box-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wd-box {
    background-color: white;
    padding: 1.8rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.wd-box-title {
    color: var(--wd-primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}
.wd-box-date {
    color: var(--wd-secondary-font-color)
}
.wd-box-summary {
    color: var(--wd-primary-font-color)
}
.wd-box-summary p {
    margin-bottom: 0;
}
.wd-box-expandable hr {
    width: 7rem;
    margin: 1rem auto;
}
.wd-box-action {
    color: var(--wd-primary-color);
    text-align: right;
}
.wd-box-action a {
    color: var(--wd-primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    margin-right: 1rem;
}

/* === FAQ TABLE === */

.wd-faq-table table {
    width: 100%;
}

.wd-faq-table tr {
    border-bottom: 1px solid var(--wd-secondary-font-color);
}

.wd-faq-table th, .wd-faq-table td {
    padding: 0 0.5rem;
    vertical-align: top;
    font-size: 0.95rem;
}

.wd-faq-table table tr {
    display: flex;
    flex-direction: column
}

.wd-faq-table tr td:last-child {
    width: 60%;
}

.wd-faq-search {
    width: 100%;
    margin-bottom: 2rem;
}

.wd-faq-search form {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.wd-faq-search-input {
    -webkit-appearance: none;
    flex: 1;
    background-color: white;
    border: 1px solid var(--wd-secondary-color);
    border-radius: 30px;
    width: 100%;
    padding: 0.5rem 1rem;
    color: var(--wd-primary-font-color)
}

.wd-faq-search-button {
    background-color: var(--wd-primary-color);
    color: white;
    border-radius: 25px;
    border: 0;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
}

/* === LOGIN === */

.wd-login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.wd-login-panel {
    background-color: white;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
}

.wd-login-content {
    padding: 2.5rem 2.5rem 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.wd-login-contact, .wd-login-contact a {
    color: var(--wd-primary-color);
    letter-spacing: 2px;
}

.wd-login-header {
    display: flex;
    flex-direction: row;
}
.wd-login-logo {
    flex: 1;
    width: 100%;
}

.wd-login-tab-panel form {
    padding-left: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wd-field-label {
    color: var(--wd-primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.wd-field-input input {
    -webkit-appearance: none;
    background-color: var(--wd-page-bg-color);
    border: 0;
    border-radius: 30px;
    width: 100%;
    padding: 0.5rem 1rem;
    color: var(--wd-primary-font-color)
}

.wd-login-info {
    font-size: 0.95rem;
    color: var(--wd-secondary-font-color);
}

.wd-login-button {
    background-color: var(--wd-primary-color);
    color: white;
    border-radius: 50px;
    border: 0;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
}

.wd-login-errors {
    padding-left: 1.75rem;
    color: #DD0000;
}

.wd-login-contact {
    padding-left: 1.75rem;
}

.wd-login-tabs {
    display: flex;
    flex-direction: row;
}

.wd-login-tab {
    background-color: var(--wd-primary-color);
    padding: 0.5rem 1rem;
    flex: 1;
}

.wd-login-tab-left {
    border-bottom-left-radius: 15px;
}
.wd-login-tab-middle {
    border-left: 1px solid white;
    border-right: 1px solid white;
}
.wd-login-tab-right {
    border-bottom-right-radius: 15px;
}

.wd-login-tab button {
    color: white;
    font-size: 0.9rem;
    width: 100%;
    max-width:9rem;
    text-transform: uppercase;
    background: none;
    border: 0;
}

.wd-login-active {
    background-color: var(--wd-login-tab-active);
}

/* === TABLE OF CONTENTS === */
.wd-toc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.wd-toc-entry p {
    margin: 0;
}

.wd-toc-ref {
    color: var(--wd-primary-font-color);
}

.wd-toc-info {
    color: var(--wd-secondary-font-color);
}

.wd-faq {
    margin-bottom: 3rem;
}

.wd-anchor {
    display: block;
    position: relative;
    top: -150px;
    visibility: hidden;
}

.wd-faq-header {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.wd-faq-header h1 {
    margin: 0;
}

.wd-faq-cell-a {
    flex: 1;
}

.wd-faq-cell-b a {
    color: var(--wd-primary-color);
}

.wd-faq-caption {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.wd-faq video {
    margin-bottom: 2rem;
}
/* === REPORT === */

section#report-container {
    /*height: calc(0.5625 * 60vw); !* 16:9 aspect ratio *!*/
    height: 100vh;
    background-color: var(--wd-page-bg-color);
    overflow: hidden;
}

div#error-container {
    margin: 2rem;
    max-width: 450px;
    align-self: center;
    display: none;
}

/* === Error popup === */
.wd-error-popup .modal-content {
    border-color: var(--wd-primary-color);
}

.wd-error-popup .modal-header {
    background-color: var(--wd-primary-color);
    color: white;
}

.wd-error-popup #wd-error-details {
    color: red;
    margin-bottom: 1rem;
}

.wd-error-popup #wd-error-msg {
    margin-bottom: 1rem;
}

.wd-error-popup #wd-support-msg, .wd-error-popup #wd-support-msg a {
    color: var(--wd-secondary-font-color);
    font-size: 0.9rem;
}

.wd-error-popup .wd-btn-close {
    -webkit-appearance: none;
    background-color: white;
    color: var(--wd-primary-color);
    border: none;
    border-radius: 7px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* === ACCOUNT POPUP === */
.wd-account-container-large {
    position: relative;
}

.wd-account-container-small {
    display: none;
}

.wd-account-popup {
    position: absolute;
    border: 1px solid var(--wd-primary-color);
    border-radius: 15px;
    padding: 1rem;
    background-color: white;
    width: 250px;
    right: 0;
    top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wd-account-popup.hidden {
    display: none;
}

.wd-account-header {
    font-weight: bold;
    color: var(--wd-primary-color)
}

.wd-account-name {
    color: var(--wd-secondary-font-color)
}

.wd-account-container-small .wd-account-name {
    text-align: center;
}

.wd-account-close-btn {
    display: block;
    position: absolute;
    -webkit-appearance: none;
    top: 10px;
    right: 10px;
    padding: 0.2rem 0.4rem;
    background-color: var(--wd-primary-color);
    color: white;
    font-size: 1rem;
    line-height: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.wd-account-action-button {
    -webkit-appearance: none;
    border: 0;
    width: 100%;
    border-radius: 7px;
    background-color: var(--wd-primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

a.wd-account-action-button  {
    color: white;
    text-decoration: none;
    width: 100%;
    display: block;
    text-align: center;
}

/* === ONETRUST === */
#ot-sdk-btn.ot-sdk-show-settings {
    border: 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
    color: white !important;
}

#ot-sdk-btn.ot-sdk-show-settings:hover {
    background: none !important;
}

/*@media only screen and (max-width: 575px) {*/
/*    section#report-container {*/
/*        height: calc(0.5625 * 100vw); !* 16:9 aspect ratio *!*/
/*    }*/
/*}*/

iframe {
    border: none;
}

/* === PAGING === */

.wd-pagination {
    margin-top: 2rem;
}

.wd-step-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.wd-step-button {
    background-color: var(--wd-primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

a.wd-step-button, a.wd-step-button:focus, a.wd-step-button:hover, a.wd-step-button:visited {
    color: white;
    text-decoration: none;
}

.wd-step-hide-sm {
    display: none;
}

/* === RESPONSIVENESS === */

/* X-Small devices (portrait phones, less than 576px)
   No media query for `xs` since this is the default in Bootstrap */


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .navbar .wd-logo {
        height: 50px;
    }
    .wd-fixed-header-margin {
        margin-top: 120px;
    }
    .wd-account-container-large {
        display: none;
    }
    .wd-account-container-small {
        display: block;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .navbar .wd-logo {
        height: 50px;
    }
    .wd-fixed-header-margin {
        margin-top: 120px;
    }
    .wd-account-container-large {
        display: none;
    }
    .wd-account-container-small {
        display: block;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar .wd-logo {
        height: 50px;
    }
    .navbar-light .navbar-nav .nav-link {
        font-size: 0.95rem;
    }
    .navbar-light .navbar-nav .nav-link.active {
        border-radius: 15px;
    }
    .navbar-light .navbar-nav .nav-link {
        padding: 0.2rem 1rem;
    }
    .wd-account-container-large {
        display: block;
    }
    .wd-account-container-small {
        display: none;
    }
    .wd-step-hide-sm {
        display: block;
    }
    .wd-faq-table table tr {
        display: table-row;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .navbar .wd-logo {
        height: 60px;
    }
    .navbar-light .navbar-nav .nav-link {
        font-size: 1.0rem;
    }
    .navbar-light .navbar-nav .nav-link.active {
        border-radius: 15px;
    }
    .navbar-light .navbar-nav .nav-link {
        padding: 0.2rem 1rem;
    }
    .wd-fixed-header-margin {
        margin-top: 130px;
    }
    .wd-account-container-large {
        display: block;
    }
    .wd-account-container-small {
        display: none;
    }
    .wd-step-hide-sm {
        display: block;
    }
    .wd-faq-table table tr {
        display: table-row;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .navbar .wd-logo {
        height: 70px;
    }
    .navbar-light .navbar-nav .nav-link {
        font-size: 1.1rem;
    }
    .navbar-light .navbar-nav .nav-link.active {
        border-radius: 15px;
    }
    .navbar-light .navbar-nav .nav-link {
        padding: 0.2rem 1rem;
    }
    .wd-fixed-header-margin {
        margin-top: 130px;
    }
    .wd-account-container-large {
        display: block;
    }
    .wd-account-container-small {
        display: none;
    }
    .wd-step-hide-sm {
        display: block;
    }
    .wd-faq-table table tr {
        display: table-row;
    }
}