.ui-datepicker-trigger {
    border: 0;
    margin: 2px;
    background-color: white;
    background: url(./images/btn_cal.png) no-repeat;
    width: 20px;
    height: 20px;
    position: relative;
    margin-left: -22px;
    top: 0px;
}

    .ui-datepicker-trigger:hover {
        background-image: url(/images/button_images/btn_cal_o.png)
    }

#ui-datepicker-div A:visited {
    font-size: initial;
}

#ui-datepicker-div A:link {
    font-size: initial;
}

#ui-datepicker-div A:active {
    font-size: initial;
}

#ui-datepicker-div A:hover {
    font-size: initial;
}

.ui-datepicker {
    width: 22em;
}

.ms-options-wrap > button:focus,
.ms-options-wrap > button {
    padding: 2px 20px 2px 2px;
}

.ms-options-wrap li.optgroup span.label {
    color: gray;
    font-size: 15px;
    line-height: 20px;
}

.grid-body td input.hasDatepicker {
    width: 80px;
}



#_ajax_loading {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2); /*not in ie */
    z-index: 9999;
}

    #_ajax_loading.display-none {
        display: none;
    }

    #_ajax_loading div {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -21px;
        margin-top: -21px;
    }

.ms-options-wrap > button:focus,
.ms-options-wrap > button {
    border: 1px solid #000;
    border-radius: .3rem;
    background-color: #fff;
    color: #000;
    font-size: 1.2rem;
    margin-left: 1px;
}


/* Popup */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.popup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
}

.popup-lg {
    z-index: 1001;
    width: 80%;
    min-width: 120rem;
    background-color: #fff;
}

.popup-xlg {
    z-index: 1001;
    width: 100%;
    min-width: 120rem;
    background-color: #fff;
}

.popup-md {
    z-index: 1001;
    width: 640px;
    min-width: 640px;
    background-color: #fff;
    border: none;
    border-radius: 4px;
}

.pop-md html {
    overflow: hidden;
}

.popup-sm {
    z-index: 1001;
    width: 30%;
    min-width: 50rem;
    background-color: #fff;
}
#tbMessage, [name=CommandText] {
    height: 30em !important;
}

pre{
    font-size:12px;
}


.autocomplete .selected{
    background-color:silver
}


a.hidelink {
    cursor: pointer;
    text-decoration: underline;
}


.menu-header {
    cursor: pointer;
}

[contenteditable]:focus {
    outline: 0px solid transparent;
}

.w-icon {
    margin-top: 9px;
    margin-right: 3px;
    color: darkgray;
}