/* FORM ===================================*/

input, textarea {
  width: 100%;
}

form {
  position: relative;
}

label,
.label {
  display: block;
  width: 100%;
  font-size: .8rem;
  margin-bottom: 7px;
}

.white-space-nowrap {
  white-space: nowrap;
}

.campo-input {
 position: relative;
}

.campo-input div.error {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  top: -27px;
  position: absolute;
  z-index: 4;
  font-size: 12px;
  font-weight: normal;
}

div.error div {
  padding:7px;
}

.box-check .error {
  left: -15px;
}

.campo-input div.error div label.error,
.campo-textarea div.error div label.error{
  color:#FFF;
  text-shadow:1px 0px 3px rgba(0,0,0,0.1);
  margin: 0;
  line-height: 1.3;
}

.campo-input div.error div label.error span.tip {
  display:block;
  position:absolute;
  bottom:-16px; 
  left:13px;
  border-width:8px;
  border-top-color: rgba(0,0,0,0.7);
  border-left-color:transparent;
  border-right-color:transparent;
  border-bottom-color:transparent;
  border-style:solid;   
}


.response-interno {
  margin: 0px auto;
  text-align: center;
  height: 100%;
  max-width: 320px;
  padding: 20px;

}

#response a.res-link {
}


.response-interno{
}

#response ul {
  list-style: none;
  margin-top: 5px;
  margin-bottom: 15px;
  /*opacity: 0.8*/
}

div#response div.failure_container,
div#response div.success_container {

  
}

div.failure_container span.failure_tit,
div.success_container span.success_tit  {

}

input, textarea {
  border:none;
  background: #fff;
  color: #797979;
  width: 100%;
  border:1px solid #ddd;
  border-radius: 4px;
  display: block;
}

input:hover,
textarea:hover {
  border-color:#ccc;
}

input:focus,
textarea:focus {
  border-color:#aaa;
}

input {
  height: 40px;
  padding: 0 15px;
  
}

textarea {
  padding: 10px 15px;
  resize:none;
  height: 70px;
}


.campo-obbl {
  position: absolute;
  top: 5px;
  right: 5px;
  color: red;
  z-index: 10;
  font-size: 18px
}


.box-check input  {
 position: absolute;
 /*left: -999999999999px;*/
 opacity: 0;
 width: 1px!important;
 height: 1px!important;
}

.box-check > label .check-custom {
  width: 13px;
  height: 13px;
  /*padding: 2px;*/
  display: block;
  float: left;
  margin: 0;
  margin-right: 8px;
  margin-top: 1px;
  border: 1px solid #ccc; /* PH */
  content: '';
  position: relative;
  background: #fff;
}


input[type='checkbox']:checked + label .check-custom:before,
input[type='radio']:checked + label .check-custom:before {
  background:#aaa;
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  right: 2px;
  left: 2px;
  bottom: 2px;
}


.box-check .info {
  margin-left: 25px;
  display: block;
  font-size: 11px;
  text-transform: none;
  line-height: 1.2
}


/*SELECT ===========*/

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(../images/freccia-down-scura.svg);
  background-position:    right center;
  background-repeat: no-repeat;
  background-size: 21px auto;
  border:0;
  border: 1px solid #ddd;
  height: 40px;
  padding: 0 30px 0 10px;
  border-radius: 3px;
  color: #38383e;
  width: 100%;
}

select:hover {
  border: 1px solid #85CAE8;
}

select option {
  color: #444;
  background-color: #fff
}

select.su-scuro,
.col-sx-fix select {
  background-color:  rgba(255,255,255,0.1);
  background-image: url(../images/freccia-down-bianca.svg);
  border:0;
  /*border: 1px solid rgba(255,255,255,0.2);*/
  color: #fff;
}

select.su-scuro:hover,
.col-sx-fix select:hover {
  /*border: 1px solid rgba(255,255,255,0.3);*/
  background-color:  rgba(255,255,255,0.15);
}

.container.select-scuro {
  background: #444;
  padding: 20px;
}

.btn input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
}

