@font-face {
    font-family: 'Kanit';
    src: url('https://www.sbobet24hr.se.net/wp-content/themes/sbobet24hr_2023/font/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simi';
    src: url('https://www.sbobet24hr.se.net/wp-content/themes/sbobet24hr_2023/font/psl150_0-webfont.woff2') format('woff2'), url('https://www.sbobet24hr.se.net/wp-content/themes/sbobet24hr_2023/font/psl150_0-webfont.woff') format('woff'), url('https://www.sbobet24hr.se.net/wp-content/themes/sbobet24hr_2023/font/psl150_0-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.topmenu .container {
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

.no-f {
    border-right: 0px !important;
}

.col {
    flex: auto !important;
}

body {
    background-image: url(img/bg-main.webp);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.topmenu {
    position: fixed;
    top: 0px;
    z-index: 100;
    width: 100% !important;
    font-family: 'Kanit';
}

.tab-top {
    background: linear-gradient(180deg, rgb(7 43 93) 0%, rgba(8, 52, 111, 1) 50%, rgb(10 72 156) 100%)!important;
    text-align: right !important;
    padding-top: 5px;
    min-height: 35px;
    box-shadow: 1px 1px 8px 4px #000000eb;
}

.con-info {
    background-color: #0909097d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.yl {
    color: #ffb955;
}

#trapezoid {
    border-top: 62px solid #00000000;
    border-left: 0px solid transparent;
    border-right: 0px solid transparent;
    height: 0;
    width: 100%;
}

.navbar {
    /*background:#000000a1;*/
}

.menu {
    top: -70px !important;
    position: relative;
    color: #fff !important;
    background-color: #000000d6;
}

.menu .logo {
    width: 150px;
}

.nav-link {
    color: #fff !important;
}

.banner,
.banner-page {
    background-color: #000;
    background-image: url(img/bg-head-mb.webp);
    background-position: top center;
    background-size: cover;
    padding-top: 70px !important;
}

.banner-page {
    height: 400px;
    text-align: center;
    padding-top: 110px;
}

.banner .container {
    padding-top: 50px;
}

.regis {
    background: linear-gradient(180deg, rgb(7 43 93) 0%, rgba(8, 52, 111, 1) 50%, rgb(10 72 156) 100%)!important;
    box-shadow: 1px 1px 8px 4px #000000eb;
    height: auto;
    box-shadow: 1px 1px 8px 4px #000000eb;
}

.regis-info {
    padding-top: 10px;
    color: #fff;
    font-family: 'simi';
    margin-top: 15px;
    font-size: 20px;
    line-height: 20px;
}

.line-bt {
    border-bottom: 4px groove #255f9a57;
}

.noline-bt {
    border-bottom: 0px;
}

.intro .container {
    background-color: #0000007d;
    color: #fff;
    padding: 20px;
    /* padding: 20px 10px 0px 20px;*/
    border-radius: 0px 0px 10px 10px;
}

p {
    font-size: 15px;
    font-family: 'Kanit';
}

.topic {
    font-family: 'simi';
    font-size: 36px;
    color: rgb(3 64 145);
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 4px 5px 5px #000;
    text-align: center;
}

.detail-intro {
    padding: 30px;
    padding-top: 0px;
}

.contact {
    background: linear-gradient(180deg, rgb(9 31 108) 0%, rgba(1, 20, 76, 1) 50%, rgb(56 94 209) 100%)!important;
    box-shadow: 1px 1px 8px 4px #04459b;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    padding: 20px;
}

section {
    margin-bottom: 20px;
}

.box-con {
    background-color: #0000008c;
    padding: 20px;
    border-radius: 10px;
    font-size: 24px;
    font-family: 'kanit';
}

.box-con span {
    color: #0d56ba;
}

.contact h6 {
    font-size: 22px;
}

.lineid {
    color: lawngreen;
    background-color: #fff3;
    border-radius: 20px;
    border: 1px solid #ffffffa6;
    max-width: 220px;
    margin: 0 auto;
    margin-top: 10px!important;
    font-size: 18px;
}

.con-line {
    width: 70%;
    margin: 0 auto;
}

.bg-box,
.why,
.sb-regis,
.sec-tag {
    background-color: #0000008c;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'kanit';
    color: #fff;
    margin-bottom: 20px;
}

.bg-sbo {
    background-color: #0000008c;
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
    color: #fff;
}

.why h6 {
    color: #055bff;
    font-family: 'simi';
    font-size: 24px;
}

.why-left {
    padding-top: 60px;
}

.why-right {
    padding-top: 60px;
    text-align: left;
}

.box-why {
    margin-bottom: 30px;
}

.box-regis {
    line-height: 35px;
    padding: 30px;
    padding-top: 50px;
}

.box-regis p {
    font-size: 16px !important;
}

footer {
    background: linear-gradient(180deg, rgb(7 43 93) 0%, rgba(8, 52, 111, 1) 50%, rgb(10 72 156) 100%)!important;
    text-align: center;
    padding-top: 5px;
    height: auto;
    box-shadow: 1px 1px 8px 4px #000000eb;
    padding-bottom: 5px;
}

.menu-foot {
    text-align: center;
    list-style: none;
    font-family: 'kanit';
    font-size: 14px;
    margin-top: 20px;
}

.menu-foot .nav-f {
    padding-left: 15px;
    padding-right: 15px;
    border-right: 1px solid #fff;
    color: #fff;
}

.cr {
    background-color: #0000008c;
    color: #ffffff6e;
    text-align: center;
    font-family: 'kanit';
    font-size: 14px;
    padding: 3px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.con-info {
    background-color: #0909097d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    display: block;
    width: 350px;
    margin: 0 auto;
    margin-bottom: 5px;
}

.tab-top {
    text-align: center !important;
    padding-bottom: 5px;
    padding-top: 5px;
}

.menu-icon {
    width: 40px;
    opacity: 0.7;
}

.silver {
    border-radius: 20px;
    background: linear-gradient(90deg, rgb(83 91 94) 0%, rgb(254 254 254) 25%, rgb(165 168 170) 50%, rgb(254 254 254) 75%, rgb(83 91 94) 100%);
    padding: 4px;
    /* width: 60%;*/
    margin: 0 auto;
    margin-bottom: 20px;
}

.bg-topic {
    background-color: #09090945;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #c0c0c047;
}

.txt-b {
    -webkit-background-clip: text;
    position: relative;
    display: inline-block;
    line-height: 0.9!important;
    margin-bottom: 10px;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px #e1e1e1);
    background-image: -webkit-linear-gradient(right, #0128b0 0, #002182 30%, #385ed1 50%, #002182 72%, #385ed1 100%);
    font-weight: 700;
    margin-bottom: 0px;
    text-align: center;
    font-family: 'simi', 'sans-serif';
    font-size: 30px;
}

.servicr,
.sbosport {
    /* padding: 0px;*/
}

.line-con {
    margin-top: 20px;
    margin-bottom: 20px;
}

.num {
    width: 60px;
}

.topic-page {
    font-family: 'simi', 'sans-serif';
    font-size: 30px;
    width: 80%;
    margin: 0 auto;
}

.txt-s {
    -webkit-background-clip: text;
    position: relative;
    display: inline-block;
    line-height: 1!important;
    margin-bottom: 5px;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px #000);
    background-image: -webkit-linear-gradient(top, #e0e0e0 20%, #e4e4e4 30%, #a5a5a5 50%, #ffffff 60%, #9c9c9c 90%);
    font-weight: 700;
    margin-bottom: 0px;
    text-align: center;
    font-family: 'simi', 'sans-serif';
    font-size: 30px;
}

.detail {
    background-color: #0000008c;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'kanit';
}

.detail {
    color: #fff;
}

.detail img {
    margin: 0 auto;
    display: block;
}

.detail p {
    font-size: 15px;
    font-family: 'Kanit';
    line-height: 1.8;
}

.detail a {
    text-decoration: none;
}

.dt-ent {
    border-radius: 0 0 10px 10px;
}

.btn-ent {
    width: 100%;
    border-radius: 10px;
}

.btn-ent .bg-topic {
    border-radius: 10px;
    background-color: #09090973;
    border: 1px solid #8181811a;
}

.txt-btn {
    font-family: 'Tahoma';
    font-size: 16px;
    font-style: normal;
    text-decoration: none;
}

.tb {
    padding: 10px;
}

.box-tb {
    background-color: #000000b5;
    color: #fff;
    border-radius: 20px;
}

.bd-pro {
    box-shadow: 0 0 4px 4px rgb(85 156 225), 0 0 20px 5px rgb(77 111 154 / 93%), 2px 2px 17px 6px rgb(48 118 198 / 50%) inset;
    border: 2px solid #497fd1;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dt-pro {
    padding: 5px;
    font-size: 16px;
}

.bg-box li {
    font-size: 15px;
}

.box-news {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.box-c div.img-n {
    border-radius: 10px;
    display: block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #0c4dac;
    ;
}

.box-c {
    border-radius: 10px;
    margin-top: 2px;
    color: #fff;
}

.box-c div.img-n:after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 55%;
}

.dt-news {
    color: #fff;
    font-size: 15px;
}

b,
strong {
    font-weight: bolder;
    color: #0559f3;
}

.banner,
.banner-page {
    padding-top: 140px;
}

.mm-foot {
    position: fixed;
    bottom: 0px;
    z-index: 9999;
    width: 100%;
}

.btn-f-line {
    background: linear-gradient(to bottom, rgb(63 153 52) 0%, rgb(140, 241, 95) 50%, rgba(68, 188, 15, 1) 100%);
    border-radius: 40px 40px 0px 0px;
    border: 2px solid #3bad18;
    text-align: center;
    color: #fff !important;
    box-shadow: 1px -1px 3px 2px #0000004a;
}

@media (min-width:576px) {}

@media (min-width:768px) {
    .flex-container .col {
        display: flex;
        flex-direction: column;
    }
    .flex-container .col .bd-pro {
        flex: 1;
    }
    .topic-page {
        width: 60%;
        margin: 0 auto;
    }
}

@media (min-width:810px) {}

@media (min-width: 992px) {
    .mm-foot {
        display: none;
    }
    .tab-top {
        text-align: right !important;
    }
    .con-info {
        text-align: center;
        display: inline-block;
        margin-bottom: 0px;
    }
    .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }
    #trapezoid {
        border-top: 80px solid #000000a1;
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        height: 0;
        width: 100%;
    }
    .menu {
        top: -50px !important;
        background-color: #00000000;
    }
    .menu .logo {
        width: 200px;
    }
    .banner,
    .banner-page {
        background-image: url(img/bg-head.webp);
        background-position: top center;
        background-size: cover;
    }
    .banner-page {
        box-shadow: 1px 1px 8px 4px #000000eb;
    }
    .num {
        position: relative;
        top: -10px;
        width: 70px;
    }
    .regis {
        height: 105px;
    }
    .regis-info {
        margin-top: 0px;
    }
    .noline-bt {
        border-bottom: 0px !important;
        margin-top: 15px;
    }
    .line-bt {
        border-right: 4px groove #255f9a57;
        border-bottom: 0px;
        height: 90px;
        margin-top: 15px;
    }
    .intro h1 {
        padding-top: 0px;
    }
    .line-con {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .con-line {
        width: 100%;
        margin: 0 auto;
    }
    .padtop {
        padding-top: 70px;
    }
    .why-right {
        text-align: right;
    }
    .box-why .d-lg-block {
        display: inline !important;
    }
}

@media (min-width: 1200px) {
    .topic-page {
        width: 35%;
    }
    .navbar-nav .nav-link {
        padding-left: 13px !important;
        padding-right: 13px!important;
        font-size: 15px;
    }
    .num {
        position: relative;
        top: -30px;
        width: 70px;
    }
    .padtop {
        padding-top: 120px;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1140px !important;
    }
}

@media (min-width: 1600px) {}

.tags a {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    position: relative;
    margin: 0 16px 8px 0;
    padding: 0 10px 0 12px;
    background: #777;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 12px;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.tags a:before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    width: 0;
    height: 0;
    border-color: transparent #3243A5 transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
}

.tags a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 1px;
    float: left;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.4);
}

.tags a.color5 {
    background: #3243a5;
}

.tags a.color5:before {
    border-color: transparent #3243a5 transparent transparent;
}

@media (max-width: 991px) {
    .banner {
        margin-top: 100px;
    }
}


/* =========================
   MOBILE FIXED IMAGE MENU
========================= */

.mobile-fixed-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
}

.mobile-fixed-menu-inner {
    position: relative;
    width: 100%;
    line-height: 0;
    pointer-events: auto;
}

.mobile-menu-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


/* กันเนื้อหาด้านล่างโดน menu บัง */

body {
    padding-bottom: 120px;
}


/* แสดงเฉพาะมือถือ */

@media (min-width:769px) {
    .mobile-fixed-menu {
        display: none;
    }
    body {
        padding-bottom: 0;
    }
}


/* ========================================
   MOBILE PORTRAIT
======================================== */

.mobile-fixed-menu-inner {
    width: 100%;
    max-width: 500px;
}

body {
    padding-bottom: 120px;
}


/* ========================================
   MOBILE LANDSCAPE ปกติ
======================================== */

@media (orientation: landscape) and (max-height: 500px) {
    .mobile-fixed-menu-inner {
        max-width: 380px;
    }
    body {
        padding-bottom: 86px;
    }
}


/* ========================================
   LANDSCAPE จอเตี้ย
   เช่น iPhone / Android บางรุ่น
======================================== */

@media (orientation: landscape) and (max-height: 400px) {
    .mobile-fixed-menu-inner {
        max-width: 320px;
    }
    body {
        padding-bottom: 72px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    /* ส่วน header ใหญ่ไม่ต้อง fixed */
    .topmenu {
        position: relative !important;
        top: auto !important;
    }
    /* เหลือเฉพาะ menu bar ที่ fixed */
    .mobile-navbar {
        position: sticky;
        top: 0;
        z-index: 999;
    }
}