/*
Theme Name: Préstamo Online
Theme URI: https://cormo.pl
Author: Cormo
Author URI: http://cormo.pl/
Version: 1.1
*/
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;600;700&display=swap');

:root {
  --formo-color-primary: #97c225!important;
  --page-primary-color: #97c225!important;
}

html, body { font-family: 'Hanken Grotesk', sans-serif; }
a { color: #212529; }

/* navbar */

.navbar-toggler { box-shadow: none !important; background: #444; border-radius: 8px; width: 40px; height: 40px; padding: 11px 10px; transition: all 0.3s; }
.navbar-toggler span { display: block; height: 2px; margin-bottom: 5px; border-radius: 1px; background: #ccc; width: 20px; transition: all 0.4s; }
.navbar-toggler span:nth-child(1) {  transform-origin: -4px 7px; }
.navbar-toggler span:nth-child(2) { width: 15px; transform-origin: 10px -7px; }
.navbar-toggler:not(.collapsed) { background: #444; box-shadow: 0px 0px 0px 2px #a2a2a2 !important; }
.navbar-toggler:not(.collapsed) span { background: #ccc; }
.navbar-toggler:not(.collapsed) span:nth-child(1) { transform: rotate(45deg); width: 10px; }
.navbar-toggler:not(.collapsed) span:nth-child(2) { transform: rotate(-45deg); width: 10px; }
.navbar-toggler:not(.collapsed) span:nth-child(3) { opacity: 0; }

.navbar {
	border-bottom: 1px solid #DEE2E6;
}

.navbar-nav > li {
	margin-right: 10px;
}

.navbar-nav > li > a{
	color: black;
	padding-left: 16px;
}

.navbar-nav > li:last-child {
	background-color: #9CC52D33;
	border-radius: 100px;
	padding: 0 15px;
}

@media (max-width: 992px) {
	.navbar-nav > li:last-child {
		background-color: #fff;
		border-radius: 0;
		padding: 0;
	}
}

/* homepage */

.h1 {
	font-size: 32px;
	font-weight: 700;
}

.h2 {
	font-size: 20px;
	font-weight: bold;
}

.loan__item__text {
	padding-left: 24px;
}

.loan__image {
	background-color: #9CC52D33;

	display: flex;
	justify-content: center;
	align-items: center;

	border-radius: 12px;

	width: 42px;
	height: 42px;
}


.loan__form {
	position: relative;

	box-shadow: 0px 0px 39px rgba(0, 0, 0, 0.25);
	border-radius: 16px;
	
	background-color: #ffffff;
}

.loan__form .input-range {
	display: none;
}

.range {
	-webkit-appearance: none;

	background: linear-gradient(to right, #EBF3D5 0%, #EBF3D5 25%, #E9ECEF 25%, #E9ECEF 100%);

	border-radius: 8px;
	outline: none;
	transition: background 450ms ease-in;

	
	height: 21px;
	width: 100%;
}

.range-2 { background: linear-gradient(to right, #EBF3D5 0%, #EBF3D5 15%, #E9ECEF 15%, #E9ECEF 100%); }

.range::-webkit-slider-thumb {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-border-radius: 50%;
	
	border: 5px solid #fff;
	border-radius: 50%;

	background: #95C11F;
	cursor: pointer;
	
	height: 33px;
	width: 33px;
}

/*********** Firefox styles ***********/
/* slider track */
.range::-moz-range-track {
  border-radius: 8px;
  height: 21px;
}

/* slider thumb */
.range::-moz-range-thumb {
  background: #95C11F;
  border: 5px solid #fff;
  border-radius: 50%;
  height: 21px;
	width: 21px;
}

.wniosker-body-step  .container_purple {
	position: absolute;
	top: -25px;
	left: -32px;
	z-index: -1;

	background-color: #3C388333;

	border-radius: 12px;

	width: 244px;
	height: 555px;
}

.wniosker-body-step  .container_green {
	position: absolute;
	bottom: -25px;
	right: 52.5%;
	z-index: -1;

	background-color: #9CC52D33;

	border-radius: 12px;

	width: 244px;
	height: 555px;
}

.form__input__text {
	border: 1px solid #CED4DA;
	border-radius: 8px;

	padding: 12px 16px;
	margin-top: 20px;

	font-size: 20px;
	font-weight: 600;
	color: #212529;
	
	width: 100%;
}

.form__text {
	font-weight: 400;
	font-size: 12px;
	color: #6C757D;

	width: 100%;
}

.form__submit {
	background-color: #3C3883;

	color: #fff;
	font-size: 18px;
	font-weight: 600;

	width: 100%;
}

.form__submit:hover {
	background-color: #2B2772;

	color: #fff;
}

.container_promise {
	background-color: #EBF3D5;
}

.container_purple {
	position: absolute;
	top: -25px;
	left: -32px;
	z-index: -1;

	background-color: #3C388333;

	border-radius: 12px;

	width: 244px;
	height: 555px;
}

.container_green {
	position: absolute;
	bottom: -25px;
	right: -32px;
	z-index: -1;

	background-color: #9CC52D33;

	border-radius: 12px;

	width: 244px;
	height: 555px;
}

/* how its working */

#list__1, #list__2 {
	padding: 0;
}

#list__1 ul, #list__2 ul {
	list-style: none;

	padding: 0;
	margin: 0;
  }
  
#list__1 li, #list__2 li {
	position: relative;
	display: flex;
	gap: 20px;
	align-items: center;

	padding-top: 20px;
}

#list__1 li::before, #list__2 li::before {
	content: "";
	display: inline-block;

	background-image: url("img/icon-list-2.png");
	background-size: contain;
	background-repeat: no-repeat;

	flex-shrink: 0;

	width: 42px;
	height: 42px;
}

.container__img {
	position: relative;
	display: inline-block;
}
  
.container_purple2, .container_green2 {
	position: absolute;
	z-index: -1;

	border-radius: 10px;
	
	width: 50%;
	height: 73%;
}
  
.container_purple2 {
	top: 6px;
	left: 7px;

	background-color: #3C388333;
}

.container_green2 {
	bottom: 3px;
	right: 7px;

	background-color: #9CC52D33;;
}

.container__img img {
	display: block;

	max-width: 100%;
	height: auto;
}

#paragraph__2 {
	color: #6C757D;
}

.image_opinion > img {
	border-radius: 15px;
}

/* footer */
.footer a {
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

.footer span {
	color: #6C757D;
}

/* 404 page */

.page404 {
	margin: 0 auto;
	text-align: center;
	padding-top: 15px;
  }

.page404  h1 {
	font-size: 100px;
	margin-bottom: 20px;
	color: #333;
}

.page404 p {
	font-size: 31px;
	margin-bottom: 30px;
	color: #666;
}

.page404 a {
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 20px;
}

.page404 a:hover {
	text-decoration: underline;
}

/* wniosker */


wniosker-app { font-family: 'Hanken Grotesk', sans-serif!important; }
wniosker-app {
	--wniosker-font-family: 'Hanken Grotesk', sans-serif !important; 
}

.wniosker-step.wniosker-widget form {
	padding: 15px 23px!important;
	border-radius: 16px!important;
	border: 1px solid #D8D8D8!important;
	width: 45%!important;
	box-shadow: 0 0 0!important;
}

@media (max-width: 992px) {
	.wniosker-step.wniosker-widget form {
		width: 100%!important;
	}
}

.wniosker-widget .wniosker-info-intro {
	margin-top: 2rem!important;
	margin-left: 113%!important;
}

.wniosker-widget .wniosker-info-intro .h2 {
	font-size: 40px;
	font-weight: bold;
	margin-top: 16px;
}

.wniosker-widget .wniosker-info-intro .h1 {
	font-size: 32px!important;
	font-weight: 700!important;
}

.wniosker-info p {
	font-weight: 300;
	font-size: 20px;
	margin-top: 20px!important;
	padding-right: 1rem!important;
}

.wniosker-info ul {
	margin-top: 20px!important;
}

.wniosker-widget .wniosker-info-intro li {
	font-size: 20px!important;
	padding-left: 60px!important;
	margin-top: 20px!important;
	position: relative!important;
	background: var(--wniosker-intro-check-svg) no-repeat 2% 50%!important;
}

.wniosker-widget .wniosker-info-intro li::before { 
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; /* szerokość obrazka */
    height: 42px; /* wysokość obrazka */
    background-color: #9CC52D33;
    z-index: -1;	
	border-radius: 12px;
}


.wniosker-widget .wniosker-info-intro li {
	margin-top: 10px;
}

.wniosker-widget .wniosker-info-intro span {
	font-weight: bolder;
	color: #000!important;
}

.wniosker-group > label {
	font-size: 20px!important;
	text-transform: inherit;
	text-align: left;
	padding: 14px 0!important;
}

.wniosker-group .wniosker-slider .wniosker-slider-label-amount {
	text-align: start!important;
}

.wniosker-slider .wniosker-slider-label {
	text-align: start!important;
}

.wniosker-slider-input button {
	display: none;
}

.wniosker-slider {
	display: flex!important;
	flex-direction: column!important;
}

.wniosker-slider-input {
	border: 0!important;
}

wniosker-app .wniosker-slider-input  input:not([type="radio"]):not([type="range"]), wniosker-app select {
    border: 1px solid #CED4DA!important;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 20px!important;
    font-weight: 600!important;
    color: #212529!important;
    width: 100%;
	text-align: start!important;
}

.wniosker-slider-range-bar-input {
	-webkit-appearance: none!important;
	background: linear-gradient(to right, #EBF3D5 0%, #EBF3D5 100%, #E9ECEF 30%, #E9ECEF 100%);
	border-radius: 8px!important;
	outline: none!important;
	transition: background 450ms ease-in!important;
	height: 21px!important;
	width: 100%!important;
}

.wniosker-slider-range-bar-input::-webkit-slider-thumb {
	width: 0!important;
}

.wniosker-slider-range-thumb {
	-webkit-appearance: none!important;
	-moz-appearance: none!important;
	-webkit-border-radius: 50%!important;
	
	border: 5px solid #fff!important;
	border-radius: 50%!important;

	background: #95C11F!important;
	cursor: pointer!important;
	
	height: 33px!important;
	width: 33px!important;
	
	transform: translatex(0)!important;
	font-size: 0!important;
	margin-left: -13px!important;
	margin-top: -5px!important;
}

.wniosker-slider-range-bar-input::-webkit-slider-thumb {
	width: 0!important;
}

.wniosker-slider-range-bar-input::-moz-range-thumb {
	width: 0!important;
}	

.wniosker-slider-range-bar-input::-ms-thumb {
	width: 0!important;
}

.wniosker-slider-range-min {
	font-weight: 700!important;
}

.wniosker-slider-range-max {
	font-weight: 700!important;
}

.wniosker-slider-range-min-amount::before {
	content: "min. ";
}

.wniosker-slider-range-max-amount::before {
	content: "max. ";
}

.wniosker-widget .wniosker-calculator .wniosker-info-calculation-installment {
	display: none!important;
}

.wniosker-group-calculation {
	margin-top: -20px;
}

.wniosker-group-calculation label {
	font-size: 12px!important;
	font-weight: 400!important;
	color: #6C757D!important;
}

.wniosker-group-calculation label span {
	font-size: 12px!important;
	font-weight: 400!important;
	color: #6C757D!important;
}

.wniosker-info-description-clausule {
	display: none;
}

.wniosker-radio-label-confirm {
	font-weight: 600!important;
	font-size: 18px!important;
	padding: 1rem!important;
	margin-top: 2rem!important;
	background-color: #3C3883!important;
}

.wniosker-radio-label-confirm:hover {
	background-color: #524db5!important;
}

.wniosker-radio-label-confirm::before {
	content: " "!important;
}

.wniosker-button-apply {
	background: #3C3883!important;
	border: 0!important;
}

.wniosker-button-apply:hover {
	background-color: #524db5!important;
}

.wniosker-button {
	color: #fff!important;
	background-color: #3C3883!important;
}

.wniosker-button:hover {
	background-color: #524db5!important;
}

.wniosker-step:not(.wniosker-widget) .wniosker-group-buttons .wniosker-button:first-child {
	color: #3C3883!important;
	border: 2px solid #3C3883!important;
	background-color: transparent!important;
}

.wniosker-stepper .wniosker-circle {
	background: #3C3883!important;
}

.wniosker-stepper::before {
	background: #c3c1d9!important;
}

/* steps */

.form-wrapper {
	position: relative;
	margin-top: 2.5rem;
}



@media only screen and (min-width: 1400px) { 
	.form-wrapper::before {
		content: "";
		position: absolute;
		width: 40%;
		height: 60%;
		max-height: 700px;
		background-color: #3C388333;
		z-index: -1;
		top: -25px;
		left: -32px;
		border-radius: 12px;
	}

	.form-wrapper::after {
		content: "";
		position: absolute;
		width: 40%;
		height: 60%;
		max-height: 700px;
		border-radius: 12px;
		bottom: -25px;
		right: 28px;
		background-color: #9CC52D33;
	}
}

#formapply {
	padding: 1rem;
	border: 1px solid #D8D8D8;
	border-radius: 10px;
	-webkit-box-shadow: 2px 8px 21px -19px rgba(66, 68, 90, 1);
	-moz-box-shadow: 2px 8px 21px -19px rgba(66, 68, 90, 1);
	box-shadow: 2px 8px 21px -19px rgba(66, 68, 90, 1);
	max-width: 700px;
	position: relative;
	z-index: 2;
	background-color: #fff;
}

#formapply fieldset {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 10px;
}

#formapply .form-group {
	padding: 2px;
	margin-top: 7px;
}

#formapply legend {
	margin-bottom: 0;
}

#formapply [type="submit"] {
	background-color: #3C3883;
	border: none;
	width: 100%;
	font-size: 18px;
	font-weight: 500;
	padding: 13px 0;
	margin-top: 7px;
}

