body {
    margin: 0 0 0 0;
    background-image: url(TRGMPIC/BGKSJ.png);
    cursor: url('TRGMPIC/cursor.cur'), auto;
    background-size: 600px 1350px;
    width: auto;
    height: auto;
    text-align: -webkit-center;
}
a {
    cursor: url('TRGMPIC/cursor.cur'), pointer;
}
input, textarea {
    cursor: url('TRGMPIC/cursor.cur'), text;
}
.grid {
    border: ridge #5f8083ce 5px;
    border-radius: 15px;
    width: 25cm;
    height: auto;
    background: linear-gradient(0deg,#0c1112 36%, #242f34f3 71%);
    box-shadow: #ffffff 0px 0px 50px;
    display: inline-grid;
    row-gap: 10px;
    grid-template-columns: minmax(auto) 1fr 4fr 1fr;
    grid-template-rows: minmax(100px 100px 100px);
    grid-template-areas: 
    'header header header'
    'aa aa aa'
    'comic comic comic'
    'bb bb bb';
}
.page-header {
    grid-area: header;
    border-top-left-radius: 10px;border-top-right-radius: 10px;
    background-image: url(TRGMPIC/GIF5.gif);
    background-size: 25.5cm 305px;
    margin: 0 -2px;
    width: 25.05cm;
    height: 8cm;
    display: inline-grid;
    grid-template-columns: minmax(auto) 1fr 4fr 1fr;
    grid-template-rows: minmax(100px 100px);
    grid-template-areas: 
    'hd1 ENGTT ENGTT'
    'hd1 ENGTT ENGTT'
    'hd1 ENGTT ENGTT'
    'hd1 ENGTT ENGTT';
}
.page-aa {
    grid-area: aa;
    border: 0px solid #37ff005a;
    width: 100%;
    height: auto;
    column-gap: 2px;
    row-gap: 2px;
    display: inline-grid;
    grid-template-columns: minmax(auto) 1fr 4fr 1fr;
    grid-template-rows: minmax(100px 100px);
    grid-template-areas: 
    'a1 a2';
}
.page-comic {
    grid-area: comic;
    border: 0px solid #00d5ff;
    display: block;
    width: 25cm;
    height: auto;
}
.page-bb {
    grid-area: bb;
    border: 0px solid #c300ff;
    width: 25cm;
    height: auto;
}
.ENGTT, .LATT, .THTT, .ENG, .LA, .TH {
  display: none;
}
/*/////////////////////////////////////////////////////////////////////////*/
#logo img {
    position: absolute;
    width: 400px;
    margin: 3.8cm -10cm;
}
.hd1 {
    grid-area: hd1;
    border: 0px solid #ff0000;
    margin: 2px 0;
    width: 380px;
    height: 300px;
}
.hd1 img {
    width: auto;
    height: 300px;
    margin-right: 25px;
}
#ENGhd2 {
    grid-area: hd2;
    border: 0px solid #ff0000;
    color: #3b4c4e;font-family: "Shippori Mincho B1", serif;font-weight: 400;font-size: 1rem;
    text-shadow: #4a5e6e 1px 3px 5px;
    margin: 0 20px;
    width: auto;
}
#ENGhd3 {
    grid-area: hd3;
    border: 0px solid #ff0000;
    color: #6b8183;font-family: "Shippori Mincho B1", serif;font-weight: 400;font-size: 0.68rem;
    text-shadow: #6c8ea8 1px 3px 4px;
    line-height: 1.7;
    margin: 20px 25px;
    width: 520px;
    height: 170px;
}
#ENGhd4 {
    grid-area: hd4;
    border: 0px solid #ff0000;
    color: #a00000e9;;font-family: "Shippori Mincho B1", serif;font-weight: 200;font-size: 0.7rem;
    text-shadow: #860000 1px 3px 5px;
    margin-left: -10px;margin-top: -30px;
    width: auto;
}
#LAhd2 {
    grid-area: hd2;
    border: 0px solid #ff0000;
    color: #3b4c4e;font-family: "Noto Sans Lao", sans-serif;font-weight: 400;font-size: 1rem;
    text-shadow: #4a5e6e 1px 3px 5px;
    margin: 0 20px;
    width: auto;
}
#LAhd3 {
    grid-area: hd3;
    border: 0px solid #ff0000;
    color: #57696b;font-family: "Noto Sans Lao", sans-serif;font-weight: 400;font-size: 0.72rem;
    text-shadow: #557084 1px 3px 4px;
    line-height: 2;
    margin: 00px 25px;
    width: 520px;
    height: 170px;
}
#LAhd4 {
    grid-area: hd4;
    border: 0px solid #ff0000;
    color: #800000;font-family: "Noto Sans Lao", sans-serif;font-weight: 400;font-size: 0.7rem;
    text-shadow: #750000 1px 3px 5px;
    margin-left: -10px;margin-top: -22.5px;
    width: auto;
}
#THhd2 {
    grid-area: hd2;
    border: 0px solid #ff0000;
    color: #3b4c4e;font-family: "Anuphan", sans-serif;font-weight: 400;font-size: 1rem;
    text-shadow: #4a5e6e 1px 3px 5px;
    margin: 0 20px;
    width: auto;
}
#THhd3 {
    grid-area: hd3;
    border: 0px solid #ff0000;
    color: #57696b;font-family: "Anuphan", sans-serif;font-weight: 400;font-size: 0.78rem;
    text-shadow: #557084 1px 3px 4px;
    line-height: 1.9;
    margin: 20px 25px;
    width: 520px;
    height: 170px;
}
#THhd4 {
    grid-area: hd4;
    border: 0px solid #ff0000;
    color: #800000;font-family: "Anuphan", sans-serif;font-weight: 400;font-size: 0.7rem;
    text-shadow: #750000 1px 3px 5px;
    margin-left: -10px;margin-top: -26px;
    width: auto;
}
.hd5 {
    grid-area: hd5;
    border: 0px solid #ff0000;
    margin-top: 10px;
    width: 250px;
    height: 30px;
}
.hd5 a {
    text-shadow: #000000 0px 0px 5px,#000000 0px 0px 5px, #000000 0px 0px 10px;
    color: #a00000;font-family: "Shippori Mincho B1", serif;font-weight: 400;font-size: 1rem; margin-right: 10px;
}
.hd5 a.active {
    text-shadow: #000000 0px 0px 5px, #000000 0px 0px 5px, #5d6a6f 0px 0px 10px, #ffffff 0px 0px 20px;
    color: #ff0000;font-family: "Shippori Mincho B1", serif;font-weight: 400;font-size: 1rem; margin-right: 10px;
}
/*/////////////////////////////////////////////////////////////////////////*/
.a1 {
    grid-area: a1;
    border: 0px solid #11ff00;
    background-image: url(TRGMPIC/PP.png);
    background-size: 18cm 4cm;
    width: 18cm;
    height: 4cm;
    margin-top: 20px;margin-left: 30px;
    display: flex;
}
.a1 img {
    margin-top: -33px;margin-left: -20px;
}
.a1 h2 {
    font-family: "Caveat", cursive;
    font-size: 1.2rem;
    position: absolute;
    color: #585140;
    width: 500px;
    margin-top: 15px;margin-left: 120px;
    line-height: 1.3
}
input {
    font-family: "Caveat", cursive; font-style: oblique; font-size: 2rem; font-weight: 800;
    width: 300px;
    height: 40px;
    margin-top: 80px; margin-left: 10px;
    background: none; outline: none; border: none; color: #920000;
}
#userbutton {
    font-family: "Caveat", cursive; font-weight: 800;
    font-size: 2.3rem;
    width: 3cm;
    height: 40px;
    margin-top: 80px; margin-left: 30px;
    cursor: url('TRGMPIC/cursor.cur'), pointer;
    background: none; outline: none; border: none; color: #585140;
}
.a1 p {
    margin-top: -5px; margin-left: -20px;
}
.a1 p:hover {
    color: #920000;
}
.a2 {
    grid-area: a2;
    border: 0px solid #ff0000;
    width: 5cm;
    height: 5cm;
}
.a2 a{
    cursor: url('TRGMPIC/cursor1.cur'), pointer;
}
/*/////////////////////////////////////////////////////////////////////////*/
.ENG, .LA, .TH {
    border: 0px solid #00aaff;
    display: flex;
    flex-wrap: wrap;
    max-width: 25cm;
    width: 25cm;
    height:auto;
}
.EP {
    border: 0px solid #ffffff;
    cursor: url('TRGMPIC/cursor1.cur'), pointer;
    margin: 10px 15px;
    width: 125px;
    height:150px;
}
.EP:hover h1{
    color: red;
    text-shadow: 0 3px 5px #b90000;
}
.EP:hover p{
    color: red;
    text-shadow: 0 3px 5px #b90000;
}
.EP img {
    width: 115px;
    height:auto;
    border: 2px ridge #7676764f;
    box-shadow: 0 0px 5px #6b6b6b;
}
.EP:hover img {
    filter: invert(90%);
    border: 2px ridge #9dd6ffc6;
    box-shadow: 0 5px 8px #c3fbff;
}
a{
    text-decoration: none;
}
.ENGEPH h1{
    border: 0px solid #ffffff51;
    color: #5e7f86;font-family: "Shippori Mincho B1", serif;font-weight: 600;font-size: 0.9rem;
    text-shadow: 0 0px 5px #59777e;
    margin-top: -0px;
    width: 125px;
    height:auto;
}
.ENGEPT p{
    border: 0px solid #ffffff61;
    color: #98b5ba;font-family: "Shippori Mincho B1", serif;font-weight: 400;font-size: 0.65rem;font-style: italic;
    text-shadow: 0 0px 5px #89a6ab;
    margin-top: -8px;
    width: 125px;
    height:auto;
}
.LAEPH h1{
    border: 0px solid #ffffff51;
    color: #5e7f86;font-family: "Noto Sans Lao", sans-serif;font-weight: 600;font-size: 1rem;
    text-shadow: 0 0px 5px #59777e;
    margin-top: -1px;
    width: 125px;
    height:auto;
}
.LAEPH:hover h1{
    color: #a50000;
    text-shadow: 0 3px 5px #880000;
    font-size: 1rem;
    width: 125px;
    height:auto;
}
.LAEPT p{
    border: 0px solid #ffffff61;
    color: #98b5ba;font-family: "Noto Sans Lao", sans-serif;font-weight: 400;font-size: 0.65rem;font-style: italic;
    text-shadow: 0 0px 5px #89a6ab;
    margin-top: -12px;
    width: 125px;
    height:auto;
}
.LAEPT:hover p{
    color: red;
    text-shadow: 0 3px 5px #b90000;
}
.THEPH h1{
    border: 0px solid #ffffff51;
    color: #5e7f86;font-family: "Anuphan", sans-serif;font-weight: 600;font-size: 1rem;
    text-shadow: 0 0px 5px #59777e;
    margin-top: -0px;
    width: 125px;
    height:auto;
}
.THPH:hover h1{
    color: #a50000;
    text-shadow: 0 3px 5px #880000;
    font-size: 1rem;
    width: 125px;
    height:auto;
}
.THEPT p{
    border: 0px solid #ffffff61;
    color: #98b5ba;font-family: "Anuphan", sans-serif;font-weight: 400;font-size: 0.65rem;font-style: italic;
    text-shadow: 0 0px 5px #89a6ab;
    margin-top: -8px;
    width: 125px;
    height:auto;
}
.THEPT:hover p{
    color: red;
    text-shadow: 0 3px 5px #b90000;
}
/*/////////////////////////////////////////////////////////////////////////*/
.b1 {
    width: 25cm;
    height: auto;
    border: 0px solid white;
    display: inline-grid;
    column-gap: 0px;
    row-gap: 0px;
    grid-template-columns: minmax(auto) 1fr 4fr 1fr;
    grid-template-rows: minmax(100px 100px 100px 100px);
    grid-template-areas: 
    'POLI POLI POLI'
    'ALLFILE TV TELL'
    'ALLFILE TEP TEP';
}
.POLI {
    grid-area: POLI;
    background-image: url(TRGMPIC/GIF1.gif);
    background-size: 25.5cm 8.5cm;
    display: flex;
    width: 25cm;
    height: 8cm;
    border: 0px solid #ff0000;
}
.ALLFILE {
    grid-area: ALLFILE;
    width: 8cm;
    height: 11cm;
    border: 0px solid #bb00ff;
}
.TV {
    grid-area: TV;
    background-image: url(TRGMPIC/TV.jpg);
    background-size: 10cm 8cm;
    width: 10cm;
    height: 8cm;
    border: 0px solid #003cff;
}
.TEP {
    grid-area: TEP;
    background-image: url(TRGMPIC/AA.JPG);
    background-size: 17cm 3cm;
    width: 17cm;
    height: 3cm;
    border: 0px solid #00bbff;
}
.TELL {
    grid-area: TELL;
    background-image: url(TRGMPIC/AA.JPG);
    background-size: 7cm 8cm;
    width: 7cm;
    height: 8cm;
    border: 0px solid #00b81c;
}
.po1 img {
    position: absolute;
    border: 0px solid #b80000;
    margin: 4.7cm 9cm;
    width: auto;
    height: 120px;
}
.po2 img {
    border: 0px solid #b80000;
    width: auto;
    height: 210px;
    margin-left: 15cm;
    margin-top: 1.6cm;
}
.YURITEXT img {
    border: 0px solid #b80000;
    width: auto;
    height: 280px;
    margin-top: -8.5px;margin-left: 50px;
}
.YURITEXT button {
    cursor: url('TRGMPIC/cursor2.cur'), pointer;
    background-color: #ff000000;
    border: 0px solid #b80000;
    position: absolute;
    margin: 30px 1cm;
    width: 250px;
    height: 250px;
}
/*/////////////////////////////////////////////////////////////////////////*/
.notephone {
    margin: -8.6cm 0 0 -6.5cm;
}
#PH {
    width: 300px;
    margin: -5px 20px;
}
#phone {
    display: inline-block;
    position: absolute;
    margin: 135px 95px;
}
#show {
    width: 65px;
    height: 10px;
    background-color: #ced9e3;
    border: 1px solid #940000;
    font-family: "Silkscreen", sans-serif;font-size: 0.5rem;font-weight: 400;color: #000000;
    text-align: center;
}
.NUM {
    display: grid;
    grid-template-columns: repeat(3, 20px);
    gap: 3px;
    justify-content: center;
}
.num {
    width: 18px;
    height: 18px;
    cursor: pointer;
    cursor: url('TRGMPIC/cursor.cur'), pointer;
    background: linear-gradient(0deg, #8d8d8d 0%, #757575 11%, #adadad 34%, #e8e8e8 66%);
    border: 1.5px groove #c1c1c1;
}
.NTEXT {
    font-size: 10px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0 -1px;
}
.num:hover {
    background: linear-gradient(0deg, #adadad 0%, #5a5a5a 11%, #6d6d6d 24%, #919191 41%);
}
#submit {
    margin: -90px 0 0 -80px;
    width: 160px;
    height: 35px;
    background-color: #01e40100;
    border: none;
    position: absolute;
    cursor: pointer;
    cursor: url('TRGMPIC/cursor.cur'), pointer;
}
#reset {
    width: 40px;
    height:180px;
    margin: -130px 0 0 130px;
    background-color: #ffffff00;
    transform: rotate(20deg);
    display: none;
    border: none;
    position: absolute;
    cursor: pointer;
    cursor: url('TRGMPIC/cursor.cur'), pointer;
}
/*/////////////////////////////////////////////////////////////////////////*/
.ALLFILE {
   background-image: url(TRGMPIC/A1.jpg);
    background-size: 8cm 11cm; 
}

.TEP img {
    width: 225px;
    height:auto;
    margin-top: 10px; margin-left: 75px;
    position: absolute;
    cursor: url('TRGMPIC/cursor1.cur'), pointer;
}
.bigbord {
    width: 100%;
    height:15cm;
    background-image: url(TRGMPIC/CC.jpg);
    background-size: 25cm 15cm;
}
/*----- custom scrollbar ----- */
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-track{
    background: #000000;
}
::-webkit-scrollbar-thumb{
    background-color: #949494;
    box-shadow: inset -1px -1px #000000, inset 1px 1px #bdbdbd, inset -2px -2px #002c32, inset 2px 2px #d3d3d3;
}
::-webkit-scrollbar-corner {
    background: #202020;
}