
#realm-name {
    color: #CC3333;
}
.btn-red {
    color: #fff;
    background-color: #CC3333;
    border-color: #CC3333;
}

#realm-name-header {
    margin-top: 10px;
}

#right-nav-img {
    margin-right: 10px;
    width: 122px;
}



#kc-header-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 10px !important;
}

#kc-header {
    margin-bottom: 18px !important;
}

.login-pf-page {
    padding-top: 60px!important;
	background-color: rgb(228, 234, 242)!important;
    padding-bottom: 30px!important;
}

.navbar-light .navbar-brand {
  margin-right: 0!important;
}

#right-nav-img {
    display: none;
}



#main-auth-container {
    padding-top: 45px !important;
    padding-bottom: 55px !important;
	box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.09)!important;
	padding-left: 44px!important;
    padding-right: 44px!important;
}

#spid-btn, #wallet-btn, #cie-button, #cns-button {
    color: #fff !important;
    background-color: #0066cc !important;
    border-color: #0066cc !important;
    background-image: unset;
    border-radius: 0px !important;
    padding-left: 0;
    padding-right: 0;
}

#eidas-idp-button{
    color: #fff !important;
    background-color: #005EAC !important;
    border-color: #005EAC !important;
    background-image: none !important;
}

#idprt-button{
    color: #fff !important;
    background-color: #0066cc !important;
    border-color: #0066cc !important;
	background-image: none;
    border: 0px;
    padding: 0;
    border-radius: 0px!important;
}

#spid-btn:hover, #cie-button:hover, #cns-button:hover, #idprt-button:hover {
	border-color: #0057AD!important;
	background-color: #0057AD!important;
    text-decoration: none !important;
}

#spid-btn:focus, #cie-button:focus, #cns-button:focus, #eidas-idp-button:focus, #idprt-button:focus, button#spid-professionale:focus, button#iowallet-button:focus{
    border-color: #000 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #000 !important;
    outline: 3px solid rgba(0, 0, 0, 0) !important;
    outline-offset: 3px !important;
}

#spid-btn, #wallet-btn:hover, #cie-button, #cns-button, #eidas-idp-button, #spid-btn, #wallet-btn:focus, #cie-button, #cns-button, #eidas-idp-button, #idprt-button, #idprt-button, #iowallet-button, #spid-professionale {
	max-width: 232px;
}

button#idprt-button img.img-fluid.pr-2.cnslogo {
    position: relative;
    top: 0px;
}

.entra-con {
    margin-left: 10px;
}

.spid-link-item {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: medium;
}

.provider-display-name {

}

.idp-button {
    width: 310px;
    font-size: large!important;
    height: 48px;
}

.idp-dropwdown-menu {
    width: 232px;
}

.wallet-selection-body #main-auth-container {
    border-radius: 4px !important;
    display: flow-root;
    height: auto !important;
    max-width: 1040px;
    min-height: 0 !important;
    overflow: visible;
    padding: 0px 0px 0px !important;
    width: calc(100% - 32px);
}

.wallet-selection-body .container-sm.land-cont {
    display: flow-root;
    max-width: none;
    width: 100%;
    padding-bottom: 25px;
}

.wallet-selection-brand {
    border-bottom: 1px solid #d9e4f2;
    margin-bottom: 24px;
    padding: 16px 0 16px 0px;
    text-align: center;
    background: #F2F7FC;
    border-radius: 4px!important;
}

.wallet-selection-brand img {
    float: none !important;
    max-width: 157px !important;
}

.wallet-selection-body #kc-content {
    float: none !important;
    flex: 0 0 100%;
    margin: 0 auto;
    max-width: 920px;
    padding: 0;
    width: 100%;
    margin-top: -5px;
}

.wallet-selection-page {
    color: #17324d;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
}

.wallet-selection-page [hidden] {
    display: none !important;
}

.wallet-selection-title-row {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.wallet-selection-back-form {
    justify-self: start;
    margin: 0;
}

.wallet-selection-back {
    background: transparent;
    border: 0;
    color: #0066cc;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 0;
    text-decoration: underline;
}

.wallet-selection-back span {
    display: inline-block;
    font-size: 26px;
    line-height: 0;
    margin-right: 6px;
    text-decoration: none;
    vertical-align: -2px;
}

button#wallet-filter-toggle:hover {
    text-decoration: none !important;
}

