@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,600;0,800;0,900;1,300&display=swap");

.btn,
.logo-microsoft,
.g_id_signin > div {
    font-family: 'Montserrat';
    font-size: 14px !important;
    height: 40px !important;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 2px 2px 0 rgba(0,0,0,0.14),
        0 3px 1px -2px rgba(0,0,0,0.12),
        0 1px 5px 0 rgba(0,0,0,0.2);
    border-radius: 4px;
}

.form-content-login .btn,
.logo-microsoft,
.g_id_signin {
    width: 100%;
}

.g_id_signin iframe {
    width: 100% !important;
}

.form-content-login {
    display: flex;
    flex-wrap: wrap;
}

/* MICROSOFT BUTTON */
.logo-microsoft{
    border: 1px solid #dadce0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;

    width: 100%;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
    padding: 0 12px;

    color: black;
    font-family: Google Sans, Arial, sans-serif;

    overflow: hidden;
    box-sizing: border-box;
}

.logo-microsoft svg{
    flex-shrink: 0;
    min-width: 18px;
}

.logo-microsoft span{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-content-login .col > a {
    width: 100%;
    display: block;
}

.logo-microsoft:hover{
    background-color: #4285f414;
    border-color: rgb(210, 227, 252);
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background:
        linear-gradient(rgb(160 156 156 / 0%), rgb(255 255 255 / 40%)),
        url(../images/sfondoLogin1.png);

    background-size: cover;
    background-position: center;
}

.input-field{
    margin-bottom: 0;
}

.bg-white{
    border-radius: 8px;
    background-color: white;
}

.iframe-wrapper {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    min-height: 420px;

    box-shadow:
        0 4px 5px 0 rgba(0,0,0,0.14),
        0 1px 10px 0 rgba(0,0,0,0.12),
        0 2px 4px -1px rgba(0,0,0,0.3);
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;

    border: 1px solid #ccc;
    border-radius: 8px;
}

body.loginpage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    padding: 20px;
}

.main-row {
    margin-bottom: 0;
}

.page-footer {
    width: 100%;
    margin-top: auto;
    position: static !important;
    flex-shrink: 0;
    padding: 15px;
}

.flex {
    display: flex;
    flex: 1 0 auto;
}

/* PRIVACY */
.login-privacy {
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.privacy-link {
    font-size: 12px;
}

/* FOOTER */
.login-footer {
    width: 100%;
    margin-top: 25px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LOGHI */
.footer-logos {
    display: flex;
    align-items: center;
}

.accredito-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin: 0 10px;
}

/* BOT */
.chat-footer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-footer-btn img {
    height: 28px;
}

.loginpage .form-content-login {
    padding: 10px;
}

.input-field input,
.input-field label {
    font-size: 12px !important;
}

.loginpage .form-login-title {
    text-shadow: 0px 2px 10px #f4d5c3b8;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
}

.login-layout {
    width: 100%;
}

.row.flex{
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
    gap:20px;
}

.iframe-wrapper{
    width:100%;
    height:500px;
}

.iframe-wrapper iframe{
    width:100%;
    height:100%;
    border:0;
    border-radius:12px;
}

.form-wrapper{
    width:100%;
}
.text-end-l{
    text-align: end;
}


/* TABLET */
@media(max-width:992px){
    
    body{
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    }
    .bg-white{
        margin-top:20px;
    }

    .content-wrapper{
        padding-top:60px;
    }

    .iframe-wrapper{
        height:400px;
    }
    
    .login-layout{
        display:flex;
        flex-wrap:wrap;
    }
    
    .login-box{
        order:1;
    }

    .iframe-left{
        order:2;
    }

    .iframe-right{
        order:3;
    }

    .mt-m-1 {
        margin-top: 1rem !important;
    }
    .mt-m-2 {
        margin-top: 20px !important;
    }
}

/* MOBILE */
@media(max-width:600px){
    
    body{
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    }

    .row.flex{
        flex-direction:column;
    }

    .iframe-wrapper{
        height:300px;
    }

    .form-wrapper{
        margin-top:20px;
    }

    .mt-s-1 {
        margin-top: 1rem !important;
    }
    .mt-s-2 {
        margin-top: 20px !important;
    }
    .p-s-0 {
        padding:0 !important;
    }

    .text-center-s{
        text-align: center !important;
    }
    .login-layout{
        display:flex;
        flex-wrap:wrap;
    }
    
    .login-box{
        order:1;
    }

    .iframe-left{
        order:2;
    }

    .iframe-right{
        order:3;
    }

}

.google-custom-btn{
    width:100%;
    height:40px;

    overflow:hidden;
    border-radius:4px;

    box-sizing:border-box;

    box-shadow:
        0 2px 2px 0 rgba(0,0,0,0.14),
        0 3px 1px -2px rgba(0,0,0,0.12),
        0 1px 5px 0 rgba(0,0,0,0.2);
}

.google-custom-btn .g_id_signin,
.google-custom-btn .g_id_signin > div,
.google-custom-btn iframe{
    width:100% !important;
    height:40px !important;
    border-radius:4px !important;
    box-sizing:border-box !important;
}

.google-custom-btn iframe{
    display:block !important;
    margin:0 !important;
}

  .login-message-wrapper{
    min-height:20px !important;
}
.input-field.col label {
    left: 0 !important;
    position: relative;
}


@media (max-width: 767px) {
    .content-wrapper {
        padding-top: 140px;
    }
}

/* Per compatibilità Mozilla*/
@-moz-document url-prefix() {
  .google-custom-btn iframe {
  margin:-2px -10px !important; 
    }
}
