//  =================
//      Imports
//  =================

@import '../base/base'; // Base Variables

html {
    min-height: 100%;
}

.auth-boxed {
    background: url("../images/login/slider_negro.jpg") no-repeat center center fixed;
    background-size: cover;
}

body {
    color: #888ea8;
    height: 100%;
    font-size: 0.875rem;
    // background: #060607;
    background: url("../images/login/back.jpg") no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: auto;
    letter-spacing: 0.0312rem;
    font-family: 'Nunito', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: $dark;
}

:focus {
    outline: none;
}

::-moz-selection {
    /* Code for Firefox */
    color: $primary;
    background: transparent;
}

::selection {
    color: rgb(214, 154, 93);
    background: transparent;
}
a {
    text-decoration: none;
}

p {
    margin-top: 0;
    margin-bottom: 0.625rem;
    color: #515365;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #f1f2f3;
}

strong {
    font-weight: 600;
}

code {
    color: $danger;
}
.small,
small {
    font-size: 80%;
    font-weight: 400;
}

select.form-custom::-ms-expand {
    display: none;
}

select.form-control[multiple],
select.form-control[size],
textarea.form-control {
    height: auto;
}

.custom-file-input:focus ~ .custom-file-label {
    border: 1px solid #ced4da;
    box-shadow: none;

    &::after {
        border: none;
        border-left: 1px solid #ced4da;
    }
}

.lead a.btn.btn-primary.btn-lg {
    margin-top: 15px;
    border-radius: 4px;
}

.jumbotron {
    background-color: #f1f2f3;
    padding: 4rem 2rem;
    border-radius: 0.3rem;
}
.jumbotron-fluid {
    padding-right: 0;
    padding-left: 0;
    border-radius: 0;
}

.mark,
mark {
    background-color: #fff9ed;
}

.code-section-container {
    margin-top: 20px;
    text-align: left;
}

.toggle-code-snippet {
    border: none;
    background-color: transparent !important;
    padding: 0px !important;
    box-shadow: none !important;
    color: #888ea8 !important;
    margin-bottom: -24px;
    border-bottom: 1px dashed #bfc9d4;
    border-radius: 0;

    svg {
        color: $primary;
    }
}

.code-section {
    padding: 0;
    height: 0;
}

.code-section-container.show-code .code-section {
    margin-top: 20px;
    height: auto;
}

.code-section pre {
    margin-bottom: 0;
    height: 0;
    padding: 0;
    border-radius: 6px;
}

.code-section-container.show-code .code-section pre {
    height: auto;
    padding: 22px;
}

.code-section code {
    color: #fff;
}
.flex-1 {
    flex: 1;
}

/*blockquote*/

blockquote {
    &.blockquote {
        color: #0e1726;
        padding: 20px 20px 20px 14px;
        font-size: 0.875rem;
        background-color: #ffffff;
        border-bottom-right-radius: 8px;
        border-top-right-radius: 8px;
        border: 1px solid #e0e6ed;
        border-left: 2px solid $primary;
        -webkit-box-shadow: 0 0.1px 0px rgba(0, 0, 0, 0.002), 0 0.2px 0px rgba(0, 0, 0, 0.003), 0 0.4px 0px rgba(0, 0, 0, 0.004), 0 0.6px 0px rgba(0, 0, 0, 0.004), 0 0.9px 0px rgba(0, 0, 0, 0.005),
            0 1.2px 0px rgba(0, 0, 0, 0.006), 0 1.8px 0px rgba(0, 0, 0, 0.006), 0 2.6px 0px rgba(0, 0, 0, 0.007), 0 3.9px 0px rgba(0, 0, 0, 0.008), 0 7px 0px rgba(0, 0, 0, 0.01);
        -moz-box-shadow: 0 0.1px 0px rgba(0, 0, 0, 0.002), 0 0.2px 0px rgba(0, 0, 0, 0.003), 0 0.4px 0px rgba(0, 0, 0, 0.004), 0 0.6px 0px rgba(0, 0, 0, 0.004), 0 0.9px 0px rgba(0, 0, 0, 0.005),
            0 1.2px 0px rgba(0, 0, 0, 0.006), 0 1.8px 0px rgba(0, 0, 0, 0.006), 0 2.6px 0px rgba(0, 0, 0, 0.007), 0 3.9px 0px rgba(0, 0, 0, 0.008), 0 7px 0px rgba(0, 0, 0, 0.01);
        box-shadow: 0 0.1px 0px rgba(0, 0, 0, 0.002), 0 0.2px 0px rgba(0, 0, 0, 0.003), 0 0.4px 0px rgba(0, 0, 0, 0.004), 0 0.6px 0px rgba(0, 0, 0, 0.004), 0 0.9px 0px rgba(0, 0, 0, 0.005),
            0 1.2px 0px rgba(0, 0, 0, 0.006), 0 1.8px 0px rgba(0, 0, 0, 0.006), 0 2.6px 0px rgba(0, 0, 0, 0.007), 0 3.9px 0px rgba(0, 0, 0, 0.008), 0 7px 0px rgba(0, 0, 0, 0.01);

        > p {
            margin-bottom: 0;
        }
    }

    .small:before,
    footer:before,
    small:before {
        content: '\2014 \00A0';
    }

    .small,
    footer,
    small {
        display: block;
        font-size: 80%;
        line-height: 1.42857143;
        color: #777;
    }

    &.media-object {
        &.m-o-border-right {
            border-right: 4px solid $primary;
            border-left: none;
        }

        .media .usr-img img {
            width: 55px;
            height: 55px;
        }
    }
}

/* Icon List */

.list-icon {
    list-style: none;
    padding: 0;
    margin-bottom: 0;

    li:not(:last-child) {
        margin-bottom: 15px;
    }

    svg {
        width: 18px;
        height: 18px;
        color: $primary;
        margin-right: 2px;
        vertical-align: sub;
    }

    .list-text {
        font-size: 14px;
        font-weight: 600;
        color: #515365;
        letter-spacing: 1px;
    }
}

a {
    color: #515365;
    outline: none;

    &:hover {
        color: #555555;
        text-decoration: none;
    }

    &:focus {
        outline: none;
        text-decoration: none;
    }
}

button:focus {
    outline: none;
}

textarea {
    outline: none;

    &:focus {
        outline: none;
    }
}

.btn-link:hover {
    text-decoration: none;
}

span {
    &.blue {
        color: $primary;
    }

    &.green {
        color: $success;
    }

    &.red {
        color: $danger;
    }
}

/*      Form Group Label       */

.form-group label,
label {
    font-size: 15px;
    color: #888ea8;
    letter-spacing: 1px;
    padding-top: 0;
    margin-bottom: 0.5rem;
}

