/*
Theme Name: lender
Author: Ursul Roman Mihailovich
Description: base wp theme
Version: 1.0
*/

.screen-reader-response,
form .wpcf7-response-output,
form .wpcf7-not-valid-tip,
form .wpcf7-mail-sent-ok {
  display: none !important;
}
form .wpcf7-not-valid:not(.wpcf7-checkbox) {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #c00;
}

.clear {
    clear: both;
}

.ajax-loader {
	display: none !important;
}

input[type="submit"]:disabled {
    filter:         url(~"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
    filter: gray;
    cursor: not-allowed;
}

.calcs_listing {
	flex-wrap: wrap;
}

.calcs_listing .item {
	width: calc(25% - 23px);
	margin-right: 30px;
	margin-bottom: 30px;
	position: relative;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
}

.calcs_listing .item:nth-child(4n) {
	margin-right: 0;
}

.calcs_listing .item .title_4 {
	font-size: 18px;
	text-align: center;
	margin-top: 10px;
}

.calcs_listing img {
	margin: 0 auto;
}

.calcs_listing .item a:Before {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 1024px) {
	.calcs_listing .item {
		width: calc(33.33% - 20px);
	}
	.calcs_listing .item:nth-child(4n) {
		margin-right: 30px;
	}
	.calcs_listing .item:nth-child(3n) {
		margin-right: 0;
	}
}

@media screen and (max-width: 768px) {
	.calcs_listing .item {
		width: calc(50% - 10px);
		margin-bottom: 20px;
		margin-right: 0 !important;
	}
	.calcs_listing .item:nth-child(2n) {
		margin-left: 20px;
	}
	.calcs_listing .item .title_4 {
		font-size: 14px;
	}
}