a:focus,
a:hover,
a:active,
a:visited,
a:link {
    outline: none;
}

textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active {
    outline: 0px !important;
    -webkit-appearance: none;
}

p {
    margin-bottom: 0;
}

dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 0;
}

a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}

.bg-light {
    background-color: rgba(0, 0, 0, 0) !important;
    border-radius: 10px;
    color: aqua !important;
}

.hight-top {
    height: 66px;
}

div:where(.swal2-container) button:where(.swal2-close):focus-visible {
    outline: none !important;
    box-shadow: inset 0 0 0 3px rgb(100 150 200 / 0%) !important;
}

div:where(.swal2-container) button:where(.swal2-close) {
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: 1.5em !important;
    height: 3.1em !important;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: -8.2em !important;
    padding: 0;
    overflow: hidden;
    transition: color .1s, box-shadow .1s;
    border: none;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0);
    color: #402c1d !important;
    font-family: monospace;
    font-size: 2.5em;
    cursor: pointer;
    justify-self: end;
}

/********************/
/****** Shrink ******/
/********************/
.hvr-shrink {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.hvr-shrink:hover,
.hvr-shrink:focus,
.hvr-shrink:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

/*************************/
/********* Theme *********/
/*************************/
.a-none:hover {
    text-decoration: none;
}

.bg-main {
    /* background: url(../images/main-bg.jpg) no-repeat center top; */
    background-size: cover;
    background-attachment: fixed
}

.footer {
    padding: 25px 0;
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
    background-color: #0d0d0d;
    text-align: center;
    /* border-top: 2px solid #780b07; */
    /* background: linear-gradient(to bottom, #610a03, #4d0802); */
}

/********************************/
/********* theme-topbar *********/
/********************************/
.theme-topbar-box {
    background-color: #142135;
    box-shadow: 0 0 10px 5px rgb(0 0 0 / 0.25);
    border-bottom: 2px solid #1b438a;
    background: linear-gradient(to top, #0b3274, #315daa);
    background: url(../images/bg-navbar.jpg) repeat center bottom;
}

.theme-topbar-ts-btn {
    background-size: 100% 100%;
    color: #ffffff !important;
    display: block;
    font-size: 16px;
    padding: 5px 12px;
    transition: all 200ms ease;
    font-weight: 500;
}

.theme-topbar-ts-btn.active,
.theme-topbar-ts-btn:hover {
    background-size: 100% 100%;
    color: #ffac31 !important;
    transition: all 200ms ease;
    text-decoration: none !important;
}

/*********************************/
/********* float-md-menu *********/
/*********************************/
a:hover {
    text-decoration: none !important;
}

.float-md-menu {
    z-index: 9;
    background-color: #1a1710 !important;
}

.btn-float-xs:hover {
    background-color: #71581d;
    border: 1px solid #71581d;
    color: #c8af6d;
    font-size: 14px;
    padding: 5px;
    text-align: center;
    text-decoration: none !important;
    transition: all 200ms ease;
    width: 100%;
    font-weight: 400;
}

.btn-float-xs {
    font-size: 14px;
    padding: 5px;
    text-align: center;
    text-decoration: none !important;
    transition: all 200ms ease;
    width: 100%;
    font-family: 'Kanit', sans-serif;
    background-color: #1a1710;
    border: 1px solid #453921;
    color: #735c3a;
    font-weight: 500;
}

.zoom-out-strong {
    opacity: 0;
    transform: scale(1.8);
    /* เริ่มจากขยายใหญ่กว่าปกติ */
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.zoom-out-strong.visible {
    opacity: 1;
    transform: scale(1);
    /* หดกลับมาปกติ */
}




.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


.fade-delay-1 {
    transition-delay: 0.2s;
}

.fade-delay-2 {
    transition-delay: 0.4s;
}

.fade-delay-3 {
    transition-delay: 0.6s;
}

.fade-delay-4 {
    transition-delay: 0.8s;
}

.fade-delay-5 {
    transition-delay: 1s;
}

/*******************************/
/********* Media Query *********/
/*******************************/
@media (min-width:1919px) {}

@media (min-width: 768px)and (max-width:991px) {
    /*.footer {
		margin-bottom: 35px;
	}*/
}

@media (min-width: 576px)and (max-width:767px) {
    .bg-main {
        background: url(../images/...) no-repeat center top;
    }

}

@media (max-width: 575px) {
    .bg-main {
        background: url(../images/...) no-repeat center top;
    }

    .footer {
        /*margin-bottom: 35px;*/
        font-size: 12px;
    }
}
