:root{
    --main-color: #4472c4;
    --danger-color: #ef9e3d;
    --error-color: #c54d4d;
}

@font-face {
    font-family: 'gt-eesti';
    src: url(/assets/fonts/gt.ttf) format('truetype');
}

*{
    font-family: 'gt-eesti', sans-serif !important;
}



html, body{
    margin: 0;
    background-color: #eee;
    width: 100%;
    min-height: 100vh;
}

body{/*Per gestire il footer sempre in fondo*/
    box-sizing: border-box;
    padding-bottom: 280px; /*Per il footer!*/
    position: relative;
}

header{
    position: -webkit-sticky;
    position: sticky;
    top:0;
    height: 60px;
    width: 100%;
    background-color: #aebbd2/*#E3E4DB*/;
    z-index: 9999;
    border-bottom: 2px solid cornflowerblue;
}

header div{
    margin: 0 auto;
    width: -moz-fit-content;
    width: -webkit-fill-available;
    width: fit-content;
}

header img{
    max-height: 100%;
    padding: .4em;
    box-sizing: border-box;
}

@media only screen and (max-width: 330px) {
    header img{
        max-width: 160px;
        padding: .6em;
    }
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0em 1em 1em 1em;
}

#candidatiPlusBtn{
    font-size: 3em;
    padding: .5em;
    text-decoration: none;
    color: inherit;
}

footer{
    margin-top: 1em;
    padding: 1em;
    text-align: center;
    border-top: 2px solid #4f7cce; 
    min-height: 88px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/****************************************************************************
*****************************Stili Componenti********************************
****************************************************************************/

input{
    margin: .5em 0;
}

input[type=text], input[type=email], input[type=number],  input[type=tel]{
    border-radius: 5px;
    border: 0px;
    box-shadow: 0px 8px 6px #afafb5;
    font-size: 1em;
    height: 2em;
    padding-left:1em;
    /* width: 30%; */
    max-width: 300px;
}

button, input[type=submit]{
    background: #859fce/*#aebbd2*/;
    border: 0;
    padding: 0.2em 0.4em;
    font-size: 1em;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.coloriAzienda button, .coloriAzienda input[type=submit]{
    background-color: #4FBB9D;
}

a{
    text-decoration: none;
    color: inherit;
    /* color: cornflowerblue; */
}

textarea{
    resize: vertical;
}
.fullWidth{
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.mainBtn, input[type=submit]{
    margin: .3em;
    width: 150px;
    padding:10px;
    background: #4f7cce;
    color: #fff;
}

.dangerBtn{
    background:var(--danger-color) !important;
}

.highRiskBtn{
    background-color: var(--error-color) !important;
}

.btnDisabled{
    display: none;
}

.btnIcona{
    width:100px;
    padding: 10px;
    margin: 10px;
    overflow-wrap: break-word;
    background-color: transparent;
}

.coloriAzienda .btnIcona{
    background-color: transparent;
}

.btnOpzioneSelezionato, .tipoPuliziaSelected{
    background-color: #4880e4;
}

.coloriAzienda .btnOpzioneSelezionato, .coloriAzienda .tipoPuliziaSelected{
    background-color: #1A936F;
}

.servizi-offerti-small .btnIcona{
    width: 80px;
    font-size: .8em;
    margin: 7px;
    padding: 7px;
}

@media only screen and (min-width: 660px) {
    .servizi-offerti-small .btnIcona{
        width: 90px;
        font-size: .9em;
        margin: 10px;
        padding: 10px;
    }
}

.btnIcona img{
    width: 100%;
    padding-bottom: 10px;
}

.fullWidthTable{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 .4em;
}

.errorText{
    color: rgb(226, 8, 8);
    font-size: .9em;
    display: none;
}

.suggerimentoText{
    font-size: .9em;
}

.loader {
    border: 10px solid #bfbfbf;
    border-top: 10px solid var(--main-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 2em auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notableLink, .blueText, .contrast-text{
    color: #4f7cce;/*cornflowerblue;*/
}

.overDiv{
    display: none;
    z-index: 50;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.overDiv > div{
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 12vh;
    padding: 10px 30px;
    background: #fdfdfd;
    border: 2px solid cornflowerblue;
    border-radius: 25px;
}

.registrazioneFormContainer{
    max-width: 300px;
    width: 90%;
    margin: 0 auto;
}

.registrazioneFormContainer input{
    width: 100%;
}

#burgerMenuIcon{
    float: left;
    margin-top: 10px;
    margin-left: 16px;
    cursor: pointer;
}

#burgerMenuIcon div{
    width: 35px;
    height: 5px;
    background-color: #184dad;
    margin: 6px 0;
    border-radius: 1px;
    width: 30px;
    height: 3px;
    margin: 7px 0;
}

#burgerMenuContainer{
    display: none;
    z-index: 100;
    position: fixed;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #eee;
}

#burgerMenuContainer > div{
    display: flex; align-items: center; height: 100%;
}

#burgerMenuContainer > div > div{
    margin: 0 auto; text-align: center;
}

#burgerMenuContainer a{
    font-size: 1.6em;
}
.homeBannerImage{
    width:100%;
    height: 25vh;
    object-fit: cover;
}