.wallet-filter-toggle {
    align-items: center;
    background: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 4px;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    justify-self: end;
    padding: 0;
    width: 48px;
}

.wallet-filter-toggle svg {
    fill: none;
    height: 24px;
    stroke: #fff;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 24px;
}

.wallet-filter-close-icon {
    color: #fff;
    display: none;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    position: relative;
    top: -3px;
}

.wallet-filter-toggle[aria-expanded="true"] .wallet-filter-open-icon {
    display: none;
}

.wallet-filter-toggle[aria-expanded="true"] .wallet-filter-close-icon {
    display: inline;
}

.wallet-selection-page h1 {
    color: #1a1a1a;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.wallet-selection-description {
    color: #30475f;
    font-size: 21px;
    margin: 14px 0 30px;
    text-align: center;
}

.wallet-selection-controls {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 48px;
    margin-bottom: 24px;
}

.wallet-search {
    position: relative;
}

.wallet-search-icon {
    fill: none;
    height: 24px;
    left: 16px;
    position: absolute;
    stroke: #30475f;
    stroke-linecap: round;
    stroke-width: 1.6;
    top: 12px;
    width: 24px;
}

.wallet-search-input {
    background: #fff;
    border: 1px solid #d9e4f2;
    border-radius: 4px;
    color: #1a1a1a;
    font-size: 18px;
    height: 48px;
    padding: 6px 46px 6px 52px;
    width: 100%;
}

.wallet-search-input::placeholder {
    color: #5c6f82;
    opacity: 1;
}

.wallet-search-input::-webkit-search-cancel-button {
    appearance: none;
}

.wallet-search-reset {
    align-items: center;
    background: transparent;
    border: 0;
    color: #30475f;
    display: flex;
    font-size: 26px;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 40px;
}

.wallet-sort {
    position: relative;
}

.wallet-sort-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid #0066cc;
    border-radius: 4px;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    padding: 0;
    width: 48px;
}

.wallet-sort-trigger svg {
    fill: none;
    height: 24px;
    stroke: #0066cc;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 24px;
}

.wallet-sort-menu {
    background: #fff;
    border: 1px solid #c5c7c9;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    min-width: 210px;
    padding: 8px 0;
    position: absolute;
    right: 0;
    top: 56px;
    z-index: 20;
}

.wallet-sort-menu button {
    background: #fff;
    border: 0;
    color: #17324d;
    display: block;
    font-weight: 600;
    padding: 10px 16px;
    text-align: left;
    width: 100%;
}

.wallet-sort-menu button:hover,
.wallet-sort-menu button[aria-checked="true"] {
    background: #e9f2fb;
    color: #0057ad;
}

.wallet-selection-list {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
}

.wallet-selection-body #wallet-providers-list {
    box-sizing: border-box;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.wallet-provider-entry {
    display: block;
    margin: 0;
    min-width: 0;
    width: 100%;
}

.wallet-provider-form {
    height: 100%;
    margin: 0;
}

.wallet-selection-body #wallet-providers-list .wallet-provider-button {
    align-items: center;
    background: #fff;
    border: 1px solid #c5c7c9;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    color: #0066cc;
    display: grid;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    gap: 16px;
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    margin: 0;
    max-width: none !important;
    min-height: 94px;
    padding: 14px 20px;
    text-align: left;
    width: 100% !important;
}

.wallet-selection-body #wallet-providers-list .wallet-provider-button:not(:disabled):hover {
    border-color: #0066cc;
    color: #0057ad;
    text-decoration: none!important;
}

.wallet-selection-body #wallet-providers-list .wallet-provider-button:disabled {
    box-shadow: none;
    color: #49657f;
    cursor: default;
    opacity: 0.72;
}

.wallet-selection-body #wallet-providers-list .wallet-provider-logo {
    border-radius: 8px;
    display: block;
    height: 64px;
    object-fit: contain;
    overflow: hidden;
    width: 64px;
}

.wallet-selection-body #wallet-providers-list .wallet-provider-name {
    line-height: 1.2;
    text-align: left;
    text-decoration: underline;
}

