/*colore di base*/
.magenta {
    color: #d41367 !important;
}

.bg-magenta {
    background: #d41367 !important;
}

.bc-magenta {
    border-color: #d41367;
}

.scelta { cursor: pointer; }
@media screen and (max-width:768px)

{.scelta { font-size:13px; }}

label.field {
  border-radius: 2px;
  color: #666;
  display: block;
  margin: 0px;
/*  max-width: 300px;*/
  padding: 8px;
    padding-left: 0;
padding-right: 0;
  opacity: 0;
  position: relative;
  -webkit-transition-property: opacity;
  transition-property: opacity;
  z-index: 1;
}
label.field span {
  color: inherit;
  display: block;
  font-size: 24px;
  height: 20px;
  line-height: 20px;
  left: 9px;
  pointer-events: none;
  position: absolute;
  top: 32px;
  -webkit-transform: scale(1) translateY(0);
          transform: scale(1) translateY(0);
  -webkit-transition-property: color, font-size, top;
  transition-property: color, font-size, top;
  z-index: 1;
}
label.field span.required::after {
  color: inherit;
  content: "*";
  display: block;
  height: 20px;
  left: -20px;
  line-height: 20px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 20px;
}
.error label.field span {
  color: #F02318;
}
label.field .psuedo_select {
  background: rgba(255, 255, 255, 0);
  position: relative;
  border-color: #ccc;
  border-style: solid;
  border-width: 0 0 2px 0;
  color: #666;
  cursor: pointer;
  font-size: 20px;
  height: 24px;
  line-height: 24px;
  margin: 24px 0px 0 0;
  min-width: 250px;
  padding-top: 24px;
  outline: 0;
  z-index: 1;
}
label.field .psuedo_select::after {
  background: url("data:image/svg+xml;utf8,<svg fill='#666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'> <path d='M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z'/> <path d='M0-.75h24v24H0z' fill='none'/> </svg>"), no-repeat;
  content: "";
  height: 24px;
  width: 24px;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transition-property: background;
  transition-property: background;
}
label.field .psuedo_select .selected {
  height: 24px;
  left: 1px;
  line-height: 24px;
  opacity: 0;
  position: absolute;
  top: 0;
  -webkit-transform: translateY(24px);
          transform: translateY(24px);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: opacity, transform;
  transition-property: opacity, transform, -webkit-transform;
  will-change: transform;
}
label.field .psuedo_select ul {
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  display: block;
  height: 0;
  list-style: none;
  margin-top: 2px;
  opacity: 0;
  overflow: hidden;
  padding: 0 1px;
  pointer-events: none;
  -webkit-transition-property: height, opacity;
  transition-property: height, opacity;
  width: 100%;
  z-index: 2;
}
label.field .psuedo_select ul li {
  height: 32px;
  padding: 8px 4px;
}
label.field .deselect {
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: -1;
}
label.field.focused {
  color: #da2e89;
}
label.field.focused .psuedo_select {
  border-color: #da2e89;
}
label.field.focused .psuedo_select::after {
  background: url("data:image/svg+xml;utf8,<svg fill='#007BED' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'> <path d='M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z'/> <path d='M0-.75h24v24H0z' fill='none'/> </svg>"), no-repeat;
}
label.field.focused .psuedo_select ul {
  opacity: 1;
  pointer-events: all;
}


select:required:invalid {
  color: gray;
}
option[value=""][disabled] {
  display: none;
}
option {
  color: black;
}

.head_slider {font-family: 'Covered By Your Grace', cursive;
 color:"#da2e89; font-size:50px;"}
.cifra::selection {background:#FFFFFF !important; }
.cifra::-moz-selection {background:#FFFFFF !important;}
.container_preventivatore::selection {background:#FFFFFF !important; }
.container_preventivatore::-moz-selection {background:#FFFFFF !important;}


.form-title {font-size:22px;}

@media screen and (max-width:768px) {

.form-title {font-size:18px;}
}

a {cursor: pointer;}


#cookie-law p{
  padding: 20px 40px 20px 20px;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}

.close-cookie-banner {
  position: absolute;
  right: 10px;
  top: calc(50% - 12px);
}



.esempio-tfs{
  background-color: #d41367;
  color: white;
}


.hidden {
  display: none;
}

/* Radio group for pensionato/sipendente into form */

.radio-choice {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.radio-choice input{
  display: none;
}
.radio-choice label{
  flex-basis: 45%;
  border-radius: 10px;
  border: 3px solid transparent;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  background: #f2f2f2;
}
.radio-choice input:checked + label{
  border: 3px solid;
  font-weight: 500;
  background: #fff;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

.border {
  border-style: dotted;
  border-color: #D41467;
  border-radius: 20px;
  border-width: 2px;
  padding: 20px
}

.container_preventivatore.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  z-index: 9;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border-top: 3px solid #d41367;
  border-right: 3px solid transparent;
  animation: spinner .6s linear infinite;
}

.btn-submit {
  font-size: 22px;
  display: block;
  margin: 20px 0px 0px;
  font-weight: 400;
  line-height: 27px;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  color: rgb(255, 255, 255);
  border-radius: 10px;
  border: 1px solid rgb(204, 204, 204);
  background: #d41367;
  padding: 10px;
  width: 100%;
}

#form-max {
  display: none;
}

/*CSS AB*/
#footer-bottom .container {width:100%;}
@media screen and (min-width:768px){
  .index-box-type{
    margin-top: 195px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.16);
}
.index-box-type2{
  margin-top: 235px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.16);
}
.inps .index-box-type,
.inps .index-box-type2{
  top: 85px;
  position: relative;
}
}
