/* =============
   Checkbox and Radios
============= */

.checkbox {
    padding-left: 20px;
}

.checkbox label {
    display: inline-block;
    padding-left: 8px;
    position: relative;
}

.checkbox label::before {
    -o-transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 2px;
    border: 1px solid #cccccc;
    border: 2px solid #dce4ec;
    content: "";
    display: inline-block;
    height: 21px;
    left: 0;
    margin-left: -20px;
    position: absolute;
    transition: 0.3s ease-in-out;
    width: 21px;
    outline: none !important;
}

.checkbox label::after {
    color: #555555;
    display: inline-block;
    font-size: 13px;
    height: 18px;
    left: 0;
    margin-left: -20px;
    padding-left: 4px;
    padding-top: 2px;
    position: absolute;
    top: 0;
    width: 18px;
}

.checkbox input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
}

.checkbox input[type="checkbox"]:disabled + label {
    opacity: 0.65;
}

.checkbox input[type="checkbox"]:focus + label::before {
    outline-offset: -2px;
    outline: none;
    border: 2px solid #2c3e50;
}

.checkbox input[type="checkbox"]:checked + label::after {
    content: "\f00c";
    font-family: 'FontAwesome';
}

.checkbox input[type="checkbox"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
}

.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}

.checkbox.checkbox-inline {
    margin-top: 0;
}

.checkbox.checkbox-single label {
    height: 17px;
}

.checkbox-custom input[type="checkbox"]:checked + label::before {
    background-color: #71b6f9;
    border-color: #71b6f9;
}

.checkbox-custom input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #188ae2;
    border-color: #188ae2;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-danger input[type="checkbox"]:checked + label::before {
    background-color: #ff5b5b;
    border-color: #ff5b5b;
}

.checkbox-danger input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: #35b8e0;
    border-color: #35b8e0;
}

.checkbox-info input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-warning input[type="checkbox"]:checked + label::before {
    background-color: #f9c851;
    border-color: #f9c851;
}

.checkbox-warning input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-success input[type="checkbox"]:checked + label::before {
    background-color: #10c469;
    border-color: #10c469;
}

.checkbox-success input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-purple input[type="checkbox"]:checked + label::before {
    background-color: #5b69bc;
    border-color: #5b69bc;
}

.checkbox-purple input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-pink input[type="checkbox"]:checked + label::before {
    background-color: #ff8acc;
    border-color: #ff8acc;
}

.checkbox-pink input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}

.checkbox-inverse input[type="checkbox"]:checked + label::before {
    background-color: #3b3e47;
    border-color: #3b3e47;
}

.checkbox-inverse input[type="checkbox"]:checked + label::after {
    color: #ffffff;
}


/* Radios */

.radio {
    padding-left: 20px;
}

.radio label {
    display: inline-block;
    padding-left: 8px;
    position: relative;
}

.radio label::before {
    -o-transition: border 0.5s ease-in-out;
    -webkit-transition: border 0.5s ease-in-out;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1px solid #cccccc;
    content: "";
    display: inline-block;
    height: 21px;
    left: 0;
    margin-left: -20px;
    outline: none !important;
    position: absolute;
    transition: border 0.5s ease-in-out;
    width: 21px;
}

.radio label::after {
    -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -webkit-transform: scale(0, 0);
    -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    background-color: #555555;
    border-radius: 50%;
    content: " ";
    display: inline-block;
    height: 13px;
    left: 4px;
    margin-left: -20px;
    position: absolute;
    top: 4px;
    transform: scale(0, 0);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    width: 13px;
}

.radio input[type="radio"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
}

.radio input[type="radio"]:disabled + label {
    opacity: 0.65;
}

.radio input[type="radio"]:focus + label::before {
    outline-offset: -2px;
    border: 2px solid #2c3e50;
}

.radio input[type="radio"]:checked + label::after {
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

.radio input[type="radio"]:disabled + label::before {
    cursor: not-allowed;
}

.radio.radio-inline {
    margin-top: 0;
}

.radio.radio-single label {
    height: 17px;
}

.radio-custom input[type="radio"] + label::after {
    background-color: #71b6f9;
}

.radio-custom input[type="radio"]:checked + label::before {
    border-color: #71b6f9;
}

.radio-custom input[type="radio"]:checked + label::after {
    background-color: #71b6f9;
}

.radio-primary input[type="radio"] + label::after {
    background-color: #188ae2;
}

.radio-primary input[type="radio"]:checked + label::before {
    border-color: #188ae2;
}

.radio-primary input[type="radio"]:checked + label::after {
    background-color: #188ae2;
}

.radio-danger input[type="radio"] + label::after {
    background-color: #ff5b5b;
}

.radio-danger input[type="radio"]:checked + label::before {
    border-color: #ff5b5b;
}

.radio-danger input[type="radio"]:checked + label::after {
    background-color: #ff5b5b;
}

.radio-info input[type="radio"] + label::after {
    background-color: #35b8e0;
}

.radio-info input[type="radio"]:checked + label::before {
    border-color: #35b8e0;
}

.radio-info input[type="radio"]:checked + label::after {
    background-color: #35b8e0;
}

.radio-warning input[type="radio"] + label::after {
    background-color: #f9c851;
}

.radio-warning input[type="radio"]:checked + label::before {
    border-color: #f9c851;
}

.radio-warning input[type="radio"]:checked + label::after {
    background-color: #f9c851;
}

.radio-success input[type="radio"] + label::after {
    background-color: #10c469;
}

.radio-success input[type="radio"]:checked + label::before {
    border-color: #10c469;
}

.radio-success input[type="radio"]:checked + label::after {
    background-color: #10c469;
}

.radio-purple input[type="radio"] + label::after {
    background-color: #5b69bc;
}

.radio-purple input[type="radio"]:checked + label::before {
    border-color: #5b69bc;
}

.radio-purple input[type="radio"]:checked + label::after {
    background-color: #5b69bc;
}

.radio-pink input[type="radio"] + label::after {
    background-color: #ff8acc;
}

.radio-pink input[type="radio"]:checked + label::before {
    border-color: #ff8acc;
}

.radio-pink input[type="radio"]:checked + label::after {
    background-color: #ff8acc;
}