div.buyback-calculator-title {
    margin-top: 32px;
    margin-bottom: 16px;

    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
}

#buyback_calculator {
    min-width: 260px;
    display:flex;
    flex-direction:column;
    gap:5px;
}

#buyback_calculator button {
    text-wrap: nowrap;
    cursor:pointer;

    color:#000000;
}

#buyback_calculator .calculator_title {
    font-weight: 600;
}

#buyback_calculator .clear {
    border: none;
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 30px;
    background: none;
    color: #5e5e5e;
}

#buyback_calculator .increase,
#buyback_calculator .decrease {
    display:none;
}

#buyback_calculator .calculator {
    padding:15px;
    border-radius:15px;
    background:#f8f8f8;
}
#buyback_calculator .weight-input{
    position: relative;
    margin-bottom:20px;
}

#buyback_calculator .weight-input input::placeholder {
    font-size: 13px;
}

#buyback_calculator .hallmark-list,
#buyback_calculator .weights-list {
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-between;
    margin:10px 0;
    gap: 5px
}
#buyback_calculator .hallmark-list button,
#buyback_calculator .weights-list button {
    border:none;
    /* border-radius:15px; */
    background:#e5e5e5;
    text-align:right;
}
#buyback_calculator .hallmark-list button {
    padding:10px 11px 10px 15px;
    background:#fff;
}
#buyback_calculator .hallmark-list button.selected,
#buyback_calculator .weights-list button.selected {
    background:#000;
    color:#e5e5e5;
    font-weight:600;
}

#buyback_calculator .result,
#buyback_calculator .conditions,
#buyback_calculator .more-info {
    display:flex;
    flex-direction:column;
    align-items:center;
}

#buyback_calculator .summ {
    font-size:2.25em;
    font-weight:650;
    letter-spacing:3px;
}
#buyback_calculator .conditions .on-hands {
    font-weight:650;
}
#buyback_calculator .conditions .city-only {
    margin:0;
    font-size:.75em;
    font-weight:250;
    color:#5e5e5e;
}
#buyback_calculator .city-only span {
    color:#0f0f0f;
    font-weight:500;
    text-decoration:underline dashed;
}
#buyback_calculator .more-info a {
    display:inline-block;
    margin:15px 0;
    padding:15px 35px;
    background:#d3c48f;
    color:#f8f8f8;
    /* border-radius:20px !important; */
    line-height:100%;
    font-weight:750;
    text-decoration:none;
}
#buyback_calculator .disclaimer {
    margin:0 15px;
    color:#5e5e5e;
    font-size:.75em;
    font-weight:300;
}

#buyback_calculator input[type=number]::-webkit-outer-spin-button,
#buyback_calculator input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance:none;
    margin:0;
}
#buyback_calculator input[type=number] {
    -moz-appearance:textfield;
};

#buyback_calculator input {
    border:none;
    /* border-radius:15px; */
}

@media (max-width:400px) {
    #buyback_calculator .hallmark-list,
    #buyback_calculator .weights-list {
        flex-wrap: wrap;
    }
}

@media (max-width:519px){
  #buyback_calculator .weight-input input::placeholder {
        font-size: 11px;
    }

  #buyback_calculator .weight-input {
        text-align:center;
    }
  #buyback_calculator .calculator label {
        display:block;
        margin-top:20px;
        font-size:20px;
        color:#000;
        font-weight:800;
    }
  
  #buyback_calculator .clear {
    display: none;
  }

  #buyback_calculator .increase,
  #buyback_calculator .decrease {
        display:inline;
        top:10px;
    }
  #buyback_calculator input {
        display:inline;
        width:100px;
        margin:15px 25px;
    }

  #buyback_calculator .weights-list button {
        font-size:10px;
        padding:15px;
    }
}

#callPhone .buyback-request {
    margin: 5px 0;
    font-weight: 600;
    text-align: center;
}

@media (min-width:520px) and (max-width:749px){
  #buyback_calculator {
        flex-direction:column;
    }
  #buyback_calculator .weight-input {
        text-align:center;
    }
  #buyback_calculator .border-gap {
        margin:10px 0;
    }

  #buyback_calculator .calculator label {
        display:block;
        margin-top:20px;
        font-size:20px;
        color:#000;
        font-weight:800;
    }

  #buyback_calculator .clear {
    display: none;
  }

  #buyback_calculator .increase,
  #buyback_calculator .decrease {
        display:inline;
        top:10px;
    }
  #buyback_calculator input {
        display:inline;
        width:100px;
        margin:15px 25px;
    }

  #buyback_calculator .hallmark-list button {
        font-size:25px;
   }

  #buyback_calculator .weights-list button {
        font-size:20px;
        padding: 20px;
        width: 65px;
    }
}

@media (min-width:750px){
  #buyback_calculator {
        flex-direction:row;
    }
  #buyback_calculator .border-gap {
        min-width:5px;
        margin:0 20px;
        background:#f8f8f8;
    }

  #buyback_calculator .result {
        max-width: 250px;
    }

  #buyback_calculator .calculator label {
        display:block;
        position:relative;
        top:15px;
        left:10px;
        font-size:10px;
        color:#5e5e5e;
    }
  #buyback_calculator .calculator input {
        width:100%;
        padding:30px 10px 20px;
        border:none;
        /* border-radius:15px; */
    }

  #buyback_calculator .weights-list button {
        font-size:13px;
        padding: 10px;
        width: 40px;
    }
}

#buyback_calculator .increase,
#buyback_calculator .decrease {
    position:relative;
    border:none;
    background:#f8f8f8;
    font-size:50px;
}
