﻿/*grid body*/
/*body {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 0.4fr;
    grid-template-rows: auto 3fr auto;
    grid-template-areas:
        "header header"
        "main main"
        "footer footer";
}*/

/*header {
    grid-area: header;
    background-color: lightblue;
}

main {
    grid-area: main;
    background-color: yellow;
    display:flex;    
}

footer {
    grid-area: footer;
    background-color: lightgreen;
}
*/

/*main style start*/
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex-grow: 1;
    padding: 5px 10px;
    /* margin-bottom: 200px;*/
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.shadow_custom {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
/*main style end*/

/*navbar style start*/
#client-logo {
    object-fit: cover;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    width: 280px;
    height: 70px;
    border-radius: 2px;
}

@media only screen and (max-width: 280px) {
    #client-logo {
        width: 100%;
        box-sizing: content-box;
    }
}

.bg-itlav {
    background-color: #3366cc;
    display: flex;
    justify-items: center
}
/*navbar style end*/
/*footer style start*/
footer {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 10px 0 20px 0;
    color: white;
    z-index: 999;
}

.footer {
    display: flex;
    width: 70vw;
    justify-content: space-between;
}

.footer-headline {
    font-weight: bold;
    font-family: 'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana;
    font-size: 25px;
}

.footer-elements {
    font-family: 'Helvetica';
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-copirights {
    background-color: #333;
    color: white !important;
    padding: 0 2px;
}

/* Contenitore principale per le sedi */
.footer-columns {
    display: flex;
    flex-wrap: wrap; /* Permette la suddivisione in più righe */
    gap: 10px;
    justify-content: center;
}

/* Stile per ogni elemento della sede */
.footer-item {
    width: 49%; /* Ogni sede occupa il 48% della larghezza */
    padding: 0;
    border-radius: 5px;
    background-color: transparent;
   /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
}

    /* Titolo delle sedi */
    .footer-item .title-sede {
        font-size: 1.1rem;
    }

    /* Icona della mappa e testo */
    .footer-item a {
        text-decoration: none;
        color: #007bff;
        display: inline-block;
    }

        .footer-item a:hover {
            text-decoration: underline;
        }

    .footer-item i {
        margin-right: 5px;
    }

/* Media query per schermi piccoli: una colonna */
@media (max-width: 767px) {
    .footer-columns {
        flex-direction: column; /* Su schermi piccoli, tutte le sedi si dispongono in una colonna */
    }

    .footer-item {
        width: 100%; /* Ogni sede occupa tutta la larghezza disponibile */
    }
}

/*@media(max-width: 500px) {

    .footer {
        flex-direction: column;
    }
}*/

/* typical phone screen resolution */
@media only screen and (max-width : 667px) {
    .footer {
        flex-direction: column;
    }
}
/* landscape orientation */
@media only screen and (min-width : 375px) and (max-width : 667px) and (orientation : landscape) {
    .footer {
        flex-direction: column;
    }
}
/* portrait orientation */
@media only screen and (min-width : 375px) and (max-width : 667px) and (orientation : portrait) {
    .footer {
        flex-direction: column;
    }
}
/*footer style end*/



/*slider inizio*/
.slider {
    position: relative;
    overflow: hidden;
}

.slider__wrapper {
    display: flex;
    width: 70vw;
    /*justify-content: space-between;*/
    transition: transform 0.6s ease;
}

.prev, .next {
    text-align: center;
    background-color: #f5f5f59e;
    border-radius: 50%;
    border: 2px black solid;
    z-index: 1;
    position: absolute;
    top: 30%;
    transition: 0.4s;
}



    .prev:hover, .next:hover {
        background-color: black;
        color: white !important;
    }

.next {
    right: 0;
}
/*slider fine*/

/*card inizio*/
:root {
    --approvazione: hsl(212, 42.9%, 52%);
    --voucher: hsl(327.1, 100%, 45.1%);
    --spontanea: hsl(145.6, 100%, 29.4%);
    --paypal: hsl(222.8, 57.6%, 29.6%);
    --bancasella: hsl(222.8, 57.6%, 29.6%);
    --nexi: hsl(222.8, 57.6%, 29.6%);
    --manuale: hsl(220, 60%, 45%, 29.6%);
}

.approvazione {
    color: var(--approvazione) !important;
}

.voucher {
    color: var(--voucher) !important;
}

.spontanea {
    color: var(--spontanea) !important;
}

.paypal {
    color: var(--paypal) !important;
}

.bancasella {
    color: var(--bancasella) !important;
}

.nexi {
    color: var(--nexi) !important;
}

.manuale {
    color: var(--manuale) !important;
}

.cmseventi_bancasella {
    background-color: orange;
    width: 25px; /* Impostiamo la larghezza a 8px */
    height: 20px; /* Impostiamo l'altezza a 8px */
    display: inline-block;
    font-size: 3em; /* Questo potrebbe non essere necessario, rimuoverò l'effetto su testo */
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    margin: 0 0 -3px 0px;
    margin-right: 0px;
    padding: 0;
    background-image: url('../DefaultImmage/Banca-Sella-48x48.png');
    background-size: 100% 100%; /* Adatta l'immagine all'elemento di 8px */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-sizing: content-box;
}

.cmseventi_nexi {
    background-color: orange;
    width: 25px; /* Impostiamo la larghezza a 8px */
    height: 20px; /* Impostiamo l'altezza a 8px */
    display: inline-block;
    font-size: 3em; /* Questo potrebbe non essere necessario, rimuoverò l'effetto su testo */
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    margin: 0 0 -3px 0px;
    margin-right: 0px;
    padding: 0;
    background-image: url('../DefaultImmage/Nexi48x48_A.png');
    background-size: 100% 100%; /* Adatta l'immagine all'elemento di 8px */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-sizing: content-box;
}

.cmseventi_unicredit {
    background-color: orange;
    width: 25px; /* Impostiamo la larghezza a 8px */
    height: 25px; /* Impostiamo l'altezza a 8px */
    display: inline-block;
    font-size: 3em; /* Questo potrebbe non essere necessario, rimuoverò l'effetto su testo */
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    margin: 0 0 -3px 0px;
    margin-right: 0px;
    padding: 0;
    background-image: url('../DefaultImmage/unicredit-48x48.png');
    background-size: 100% 100%; /* Adatta l'immagine all'elemento di 8px */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-sizing: content-box;
}

.thumb {
    /*flex: 0 1;*/
    display: flex;
    flex-direction: column;
    width: 260px;
    /*height: 350px;*/
    box-sizing: content-box;
    box-sizing: border-box;
    /*    height: 100%;*/
    padding-bottom: 10px;
    min-width: 260px;
}

.thumb-header {
    margin-bottom: 15px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    display: block;
    margin-bottom: 5px;
    padding: 0 10px;
    width: 100%;
    min-height: 150px;
}

.curved {
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.hover-img {
    z-index: 1;
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 260px;
    max-height: 150px;
}

    .hover-img > img {
        max-width: 100%;
        max-height: 197px;
        height: 144px;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transition: all 0.8s;
        -moz-transition: all 0.8s;
        -o-transition: all 0.8s;
        transition: all 0.8s;
        min-width: 250px;
    }

.thumb:hover .hover-img > img, .thumb:focus .hover-img > img {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.thumb:hover .hover-img:before, .thumb:focus .hover-img:before {
    display: block;
}

.thumb-caption {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Open Sans', Tahoma, Arial, helvetica, sans-serif;
    font-size: smaller;
    /*line-height: 1.6em;*/
    font-weight: 400;
    box-sizing: border-box;
    padding: 0 10px;
}

.thumb-desc {
    margin-bottom: 0;
    margin-top: 6px;
    line-height: 1.5em;
}

.thumb-caption p {
    margin: 0 0 2px;
}

.thumb-caption a {
    text-decoration: none;
}

.thumb-caption h4 {
    padding-bottom: 0;
    margin-bottom: 0;
    font-weight: 700;
    color: #333;
    display: block;
    font-size: 18px;
    margin-bottom: 7px;
    line-height: 1.2;
}

.thumb-title {
    margin: 0;
    line-height: 1em;
}
/*card fine*/



/*parallax inizio*/
.bg-parallax {
    /*    background-image: url('../DefaultImmage/newsLetter.png');*/
    background-repeat: no-repeat;
    background-position: 50% -160px;
}

.bg-holder {
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .bg-holder > .bg-mask,
    .bg-holder > .bg-mask-darken,
    .bg-holder > .bg-mask-lighten,
    .bg-holder > .bg-mask-white,
    .bg-holder > .bg-mask-color,
    .bg-holder > .bg-mask-color-invert {
        width: 100%;
        height: 100%;
        z-index: 5;
        opacity: 0.5;
        background: #000;
    }

    .bg-holder > .bg-mask, .bg-holder > .bg-parallax, .bg-holder > .bg-img {
        width: 100%;
        height: 100%;
    }

    .bg-holder > .bg-mask, .bg-holder > .bg-blur, .bg-holder > .bg-mask-darken, .bg-holder > .bg-mask-lighten, .bg-holder > .bg-parallax, .bg-holder > .bg-img, .bg-holder > .bg-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        background-size: contain;
        background-position: center center;
    }

    .bg-holder > .bg-parallax {
        background-position: 50% 0;
        background-attachment: fixed;
    }

    .bg-holder > .bg-mask, .bg-holder > .bg-parallax, .bg-holder > .bg-img {
        width: 100%;
        height: 100%;
    }

    .bg-holder > .bg-mask, .bg-holder > .bg-blur, .bg-holder > .bg-mask-darken, .bg-holder > .bg-mask-lighten, .bg-holder > .bg-parallax, .bg-holder > .bg-img, .bg-holder > .bg-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        background-position: center center;
    }

    .bg-holder > .bg-holder-content, .bg-holder > .bg-content {
        position: relative;
        z-index: 7;
    }

.gap-big {
    margin: 60px 0 60px 0;
}

.gap {
    display: block;
    position: relative;
    margin: 30px 0 30px 0;
    clear: both;
}

    .gap:after {
        clear: both;
        content: '';
        display: table;
    }

.text-offer {
    color: white;
    text-align: center;
}

.text-link:hover, .text-link:visited, .text-link:link, .text-link:active {
    text-decoration: none;
    color: white;
}
/*parallax fine*/

/*login Section start*/
#containter-login {
    display: flex;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    min-height: 100vh;
}

.containerImg {
    display: flex;
    width: 50%;
    height: 100%;
    flex-grow: 1;
    min-height: 100vh;
}

#immageBg {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    min-height: 100vh;
    object-fit: cover;
}

