.switch {
    position: relative;
    font-size: 12px;
    font-weight: 700;
    line-height: 21px;
}

.switch input {
    display: none;
    position: absolute;
    height: 1px;
    width: 1px;
    background: none;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    padding: 0;
}

.switch input+label {
    position: relative;
    width: 42px;
    height: 20px;
    border-radius: 11px;
    cursor: pointer;
    outline: none;
    text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}

.switch input+label::before,
.switch input+label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
}

.switch input+label::before {
    right: 0;
    background-color: #818181;
    border-radius: 11px;
    transition: 0.2s all;
}

.switch input+label::after {
    top: -1px;
    left: -1px;
    width: 24px;
    height: 22px;
    border-radius: 50%;
    background-color: #d3a22c;
    color: #1e1000;
    transition: 0.2s all;
}

.switch input:checked+label::after {
    margin-left: calc(2.375rem * .8);
    background-color: #d3a22c;
}

.switch label {
    color: #d3a22c;
    margin:0;
}

.switch input+label,
label.switch-yes {
    color: #8a888a;
    
}
.choice-select .switch input+label, .choice-select label.switch-yes{
    color: #ffffff;
}
.switch input:checked+label {
    color: #d3a22c;
}

.switch input:focus+label::before {
    outline: none;
}

.switch input:disabled+label {
    color: #868e96;
    cursor: not-allowed;
}

.switch input:disabled+label::before {
    background-color: #e9ecef;
}
.switch span{
    margin: 0 0 0 5px;
    white-space:nowrap;
}
@-moz-document url-prefix() {
  label.switch-yes span {
    margin-left: 45px;
  }
}