@import url('https://fonts.googleapis.com/css2?family=Victor+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');



:root{
    --color-dark-0:rgba(30,30,30,1);
    --color-dark-1:rgba(64,64,64,1);
    --color-dark-2:rgba(128,128,128,1);
    --color-dark-3:rgba(200,200,200,1);
    
    --table-item-height:70px;
    --review-slider-width:50px;
}

/**{
    border:solid 1px red !important;
}*/
*::-webkit-scrollbar-button {
    display:block;
    width:25px;
    height:25px;
}

*::-webkit-scrollbar-button:horizontal:start:increment {
    display:block;  
}

*::-webkit-scrollbar-button:horizontal:start:decrement {
    display: none;
}

*::-webkit-scrollbar-button:horizontal:end:increment {
    display: none;
}

*::-webkit-scrollbar-button:horizontal:end:decrement {
    display:block;  
}


*::-webkit-scrollbar {
    
  width: 9px !important;               /* width of the entire scrollbar */
  height: 9px !important;               /* width of the entire scrollbar */
}

*::-webkit-scrollbar-track {
  background-color: var(--nui-color-1) !important;  /* color of the tracking area */
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.7) !important;    /* color of the scroll thumb */
  border-radius: 20px !important;       /* roundness of the scroll thumb */
  border: 3px solid var(--nui-color-1) !important;/* creates padding around scroll thumb */

}


a {
    color:inherit !important;
    text-decoration: none;
}

h4 { 
    margin-top:25px;
    font-size:1.2rem;
    font-weight:300;
}

input[type="text"] {
    background-color:var(--nui-color-2);
    border:none;
    border-radius: 3px;
    border-bottom:solid 2px var(--nui-color-3);
    padding:8px 15px;
    color:var(--nui-color-4);
    outline:none;
}

input:-internal-autofill-selected {
    background-color:unset !important;
}

input:-webkit-autofill, input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s, font-family 0s 600000s;
}


textarea {
    background-color:var(--nui-color-2);
    border:none;
    border-radius: 3px;
    border-bottom:solid 2px var(--nui-color-3);
    padding:8px 15px;
    color:var(--nui-color-4);
    outline:none;
}

input[type="password"] {
    background-color:var(--nui-color-2);
    border:none;
    border-radius: 3px;
    border-bottom:solid 2px var(--nui-color-3);
    padding:8px 15px;
    color:var(--nui-color-4);
    outline:none;
}

input[type="number"] {
    background-color:var(--nui-color-2);
    border:none;
    border-radius: 3px;
    border-bottom:solid 2px var(--nui-color-3);
    padding:8px 15px;
    color:var(--nui-color-4);
    outline:none;
}

input[type="date"] {
    background-color:var(--nui-color-2);
    border:none;
    border-radius: 3px;
    border-bottom:solid 2px var(--nui-color-3);
    padding:8px 15px;
    color:var(--nui-color-4);
    outline:none;
}

input[type="number"]:disabled {
    border-bottom:solid 2px rgba(255,255,255,0.5);
}

button {
    background-color:var(--nui-color-3);
    border:none;
    color:var(--nui-color-1);
    border-radius:3px;
    padding:8px 15px;
}

input::placeholder {
    color:rgba(255,255,255,0.6);
}

.ebs_order_next {
    background-color:#af3838 !important;
    color:white;
}

.ebs_order_nc {
    background-color:#919137 !important;
}
.ebs_order_item {
    display:inline-flex;
    height:55px;
    max-height:55px;
    vertical-align:top;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding:10px;
    width: calc(100%);
    overflow:hidden;
    background-color:var(--nui-color-2);
    border-radius:8px;
    line-height:1.1em;
}

.ebs_order_category {
    display:flex;
    flex-wrap: wrap;
    
    
    position: relative;
    margin-left:-5px;
    margin-right:-5px;
    margin-bottom:20px;
    overflow:hidden;
}

.ebs_order_category > h3 {
    font-size:1.2rem;
    font-weight:300;
    width:100%;
    margin-left:5px;
}

.ebs_order_category h3 {
    display: flex;
    flex:0 0 100%;
}

.ebs_order_category a {
    flex:0 0 calc((100% / 3) - 10px);
    max-width:calc((100% / 3) - 10px));
    margin:5px;
}

