.sort_link {
    white-space: nowrap;
    line-height: 18px;
    display: inline-block;
    height: 18px;
}

.sort_link .fa{
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-switch {
    padding-left: 2.25rem;
    margin-left: 12px;
    margin-bottom: 10px;
}

.custom-switch  input {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.custom-switch  input {
    overflow: visible;
}

.custom-switch input[type="radio"], .custom-switch input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}


.custom-switch [type="checkbox"]:not(:checked),.custom-switch  [type="checkbox"]:checked {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.custom-switch .custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-switch label {
    display: inline-block;
    margin-bottom: .5rem;
}

.custom-switch .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
    padding-left: 0px;
    height: auto;
}

.custom-switch .custom-control-label::before {
    position: absolute !important;
    top: .25rem !important;
    left: -1.5rem !important;
    display: block !important;
    width: 1rem !important;
    height: 1rem !important;
    pointer-events: none !important;
    content: "" !important;
    background-color: #fff !important;
    border: #adb5bd solid 1px !important;
}

.custom-switch .custom-control-label::before, .custom-switch .custom-file-label, .custom-switch .custom-select {
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
}


.custom-switch .custom-control-label::before {
    left: -2.25rem !important;
    width: 1.75rem !important;
    pointer-events: all !important;
    border-radius: .5rem !important;
    margin-top: 0px !important;
    transform: rotate(0deg) !important;
    -webkit-transform: rotate(0deg)!important;
    -ms-transform: rotate(0deg)!important;
}

.custom-switch .custom-control-label::after {
    position: absolute !important;
    top: .25rem !important;
    left: -1.5rem !important;
    display: block !important;
    width: 1rem !important;
    height: 1rem !important;
    content: "" !important;
    background: no-repeat 50% / 50% 50% !important;
}

.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px) !important;
    left: calc(-2.25rem + 2px) !important;
    width: calc(1rem - 4px) !important;
    height: calc(1rem - 4px) !important;
    background-color: #adb5bd !important;
    border-radius: .5rem !important;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out !important;
    transition: transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
    transition: transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out !important;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff !important;
    border-color: #007bff !important;
    background-color: #007bff !important;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff !important;
    -webkit-transform: translateX(0.75rem) !important;
    transform: translateX(0.75rem) !important;
}

.js-filter-panel {
    margin-bottom: 20px;
}

.js-filter-panel .form-control {
    height: 1.2rem;
    padding: 0px;
    margin-bottom: 0px;
}

.js-filter-panel .select-wrapper input.select-dropdown {
    height: 1.4rem;
}

.js-filter-panel .select-wrapper span.caret {
    top: 6px;
}