label.error {
    color: #F00;
    font-size: 13px;
    display: block !important;
    text-align: left !important;
}

.required:after {
    content: "*" !important;
    color: red !important;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 43px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input.default:checked + .slider {
    background-color: #444;
}
input.primary:checked + .slider {
    background-color: #2196F3;
}
input.success:checked + .slider {
    background-color: #8bc34a;
}
input.info:checked + .slider {
    background-color: #3de0f5;
}
input.warning:checked + .slider {
    background-color: #FFC107;
}
input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.select2-container .select2-selection--single {
    /*height: 38px;*/
    /*line-height: 38px;*/
    border: 1px solid rgba(0,0,0,0.07);
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding: .375rem .75rem;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    /*margin-top: 5px;*/
}

.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    background: #ffffff;
}

.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    box-shadow: none;
    border-color: #5d78ff;
}

.select2-container--bootstrap4 .select2-dropdown {
    border-color: rgba(0,0,0,0.07); /* Replace #yourcolor with your desired border color */
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    top: 0;
    right: 1px;
    width: 20px;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-color: #555 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    display: block;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 7px;
    position: absolute;
    top: 20%;
    width: 0;
}