/*  Disable forms     */

.custom-control-input:disabled ~ .custom-control-label {
    color: #d3d3d3;
}
.custom-control-input:disabled ~ .custom-control-label:before,
.custom-control-input[disabled] ~ .custom-control-label:before {
    background-color: #e9ecef;
}

/*      Form Control       */

.form-control {
    height: auto;
    border: 1px solid #bfc9d4;
    color: $dark;
    font-size: 15px;
    padding: 8px 10px;
    letter-spacing: 1px;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    line-height: 19px;

    &:focus {
        box-shadow: 0 0 5px 2px rgba(194, 213, 255, 0.6196078431);
        border-color: $primary;
        color: $dark;
    }

    &::-webkit-input-placeholder,
    &::-ms-input-placeholder,
    &::-moz-placeholder {
        color: #bfc9d4;
        font-size: 15px;
    }

    &:focus {
        &::-webkit-input-placeholder,
        &::-ms-input-placeholder,
        &::-moz-placeholder {
            color: #d3d3d3;
            font-size: 15px;
        }
    }

    &.form-control-lg {
        font-size: 18px;
        line-height: 23px;
    }

    &.form-control-sm {
        padding: 9px 16px;
        font-size: 13px;
    }
}

.form-control-black {
    height: auto;
    border: 1px solid #000;
    color: #000 !important;
    font-size: 15px;
    padding: 8px 10px;
    letter-spacing: 1px;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    line-height: 19px;

    &:focus {
        box-shadow: 0 0 5px 2px rgba(194, 213, 255, 0.6196078431);
        border-color: rgb(226, 176, 125);
        color: $dark;
    }

    &::-webkit-input-placeholder,
    &::-ms-input-placeholder,
    &::-moz-placeholder {
        color: #bfc9d4;
        font-size: 15px;
    }

    &:focus {
        &::-webkit-input-placeholder,
        &::-ms-input-placeholder,
        &::-moz-placeholder {
            color: #d3d3d3;
            font-size: 15px;
        }
    }

    &.form-control-lg {
        font-size: 18px;
        line-height: 23px;
    }

    &.form-control-sm {
        padding: 9px 16px;
        font-size: 13px;
    }
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

/*      Custom Select       */

.form-select {
    height: auto;
    border: 1px solid #bfc9d4;
    color: $dark;
    font-size: 15px;
    padding: 12px 20px;
    letter-spacing: 1px;
    border-radius: 6px;
    padding-right: 25px;
    min-width: 90px;
    background-color: #fff;
    line-height: 19px;

    &.form-select-lg {
        font-size: 18px;
        line-height: 23px;
    }

    &.form-select-sm {
        font-size: 13px;
        padding: 9px 16px;
    }

    &:focus {
        box-shadow: none;
        border-color: $primary;
        color: $dark;
    }
}
.form-select[multiple],
.form-select[size]:not([size='1']) {
    height: auto;
}

/*      Form Control File       */

.form-control-file {
    width: 100%;
    color: $secondary;

    &::-webkit-file-upload-button {
        letter-spacing: 1px;
        padding: 9px 20px;
        text-shadow: none;
        font-size: 12px;
        color: #fff;
        font-weight: normal;
        white-space: normal;
        word-wrap: break-word;
        transition: 0.2s ease-out;
        touch-action: manipulation;
        cursor: pointer;
        background-color: $secondary;
        box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
        will-change: opacity, transform;
        transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        border-radius: 4px;
        border: transparent;
        outline: none;
    }

    &::-ms-file-upload-button {
        letter-spacing: 1px;
        padding: 9px 20px;
        text-shadow: none;
        font-size: 14px;
        color: #fff;
        font-weight: normal;
        white-space: normal;
        word-wrap: break-word;
        transition: 0.2s ease-out;
        touch-action: manipulation;
        cursor: pointer;
        background-color: $secondary;
        box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
        will-change: opacity, transform;
        transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        border-radius: 4px;
        border: transparent;
        outline: none;
    }

    &.form-control-file-rounded::-webkit-file-upload-button {
        -webkit-border-radius: 1.875rem !important;
        -moz-border-radius: 1.875rem !important;
        -ms-border-radius: 1.875rem !important;
        -o-border-radius: 1.875rem !important;
        border-radius: 1.875rem !important;
    }
}

select.form-control.form-custom {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    vertical-align: middle;
    background: #fff url(../images/arrow-down.png) no-repeat right 0.75rem center;
    background-size: 13px 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/*      Form Control Custom File       */

.custom-file {
    height: auto;
    position: relative;
    width: 100%;
    display: inline-block;
    margin-bottom: 0;

    input {
        height: auto;
        position: relative;
        width: 100%;
        margin: 0;
        overflow: hidden;
        opacity: 0;
    }

    .custom-file-label {
        width: 100%;
        height: auto;
        border: 1px solid #f1f2f3;
        color: $dark;
        font-size: 15px;
        padding: 8px 10px;
        letter-spacing: 1px;
        background-color: #f1f2f3;
        border-radius: 0.25rem;

        &::after {
            content: attr(data-browse);
            height: auto;
            padding: 8px 12px;
            color: #515365;

            bottom: 0;
            z-index: 3;
            display: block;
            background-color: #e9ecef;
            border-left: inherit;
            border-radius: 0 0.25rem 0.25rem 0;
        }
    }
    .custom-file-label,
    .custom-file-label:after {
        position: absolute;
        top: 0;
        right: 0;
        line-height: 1.5;
        color: #495057;
    }
}

/*      Input Group      */

.input-group {
    button:hover,
    .btn:hover,
    button:focus,
    .btn:focus {
        transform: none;
    }

    .dropdown-menu {
        border: none;
        border: 1px solid #e0e6ed;
        z-index: 1028;
        box-shadow: none;
        padding: 10px;
        padding: 0.35rem 0;
        top: 0 !important;
        right: auto;
        border-radius: 4px;

        a.dropdown-item {
            width: 100%;
            padding: 6px 17px;
            clear: both;
            font-weight: 500;
            color: #030305;
            text-align: inherit;
            white-space: nowrap;
            background-color: transparent;
            border: 0;
            font-size: 13px;

            &:hover {
                color: $info;
            }
        }

        .dropdown-item:hover {
            color: $info;
        }
    }

    .dropdown-divider {
        height: 0;
        margin: 0.5rem 0;
        overflow: hidden;
        border-top: 1px solid #e9ecef !important;
    }

    .input-group-text {
        border: 1px solid #bfc9d4;
        background-color: #f1f2f3;

        svg {
            color: #888ea8;
        }
    }

    &:hover .input-group-text svg {
        color: $primary;
        fill: rgba(27, 85, 226, 0.2392156863);
    }

    .input-group-append .input-group-text {
        border: 1px solid #bfc9d4;
        background-color: #f1f2f3;

        svg {
            color: #888ea8;
        }
    }

    &:hover .input-group-append .input-group-text svg {
        color: $primary;
        fill: rgba(27, 85, 226, 0.2392156863);
    }
}

/*      Input Group append       */

/*      Input Group Append       */

/*      Validation Customization      */

.invalid-feedback {
    color: $danger;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.valid-feedback {
    color: $success;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.valid-tooltip {
    background-color: $success;
}

.invalid-tooltip {
    background-color: $danger;
}

.form-select.is-valid,
.form-control.is-valid {
    border-color: $success;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231abc9c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3e%3cpolyline points='20 6 9 17 4 12'%3e%3c/polyline%3e%3c/svg%3e");
}

.was-validated {
    .form-select:valid,
    .form-control:valid {
        border-color: $success;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231abc9c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3e%3cpolyline points='20 6 9 17 4 12'%3e%3c/polyline%3e%3c/svg%3e");
    }
}

.custom-control-input.is-valid ~ .custom-control-label,
.was-validated .custom-control-input:valid ~ .custom-control-label {
    color: $success;
}

.custom-checkbox .custom-control-input.is-valid ~ .custom-control-label {
    color: #888ea8;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e7515a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e");
}

.custom-control-input.is-invalid ~ .custom-control-label,
.was-validated .custom-control-input:invalid ~ .custom-control-label {
    color: $danger;
}

.dropdown-toggle:after,
.dropup .dropdown-toggle::after,
.dropright .dropdown-toggle::after,
.dropleft .dropdown-toggle::before {
    display: none;
}

.dropdown-toggle svg.feather[class*='feather-chevron-'] {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4375rem 1.25rem;
    text-shadow: none;
    font-size: 14px;
    color: $dark;
    font-weight: normal;
    white-space: normal;
    word-wrap: break-word;
    transition: 0.2s ease-out;
    touch-action: manipulation;
    cursor: pointer;
    background-color: #f1f2f3;
    box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);
    will-change: opacity, transform;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;

    svg {
        width: 22px;
        height: 22px;
        vertical-align: bottom;
    }

    &.rounded-circle {
        height: 40px;
        width: 40px;
        padding: 8px 8px;
    }

    &:hover,
    &:focus {
        color: $dark;
        background-color: #f1f2f3;
        border-color: #d3d3d3;
        -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        box-shadow: 0 2px 5px 0 #e0e6ed, 0 2px 10px 0 #e0e6ed;
    }
}

.btn-group .btn {
    &:hover,
    &:focus {
        -webkit-transform: none;
        transform: none;
    }
}

.btn {
    &.disabled,
    &.btn[disabled] {
        background-color: #f1f2f3;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.13);
    }

    &.disabled:hover,
    &.btn[disabled]:hover {
        cursor: not-allowed;
    }

    .caret {
        border-top-color: #0e1726;
        margin-top: 0;
        margin-left: 3px;
        vertical-align: middle;
    }

    + {
        .caret,
        .dropdown-toggle .caret {
            margin-left: 0;
        }
    }
}

.btn-group {
    > .btn,
    .btn {
        padding: 8px 14px;
    }
}

.btn-group-lg {
    > .btn,
    .btn {
        font-size: 1.125rem;
    }

    > .btn {
        padding: 0.625rem 1.5rem;
        font-size: 16px;
    }
}

.btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: 16px;
}

.btn-group {
    > .btn.btn-lg,
    .btn.btn-lg {
        padding: 0.625rem 1.5rem;
        font-size: 16px;
    }
}

.btn-group-lg {
    > .btn,
    .btn {
        font-size: 1.125rem;
    }
}

.btn-group-sm > .btn,
.btn-sm {
    font-size: 0.6875rem;
}

.btn-group {
    > .btn.btn-sm,
    .btn.btn-sm {
        font-size: 0.6875rem;
    }

    .dropdown-menu {
        border: none;
        border: 1px solid #e0e6ed;
        z-index: 1028;
        box-shadow: none;
        padding: 0.35rem 0;
        // top: 0 !important;
        // right: auto;
        border-radius: 4px;
        margin: 4px 0 !important;

        a.dropdown-item {
            width: 100%;
            padding: 6px 17px;
            clear: both;
            font-weight: 500;
            color: #030305;
            text-align: inherit;
            white-space: nowrap;
            background-color: transparent;
            border: 0;
            font-size: 13px;

            &:hover {
                color: rgb(214, 154, 93);
            }

            svg {
                cursor: pointer;
                color: #888ea8;
                margin-right: 6px;
                vertical-align: middle;
                width: 20px;
                height: 20px;
                fill: rgba(0, 23, 55, 0.08);
            }

            &:hover svg {
                color: #000;
            }
        }
    }
}

.btn-primary:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-success:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-success.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-info:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-info.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-danger:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-danger.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-warning:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-warning.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-dark:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-dark.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-primary:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-success:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-success.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-info:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-info.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-danger:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-danger.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-warning:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-warning.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-secondary:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-dark:not(:disabled):not(.disabled) {
    &.active:focus,
    &:active:focus {
        box-shadow: none;
    }
}

.show.btn-outline-dark.dropdown-toggle:focus {
    box-shadow: none;
}

.btn {
    &.focus,
    &:focus {
        box-shadow: none;
    }
}

.btn-success:focus,
.btn-info:focus,
.btn-danger:focus,
.btn-warning:focus,
.btn-secondary:focus,
.btn-dark:focus,
.btn-outline-success:focus,
.btn-outline-info:focus,
.btn-outline-danger:focus,
.btn-outline-warning:focus,
.btn-outline-secondary:focus,
.btn-outline-dark:focus .btn-light-default:focus,
.btn-light-primary:focus,
.btn-light-success:focus,
.btn-light-info:focus,
.btn-light-danger:focus,
.btn-light-warning:focus,
.btn-light-secondary:focus,
.btn-light-dark:focus {
    box-shadow: none;
}

/*      Default Buttons       */

.btn-primary {
    color: #fff !important;
    background-color: $primary !important;
    border-color: $primary;
    box-shadow: 0 10px 20px -10px $primary;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $primary;
        box-shadow: none;
        border-color: $primary;
    }

    &:active,
    &.active {
        background-color: $primary;
        border-top: 1px solid $primary;
    }

    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $primary;
        border-color: $primary;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    &.active {
        &.focus,
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: #2aebcb;
            border-color: #2aebcb;
        }
    }

    &.focus:active {
        color: #fff !important;
        background-color: #2aebcb;
        border-color: #2aebcb;
    }

    &:active {
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: #2aebcb;
            border-color: #2aebcb;
        }
    }
}