.wallet-provider-arrow {
    font-size: 28px;
    font-weight: 400;
    justify-self: end;
    line-height: 1;
}

.wallet-selection-body .wallet-pagination {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 30px auto 0;
    width: 100%;
}

.wallet-selection-body button.wallet-pagination-button {
    align-items: center;
    background: #fff;
    border: 2px solid #0066cc;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.16);
    box-sizing: border-box;
    color: #0066cc;
    display: inline-flex;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-height: 44px;
    padding: 0;
    width: 44px;
}

.wallet-selection-body button.wallet-pagination-button:not(:disabled):hover {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
    text-decoration: none!important;
}

.wallet-selection-body button.wallet-pagination-button:disabled {
    background: #f2f4f7;
    border-color: #c5c7c9;
    box-shadow: none;
    color: #5c6f82;
    cursor: default;
    opacity: 0.72;
    text-decoration: none!important;
}

.wallet-selection-body .wallet-pagination-status {
    align-items: center;
    background: #e9f2fb;
    border-radius: 22px;
    color: #30475f;
    display: inline-flex;
    font-size: 17px;
    font-weight: 600;
    justify-content: center;
    min-height: 44px;
    min-width: 128px;
    padding: 7px 18px;
    text-align: center;
}

.wallet-providers-error,
.wallet-no-results {
    color: #30475f;
    font-size: 18px;
    margin: 28px 0 0;
    text-align: center;
}

.wallet-providers-error {
    color: #b30000;
}

.wallet-selection-back:focus,
.wallet-filter-toggle:focus,
.wallet-search-input:focus,
.wallet-search-reset:focus,
.wallet-sort-trigger:focus,
.wallet-sort-menu button:focus,
.wallet-pagination-button:focus,
.wallet-selection-body #wallet-providers-list .wallet-provider-button:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #000 !important;
    outline: 3px solid transparent !important;
    outline-offset: 3px !important;
    z-index: 65999;
    position: relative;
}

h1#wallet-selection-title {
    font-size: 32px !important;
}

p.wallet-selection-description {
    margin-top: 4px;
    margin-bottom: 20px!important;
}

.wallet-selection-body #wallet-providers-list .wallet-provider-button:hover span.wallet-provider-arrow {
    text-decoration: none !important;
}

button.wallet-selection-back:hover {
    color: #0057ad!important;
}

button#wallet-page-previous span, button#wallet-page-next span {
    position: relative;
    top: -2px;
}

@media all and (min-width: 760px) and (max-width: 990px) {
.wallet-selection-body #kc-content {
    padding: 0 15px!important;
}
}

@media all and (max-width: 767px) {
    .wallet-selection-body #main-auth-container {
        padding: 0px 0px 36px !important;
        width: calc(100% - 24px);
    }

    .wallet-selection-brand {
        margin-bottom: 0px;
        padding-bottom: 20px;
    }

    .wallet-selection-brand img {
        max-width: 157px !important;
    }

    .wallet-selection-title-row {
        display: flex;
        flex-direction: column;
    }

    .wallet-selection-back-form {
        align-self: flex-start;
        margin-bottom: 18px;
    }

    .wallet-filter-toggle {
        align-self: flex-end;
        margin-top: -66px;
        position: relative;
    }

    .wallet-selection-page h1 {
        font-size: 30px;
    }

    .wallet-selection-description {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .wallet-selection-list {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }

    .wallet-selection-body #wallet-providers-list .wallet-provider-button {
        font-size: 18px;
        grid-template-columns: 52px minmax(0, 1fr) 20px;
        min-height: 82px;
        padding: 10px 14px;
    }

    .wallet-selection-body #wallet-providers-list .wallet-provider-logo {
        height: 52px;
        width: 52px;
    }

    .wallet-selection-body .wallet-pagination {
        gap: 12px;
        margin-top: 20px;
    }

    .wallet-selection-body button.wallet-pagination-button {
        height: 42px;
        min-height: 42px;
        width: 42px;
    }

    .wallet-selection-body .wallet-pagination-status {
        font-size: 16px;
        min-height: 42px;
        min-width: 116px;
        padding: 6px 14px;
    }

    .wallet-selection-body #kc-content {
        padding: 20px!important;
    }

    button#wallet-filter-toggle {
        position: relative;
        top: -35px;
    }

    p.wallet-selection-description {
        margin-top: 25px;
        margin-bottom: 20px !important;
        line-height: 18px;
    }
}

