
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,900&display=swap');

body {
	font-family: 'Lato', sans-serif;
	overflow-x: hidden;
}
/*FORM */
select{
	height: 39px;
}

small {
	font-size: 14px;
	line-height: 15px;
}

/* font family */
.alt-font {font-family: 'Lato', sans-serif !important;}
.main-font {font-family: 'Lato', sans-serif !important;}

.form-info {
	margin-bottom: 15px;
}

.required-fields-message {
	color: red;
	font-size: 1.2em;
	padding: 8px;
	background: white;
	margin: 0;
	display: inline-block;
	border-radius: 4px;
}

@media (max-width: 554px) {
	.form-dati input, .form-dati textarea, .form-dati select{
		width: 100%
	}
}

@media all and (min-width: 554px) and (max-width: 755px){
	.form-dati input, .form-dati textarea, .form-dati select{
		width: 48%;
	}
	.navbar-l.shrink-nav-l.shrink-l {
		padding: 16px 0;
	}
}

@media all and (min-width: 768px) and (max-width: 991px){
	.slider-text-top {
    	display: block;
	}
	.form-dati input, .form-dati textarea, .form-dati select{
		width: 100%;
	}
	#hero-section2 .form-img-r{
		display: none !important;
	}
	#form-section .form-img-r{
		display: none !important;
	}
	#hero-section2{
		height: 1200px;
	}
}


@media all and (min-width: 991px) and (max-width: 1199px){
	.form-dati input, .form-dati textarea, .form-dati select{
		width: 48%;
	}
	.navbar-l{
		width: 30vw;
	}
	#hero-section2{
		height: 870px;
	}

}

@media all and (min-width: 1200px) {
	#hero-section2{
		height: 850px;
	}
}

body #form-section label{
	font-size: 11px;
}
.title-filiali{
	font-size: 47px;
	line-height: 1.2;
}
.text-filiali-content{
	font-size: 17px;
	line-height: 1.5;
}
.text-green{
	color: #5aa965;
}
.text-light-blue{
	color: #9fc9eb;
}
.text-yellow{
	color: #E7C700;
}
.text-yellow-dark{
	color: #F39D00;
}
.text-black{
	color: #000000;
}
.text-header{
	font-size: 50px;
	line-height: 1.2em;
	font-weight: 600;
	margin-top: 10px;
	text-shadow: 2px 4px 0px rgba(0, 0, 0, 0.15);
}
.text-small-header{
	font-size: 27px;
	font-weight: 600;
	margin-top: 20px;
	text-shadow: 2px 4px 0px rgba(0, 0, 0, 0.15);
}
.subtitle-form-footer{
	font-size: 21px;
}
.text-
.green {
	color: #76bb69;
}
.bg-green {
	background: #75b968;
}
.text-blue{
	color: #165C82;
}
.text-main{
	font-family: 'Lato';
	font-style: normal;
	font-weight: 900;
	font-size: 33px;
	line-height: 40px;
}
.text-secondary{
	font-family: 'Lato';
	font-style: normal;
	font-size: 16px;
	line-height: 25px;
	color: #6B767C;
}

.blue {
	color: #3a537e;
}
.bg-blue {
	background: #3a537e;
}
.bg-dark-blue{
	background: #293f64;
}
.bg-yellow{
	background: #E7C700;
}
.bg-grey{
    background-color: #6B767C;
}
.bg-white{
    background-color: #ffffff;
}
.border-bottom-light{
	border-bottom: #62779c;
	padding-bottom: 50px;
}
.row > .col-md-12 > .col-md-3 > .border-radius-50 > img {
	position: relative;
	width: 50px;
	height: 50px;
}

/*  NAV */
.navbar li {
	margin: 13px 16px;
}

.header-contact {
	display: table;
	top: 0;
	width: 229px;
	height: 115px;
	padding: 2px 5px;
}
.header-contact img {
	float: left;
	margin: 37px 0 0 10px;
}
.header-contact-text > p{
	margin: 0px !important;
	line-height: 20px !important;
}
.header-contact img::after {
	clear: left;
}
.header-contact-text {
	padding-top: 31px;
}
.header-contact p {
	width: 160px;
}
.srink-c {
	height: 75px;
	padding: 5px 0px 5px;
}
.srink-img-c {
	margin: 10px 0 0 10px!important;
}
.srink-text-c{
	margin: 0px !important;
	line-height: 16px !important;
	padding-top: 5px;
}
.header-contact-text p {
	line-height: 10px !important;
}
/*  END NAV */
/*  NAV:WHITE ON LEFT */
.navbar-l img {
	height: 80px;
}
.navbar-l.shrink-l img {
	height: 55px;
}
.logo-container {
	left: 34%;
	width: 60%;
}
.navbar-l {
	padding: 20px 0 20px;
	height: 115px;
	background: #ffffff;
	z-index: 1000;
	width: 35vw;
	border-radius: 0;
	border: 0;
	position: fixed;
	left: -50px;
}