.btn-black {
    color: #fff !important;
    background-color: #000 !important;
    font-weight: bold;
    border-color: #000;
    box-shadow: 0 10px 20px -10px #000;

    &:hover,
    &:focus {
        color: #000 !important;
        background-color: rgba(232, 195, 158, 1) !important;
        font-weight: bold;
        box-shadow: none;
        border-color: #000;
    }
}

.open > .dropdown-toggle.btn-primary {
    &.focus,
    &:focus,
    &:hover {
        color: #fff !important;
        background-color: #2aebcb;
        border-color: #2aebcb;
    }
}

.btn-primary:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        color: #fff !important;
        background-color: $primary;
        border-color: $primary;
    }
}

.show > .btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: $primary;
    border-color: $primary;
}

.btn-primary .caret {
    border-top-color: #fff;
}

.btn-group.open .btn-primary.dropdown-toggle {
    background-color: #eaf1ff;
}

.btn-secondary {
    color: #fff !important;
    background-color: $secondary;
    border-color: $secondary;
    box-shadow: 0 10px 20px -10px $secondary;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $secondary;
        box-shadow: none;
        border-color: $secondary;
    }

    &:active,
    &.active {
        background-color: $secondary;
        border-top: 1px solid $secondary;
    }

    &:not(:disabled):not(.disabled) {
        &.active,
        &:active {
            color: #fff !important;
            background-color: $secondary;
            border-color: $secondary;
        }
    }
}