.login-section {
    width: 50%;
    flex-grow: 1;
    background-color: #E5E4E2;
    justify-content: center;
    min-height: 100%;
    display: flex;
    padding: 10px;
    flex-direction: column;
}

.card-login {
    flex-grow: 1;
    background-color: white;
    /*max-height: 355px;*/
    max-width: 600px;
    padding: 5px 20px;
    min-width: 200px;
    height: 100%;
    position: relative;
    top: 5%;
    border-radius: 4px;
}

.section_loginImg {
    justify-content: center;
    display: flex;
    position: relative;
    top: -20%;
}

.section_loginForm {
    justify-content: center;
    display: flex;
    position: relative;
    top: -18%;
}

.logo-loginCMS {
    height: 100px;
    width: 380px;
}
/* typical phone screen resolution */
@media only screen and (max-width : 667px) {
    .login-section {
        width: 100%;
    }

    #containter-login {
        flex-direction: column;
    }

    .containerImg {
        width: 100%;
        /*display: none;*/
    }

    .card-login {
        top: 2%;
    }

    .logo-loginCMS {
        height: 50px;
        width: 200px;
    }

    .section_loginImg {
        top: auto !important;
    }

    .section_loginForm {
        top: auto !important;
    }
}
/* landscape orientation */
@media only screen and (min-width : 375px) and (max-width : 667px) and (orientation : landscape) {
    .login-section {
        width: 100%;
    }

    #containter-login {
        flex-direction: column;
    }

    .containerImg {
        width: 100%;
        /*display: none;*/
    }

    .card-login {
        top: 2%;
    }

    .logo-loginCMS {
        height: 50px;
        width: 200px;
    }

    .section_loginImg {
        top: auto !important;
    }

    .section_loginForm {
        top: auto !important;
    }
}
/* portrait orientation */
@media only screen and (min-width : 375px) and (max-width : 667px) and (orientation : portrait) {
    .login-section {
        width: 100%;
    }

    #containter-login {
        flex-direction: column;
    }

    .containerImg {
        width: 100%;
        /* display: none;*/
    }

    .card-login {
        top: 2%;
    }

    .logo-loginCMS {
        height: 50px;
        width: 200px;
    }

    .section_loginImg {
        top: auto !important;
    }

    .section_loginForm {
        top: auto !important;
    }
}
/* typical tablet screen resolution */
@media only screen and (max-width : 915px) {
    .login-section {
        width: 100%;
    }

    #containter-login {
        flex-direction: column;
    }

    .containerImg {
        width: 100%;
        /*display: none;*/
    }

    .card-login {
        top: 2%;
    }

    .logo-loginCMS {
        height: 50px;
        width: 200px;
    }

    .section_loginImg {
        top: auto !important;
    }

    .section_loginForm {
        top: auto !important;
    }
}
/* landscape orientation */
@media only screen and (min-width : 768px) and (max-width : 834px) and (orientation : landscape) {
    .login-section {
        width: 100%;
    }

    #containter-login {
        flex-direction: column;
    }

    .containerImg {
        width: 100%;
        /* display: none;*/
    }

    .card-login {
        top: 2%;
    }

    .logo-loginCMS {
        height: 50px;
        width: 200px;
    }

    .section_loginImg {
        top: auto !important;
    }

    .section_loginForm {
        top: auto !important;
    }
}
/* portrait orientation */
@media only screen and (min-width : 768px) and (max-width : 834px) and (orientation : portrait) {
    .login-section {
        width: 100%;
    }

    #containter-login {
        flex-direction: column;
    }

    .containerImg {
        width: 100%;
        /*display: none;*/
    }

    .card-login {
        top: 2%;
    }

    .logo-loginCMS {
        height: 50px;
        width: 200px;
    }

    .section_loginImg {
        top: auto !important;
    }

    .section_loginForm {
        top: auto !important;
    }
}
/*login Section end*/

/*recupera password Section start*/
#reg_card {
    max-width: 650px;
    flex-grow: 1;
}
/*recupera password Section end*/

.card-custom-style {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    max-width: 69vw;
    border-radius: 4px
}

@media only screen and (max-width : 667px) {
    .card-custom-style {
        max-width: 92vw !important;
    }
}


.flexGenericTag {
    display: flex;
    align-content: space-between
}

    .flexGenericTag > * {
        flex-grow: 1;
    }

@media only screen and (max-width : 667px) {
    .flexGenericTag {
        flex-direction: column;
        min-height: 180px;
    }

        .flexGenericTag > div {
            width: 100%;
        }
}
