/* ************************************************************************************************
		PD Ask About Product Module - PrestaDev.pl - info@prestadev.pl
************************************************************************************************ */
#usefull_link_block li.askaboutproduct{}
#usefull_link_block li.askaboutproduct.position0 a {position: relative;}
#usefull_link_block li.askaboutproduct.position0 a:before {
	font-family: "FontAwesome";
  content: "\f059";
	color: #333333;
	font-size: 19px;
	line-height: 24px;
	position: absolute;
	top: -2px;
	left: 0;
	font-weight: normal;
}

/*#product span.askaboutproduct a {
    font-weight: 700;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: transparent;
    border-color: transparent;
    margin: auto;
    outline: 0;
    cursor: pointer;
    position:relative;
}
*/

#product span.askaboutproduct.position1 a {margin-top:10px;}

#product .askaboutproduct.position6 button {margin-left:10px;}

#product span.askaboutproduct.position2 a:before {
  font-family: "FontAwesome";
  content: "\f059";
  color: #333333;
  font-size: 19px;
  line-height: 24px;
  position: absolute;
  top: -2px;
  left: 0;
  font-weight: normal;
}

#pd_aap_send_custommer_form_tab_content {width:100%;}


.pd_aap_send_custommer_form {overflow: hidden;width: 555px;}
@media (max-width: 767px) {
  .pd_aap_send_custommer_form {width: 280px; }
}

.pd_aap_send_custommer_form .form_container {background: none repeat scroll 0 0 #FBFBFB;border: 1px solid #D6D4D4;padding: 10px 15px;}

.pd_aap_send_custommer_form label {text-align:left;}

.pd_aap_send_custommer_form .product img {border: 1px solid #D6D4D4;margin: 0 0 10px;}
.pd_aap_send_custommer_form .product .product_desc {float:left;font-size:12px;color:#000}
.pd_aap_send_custommer_form .product .product_desc p{font-size: 12px;float: left;}
.pdaskaboutproductpro-modal .form-desc p {
  font-size: .875rem;
  line-height: 1.375rem;
  color: #6B7183;
  margin-bottom: 1.5rem;
}
.pd_aap_send_custommer_form .content_form {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .pd_aap_send_custommer_form .content_form.col-sm-6 {width: 50%;float: left;}
}

.pd_aap_send_custommer_form .content_form #pd_aap_info {padding-bottom: 10px;}
.pd_aap_send_custommer_form .content_form .text {padding-bottom: 0px;margin-bottom:2px;}
.pd_aap_send_custommer_form .content_form .text label {display: block;padding: 2px 0px;font-size: 12px;}

.pd_aap_send_custommer_form .content_form .text input {
/*  border: 1px solid #CCCCCC;
  color: #666666;
  font-size: 12px;
  height: 30px;
  padding: 0 5px;
  width: 100%;
  vertical-align: bottom;
  margin-bottom: 5px;*/
}

.pd_aap_send_custommer_form .content_form .text textarea {
  height: 100px;
  width: 100%;
}
.pd_aap_send_custommer_form .content_form .submit {margin:10px 10px 0 0;padding:5px 0;text-align:right}

.pd_aap_send_custommer_form .content_form .text label.error {
  display: inline-block;
  font-size: 11px;
  padding: 5px 0;
  text-align: left;
  vertical-align: top;
  color:red;
  border:none;
  margin-bottom: 0 !important;
  width: 100%;
  font-weight: normal
}

.pd_aap_send_custommer_form p.txt_required {font-size:11px;padding-top: 10px;margin: 0!important;}

.pd_aap_send_custommer_form .content_form .text input#captcha {
  border: 1px solid #CCCCCC;
  color: #666666;
  font-size: 12px;
  height: 22px;
  padding: 0 5px;
  margin-bottom: 0px!important;
  width: 20%;
  vertical-align: top;
}

.pd_aap_send_custommer_form .content_form .text img#captchaimage_aap {
  border: 1px solid #CCCCCC;
  color: #FBFBFB;
  height: 22px;
  padding: 0 5px;
  vertical-align: bottom;
  margin-bottom: 5px;
  margin-right: 5px;
  background-color: #EEEEEE;
}

.pd_aap_send_custommer_form .content_form span {
  display: inline-block;
    font-size: 12px;
    height: 24px;
    line-height: 24px;
    margin: 0 !important;
    padding: 0 5px 0 5px;
    vertical-align: top;
}

.pd_aap_send_custommer_form .content_form  a.reload_captcha {
    display: inline-block;
    font-size: 11px;
    height: 24px;
    line-height: 22px;
    margin: 0 !important;
    padding: 0 5px 0 0;
    vertical-align: top;
}
.pd_aap_send_custommer_form .content_form  a.reload_captcha:focus {outline:none;}
.pd_aap_send_custommer_form .content_form input.button {padding: 5px 7px !important;}

.pd_aap_send_custommer_form #privacy_policy {
  width:unset;
  height:unset;
  vertical-align: bottom;
  margin-bottom: 2px;}