.show > .btn-secondary.dropdown-toggle {
    color: #fff !important;
    background-color: $secondary;
    border-color: $secondary;
}

.btn-secondary {
    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $secondary;
        border-color: $secondary;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .caret {
        border-top-color: #fff;
    }
}

.btn-info {
    color: #fff !important;
    background-color: $info;
    border-color: $info;
    box-shadow: 0 10px 20px -10px $info;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $info;
        box-shadow: none;
        border-color: $info;
    }

    &:active,
    &.active {
        background-color: $info;
        border-top: 1px solid $info;
    }

    &:not(:disabled):not(.disabled) {
        &.active,
        &:active {
            color: #fff !important;
            background-color: $info;
            border-color: $info;
        }
    }
}

.show > .btn-info.dropdown-toggle {
    color: #fff !important;
    background-color: $info;
    border-color: $info;
}

.btn-info {
    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $info;
        border-color: $info;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    &.active {
        &.focus,
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: $info;
            border-color: $info;
        }
    }

    &.focus:active {
        color: #fff !important;
        background-color: $info;
        border-color: $info;
    }

    &:active {
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: $info;
            border-color: $info;
        }
    }
}

.open > .dropdown-toggle.btn-info {
    &.focus,
    &:focus,
    &:hover {
        color: #fff !important;
        background-color: $info;
        border-color: $info;
    }
}

.btn-info .caret {
    border-top-color: #fff;
}

.btn-group.open .btn-info.dropdown-toggle {
    background-color: #e7f7ff;
}

.btn-warning {
    color: #fff !important;
    background-color: $warning;
    border-color: $warning;
    box-shadow: 0 10px 20px -10px $warning;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $warning;
        box-shadow: none;
        border-color: $warning;
    }

    &:active,
    &.active {
        background-color: $warning;
        border-top: 1px solid $warning;
    }

    &:not(:disabled):not(.disabled) {
        &.active,
        &:active {
            color: #0e1726;
            background-color: $warning;
            border-color: $warning;
        }
    }
}

.show > .btn-warning.dropdown-toggle {
    color: #0e1726;
    background-color: $warning;
    border-color: $warning;
}

.btn-warning {
    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $warning;
        border-color: $warning;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    &.active {
        &.focus,
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: $warning;
            border-color: $warning;
        }
    }

    &.focus:active {
        color: #fff !important;
        background-color: $warning;
        border-color: $warning;
    }

    &:active {
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: $warning;
            border-color: $warning;
        }
    }
}

.open > .dropdown-toggle.btn-warning {
    &.focus,
    &:focus,
    &:hover {
        color: #fff !important;
        background-color: $warning;
        border-color: $warning;
    }
}

.btn-warning .caret {
    border-top-color: #fff;
}

.btn-group.open .btn-warning.dropdown-toggle {
    background-color: #df8505;
}

.btn-danger {
    color: #fff !important;
    background-color: $danger;
    border-color: $danger;
    box-shadow: 0 10px 20px -10px $danger;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $danger;
        box-shadow: none;
        border-color: $danger;
    }

    &:active,
    &.active {
        background-color: $danger;
        border-top: 1px solid $danger;
    }

    &:not(:disabled):not(.disabled) {
        &.active,
        &:active {
            color: #fff !important;
            background-color: $danger;
            border-color: $danger;
        }
    }
}

.show > .btn-danger.dropdown-toggle {
    color: #fff !important;
    background-color: $danger;
    border-color: $danger;
}

.btn-danger {
    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $danger;
        border-color: $danger;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    &.active {
        &.focus,
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: #c00;
            border-color: #c00;
        }
    }

    &.focus:active {
        color: #fff !important;
        background-color: #c00;
        border-color: #c00;
    }

    &:active {
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: #c00;
            border-color: #c00;
        }
    }
}

.open > .dropdown-toggle.btn-danger {
    &.focus,
    &:focus,
    &:hover {
        color: #fff !important;
        background-color: #c00;
        border-color: #c00;
    }
}

.btn-danger .caret {
    border-top-color: #fff;
}

.btn-group.open .btn-danger.dropdown-toggle {
    background-color: #a9302a;
}

.btn-dark {
    color: #fff !important;
    background-color: $dark;
    border-color: $dark;
    box-shadow: 0 10px 20px -10px $dark;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $dark;
        box-shadow: none;
        border-color: $dark;
    }

    &:active,
    &.active {
        background-color: $dark;
        border-top: 1px solid $dark;
    }

    &:not(:disabled):not(.disabled) {
        &.active,
        &:active {
            color: #fff !important;
            background-color: $dark;
            border-color: $dark;
        }
    }
}

.show > .btn-dark.dropdown-toggle {
    color: #fff !important;
    background-color: $dark;
    border-color: $dark;
}

.btn-dark {
    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $dark;
        border-color: $dark;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .caret {
        border-top-color: #fff;
    }
}

.btn-group.open .btn-dark.dropdown-toggle {
    background-color: #484848;
}

