body {
    padding-top: 0px;
}

a:hover, a:focus {
    color: var(--rd-medium-blue);
}

.brand-logo {
    height: 30px;
}

.brand-logo-xs {
    height: 25px;
}

.brand-logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.business-partner-block {
    color: var(--rd-dark-blue);
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-partner-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.business-partner-logo {
    max-height: 85px;
}

.vertical-hr {
    border: none;
    border-left: 1px solid var(--rd-medium-grey);
    height: 100%;
    width: 1px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.footer .vertical-hr {
    border-left-color: #fff;
}

.container-fluid {
    padding: 0px;
    margin: 0px;
}

.col {
    padding: 0px;
}

.card-header {
    background-color: #f9f9f9;
}

.content-wrapper {
    overflow: auto;
    margin-bottom: 80px;
    margin-top: 10px;
}

.card-footer {
    background-color: var(--rd-medium-red);
    color: white;
    font-weight: 100px;
}

.list-group {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    /* padding: 15px 0; */
    height: 100%;
}

.list-group-documents {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    padding-left: 0;
}

ul.channels li.channel {
    margin-bottom: 10px;
    min-height: 140px;
}

.channel {
    border: 5px solid var(--rd-secondary-blue);
    border-radius: 0px 25px;
    cursor: pointer;
    margin: 0px 20px;
    flex-basis: 33%;
    -webkit-flex-basis: 33%;
    padding: 7px 15px;
    display: flex;
    display: -webkit-flex;
    position: relative;
    transition: all 0.2s ease-in-out;
    color: var(--rd-dark-blue);
}

.channel:hover {
    background-color: var(--rd-light-blue);
    color: var(--rd-medium-blue);
}

.channel:focus-within {
    background-color: var(--rd-light-blue);
    color: var(--rd-medium-blue);
}

.channel.selected {
    background-color: var(--rd-secondary-blue);
    color: var(--rd-white);
}

.channel .primary {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--rd-medium-blue);
    font-weight: 500;
}

.channel .secondary {
    font-size: 1.1rem;
    /* min 14px (accessibilità BRD) */
    opacity: 0.8;
    text-wrap: pretty;
    color: var(--rd-medium-blue);
}

.channel .channel-wrapper {
    margin: auto;
    width: 100%;
    text-decoration: none;
}

.channel-wrapper div img {
    width: 75px;
}

.channel.selected .channel-wrapper div img {
    filter: brightness(0) invert(1);
}

.channel.selected .primary,
.channel.selected .secondary {
    background-color: var(--rd-secondary-blue);
    color: var(--rd-white);
}

.channel .channel-wrapper:focus {
    outline: none;
}

.docs-img {
    width: 40px;
}

.footer {
    font-weight: bold;
    font-size: 1.1rem;
    background-color: var(--rd-dark-blue);
    color: white;
    font-weight: 100px;
}

.privacy-bar {
    background-color: #fff;
}

.privacy-bar a {
    color: var(--rd-medium-blue);
}

.lang-navbar {
    background-color: var(--rd-dark-blue);
    color: white;
}

.lang-navbar .btn:focus,
.lang-navbar .btn:focus-within {
    background-color: var(--rd-secondary-blue);
}

.lang-navbar .btn,
.lang-dropdown .dropdown-item {
    min-width: 40px;
    min-height: 40px;
}

.lang-dropdown {
    min-width: auto;
}

#policy,
#claims,
#navbar {
    color: white;
    text-decoration: none;
}

.loader {
    width: 200px;
    height: 100px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    text-align: center;
    z-index: 99999999;
}

.account-modal-body {
    padding: 25px;
}

#claim {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    cursor: pointer;
}

.btn-ea {
    color: #fff;
    background-color: var(--rd-medium-blue);
    border-color: var(--rd-medium-blue);
}

/* Touch target minimo 40px (requisiti accessibilità QA) */
.modal .btn,
.modal .close {
    min-width: 40px;
    min-height: 40px;
}

/* Bottone di chiusura modali: Medium Red senza bordo grigio (mock QA) */
.modal-footer .btn-secondary {
    background-color: var(--rd-medium-red);
    border-color: var(--rd-medium-red);
    color: #fff;
}

.modal-footer .btn-secondary:hover,
.modal-footer .btn-secondary:focus,
.modal-footer .btn-secondary:active {
    background-color: var(--rd-dark-red);
    border-color: var(--rd-dark-red);
}

.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    font-size: 8px;
    text-align: center;
}

.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 25px;
    font-size: 10px;
    text-align: center;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 12px;
    text-align: center;
}

.icon {
    font-size: large;
    cursor: pointer;
}

.cursor-initial {
    cursor: initial;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {

    /* IE10+ specific styles go here */
    .content-wrapper {
        height: 450px;
    }
}

.contact-button {
    align-content: center;
}

.align-content-center {
    align-content: center;
    justify-content: center;
}

.channel-modal-body table tr td:last-child {
    text-align: end;
    padding: 0.5rem 1rem;
}