.navbar-l.shrink-nav-l {
	position: fixed !important; top: 0;
}
.navbar-l.shrink-nav-l.shrink-l {
	height: 70px;
	padding: 6.6px 0;
}
.header-margin-top-l {
	 margin-top: 86px;
}
#ui-id-78 {
	z-index: 1001;
	color: black;
}
/*  END NAV:WHITE ON LEFT */

/*BUTTON PDF OLD*/
.scarica-guida{
	display: inline-block;
	position: relative;
	background-color: #5aa965;
	padding: 10px 25px 10px 12px;
}
.scarica-guida-cta{
	padding-left: 12px;
	padding-right: 30px;
}
.scarica-guida-cta::after{
	content: url('../cessione-del-quinto/images/icons/freccia-pdf.png');
	position: absolute;
	top: 10px;
	right: 12px;
	width: 17px;
	height: 11px;
}
.scarica-guida:hover .scarica-guida-cta::after{
	-o-animation: bounce 0.8s;
	-moz-animation: bounce 0.8s;
	-webkit-animation: bounce 0.8s;
	animation: bounce 0.8s;
	animation-iteration-count: 1;
}
 @-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
	40% {transform: translateX(-18px);}
	60% {transform: translateX(-6px);}
 }
 @-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
	40% {transform: translateX(-18px);}
    60% {transform: translateX(-6px);}
 }

 @-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
	40% {transform: translateX(-18px);}
   	60% {transform: translateX(-10px);}
 }

 @keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
	40% {transform: translateX(-18px);}
   	60% {transform: translateX(-6px);}
 }

/* FORM */
.subtitle {
	color: rgba(255, 255, 255, 0.7)
}
.form-section{
	height: 570px;
}
.subtitle-highlight {
	background: #ffffff;
	width: fit-content;
	padding: 10px;
	display: inline-block;
}
#privacy, #marketing, #privacy-footer, #marketing-footer{
	clear: left;
	max-width: 14px;
    margin-top: 5px;
}
p.privacy-text, p.marketing-text, p.privacy-text-2 {
	float: left !important;
	margin-left: 5px;
	margin-bottom: 5px !important;
}
.form-dati .btn.btn-large {
	padding: 20px 0 !important;
}

.form-dati .display-table-cell-vertical-bottom {
	margin-top: 50px;
}
.form-img-r {
	bottom: 0;
	right: 15px;
}
/* END FORM */
.row > .col-md-12 > .col-md-3 > .border-radius-50 > img {
	margin-bottom: 10px;
}
h3 > img {
	height: 30px;
	width: 30px;
	margin-right: 20px;
}
/* testimonial item */
.rating-star{

	height: 50px;

}
.rating-star img{
	width: 30px;
}
/*
.owl-item .text-large:first-child {
	background-color: rgb(244,244,244)
}
*/

.owl-dark-pagination .owl-item {
	padding: 20px;
 }
 .testimonial-style3 .item .col-md-12 {
	background: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
 }
 .testimonial-style-custom .item .col-md-12 {
	background: #f1f1f1;
	padding: 20px;
	border-radius: 10px;
 }

/* end testimonial item */

/* FOOTER */
#ui-id-49 {
	clear: both;
	float: left;
}
.carousel-footer{
	display: flex;
}
/*.carousel-footer img:first-child{*/
	/*width: 20%;*/
/*}*/
/*.carousel-footer img:nth-child(2){*/
	/*width: 20%;*/
/*}*/
/*.carousel-footer img:nth-child(3){*/
	/*width: 40%;*/
/*}*/
/*.carousel-footer img:nth-child(4){*/
	/*width: 20%;*/
/*}*/
.number-footer p {
	padding: 0;
	margin: 0;
}
footer#footer-section13 .number-footer p{
	line-height: 25px;
}

