.error {
    border: 1px solid #f00;
}

/* The switch - the box around the slider */
.switch {
    float: right;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-bottom: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    /*cursor: url(https://www.catfinders.co.uk/image/paw-cursor.png), auto;*/
    top: 20px;
    left: 0;
    right: 0;
    bottom: -20px;
    background-color: #ccc;
    -webkit-transition: 1.4s;
    transition: 1.4s;
}

.slider:before {
    position: absolute;
    content: "";
    text-align: center;
    vertical-align: middle;
    align-items: center;
    justify-items: center;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

.switch {
    background-color: #ccc;
}

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

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 13px;
}

/* Rounded sliders */
.slider.round {
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
}

.slider.round:before {
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 1px;
}
label {
    font-size: 12px;
    font-weight: normal;
    overflow-wrap: break-word;
}

label.checkbox {
    display: inline-block;
    margin: 0;
    font-weight: bold;
    text-align: center;
    padding-right: 15px;
}

@media (max-width: 768px) {
    label {
        font-weight: bold;
        width: 100%;
        text-align: left;
    }
    label.checkbox {
        text-align: right;
        word-wrap: break-word;
        padding: 0px;
    }
}
select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
    font-size: 12px;
}

div.slider_yes_no {
    column-gap: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}