/*
 Theme Name:   Financity Child
 Theme URI:    http://demo.goodlayers.com/financity
 Description:  Goodlayers Financity Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     financity
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  financity-child

 START YOUR CHILD THEME CSS HERE
*/
.wpcf7 input[type="checkbox"] {
	width: 20px;
	height: 20px;
}
span.wpcf7-list-item {
	margin: 0;
}
.wpcf7 input {
	display: inline-block;
}
div.wpcf7 .ajax-loader {
    height: 26px;
    width: 26px;
    background-size: 26px 26px;
}
div.wpcf7-validation-errors, 
div.wpcf7-acceptance-missing {
	border: 2px solid #ff0000;
}
.thank-you-page-info {
	color: #0073ae;
	padding-top: 8px;
    display: block;
}
.financity-item-pdlr, .gdlr-core-item-pdlr
{
/*	padding: 0;*/
/*	margin: 0;*/
}
#other,
#remont {
	margin-bottom: 20px;
}
.two-column ul,
.three-column ul,
.ipoteka ul{
	margin:0;
	padding:0;
}

.custom-form-fincity input.wpcf7-submit{
	border-radius: 12px;
}
.custom-form-fincity li,
.three-column li,
.ipoteka li{
    margin-bottom:15px;
    list-style-type: none;
}
p.hint{
	margin: 4px 0 20px 0;
	font-size: 12px !important;
	line-height: 15px !important;
	color: #658bce;
}
p.hint:before {
	content: '↑ ';
}
#no-spouse-info ul {
	display: block;
}
#no-spouse-info li {
	max-width: 450px;
	margin: 0 auto 15px auto;

}
.btn-form-next {
    display: inline-block;
	font-weight: bold;
	padding: 12px 36px;
	margin-top: 24px;
	color: #fff;
	background-color: #112349;
	border: 0;
	border-radius: 12px;
}
.form-second-step-show {
	display: block;
}
.divider {
	height: 24px;
	border-bottom: 1px solid #D7D7D7;
	margin-bottom: 24px;
}
.financity-body select {
    background-color: #f5f5f5;
	border-color: #d7d7d7;
	font-size: 15px;
    padding: 15px 22px;
    width: 100%;
    display: block;
	border-width: 1px 1px 2px 1px;
    border-style: solid;
}
.gdlr-core-accordion-style-box-icon .gdlr-core-accordion-item-icon, .gdlr-core-toggle-box-style-box-icon .gdlr-core-toggle-box-item-icon{ background-color: #0073ae!important}.gdlr-core-accordion-style-box-icon .gdlr-core-accordion-item-icon, .gdlr-core-toggle-box-style-box-icon .gdlr-core-toggle-box-item-icon{ border-color: #05567f!important}
.gdlr-core-accordion-style-background-title-icon .gdlr-core-accordion-item-title:before, .gdlr-core-toggle-box-style-background-title-icon .gdlr-core-accordion-item-title:before{ color: #0073ae!important}
.gdlr-core-accordion-style-background-title .gdlr-core-accordion-item-title, .gdlr-core-accordion-style-background-title-icon .gdlr-core-accordion-item-title, .gdlr-core-toggle-box-style-background-title .gdlr-core-toggle-box-item-title, .gdlr-core-toggle-box-style-background-title-icon .gdlr-core-toggle-box-item-title{ background-color: #05567f!important} 
.gdlr-core-page-builder-body [data-skin="Column Service HP 1"] h1, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] h2, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] h3, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] h4, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] h5, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] h6, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] .gdlr-core-skin-title, .gdlr-core-page-builder-body [data-skin="Column Service HP 1"] .gdlr-core-skin-title a{ color: #0073ae!important}
 #refinance ul {
	display: block;
	margin: 0;
}
#refinance li {
	list-style-type: none;
}
#refinance li div{
	width: 100%;
  padding: 10px 22px;
  font-size: 16px;
  border-color: #d7d7d7;
  background-color: #f5f5f5;
  border-width: 1px 1px 2px 1px;
  border-style: solid;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 85% 15%;

}
#refinance input {
  font-size: 16px;
  border: 0;
}
#refinance li div span{
	align-self: end;
	text-align: right;
	color: #7a7979;
}
#refinance label {
	padding-left: 6px;
	color: #545454;
}
#refinance button,
#refinance .btn {
  display: block;
  margin: 24px auto 0 auto;
  align-items: flex-start;
  width: 252px;
  height: 52px;
  border: 1px solid #0073ae;
  background-color: #0073ae;
  font-weight: bold;
  color: #fff;
  font-size: 20px;
  transition: all .4s ease-in-out;
  text-align: center;
}
#refinance a.btn {
	padding-top: 8px;
	background-color: #112349;
}
#result {
	text-align: center;
	position: relative;
	border-top:1px solid #fff;
	padding-top: 20px;
	padding-bottom: 20px;
}
#result h4 {
	font-size: 133%;
}
#result p {
	font-size: 26px;
	color: #0073ae;
	font-weight: 800;
	border: 1px dashed #fff;
	border-radius: 8px;
	margin: 0 36px;
	position: relative;
}
#result label {
	font-size: 32px;
}
#result #info-icon {
	position: absolute;
	right: 10px;
	top: 5px;
	width: 18px;
	cursor: pointer;
}
#result #info-close {
	font-size: 250%;
	pointer-events: all;
	cursor: pointer;
	line-height: 1.2;
}
#result #info-message {
	position: absolute;
	top: -212px;
	padding: 0 0 20px 0;
	opacity: 0;
	transform: translateX(300px);
	transition: all	0.4s;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, .95);
	color: #000;