.btn-success {
    color: #fff !important;
    background-color: $success;
    border-color: $success;
    box-shadow: 0 10px 20px -10px $success;

    &:hover,
    &:focus {
        color: #fff !important;
        background-color: $success;
        box-shadow: none;
        border-color: $success;
    }

    &:active,
    &.active {
        background-color: $success;
        border-top: 1px solid $success;
    }

    &:not(:disabled):not(.disabled) {
        &.active,
        &:active {
            color: #fff !important;
            background-color: $success;
            border-color: $success;
        }
    }
}

.show > .btn-success.dropdown-toggle {
    color: #fff !important;
    background-color: $success;
    border-color: $success;
}

.btn-success {
    &.disabled,
    &.btn[disabled],
    &:disabled {
        background-color: $success;
        border-color: $success;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    &.active {
        &.focus,
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: #17c678;
            border-color: #17c678;
        }
    }

    &.focus:active {
        color: #fff !important;
        background-color: #17c678;
        border-color: #17c678;
    }

    &:active {
        &:focus,
        &:hover {
            color: #fff !important;
            background-color: #17c678;
            border-color: #17c678;
        }
    }
}

.open > .dropdown-toggle.btn-success {
    &.focus,
    &:focus,
    &:hover {
        color: #fff !important;
        background-color: #17c678;
        border-color: #17c678;
    }
}

.btn-success .caret {
    border-top-color: #fff;
}

/*-----/Button Light Colors------*/

.btn.box-shadow-none {
    border: none;

    &:hover,
    &:focus {
        border: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: transparent;
    }
}

.box-shadow-none {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.btn.box-shadow-none:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        border: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: transparent;
    }
}

.show > .btn.box-shadow-none.dropdown-toggle {
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.btn-group.open .btn-success.dropdown-toggle {
    background-color: #499249;
}

.btn-dismiss {
    color: #0e1726;
    background-color: #fff !important;
    border-color: #fff;
    padding: 3px 7px;

    &:hover,
    &:focus {
        color: #0e1726;
        background-color: #fff;
    }

    &:active,
    &.active {
        background-color: #fff;
        border-top: 1px solid #fff;
    }
}

.btn-group {
    > .btn {
        i {
            margin-right: 3px;
        }

        &:first-child:not(:last-child):not(.dropdown-toggle) {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            -webkit-box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.16), 0 0px 0px 0 rgba(0, 0, 0, 0.12);
            -moz-box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.16), 0 0px 0px 0 rgba(0, 0, 0, 0.12);
            box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.16), 0 0px 0px 0 rgba(0, 0, 0, 0.12);
        }

        + .dropdown-toggle {
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;

            &.btn-primary {
                border-left: 1px solid rgb(68, 104, 253);
            }

            &.btn-success {
                border-left: 1px solid rgb(163, 198, 111);
            }

            &.btn-info {
                border-left: 1px solid rgb(73, 172, 251);
            }

            &.btn-warning {
                border-left: 1px solid rgb(245, 180, 85);
            }

            &.btn-danger {
                border-left: 1px solid rgb(241, 132, 139);
            }

            &.btn-dark {
                border-left: 1px solid rgb(112, 118, 122);
            }

            &.btn-secondary {
                border-left: 1px solid rgb(131, 83, 220);
            }
        }
    }

    &.dropleft {
        .dropdown-toggle-split {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        .btn-primary:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(68, 104, 253);
        }

        .btn-success:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(163, 198, 111);
        }

        .btn-info:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(73, 172, 251);
        }

        .btn-warning:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(245, 180, 85);
        }

        .btn-danger:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(241, 132, 139);
        }

        .btn-dark:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(112, 118, 122);
        }

        .btn-secondary:not(.dropdown-toggle-split) {
            border-left: 1px solid rgb(131, 83, 220);
        }
    }
}

/*
    Btn group dropdown-toggle
*/

.btn .badge.badge-align-right {
    position: absolute;
    top: -1px;
    right: 8px;
}

.dropup .btn .caret {
    border-bottom-color: #0e1726;
}

.btn-outline-primary:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $primary;
        color: #fff !important;
    }
}

.show.btn-outline-primary.dropdown-toggle {
    background-color: $primary;
    color: #fff !important;
}

.btn-outline-success:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $success;
        color: #fff !important;
    }
}

.show.btn-outline-success.dropdown-toggle {
    background-color: $success;
    color: #fff !important;
}

.btn-outline-info:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $info;
        color: #fff !important;
    }
}

.show.btn-outline-info.dropdown-toggle {
    background-color: $info;
    color: #fff !important;
}

.btn-outline-danger:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $danger;
        color: #fff !important;
    }
}

.show.btn-outline-danger.dropdown-toggle {
    background-color: $danger;
    color: #fff !important;
}

.btn-outline-warning:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $warning;
        color: #fff !important;
    }
}

.show.btn-outline-warning.dropdown-toggle {
    background-color: $warning;
    color: #fff !important;
}

.btn-outline-secondary:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $secondary;
        color: #fff !important;
    }
}

.show.btn-outline-secondary.dropdown-toggle {
    background-color: $secondary;
    color: #fff !important;
}

.btn-outline-dark:not(:disabled):not(.disabled) {
    &.active,
    &:active {
        background-color: $dark;
        color: #fff !important;
    }
}

.show > {
    .btn-outline-dark.dropdown-toggle {
        background-color: $dark;
        color: #fff !important;
    }

    .btn-outline-primary.dropdown-toggle:after,
    .btn-outline-success.dropdown-toggle:after,
    .btn-outline-info.dropdown-toggle:after,
    .btn-outline-danger.dropdown-toggle:after,
    .btn-outline-warning.dropdown-toggle:after,
    .btn-outline-secondary.dropdown-toggle:after,
    .btn-outline-dark.dropdown-toggle:after,
    .btn-outline-primary.dropdown-toggle:before,
    .btn-outline-success.dropdown-toggle:before,
    .btn-outline-info.dropdown-toggle:before,
    .btn-outline-danger.dropdown-toggle:before,
    .btn-outline-warning.dropdown-toggle:before,
    .btn-outline-secondary.dropdown-toggle:before,
    .btn-outline-dark.dropdown-toggle:before {
        color: #fff !important;
    }
}