.pd_aap_send_custommer_form label.privacy_policy {
  display: inline-block !important;
  line-height: 15px;
}

.pd_aap_send_custommer_form  input.privacy_policy {
  display: inline-block !important;
  margin: 10px 5px 10px 0px!important;
}


.pd_aap_send_custommer_form .g-recaptcha {
  margin-top:20px;
}

/* ************************************************************************************************
    Modal form - floating labels, grid layout
************************************************************************************************ */

/* Modal overrides */
.pdaskaboutproductpro-modal .modal-body {
  padding: 1.5rem;
}

/* Product info - stacked full width */
.pdaskaboutproductpro-modal .aap-product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.pdaskaboutproductpro-modal .aap-product-info img {
  max-width: 100px;
  height: auto;
  flex-shrink: 0;
}

/* Form grid */
.aap-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}
.aap-form-field-half {
  flex: 0 0 calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
}
.aap-form-field-full {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (max-width: 575px) {
  .aap-form-field-half {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Floating labels */
.aap-floating-label {
  position: relative;
  margin-bottom: 1rem;
}
.aap-floating-label .form-control {
  height: calc(1.5em + 1rem + 2px);
  padding: 8px 12px;
  font-size: 0.875rem;
  border: 1px solid #ced4da;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.aap-floating-label .form-control:focus {
  border-color: #C0241D;
  box-shadow: none;
}
.aap-floating-label textarea.form-control {
  height: 180px;
  padding-top: 1.5rem;
  resize: vertical;
}
.aap-floating-label > label {
  position: absolute;
  top: 10px;
  left: 10px;
  width: auto;
  padding: 0 5px;
  pointer-events: none;
  border: 1px solid transparent;
  transition: .1s all;
  font-size: 0.875rem;
  color: #6B7183;
  margin-bottom: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff;
}
.aap-floating-label .form-control:focus ~ label,
.aap-floating-label .form-control:not(:placeholder-shown) ~ label {
  transform: translateY(-1.4rem);
  opacity: 1;
  color: #6B7183;
}
/* Date inputs: always float the label since they always show a value */
.aap-floating-label input[type="date"] ~ label {
  transform: translateY(-1.4rem);
  opacity: 1;
  color: #6B7183;
}

/* Date icon wrapper */
.aap-input-icon {
  position: relative;
}
.aap-input-icon .form-control {
  padding-right: 2.5rem;
}
.aap-input-icon .aap-date-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}
/* Hide native date picker icon in webkit browsers */
.aap-input-icon input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 2.5rem;
  height: 100%;
  cursor: pointer;
}

/* Validation errors in floating label context */
.aap-floating-label label.error {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  display: block !important;
  font-size: 0.75rem;
  color: #C0241D;
  padding: 0.25rem 0 0;
  pointer-events: auto;
  height: auto;
  width: 100%;
  font-weight: normal;
  white-space: normal;
  overflow: visible;
}

/* Red custom checkbox for privacy policy */
.aap-checkbox-red {
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}
.aap-checkbox-red .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #C0241D;
  border-color: #C0241D;
}
.aap-checkbox-red .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(192, 36, 29, 0.25);
  border-color: #C0241D;
}
.aap-checkbox-red .custom-control-label {
  font-size: 0.8rem;
  color: #333;
  cursor: pointer;
  padding-top: 0.15rem;
}
.aap-checkbox-red .custom-control-label::before,
.aap-checkbox-red .custom-control-label::after {
  top: 0.15rem;
}

/* Required asterisk */
.aap-floating-label .required {
  color: #C0241D;
}

/* reCAPTCHA */
.aap-recaptcha-wrap {
  margin-bottom: 1rem;
}
.aap-recaptcha-wrap label.error {
  display: block;
  font-size: 0.75rem;
  color: #C0241D;
  font-weight: normal;
}

/* Required fields note */
.aap-txt-required {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 0;
}
.aap-txt-required .required {
  color: #C0241D;
}

/* Modal footer buttons */
.pdaskaboutproductpro-modal .modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}
.pdaskaboutproductpro-modal .modal-footer .btn-aap-send {
  flex: 3;
}
.pdaskaboutproductpro-modal .modal-footer .btn-aap-cancel {
  flex: 1;
}