/* The Modal (background) */
.valuation-popup {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
  }
  
  /* Modal Content */
  .valuation-popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
  }
  
  /* The Close Button */
  .valuation-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .valuation-close:hover,
  .valuation-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .valuation-gallery {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .valuation-gallery li {
    width: 25%;
    display: flex;
    align-items: center;
  }
  .valuation-gallery .valuation-gallery-item {
    margin: 0 10px;
    border: 1px solid #000;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .valuation-gallery li img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .popup-valuation-form select {
    width: 300px;
  }
  .btn-wrap .button {
    position: relative;
  }
  .btn-wrap.loading .button:after {
    content: '';
    background-image: url('../images/loading.gif');
    background-size: cover;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    display: block;
    position: absolute;
    right: -33px;
    top: 50%;
    transform: translateY(-50%);
  }
  .js-valuation-popup {
    position: relative;
  }
  .js-valuation-popup.loading:after {
    content: '';
    background-image: url('../images/loading.gif');
    background-size: cover;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    display: block;
    position: absolute;
    right: -33px;
    top: 50%;
    transform: translateY(-50%);
  }