﻿@font-face {
    font-family: "GOTHIC";
    src: url("../lib/font/GOTHIC.TTF");
}

@font-face {
    font-family: "GOTHICBI";
    src: url("../lib/font/GOTHICBI.TTF");
}

@font-face {
    font-family: "GOTHICB";
    src: url("../lib/font/GOTHICB.TTF");
}

.field-validation-error, .validation-summary-errors {
    color: var(--bs-red);
}

.field-validation-valid, .validation-summary-valid {
    display: none;
}

.input-validation-error {
    border: 1px ridge var(--bs-red);
}

.validation-summary-errors ul {
    list-style-type: none;
}

html, body {
    height: 100%;
    margin: 0;
    padding-top: 60px;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    body.delegate-page {
        background: url('../img/info/delegate_frees/delegate_bg.jpg') no-repeat #1d1b03;        
        background-attachment: fixed;
        color: #fff;
    }

    body.accommodation-page {
        background: url('../img/info/accom_frees/accom_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
    }

    body.advertising-page {
        background: url('../img/info/adver_frees/adver_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
        background-position: center 80%;
    }

    body.branding-page {
        background: url('../img/info/branding_frees/branding_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
        background-position:center;
    }

    body.special-page {
        background: url('../img/info/special_frees/special_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
        background-position:center top;
    }

    body.oneonone-page {
        background: url('../img/info/1on1/1on1_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
        background-position:center bottom;
    }

    body.sponsor-page {
        background: url('../img/info/packages_frees/others_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
        background-position: center 80%;
    }
    body.sending-page {
        background: url('../img/info/sending/sending_bg.jpg') no-repeat #1d1b03;
        background-attachment: fixed;
        color: #fff;
        background-position: center 80%;
    }

main {
    flex: 1;
}
a {
    color: #f0d033;    
    transition: 0.5s;
    text-decoration: none;
}
a:hover, a:active, a:focus {
    color:#f9a79e;
    outline: none;
    text-decoration: none;
}
.text-danger {
    color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity)) !important;
}
.std_table, .std_table_noborder {
    border-collapse: collapse;
    margin-bottom: 20px;
    width: 100%;
    color: #fff;
}

.std_table_noborder td {
    color: #fff;
    padding: 10px 5px;
}



.std_table th {
    background-color: #bd1e09;
    color: #fff;
    border: solid thin #fff;
    padding: 10px 5px;
}

.std_table td {
    border: solid thin #fff;
    color: #fff;
    padding: 10px 5px;
}
/*==========main===========*/
.contentpadding{padding-top:15px;}
/*================about================*/
#about {
    padding-top: 100px;
}
.about_text{font-size:15px}
/*================agenda================*/
#agendas, #pricing, #registration, #about {
    scroll-margin-top: 140px;
}
.agenda_table th {
    background-color: #f9b0a9;
    border: 1px solid #1d1b03;
    color: #4c3810;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 0;
    text-align: center;
}
.agenda_table td {   
    border: 1px solid #1d1b03;
}
.agenda_table .std_table_sub {
    background-color: #bd1e09;
    color: #fff;
}
.agenda_table a:link {
    color: blue;
    text-decoration: none;
    font-weight:900;
}
.agenda_table a:hover, .agenda_table a:visited {
    color: blue;
    text-decoration: underline;
    font-weight: 900;
}

/*================start background detail================*/
#pricing {
    background-image: url('../img/info/pricing/delegate_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    transition: background-image 0.5s ease-in-out;
    min-height: 800px;
}
.split {
    background: url(../img/info/pricing/split.png) no-repeat;
    padding: 0 20px;
}
#pills-pricing .nav-item .nav-link {
    padding: 10px;
}

    #pills-pricing .nav-item .nav-link img {
        width: 120px;
    }

#registration {
    background-image: url('../img/info/registation/registation_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btn_register {
    color: #c5c5c5;
    background: url(../img/info/pricing/reserve_bt_bg.png) no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-position: center;
    width: 200px;
    height: 35px;
    border-radius: 10px;
    font-size: 14px;
    border: thin #FFF solid;
    font-weight: bold;
}

    .btn_register:hover {
        border: thin #FFF solid;
        color: yellow;
        font-weight: bold;
    }
/*================end background detail================*/

h1, h2, h3, h4 {
    font-weight: bold;
}

.section-header h1, .section-header h2, .section-header h3, .section-header h4 {
    text-align: center;
    position: relative;
    text-transform: uppercase;
}

hr.line {
    border-top: 4px solid #ee3f40;
    width: 170px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 30px;
    opacity: 1;
}

.table-transparent td {
    color: #fff;
    background-color: transparent !important;
}

.follow_us {
    background: #5b0303;
    height: 240px;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

    .follow_us .footer-link {
        color: #fff !important;
    }

        .follow_us .footer-link:hover {
            color: #f0d033 !important;
        }

.modal-content {
    color: #000000
}

.nav-pills .nav-link {
    color: var(--bs-danger);
}

    .nav-pills .nav-link.active {
        background-color: var(--bs-danger);
        color: var(--bs-secondary);
    }

/*==========sponsors=============*/
#event_sponsors .section-header {
    width: 35%;
    max-width: 1100px;
    margin: 0 auto 30px;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}
#event_sponsors .thankyou_title {
    color: #B71D22;
    font-weight: bold;
    padding-top: 30px;
}
#event_sponsors hr.spondorsLine {
    border-top: 4px solid #B71D22;
    opacity: 1;
}

