.woocommerce-MyAccount-navigation-link--valutazioni a {
  background-color: #435c7c !important;
  color: #fff !important;
}

#valutazione .pw-row {
  display: flex;
  flex-wrap: wrap;
  background-color: #eee;
  padding: 20px;
  margin: 15px 0;
}

#valutazione .pw-row .pw-col {
  display: flex;
  margin: 5px 0;
  flex-direction: column;
}

#valutazione .pw-row h2 {
  width: 100%;
  padding: 0 0 10px 0;
  font-size: 20px;
  font-weight: 900;
  border-bottom: 1px solid #ed1c24;
  color: #082038;
}

#valutazione .pw-row h3{
  width: 100%;
  padding: 20px 0 10px 0;
  font-size: 16px !important;
  text-align: left !important;
  border-bottom: 1px solid;
}

#valutazione .pw-col .label {
  font-weight: 600;
}

.pw-col .input{
  width: 100%;
}

#valutazione .pw-row.valutazione .pw-col {
  flex: 100%;
}

@media screen and (min-width:769px){
  #valutazione .pw-row.dati-allievo .pw-col
  ,#valutazione .pw-row.dati-corso .pw-col{
    flex:25%;
    padding-right: 15px;
  }

  #valutazione .pw-row .pw-col.half {
    flex: 50%;
  }
}

@media screen and (max-width:768px){
  #valutazione .pw-row.dati-allievo > div
  ,#valutazione .pw-row.dati-corso .pw-col{
    flex:100%;
    text-align: center;
  }

  #valutazione .pw-row.dati-allievo .push-left{
    margin:auto;
  }

  #valutazione .label{
    text-align: center;
  }

  #valutazione .buttons.buttons{
    display:block;
  }

  #valutazione .buttons input{
    width:100%;
  }

  #valutazione input.annulla, #valutazione input.bozza {
    margin-bottom: 5px;
  }
}

#valutazione .pw-row .pw-col.half.first {
    padding-right: 10px;
}

#valutazione .pw-row.profilo .pw-col {
    width: 100%;
}

#valutazione input[type="submit"]{
  width: 100%;
}

.valutazioni-separator{
  width: 100%;
  margin: 20px 0;
  height: 2px;
  display: block;
  background-color: #050f36;
}

.page-title{
  text-align: center;
}

p.back-button {
  padding: 10px;
  text-align: center;
  background-color: #eee;
  margin-bottom: 5px;
  -webkit-transition: background 0.5s; /* For Safari 3.0 to 6.0 */
  transition: background 0.5s; /* For modern browsers */
}

p.back-button:hover{
  background-color:#d2d2d2;
}

p.back-button i{
  margin-right:8px;
}

.valutazione-error {
  background-color: #ed1c24;
  padding: 20px;
  color: #fff;
  margin-bottom:20px;
}

.valutazione-error::before{
  content:'\f071';
  font-family: 'Font Awesome 5 Free';
  padding: 0 20px;
}

#valutazione .dati-allievo .push-left {
  width: 200px;
}

#valutazione .buttons {
  display: flex;
}

#valutazione .buttons input {
  flex: 1;
}

#valutazione input.annulla, #valutazione input.bozza {
  margin-right: 5px;
}

#valutazione input.annulla {
  background-color: #4c4c4c;
}

#valutazione input.annulla:hover {
  background-color: #000;
}

#valutazione input.bozza {
  background-color: #e69f00;
}

#valutazione input.bozza:hover {
  background-color: #d66a00;
}

h2.lista_heading.lista_heading {
  font-size: 20px;
  font-weight: 1000;
  text-align: center;
  border-bottom: 1px solid;
  padding: 0 0 10px 0;
  margin-bottom: 20px;
}

td.valutazioni_action {
  text-align: center;
  font-size: 20px;
}

.valutazioni_action a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

@media screen and (max-width:768px){
  #valutazioni-allievi tr.child li{
    position:relative;
  }

  #valutazioni-allievi tr.child a{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}

td.valutazioni_action {
  position: relative;
}

div#consegna_container {
  margin-bottom: 1.5em;
  text-align: right;
}

div#consegna_container div {
  color: #FFF;
  padding: 10px;
  margin-bottom: 5px;
  text-decoration: underline;
}

#valutazioni-allievi .error{
  background-color:#ff6d6d !important; /* PWS#106 */
}

