@font-face {
    font-family: 'abysregular';
    src: url('fonts/abys-regular_2-webfont.woff2') format('woff2'),
         url('fonts/abys-regular_2-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'montserratblack';
    src: url('fonts/montserrat-black-webfont.woff2') format('woff2'),
         url('fonts/montserrat-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratbold';
    src: url('fonts/montserrat-bold-webfont.woff2') format('woff2'),
         url('fonts/montserrat-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratlight';
    src: url('fonts/montserrat-light-webfont.woff2') format('woff2'),
         url('fonts/montserrat-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratultra_light';
    src: url('fonts/montserrat-ultralight-webfont.woff2') format('woff2'),
         url('fonts/montserrat-ultralight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
	font-family: 'Lato', sans-serif !important;
	background-color: #91D3F2 !important;
}
.highlight{
	border:1px solid red !important;
}
section#form {
  background: #0091d2;
  color: #189EBE;
  padding: 3rem 2rem;
  text-align: center;
}

section#form h2 {
  text-transform: none;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

section#form form .form-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

section#form form .form-group .input-container {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
}

.flex_row {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;

	align-items: center;
	}

section#form form .form-group .input-container.small {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 20%;
      -ms-flex: 0 0 20%;
          flex: 0 0 20%;
  max-width: 20%;
  margin-right: .8rem;
}

section#form form .form-group input[type="text"], section#form form .form-group input[type="email"] {
  background: #ace1f8;
  font-size: 1.5em;
  padding: 0 1rem;
  border: 0;
  color: #222222;
  height: 70px;
  margin-bottom: 1rem;
  width: 100%;
}

section#form form .form-group label {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

section#form form .form-group label input {
  margin-right: .2rem;
}

section#form form .submit-container {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

section#form form .submit-container button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin-top: 1rem;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: #00a454;
  color: #fff;
  text-transform: none;
  font-size: 3em;
  padding: .6rem;
  height: auto;
  font-weight: 800;
  border-radius: 8px;
  border: 2px solid #fff;
}

//error validator
.error-messages {
  display: none;
}

.errors-alert {
  background: #00a454;
  color: #fff;
  width: auto;
  margin: 0 5%;
  position: absolute;
  left: 0;
  bottom: 105%;
  bottom: -webkit-calc( 100% + 3px);
  bottom: calc( 100% + 3px);
  border-radius: 2px;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.errors-alert p {
  margin: 10px 10% 10px 35px !important;
  font-size: 1em;
  font-weight: normal;
  line-height: 1em;
  text-align: left;
}

.errors-alert a {
  color: #fff;
  text-decoration: underline;
}

.errors-alert span {
  position: absolute;
  top: 50%;
  left: 10px;
  margin: -0.6em 0 0 0;
}

.errors-alert .pointer {
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #00a454 transparent transparent transparent;
  position: absolute;
  bottom: 0;
  left: 10%;
  margin: 0 0 -10px -10px;
}

.floating-label-form-group {
   border:0px !important;
}

.form-group {
    margin-bottom: 0 !important;
	text-align: center;
}

::-webkit-input-placeholder {
   color: #6e6e6e;
   text-transform:none;
}

:-moz-placeholder { /* Firefox 18- */
   color: #6e6e6e;
   text-transform:none;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #6e6e6e;
   text-transform:none;
}

:-ms-input-placeholder {  
   color: #6e6e6e;
   text-transform:none;
}

section#form form .form-group label input:checked + span::before {
	color: #008a47;
    content: "✓";
    font-size: 1.4em;
    left: 0;
    line-height: 1em;
    position: absolute;
    top: -1px;
}


section#form .step-1 h2 {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.3em;
    text-align: center;
	margin-top:30px;
}

.importo {
background: none!important;
    border: none!important;
    width: 37%;
    margin: 0 auto;
    font-size: 64px;
    text-align: center;
    font-size: 50px!important;

}

.form-control.importo {
		color:#FFF!important;
}


@media (max-width: 991px) {
  section#form .step-1 h2 {
    text-align: left;
    line-height: 1.2em;
    font-size: 2.5em;
  }
}
@media (max-width: 767px) {
  section#form form .form-group input[type="text"], main section#form form .form-group input[type="email"] {
    height: 50px;
  }
}
@media (max-width: 1199px) {
  section#form form .submit-container button {
    font-size: 2em;
  }
}

a, a:hover, a:focus, a:active, a.active {
	color:#189EBE;
}



.layborder {
    border: 1px solid #ffffff !important;
    padding: 10px !important;
}

.layborder2 {
    border: none !important;
    padding: 10px 0px 0px 10px !important;
}

section {
    padding: 10px 0 !important;
}

.salva_iu {
	float:right !important;
}

.form-control::-moz-placeholder {
    color: #189EBE !important;
    opacity: 1;
}

.form-control {
	 color: #189EBE !important;
}
	


.btn-group-lg > .btn {
padding: 12px 48px !important;
    text-transform: uppercase;
    font-weight: 900;
	background:#fff!important;
}

.btn:hover, .btn:focus, .btn.focus {
	color:#000!important;
}


.border_rett {
	 border: 1px solid #ffffff;
    color: #ffffff;
    font-family: montserratultra_light;
    font-size: 0.9em;
    margin-bottom: auto !important;
    margin-left: 2%;
    margin-right: auto !important;
    margin-top: auto !important;
    padding: 2%;
    width: 96%;
}

.floating-label-form-group input, .floating-label-form-group textarea {
	font-size:1.2em;
	text-transform:none;
}

.floating-label-form-group input, .floating-label-form-group textarea {
    font-family: montserratultra_light;
    border-radius: 30px;
    padding: 20px;
	    background: #fff;
	color:#189EBE;
}

a, a:hover, a:focus, a:active, a.active {
    color: #18bc9c;
    font-family: Montserratultra_light !important;
    outline: 0 none;
}

.titolo_pre {
	font-family: "montserratbold" !important;
	color:#189EBE;
	padding-left:0px !important;
	margin-left:0px !important;
	font-size: 1.5em;
}

.checkbox-container {
	 margin-left: 15px;
	 color:#ffffff !important;	
}


.btn-success {
    font-size: 18px;
    padding: 10px 51px;
    border-radius: 32px;
    margin: 0 0 38px;
	background: #F7BE56;
	border:none!important;
}

a, a:hover, a:focus, a:active, a.active {
    color: #ffffff !important;
    font-family: Montserratultra_light !important;
    outline: 0 none;
    padding-left: 5px !important;
}

.btn-indietro {
    background-color: #8dc650 !important;
    border: medium none #8dc650 !important;
    color: #ffffff !important;
	border-radius: 6px;
    font-size: 19px;
    line-height: 1.33333;
    padding: 9px 27px;
}


.btn-toolbar {
	display: flex;
	overflow: hidden;
	max-width: 100%;

}

.btn-toolbar button:last-child, .btn-toolbar button:last-child input {
	padding:0!important;
	    margin: 0 0 0 10px!important;
}

.btn-toolbar button {
	width: 50%;
}

.btn-toolbar .btn-group {
	width: auto;
    text-align: center;
    margin: 0 auto;
    display: flex;
    float: none!important;
}