﻿.modal-header {
    padding: 10px 15px 0;
    background-color: #FFF;
}

.modal-title {
    font-size: 22px;
    font-weight: bold !important;
    color: #444;
}

.modal-body {
    background-color: #FAFAFA;
    margin: 0 15px;
}

    .modal-body label {
        font-size: 19px;
        font-family: THSarabunNew;
        font-weight: normal;
    }

.modal-footer {
    border: none;
    justify-content: center;
}

.spRequire {color:red;}

.noDisplay {display:none;}

.mouseClick {cursor:pointer;}

/*Radzen Grid*/
.ui-datatable-thead th {
    background-color: white !important;
}

.ui-sortable-column .fa-sort:before {
    /*content: 'sort';*/
    content: "\f0dc" !important;
}

.ui-sortable-column .fa-sort-asc:before {
    /*content: 'arrow_drop_up';*/
    content: "\f062" !important;
}

.ui-sortable-column .fa-sort-desc:before {
    /*content: 'arrow_drop_down';*/
    content: "\f063" !important;
}
.select-control {
    font-size: 15px !important;
    height: calc(2.9rem + 2px) !important;   
}
.select-controlLeft {    
    height: calc(1.85rem + 2px) !important;
}


.table-condensed .prev {
    /*content: 'arrow_drop_down';*/
    content: "\f063" !important;
}

.ui-dropdown-item.ui-state-highlight, .ui-dropdown-items li.ui-state-highlight, .ui-multiselect-items li.ui-state-highlight, .ui-autocomplete-items li.ui-state-highlight, .ui-state-highlight.ui-multiselect-item, .ui-state-highlight.ui-autocomplete-list-item, .ui-state-highlight.ui-menuitem {
    background-color: #007BFF !important;
}

.ui-dropdown-item:hover, .ui-dropdown-items li:hover, .ui-multiselect-items li:hover, .ui-autocomplete-items li:hover, .ui-multiselect-item:hover, .ui-autocomplete-list-item:hover, .ui-menuitem:hover {
    background-color: #007BFF !important;

}

.divNewLine {white-space: pre-wrap;}

/* ############### Modal Animation ############### */

#modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: .50;
    -webkit-opacity: .9;
    -moz-opacity: .9;
    filter: alpha(opacity=90);
    z-index: 1001;
}

#modal-content {
    background-color: white;
    display: none;
    height: 300px;
    left: 50%;
    margin: -120px 0 0 -250px;
    padding: 10px;
    position: absolute;
    top: 30%;
    width: 500px;
    z-index: 1001;
    text-align: center;
}

    #modal-background.active, #modal-content.active {
        display: block;
    }


.ui-datatable-thead th .ui-column-title {
    color: #1e2021 !important;
    font-weight: bold;
}

.ui-datatable-data td .ui-cell-data {
    color: #0c0e0e;
    font-size: 20px !important;
}

label {
    font-size: 20px;
    font-weight: bold;
}


/* ############### Font DevExpress ############### */

.dropdown-item {
    color: black !important;
    text-decoration: none;
    background-color: white;
    font-size: 18px !important;
}

.btn-warningDark {
    background-color: #d6b10b;
}


.form-control-div-readonly {
    background-color: #e9ecef;
    opacity: 1;
    border: 1px solid #dbdbdb;
    box-shadow: 0 1px 3px 0px rgb(0 0 0 / 6%);
    font-weight: 400;
    opacity: 1;
    border-radius: 6px;
}

img.grayscale {
    /* Firefox 10+, Firefox on Android */
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
    /* IE 6-9 */
    filter: gray;
    /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    -webkit-filter: grayscale(100%);
}

/* consent-popup ----------- */
/*
#consent-popup {
    z-index: 3;
    color: #A349A4 !important;
}

    #consent-popup a:link {
        color: blue !important;
    }

    #consent-popup a:visited {
        color: blue !important;
    }

    #consent-popup a:hover {
        color: blue !important;
        text-decoration: underline !important;
    }*/