﻿
@import "variabiliComuni.less";

#divSpinner {
    display: none;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    background-color: @colore-otto;
    opacity: 0.2;
    width: 100%;
    height: 100%;
}

#divSpinner div {
    position: absolute;
    top: 50%;
    left: 50%;
    color: @colore-due;
}

#spinnerCampi {
    display: none;
    z-index: 1;
    /*    opacity: 0.2;*/
    width: 100%;
    height: 100%;
    color: @colore-due;
}

.spinnerCampiPosition{
position: relative;
top: -45px;
left: 900%;
}


.progresso {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: #e9ecef;
    --bs-progress-border-radius: 0.375rem;
    --bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-progress-bar-color: #ffffff;
    --bs-progress-bar-bg: #282556;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
}

.form-control:focus {
    color: @colore-otto;
    background-color: @colore-cinque;
    border-color: @colore-uno;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(#139699 / 25%);
}

.spostaAvvertimento {
    position: relative;
    top: 10px;
    left: 43%;
}

.spostaAvvertimentoLocalita {
    position: relative;
    top: -40px;
    left: 43%;
}

.spostaAvvertimentoLocalitaEstero {
    position: relative;
    top: -125px;
    left: 43%;
}

.spostaAvvertimentoMail {
    position: relative;
    top: 10px;
    left: 20%;
}

.form-control-localita {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: @colore-otto;
    background-color: @colore-cinque;
    background-clip: padding-box;
    border: 1px double @colore-sette;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    max-width: 200px;
    padding: 1rem 0.75rem;
}

.form-padding {
    padding: 1rem 0.75rem;
}

.form-panel {
    margin-top: @h4-size;
    border-radius: 0.25rem;
    border-color: @colore-uno;
    border-style: solid;
    border-width: 0.1px;
    margin-bottom: 10px;
    padding: 7px;
}


/*a {
    color: @colore-quattro !important;*/ /*Viola chiaro*/
/*}*/

.divBloccoFormLandingPage .divContenutoBloccoForm {
    width: 58%;
    /* max-width: 48%;*/
    float: left !important;
}

#divContenitoreFormLanding.divBlocco {
    position: relative;
    background-color: @colore-sette;
}

.divBloccoFormLandingPage {
    width: 100%;
    /*----flexbox-----*/
    /* display: -webkit-box; OLD - iOS 6-, Safari 3.1-6 */
    /* display: -moz-box; OLD - Firefox 19- (buggy but mostly works) */
    /* display: -ms-flexbox; TWEENER - IE 10 */
    /* display: -webkit-flex; NEW - Chrome */
    /*display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;*/
    position: relative;
    background-color: @colore-sette;
    color: white;
    padding: 30px;
    z-index: -1;
}

.divBlocco .frameFormLandingPage {
    border-radius: 15px;
    border: solid @colore-sette 2px;
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 21px 15px -10px;
    /*overflow: visible;*/
    position: static; /*absolute;*/
    /* top: 30px;
    right: 30px;*/
    width: 48%;
    margin-left: 2.5%;
    float: left;
}

.FormLandingPage {
/*    height: 120px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #646464;*/
    margin-right: 10px;
    margin-left: 10px;
}

.FormLandingPage::-webkit-scrollbar {
    width: 10px;
}

.FormLandingPage::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #646464;
    border-radius: 10px;
}

.FormLandingPage::-webkit-scrollbar-thumb {
    background: #646464;
    border-radius: 10px;
}

.FormLandingPage::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
}

@media screen and (max-width: 820px) {
    #divContenitoreFormLanding.divBlocco {
        position: static !important;
        height: auto !important;
        background-color: @colore-sette;
    }

    .divBloccoFormLandingPage {
        position: static;
        z-index: auto;
    }

    .divBloccoFormLandingPage .divContenutoBloccoForm {
        width: 100%;
    }

    .divBlocco .frameFormLandingPage {
        position: static;
        width: 95%;
        margin: 2.5%;
    }

    .form-group {
        margin-right: 10px;
        margin-left: 10px;
    }

}

