@font-face {
    font-family: "Prompt";
    src: url(../../public/font/prompt/Prompt-Light.ttf) format("truetype");
    font-weight: 100;
    font-style: normal;
}

:root {
    --color_main: #323232;
    --color_main2:#ffffff;
    --color_main_light: #ffe3d9;
    --color_grey: #323232;
    --color_grey_hover: #bcc2bc;
}

body,
th,
td {
    height: 100%;
    margin: 0;
    font-family: "Prompt";
    font-size: 14px !important;
}

.bg_head{
    background-color: var(--color_grey);
}

.bg_main {
    background-color: var(--color_main);
}

.bg_main2 {
    background-color: var(--color_main2);
}

.bg_grey {
    background-color: var(--color_grey);
}

.btn.btn_search {
    background-color: #FCC60A;
    color: #171717 !important;
    border: none;
}
.btn.btn_search:hover {
    background-color: #fff0bb;
    color: #171717 !important;
    border: none;
}


.btn.bg_main:hover {
    background-color: var(--color_main_light);
}

.bg_main_light {
    background-color: var(--color_main_light);
}

.bg_box{
    background: rgb(254,254,254);
    background: linear-gradient(180deg, rgba(254,254,254,1) 0%, rgba(237,237,237,1) 100%);
}

.tx_main {
    color: #000000;
    font-size: 0.9rem;
}

body {
    background: rgb(255,249,228);
    background: linear-gradient(340deg, rgb(253, 234, 166) 0%, rgba(255,255,255,1) 39%);
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
}

.tx_sm {
    font-size: 80%;
}

.tx_md {
    font-size: 90%;
}


#loader {
    top: 0;
    z-index: 99;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000000d0;
    color: #fff;
    text-align: center;
    padding-top: 38vh;
    box-sizing: border-box;
}

#banner_slideshow {
    margin-bottom: 20px;
}

.img_banner {
    position: relative;
    padding-bottom: 30%;
    height: 0;
}

.img_banner div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #666;
    overflow: hidden;
}


.img_car {
    position: relative;
    padding-bottom: 56%;
    height: 0;
}

.img_car div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img_review {
    position: relative;
    padding-bottom: 83.8%;
    height: 0;
}

.img_review div img {
    position: absolute;
    width: 100%;
}

.img_review div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}


.img_ar {
    position: relative;
    padding-bottom: 50%;
    height: 0;
}

.img_ar div.imgcut img {
    position: absolute;
    width: 100%;
}

.img_ar div.imgcut {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.card,
.card-img-top {
    border-radius: 0;
}

.youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.youtube iframe,
.youtube object,
.youtube embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.btn_cursor {
    cursor: pointer;
}

#btn_top {
    position: fixed;
    width: 50px;
    height: 50px;
    padding-top: 15px;
    text-align: center;
    cursor: pointer;
    bottom: 210;
    right: 30;
    background-color: var(--color_main);
    color: #ffffff;
    border-radius: 10px;
    transition: 0.2s;
    z-index: 100;
    -webkit-box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
}

#btn_top:hover {
    background-color: var(--color_main_light)
}

#btn_top i {
    color: #fff;
}

#btn_bt_call {
    position: fixed;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    bottom: 150;
    right: 30;
    color: #ffffff;
    border-radius: 10px;
    transition: 0.2s;
    z-index: 100;
    -webkit-box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    overflow: hidden;
}

#btn_bt_line {
    position: fixed;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    bottom: 90;
    right: 30;
    background-color: #4CC764;
    color: #ffffff;
    border-radius: 10px;
    transition: 0.2s;
    z-index: 100;
    -webkit-box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    overflow: hidden;
}

#btn_bt_fb {
    position: fixed;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    bottom: 30;
    right: 30;
    color: #ffffff;
    border-radius: 10px;
    transition: 0.2s;
    z-index: 100;
    -webkit-box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    box-shadow: 4px 2px 9px -3px rgba(0, 0, 0, 0.54);
    overflow: hidden;
}

#form_SH label.error {
    margin-top: 3px;
    color: #fe6a6a !important;
    font-size: em;
}

label.error {
    margin-top: 3px;
    color: #ff0000;
    font-size: 1em;
}

input[type="checkbox"].error,
input[type="text"].error,
input[type="text"]:read-only.error,
input[type="password"].error,
input[type="radio"].error,
input[type="time"].error,
input[type="file"].error,
input[type="search"].error,
textarea.error,
select.error,
select:disabled.error {
    background-color: #fed0d0 !important;
    color: #ff0000 !important;
    outline: #ff0000 auto 5px !important;
}

input[type="checkbox"]:focus.error,
input[type="text"]:focus.error,
input[type="text"]:focus:read-only.error,
input[type="radio"]:focus.error,
input[type="password"]:focus.error,
input[type="time"]:focus.error,
input[type="file"]:focus.error,
input[type="search"]:focus.error,
textarea:focus.error,
select:focus.error,
select:focus:disabled.error {
    background-color: #fed0d0 !important;
    color: #ff0000 !important;
    outline: #ff0000 auto 5px !important;
}

