﻿.table-long {
    width: 100%;
    border: none;
    border-collapse: collapse;
}
    .table-long td, th {
        padding: 2px; /* replace cellpadding="4" */
    }

a:focus {
    outline-style: none !important;
}

input[type=image], input[type=button] {
    outline-style: none !important;
}


.logoContainer {
    align-items: center;
    justify-content: center;
    display: flex;
}

.logo {
    max-height: 65px;
}

.img-text {
    display: flex;
    align-items: center;
}

/*img and text in link*/
.text-middle > img {
    vertical-align: middle;
    padding-bottom: 5px;
}

.swal-button {
    background-color: #1ac3de;
}

.swal-button--cancel {
    color: #555;
    background-color: #efefef;
}

.jq-tabs > .ui-tabs-nav {
    border-bottom: 2px solid #00c5e4 !important;
    background: #fff;
}

.ui-tabs-active {
    border: 1px solid #1ac3de !important;
    background: #1ac3de !important;
    color: #fff !important;
}

.ui-dialog-titlebar-close {
    height: 30px !important;
    width: 30px !important;
    margin: -15px 0 0 0 !important;
    background-color: #e9e9e9 !important;
    border: none !important;
}

.ui-icon-closethick {
    background-image: url('/Images/close_28x28.png') !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    width: 30px !important;
    height: 30px !important;
}

a span.ui-icon-closethick {
    margin-top: 0 !important;
    margin-left: 0 !important;
}

button span.ui-icon-closethick {
    margin-top: -14px !important;
    margin-left: -14px !important;
}

.dialogBtn {
    position: fixed;
    bottom: 10px;
    left: 45%;
}

    .dialogBtn.Delete {
        left: 90%;
    }


.mui-btn--primary {
    background-color: #1AC3DE !important;
}

tr.GridHeader {
    background-color: #f1f1f1;
    font-weight: bold;
}

.GridHeader > td {
    border-bottom: solid 1px #cccccc;
    color: #808080;
}

tr.GridCell {
    background-color: #f1f1f1;
}

    tr.GridCell2:hover, tr.GridCell:hover {
        background-color: #ffffcc !important;
    }

    tr.GridCell2 td, tr.GridCell td {
        border-bottom: solid 1px #cccccc;
    }

TD {
    font-family: Segoe UI;
    font-size: 14px;
}

    td[sort="true"] {
        cursor: pointer;
        position: relative;
        text-decoration: underline;
    }

        td[sort="true"].asc:after {
            content: ' ↑';
        }

        td[sort="true"].desc:after {
            content: ' ↓';
        }


        td[sort="true"] > span {
            text-decoration: underline;
        }

.swal-button-container:focus {
    outline: none;
}

.hidden {
    display: none;
}

.opacity-40 {
    opacity: 0.4;
}


.size16 {
    width: 16px;
    height: 16px;
}

.size24 {
    width: 24px;
    height: 24px;
}

.size28 {
    width: 28px;
    height: 28px;
}

.size32 {
    width: 32px;
    height: 32px;
}

.widthHalf {
    width: 50%;
    float: left;
    padding: 5px 0 1px 0;
}

    .widthHalf span {
        display: inline-block;
        margin: 1px 5px;
    }

    .widthHalf .longBtn {
        width: 99%;
        margin-left: 2px;
    }

.mui-select__menu {
    max-height: 50vh;
    padding: 15px 0 !important;
}

.require {
    color: red;
}

.ui-dialog .ui-dialog-buttonpane button {
    background-color: #1ac3de;
    color: #fff;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    margin: 2px 5px;
    cursor: pointer;
}
.ui-dialog .ui-dialog-buttonpane button:hover {
    opacity:0.8;
}
    .ui-dialog .ui-dialog-buttonpane button:active {
        background-color: #1ac3de;
        color: #fff;
        border: none;
        box-shadow: none;
        outline: none;
    }

    .viewFriendly input, .viewFriendly textarea, .viewFriendly select, .viewFriendly .fs_multiselection_presentation_box .inner, .viewFriendly .Listbox_Theme_Default .inner {
        padding: 5px 10px;
        border: 1.5px solid #4a4a4a;
        border-radius: 5px;
        transition: 0.2s;
    }

    .viewFriendly input[type="image"] {
        padding: 1px;
        border: none;
        border-radius: 0px;
    }

    .viewFriendly input[type="checkbox"], .viewFriendly input[type="radio"] {
        width: 18px;
        height: 18px;
    }

.modal-overlay {
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
}

    .modal-overlay.open {
        display: flex;
    }

.modal {
    background: #ffffff;
    border: 0.5px solid var(--border);
    width: 560px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    padding:3px;
}

.modal-title {
    background-color: #e9e9e9;
    padding: 4px;
    position: relative;
    text-align: left;
    font-size: 12px;
    margin: auto;
}
.modal-content {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 0.5px solid var(--border);
}