#formapply [type="submit"]:hover {
	background-color: #524db5;
}

#formapply .form-control:focus {
	border-color: #aaa;
	-webkit-box-shadow: 0px 11px 29px -28px rgba(66, 68, 90, 1);
	-moz-box-shadow: 0px 11px 29px -28px rgba(66, 68, 90, 1);
	box-shadow: 0px 11px 29px -28px rgba(66, 68, 90, 1);
}

#formapply .errors {
	list-style-type: none;	
	padding: 0;
	margin-bottom: 0;
}

#formapply .errors li {
	color: rgb(220,53,69);
}

#formapply .checkbox .form-control-label {
	position: relative;
	padding-left: 14px;
	margin-top: 4px;
}

#formapply .checkbox .form-control-label [type="checkbox"] {
	left: -6px;
	top: 5px;
	position: absolute;
}

/*********** Baseline, reset styles ***********/
#formapply input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
	margin-top: 7px;
}

/* Removes default focus */
#formapply input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
#formapply input[type="range"]::-webkit-slider-runnable-track {
  background-color: #ebf3d5;
  border-radius: 0.5rem;
  height: 16.5px;
}

/* slider thumb */
#formapply input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -3.3499999999999996px; /* Centers thumb on the track */
  background-color: #95c11f;
  border-radius: 50%;
  height: 1.6rem;
  width: 1.6rem;
	border: 4px solid #fff;
}

#formapply input[type="range"]:focus::-webkit-slider-thumb {

}

/*********** Firefox styles ***********/
/* slider track */
#formapply input[type="range"]::-moz-range-track {
  background-color: #ebf3d5;
  border-radius: 0.5rem;
  height: 16.5px;
}

/* slider thumb */
#formapply input[type="range"]::-moz-range-thumb {
  background-color: #95c11f;
  border: none; /*Removes extra border that FF applies*/
  border-radius: 50%;
  height: 1.2rem;
  width: 1.2rem;
}

#formapply input[type="range"]:focus::-moz-range-thumb{
}

#formapply .container-amount, #formapply .container-period {
	position: relative;
}

#formapply .container-amount .form-control {
	text-align: end;
	padding-right: 23px;
}

#formapply .container-period .form-control {
	text-align: end;
	padding-right: 32px;
}

#formapply .container-amount::after {
	content:"zł";
	position: absolute;
	top: 7px;
	right: 9px;
}

#formapply .container-period::after {
	content: "rat";
	position: absolute;
	top: 7.5px;
	right: 9px;
}