.navbar {
    box-shadow: 0 0 1px 1px rgb(0 0 0 / 3%);
}

.loading-icon {
    display: none;
    position: fixed;
    background-size: 100px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("../img/icons/svg/spinner.svg");

    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 2015;

    background-color: rgba(255, 255, 255, .5);

    &.active {
        display: block;
    }
}

.has-errors {
    .select2-selection,
    .tox-tinymce,
    .form-control {
        border-color: $danger;
    }

    .validation-errors {
        color: $danger;
    }
}


.breadcrumb {
    .fa-chevron-right {
        position: relative;
        top: 4px;
        margin-right: 5px;
        color: #fff;
    }
}

.btn-caption {
    margin-right: 10px;
    display: inline-block;
    float: left;
    border-radius: 4px;
    overflow: hidden;
    padding: 3px 14px;
    margin-bottom: 10px;
    float: left;
    display: inline-block;


    @include media-breakpoint-down(sm) {
        display: block;
        width: 100%;
        clear: both;
    }

    &:nth-last-child {
        margin-right: 0px;
    }

    &.btn-sm {
        padding: 3px 14px;
    }
}

.btn-custom-fb {
    display: inline-block;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    background: #1877f2;

    float: left;
    margin-right: 10px;


    @include media-breakpoint-down(sm) {
        width: 100%;
        margin-bottom: 10px;

        text-align: center;
        clear: both;
    }
}

.post-meta {
    background: $primary;
    color: #fff;

    border-radius: 4px;

    .fa,
    .fab,
    .fas {
        color: #fff;
        font-size: 1rem;
    }
}


.dropdown-filter {


    .dropdown-menu {
        border-color: #fafafa;
        box-shadow: 0 5px 9px rgb(34 77 137 / 8%), 0 5px 9px rgb(119 131 143 / 8%);

        @include media-breakpoint-down(md) {
            width: 100%;
        }

        .dropdown-header {
        }

        .dropdown-footer {
            margin: .5rem 1rem;
        }

        .dropdown-body {
            max-height: 400px;
            overflow-y: scroll;
            overflow-x: hidden;

            margin-top: 10px;

            &::-webkit-scrollbar {
                width: 10px;
            }

            &::-webkit-scrollbar-track {
                background-color: #fafafa;
            }

            &::-webkit-scrollbar-thumb {
                background-color: #b0b0b0;
            }

        }

        .dropdown-item {
            min-width: 320px;
            max-width: 320px;
            padding: 0;
            //margin-top: 5px;
            //margin-bottom: 5px;

            @include media-breakpoint-down(sm) {
                max-width: 100%;
                min-width: 100%;
            }


        }

        .custom-control {
            padding-top: 3px;
            padding-bottom: 3px;
        }

        .custom-checkbox {
            margin-left: 25px;
            margin-right: 25px;
        }

        .custom-control-label {
            display: block;
            width: 100%;

            text-overflow: ellipsis;
            white-space: nowrap;

            @include media-breakpoint-down(sm) {
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            //padding: 3px 0;
        }


        .form-control {
            font-weight: 400;
            border: 0;
            border-bottom: solid thin #ddd;
            border-radius: 0;
        }

    }

    .btn {

        &.btn-light {
            background-color: #fff;
        }
    }
}

.alert-loading {
    display: block;
    width: 100%;
    color: #192265;
    background-color: rgba(231, 237, 239, 0.94);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.alert-succeed {
    display: block;
    width: 100%;
    color: #1b8132;
    background-color: rgba(27, 129, 50, 0.13);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.border-danger {
    border: solid thin #ec0505 !important;;
}

.form-control.invalid-feedback,
.select2-selection.invalid-feedback,
.tox-tinymce.invalid-feedback {
    border-color: $danger;
}