.contact-footer img {
	margin: 18px 20px 0;
	height: 40px;
	width: 40px;
}
.logo-footer{
	margin-top: 20px;
}
.number-footer .green {
	letter-spacing: -2px;
}

/* END FOOTER */


a.privacy-link,
a.privacy-link:active,
a.privacy-link:hover,
a.privacy-link:link,
a.privacy-link:visited
{
	color:#ffffff;
}

#success {
	font-size: 16px;
	background-color: #75b968;
	border-color: #75b968;
	border-radius: 4px;
}
#error {
	font-size: 16px;
	border-radius: 4px;
}

/* LOADER */

.loader {
	margin-right: 5px;
	display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spin .75s linear infinite;
    animation: spin .75s linear infinite;
  }
  /* Safari */
  @-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
  }

  @keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }

  .multi-step__field-50>input, .multi-step__field-100>select{
	float: none;
}
#prestiti-section .nav-tabs.nav-justified > li > a {
	border: 0;
	color: #fff;
	border-radius: 0px;
	padding: 15px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.15em;
}

#prestiti-section .nav-tabs.nav-justified > li.active::after {
	content: '';
	display: block;
	height: 4px;
	background-color: #E7C700;
	width: 100%;
	margin-top: 3px;
}
@media(max-width: 991px){
	#prestiti-section .nav-tabs.nav-justified > li {
		margin-bottom: 5px;
	}
	.navbar {
		height: 120px;
	}
	.logo img {
		position: fixed;
		top: 10px;
	}
	.navbar.shrink {
		height: 80px;
	}

	.shrink .logo img {
		height: 80px!important;
		top: 0px;
	}

	.navbar-toggle {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 10px;
	}
}

#prestiti-section .list {
	list-style: none;
	padding-left: 0px;
}

#prestiti-section .list>li::before {
	content: "";
	display: inline-block;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	background-color: #E7C700;
	margin-right: 10px;
}
#prestiti-section .list>li{
	font-size: 16px;
	line-height: 38px;
}

ul.nav-tabs>li.active>a{
	background-color: #E7C700!important;
}
ul.nav-tabs>li>a{
	background-color: #B3B3B3;
}
.custom-btn{
	height: 53px;
    width: 377px;
	color: white;
	position: relative;
	letter-spacing: 0.27em;
	font-weight: 600;
	margin: 0px 0px 20px 0px;
  }
  .custom-btn:after {
    content: url('../images/icons/right-arrow.svg');
    display: block;
    position: absolute;
    right: 15px;
    top: calc(50% - 7.5px);

}
.testimonial-style-custom{
	margin-bottom: 40px;
}
  .footer-form-element{
	  width: 100%!important;
  }

  #vantaggi-section {
	  position: relative;
  }

  #vantaggi-section::after{
	  content: '';
	  display: block;
	  position: absolute;
	  bottom: -83px;
	  right: 0;
	  z-index: 1;
	  background-image: url('../images/icons/gear.svg');
	  background-repeat: no-repeat;
	  background-size: contain;
	  width: 297px;
	  height: 354px;
  }
  @media (min-width: 2000px) {
	#vantaggi-section::after{
		background-image: url('../images/icons/gear-full.svg');
		bottom: -125px;
	}
  }
  @media (max-width: 1200px) {
	#vantaggi-section::after{
		width: 222px;
		bottom: -150px;
	}
  }

  @media (max-width: 991px) {
	#vantaggi-section::after{
		display: none;
	}
  }
