/**
 * @package     Plumrocket_CallForPrice
 * @copyright   Copyright (c) 2019 Plumrocket Inc. (https://plumrocket.com)
 * @license     https://plumrocket.com/license   End-user License Agreement
 */

#plumrocket-callforprice-form-container * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.pl-clearfix:before,
.pl-clearfix:after {
  content: "";
  display: block;
  clear: both;
}

#plumrocket-callforprice-form-container .callforprice-popup-internal {
  margin: 5% auto 2% auto;
  background-color: #FFFFFF;
  padding: 30px;
  min-width: 250px;
  max-width: 800px;
  display: inline-block;
}

#plumrocket-callforpice-frontend-form h2 {
  font-size: 30px;
  margin-top: 0;
  border: 0;
  border-bottom: 1px solid #dcdcdc;
}

#plumrocket-callforpice-frontend-form {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

#plumrocket-callforpice-frontend-form .fieldset {
  padding: 0;
  background: none;
  border: 0;
}

#plumrocket-callforpice-frontend-form li {
  padding: 0;
  margin: 0;
}

#plumrocket-callforpice-frontend-form li:before,
#plumrocket-callforpice-frontend-form li:after {
  content: "";
  display: block;
  clear: both;
}

#plumrocket-callforpice-frontend-form li:first-child .field {
  width: 50%;
  float: left;
  padding-left: 8px;
}

#plumrocket-callforpice-frontend-form li:first-child .field:nth-child(2n+1) {
  clear: left;
  padding-left: 0;
  padding-right: 3.5%;
}

button.plumrocket-callforprice-btn {
  margin-bottom: 10px;
}

#plumrocket-callforpice-frontend-form .input-box,
#plumrocket-callforpice-frontend-form textarea,
#plumrocket-callforpice-frontend-form select,
#plumrocket-callforpice-frontend-form input {
  width: 100%;
  max-width: 100%;
}

#plumrocket-callforpice-frontend-form textarea {
  min-height: 80px;
  max-height: none;
}

#plumrocket-callforpice-frontend-form .buttons-set {
  margin: 20px 0 0 0;
  padding: 12px 0 0 0;
  border: 0;
  border-top: 1px solid #dcdcdc;
}

.plumrocket-callforprice-text-label{
  font-size: 11px;
  line-height: 12px;
  color: #8e8e8e;
  margin-bottom: 10px;
}

.catalog-product-view .plumrocket-callforprice-text-label {
  font-size: 12px;
}

#plumrocket-callforprice-form-container .callforprice-addedoverlay {
  left:0; top:0; width: 100%; height: 100%; position:fixed; z-index: 5000; background: black;
  opacity: .75;  filter: alpha(opacity=75);   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
}

#plumrocket-callforprice-form-container .callforprice-popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5050;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 15px;
  overflow-y: auto;
  text-align: center;
}

#plumrocket-callforprice-form-container .callforprice-content {
  position: relative;
  padding: 0;
}

#plumrocket-callforprice-form-container .callforprice-content .field {
  text-align: left;
  width: 100%;
  margin: 0 0 5px 0;
}

#plumrocket-callforprice-form-container .callforprice-content .pl-cfp-recall {
  width: 50%;
  padding-right: 8px;
}

#plumrocket-callforprice-form-container .callforprice-content .close {
  position: absolute;
  right: -17px;
  top: -19px;
  font-size: 10px;
  font-weight: 400;
  color: #FFFFFF;
  width: 15px;
  height: 15px;
  text-align: center;
  line-height: 15px;
  background-color: #a5a7a8;
  font-size: 13px;
}

#plumrocket-callforprice-form-container .callforprice-content .close:hover {
  cursor: pointer;
}

#plumrocket-callforprice-form-container .callforprice-content h3 {
  font-size: 18px;
  text-align: left;
  margin: 15px 0 10px 0;
  font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

#plumrocket-callforprice-form-container .callforprice-content p {
  margin-bottom: 10px;
  font-size: 12px;
  text-align: left;
}

/* RTL */
.prcallforprice-rtl .modal-inner-wrap {
  direction: rtl;
}

.prcallforprice-rtl
#plumrocket-callforpice-frontend-form
li:first-child .field:nth-child(2n+1) {
  padding-right: 0;
  padding-left: 3.5%;
}

#prcallform-fields-wrapper .page-title {
  position: relative;
  width: auto;
  height: auto;
  margin: 0;
}

@media only screen and (max-width: 640px) {
  #plumrocket-callforprice-form-container .callforprice-popup-internal {
    padding: 18px;
  }
  #plumrocket-callforprice-form-container .callforprice-content .close {
    position: absolute;
    right: -29px;
    top: -32px;
    font-size: 10px;
    font-weight: 400;
    color: #FFFFFF;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 25px;
    background-color: #000;
    font-size: 13px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #000;
  }
  #plumrocket-callforpice-frontend-form li {
    float: none;
    width: 100%;
    padding: 0;
  }
  #plumrocket-callforprice-form-container.dir-rtl .callforprice-content .close{
    left: -30px;
  }
}


@media only screen and (max-width: 480px) {
  #plumrocket-callforpice-frontend-form li:first-child .field,
  #plumrocket-callforpice-frontend-form li:first-child .field:nth-child(2n+1) {
    width: 100%;
    float: none;
    padding: 0
  }
  #plumrocket-callforprice-form-container .callforprice-content .pl-cfp-recall {
    width: 100%;
    padding: 0;
  }
  .dir-rtl #plumrocket-callforpice-frontend-form li:first-child .field,
  .dir-rtl #plumrocket-callforpice-frontend-form li:first-child .field:nth-child(2n+1){
    padding: 0;
  }
}

