﻿/*
	StyleBundle:	"~/Res/Theme" order #1
	Description:	Overeide CSS of bootstap.
*/

tr.striped {
	background-color: rgba(0, 0, 0, 0.05);
}

.wuc-calendar-textbox {
    background-color: white !important;
    border: 1px solid #DCDCDC !important;
}
    .wuc-calendar-textbox:focus {
        border-color: #5098D3 !important;
    }
    .wuc-calendar-textbox.wuc-calendar-textbox-disabled {
        background-color: whitesmoke;
        color: darkgray;
    }


.listboxcountinfo {
    border-color: #DCDCDC;
}

/* 691106 กล่องแจ้งข้อผิดพลาดของ UIK (UIK.jQueryAjax.ShowErrorException) -- ทับ UIK/stdlib.css โดยไม่แก้ไลบรารี
   ใช้ id เพื่อให้ชนะ selector ของ UIK · สีโหมดมืดอยู่ที่ bootstrap-theme-dark-override.css */
#UIK_MsgBoxErrException {
    width: calc(100% - 32px);
    max-width: 560px;
    margin: 12vh auto 0;
    padding: 0;
    text-align: left;
    background-color: #ffffff;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    opacity: 1;
    overflow: hidden;
}
    #UIK_MsgBoxErrException > div[data-role="header"] {
        display: flex;
        align-items: center;
        padding: 18px 20px 0 20px;
    }
        #UIK_MsgBoxErrException > div[data-role="header"]::before {
            content: "!";
            flex: none;
            width: 32px;
            height: 32px;
            margin-right: 12px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            background-color: #fdecea;
            color: #d32f2f;
        }
    #UIK_MsgBoxErrException h1 {
        margin: 0;
        font-family: inherit;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.4;
        color: #212529;
        text-shadow: none;
    }
    #UIK_MsgBoxErrException > div[data-role="content"] {
        padding: 10px 20px 18px 20px;
    }
    #UIK_MsgBoxErrException .UIK_MsgBoxErrException_Msg {
        height: auto;
        max-height: 50vh;
        overflow: auto;
        padding-left: 44px;
        font-size: 1rem;
        line-height: 1.6;
        color: #495057;
        overflow-wrap: anywhere;
    }
    #UIK_MsgBoxErrException .UIK_MsgBoxErrException_Btn {
        margin-top: 18px;
        text-align: right;
        font-size: 1rem;
    }
        #UIK_MsgBoxErrException .UIK_MsgBoxErrException_Btn a {
            display: inline-block;
            min-width: 96px;
            padding: 8px 20px;
            border-radius: 8px;
            background-color: #417CAC;
            color: #ffffff;
            font-weight: 500;
            text-align: center;
            text-decoration: none;
        }
            #UIK_MsgBoxErrException .UIK_MsgBoxErrException_Btn a:hover,
            #UIK_MsgBoxErrException .UIK_MsgBoxErrException_Btn a:focus {
                background-color: #36688f;
                color: #ffffff;
            }
            #UIK_MsgBoxErrException .UIK_MsgBoxErrException_Btn a:focus-visible {
                outline: 2px solid #5098D3;
                outline-offset: 2px;
            }