html{
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    overflow-x: hidden;
    margin: 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size:110%;
}

/*img{
    width:100%;
}*/

a{
    color: inherit;
    text-decoration: none;
}

h1{
    text-align: center;
}

input:not([type=file]){
    height: 35px;
    margin-bottom: 20px;
}


select, date, text, file{
    height: 45px;
}
input[type=submit], button{
    background-color: #252336;
    border: none;
    color: white;
    cursor: pointer;
    height: 45px;
    text-align:center;
}

button{
    height:40px;
}

label {
  padding-left: 25px;
}

input[type="radio"] {
   width: 20px;
  height: 20px;
  padding: 0;
  margin:0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
}


.bar{
    /*height:45px;*/
    width:100%;
    position: fixed;
    background-color: #252336;
    color: white;
    box-sizing: border-box;
    /*padding-right: 5%;*/
    display: table;
    top: 0;
    z-index: 9;
    color:white;
}

.choice{
    height: 45px;
    width:33.3%;
    background-color: #bdbcbc;
    color: #252336;
    text-align: center;
    /*border-right-style: solid;
    border-width: 2px;
    border-color: #b1b1b1;
    box-sizing: border-box;*/
    position: fixed;
    top:45;
    display: table;
    cursor: pointer;
    z-index: 9;
}

.body_page{
    margin-top:110px;
    margin-bottom: 100px;
}

.choice_disactive{
    background-color: #f1f1f1 !important;
    z-index: 9;
}

.choice_disactive:hover{
    background-color: #d2cbcb !important;
    z-index: 9;
}

#attivita:hover{
    background-color: #d2cbcb !important;
}

.risultato{
    width:50%;
    margin: 30px 25% 30px 25%;
    background-color: #f1f1f1;
    box-sizing: border-box;
    padding: 20px 5% 30px 5%;
    border-radius: 15px;
    font-size: 120%;
}

.img_risultato{
    width: 50%;
    margin: 30px 25% 30px 25%;
    /*cursor: pointer;*/
    font-weight:bold;
}

.button_risultato{
    width:50%;
    font-weight:bold;
    font-size:105%;
    /*margin-left: 25%;*/
}

.popup_image{
    height: 50%;
    width: auto;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 98;
}

.close_popup{
    position: fixed;
    width:5%;
    z-index:99;
    display: none;
    cursor: pointer;
}
.msg{
color:red;
text-align:center;
margin:2% 0 2% 0;
}


@media screen and (min-width: 801px){
.formfield{
width:90%;
margin-top: 2%;
font-size:100%;
}
.dettagli{
  margin-left:10%;
  }

.noavviso{
  height:45px!important;
  font-size:100%;
  background-color: #84c2f6;
  width:90%;
  margin:2% 0 1% 0;
  color:white;
  }

.alert{
    color:#252336;
    font-size:150%;
    margin-bottom: 30px;
    }
.tablealert{
    width: 35%;
    }
.tdalert{
text-align: center;
width: 33%;
font-size: 150%;
    }
.imgalert{
width:30%;
    }

}

/*@media screen and (min-width: 601px) and (max-width:1100px){
}
*/
@media screen and (max-width:800px){

    .risultato{
        width:95%;
        margin: 30px 3% 30px 3%;
        font-size:95%;
    }

    .img_risultato{
        width: 70%;
        margin: 30px 10% 30px 10%;
    }

    .popup_image{
        height: auto;
        width: 80%;
    }

    .close_popup{
        width:9%;
    }
    .formfield{
    width:95%;
    margin-top: 2%;
  }
  .dettagli{
  margin-left:3%;
  }
  .noavviso{
      height:45px!important;
      font-size:95%;
      background-color: #84c2f6;
      width:95%;
      margin:1% 0 1% 0;
      color:white;
  }
.alert{
    width: 90%;
    color:#252336;
    font-size:100%;
    margin-bottom: 30px;
    }
.tablealert{
    width: 90%;
    }
.tdalert{
text-align: center;
width: 33%;
font-size: 100%;
    }
.imgalert{
width:40%;
    }


}
