:root {
	--col-y01 : #FF9F1C;
	--col-y02 : #FFBF69; /* เหลืองอ่อน */
	--col-g01 : #CBF3F0;
	--col-g02 : #2EC4B6; /* เขียวอ่อน */
	--col-g-text : #FFFFFF;
	--col-background-main : #fcfaf1;
	--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: 14px;
	height:100%;
	color:var(--col-text-main);
	background: var(--col-background-main);
}

input {
	font-family: myfont !important;
	font-size: 14px !important;
}

button {
	font-size: 14px !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;
}

.tb_nor td {
	padding : 3px;
}
 
.tb_nor tr:nth-child(odd) {
	background: var(--tb-col2);
}

.tb_nor tr:nth-child(even) {
	background: var(--tb-col1);
}


.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;
}

#big_form {
    display: none;
    position: absolute;
    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: 650px;
    max-width: 95%;
    max-height: 90%;
    margin:auto;
    margin-top: 20px;
}

#main_content {
    margin-top:40px;
}

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