.ebs_order_main_menu {
    display: inline-block;
    max-width:500px;
    vertical-align:top;
    display:flex;
    flex-wrap: wrap;
}

.ebs_order_main_menu > a {
    flex: 1 1 100%;
}

.ebs_order_recap {
    margin-top:15px;
    display: inline-block;
    max-width:500px;
    vertical-align:top;
    font-family: 'Victor Mono', monospace !important;;
    font-size:0.8em;
    width:100%;
    max-height:80vh;
    overflow-y:scroll;
}

.ebs_order_recap_main {
    font-weight:800;
    display:block;
    margin-left:0px;
}

.ebs_order_recap_sub {
    display:block;
    margin-left:15px;
}

.ebs_order_recap_section_price {
    position: absolute;
    top:0px;
    right:0px;
}

.ebs_order_recap_section {
    display:block;
    position:relative;
}

.ebs_order_recap_section:hover {
    background-color:rgba(0,0,0,0.1);
}

.ebs_nc {
    font-style: italic;
}

.ebs_old_selection {
    background-color:lightblue;
}



.ebs_view_order_main {
    font-family: 'Victor Mono', monospace !important;
    position: relative;
    vertical-align: top;
    display: inline-block;
    width:350px;
    max-width:350px;
    border:1px solid black;
}

.ebs_view_cover {
    position:absolute;
    top:0px;
    right:0px;
    left:0px;
    bottom:0px;
}

.ebs_view_valid {
    display:none;
}

.ebs_view_next {

}

body:has(.ebs_view_order_main_content) {
    background-color:black;
    color:white;
}

.ebs_view_order_main {
    background-color: white;
    color:black;
    margin:5px;
    padding:10px;
}

.ebs_view_order_main_content {
    position: relative;
    padding-top:50px;
}

.ebs_view_order_line {
    font-size:0.8em;
    line-height: 1.2em;
    margin-left:80px;
}

.ebs_view_order_line_detail {
    font-size:0.8em;
    line-height: 1.2em;
    margin-left:45px;
}

.ebs_view_order_line_separator {
    font-size:0.6em;
    line-height:1.2em;
    margin:10px 80px;
    background-color:black;
    color:white;
    text-align: center;
}

.ebs_view_menu_id {
    font-size:0.8em;
    font-weight:900;
    padding:0px 5px;
    background-color:black;
    color:white;
}

.ebs_view_order_line_replaced{
    color:red;
    font-size:0.9em;
    margin-left:35px;
    text-decoration:line-through;
    font-weight:800;
    line-height:0.85em;
    margin-bottom:5px;
}

.ebs_view_current_step {
    font-size:1.25em;
    margin-left:0px;
}

.ebs_current_serv_step {
    border-left:5px solid #c5a4e5;
    border-right:5px solid #c5a4e5;
    padding:0px 7px;
    padding-top:7px;
    position: relative;
    margin-bottom:5px;
}

.ebs_view_fm {
    background-color:red;
    text-transform: uppercase;
    padding:3px 0px;
    text-align: center;
    color:white;
    font-size:0.8em; 
    font-weight:900;
}

.ebs_view_send {
    position: absolute;
    background-color:rgba(255,255,255,0.8);
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    display: flex; 
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 900;
    font-size:1.8em;
}

.ebs_view_cstep_1 {
    background-color:#6fed85;
}

.ebs_view_cstep_1_nc {
    background-color:#d0ffd3;
}

.ebs_view_cstep_1_nc .ebs_curr_qte {
    
    color:red;
    font-weight:900;
}


.ebs_view_order_serv {
    position: absolute;
    top:0px;
    right:0px;
    text-align:right;
}

.ebs_view_order_table {
    position: absolute;
    top:0px;
    left:0px;
    text-align:left;
}

.ebs_view_order_table h3 {
    margin:0px;
}

.ebs_ui_header {
    background-color:var(--color-dark-0);
    color:white;
    position: fixed;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size:1.5em;
}

.ebs_ui_main {
    background-color:var(--color-dark-1);
    color:white;
    min-height:100vh;
    position: relative;
    padding-top:120px;
}

