/* Top Menu */
.top-menu-item:hover {
    color: white;
}

/* Top Menu OnClick MenuItem */
.dropdown-item:active {
    background-color: #6C757D;
    color: #FFFFFF;
}

a.nav-link.dropdown-toggle {
	height: 130%;
}

/* Top Menu Role Menu */
@media (min-width: 992px) {
    .columns-1 {
        min-width: 15rem;
    }

    .columns-2 {
        min-width: 30rem;
    }

    .columns-3, .columns-5, .columns-6, .columns-9 {
        min-width: 45rem;
    }

    .columns-4, .columns-7, .columns-8 {
        min-width: 60rem;
    }
}

/* Top Left Logo */
.top-logo {
    display: inline-block;
    margin-right: 1rem;
    white-space: nowrap;
}

.logo {
    height: 40px;
}

@media (min-width: 992px) {
    .logo {
        height: 70px;
    }
}

/* Footer */
.footer-list > li {
    margin-bottom: 0.875rem;
}

/* Footer Link Bar */
.bg-footer-link {
    background-color: #0e2238;
}

.footer-link {
    color: inherit;
}

    .footer-link:hover {
        color: inherit;
        text-decoration: none;
    }

/* Footer Social Bar */
.bg-footer-social {
    background-color: #000;
}

.btn-social {
    border-radius: 50%;
}

/* Line Bar */



/* SiteMapBar */
ul.breadcrumbs {
    margin-bottom: 10px;
    padding: 0px;
    font-size: 0px;
    line-height: 0px;
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: top;
    height: 40px;
}

    ul.breadcrumbs li {
        position: relative;
        margin: 0px 0px;
        padding: 0px;
        list-style: none;
        list-style-image: none;
        display: inline-block;
        *display: inline;
        zoom: 1;
        vertical-align: top;
        border-left: 1px solid #ccc;
        transition: 0.3s ease;
    }

        ul.breadcrumbs li:before {
            content: "";
            position: absolute;
            right: -9px;
            top: -1px;
            z-index: 20;
            border-left: 10px solid #fff;
            border-top: 22px solid transparent;
            border-bottom: 22px solid transparent;
            transition: 0.3s ease;
        }

        ul.breadcrumbs li:after {
            content: "";
            position: absolute;
            right: -10px;
            top: -1px;
            z-index: 10;
            border-left: 10px solid #ccc;
            border-top: 22px solid transparent;
            border-bottom: 22px solid transparent;
        }

        ul.breadcrumbs li.first {
            border-left: none;
        }

            ul.breadcrumbs li.first a {
                font-size: 18px;
                padding-left: 20px;
                border-radius: 5px 0px 0px 5px;
            }

        ul.breadcrumbs li.last:before {
            display: none;
        }

        ul.breadcrumbs li.last:after {
            display: none;
        }

        ul.breadcrumbs li.last a {
            padding-right: 20px;
            border-radius: 0px 10px 10px 0px;
        }

        ul.breadcrumbs li a {
            display: block;
            font-size: 12px;
            line-height: 40px;
            color: #757575;
            padding: 0px 15px 0px 25px;
            text-decoration: none;
            background: #fff;
            border: 1px solid #ddd;
            white-space: nowrap;
            overflow: hidden;
            transition: 0.3s ease;
        }

/* Container */
@media screen and (min-width: 650.02px) {
    .only-mobile {
        display: none;
    }
}

@media screen and (min-width: 650.02px) {
    .main-container-max {
        width: max(100%,650.02px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 650.02px) {
    .main-container {
        width: max(80%,650.02px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 650.02px) {
    .main-container-min {
        width: max(50%,650.02px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Theme */
@media screen and (min-width: 650.02px) {
    .xmas-bg1 {
        background-image: url("../../Images/top1-xmas.jpg");
        background-size: contain;
    }

    .xmas-bg2 {
        background-image: url("../../Images/top2-xmas.jpg");
        background-size: contain;
    }

    .xmas-bg3 {
        background-image: url("../../Images/top3-xmas.jpg");
        background-size: contain;
    }

    .xmas-bg4 {
        background-image: url("../../Images/top4-xmas.jpg");
        background-size: contain;
    }

    .xmas-bg5 {
        background-image: url("../../Images/top5-xmas.jpg");
        background-size: contain;
    }

    .xmas-bg-line {
        background-color:lightcoral;
        padding: 0.2rem;
    }
}

/* Card */



/* Form */
.form-control {
    font-size: 90%;
}

    .form-control:valid {
        border-color: #ced4da !important;
        background-image: none !important;
    }

/* Button */
.btn-primary {
    color: #191970;
    border-color: #191970;
    background: transparent
}

/* Hover */
.hand:hover {
    color: red;
}

/*.value {
    padding: 0.25rem 0.625rem;
}*/

/* Badge */
.badge {
    color: white;
    font-weight: 500;
}

.badge-A, .badge-Approved {
    background-color: #5cb85c;
}

.badge-R, .badge-Rejected {
    background-color: #d9534f;
}

.badge-P, .badge-Pending, .badge-Recommended {
    background-color: #f0ad4e;
}

.badge-W, .badge-Withdrawn {
    background-color: #808080;
    color: white;
}

.badge-C, .badge-Closed {
    background-color: #999999;
    color: white;
}

/*Custom file upload*/
.custom-file-input ~ .custom-file-label::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f574";
}

/* Div */
.bar-info {
    background-color: #E9ECEF;
}

.table-responsive::-webkit-scrollbar:vertical {
    display: none;
}

.crop-250 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 250px;
}

.crop-300 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 300px;
}

.slide-hide {
    display: none;
    overflow-y: scroll;
}

.slide-show {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    z-index: 1;
    background-color: #F6F7F8;
}

/* Span */
.highlight {
    color: black;
    background-color: pink;
}

.searchspan {
    float: right;
    margin-right: 6px;
    margin-top: -26px;
    position: relative;
    z-index: 2;
}

/* Switch */
.toggle {
    --width: 80px;
    --height: calc(var(--width) / 3);
    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--height);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: var(--height);
    cursor: pointer;
}

    .toggle input {
        display: none;
    }

    .toggle .slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: var(--height);
        background-color: #ccc;
        transition: all 0.4s ease-in-out;
    }

        .toggle .slider::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: calc(var(--height));
            height: calc(var(--height));
            border-radius: calc(var(--height) / 2);
            background-color: #fff;
            box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease-in-out;
        }

    .toggle input:checked + .slider::before {
        transform: translateX(calc(var(--width) - var(--height)));
    }

    .toggle .labels {
        position: absolute;
        top: 4px;
        left: 0;
        width: 100%;
        height: 100%;
        font-size: 12px;
        transition: all 0.4s ease-in-out;
    }

        .toggle .labels::after {
            content: attr(data-off);
            position: absolute;
            right: 5px;
            color: #4d4d4d;
            opacity: 1;
            transition: all 0.4s ease-in-out;
        }

        .toggle .labels::before {
            content: attr(data-on);
            position: absolute;
            left: 5px;
            color: #ffffff;
            opacity: 0;
            transition: all 0.4s ease-in-out;
        }

    .toggle input:checked ~ .labels::after {
        opacity: 0;
    }

    .toggle input:checked ~ .labels::before {
        opacity: 1;
    }