@media only screen and (min-width: 660px) {
    .homeBannerImage{
        height: 35vh;
    }
}
#doveInput{
    width: 100%;
    font-size: 1.4em;
    text-align: center;
    height: 2.2em;
    padding: 0;
}

#btnPuliziaRicorrente, #btnPuliziaSingola{
    width: 45%;
    margin: 0.4em;
    padding: .6em;
}

.opzioniPuliziaDiv{
    background: #f9f9f9;
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 1em;
}

.opzioniPuliziaDiv table{
    margin: 0 auto;
}

.opzioniPuliziaDiv table td{
    padding: 4px;
}

#nomeCandidatura, #cognomeCandidatura{
    width: 45%;
}

#prefissoCellulare{
    width:15%;
    padding-left: 0;
    padding-right: .3em;
    text-align: right;
}

#emailCandidatura, #ragsocCandidatura, #pivaCandidatura{
    width: 91%;
}

.bloccoDomanda{
    background-color: #b3bfe0/*#CDCDCD;*//*#c0c5d4*/;
    border-radius: 10px;
    padding: 1em;
    display: none;
    margin-bottom: 2em;
}

.coloriAzienda .bloccoDomanda{
    background-color: #C5E9AF;
}

.bloccoDomanda h3{
    margin-top: 0;
}

/*INTESTAZIONE PER RICERCA*/
.bloccoDomanda .intestazione{
    overflow: hidden;
    padding-bottom: .5em;
}

.bloccoDomanda .intestazione h3{
    float: left;
}

.bloccoDomanda .intestazione img{
    max-width: 50px;
    max-height: 50px;
    float: right;
}

.bloccoDomanda .titoloDomanda{
    overflow: hidden;
}

.bloccoDomanda .titoloDomanda h3{
    float: left;
}

.bloccoDomanda .titoloDomanda .perc{
    float: right;
    font-size: .8em;
}
.bloccoDomanda input[type=text]{
    width: 100%;
}

.navigazioneBlocco{
    min-height: 50px;
    margin-top: 1em;
    font-size: 1.2em;
    color: #053fa6;
}

.coloriAzienda .navigazioneBlocco{
    color: #1A936F;
}

.indietroBlocco, .avantiBlocco{
    padding: .8em;
    cursor: pointer;
}

.indietroBlocco{
    float: left;
}

.avantiBlocco{
    float: right;
}

#descrizioneCandidatura{
    width: 100%;
    min-height: 100px;
    max-height: 600px;
    font-size: .9em;
}

.giornoPuliziaSingola{
    margin: .3em .8em;
}

.centered-text{
    text-align: center;
}

.small-text{
    font-size: .8em;
}

@media only screen and (min-width: 660px) {
    .small-text{
        font-size: .9em;
    }
}

.answer{
    text-align: center;
    margin-top: 10%;
    /* max-width: 400px; */
    padding-left: 1em;
    padding-right: 1em;
}

.autocomplete {
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}