
.form-control-range {
    background-color: var(--primary-color);
}


.btn-danger {
    background-color: var(--red);
    border-color: var(--red);
}

.btn-danger:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
}


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-primary:active {
    background-color: var(--primary-darker);
}

.btn-outline-primary {
    color: var(--primary-color);
    background-color: transparent;
    background-image: none;
    border-color: var(--primary-color);
}

.btn-outline-primary:disabled {
    color: var(--primary-color) !important;
}

.btn-outline-primary:disabled:hover {
    background-color: white;
}

.btn-outline-primary:hover {
    color: white;
    background-image: none;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: white;
    background-image: none;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    color: white;
    background-image: none;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary.focus, .btn-outline-primary:focus {
    box-shadow: none;
}

.btn.focus, .btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus, .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.badge-primary {
    background-color: var(--blue);
}

.badge-success {
    background-color: var(--green);
}

.badge-warning {
    background-color: var(--orange);
    color: white;
}

/* CHECKBOX */
input[type=checkbox] {
    position: relative;
    cursor: pointer;
}

input[type=checkbox]:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    background-color: #e9e9e9;
    border-radius: 2px;
    margin-top: -1px;
}

input[type=checkbox]:checked:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-top: -1px;
}

input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
    left: 5px;
}


/* RADIO */
input[type=radio] {
    position: relative;
    cursor: pointer;
    margin: 5px;
}

input[type=radio]:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    background-color: #e9e9e9;
    border-radius: 50%;
    margin: -1px 0 0 -1px;
}

input[type=radio]:checked:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: -1px 0 0 -1px;
}

input[type=radio]:checked:after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

input[type=radio]:focus {
    outline: none !important;
    box-shadow: none;
}

input:focus {
    outline: none !important;
    box-shadow: 0 0 0 1px var(--primary-color);
    transition: all 0.3s ease;
}

input[type=checkbox]:focus {
    outline: none !important;
    box-shadow: none;
}

.form-control:focus {
    outline: none !important;
    box-shadow: 0 0 0 1px var(--primary-color);
    transition: all 0.3s ease;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.hidden {
    display: none;
    visibility: hidden;
}

.invalid-feedback {
  display: block;
}