.img-sponsor {
    height: 160px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

    .img-sponsor img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: all 0.4s ease-in-out;
    }

        .img-sponsor img:hover {
            transform: scale(1.2);
        }
/*================Navbar================*/
.background-navbar {      
    height: 130px;
}

/*===========navbar==============================*/
.navbar-theme {
    background:url(../img/info/top/top_bg.png);
    border-bottom: thin #c9c6c6 solid;
}
.navbar-nav .nav-link {
    /*border-right: 2px solid rgb(0, 0, 0);*/
    min-width: 100px;
    color: #808080;
    font-size: 16px;
}

    .navbar-nav .nav-link:hover {
        color: #b81b05;
    }

    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
        color: #b81b05;
    }


.dropdown-menu {
    color: #FFFFFF;
    background-color: #bd1e09;
    border: none;
}


.dropdown-item, .dropdown-item a:link, .dropdown-item a:active {
    color: #FFFFFF;
}

    .dropdown-item:hover {
        color: #F7DAA4;
        background-color: #bd1e09;
    }







/*===========Side bar==============================*/
#divSidebar{
    margin-top:20px;
}
.sidebar td {
    height: 100px;
}
/*===========DOWNLOAD AREA==============================*/
#downloads_area {
    position: absolute;
    margin-top: 22px;
    padding-left: 15px;
}
.downloads_bt {
    position: relative;
    z-index: 99;
    cursor: pointer;
}
.download_item {
    text-align: center;
    display: inline-block;
}
.download_box {
    position: relative;
    z-index: 9;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border: thin #FFF solid;
    margin-top: -60px;
    margin-left: 7%;
    width: 77.5%;
    display:none;
    background: rgba(160, 1, 7, 0.75);
}
.download_box a{
    color:#FFFFFF;
}
/*================bestpartner ================*/
.vote_box {
    margin: 18% 0 0 68%;
    position: absolute;
    z-index: 999;
    width: 300px;
    text-align: center;
}
.vote_bt img{
    width: 200px;
}
.vote_text {
    padding: 10px 0px;
    color: #FFF;
    font-size: 14px;
    font-weight: bold;
    text-shadow: rgb(14, 13, 12) 1px 0px 0px, rgb(14, 13, 12) 0.540302px 0.841471px 0px, rgb(14, 13, 12) -0.416147px 0.909297px 0px, rgb(14, 13, 12) -0.989993px 0.14112px 0px, rgb(14, 13, 12) -0.653644px -0.756803px 0px, rgb(14, 13, 12) 0.283662px -0.958924px 0px, rgb(14, 13, 12) 0.96017px -0.279416px 0px;
}
   /*================eDirectory popup================*/
    #DownloadFrmModal .modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 999; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }

    #DownloadFrmModal .modal-content {
        margin: 15% auto; /* 15% from the top and centered */
        width: 50%; /* Could be more or less, depending on screen size */
        background: #f9b0a9;
    }

    .close-button {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        margin-left: 95%;
    }

    .close-button:hover, .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

@media (min-width: 992px) {

     .navbar-nav.navbar-lg-bottom-right {
    flex-direction: row !important;
    width: auto !important;
    position: absolute !important;
    bottom: 0rem !important;
    right: 5rem !important;
    margin: 0 !important;
  }
    

    .disclaimer-text {
        color: #00A;
        line-height: normal;
        text-align: justify
    }

    /*================Booking================*/
    .bookingDate {
        cursor: pointer;
        border-radius: 4px;
    }

        .bookingDate:hover {
            font-weight: bold;
        }

        .bookingDate.selected {
            background-color: #198754;
            color: white;
        }

        .bookingDate.inRange {
            background-color: #d1e7dd;
        }

    .info-list {
        padding-left: 1.5rem;
    }

        .info-list li {
            list-style-type: disc;
            list-style-position: outside;
        }

    .info-label {
        display: inline-block;
        min-width: 220px;
    }

    .info-content {
        display: inline;
    }
}