.pagination {
    float: right;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    padding-right: 3px;
}

.pagination li {
    float: left;
}

.pagination li a {
    padding: 3px 8px;
    background-color: #ffffff;
    border: 1px solid #7E8788;
    margin: 0;
    margin-right: 2px;
    color: #000000;
    text-decoration: none;
}

.pagination li a:hover {
    text-decoration: none;
    background-color: #7E8788;
    color: #fff;
}

.pagination li a.current_page {
    background-color: #7E8788;
    color: #fff;
}

a.linknon {
    text-decoration: dashed;
    color: #000000;
}

input,
textarea,
select {
    font-size: 0.95em !important;
}


.timeline {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.timeline .events {
    position: relative;
    background-color: #194693;
    height: 6px;
    width: 100%;
    border-radius: 4px;
    margin: 50px 0;
}

.timeline .events ol {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;

}

.timeline .events ul {
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}

.timeline .events ul li {
    display: inline-block;
    width: 22%;
    margin: 0 !important;
    padding: 0 !important;
}

.timeline .events ul li a {
    color: #194693 !important;
    text-decoration: none;
    position: relative;
    top: -35px;
}

.timeline .events ul li a:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    right: auto;
    height: 30px;
    width: 30px;
    border-radius: 10px;
    border: 3px solid var(--color_main);
    background-color: #194693;
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.timeline .events ul li a:hover::after {
    background-color: #194693;
    border: 3px solid var(--color_main);
}

.timeline .events ul li a.selected:after {
    border: 3px solid var(--color_main);
    background-color: #e3f517;

}

.timeline .events ul li a.selected {
    color: #eaff00 !important;
}

.btop td {
    border-top: 3px solid var(--color_main);
    ;
}

.bend td {
    border-bottom: 6px double var(--color_main);
    ;
}

.mem_menu {
    width: 100%;
    height: auto;
}

.mem_menu_side {
    top: 0px;
    width: 100%;
    height: auto;
    background-color: #ffffff;
}

.mem_menu_side ul {
    margin: 0px !important;
    padding: 0px !important;
}

.mem_menu_side ul li {
    margin: 0px !important;
    padding: 0px !important;
    list-style-type: none;
}

.mem_menu_side .btn_menu {
    background-color: #d3141400;
    border-right: 1px solid #DEE2E6 !important;
    border-bottom: 1px solid #c0c0c0 !important;
    width: 100%;
    color: #212121;
    padding: 0.75rem 1.25rem;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
}

.mem_menu_side .btn_menu.active {
    background-color: #ed4102 !important;
    color: #ffffff;
}

.mem_menu_side a {
    text-decoration: none;
}

.mem_menu_side .btn_menu a {
    color: #737373;
}

.mem_menu_side .btn_menu:hover {
    background-color: #ffe7da;
}

/* Line */
.upBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.upBox .upBox_detail {
    width: 100%;
    max-width: 1000px;
    height: 100%;
    max-height: 600px;
}

.upBox .upBox_close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Popup */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    display: none;
    max-width: 95%;
    max-height: 95%;
    overflow: auto;
}

.popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}


@media only screen and (max-width: 1000px) {
    .popup {
        top: 25%;
        max-width: 100%;
        max-height: 100%;
        width: 90%;
        height: 90%;
        transform: translate(-50%, 0);
        overflow: auto;
    }
}


.dropdown-menu {
    margin-right: 10px;
}

.dropdown-item {
    font-size: 14px !important;
}

a {
    text-decoration: dashed;
    color: #000000 !important;
}

a:hover {
    text-decoration: dashed;
    color: var(--color_main) !important;
}


.myTitle {
    padding: 0;
    /* width: 100% !important; */
    width: auto;
    position: relative;
}
.myTitle div:first-child {
    width: 60px;
    margin-right: 10px;
    position: relative;
    float: left;
}
.myTitle div:not(:first-child) {
    width: calc(100% - 100px);
    position: relative;
    float: left;
}

.barTitle {
    border-bottom: solid 1px #dbdbdb;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 10px;
}
.barBottom {
    margin-top: 15px;
    border: 2px solid var(--color_main);
}
.bgRed10 th, .bgRed10 td {
    background-color: #ffe6e6;
}

#banner_slideshow{
    margin-top: 80px;
}

.readonly-select {
    pointer-events: none;
    background-color: #f6f6f6;
}


#content-container {
    margin-top: 0; 
    transition: margin-top 0.3s ease; 
}

.col-logo{
    width: 60px !important;
    height: auto;
    padding: 0px !important;
}


#floating-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    z-index: 98;
  }
  
  .menu-button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #FCC60A;
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  .menu-button:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3); 
    transform: scale(1.05);
  }

  #menu-items {
    flex-direction: column;
    gap: 10px;
  }
  
  .menu-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    margin-bottom: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
  }
  .menu-item:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3); 
    transform: scale(1.05);
  }
  
  .menu-hidden {
    display: none;
  }
  