/*	pointer-events: none;*/
	z-index: 1000;
}
#result #info-message p{
	color: #000;
	font-size: 14px;
	font-weight: normal;
}
#result #info-message.visible {
	opacity: 1;
	transform: translateX(0px);
}
#calculator #result label {
	color: #fff;
}
#calculator #monthlycalc {
	transition: all 0.5s;
}
#mortgage .element {
	display: grid;
	grid-template-columns: 57% auto;
	margin: 12px 0;
	position: relative;
}
#mortgage label {
	display: block;
	font-size: 90%;
	font-weight: 400;
	padding-top: 16px;
}
#mortgage fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
#mortgage fieldset legend {
	display: none;
}
#mortgage input {
  display: block;
  vertical-align: middle;
  font-size: 100%;
}

#mortgage input[type="number"] {
  width: 100%;
	font-size: 100%;
	font-weight: 700;
	padding: 6px 26px 6px 6px;
	line-height: 22px;
	border-radius: 4px;
	border-color: transparent;
	margin: 0 0 5px 0;
	background-color: #fff;
	color: #2e416c;
}
#mortgage input#yearssum {
	padding-right: 58px;
}
#mortgage span.principalsum,
#mortgage span.interest,
#mortgage span.yearssum {
	display: block;
	position: absolute;
	top: 7px;
	right:7px;
	color: #000;
	font-size: 80%;
	font-weight: bold;
	pointer-events: none;
}
#mortgage .calc-clear {
	clear: both;
	height: 12px;
	display: block;
}
#mortgage input[type="range"] {
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  background-image: linear-gradient(#0073ae, #40b5f1);
  background-size: 60% 100%;
  background-repeat: no-repeat;
}

/* Input Thumb */
#mortgage input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0073ae;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background .3s ease-in-out;
}

#mortgage input[type="range"]::-webkit-slider-thumb:hover {
  background: #40b5f1;
}

#mortgage input[type="range"]::-moz-range-thumb:hover {
  background: #40b5f1;
}


/* Input Track */
#mortgage input[type=range]::-webkit-slider-runnable-track  {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

#mortgage input[type=range]::-moz-range-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

#mortgage input[type="range"]::-ms-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}
.btn-wrapper {
	position: relative;
}
#calculator .offer button,
#mortgage .btn {
	display: block;
	width: 310px;
	height: 56px;
	text-decoration: none;
	background: #0073ae;
	border: 1px solid #fff;
	color: #fff;
	border-radius: 5px;
	font-size: 100%;
	font-weight: bold;
	padding: 8px 12px;
	margin: 0 auto 0 auto;
	text-align: center;
	-webkit-transition: all 0.2s ease;
	        transition: all 0.2s ease;
	position: relative;
	cursor: pointer;
	animation: 3s pulse-shake infinite;
}
#calculator .offer button {
	/*background: #fff;*/
	border: 1px solid #fff;
	/*color: #0073ae;*/
	animation: none;
	margin-bottom: 12px;
}
#calculator .offer button:hover,
#mortgage .btn:hover {
	animation: none;
}
#calculator .offer span {
	font-size: 70%;
	display: block;
	text-align: center;
}
#calculator span.offer-usp span{
	display: inline;
	font-size: 120%;
	color:#fff001;
}
@keyframes pulse-shake {
  0% {
    transform: scale(1, 1) translate(0, 0);
  }
  16% {
    transform: scale(1, 1) translate(0, 0);
  }
  25% {
    transform: scale(1, 1) translate(8px, 0);
  }
  30% {
    transform: scale(1, 1) translate(-6px, 0);
  }
  34% {
    transform: scale(1, 1) translate(3px, 0);
  }
  40% {
    transform: scale(1, 1) translate(0, 0);
  }
  80% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}

.effect {
  width: 200px;
  height: 56px;
  background: white;
  background: linear-gradient(66deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.45) 48%, rgba(255, 255, 255, 0) 62%);
  animation: 3s blink-effect infinite;
  animation-delay: 1.5s;
  position: absolute;
  top: 0px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
}
@keyframes blink-effect {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  18% {
    opacity: 0;
  }
  32% {
    opacity: 1;
  }
  46% {
    opacity: 0;
  }
  100% {
    transform: translateX(380px);
    opacity: 0;
  }
}


/*Desktop CSS Rules*/

@media screen and (min-width: 800px) {
.ipoteka li{
	width:47.5%;    
	float: left;
}
	.ipoteka li:nth-child(odd) { 
	margin-right: 5%;
}
#refinance ul{
	display: grid;
	grid-template-columns: 30% 30% 30%;
	grid-column-gap: 5%;
	padding: 20px 7.5%;
}
#refinance p {
	display: grid;
	grid-template-columns: 50% 50%;
	padding: 0 10%;
}
}
@media screen and (min-width: 1200px) {
#refinance p {
	padding: 0 20%;
}
.three-column ul {
	display: grid;
	grid-template-columns: 31% 31% 31%;
	grid-column-gap: 3.5%;
}
	.two-column ul {
	display: grid;
	grid-template-columns: 48% 48%;
	grid-column-gap: 3.5%;
	margin-left: 0;
}
#calculator .offer .offer-usp {
	padding: 0 50px;
}
}