@media (max-width: 1366px) {
    .navbar-brand {
        margin-left: -50px;
    }

    .vote_box {
        margin: 15% 0 0 62%;
    }



    .navbar-nav.navbar-lg-bottom-right {
        bottom: 0 !important;
        right: 0rem !important;
        margin: 0 !important;
        left: 300px;
    }

    .navbar-nav .nav-link {
        min-width: 110px;
        font-size: 14px;
    }
   
    .dropdown-item, .dropdown-item a:link, .dropdown-item a:active {
        font-size: 14px;
    }

    #downloads_area {
        margin-top: 2.4%;
    }
}
@media (max-width: 1200px) {
    .navbar-brand {
        margin-top: -10px;
        margin-left: -10px;
    }
    .navbar-nav.navbar-lg-bottom-right {       
        bottom: -.5rem !important;      
        left: 7rem;
    }
    .navbar-brand img {
        height: 110px;
    }
    .navbar-nav.navbar-lg-bottom-right {
        left: 180px;
    }

    .navbar-nav .nav-link {
        min-width: 105px;
        font-size: 13.5px;
    }
    .dropdown-item, .dropdown-item a:link, .dropdown-item a:active {
        font-size: 13.5px;
    }
    .bestpartner_box {
        margin: 12% 0 0 60%;
    }
    #downloads_area {
        margin-top: 3%;
    }
}

@media (max-width: 1024px) {

   
    .background-navbar {
        max-height: 150px;
    }
  
    .navbar-brand {
        margin-top: -40px;        
    }
    .navbar-brand img{
        height:100px;
    }
    .navbar-nav.navbar-lg-bottom-right {        
        left: 5%;            
    }
    #downloads_area {
        margin-top: 3.5%;
    }
    .download_detail {
        font-size: 12px;
    }
    .download_box {
        width:95%;
    }
    .vote_box {
        margin: 18% 0 0 70%;
    }
    .vote_bt img {
        width: 180px;
    }
}
/* class md */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        background-image: none;
        background-color: transparent;
        color: #ffc107;
    }
    .navbar-nav.navbar-lg-bottom-right {
        padding-left: 30px;
        background: rgba(231, 146, 140, 0.9)
    }
}
@media (max-width: 768px) {
    .navbar-brand {
        margin-top:  0px;
        margin-left: 20px;
    }
    .navbar-brand img {
        height: 120px;
        margin-top: -10px;
    }
    .smMenuBg {
        margin-left: -22px;
        margin-top: 20px;
    }
    .navbar-nav .nav-link {
        color: #1a0f02;
        margin-left:0px;
    }
    .navbar-toggler {
        margin-left: 0 !important;
        margin-right: 35px;
    }
    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .navbar-nav .nav-link:hover {
        color: #F7DAA4;
    }
    .dropdown-menu {
        color: #FFFFFF;
        border: none;
        background: #e7928c;
    }
    .dropdown-item:hover {
        color: #F7DAA4;       
    }
    .download_detail {
        font-size: 12px;
    }
    #downloads_area {
    margin-top: 7.5%;
    }
    
    .downloads_bt{display:none}
    .download_box {
        margin-left: 0%;
        width: 103%;           
    }
    .vote_box{
        margin: 15% 0 0 64%;
    }

    .vote_box img{
        width: 60%
    }

    .vote_text {
        font-size: 12px;
    }
}

@media (max-width: 767px) {

    .navbar-brand img {
        height: 100px;
        margin-top: -10px;
    }
    .navbar-toggler {
        margin-left: 0 !important;
        margin-right: 35px;
    }
    .vote_box {
        margin: 10% 0 0 45%;
    }
    .vote_bt img {
        width:40%
    }
    /* ==============================
   Downloads - Horizontal Bar
   ============================== */
    .downloads_bt {
        display: none
    }
    
    #downloads_area {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;        
    }

        #downloads_area .download_box {
            width: 100%;
            background: rgba(180, 30, 30, 0.85);

        }

        /* ให้รายการเรียงแนวนอน */
        #downloads_area .row {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            width: 105%;
            margin-top: 140px;
        }

            /* แต่ละ Item */
            #downloads_area .row > span {
                flex: 1 1 0 !important;
                width: auto !important;
                max-width: none !important;
                padding: 0 !important;
            }

        /* Icon + Text */
        #downloads_area .row {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            width: 110%;
            margin-top: 248px;
            margin-left: -20px;
        }
    .download_box a {
        color: #FFFFFF;
    }

    .download_item {
        padding: 10px;
    }



    .download_detail {
        font-size: 10px;
    }

    .bestpartner_box {
        margin: 8% 0 0 60%;
        width: 200px;
    }
}

    
  




