:root {
    --random-color: #000;
}

html, body {
    height: 100%;
    width: 100%
}
@font-face {
    font-family: font_strong;
    src: url('../font/utmeremitage.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#header_1{
    font-family: font_strong, sans-serif;
}
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
}
#overlay_popup {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
}

#overlay2 {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
}

.alert_btn {
    width: 120px;
    height: 35px;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid transparent;
    overflow: hidden;
    /* background: linear-gradient(#54DEBA,#54A8DE,#54D4DE) padding-box; */


}

.alert_btn::after {
    content: '';
    position: absolute;
    top: -3px; /* Adjust based on your desired border width */
    left: -3px; /* Adjust based on your desired border width */
    right: -3px; /* Adjust based on your desired border width */
    bottom: -3px; /* Adjust based on your desired border width */
    height: 150%;
    width: 150%;
    border-radius: 30px;
    z-index: -1;
}

.alert_modal {
    border-radius: 5px;

}

/*.dialog_modal{*/
/*    margin-left: 550px;*/
/*    margin-top: 250px;*/
/*}*/
#header {
    display: flex;
    justify-content: center;
}

#text_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}


.vertical_line {
    border-left: 1px solid white;
}

#pdf_container {
    background: #ccc;
    text-align: center;
    display: none;
    padding: 5px;
    height: 820px;
    overflow: auto;
}

@media print {
    body {
        display: none;
    }
}

.centered-text {
    font-weight: bolder;
    text-align: center;
    flex-grow: 1;
}

.left-text {
    font-weight: bolder;
    text-align: left;
    flex-grow: 1;
}

.item2 {
    color: #FFFFFF;
    font-size: 25px;
}

.p-3 {
    color: #047cfc;
    font-size: 20px;
}

.p-3:hover {
    border: 2px solid #0c84ff;
    border-radius: 5px;
    color: #0c84ff;
}

.sidebar2 {
    width: 350px;
}

.left_menu {
    background: #1e90ff;
    border: 1px solid  #FFFFFF ;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}

.left_menu:hover {
    background-color: #197dde;
    border-radius: 10px;
    transform: scale(1.05);
}

.list_error{
    transition: all 0.2s ease-in-out;
}
.list_error:hover{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(1.01);
}

.sub_menu {
    transition: all 0.2s ease-in-out;
}

.sub_menu:hover {
    transform: scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.sub_menu2 {
    flex-direction: row;
    align-items: center;
    transition: all 0.2s ease-in-out;

}

.sub_menu2:hover {
    transform: scale(1.01);
    /*box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;*/
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

.orange-text {
    color: #FFCC00;
}

.bottom_button {
    /*box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);*/
    border-radius: 10px;
    /*background-color: #FFFFFF;*/
    display: -ms-flexbox;
    display: flex;
    min-height: 50px;
    padding: .5rem;
    /* margin-left: 386px; */
    /* margin-bottom: -21px; */
    justify-content: space-between;
    position: fixed;
    bottom: 5px;

}

.error_button {
    width: 540px;
    border-radius: 9px;
}

.smartkey_editor_btn {
    width: 250px;
    border-radius: 9px;
}

.buttons {
    display: flex;
    justify-content: space-between;
}
.modal-header{
    border-bottom: 1px solid #0c84ff !important;
    font-size: larger;
}

.button_menu_view {
    color: #0c84ff;
    width: 34px;
    height: 34px;
    background-color: #FFFFFF;
    position: absolute;
    right: -9px;
    /*transform: translateY(314px);*/
    text-align: center;
    border-radius: 50%;
    z-index: 1;
}

.form-control{
    border-color : #0c84ff !important;
}



.button_menu_view:hover {
    /*transform: scale(1.01);*/
    /*box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;*/
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#view_menu_left {
    transition: all 0.5s ease;
}

#button_menu_view {
    transition: left 0.5s ease;
}

.new {
    width: 40px;
}

.hide-left {
    transition: all 0.5s ease;
    transform: translateX(-130%);
}
.form-control{
    background-color: #FFFFFF !important;
}
.center {
    display: flex;
    justify-content: center;
    align-content: center;
}

.viewRow3 {
    border-radius: 5px;
}

.btn_search_function {
    color: #000;
}

.btn_search_function:hover {
    background-color: #0c84ff;
    color: #FFF;
}

.active {
    background-color: #0c84ff;
    color: #FFF !important;
}

.active_chat{
    background-color: #c3c3c3;
}

#myImageViewport {
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
}

#myImageContent img {
    width: auto;
    height: auto;
    margin: auto;
}

#myImageContent div {
    position: absolute;
    font-size: 80px;
}

.imgdiv {

    overflow: auto;
    cursor: grab;
    border: 2px solid #0c84ff;
}

.gradient {
    background: linear-gradient(180deg, rgba(251, 251, 246, 1) 0%, rgba(247, 230, 184, 1) 89%, rgba(241, 212, 139, 1) 100%);
}

.btn_send_request {
    background-color: #0c84ff;
}

.btn_abs {
    border: 1px solid #0c84ff;
}

.btn_engine {
    border: 1px solid #0c84ff;
}

.color-button {
    background-color: #0c84ff;
}

.color-border {
    border: 2px solid #0c84ff;
}

.color-border1px {
    border: 1px solid #0c84ff;
}

.height_custom{
    height: 47px
}

.btn_error_search {
    background-color: #0c84ff;
}

#ViewSearchFunction_btn_odo {
    border: 2px solid #0c84ff;
}

#ViewSearchFunction_btn_scu {
    border: 2px solid #0c84ff;
}

