@font-face {
font-family: 'chulabhorn_r';
src: url('../public/chulabhornlikittext-regular.woff2') format('woff2'),
url('../public/chulabhornlikittext-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'chulabhorn_l';
src: url('../public/chulabhornlikittext-light.woff2') format('woff2'),
url('../public/chulabhornlikittext-light.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'chulabhorn_m';
src: url('../public/chulabhornlikittext-medium.woff2') format('woff2'),
url('../public/chulabhornlikittext-medium.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'chulabhorn_b';
src: url('../public/chulabhornlikittext-bold.woff2') format('woff2'),
url('../public/chulabhornlikittext-bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'cs_prajadregular';
src: url('../public/csprajad-webfont.woff2') format('woff2'),
url('../public/csprajad-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'supermarketregular';
src: url('../public/supermarket-webfont.woff2') format('woff2'),
url('../public/supermarket-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* {margin: 0; padding: 0;}
body{font: 16px cs_prajadregular;
background: #3f51b5;}
header{width: 720;
margin: auto;}
nav{width: 720;
margin: auto;
clear:both;}
section{width: 720;
margin: auto;
clear:both;}
footer{width: 720;
margin: auto;
color: white;
clear:both;}
#container{background: navy;
border: 1px solid white;
border-radius: 20px;
padding: 8px 4px 8px 4px;
width: 360px;
margin: auto;}
#head-box{width: 360;
float: left;}
#user-box{width: 360;
float: right;}
#box-1in3{width: 240;
float: left;}
#fix-1in4{width: 180;
float: left;}
#fix-box{padding: 2px 2px;
width: 356;
background: white;
border-radius: 4px;
float: left;}
#credit-box{width: 360;
text-align: center;
float: left;}
#footer-box{width: 360;
text-align: center;
float: left;}
#data-box{padding: 2px 2px;
background:white;
width: 716px;
border-radius: 4px;
float: left;}
#text-head{ font: 24px supermarketregular;
color: white;}
#text-1in2{width: 356;
float: left;}
#text-1in3{width: 240;
float: left;}
#text-1in4{width: 180;
float: left;}
#text-box{padding: 2px 2px;
float: left;}
#text-box-clear{
float: left;
clear:both;}
#text-box-clear100{width: 100%;
float: left;
clear:both;}
#box-fl{
float: left;}
#box-fr{
text-align: right;
float: right;}
#box-flc{width: 354;
text-align: center;
float: left;}
#box-frc{width: 354;
text-align: center;
float: right;}
.TextWrap{
float: left;
margin: 5px;
border-radius: 5px;
}
.front-table{color: white}
.table {border:#000000 1px solid;background-color:#dddddd}
.td{border:#bbbbbb 1px solid; background-color:#ffffff}
.button {font: 14px cs_prajadregular;
background:white;
padding: 0px 2px;
border-radius: 4px;
border: 1px solid #000000;
}
.button:hover {background-color: #ddd}
.button:active {
background-color: #ff0;
transform: translateY(4px);
}
.dropbtn {font: 16px cs_prajadregular;
background-color: #3848a2;
color: white;
min-width: 70px;
border: none;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 100px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 5px;
}
.dropdown-content a {
color: black;
padding: 2px 0px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {background-color: #ddd;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #324090;}
.menubtn {font: 16px cs_prajadregular;
background-color: #2c387e;
color: white;
min-width: 70px;
border: none;
}
.menudown {
position: relative;
display: inline-block;
}
.menudown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 100px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 4px;
}
.menudown-content a {
color: black;
padding: 2px 0px;
text-decoration: none;
display: block;
}
.menudown-content a:hover {background-color: #ddd;}
.menudown:hover .menudown-content {display: block;}
.menudown:hover .menubtn {background-color: #25306c;}
.drpLanguage {
position: relative;
display: inline-block;
}
.drpLngContent {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 40px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 5px;
}
.drpLngContent a {
color: black;
padding: 5px 0px;
text-decoration: none;
display: block;
}
.btnLanguage {font: 16px cs_prajadregular;
background-color: #444444;
color: white;
min-width: 30px;
border: none;
border-radius: 5px;
}
.drpLngContent a:hover {background-color: #ddd;}
.drpLanguage:hover .drpLngContent {display: block;}
.drpLanguage:hover .btnLanguage {background-color: #666666;}
A:link {
COLOR: #0000ff; TEXT-DECORATION: none
}
A:visited {
COLOR: #0000ff; TEXT-DECORATION: none
}
A:hover {
COLOR: #ff0000; FONT-STYLE: italic;
}
legend{
font: 18px cs_prajadregular;
}
select{font: 14px cs_prajadregular;
}
input {font: 14px cs_prajadregular;
border-right: #0099ff 1px solid; BORDER-TOP: #0099ff 1px solid; BACKGROUND: #ffebd7; BORDER-LEFT: #0099ff 1px solid; COLOR: #0000ff; BORDER-BOTTOM: #0099ff 1px solid;
border-radius: 5px; padding: 0px 3px;
}
textarea {font: 14px cs_prajadregular;
border-right: #0099ff 1px solid; BORDER-TOP: #0099ff 1px solid; BACKGROUND: #ffebd7; BORDER-LEFT: #0099ff 1px solid; COLOR: #0000ff; BORDER-BOTTOM: #0099ff 1px solid;
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
margin: 10px auto;
padding: 5px;
background: #fff;
border-radius: 5px;
width: 350px;
position: relative;
transition: all 5s ease-in-out;
}
.popup h2 {
margin-top: 0;
color: #333;
font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
position: absolute;
top: 0px;
right: 10px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.popup .close:hover {
color: #06D85F;
}
.popup .content {
max-height: 80%;
overflow: auto;
}
@media only screen and (max-width: 720px) {
header{width: 360;
margin: auto;}
nav{width: 360;
margin: auto;}
section{width: 360;
margin: auto;}
footer{width: 360;
margin: auto;}
#data-box{padding: 2px 2px;
background:white;
width: 356;
border-radius: 4px;
float: left;}
#box-1in3{width: 360;
float: left;}
}