.it-wallet-qr-body #main-auth-container {
    border-radius: 4px !important;
    display: flow-root;
    height: auto !important;
    max-width: 1040px;
    min-height: 0 !important;
    overflow: visible;
    padding: 0px 0px 0px !important;
    width: calc(100% - 32px);
}

.it-wallet-qr-body .container-sm.land-cont {
    display: flow-root;
    max-width: none;
    padding-bottom: 25px;
    width: 100% !important;
}

.it-wallet-qr-brand {
    align-items: center;
    background: #f2f7fc;
    border-bottom: 1px solid #d9e4f2;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex: none;
    justify-content: center;
    margin: 0 0 24px;
    max-width: none;
    padding: 16px 0;
    text-align: center;
    width: 100%;
}

.it-wallet-qr-brand img {
    float: none !important;
    height: auto;
    max-width: 157px !important;
    object-fit: contain;
    width: min(100%, 157px);
}

.it-wallet-qr-body #kc-content {
    float: none !important;
    flex: 0 0 100%;
    margin: -5px auto 0;
    max-width: 920px;
    padding: 0;
    width: 100%;
}

.it-wallet-qr-page {
    color: #17324d;
    font-family: "Titillium Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
}

.it-wallet-qr-title-row {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 48px;
}

.it-wallet-qr-back-form {
    justify-self: start;
    margin: 0;
}

.it-wallet-qr-back,
.it-wallet-qr-cancel {
    background: transparent;
    border: 0;
    color: #0066cc;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 0;
    text-decoration: underline;
}

.it-wallet-qr-back span {
    display: inline-block;
    font-size: 26px;
    line-height: 0;
    margin-right: 6px;
    text-decoration: none;
    vertical-align: -2px;
}

h1#it-wallet-qr-title {
    color: #1a1a1a;
    font-size: 32px !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.it-wallet-qr-description {
    color: #30475f;
    font-size: 21px;
    margin: 4px 0 20px;
    text-align: center !important;
}

.it-wallet-qr-content {
    justify-content: flex-start;
    width: 100%;
}

.it-wallet-qr-code-wrap {
    height: 250px;
    margin: 0 auto 24px;
    position: relative;
    width: 250px;
}

.it-wallet-qr-body div#qrcode {
    background: #fff;
    height: 250px;
    margin: 0;
    padding: 0;
    width: 250px;
}

.it-wallet-qr-body #qrcode img,
.it-wallet-qr-body #qrcode canvas {
    display: block;
    height: 250px !important;
    width: 250px !important;
}

.it-wallet-qr-code-logo {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: flex;
    height: 54px;
    justify-content: center;
    left: 50%;
    padding: 5px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
}

.it-wallet-qr-code-logo img {
    display: block;
    height: 44px;
    object-fit: contain;
    width: 44px;
}

.it-wallet-qr-timer {
    color: #000;
    font-size: 18px;
    margin: 0 0 12px !important;
}

.it-wallet-qr-state {
    margin: 0 auto 24px;
    max-width: 520px;
    text-align: center;
    width: 100%;
}

.it-wallet-qr-body #qrcode-expired {
    margin: 4px auto 20px;
    max-width: 420px;
}

.it-wallet-qr-body #qrcode-expired .qrcode-expired-title {
    color: #30475f;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 16px;
}

.it-wallet-qr-body #qrcode-expired .warning-icon {
    background: #fff4cc;
    border: 1px solid #ffe69c;
    border-radius: 8px;
    height: 104px;
    margin: 0 auto;
    width: 160px;
}

.it-wallet-qr-body #qrcode-expired .warning-icon i.fa.fa-exclamation-circle {
    color: #e68a00;
    font-size: 48px;
}

.it-wallet-qr-body #qr-container.is-expired #form {
    margin: 0;
}

.it-wallet-qr-body #qr-container.is-expired input#itwallet-submit-button {
    margin-top: 0;
    width: 232px;
}

.it-wallet-qr-body #qr-cancel-form {
    display: none;
}

.it-wallet-qr-body button#itwallet-cancel-btn {
    background: transparent !important;
    border: 0 !important;
    color: #0066cc !important;
    margin: 0;
    max-width: none;
}