.ebs_ui_review {
    border-radius:35px 35px 0px 0px;
    background-color:var(--nui-color-4);
    position: fixed;
    bottom:0px;
    z-index: 90;
    padding:10px 15px;
    max-height: 70px;
    padding-top:60px;
    color:black;
    left:0px;
    width:100vw;
    transition: all 0.5s ease;
}

.ebs_order_table {
    position: relative;
    border-radius:100px;
    min-width:100%;
    margin-bottom:7px;
    overflow:hidden;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding:8px;
    background-color:var(--nui-color-2);
    flex:1 0 100%;
}

.ebs_order_table_num {
    height:52px;
    aspect-ratio:1/1;
    background-color:var(--nui-color-4);
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:1.7em;
    font-weight:600;
    color:var(--nui-color-2);
    border-radius:100px;
    
}

.ebs_order_table_stats {
    display:flex;
    align-items: center;
}

.ebs_order_table_infos {
    font-size:0.9em;
    display:flex;
    align-items: center;
    font-weight:200;
}

.ebs_badge {
    background-color:var(--nui-color-2);
    border-radius:3px;
    font-size:0.75rem;
    font-weight: 500;
    box-shadow: 0px 0px 5px rgba(255,255,255,0.1);
    margin-right:5px;
    padding:2px 7px;
}

.ebs_ui_review_slider {
    box-sizing: content-box;
    position: absolute;
    right:17px;
    top:17px;
    width:36px;
    aspect-ratio:1/1;
    border-radius:100px;
    background-color:inherit;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:1.3em;
    background-color: var(--nui-color-2);
    color:var(--nui-color-4);
}




.ebs_ui_review_global {
    position: absolute;
    top:0px;
    height: 70px;
    display: flex;
    align-items: center;
}

