@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500&display=swap');
@font-face {font-family: FT_Meuang_BL;src: url('../../font/FT Meuang BL-Bold.ttf');}
@font-face {font-family: DB_Adman;src: url('../../font/DB Adman X BdIt.ttf');}
@font-face {font-family: Sarun_Manorah;src: url("../../font/Sarun's Manorah.ttf");}
@font-face {font-family: BLK_BangLi;src: url("../../font/BLK-BangLi-Ko-Sa-Na.ttf");}
@font-face {font-family: KT_Smarn;src: url("../../font/kt_smarn.ttf");}
:root 
{
    /*--a-color: #757575;
    --main-color: #74C043;
    --hover-color: #720202 ;
    --bg-gray: #e5e5e5;
    --error-color:#e53935;*/

    --a-color: #757575;
    --main-color: #365589;
    --hover-color: #082044;
    --bg-gray: #e5e5e5;
    --error-color:#e53935;
}
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    touch-action: manipulation;
}
body, html
{
    height: 100vh;
    overflow-x: hidden;
}
section
{
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#bg{
    background: linear-gradient(rgba(201, 201, 201, 0.527), rgba(201, 201, 201, 0.527)),
    url("../img/bg-1.jpeg") no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100vh;
}
a {
    color: var(--main-color);
}
a:hover{
    color: var(--hover-color);
}

.btn{
    border-radius: 0px !important;
}
.btn-primary
{
    background-color:var(--main-color) !important;
    border-color:var(--main-color) !important;
    border-radius: 0px !important;
}
.btn-primary:hover
{
    background-color:var(--hover-color) !important;
    border-color:var(--hover-color) !important;
}
.modal-content, .btn-outline-primary{
    border-radius: 0px;
}
.error-page{
    margin-top: 20vh;
}
.overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.8) url("../../admin/img/loading.gif") center no-repeat;
}
body.loading{
    overflow: hidden;   
}
body.loading .overlay{
    display: block;
}
/* ============================
# Navbar
=============================== */
#navbar
{
    width: auto; 
    border-radius: 0px 0px 20px 0px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;

    background-color: #036AA9;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

#navbar a 
{
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 1vw;
}
  #navbar a:hover 
  {
    color: #FFC700
  }
/* ============================
# Logo
=============================== */
section #brand-logo{
    width: 100%;
    position: absolute;
    top: 25px;
}
#brand-logo img
{
    margin-left: 25px;
    width: 120px;
    height: auto;
    object-fit: cover;
}

/* ============================
# Main Menu
=============================== */
#main-menu
{
    width: 100%; 
    overflow: hidden;
    position: fixed;
    bottom: 0;
    text-align: center;
    z-index: 1;
}
#main-menu ul 
{
    display: inline-block;
    list-style-type: none;
    padding: 0 10px !important;
    margin-bottom: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
#main-menu li 
{
    float:left;
}

#main-menu a
{
    display:block;
    text-align:center;
    text-decoration:none; 
    color: #fff;
    padding: 20px;
    font-size: 1.3vw;
}
    #main-menu a:hover
    {
        background: #ddd;
        color: black;
    }
.menu-active a
{
    background-color: var(--main-color) !important;
    color: #fff !important;
    opacity: 1 !important;
}

@media (max-width: 1024px) 
{
    #bg{
        background-attachment: fixed;
    }
    section
    {
        position: unset;
        /*display: unset;*/
    }
    section .mobile-col
    {
        width: 100%;
        height: auto;
        float: left;
    }
    #brand-logo img
    {
        width: 100px;
    }

    /* ============================
    # Main Menu
    =============================== */
    #main-menu ul {
        margin-bottom: 0px;
    }

    /* ============================
    # Highligh
    =============================== */
    #highligh-inner
    {
        position: unset;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 100%;
        height: 100%;
        padding: 25px;

        float: left;
        margin-top: 20vh;
    }

    /* ============================
    # Sponsor
    =============================== */
    #sponsor-inner
    {
        position: unset;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 100%;
        height: 100%;

        float: left;
    }
    #sponsor-inner img.sponsor-item
    {
        width: 30%;
        height: 30%;
        margin: 3% 10%;
    }

    /* ============================
    # Contact
    =============================== */
    #contact-inner
    {
        position: unset;
        top: 0;
        right: 0;
        transform: translate(0, 0);
        width: 100%;
        height: 100%;

        float: left;
        margin-bottom: 25vh;
    }
    #contact-inner .contact-image{
        margin: 0 5% 0 5%;
    }
    #contact-inner .contact-container .btn-go-contact
    {
        width: 90%;
        position: absolute;
        z-index: 1;
        float: left;
        margin-left: 25px;
    }
}

@media (max-width: 960px) 
{
    #brand-logo
    {
        padding-top: 30px;
        text-align: center;
    }
    #brand-logo img
    {
        margin-left: 0px;
    }
    #navbar
    {
        width: 100%; 
        margin-right: 0px !important;
        margin-left: 0px !important;
        border-radius: 0px !important;
    }
    .nav-center{
        width: auto;
        display: flex;
        justify-content: center;
    }
}

/* ============================
# Main-hall
=============================== */
/*section img#bg-hall
{
    width: 100%; 
    height: 100%; 
    position: relative;
}*/

/* portrait */
@media screen and (orientation: portrait) {
    body
    {
        height: 100vw;
        overflow-x: hidden;
    }
    html {
      transform: rotate(-90deg);
      transform-origin: left top;
      width: 100vh !important;
      height: 100vw !important;
      position: absolute;
      top: 100%;
      left: 0;
      font-size: 1.3vw;
    } 
    #bg{
        background: linear-gradient(rgba(201, 201, 201, 0.527), rgba(201, 201, 201, 0.527)),
        url("../img/bg-1.jpeg") no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        width: 100vh !important;
        height: 100vw !important;
        transform-origin: left top;
        position: absolute;
        top: 0;
        left: 0;
    }
    #navbar a 
    {
        font-size: 1.3vw;
    }
    #main-menu a 
    {
        font-size: 5vw !important;
        padding: 1vw 2vw !important;
    }
    #brand-logo img
    {
        width: 13vw !important;
    }
    /*section img#bg-hall
    {
        width: 100vh !important;
        height: 100vw !important;
    }*/
    section img.bg-booth
    {
        width: 100vh !important;
        height: 100vw !important;
    }
    .carousel, .carousel-inner, .carousel-item{
        width: 100vh !important;
        height: 100vw !important;
    }
    section img#bg-stage
    {
        width: 100vh !important;
        height: 100vw !important;
    }

    .as-textnode, .as-okButton, .as-cancelButton
    {
        font-size: 1.3rem !important;
    }
    
    /* Live Popup */
    #live-popup
    {
        width: 20vh !important;
        height: 20vw !important;
    }
}
#error_346730bc9c31bdd8f8c31d2bb4d7567e8e6e0089
{
    display: none;
}