#ViewSearchFunction_btn_ecm {
    border: 2px solid #0c84ff;
}

.button-bg-color {
    background-color: #0c84ff;
    color: #FFFFFF;
}

.button-bg-color:hover {
    color: #FFFFFF;
}

.button-outline {
    border: 1px solid #0c84ff;
    color: #0c84ff;
}

.button-outline:hover {
    background-color: #0c84ff;
    color: #FFFFFF;
}

.btn-alert-left {
    border: 3px solid #0c84ff
}

.btn-alert-left:hover {
    background-color: #0c84ff;
    color: #FFFFFF;
}

.btn-alert-right {
    border: 3px solid #8f8f8f
}

.btn-alert-right:hover {
    background-color: #636363;
    color: #FFFFFF;
}

.btn-alert-exit {
    border: 3px solid #e35057
}

.btn-alert-exit:hover {
    background-color: #e35057;
    color: #FFFFFF;
}

.white-text {
    color: #FFFFFF;
}

.title-custom {
    width: 310px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.gradient-border {
    border-radius: 10px;
    padding: 6px 12px;
    background-image: linear-gradient(0deg, #0396FF , #0264AA );
    /* Fill the inside with white */
    /*background-origin: border-box;*/
    /*box-shadow: inset 0 100vw white;*/
    /* A transparent border, so the very edge of the button shows through */
    border: 3px solid transparent;
}

.battery_test_icon{
    width: 60%;
}
.battery_test_icon_text{
    color: #0c84ff;
}
.icon_div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.red {
    color: red;
}

.green{
    color: #32cd32;
}

.bold_font{
    font-weight: 600;
}

.gray{
    color: #828282;
}



.slidecontainer {
    width: 100%;
    position: relative;
}

.custom-thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,602%);
    width: 10px; /* Độ rộng của phần màu xanh */
    height: 9%; /* Chiều cao bằng chiều cao của slider */
    background-color: #0c84ff; /* Màu xanh */
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(50,205,50,1) 0%, rgba(239,204,0,1) 50%, rgba(255,0,0,1) 100%);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #d3d3d3;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #d3d3d3;
    cursor: pointer;
}

.custom_button {
    width: 330px
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider1 {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider1:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider1 {
    background-color: #2196F3;
}

input:focus + .slider1 {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider1:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider1.round {
    border-radius: 34px;
}

.slider1.round:before {
    border-radius: 50%;
}

/*.user_message{*/
/*    background: #f0f8ff;*/
/*    border-radius: 10px;*/
/*}*/
.user_message:hover {
    background-color: #c3c3c3;
    border-radius: 5px;
}


.list_history{
    height: 80px;
    min-height: 20px !important;
}

/* If the screen size is 600px wide or less, hide the element */
@media only screen and (max-width: 600px) {

    .sub_menu2 {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (min-width: 570px) {
    .col-sm-10 {
        width: 83.33%
    }
    .left_menu{
        justify-content: center;
    }
    .menu_left_icon{
        width: 50px;
        margin: unset;
    }
    .info-box-number{
        display: none;
    }

    /*.info-box-icon{*/
    /*    margin: 0px;*/
    /*}*/

    .span_description{
        display: none;
    }

    .sub_menu2 {
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (min-width: 768px) {


    .list4{
        margin-top: 28px;
    }

    .sub_menu2 {
        flex-direction: column;
        align-items: center;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .btn_row2_view_write_odo{
        width: 100%;
    }
    .info-box-number{
        display: block;
    }
    .left_menu{
        justify-content: unset;
    }
    .menu_left_icon{
        width: 50px;
        margin: 1px 15px 1px 10px;
    }
    /*.info-box-icon{*/
    /*    margin: 1px 15px 1px 10px;*/
    /*}*/
    #viewWriteODO_text1{
        margin-top: 3px;
        margin-left: 7px;
    }
    #viewWriteODO_text2{
        margin-top: 3px;
        margin-left: 7px;
    }
    /*.viewEditorODO_form-control{*/
    /*    width: 650px*/
    /*}*/

    .btn_row1_view_write_odo{
        width: 100%;
    }
}
@media only screen and (min-width: 1300px) {

    .span_description{
        display: block;
    }
    .list4{
        margin-top: 0px;
    }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1700px) {
    /*.btn_row2_view_write_odo{*/
    /*    width: 385px;*/
    /*}*/

    /*.viewEditorODO_form-control{*/
    /*    width: 715px*/
    /*}*/

    /*.btn_row1_view_write_odo{*/
    /*    width: 590px;*/
    /*}*/

}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1900px) {
    /*.btn_row2_view_write_odo{*/
    /*    width: 430px;*/
    /*}*/

    /*.viewEditorODO_form-control{*/
    /*    width: 810px*/
    /*}*/

    /*.btn_row1_view_write_odo{*/
    /*    width: 670px;*/
    /*}*/
}

#ViewSmartKeyEditor_showHexView .hex-col {
    display: inline-block;
    margin-right: 8px; /* Adjust spacing between columns */
}

#ViewSmartKeyEditor_showHexView .hex-col:after {
    content: '';
    display: inline-block;
    height: 100%;
    width: 1px;
    background-color: #000; /* Line color */
    margin-left: 8px; /* Adjust spacing after the line */
}

#ViewSmartKeyEditor_showHexView .hex-col.line-after-1:after,
#ViewSmartKeyEditor_showHexView .hex-col.line-after-5:after,
#ViewSmartKeyEditor_showHexView .hex-col.line-after-9:after,
#ViewSmartKeyEditor_showHexView .hex-col.line-after-13:after {
    content: '|'; /* This creates the line. Adjust as needed */
}



