﻿
@font-face {
    font-family: 'THSarabun';
    src: url('../fonts/Content/THSarabun.eot');
    src:url('../fonts/Content/THSarabun.eot?#iefix') format('embedded-opentype'), 
        url('../fonts/Content/THSarabun.woff2') format('woff2'), 
        url('../fonts/Content/THSarabun.woff') format('woff'), 
        url('../fonts/Content/THSarabun.ttf') format('truetype'),
        url('../fonts/Content/THSarabun.svg#db_chidlom_xregular') format('svg');
    font-weight: normal;
    font-style: normal; 
}
 
body {
    background: #333; 
    width: 100%;
}

.center_screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    text-align: center;
    background-color: #fff;
    vertical-align: middle;
    padding: .5rem;
    z-index: 5;
}
 
/* Set gray background color and 100% height */
.sidenav {
    background-color: #333;
    height: 100%;
}

@media only screen and (min-width: 1440px) {
    .container-fluid {
        min-height: 500px;
        margin-top: 100px;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media only screen and (max-width: 1439px) {
    .container-fluid {
        min-height: 500px;
        margin-top: 0px;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}
    /* On small screens, set height to 'auto' for the grid */
    @media screen and (max-width: 767px) {
        .row.content {
            height: auto;
        }
    }

    .fontfooter {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 11pt;
        font-weight: 500;
        font-style: normal;
        color: lightgray;
    }

    .fontlabel20 {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 20pt;
        font-weight: bold;
        font-style: normal;
        color: #fff;
    }

    .fontlabel18 {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 18pt;
        font-weight: bold;
        font-style: normal;
        color: #fff;
    }

    .fontlabel16 {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 16pt;
        font-weight: bold;
        font-style: normal;
        color: #fff;
    }

    .fontlabel14 {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #000;
        margin-left: 5px;
    }

    .fontlabel14w {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #fff;
        margin-left: 5px;
    }

    .fonttextbox_small {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #000;
        border: 1px solid #333;
        border-radius: 2px;
        min-width: 200px;
        width: 200px;
        margin: 2px 2px 2px 5px;
    }

    .fonttextbox {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #000;
        background-color: #fff;
        border: 1px solid #fff;
        border-radius: 2px;
        min-width: 200px;
        width: 300px;
        height: 35px;
    }

    .fontpopup {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 16pt;
        font-weight: bold;
        color: #fff;
        text-align: center;
        background-color: #4d4d4d;
        padding: 3px 8px 3px 8px;
    }

    .linklabel {
        /*font-family:  'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;*/
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #00adec;
        height: 23px;
    }

    .checklabel {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #666;
    }

    .btn_login {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        color: #fff;
        background: #00adec;
        padding: 0px 2px 1px 2px;
        vertical-align: middle;
        min-width: 70px;
        width: 304px;
        height: 35px;
        border: 1px #00adec;
        border-radius: 2px;
    }

    .errorlabel {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        color: #C00000;
        font-style: italic;
    }

    .pOverlay {
        opacity: 0.1;
        filter: alpha(opacity=00);
        background-color: #000000;
        position: fixed;
        z-index: 5;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }

    .pOverlayProgress {
        position: fixed;
        top: 50%;
        left: 50%;
        margin: -20px 0px -30px -69px;
        z-index: 1010;
        width: 130px;
        height: 50px;
        vertical-align: middle;
        text-align: center;
        border: 1px solid #B0E0E6;
        font-size: 9px;
        color: #999999;
        padding: 10px 0px 0px 0px;
        background: #ffffff;
        border: 3px solid #AFAFAF;
        -moz-background-clip: padding; /* Firefox 3.6 */
        -webkit-background-clip: padding-box; /* Safari 4? Chrome 6? */
        background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
        border: 4px solid rgba(110,110,110,0.4);
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    .pBlur {
        opacity: 0.4;
        filter: alpha(opacity=40);
        background-color: #000000;
        position: fixed;
        z-index: 4;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }

    .pBlurOverlay {
        opacity: 0.2;
        filter: alpha(opacity=20);
        background-color: #666666;
        position: fixed;
        z-index: 5;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }

    .pPwd {
        z-index: 5;
        position: fixed;
        padding: 10px;
        left: 35%;
        top: 25%;
        /* width: 320px;*/
        /* height: 330px;*/
        background-color: #fff;
        vertical-align: middle;
        text-align: center;
    }

    .pPwdReset {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #000;
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: 100;
        padding: 0px;
        background-color: #FEFEFE;
        vertical-align: middle;
        text-align: center;
        -moz-background-clip: padding; /* Firefox 3.6 */
        -webkit-background-clip: padding-box; /* Safari 4? Chrome 6? */
        background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
        border: 4px solid rgba(110,110,110,0.4);
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        width: 480px;
        height: 270px;
        margin-top: -120px;
        margin-left: -240px;
    }

    .WaterMarkedTextBox {
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: bold;
        font-style: normal;
        color: #000;
        border: 1px solid #333;
        border-radius: 2px;
        /*height: 25px;*/
        min-width: 200px;
        /*width:200px;*/
        margin-left: 5px;
        display: inline;
        background-color: lightgray;
        visibility: visible;
    }


    .btn_style {
        cursor: pointer;
        transition-duration: 0.4s;
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: 900;
        font-style: normal;
        color: #fff;
        min-width: 55px;
        width: 80px;
        text-align: center;
        background-color: #00adec;
        border: 1px solid #00adec;
        border-radius: 3px;
        height: 30px;
        padding: 1px 2px 1px 2px;
        margin: 2px 2px 2px 5px;
    }

        .btn_style :hover {
            color: #00adec;
            background-color: #f0f0f0;
            border: 1px solid #f0f0f0;
            border-radius: 3px;
        }

    .btn_close {
        cursor: pointer;
        transition-duration: 0.4s;
        font-family: 'TH SarabunPSK',THSarabun,'Cordia New',sans-serif;
        font-size: 14pt;
        font-weight: 900;
        font-style: normal;
        color: #fff;
        min-width: 55px;
        width: 80px;
        text-align: center;
        background-color: #666;
        border: 1px solid #666;
        border-radius: 3px;
        height: 30px;
        padding: 1px 2px 1px 2px;
        margin: 2px 2px 2px 5px;
    }

        .btn_close :hover {
            color: #fdfdfd;
            background-color: #666;
            border: 1px solid #666;
            border-radius: 3px;
        }

