:root {
	--col-y01 : #FF9F1C;
	--col-y02 : #FFBF69; /* เหลืองอ่อน */
	--col-g01 : #CBF3F0;
	--col-g02 : #2EC4B6; /* เขียวอ่อน */
	--col-g-text : #FFFFFF;
	--col-background-main : #e5e5e5;
	--col-background-mod : #FFFFFF;
	--col-text-main : #777777;
	--col-text-head : #851644;
	--tb-col1 : #EAEAEA; /*Table*/
	--tb-col2 : #FFFFFF;
}

/*Thai*/
@font-face {
    font-family: 'myfont';
	src: url('bai_jamjuree_thai.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;	
}
/* latin ex*/
@font-face {
    font-family: 'myfont';
	src: url('bai_jamjuree_latin_ex.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin*/
@font-face {
    font-family: 'myfont';
	src: url('bai_jamjuree_latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body,html {
	font-family: myfont;
	font-size: 0.95em;
	height:100%;
    color:#555555;
    /* background: #ffffff; */
    background: #ffffff;
}

input {
	font-family: myfont !important;
	font-size: 1em !important;
}

button {
	font-size: 1em !important;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--col-text-head);
	margin-bottom:5px;
	margin-top:5px;
}

h1 {font-size:150%;}
h2 {font-size:130%;}
h3 {font-size:120%;}
h4 {font-size:110%;}
h5 {font-size:100%;}
h6 {font-size:90%;}

.box {
	border-radius: 5px;
	border: 1px solid #FB8C00;
	padding: 7px;
	background-color: #FFF1E6;
}

.tb_basic td {
	padding : 3px;
    vertical-align: top;
}

.tb_nor td {
	padding : 3px;
}
 
.tb_nor tr:nth-child(odd) {
	background: #FFFFFF;
}

.tb_nor tr:nth-child(even) {
	background: #f0f0f0;
}


.tb_list td {
	padding : 3px;
}

.tb_list tr:nth-child(odd) {
	background: var(--tb-col1);
}

.tb_list tr:nth-child(even) {
	background: var(--tb-col2);
}

.tb_list tr:first-child { 
	background: #000000; 
	color:#FFFFFF;
}

.tb_form td {
	padding: 1px 3px 1px 3px;
	vertical-align: middle;
}

#main_content {
    margin-top:30px;
    
}

.doc_limit {
    max-width: 1000px;
    /* margin: auto; */
}

.bootbox {
    color:#000000;
}

#big_form {
    display: none;
    /* position: absolute; */
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
}

#big_form_body {
    padding: 15px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: rgba(0,0,0,0.5) 5px 5px 8px;
    min-height: 200px;
    width: 750px;
    max-width: 95%;
    max-height: 90%;
    margin:auto;
    margin-top: 20px;
}

#view_process {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    text-align: center;
    vertical-align: middle;
}

#view_process img {
    margin-top: 50px;
    max-width: 100px;
}

.btn-warning {
    background-image: linear-gradient(to bottom,#f5e8d5 0,#d8a155 100%);
    font-weight: bold;
    color:#000000;
}

.btn-success {
    background-image: linear-gradient(to bottom,#9deb8f 0,#5da95d 100%);
    color:#000000
}

.tb_js_form label {
    font-weight: normal;
}

.tb_js_form td {
    padding: 3px;
}

.tb_js_form td:first-child {
    text-align: right;
    width:120px;
}

/*Mobile*/
@media only screen and (max-width: 600px) {
    #main_content {
        margin-top:55px;
        padding: 0px;
    }
}