﻿body {
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.input-group .btn {
    z-index: 0 !important;
}
.gridSearchPadding {
    padding: 0px 10px 0px 10px !important;
}

.red {
    color: red;
}

.pull-right {
    float: right;
}

.fs-14 {
    font-size: 14px;
}

.text-right-imp {
    text-align: right !important;
}

.text-left-imp {
    text-align: left !important;
}

.text-center-imp {
    text-align: center !important;
}

.back-to-top {
    background: none;
    margin: 0;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 70px;
    height: 70px;
    z-index: 100;
    display: inline;
    text-decoration: none;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 8px 12px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

div.has-error {
    margin-bottom: 6px;
}

.btn-top-fixed-1 {
    background: none;
    margin: 0;
    position: fixed;
    top: 139px;
    right: 120px;
    width: 70px;
    height: 70px;
    z-index: 100;
    display: inline;
    text-decoration: none;
}

.btn-top-fixed-0 {
    background: none;
    margin: 0;
    position: fixed;
    top: 139px;
    right: 210px;
    width: 70px;
    height: 70px;
    z-index: 100;
    display: inline;
    text-decoration: none;
}

.btn-top-fixed-2 {
    background: none;
    margin: 0;
    position: fixed;
    top: 139px;
    right: 30px;
    width: 70px;
    height: 70px;
    z-index: 100;
    display: inline;
    text-decoration: none;
}

.btn-save {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.33;
}

.tabContainer {
    padding-top: 20px;
}



.global-toast {
    display: none;
    position: fixed;
    z-index: 1200;
    /*bottom: 20px;*/
    top: 70px;
    right: 20px;
    background-color: rgba(0,0,0,.8);
    border-radius: 10px;
    color: #fff;
    padding: 20px;
    width: 350px;
    max-width: calc(100% - 40px);
    line-height: 1.4;
}

    .global-toast.show {
        display: block;
    }

    .global-toast .global-toast-close {
        z-index: 10;
        opacity: .5;
        position: absolute;
        right: 22px;
        top: 22px;
        background-color: transparent;
        border: 0;
        cursor: pointer;
        font-size: 22px;
        line-height: 22px;
        outline: none;
        color: #fff;
        transition: all .25s ease-out;
    }

        .global-toast .global-toast-close:hover {
            opacity: 1;
        }

    .global-toast .global-toast-icon {
        flex-shrink: 0;
        margin-right: 16px;
    }

        .global-toast .global-toast-icon:before {
            font-size: 30px;
            color: #fff;
        }

    .global-toast .global-toast-content {
        flex-grow: 1;
        margin-right: 30px;
    }

        .global-toast .global-toast-content h4 {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .global-toast .global-toast-content p {
            opacity: .5;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .global-toast .global-toast-content .global-toast-buttons {
            display: flex;
            justify-content: flex-end;
            margin-right: -30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,.25);
        }

.semantic-input-container {
    display: flex;
}

    .semantic-input-container .semantic-input {
        flex-grow: 1;
    }

    .semantic-input-container .semantic-input-button {
        flex-shrink: 0;
        margin-top: 18px;
        margin-left: 6px;
        height: 32px;
        color: #1F2937;
        font-size: 32px;
        transition: all 0.25s ease-out;
    }

        .semantic-input-container .semantic-input-button:hover {
            color: #7638ff;
        }

.validation-summary-errors {
    color: #EF4444;
    font-size: 18px;
    margin-bottom: 0px;
}

    .validation-summary-errors li {
        list-style-type: none;
    }

.field-validation-warning {
    color: royalblue;
    font-size: 12px;
    margin-bottom: 0px;
}

.field-validation-error {
    color: #EF4444;
    font-size: 12px;
    margin-bottom: 0px;
}



.validation-summary-errors li {
    list-style-type: none;
}

.astrix {
    color: #DC3545;
}

.pager-pagination {
    margin-top: 15px;
}

.pagination2 {
    display: flex;
    flex-direction: column;
    padding: 20px !important;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    flex-direction: row;
    align-items: center;
}

    .pagination2 .pagination-container {
        flex-shrink: 0;
    }

        .pagination2 .pagination-container .pagination-list {
            display: flex;
        }

    .pagination2 .pagination-page-no {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 30px;
        color: #4b5563;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

        .pagination2 .pagination-page-no.active {
            background-color: #7638ff;
            color: #fff;
            cursor: default;
        }

        .pagination2 .pagination-page-no:hover:not(.active):not(.disabled) {
            background-color: rgba(66, 135, 182, .1);
            color: #7638ff;
        }

        .pagination2 .pagination-page-no.disabled {
            opacity: .25;
            cursor: default;
        }

        .pagination2 .pagination-page-no.pagination-ellipsis {
            color: #9ca3af;
        }

        .pagination2 .pagination-page-no.pagination-control {
            margin: 0 4px;
        }

        .pagination2 .pagination-page-no a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 30px;
        }

        .pagination2 .pagination-page-no .mdi {
            color: #4b5563;
            font-size: 20px;
        }

    .pagination2 .pagination-summary {
        flex-grow: 1;
        margin-left: 50px;
        margin-right: 20px;
        color: #9ca3af;
        font-size: 13px;
    }

@media(max-width:1200px) {
    .pagination2 {
        flex-direction: column;
    }

        .pagination2 .custom-input-box-pagesize {
            margin-top: 16px;
        }

        .pagination2 .pagination-page-no:not(.active):not(.pagination-control):not(.PagedList-skipToFirst):not(.PagedList-skipToLast) {
            display: none;
        }

        .pagination2 .pagination-summary {
            flex-grow: 0;
            margin: 12px 0 0;
        }
}

.select-templates-modal .pagination2 .pagination-page-no {
    display: flex !important;
}

.custom-input.custom-input-box-disabled input,
.custom-input.custom-input-box-disabled textarea {
    background-color: #F9FAFB;
    border: dashed 2px #9CA3AF;
    cursor: default;
    pointer-events: none;
}

    .custom-input.custom-input-box-disabled input:focus, .custom-input.custom-input-box-disabled input:hover,
    .custom-input.custom-input-box-disabled textarea:focus,
    .custom-input.custom-input-box-disabled textarea:hover {
        border-color: #9CA3AF;
    }

.custom-input.custom-input-box-disabled .custom-input-unit-container input:hover ~ .custom-input-unit-item {
    background-color: #9CA3AF;
    border-color: #9CA3AF;
}

.custom-input.custom-input-box-disabled .custom-input-unit-container input:focus ~ .custom-input-unit-item {
    background-color: #9CA3AF;
    border-color: #9CA3AF;
}

.custom-input.custom-input-box-disabled .custom-input-unit-container .custom-input-unit-item {
    background-color: #9CA3AF;
    border: 2px solid #9CA3AF;
    pointer-events: none;
}

.tr-bordered-t {
    border-top: 2px solid #000;
}

.tr-bordered-b {
    border-bottom: 2px solid #000;
}

.tr-bordered-tb {
    border-bottom: 2px solid #000;
    border-top: 2px solid #000;
}


input.hidden-inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

    input.hidden-inputfile + label {
        cursor: pointer;
    }


.checkbox-lg .form-check-input {
    top: .8rem;
    scale: 1.4;
    margin-right: 0.7rem;
}

/*.checkbox-lg .form-check-label {
    padding-top: 13px;
}*/

.drag-handler {
    user-select: none; /* Prevent text selection while dragging */
}

.sticky-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #ccc;
}

.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label {
    color: #FF0000;
}

.has-error .form-control {
    border-color: #FF0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.form-control.has-success, .was-validated .form-control:valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.has-success .form-control {
    border-color: #22cc62;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

    .has-success .form-control:focus {
        border-color: #22cc62;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
    }

.has-error .form-control:focus {
    border-color: #FF0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
}

.has-error .ui.selection.dropdown:focus {
    border-color: #FF0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
}

.has-error .ui.selection.dropdown {
    border-color: #FF0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}


.has-success .ui.selection.dropdown {
    border-color: #22cc62;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

    .has-success .ui.selection.dropdown:focus {
        border-color: #22cc62;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
    }

.has-error .select2-container .select2-selection--single:focus {
    border-color: #FF0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
}

.has-error .select2-container .select2-selection--single {
    border-color: #FF0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.has-success .select2-container .select2-selection--single {
    border-color: #22cc62;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}



    .has-success .select2-container .select2-selection--single:focus {
        border-color: #22cc62;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
    }

.error-model-pop {
    color: #FF0000;
}

.error {
    color: #FF0000 !important;
}

.text-align-end {
    text-align: end;
}


.search-navigation-result {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    color: #000000;
    padding: 10px 50px 10px 15px;
}

    .search-navigation-result ul {
        list-style: none;
        margin-bottom: 0;
        margin-left: 5px;
        padding: 0;
    }

        .search-navigation-result ul li {
            font-size: 15px;
            padding-bottom: 10px;
            padding-left: 10px;
            position: relative;
        }

            .search-navigation-result ul li:hover {
                font-size: 15px;
                padding-bottom: 10px;
                padding-left: 10px;
                position: relative;
                background-color: rgba(118, 56, 255, 0.05);
                color: #7638ff;
            }

            .search-navigation-result ul li a {
                align-items: center;
                display: flex;
                justify-content: flex-start;
                color: #ffffff;
                /*padding: 8px 8px;*/
                position: relative;
                transition: all 0.2s ease-in-out 0s;
                font-weight: normal;
            }

                .search-navigation-result ul li a:hover {
                    align-items: center;
                    display: flex;
                    justify-content: flex-start;
                    color: #ffffff;
                    /*padding: 8px 8px;*/
                    position: relative;
                    transition: all 0.2s ease-in-out 0s;
                    font-weight: bolder;
                }


.top-nav-search #searchForm {
    margin-top: 10px;
    position: relative;
    width: 100%;
}
.fixed-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    
    color: white;
    text-align: center;
}
.AutoCompDiv {
    background: #ffffff;
    color: #000000;
    border: 2px solid #7638ff !important;
}