.ebs_popup_back {
    position: fixed;
    z-index: 200;
    top:0px;
    left:0px;
    bottom:0px;
    right:0px;
    background-color:rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebs_popup_main {
    position: relative;
    min-width:80%;
    min-height:50px;
    background-color:white;
    border-radius:10px;
    color:black;
    padding:15px;
    padding-top:65px;
    height:80vh;
    max-height:80vh;
}

.ebs_popup_item {
    position: relative;
    background-color:var(--nui-color-2);
    border-radius:8px;
    margin:5px 0px;
    padding:8px 15px;
    height:55px;
    overflow:hidden;
    justify-content: flex-start;
    align-items: center;
    display:flex;
}

.ebs_popup_header {
    position: absolute;
    top:15px;
    left:15px;
    right:15px;
    height:40px;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

.ebs_popup_content {
    position: absolute;
    top:65px;
    left:15px;
    right:15px;
    bottom:15px;
    min-height:70vh;
    overflow-y:scroll;
}

.ebs_form_input {
    display: block;
    color:white;
    background-color: rgba(255,255,255,0.1);
    border: none;
    border-bottom: rgba(255,255,255,0.3) 1px solid;
    border-radius: 3px;
    margin-bottom: 5px;
    padding: 5px 10px;
    transition:background 0.3s linear;
    outline:none;
}

.ebs_form_input:hover {
    background-color: rgba(255,255,255,0.15);
    border-bottom: rgba(255,255,255,0.3) 2px solid;
    padding-bottom:4px;
}

.ebs_form_input:focus {
    background-color: rgba(255,255,255,0.2);
    border-bottom: rgba(255,255,255,0.3) 3px solid;
    padding-bottom:3px;
}

.ebs_form_input::placeholder {
    color:rgba(255,255,255,0.5);
}

.ebs_form_button {
    display:block;
    color:white;
    background-color: rgba(255,255,255,0.1);
    border: rgba(255,255,255,0.3) 1px solid;
    border-bottom: rgba(255,255,255,0.3) 3px solid;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 5px 10px;
    transition:background 0.3s linear;
    outline:none;
    box-shadow:0px 2px 4px black;
}

.ebs_width_100 {
    width:100%;
}

.ebs_popup_item_cui {
    top:100%;
    position: absolute;
    left:0px;
    right:0px;
    height:100%;
    width:100%;
    background-color:red;
    display:flex;
}

.ebs_popup_item_cui_type {
    flex:1 0 25%;
    font-size:0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebs_popup_item_acc {
    top:100%;
    position: absolute;
    left:0px;
    right:0px;
    height:100%;
    width:100%;
    background-color:green;
    display:flex;
}

.ebs_ui_master_nav {
    position: fixed;
    display: block;
    top:0px;
    left:0px;
    bottom:0px;
    width:60px;
    background-color:var(--color-dark-0);
}

.ebs_ui_master_display {
    position:fixed;
    display:flex;
    flex-wrap: wrap;
    align-content: flex-start;
    top:0px;
    bottom:0px;
    left:60px;
    right:0px;
    background-color:var(--color-dark-1);
    color:white;
    overflow-y: scroll;
    padding:20px;
}

.ebs_ui_master_nav_item {
    display: flex;
    height:46px;
    width:46px;
    background-color:var(--color-dark-1);
    color:white;
    margin:7px 7px;
    font-size:1.3em;
    align-items: center;
    justify-content: center;
    border-radius:5px;
    
}


@media screen and (min-width: 600px) {
    
    .ebs_ui_main {
        display:inline;
        max-width:500px;
        padding:unset;
    }

    .ebs_order_main_menu {
        border:1px solid black;
    }
    
    .ebs_ui_review {
        display:inline-flex;
        position: relative;
        max-width:500px;
        max-height: unset;
        border-radius:35px;
        margin-bottom:25px;
    }
    
    .ebs_main_container {
        padding-right:20px;
        overflow-y:scroll;
    }
    
    .ebs_nui_content {
        display: flex;
        justify-content: space-between;
        max-height:100vh;
        padding-bottom:0px !important;
        flex-wrap: wrap;
    }
    
    .ebs_order_recap {
        overflow:visible;
        max-height: unset;
        font-size:0.9em;
    }
}
.ebs_order_nav_button {
    background-color:var(--color-dark-2);
    border:none;
    color:white;
    padding:7px 18px;
    display:inline;
    font-size:1.3em;
    width:100%;
    font-weight:900;
    
}

.ebs_order_action_bar {

    position: fixed;
    top:95px; 
    left:0px;
    right:0px;
    background-color: red;
    z-index:100;
    display:flex;
    flex-wrap:wrap;
        display:none;
}

.ebs_order_action_bar a {
    flex: 1 0 calc(100% / 3);
}


body:has(.ebs_nui) {
    background-color: var(--nui-color-1) !important;
}
.ebs_nui {
    background-color: var(--nui-color-1);
    font-family: 'Kanit', sans-serif;
    color:var(--nui-color-4) !important;
}

.ebs_menu_menu_button {
    position: absolute;
    top:25px;
    right:25px;
    background-color:white;
    border-radius:25px;
    height:45px;
    width:45px;
    font-size:1.8em;
    color:black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 130;
}

.ebs_nui_header {
    overflow:hidden;
    height:100px;
    width:100%;
    position: fixed;
    padding:25px;
    top:0px;
    left:0px;
    z-index:100;
}

.ebs_menu_menu_container {
    position: absolute;
    right:25px;
    top:25px;
    background-color:var(--nui-color-4);
    border-radius:100vh;
    height:45px;
    width:45px;
    font-size:1.8em;
    color:var(--nui-color-1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.6s ease;
    overflow:hidden;
    z-index: 120;
}

.ebs_nui_header_text h3{
    font-weight:100;
    font-size:1.2em;
    margin-bottom:0px;
}

.ebs_nui_header_text h1{
    line-height:1em;
}

.ebs_nui_menu_resize {
    position:absolute;
    height:100vh;
    width:100vw;
    top:calc((100% / 2) - 25px - calc(45px / 2));
    right:calc((100% / 2) - 25px - calc(45px / 2));
    padding:25px;
    padding-top:70px;
    display: flex;
    flex-wrap:wrap;
    align-content: flex-start;
    justify-content: flex-end;
}

.ebs_nui_menu_el_icon {
    background-color:var(--nui-color-1);
    border-radius:25px;
    height:45px;
    width:45px;
    color:var(--nui-color-4);
    margin-left:15px;
    display: flex;
    font-size:1.3rem;
    justify-content: center;
    align-items: center;
}

.ebs_nui_menu_element {
    width:100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top:-45px;
    transition: all 0.3s ease 0.2s;
    opacity: 0;
}

.ebs_nui_menu_element label {
    font-size: 1.5rem;
}



.ebs_application_box label {
    margin-left:2px;
}

.ebs_application_box button {
    margin-bottom:-7px;
    font-size:1.5em;
    padding:0px;
    border:none; 
    background-color:unset;
}

.ebs_nui_login_background {
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    background-image:url('/assets/media/login_background.jpg');
    background-position: center center;
    background-size:cover;
}

.ebs_nui_login_form {
    position: relative;
    background-color:rgba(255,255,255,0.1);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    max-width:350px;
}

.ebs_nui_login_form form {
    padding:25px;
    display: flex;
    flex-wrap:wrap;
    gap:15px;
}

.ebs_nui_login_form form *{
    flex: 1 0 100%;
}

form button {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
}

.ebs_nui_login_form h1 {
    font-weight:500;
}

.ebs_nui_content {
    position: absolute;
    padding:25px;
    padding-top:95px;
    max-width:100vw;
    min-width: 100vw;
    min-height:100vh;
    overflow:hidden;
    align-content: flex-start;
}

.ebs_order_table_side {
    margin-left:15px;
}

a:has(> .ebs_order_table_side) {
    flex:1;
}

.ebs_nui_content_section h4 { 
    font-size:1.2em;
    font-weight:300;
}



.ebs_application_box {
    position: relative;
    width:225px;
    aspect-ratio:3/2;
    background-color:var(--nui-color-3);
    border-radius:30px;
    padding:23px;
    color:var(--nui-color-1);
    display:inline-flex;
    justify-content: space-between;
    align-items: flex-end;
    overflow:hidden;
    margin-top:20px;
    margin-bottom:20px;
    margin-right:15px;
}

.ebs_application_box > i {
    position: absolute;
    font-size:8em;
    right:-18px;
    top:-70px;
    color:white;
}


.ebs_ins_vscrol {
    position: relative;
    max-width:100vw;
    margin-left:-25px;
    margin-right:-40px;
    overflow-x:scroll;
}

.ebs_ins_vscrol_content {
    position: relative;
    width:1000px;
    margin:0px 25px;
}

.ebs_order_table_comment {
    margin-left:15px;
    border-radius:100px;
    height:30px;
    width:30px;
    background-color:rgba(255,255,255,0.3);
    display:flex;
    justify-content: center;
    align-items: center;
    margin:11px;
}

.ebs_main_container {
    display: inline-flex;
    width:100%;
    flex-wrap: wrap;
    max-width: 500px;
}

.ebs_table_container > a {
    flex:1 0 100%;
}

.ebs_nui_header_text {
    background-color:var(--nui-color-1);
    padding:25px;
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    height:95px;
}

.ebs_nui_order_tools {
    background-color:var(--nui-color-2);
    position: fixed;
    padding:8px;
    top:17px;
    left:-23px;
    z-index: 110;
    border-radius:100px;
    padding-left:48px;
    display:none;
}

.ebs_nui_order_tools a button {
    border:none;
    height:45px;
    width:60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--nui-color-4);
    border-radius: 5px;
    margin-right:8px;
    font-size:1.3em;
}

.ebs_nui_order_tools a:first-child button {
    border-radius: 22.5px 5px 5px 22.5px;
    
}

.ebs_nui_order_tools a:last-child button {
    border-radius: 5px 22.5px 22.5px 5px ;
    margin-right:0px;
}

.ebs_sub_main_container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.ebs_sub_main_container > a {
    display:inline;
    flex:1 0 calc(100% - 67px);
    transition:all 0.3s ease;
}

.ebs_sub_main_container > .ebs_popup_comment {
    display:inline;
    flex:1 0 55px;
    min-height:55px;
    background-color:var(--nui-color-2);
    border-radius:8px;
    margin:5px 0px;
    margin-left:10px;
    transition:all 0.3s ease;
    font-size:1.3em;
    position: relative;
    overflow: hidden;
}

.ebs_sub_main_container > div {
    flex:1 0 100%;
}





.ebs_comment_elements {
    width:calc(100vw - 50px);
    height:100%;
    position: absolute;
    left:0px;
    top:0px;
    display: flex;
}

.ebs_comment_elements > button {
    width:55px;
    height:55px;
    display:inline;
    margin-left:1px;
    border:none; 
    background-color:unset;
    font-size:1.3rem;
    color:var(--nui-color-3);
}

.ebs_comment_elements_icon {
    width:55px;
    height:55px;
    display:inline-flex;
    justify-content: center;
    align-items: center;
    margin-right:1px;
}

.ebs_comment_elements_text {
    display:inline-flex;
    flex-wrap: wrap;
    padding:5px;
    line-height:1em;
    flex:1;
}

.ebs_comment_elements_text label {
    font-size:0.85rem;
    margin-left:3px;
}

.ebs_comment_elements_text input {
    max-height:30px;
    font-size:1rem;
    background-color:var(--nui-color-1);
    color:var(--nui-color-4);
    border-radius:3px;
    border:none;
    border-bottom:solid 2px var(--nui-color-3);
    width:100%;
    padding:0px 8px;
}

.ebs_comment_elements_text input:placeholder {
    color:rgba(255,255,255,0.3);
}

.ebs_editor_filter_container {
    width:300px;
    margin-right:15px;
}

.ebs_editor_list_container {
    flex:1;
}

.ebs_editor_table_control {
    background-color: var(--nui-color-2);
    font-size:1.3rem;
    display: inline-flex;
    height:35px;
    width:35px;
    margin:5px;
    color:var(--nui-color-4);
    border:none;
    border-radius:35px;
    align-items: center;
    justify-content: center;
    font-weight: 200;
}

form {
  display: grid;
}

select {
    background-color: var(--nui-color-2);
    color: var(--nui-color-4);
    border: none;
    border-radius: 2px;
    padding: 3px 8px;
    width: 100%;
    outline:none;
}


    
.form-control {
    position: relative;
    background-color:unset;
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
    color:var(--nui-color-4);
    border:none;
}

.form-control i {
    position: absolute;
    top:6px;
    left:-10px; 
    color:rgba(255,255,255,0.5);
}

.form-control-sub {
    background-color:unset;
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
    color:var(--nui-color-4);
    border:none;
}

.form-control:first-child {
    margin-left: 15px;
}

.form-control + .form-control {
    margin-left: 30px;
}

.form-control-sub {
    margin-left: 45px !important;
}

.form-control--disabled {
  color: var(--form-control-disabled);
  cursor: not-allowed;
}


input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: var(--nui-color-2);
  /* Not removed via appearance */
  margin: 0;

  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border-radius: 0.15em;
  transform: translateY(-0.075em);

  display: grid;
  place-content: center;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: center center;
  /*transition: 120ms transform ease-in-out;*/
  box-shadow: inset 1em 1em var(--nui-color-3);
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:focus {
}

input[type="checkbox"]:disabled {
    --nui-color-3: rgba(255,255,255,0.7);
    
  color: rgba(255,255,255,0.5);
  cursor: not-allowed;
}

.ebs_editor_list_container table {
    border-collapse: separate;
    border-spacing: 1px;
}
.ebs_editor_list_container thead tr {
    background-color:var(--nui-color-2);
}

.ebs_editor_list_container tbody tr:nth-child(2n) {
    background-color:var(--nui-color-2);
}

.ebs_editor_list_container tbody tr:nth-child(2n+1) {
    background-color:var(--nui-color-5);
}

.ebs_editor_list_container tbody td {
    padding:5px 15px;
}

.ebs_editor_list_container th {
    padding:5px 15px;
    border-bottom:3px solid var(--nui-color-3);
}

.ebs_settings_section {
    flex:1 0 100%;
}

.ebs_settings_section_half {
    flex:1 0 45%;
}

.ebs_seeting_form input[type="text"] {
    flex:1 0 45%;
    
}

.ebs_seeting_form input[type="password"] {
    flex:1 0 calc(100% - 20px);
}

.ebs_seeting_form button {
    flex:0 0 200px;
    
}

.ebs_seeting_form {
    display:flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap:10px;
}

.ebs_nui_content:has(.ebs_settings_section) {
    gap:25px;
}

.ebs_settings_theme {
    display: flex;
    flex-wrap: wrap;
    padding:15px 0px;
}

.ebs_setting_theme_item {
    border-radius:25px;
    width:50px;
    aspect-ratio:1/1;
    margin-right:15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:1.8rem;
}

.ebs_theme_green {
    background-color:#0EF6CC;
}

.ebs_theme_red {
    background-color:#F65151;
}

.ebs_theme_blue {
    background-color:#5F7ADB;
}

.ebs_editor_section {
    flex:1;
}

.ebs_editor_section form {
    display:flex;
    flex-wrap: wrap;
    gap:25px;
}

.ebs_editor_section form input[type="text"] {
    flex:1 0 45%;
}

.ebs_editor_vat_slider {
    position: relative;
    background-color:var(--nui-color-2);
    width:120px;
    height:45px;
    border-radius:30px;
    display:flex;
    flex-wrap:wrap;
}

.ebs_editor_vat_element {
    flex:1 0 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.ebs_editor_vat_thumb {
    position: absolute;
    height: 35px;
    width:calc(50% - 10px);
    top:5px;
    left:5px;
    background-color:var(--nui-color-3);
    border-radius:30px;
    transition:all 0.3s ease;
    z-index: 10;
}

.ebs_editor_main_col {
    flex:1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap:10px;
}

.ebs_editor_sub_col {
    flex:0 0 300px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap:10px;
}

.ebs_field {
    position: relative;
    flex:1 0 100%;
    font-size: 1rem;
}

.ebs_field *{
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
}

.ebs_nui_login_content .ebs_field input{
    background-color: rgba(0,0,0,0.1) !important;
}


.ebs_editor_section form .ebs_field {
    position: relative;
    flex:1 0 45%;
}


.ebs_editor_section form .ebs_editor_variation_line .ebs_field {
     flex:0 1 auto;
}

.ebs_editor_section form .ebs_editor_variation_line .ebs_field input {
    background-color:rgba(0,0,0,0.2);
    border-bottom:none;
}


.ebs_field input[type='text'] {
    width:100%;
    padding:9px 15px;
}

.ebs_field select {
    width:100%;
    padding:9px 15px;
    padding-top:15px;
    padding-bottom:3px; 
}


.ebs_field input[type='password'] {
    width:100%;
    padding:9px 15px;
}

.ebs_field input[type='text']::placeholder {
    color:rgba(0,0,0,0);
}

.ebs_field input[type='password']::placeholder {
    color:rgba(0,0,0,0);
}

.ebs_field textarea {
    width:100%;
    padding:9px 15px;
}

.ebs_field textarea::placeholder {
    color:rgba(0,0,0,0);
}

.ebs_field input[type='number'] {
    width:100%;
    padding:9px 15px;
}

.ebs_field input[type='number']::placeholder {
    color:rgba(0,0,0,0);
}

.ebs_field input[type='text']:focus, .ebs_field input[type='text']:not(:placeholder-shown) {
    padding-top:15px;
    padding-bottom:3px; 
}

.ebs_field input[type='password']:focus, .ebs_field input[type='password']:not(:placeholder-shown) {
    padding-top:15px;
    padding-bottom:3px;
    
}
.ebs_field input[type='number']:focus, .ebs_field input[type='number']:not(:placeholder-shown) {
    padding-top:15px;
    padding-bottom:3px;
    
}
.ebs_field input[type='date']:focus, .ebs_field input[type='date']:not(:placeholder-shown) {
    padding-top:15px;
    padding-bottom:3px;
    
}
.ebs_field textarea:focus, .ebs_field textarea:not(:placeholder-shown) {
    padding-top:15px;
    padding-bottom:3px;
    
}

.ebs_field label {
    position:absolute;
    left:15px;
    top:8px;
    transition:all 0.3s ease;
}

.ebs_field input:focus ~ label, .ebs_field input:not(:placeholder-shown) ~ label, .ebs_field input:-webkit-autofill ~ label {
    font-size:0.85em;
    font-weight:100;
    top:2px;
}

.ebs_field select ~ label {
    font-size:0.85em;
    font-weight:100;
    top:2px;
}

.ebs_field textarea:focus ~ label, .ebs_field textarea:not(:placeholder-shown) ~ label {
    font-size:0.85em;
    font-weight:100;
    top:2px;
}



.ebs_editor_variation_line {
    display: flex;
    flex-wrap: wrap;
    gap:15px;
}

#draggable_container {
    position: relative;
    flex:1 0 100%;
    width:100%;
    height:600px;
    background-color: var(--nui-color-2);
}

.ebs_draggable_zone {
    position: absolute;
    background-color:var(--nui-color-3);
}

#ebs_editable_zone .ebs_field {
    position: absolute;
}

.ebs_ptng_width {
    width:100px;
    bottom:10px;
    left:calc(50% - 50px);
}

#ebs_editable_zone {
    border:solid 1px var(--nui-color-3);
    background-color:var(--nui-color-5) !important;
}

.ebs_ptng_height {
    width:100px;
    bottom:calc(50% - 20px);
    right:10px;
}

.ebs_nui_login_color_background {
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    background-image: linear-gradient(to bottom left, #02322a, #0b2b2c);
    opacity: 0.9;

}

.ebs_nui_login_content {
    position: relative;
    display: flex;
    height: 100vh;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.ebs_login_form_text_el {
    font-size:0.9em;
    font-weight: 300;
    text-align: right;
    margin-top:-10px;
}

.ebs_editor_top {
    flex:1 0 100%;
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
    align-items: center;
    margin-top:25px;
}

.ebs_editor_top_tools {
    flex:1;
    display: flex;
    max-width:500px;
    gap:10px;
}

.ebs_editor_section h4 {
    flex: 1 0 100%;
}

.ebs_editor_variation_line_btn {
    background-color: var(--nui-color-2);
    aspect-ratio:1/1;
    height:60px;
    border-radius:30px;
    position: relative;
    transition:all 0.3s ease;
    overflow: hidden;
}

.ebs_editor_variation_line_fields {
    background-color: var(--nui-color-2);
    height:60px;
    font-size: 1.3em;
    border-radius:30px;
    flex:1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0px 30px;
    transition:all 0.3s ease;
    overflow: hidden;
    
}

.ebs_editor_variation_line_btn_container {
    position: absolute;
    top:0px;
    left:0px;
    bottom:0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    min-width:600px;
}

.ebs_vl_btn {
    background-color: var(--nui-color-2);
    aspect-ratio:1/1;
    height:60px;
    font-size: 1.5em;
    border-radius:30px;
    position: relative;
    color:#ff6b6b;
    transition:all 0.3s ease;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex:0 0 60px;
}

.ebs_vl_btn_no {
    height:60px;
    font-size: 1.5em;
    border-radius:30px;
    position: relative;
    color:#ff6b6b;
    transition:all 0.3s ease;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex:0 1 40px;
    margin-left:10px;
}

a:has(> .ebs_vl_btn_yes) {
    height:60px;
    font-size: 1.5em;
    border-radius:30px;
    position: relative;
    color:#a3ff6b;
    transition:all 0.3s ease;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex:0 1 40px;
    margin-right:10px;
}

.ebs_vl_conf_text {
    flex:1;
    text-align: right;
    
}



.ebs_var_span {
    background-color: var(--nui-color-3);
    color:var(--nui-color-1);
    border-radius:3px;
    padding:2px 6px; 
    font-size:0.75em;
    margin-right:8px;
    font-weight:500;
}

.ebs_booking_selector form {
    width:500px;
    display: flex;
    gap:10px;
    
}



.ebs_booking_selector .ebs_field {
    flex:1 0 33%;
}

.ebs_booking_selector .ebs_field input{
    background-color:#2e3f40;
}

.ebs_booking_selector select {
    background-color:#2e3f40;
    border-bottom:solid 2px var(--nui-color-3);
}

.ebs_booking_selector {
    margin-right:35px;
}

.ebs_theme_lightblue {
    background-color:#5F7ADB;
}

.ebs_order_recap_section_uprice {
    position: absolute;
    top:0px;
    right:60px;
}

.ebs_ui_review_viewer {
    position: absolute;
    right: 17px;
    top: 17px;
    width: 36px;
    height: 36px;
    border-radius: 100px;
    background-color: inherit;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.3em;
    background-color: var(--nui-color-5);
    color: var(--nui-color-4);
    overflow: hidden;
    transition: all 0.3s ease;
}

.ebs_ui_review_viewer i {
    position: relative;
}

.ebs_ui_review_viewer_slider {
    position: absolute;
    height:36px;
    width:44px;
    left:4px;
    top:4px;
    background-color: var(--nui-color-3);
    border-radius:100px;
}