.btn-outline-primary {
    border: 1px solid $primary !important;
    color: $primary !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-info {
    border: 1px solid $info !important;
    color: $info !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-warning {
    border: 1px solid $warning !important;
    color: $warning !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-success {
    border: 1px solid $success !important;
    color: $success !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-danger {
    border: 1px solid $danger !important;
    color: $danger !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-secondary {
    border: 1px solid $secondary !important;
    color: $secondary !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-dark {
    border: 1px solid $dark !important;
    color: $dark !important;
    background-color: transparent;
    box-shadow: none;
}

.btn-outline-primary:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-secondary:hover,
.btn-outline-dark:hover {
    box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: $primary;
    box-shadow: 0 10px 20px -10px $primary;
}

.btn-outline-info:hover {
    color: #fff !important;
    background-color: $info;
    box-shadow: 0 10px 20px -10px $info;
}

.btn-outline-warning:hover {
    color: #fff !important;
    background-color: $warning;
    box-shadow: 0 10px 20px -10px $warning;
}

.btn-outline-success:hover {
    color: #fff !important;
    background-color: $success;
    box-shadow: 0 10px 20px -10px $success;
}

.btn-outline-danger:hover {
    color: #fff !important;
    background-color: $danger;
    box-shadow: 0 10px 20px -10px $danger;
}

.btn-outline-secondary:hover {
    color: #fff !important;
    background-color: $secondary;
    box-shadow: 0 10px 20px -10px $secondary;
}

.btn-outline-dark:hover {
    color: #fff !important;
    background-color: $dark !important;
    box-shadow: 0 10px 20px -10px $dark;
}

/*      Dropdown Toggle       */

.btn-rounded {
    -webkit-border-radius: 1.875rem !important;
    -moz-border-radius: 1.875rem !important;
    -ms-border-radius: 1.875rem !important;
    -o-border-radius: 1.875rem !important;
    border-radius: 1.875rem !important;
}

/*
    ===========================
        Data Marker ( dot )
    ===========================
*/

.data-marker {
    padding: 2px;
    border-radius: 50%;
    font-size: 18px;
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.data-marker-success {
    background-color: $success;
}

.data-marker-warning {
    background-color: $warning;
}

.data-marker-danger,
.data-marker-info,
.data-marker-dark {
    background-color: $danger;
}

.badge {
    font-weight: 600;
    line-height: 1.4;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;

    &:hover {
        transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }

    &.badge-enabled {
        background-color: $success;
        color: #fff;
    }

    &.badge-disable {
        background-color: $danger;
        color: #fff;
    }
}

.badge-pills {
    border-radius: 30px;
}

.badge-classic {
    border-radius: 0;
}

.badge-collapsed-img {
    img {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        border: 2px solid #ffffff;
        box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.3);
        margin-left: -21px;
    }

    &.badge-tooltip img {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        border: 2px solid #ffffff;
        box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.3);
        margin-left: -21px;
        -webkit-transition: all 0.35s ease;
        transition: all 0.35s ease;

        &:hover {
            -webkit-transform: translateY(-5px) scale(1.02);
            transform: translateY(-5px) scale(1.02);
        }
    }

    &.translateY-axis img {
        -webkit-transition: all 0.35s ease;
        transition: all 0.35s ease;

        &:hover {
            -webkit-transform: translateY(-5px) scale(1.02);
            transform: translateY(-5px) scale(1.02);
        }
    }

    &.rectangle-collapsed img {
        width: 45px;
        height: 32px;
    }

    &.translateX-axis img {
        -webkit-transition: all 0.35s ease;
        transition: all 0.35s ease;

        &:hover {
            -webkit-transform: translateX(5px) scale(1.02);
            transform: translateX(5px) scale(1.02);
        }
    }
}

.badge-primary {
    color: #fff;
    background-color: $primary;
}

.badge-info {
    color: #fff;
    background-color: $info;
}

.badge-success {
    color: #fff;
    background-color: $success;
}

.badge-danger {
    color: #fff;
    background-color: $danger;
}

.badge-warning {
    color: #fff;
    background-color: $warning;
}

.badge-dark {
    color: #fff;
    background-color: $dark;
}

.badge-secondary {
    background-color: $secondary;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.outline-badge-primary {
    color: $primary;
    background-color: transparent;
    border: 1px solid $primary;
}

.outline-badge-info {
    color: $info;
    background-color: transparent;
    border: 1px solid $info;
}

.outline-badge-success {
    color: $success;
    background-color: transparent;
    border: 1px solid $success;
}

.outline-badge-danger {
    color: $danger;
    background-color: transparent;
    border: 1px solid $danger;
}

.outline-badge-warning {
    color: $warning;
    background-color: transparent;
    border: 1px solid $warning;
}

.outline-badge-dark {
    color: $dark;
    background-color: transparent;
    border: 1px solid $dark;
}

.outline-badge-secondary {
    color: $secondary;
    background-color: transparent;
    border: 1px solid $secondary;
}

.outline-badge-primary {
    &:focus,
    &:hover {
        background-color: #eaf1ff;
        color: $primary;
    }
}

.outline-badge-secondary {
    &:focus,
    &:hover {
        color: $secondary;
        background-color: #f3effc;
    }
}

.outline-badge-success {
    &:focus,
    &:hover {
        color: $success;
        background-color: #ddf5f0;
    }
}

.outline-badge-danger {
    &:focus,
    &:hover {
        color: $danger;
        background-color: #fff5f5;
    }
}

.outline-badge-warning {
    &:focus,
    &:hover {
        color: $warning;
        background-color: #fff9ed;
    }
}

.outline-badge-info {
    &:focus,
    &:hover {
        color: $info;
        background-color: #e7f7ff;
    }
}

.outline-badge-dark {
    &:focus,
    &:hover {
        color: $dark;
        background-color: #e3e4eb;
    }
}

/*      Link     */

.badge[class*='link-badge-'] {
    cursor: pointer;
}

.link-badge-primary {
    color: $primary;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-info {
    color: $info;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-success {
    color: $success;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-danger {
    color: $danger;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-warning {
    color: $warning;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-dark {
    color: $dark;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-secondary {
    color: $secondary;
    background-color: transparent;
    border: 1px solid transparent;
}

.link-badge-primary {
    &:focus,
    &:hover {
        color: $primary;
        background-color: transparent;
    }
}

.link-badge-secondary {
    &:focus,
    &:hover {
        color: #6f51ea;
        background-color: transparent;
    }
}

.link-badge-success {
    &:focus,
    &:hover {
        color: #2ea37d;
        background-color: transparent;
    }
}

.link-badge-danger {
    &:focus,
    &:hover {
        color: $danger;
        background-color: transparent;
    }
}

.link-badge-warning {
    &:focus,
    &:hover {
        color: #dea82a;
        background-color: transparent;
    }
}

.link-badge-info {
    &:focus,
    &:hover {
        color: #009eda;
        background-color: transparent;
    }
}

.link-badge-dark {
    &:focus,
    &:hover {
        color: #454656;
        background-color: transparent;
    }
}

/* Custom Dropdown*/

.custom-dropdown .dropdown-toggle::after,
.custom-dropdown-icon .dropdown-toggle::after,
.custom-dropdown .dropdown-toggle::before,
.custom-dropdown-icon .dropdown-toggle::before {
    display: none;
}

.custom-dropdown .dropdown-item {
    &.active,
    &:active,
    &:hover {
        color: #888ea8;
        background-color: #f1f2f3;
    }
}

.custom-dropdown-icon .dropdown-item {
    &.active,
    &:active,
    &:hover {
        color: #888ea8;
        background-color: #f1f2f3;
    }
}

.custom-dropdown .dropdown-item {
    font-size: 13px;
    color: #888ea8;
    display: block;
    font-weight: 700;
    padding: 11px 8px;
    font-size: 12px;
}

.custom-dropdown-icon {
    .dropdown-item {
        font-size: 13px;
        color: #888ea8;
        display: block;
        font-weight: 700;
        padding: 11px 8px;
        font-size: 12px;
    }

    .dropdown-menu .dropdown-item svg {
        width: 20px;
        height: 20px;
        margin-right: 3px;
        color: #888ea8;
    }
}

.custom-dropdown .dropdown-item {
    &.active svg,
    &:active svg,
    &:hover svg {
        color: $primary;
    }
}

.custom-dropdown-icon .dropdown-item {
    &.active svg,
    &:active svg,
    &:hover svg {
        color: $primary;
    }
}

.status.rounded-tooltip .tooltip-inner {
    border-radius: 20px;
    padding: 8px 20px;
}

.popover {
    z-index: 999;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-bottom-color: #b3b3b3;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
    cursor: not-allowed;
    background-color: #f1f2f3 !important;
    color: #bfc9d4;
}

.help-block,
.help-inline {
    color: #555555;
}

.controls {
    position: relative;
}

.search-form-control {
    border-radius: 0.25rem;
}

/*  Table   */

.table-bordered {
    border: 1px solid #f1f2f3;
}

// .table-striped > tbody > tr:nth-of-type(odd) > * {
//     --bs-table-accent-bg: #f1f2f3;
// }

.table > {
    tbody > tr > td {
        vertical-align: middle;
        color: #515365;
        font-size: 13px;
        letter-spacing: 1px;
    }

    thead > tr > th {
        color: $primary;
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    tbody > tr > td {
        .usr-img-frame {
            background-color: #ebedf2;
            padding: 2px;
            width: 35px;
            height: 35px;

            img {
                width: 35px;
                margin: 0;
            }
        }

        .admin-name {
            font-weight: 700;
            color: #515365;
        }

        .progress {
            width: 135px;
            height: 6px;
            margin: auto 0;
        }

        svg.icon {
            width: 21px;
        }

        .t-dot {
            background-color: #000;
            height: 11px;
            width: 11px;
            border-radius: 50%;
            cursor: pointer;
            margin: 0 auto;
        }

        svg.t-icon {
            padding: 5px;
            border-radius: 50%;
            font-size: 11px;
            vertical-align: sub;
            cursor: pointer;

            &.t-hover-icon:hover {
                background-color: $danger;
                color: #fff;
            }
        }
    }
}

.table-bordered {
    td,
    th {
        border: 1px solid #ebedf2;
    }
}

.table thead th {
    vertical-align: bottom;
    border-bottom: none;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: #f1f2f3;
}

.table-controls > li > a svg {
    color: #25d5e4;
}

.table tr td {
    .custom-dropdown.t-custom-dropdown a.dropdown-toggle,
    .custom-dropdown-icon.t-custom-dropdown a.dropdown-toggle {
        border-radius: 5px;
        border: 1px solid #d3d3d3;
    }
}

.table-controls > li > a svg {
    color: #888ea8;
    width: 21px;
}

/*  Table Dark      */

.table.table-dark > {
    thead > tr > th {
        color: #d3d3d3;
    }

    tbody > tr > td {
        color: #ffffff;
    }
}

.table-dark {
    background-color: #060818;

    &.table-hover tbody tr {
        background-color: #060818;
    }

    td,
    th,
    thead th {
        border-color: #191e3a !important;
    }

    &.table-hover tbody tr:hover {
        background-color: rgba(25, 30, 58, 0.631372549);
    }
}

.table.table-dark > tbody > tr > td i.t-icon {
    padding: 5px;
    border-radius: 50%;
    font-size: 14px;
    vertical-align: sub;
    cursor: pointer;
    color: #0e1726 !important;
}

table {
    .badge-success,
    .badge-primary,
    .badge-warning,
    .badge-danger,
    .badge-info,
    .badge-secondary,
    .badge-dark {
        box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.2);
        will-change: opacity, transform;
        transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
    }
}

.table > tfoot > tr > th {
    color: $dark;
}

.table-vertical-align {
    tr,
    th,
    td {
        vertical-align: middle !important;
    }
}

.statbox .widget-content {
    &:before,
    &:after {
        display: table;
        content: '';
        line-height: 0;
        clear: both;
    }
}

.nav-tabs > li > a {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.btn-toolbar {
    margin-left: 0px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .input-group > .form-control {
        flex: 1 1 auto;
        width: 1%;
    }
}

.spin {
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.toast-primary {
    background: $primary;
}

.toast-header {
    background: $primary;
    color: #fff;
    border-bottom: 1px solid rgba(33, 150, 243, 0.3411764706);

    .meta-time {
        color: #f1f2f3;
    }

    .close {
        color: #f1f2f3;
        opacity: 1;
        text-shadow: none;
    }
}

.toast-body {
    padding: 16px 12px;
    color: #fff;
}

/*
    ==========================
        Background Colors
    ==========================
*/

/*
    Default
*/

.bg-primary {
    background-color: $primary !important;
    border-color: $primary;
    color: #fff;
}

.bg-success {
    background-color: $success !important;
    border-color: $success;
    color: #fff;
}

.bg-info {
    background-color: $info !important;
    border-color: $info;
    color: #fff;
}

.bg-warning {
    background-color: $warning !important;
    border-color: $warning;
    color: #fff;
}

.bg-danger {
    background-color: $danger !important;
    border-color: $danger;
    color: #fff;
}

.bg-secondary {
    background-color: $secondary !important;
    border-color: $secondary;
    color: #fff;
}

.bg-dark {
    background-color: #fff;
    border-color: $dark;
    color: #fff;
}

/*
    Light Background
*/

.bg-light-primary {
    background-color: #eaf1ff !important;
    border-color: #eaf1ff;
    color: $info;
}

.bg-light-success {
    background-color: #ddf5f0 !important;
    border-color: #ddf5f0;
    color: $success;
}

.bg-light-info {
    background-color: #e7f7ff !important;
    border-color: #e7f7ff;
    color: $info;
}

.bg-light-warning {
    background-color: #fff9ed !important;
    border-color: #fff9ed;
    color: $warning;
}

.bg-light-danger {
    background-color: #fff5f5 !important;
    border-color: #fff5f5;
    color: $danger;
}

.bg-light-secondary {
    background-color: #f3effc !important;
    border-color: #f3effc;
    color: $secondary;
}

.bg-light-dark {
    background-color: #e3e4eb;
    border-color: #e3e4eb;
    color: #fff;
}

/*
    Progress Bar
*/

.progress {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #ebedf2;
    margin-bottom: 1.25rem;
    height: 16px;
    box-shadow: 1px 3px 20px 3px #f1f2f3;

    &.progress-bar-stack .progress-bar:last-child {
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .progress-bar {
        font-size: 10px;
        font-weight: 700;
        box-shadow: 0 2px 4px rgba(0, 69, 255, 0.15), 0 8px 16px rgba(0, 69, 255, 0.2);
        font-size: 12px;
        letter-spacing: 1px;
        font-weight: 100;
    }

    &:not(.progress-bar-stack) .progress-bar {
        border-radius: 16px;
    }
}

.progress-sm {
    height: 4px;
}

.progress-md {
    height: 10px;
}

.progress-lg {
    height: 20px;
}

.progress-xl {
    height: 25px;
}

.progress-striped .progress-bar {
    background-image: -webkit-gradient(
        linear,
        0 100%,
        100% 0,
        color-stop(0.25, rgba(255, 255, 255, 0.15)),
        color-stop(0.25, transparent),
        color-stop(0.5, transparent),
        color-stop(0.5, rgba(255, 255, 255, 0.15)),
        color-stop(0.75, rgba(255, 255, 255, 0.15)),
        color-stop(0.75, transparent),
        to(transparent)
    );
    background-image: -webkit-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-image: -moz-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-image: -o-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
}

.progress {
    .progress-title {
        display: flex;
        justify-content: space-between;
        padding: 15px;

        span {
            align-self: center;
        }
    }

    .progress-bar {
        &.bg-gradient-primary {
            background-color: $primary;
            background: linear-gradient(to right, #0081ff 0%, #0045ff 100%);
        }

        &.bg-gradient-info {
            background-color: $primary;
            background-image: linear-gradient(to right, #04befe 0%, #4481eb 100%);
        }

        &.bg-gradient-success {
            background-color: $primary;
            background-image: linear-gradient(to right, #3cba92 0%, #0ba360 100%);
        }

        &.bg-gradient-warning {
            background-color: $primary;
            background-image: linear-gradient(to right, #f09819 0%, #ff5858 100%);
        }

        &.bg-gradient-secondary {
            background-color: $primary;
            background-image: linear-gradient(to right, #7579ff 0%, #b224ef 100%);
        }

        &.bg-gradient-danger {
            background-color: $primary;
            background-image: linear-gradient(to right, #d09693 0%, #c71d6f 100%);
        }

        &.bg-gradient-dark {
            background-color: $primary;
            background-image: linear-gradient(to right, #2b5876 0%, #4e4376 100%);
        }
    }
}

.br-0 {
    border-radius: 0 !important;
}

.br-4 {
    border-radius: 4px !important;
}

.br-6 {
    border-radius: 6px !important;
}

.br-30 {
    border-radius: 30px !important;
}

.br-50 {
    border-radius: 50px !important;
}

.br-left-30 {
    border-top-left-radius: 30px !important;
    border-bottom-left-radius: 30px !important;
}

.br-right-30 {
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
}

.bx-top-6 {
    border-top-right-radius: 6px !important;
    border-top-left-radius: 6px !important;
}

.bx-bottom-6 {
    border-bottom-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

/*      Badge Custom      */

.badge.counter {
    position: absolute;
    z-index: 2;
    right: 0;
    top: -10px;
    font-weight: 600;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    padding: 2px 0px;
    font-size: 12px;
}

.badge-chip {
    display: inline-block;
    padding: 0 25px;
    font-size: 16px;
    line-height: 42px;
    border-radius: 25px;

    img {
        float: left;
        margin: 0px 10px 0px -26px;
        height: 44px;
        width: 44px;
        border-radius: 50%;
    }

    .closebtn {
        color: #f1f2f3;
        font-weight: bold;
        float: right;
        font-size: 20px;
        cursor: pointer;

        &:hover {
            color: #fff;
        }
    }
}

/*-------media------*/
.media-body {
    flex: 1;
}

/*-------text-colors------*/

.text-primary {
    color: $primary !important;
}

.text-success {
    color: $success !important;
}

.text-info {
    color: $info !important;
}

.text-danger {
    color: $danger !important;
}

.text-warning {
    color: $warning !important;
}

.text-secondary {
    color: $secondary !important;
}

.text-dark {
    color: $dark !important;
}

.text-muted {
    color: $m-color_6 !important;
}

.text-white {
    color: $white !important;
}

.text-black {
    color: $black !important;
}

/*-----border main------*/

.border {
    border: 1px solid !important;
}

.border-bottom {
    border-bottom: 1px solid !important;
}

.border-top {
    border-top: 1px solid !important;
}

.border-right {
    border-right: 1px solid !important;
}

.border-left {
    border-left: 1px solid !important;
}

.border-primary {
    border-color: $primary !important;
}

.border-info {
    border-color: $info !important;
}

.border-warning {
    border-color: $warning !important;
}

.border-success {
    border-color: $success !important;
}

.border-danger {
    border-color: $danger !important;
}

.border-secondary {
    border-color: $secondary !important;
}

.border-dark {
    border-color: $dark !important;
}

/*-----border style------*/

.border-dotted {
    border-style: dotted !important;
}

.border-dashed {
    border-style: dashed !important;
}

.border-solid {
    border-style: solid !important;
}

.border-double {
    border-style: double !important;
}

/*-----border width------*/

.border-width-1px {
    border-width: 1px !important;
}

.border-width-2px {
    border-width: 2px !important;
}

.border-width-3px {
    border-width: 3px !important;
}

.border-width-4px {
    border-width: 4px !important;
}

.border-width-5px {
    border-width: 5px !important;
}

.border-width-6px {
    border-width: 6px !important;
}

/*-----transform-position------*/

.position-absolute {
    position: absolute;
}

.position-static {
    position: static;
}

.position-fixed {
    position: fixed;
}

.position-inherit {
    position: inherit;
}

.position-initial {
    position: initial;
}

.position-relative {
    position: relative;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}
