/*CHECKBOX*/
@media screen and (max-width: 1280px) {
    label.checkbox .col {
        vertical-align: bottom;
    }
}

.check_row .col {
    text-align: center;
}

input[type="checkbox"][style*="display:none"] + .checkbox {
    display: none;
}

input[type="checkbox"]:checked + .checkbox,
input[type="checkbox"] + .checkbox {
    position: relative;
    margin: 0px;
    margin-left: 5px;
    cursor: pointer;
    /*width: 21px;*/
    width: auto;
}

input[type="checkbox"]:checked + .checkbox span,
input[type="checkbox"] + .checkbox span {
    background-color: transparent;
    background-image: url('/application/Helper/Form/inc/checkbox.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 0px;
    margin-right: 5px;
    padding: 0px;
    vertical-align: middle;
}

input[type="checkbox"] + .checkbox:hover span {
    background-position: -24px 0;
}

input[type="checkbox"]:checked + .checkbox span {
    background-position: -48px 0;
}

input[type="checkbox"][disabled] + .checkbox span {
    background-position: 0 0;
}

input[type="checkbox"][disabled]:checked + .checkbox span {
    background-position: -96px 0;
}

.checklist {
    padding: 5px;
    text-align: left;
}

.checklist-search-content {
    margin-top: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.search-from-checklist {
    margin-left: 5px;
    width: calc(100% - 5px);
    display: inline-block;
}

/*
input[type="checkbox"]:checked + .checkbox span,
input[type="checkbox"] + .checkbox span,
input[type="checkbox"]:checked + .checkbox span,
input[type="checkbox"] + .checkbox span {
    margin-right: 10px;
}
*/

/*RADIO*/
input[type="radio"]:checked + .radio, input[type="radio"] + .radio {
    position: relative;
    margin: 0px;
    margin-left: -5px;
    cursor: pointer;
}

input[type="radio"]:checked + .radio span, input[type="radio"] + .radio span {
    background-color: transparent;
    background-image: url('/application/Helper/Form/inc/radio.png');
    background-repeat: no-repeat;
    background-position: -120px 0;
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 0px 3px 0px 0px;
    padding: 0px;
    vertical-align: middle;
}

input[type="radio"] + .radio:hover span {
    background-position: -144px 0;
}

input[type="radio"]:checked + .radio span {
    background-position: -168px 0;
}

input[type="radio"][disabled] + .radio span {
    background-position: -120px 0;
}

input[type="radio"][disabled]:checked + .radio span {
    background-position: -216px 0;
}

.radiolist {
    padding: 5px;
    text-align: left;
}

.radiolist-search-content {
    margin-top: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.search-from-radiolist {
    margin-left: 5px;
    width: calc(100% - 5px);
    display: inline-block;
}

input[type="radio"]:checked + .radio span,
input[type="radio"] + .radio span,
input[type="radio"]:checked + .radio span,
input[type="radio"] + .radio span {
    margin-right: 10px;
}

/*TITLE*/
.title {
    border-bottom: 1px solid #025AA5;
    padding: 10px;
    margin-bottom: 20px;
}

.title > .col:first-child {
    float: left;
    padding: 0;
}

.title > .col {
    float: right;
}

.fancybox-button-delete {
    display: none;
}

.fancybox-main-image {
    max-width: 90%;
}

.title form {
    display: inline-block;
}

.title .col .btn:not(.dropdown-toggle) {
    margin-left: 10px;
}

/*SLIDER*/

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0px;
    vertical-align: middle;
}

/* Hide default HTML checkbox */
.switch input {
    visibility: hidden;
}

/* 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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input.default[checked="checked"] + .slider {
    background-color: #8bc34a;
}

input.primary[checked="checked"] + .slider {
    background-color: #2196F3;
}

input.success[checked="checked"] + .slider {
    background-color: #8bc34a;
}

input.info[checked="checked"] + .slider {
    background-color: #3de0f5;
}

input.warning[checked="checked"] + .slider {
    background-color: #FFC107;
}

input.danger[checked="checked"] + .slider {
    background-color: #f44336;
}

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

input[checked="checked"] + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

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

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

.custom-file-label::after {
    content: "File";
}