/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: ITCAvantGardeStd;
    src: url(../font/ITCAvantGardeStd-Bk.woff);
}

@font-face {
    font-family: ITCAvantGardeStd;
    src: url(../font/ITCAvantGardeStd-Demi.woff);
    font-weight: bold;
}

* {
    font-family: ITCAvantGardeStd;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}


/* CSS for label like placeholder*/

/*.form-field-desio {
    position: relative;
    height: 50px;
}

    .form-field-desio label {
        position: absolute;
        left: 15px;
        top: 8px;
        transition: all 0.3s ease;
        z-index: -2;
        font-size: 16px;
    }

    .form-field-desio input {
        background-color: transparent!important;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

        .form-field-desio input:focus + label, input:not(:placeholder-shown) ~ label {
            top: -20px;
            left: 0;
            font-size: 12px;
        }*/
.col-prod-table {
    max-width: 10rem;
}

.col-btn-table {
    min-width: 200px;
}

#new-email {
    min-width: 350px;
}

.times-error {
    color: red;
    font-weight: bolder;
    font-size: x-large;
}

.validation-error-manual {
    color: red;
    font-weight: bolder;
}


.space-between {
    justify-content: space-between;
}

.jc-flex-end {
    justify-content: flex-end;
}

.marging-r-10 {
    margin-right: 10px !important
}

.shadow-border {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    padding: 16px;
    margin-bottom: 16px;
    height: 100px
}

.height-50 {
    height: 50px
}

.color-black {
    color: black
}

.text-list-page {
    justify-self: center;
}

.margin-left-5px {
    margin-left: 5px;
}

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

.separator {
    height: 20px;
}

.input-group-inline {
    display: inline-flex;
    width: auto;
    vertical-align: middle;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}


.swal2-confirm {
    color: #fff;
    background-color: #e3000f;
    border-color: #e3000f;
}

.swal2-cancel {
    color: #e3000f;
    background-color: #fff;
    border-color: #e3000f;
}

.btn-primary {
    color: #fff;
    background-color: #e3000f;
    border-color: #e3000f;
}

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #e3000f;
        border-color: #e3000f;
    }


    .btn-primary:hover {
        color: #e3000f;
        background-color: #fff;
        border-color: #e3000f;
    }

    .btn-primary:focus, .btn-primary.focus {
        color: #fff;
        background-color: #e3000f;
        border-color: #e3000f;
        box-shadow: 0 0 0 0.2rem rgba(240, 76, 84, 0.5);
    }

.btn-primary-reverse {
    color: #e3000f;
    background-color: #fff;
    border-color: #e3000f;
}

    .btn-primary-reverse.disabled, .btn-primary-reverse:disabled {
        color: #e3000f;
        background-color: #fff;
        border-color: #e3000f;
    }

    .btn-primary-reverse:hover {
        color: #fff;
        background-color: #e3000f;
        border-color: #e3000f;
    }

    .btn-primary-reverse:focus, .btn-primary-reverse.focus {
        color: #fff;
        background-color: #e3000f;
        border-color: #e3000f;
        box-shadow: 0 0 0 0.2rem rgba(240, 76, 84, 0.5);
    }


/* LAYOUT RICHIESTO*/

.container-desio {
    max-width: 1000px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
}

.sidebar {
    width: 200px;
    min-width: 200px;
    padding-right: 20px;
    border-right: 1px solid #eee;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

.content {
    flex-grow: 1;
    padding-left: 20px;
}

.step {
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

    .step.active {
        color: #d32f2f;
        font-weight: bold;
    }

.page-footer {
    border-top: 1px solid black;
    width: 100%;
    color: #fff;
    background-color: white;
    align-items: center;
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 10px;
    font-weight: bold;
}

/* LOADER START */
.loader {
    z-index: 9999;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
}

    .loader .loader_img {
        display: block;
    }

/* VECCHIO LOADER */
/* Absolute Center Spinner */
/*.loading {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}*/

/* Transparent Overlay */
/*.loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
    }*/

/* :not(:required) hides these rules from IE9 and below */
/*.loading:not(:required) {*/
/* hide "loading..." text */
/*font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 150ms infinite linear;
            -moz-animation: spinner 150ms infinite linear;
            -ms-animation: spinner 150ms infinite linear;
            -o-animation: spinner 150ms infinite linear;
            animation: spinner 150ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }*/

/* Animation */

/*@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}*/
/* VECCHIO LOADER */
/* LOADER END */

.cursor-pointer {
    cursor: pointer !important;
}

#ddlSPID {
    width: 300px;
    height: 50px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

#ddlCIE {
    width: 300px;
    height: 50px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

#button-openid {
    border-radius: 0;
    width: 300px;
    height: 50px;
    font-weight: bold;
    font-size: 1.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

#customBar {
    border: solid 2px #e3000f;
    border-radius: 5px !important;
    padding-bottom: 2rem !important;
    padding-top: 2rem !important;
}

.textBar {
    margin: 0 !important;
    text-align: right;
    width: 50%;
}

@media (max-width: 449px) {
    #spanApplicationMobile {
        display: inline;
    }

    #spanApplicationDesktop {
        display: none;
    }
}

@media (min-width: 449px) {
    #spanApplicationMobile {
        display: none;
    }

    #spanApplicationDesktop {
        display: block;
    }
}


#imgErrore {
    width: 40%;
}

@media (max-width: 1184px) {
    #imgErrore {
        width: 70%;
    }
}

@media (max-width: 450px) {
    .textBar {
        width: 80%;
    }
}

@media (max-width: 1184px) {
    #customBar {
        padding-bottom: 1rem !important;
        padding-top: 1rem !important;
    }
}

@media (min-width: 960px) and (max-width: 1184px) {
    .textBar {
        font-size: 18px;
    }
}

@media (max-width: 960px) {
    .textBar {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    #logoBar {
        width: 40%;
    }
}

@media (max-width: 768px) {
    #logoBar {
        width: 65%;
    }
}

@media (max-width: 720px) {
    #ddlSPID, #ddlCIE, #button-openid {
        width: 250px;
        height: 40px;
    }

    #spid-idp-button-medium-post {
        width: 250px !important;
    }
}

@media (max-width: 960px) {
    .btn-w-100 {
        width: 100% !important;
    }
}


@media (max-width: 768px) {
    .cardPhysicalPerson {
        padding-bottom: 0.3rem !important;
        padding-top: 0.3rem !important;
        width: 85% !important;
    }

    .checkIconCardPhysicalPerson {
        bottom: 7px !important;
        right: 7px !important;
        font-size: 17px !important;
    }

    button {
        padding: 0.5rem !important;
    }
}

.cardPhysicalPerson {
    padding-bottom: 2rem;
    padding-top: 2rem;
    border: 1px solid #e3000f;
    background-color: rgb(227,0,15,0.1);
    position: relative;
}

    .cardPhysicalPerson:hover {
        background-color: #e3000f !important;
        color: white;
        cursor: pointer;
    }

.cardPhysicalPersonFocus {
    background-color: #e3000f !important;
    color: white;
    cursor: pointer;
}

.checkIconCardPhysicalPerson {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 20px;
}
