/* Simple Custom CSS */

/************************************************
*  Header Container Styles for Project Estimation
/************************************************/

.estimation-header-container {
  background-color: #fff;
  border: 1px solid #F0F0F0; /* delete this after setting body background */
  margin-bottom: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 250px;
  height: auto;
}

.estimation-header-container img.estimation-header-picture {
  width: 140px;
  height: 140px;
  margin: 55px 80px;
}

.estimation-header-container .estimation-header-text {
  padding: 20px;
  font-size: 18px;
  line-height: 34px;
  color: #3A4748;
}

/************************************************
*  Contact Form 7 Styles for Project Estimation
/************************************************/

.wpcf7 .estimation-form {
  
}

.wpcf7 .estimation-form .content-column {
  color: #3A4748;
  font-size: 14px;
  font-weight: 400;
  line-height: 34px;
  padding: 0;
  margin-bottom: 20px;
}

.wpcf7 .estimation-form .padding-right {
  padding-right: 15px;
}

.wpcf7 .estimation-form .padding-left {
  padding-left: 15px;
}

.wpcf7 .estimation-form .text-center {
  text-align: center;
}

/* Icon checkboxes */

.wpcf7 .estimation-form .estimation-form-icon-label {
	display: block;
	float: left;
	padding-left: 27px;
  padding-right: 27px;
  width: 25%;
  text-align: center;
}

.wpcf7 .estimation-form .estimation-form-icon-label br {
  display: none;
}

.wpcf7 .estimation-form .estimation-form-icon-label .wpcf7-list-item-label {
  font-size: 18px;
  font-weight: 500;
  color: #3A4748;
  line-height: 34px;
  opacity: 0.5;
  transition: 0.2s ease opacity;
}

.wpcf7 .estimation-form .estimation-form-icon-placeholder {
	position: relative;
	margin-left: -27px;
  margin-right: -27px;
}

.wpcf7 .estimation-form .estimation-form-icon-placeholder br {
  display: none;
}

.wpcf7 .estimation-form .estimation-form-icon-label .estimation-form-icon-box {
	display: inline-block;
	height: 128px;
  line-height: 128px;
  vertical-align: middle;
  width: 100%;
	border: 1px solid rgba(0,0,0,0.2);
	background-color: #F2F2F2;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease background-color;
}

.wpcf7 .estimation-form .estimation-form-icon-label .estimation-form-icon-box img {
  opacity: 0.5;
  transition: 0.2s ease opacity;
}

.wpcf7 .estimation-form .estimation-form-icon-label .estimation-form-icon-box img.show-active {
  display: none;
}

.wpcf7 .estimation-form .estimation-form-icon-label .estimation-form-icon-box:hover {
	background-color: #f7f7f7;
}

.wpcf7 .estimation-form .estimation-form-icon-label input[type=checkbox]:checked ~ .estimation-form-icon-box img {
  display: none;
}

.wpcf7 .estimation-form .estimation-form-icon-label input[type=checkbox]:checked ~ .estimation-form-icon-box img.show-active {
  display: inline-block;
  opacity: 1;
}

.wpcf7 .estimation-form .estimation-form-icon-label input[type=checkbox]:checked ~ .estimation-form-icon-box {
	background-color: #fff;
}

.wpcf7 .estimation-form .estimation-form-icon-label input[type=checkbox]:checked ~ .wpcf7-list-item-label {
  opacity: 1;
}

@media (max-width: 767px){
  
.wpcf7 .estimation-form .estimation-form-icon-label {
  width: 50%;
}
  
}

/* Text inputs */

.wpcf7 .estimation-form label {
  width: 100%;
  color: #3A4748;
  font-size: 14px;
  font-weight: 400;
  line-height: 34px;
}

.wpcf7 .estimation-form .input-text {
  width: 100%;
  border: 1px solid #ccc;
  background-color: #FFFFFF;
  font-size: 18px;
  font-weight: 300;
  color: #3A4748;
  padding: 15px 20px;
  -webkit-transition: border 0.3s linear;
  -moz-transition: border 0.3s linear;
  transition: border 0.3s linear;
}

.wpcf7 .estimation-form .input-text:focus,
.wpcf7 .estimation-form .input-text:hover,
.wpcf7 .estimation-form .input-text:active {
  outline: none;
  box-shadow: none;
  border-color: #3a4748;
}

.wpcf7 .estimation-form input {
  height: 64px;
}

.wpcf7 .estimation-form textarea {
  height: 128px;
  width: 100%;
  resize: none;
}

/* Radio buttons and Checkboxes styles */

.wpcf7 .estimation-form input[type="radio"],
.wpcf7 .estimation-form input[type="checkbox"] {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  cursor: pointer;
}

.estimation-form .wpcf7-radio,
.estimation-form .wpcf7-checkbox {
  line-height: 64px;
}

.estimation-form .wpcf7-radio span.wpcf7-list-item-label,
.estimation-form .wpcf7-checkbox span.wpcf7-list-item-label,
.estimation-form .wpcf7-acceptance span.wpcf7-list-item-label {
  position: relative;
  padding-left: 33px;
}

