.col-form-label {
    display: flex;
    align-items: center;
    justify-content: center; /* horizontally center */
    height: 100%;
    margin-bottom: 0;
    margin-top: 5px;
}
.custom-radios div {
    display: inline-block;
}
.custom-radios input[type="radio"] {
    display: none;
}
.custom-radios input[type="radio"] + label {
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 12px;
}
.custom-radios input[type="radio"] + label span {
    display: inline-block;
    width: auto;
    height: 35px;
    margin: -1px 0 0 0;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 10%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    line-height: 35px;
    padding: 0 20px;
    font-weight: bold;
    color: #000000;
}
.custom-radios input[type="radio"].color-1 + label span {
    background-color: #FFF;
}
.custom-radios input[type="radio"].color-2 + label span {
    background-color: #FFF;
}
.custom-radios input[type="radio"].color-3 + label span {
    background-color: #FFF;
}
.custom-radios input[type="radio"].color-4 + label span {
    background-color: #FFF;
}
.custom-radios input[type="radio"]:checked + label span {
    opacity: 1;
    background: url(checkbox.png) right bottom no-repeat;
    width: auto;
    height: 35px;
    display: inline-block;
    border: 2px solid #048BFE;
    padding: 0 20px;
    font-weight: bold;
    color: #048BFE;
}
.custom-radios input[type="radio"]:disabled + label span {
    opacity: 1;
    width: auto;
    height: 35px;
    display: inline-block;
    padding: 0 20px;
    font-weight: bold;
    color: #b3b4b4;
}
/* Smooth transition for sidebar submenu */
.sidebar-wrapper nav#sidebar ul.submenu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    will-change: max-height, opacity;
}

.sidebar-wrapper nav#sidebar ul.submenu.show {
    display: block !important;
    max-height: 1000px; /* enough space for the animation */
    opacity: 1;
    visibility: visible !important;
}

.table-responsive {
    overflow: visible !important;
}

/* ================================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 768px) {

    .breadcrumb-action-dropdown {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb-action-dropdown::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-action-dropdown .btn {
        font-size: 12px;
        padding: 6px 10px;
        min-width: auto;
        white-space: nowrap;
    }

    .breadcrumb-action-dropdown .btn i {
        margin-right: 4px;
    }
}

@media (max-width: 420px) {
    .breadcrumb-action-dropdown .btn span {
        display: none;
    }

    .breadcrumb-action-dropdown .btn {
        padding: 6px 8px;
    }
}