.flex-prestito-veloce {
	display: flex;
	align-items: flex-end;
}
.flex-prestito-veloce div {
	width: 25%;
}
.text-yellow-dark {
	font-style: italic;
}
#section-prestito_veloce .col-12.margin-ten-bottom,
#tasso-section .col-12.text-center {
	padding: 0 20px;
}
@media(max-width: 991px) {
	.flex-prestito-veloce {
		flex-direction: column;
	}
	.flex-prestito-veloce div {
		width: 100%;
		margin-bottom: 20px;
	}	
	.flex-prestito-veloce>div {
		border-bottom: 1px solid #D7D7D7;
		padding-bottom: 20px;
	}
	.flex-prestito-veloce br {
		display: none;
	}
	.flex-prestito-veloce, #vantaggi-section .col-12.margin-ten-bottom {
		padding: 0 20px;
	}
	.owl-wrapper .owl-item {
		padding: 0 20px;
	}
	#section-prestito_veloce .col-12.margin-ten-bottom .text-blue {
		font-size: 20px;
	}
	#section-prestito_veloce .col-12.margin-ten-bottom .text-secondary {
		font-size: 16px!important;
	}
	#thank-you .text-blue,
	#thank-you .text-yellow-dark {
		font-size: 20px!important;
	}
	#thank-you.padding-80px-tb {
		padding-top: 30px!important;
	}
}
.vantaggi-style-custom {
	display: none!important;
	height: auto!important;
}
#vantaggi-section .col-12.margin-ten-bottom {
	height: auto!important;
}
.owl-item .item > div::after {
	display: none;
}
#form-bottom-section .row.max-1280-center {
	display: flex;
}
#form-bottom-section .col-md-7.col-sm-12.col-xs-12 {
    align-self: flex-end;
    margin-bottom: 60px;
}
@media(max-width: 991px) {
	.vantaggi-style-custom {
		display: block!important;
	}	
	.desktop-vantaggi {
		display: none;
	}
	#section-prestito_veloce {
		padding-top: 0!important;
	}
	#form-bottom-section .row.max-1280-center {
		flex-direction: column;
	}
}
.tasso-btn{
	position: relative;
	padding-right: 40px;
	padding-bottom: 5px;
	font-size: 12px;
}

.tasso-btn::after{
	content: url('../images/icons/down-arrow.svg');
	display: block;
	position: absolute;
	right: 5px;
    top: 3px;
}
.logo img{
	padding: 10px 0;
	transition: 0.6s all;
}
.shrink .logo img {
	height: 75px;
}

.max-1280-center {
	max-width: 1280px;
	margin: 0 auto;
}
#scroll-top{
	display: none;
	right: -80px;
	opacity: 0;
}

@media(min-width: 992px){
	#scroll-top{
		bottom: 70px; 
		height: 60px;
		width: 60px;
		z-index: 999;
		border-radius: 5px;
		position: fixed;
		transition: 1s all;
		display: block;
	}
}
.flex-bottom-icon {
	display: flex;
	flex-wrap: wrap;
	padding: 10px;
}
.flex-bottom-icon>div {
	width: 50%;
}
.flex-bottom-icon>div:first-child {
	justify-content: center;
}
@media(max-width: 1200px) and (min-width:991px) {
	.flex-bottom-icon>div {
		padding: 10px;
		justify-content: center;
	}
}
@media(max-width: 991px) {
	.flex-bottom-icon>div {
		width: 100%;
		align-items: center;
	}
}	
@media(max-width: 676px) {
	.flex-bottom-icon>div:nth-child(n+2) {
		flex-direction: column;
	}
	.flex-bottom-icon>div {
		justify-content: center;
	}
}	

/* THANK YOU PAGE */
.thank-you-flex__container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}
.thank-you-flex__box {
	width: 33%;
	padding: 30px;
}
.thank-you-flex__box .text-yellow {
	font-size: 22px;
	font-family: 'Lato';
	padding-bottom: 5px;
	border-bottom: 1px solid #D7D7D7;
}
.thank-you-flex__box .text-blue {
	font-weight: 900;
	font-size: 21px;
}
.thank-you-flex__store {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}
@media(max-width: 767px) {
	.thank-you-flex__container {
		flex-direction: column;
	}
	.thank-you-flex__box {
		width: 100%;
		padding: 30px;
	}
	.thank-you-flex__store {
		flex-direction: column;
	}
	.thank-you-flex__store img {
		margin-bottom: 20px;
	}
	.dati-form__box div:first-child {
		margin-bottom: 20px;
	}
}
.text-bold {
	font-weight: 900;
}
.dati-form {
	margin-top: 70px;
	font-size: 16px;
}
.dati-form__header {
	font-size: 30px;
	line-height: 35px;
	font-weight: 900;
	padding: 30px;
	background-color: #F0F0F0;
	width: 100vw;
    transform: translateX(-50%);
    margin-left: 50%;
}
.dati-form__box {
	max-width: 800px;
	margin-top: 20px;
	background-color: #fafafa;
	margin: 20px auto 0 auto;
	padding: 30px;
	text-align: left;
}
.dati-form__row {
	padding: 10px;
    border-bottom: 1px solid #dadada;
}
.dati-form__row:last-child {
	border: none;
}
/* /THANK YOU PAGE */

.ui-datepicker {
	max-width: 250px !important;
	width: 100% !important;
}

.d-none {
	display: none;
}