.estimation-form .wpcf7-radio span.wpcf7-list-item-label:before,
.estimation-form .wpcf7-checkbox span.wpcf7-list-item-label:before,
.estimation-form .wpcf7-acceptance span.wpcf7-list-item-label:before {
  content: '';
  background: #FFFFFF;
  width: 28px;
  height: 28px;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid #fff;
  box-shadow: 0px 0px 0px 1px #ccc;
}




.estimation-form .show-complete-form {
	width: 660px;
}
.estimation-form .show-complete-form .wpcf7-checkbox span.wpcf7-list-item-label {
  color: transparent;
}
.estimation-form .show-complete-form .wpcf7-checkbox span.wpcf7-list-item-label:before {
  content: 'Aby przyspieszyć proces wyceny odpowiedz na 6 dodatkowych pytań.';
  color: #3A4748;
	width: 630px;
	height: 52px;
	border-radius: 0;
	border: 1px solid #000;
	background-color: #f2f2f2;
	text-align: center;
	line-height: 50px;
	font-weight: 500;
	font-size: 16px;
  transition: background-color 0.3s ease-in;
}
.estimation-form .show-complete-form:hover .wpcf7-checkbox span.wpcf7-list-item-label:before {
	background-color: #e0e0e0;
}
[data-class="wpcf7cf_group"] {
  display: block !important;
	max-height: 2000px;
	transition: max-height .6s ease-in;
	overflow: hidden;
}
.wpcf7cf-hidden[data-class="wpcf7cf_group"] {
	max-height: 0;
  transition: max-height .6s ease-out;
}





.estimation-form .wpcf7-radio span.wpcf7-list-item-label:before {
  border-radius: 100%;
}

.wpcf7-checkbox span.wpcf7-list-item-label:before,
.wpcf7-acceptance span.wpcf7-list-item-label:before {
  border-radius: 15%;
}

.wpcf7 .estimation-form input[type=radio]:not(old):checked+span,
.wpcf7 .estimation-form input[type=checkbox]:not(old):checked+span {
  font-weight: bold;
}

.wpcf7 .estimation-form .show-complete-form input[type=checkbox]:not(old):checked+span {
  font-weight: normal;
}

.wpcf7 .estimation-form input[type=radio]:not(old):checked+span:before,
.wpcf7 .estimation-form input[type=checkbox]:not(old):checked+span:before {
  background: #FF5964;
}




.wpcf7 .estimation-form .show-complete-form input[type=checkbox]:not(old):checked+span:before {
  content: 'Ukryj dodatkowe pytania.';
	color: #3A4748;
	width: 630px;
	height: 52px;
	border-radius: 0;
	border: 1px solid #000;
	background-color: #e2e2e2;
	text-align: center;
	line-height: 50px;
	font-weight: 500;
	font-size: 16px;
}
@media only screen and (max-width: 720px) {
  .estimation-form .show-complete-form {
	  width: 260px;
  }
  .estimation-form .show-complete-form .wpcf7-checkbox span.wpcf7-list-item-label:before {
    content: 'Pokaż dodatkowe pytania';
    width: 230px;
  }
  .wpcf7 .estimation-form .show-complete-form input[type=checkbox]:not(old):checked+span:before {
    width: 230px;
  }
}






/* File uploader styles */

.estimation-form input.wpcf7-file {
  width: 100%;
  height: 128px;
  margin: 20px 0px;
  padding: 15px;
  background-color: transparent;
  outline: 2px dashed #ccc;
  outline-offset: 0px;
}

.estimation-form input.wpcf7-file:hover {
  background-color: #f8f8f8;
}

/* Buttons styles */

.wpcf7 .estimation-form input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

.estimation-form .wpcf7-submit {
  height: 63px;
  width: 288px;
  font-weight: 500;
  font-size: 18px;
  border: solid 2px #FF5760;
  background: #FF5760;
  color: #fff;
  position: relative;
  margin-top: 10px;
  margin-bottom: 35px;
}

/* Output styles */

.wpcf7-response-output {
  clear: both;
}

@media only screen and (max-width: 991px) {
  .estimation-header-container {
    flex-direction: column;
  }
  .estimation-header-container img.estimation-header-picture {
    margin: 25px 25px 0px 25px;
  }
  .wpcf7 .estimation-form .padding-right,
  .wpcf7 .estimation-form .padding-left {
    padding-left: 0;
    padding-right: 0;
  }
}

/* "Hide questions" button and divider styles */

.estimation-form-divider {
	box-sizing: border-box;
	position: relative;
	width: 100%;
	height: 53px;
	display: flex;
	margin-bottom: 20px;
	align-items: center;
	justify-content: center;
}

.estimation-form-divider:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #CCCCCC;
}


.button-more-questions {
	width: 188px;
	height: 53px;
	border: 1px solid #3A4748;
	background-color: #F2F2F2;
	color: #3A4748;
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 0.36px;
	z-index: 1;
}

.button-more-questions:hover {
	background-color: #EAEAEA;
}

.button-more-questions:focus {
	outline: none;
}