#valutazioni-allievi .correct.correct{
  background-color:#beffbe !important; /* PWS#106 */
}

/* START PWS#81-storico */
div.storico-formativo h2{
  cursor: pointer;
}

div.storico-formativo{
  position: relative;
  padding-bottom: 60px !important;
}

div.storico-formativo div.bottom_wrapper{
  position: absolute;
  bottom: 10px;
  font-size: 25px;
  width: 100%;
  text-align: center;
  left: 0;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

div.storico-formativo div.bottom_wrapper span{
  font-size:12px;
  height: 12px;
  line-height: 12px;
  width: 100%;
}

div.storico-formativo div.bottom_wrapper i.fas.storico_freccia{
  width: 100%;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
/* END PWS#81-storico */

/* START PWS#106 */
#valutazioni-allievi tr.volontario.volontario {
  background-color: #435c7c69;
}

#valutazione.volontario .pw-row {
  background-color: #435c7c54;
}

form#valutazione.volontario .pw-row  h2{
  border-bottom: 1px solid #0d3ea1;
}

#valutazione .in_barca_container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
/* END PWS#106 */

#valutazioni-allievi td.nominativo {
    position: relative;
}

#valutazioni-allievi tr.consegnata td.nominativo::before {
  content:'';
  position: absolute;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #32a242;
  top: 0;
}

#valutazioni-allievi tbody tr:not(.consegnata) td.nominativo::before {
  content:'';
  position: absolute;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: red;
  top: 0;
}

#valutazioni-allievi tr td{
  text-align: center;
}

/* START PWS#114 */
.pw_view_type {
  display: flex;
  justify-content: space-around;
  margin:20px 0;
}

.pw_view_type a {
  flex-basis: 100%;
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  font-weight: 600;
}

.pw_view_type .vol {
  color: #fff;
}

.pw_view_type .all {
  margin-right: 5px;
  border: 1px solid #435c7c;
  color: #435c7c;
}

.pw_view_type .all:hover {
  background:#435c7c12;
  cursor:pointer;
}

.pw_view_type .vol:hover {
  background:#2a3c53;
  cursor:pointer;
}

#valutazioni-allievi tr.hide_row{
  display: none;
}
/* END PWS#114 */

.cambia_utente form{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 75%;
  margin: auto;
  padding: 20px 50px;
  background-color: #050f36;
  color: #fff;
  margin-bottom: 20px;
}

.cambia_utente input#user_id {
  width: 100%;
  margin: 0 0 10px 0;
  max-width: initial;
  text-align: center;
}

.cambia_utente input[type="submit"] {
  width: 100%;
  background-color: #ed1c25;
}

/* PWS#197-11 */
.valutazione .val, .valutazione .desc, .valutazione input[type="radio"]{
  display: none;
}

.val-num {
    display: flex;
    line-height: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.val-num label {
    background: red;
    margin-right: 2px;
    border-radius: 5px;
    min-width: 40px;
    text-align: center;
    font-weight: 800;
    color: #fff;
    display: block;
}

.val-num div label:hover {
    opacity: 0.5;
    cursor: pointer;
}

.val-num .explain{
  height: 150px;
  width: 100%;
  overflow: scroll;
  background: #fff;
  margin-top: 10px;
  padding: 5px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 20px;
}

fieldset.numeri{
  background-color: rgb(241 245 249);
  padding: 10px !important;
}

.no-area-volontario .woocommerce-MyAccount-content{
  background-color: #fff !important;
}

#valutazioni-allievi tr.odd{
  background-color: #eee !important;
}

/* Rosso (Gradi 1-3) */
.val-num div.val-1 label
,.val-num div.val-2 label
,.val-num div.val-3 label { background-color: #ff4d4d; } /* Rosso acceso */

/* Giallo/Neutro (Gradi 4-6) */
.val-num div.val-4 label
,.val-num div.val-5 label { background-color: #ffd11a; } /* Giallo miele (centro) */
.val-num div.val-6 label { background-color: #c4e600; } /* Lime chiaro */

/* Verde (Gradi 7-10) */
.val-num div.val-7 label
,.val-num div.val-8 label { background-color: #a3e635; } /* Verde mela */
.val-num div.val-9 label
,.val-num div.val-10 label { background-color: #2eb82e; }

.val-num label.checked {
  background-color: rgb(71 102 234 / 90%) !important;
}

.campo-desc{
  min-height: 100px;
}