/* Custom ===== */
.callforprice-popup .form-list {
  padding: 0;
  list-style: none;
}

.callforprice-popup .form-list .fields:first-child {
  display: flex;
  flex-wrap: wrap;
}

#plumrocket-callforpice-frontend-form .fields:first-child .field {
  float: none;
  width: 48.2%;
  margin-bottom: 10px;
  padding-left: 0;
}

#plumrocket-callforpice-frontend-form .fields:first-child .field:last-child {
  margin-bottom: 0;
}

#plumrocket-callforpice-frontend-form .fields:last-child .field select {
  width: 48.2%;
  height: 35px;
}

#plumrocket-callforpice-frontend-form select {
  height: 35px;
}

#plumrocket-callforpice-frontend-form input {
  height: 35px;
  padding-left: 5px;
}

#plumrocket-callforpice-frontend-form .fields:last-child .field {
  margin-top: 10px;
}

.callforprice-popup.modal-slide._show .modal-inner-wrap {
  width: 60%;
}

.form-list em {
  margin-left: 3px;
  color: red;
  font-style: inherit;
}

.modal-popup.callforprice-popup .modal-content {
  padding-bottom: 0;
}

.modal-popup.callforprice-popup .modal-footer button {
  padding-top: 12px;
  padding-bottom: 12px;
}

.modal-popup.callforprice-popup .modal-title {
  font-size: 18px;
}


.modal-popup.callforprice-popup.modal-slide .modal-footer {
  border-top: 1px solid transparent;
}

.box-tocart .pac-btn-wrap .action.tocart {
  width: 52%;
}

#prcallform-fields-wrapper .prgdpr-consent-checkbox {
  margin-bottom: 5px;
  position: relative;
  padding-left: 21px;
}

#plumrocket-callforpice-frontend-form input.required-entry {
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  margin: 0;
}

.prcallforprice-rtl #prcallform-fields-wrapper,
.prgdpr-consent-checkbox {
  padding-left: 0;
  padding-right: 23px;
}

.prcallforprice-rtl #plumrocket-callforpice-frontend-form,
input.required-entry {
  right: 0;
}

#plumrocket-callforpice-frontend-form .prgdpr-consent-checkbox div.mage-error[generated] {
  margin-top: 0;
}

/*Sidebar wish-list items*/

#maincontent .sidebar .product-items .product-item-info:after{
  display: block;
  content: '';
  clear: both;
}

#maincontent .block.block-wishlist .block-content .product-items .product-item-photo{
  float: left;
  position: static;
}

#maincontent .sidebar .product-items .product-item-actions{
  clear: none;
  position: static;
}


.sidebar .product-items .product-item-info {
  width: 100%;
}

.sidebar .product-items .product-item-info .product-item-photo {
    position: relative;
    display: block;
    float: left;
}

.sidebar .product-items .product-item {
  display: flex;
  width: 100%;
}

#plumrocket-callforpice-frontend-form #prcallform-recaptcha input {
    height: 0;
}

@media (min-width: 1440px) {
    .sidebar.sidebar-additional .product-items .product-item-info .product-item-photo {
        position: relative;
        display: block;
        float: left;
    }
}

@media (max-width: 900px) {
  .modal-popup.callforprice-popup .modal-footer {
    margin-top: 0;
  }

  .callforprice-popup.modal-slide._show .modal-inner-wrap {
    width: 75%;
  }
}

@media (max-width: 767px) {
  .modal-popup.callforprice-popup.modal-slide .modal-inner-wrap {
    width: 100%;
  }

  .box-tocart .pac-btn-wrap .action.tocart {
    width: 100%;
  }
}

@media (max-width: 543px) {
  .callforprice-popup .form-list .fields:first-child {
    flex-direction: column;
  }

  #plumrocket-callforpice-frontend-form .fields:first-child .field,
  #plumrocket-callforpice-frontend-form .fields:last-child .field select {
    width: 100%;
  }

}

@media (max-width: 479px) {
  .modal-footer button {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  #plumrocket-callforpice-frontend-form .fieldset {
    margin-bottom: 10px;
  }

  #plumrocket-callforpice-frontend-form h2 {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .page-title p {
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 5px;
  }

  #plumrocket-callforpice-frontend-form input,
  #plumrocket-callforpice-frontend-form .fields:last-child .field select,
  #plumrocket-callforpice-frontend-form select {
    font-size: 16px;
  }

  #plumrocket-callforpice-frontend-form .fields:last-child .field select,
  #plumrocket-callforpice-frontend-form select {
    padding-top: 0;
    padding-bottom: 0;
  }

  .form-list {
    margin-bottom: 2px;
  }

  .form-list label {
    font-size: 16px;
  }

  .modal-popup.callforprice-popup .modal-header {
    margin-bottom: -10px;
    padding-top: 10px;
  }

  .callforprice-popup.modal-slide .action-close {
    padding-top: 10px;
  }

  .modal-popup.callforprice-popup .modal-footer {
    padding-top: 10px;
    padding-bottom: 30px;
  }
}
/* .catalog-category-view .products-grid .product-items .product-item .product-item-info {
min-height: 600px !important;
}
.products-upsell.products-grid .product-items .product-item .product-item-info {
    min-height: 495px !important;
} */