.it-wallet-qr-body button#itwallet-cancel-btn:hover {
    background: transparent !important;
    border: 0 !important;
    color: #004d99 !important;
}

.it-wallet-qr-back:focus,
.it-wallet-qr-cancel:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #000 !important;
    outline: 3px solid transparent !important;
    outline-offset: 3px !important;
}

@media all and (max-width: 767px) {
    .it-wallet-qr-body #main-auth-container {
        padding: 0 0 32px !important;
        width: calc(100% - 24px);
    }

    .it-wallet-qr-brand {
        margin: 0;
        padding: 16px 0 20px;
    }

    .it-wallet-qr-body #kc-content {
        margin-top: 0;
        padding: 20px !important;
    }

    .it-wallet-qr-brand img {
        height: auto;
        max-width: 157px !important;
    }

    .it-wallet-qr-title-row {
        display: flex;
        flex-direction: column;
    }

    .it-wallet-qr-back-form {
        align-self: flex-start;
        margin-bottom: 18px;
    }

    .it-wallet-qr-title-spacer {
        display: none;
    }

    h1#wallet-selection-title,
    h1#it-wallet-qr-title {
        font-size: 30px !important;
    }

    .it-wallet-qr-description {
        font-size: 18px;
        line-height: 1.2;
        margin: 4px 0 20px;
    }

    .it-wallet-qr-body #qrcode-expired .qrcode-expired-title {
        font-size: 18px;
    }

    .it-wallet-qr-body #qrcode-expired .warning-icon {
        height: 92px;
        width: 140px;
    }
}

.idp-provider {
    box-shadow: unset!important;
    border-bottom: unset!important;
    width: 100% !important;
}

.container-sm.land-cont {
    display: flex;
	padding: 0 0px;
}

.container-sm.land-cont h4 {
    text-align: left;
    font-weight: bold;
    font-size: 17px;
}

.container-sm.land-cont .logo-log img{
    max-width: 240px;
    float: left;
}

.col-sm-12.col-md-6.logo-log {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

@media all and (min-width: 768px) {

#spid-btn, #cie-button, #cns-button, #eidas-idp-button, #spid-btn, #cie-button, #cns-button, #eidas-idp-button, #idprt-button, #idprt-button, #iowallet-button, #spid-professionale {
    margin-left: -30px;
}

.container-sm.land-cont .col-sm-12.col-md-6 {
    padding: 0 35px;
}

}

@media all and (max-width: 767px) {

#main-auth-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.container-sm.land-cont {
    display: flex;
    flex-direction: column;
    padding: 0 0px;
}

.col-sm-12.col-md-6.logo-log {
    width: 100%;
    display: block;
}
.container-sm.land-cont .logo-log img {
    display: block;
    clear: both;
    position: relative;
    margin: 0 auto;
    float: none;
}

.col-sm-12.col-md-6.logo-log .container-sm.land-cont h4 {
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	margin: 30px;
}

div#main-auth-container {
    width: calc(100% - 30px);
	margin-bottom: 35px !important;
}

#spid-btn, #cie-button, #cns-button, #eidas-idp-button, #spid-btn, #cie-button, #cns-button, #eidas-idp-button, #idprt-button, #idprt-button, #wallet-btn, #spid-professionale {
    max-width: 232px;
}

#wallet-providers-list {
    min-width: 232px;
    width: 232px;
}

.container-sm.land-cont .logo-log img {
    max-width: 140px;
}

.login-pf-page {
    padding-top: 30px !important;
    padding-bottom: 5px !important;
}


}

@media all and (max-width: 540px) {
	
	.footer__logo img.img-fluid {
    height: 70px!important;
    }
}


@media all and (max-width: 360px) {

    .login-pf-page {
        padding-top: 25px !important;
        padding-bottom: 1px !important;
    }

    #wallet-providers-list {
        min-width: 210px;
        width: 210px;
    }

}

@media (min-width: 300px) {
    #right-nav-img {
        display: block;
    }
}


@media all and (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        width: 1320px!important;
		max-width: 1320px!important;
    }
	
	.container-sm.land-cont {
    display: flex;
	padding: 0 0px;
	width: 100%!important;
	}
}
