:root{
    --settings-title-height: 52px;
    --settings-title-icon-width: 70px;
    --folder-icon-color: #e6dc3bd1;
    --file-icon-color: #426d78e0;
}

.sub-page-setting {
    height: calc(100% - (var(--settings-title-height) + var(--footer-height))) !important;
    background: #f8f8f8;
}
/* Title  */
.settingTitleTag {
    font-weight: bold;
    word-wrap: break-word;
    white-space: pre-wrap; 
    width: 60%;
}
.settingTitleTag.label-wrap { white-space: nowrap; }
/* Tab Menu */
.settingMenuTag { height: 4.39rem !important; }

/* PrintHead Legend Title */
.legendPrinteHeadTitle { font-size: 1em !important; }

#system-setting .nav-link {
    border-radius: 0px !important;
    font-size: 2rem;
    border-bottom: 1px solid #ddd;
    text-align: center;
    color: white;
    background-image: var(--setting-button);
}
/* [Domino] */
#system-setting .nav-link:hover{
    background-image: var(--button-gradient-blue);
}
.TitleSetting {
    height: 100%;
    border-right: 1px solid #ddd;
}

.contentsetting {
    border-top: 1px solid #ddd;
    overflow: auto;
    height: 100%;
}

.control-step { display: none; }
.step1 .control-step1,
.step2 .control-step2,
.step3 .control-step3 { display: block; }

/* Title Tab */
.setting-title-tab {
    height: var(--settings-title-height);
    width: 100%;
    background-color: var(--setting-title-color);
    display: flex;
    align-items: center;
}
.setting-title-tab > h5 {
    color: #FFFFFF;
    margin-left: 10px;
}
.setting-title-tab .title-tab-close {
    margin-left: auto;
    padding-left: 10px;
    display: flex;
    width: var(--settings-title-icon-width);
    height: 100%;
    text-align: center;
}

.setting-title-tab .title-tab-close > div{
    background-image: var(--button-gradient-red);
    height: 50px;
    width: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-top: 1px;
}
.setting-title-tab .title-tab-close > div:hover{
    background-image: var(--button-gradient-blue);
}

.setting-title-tab .title-tab-close i {
    margin-left: auto;
    color: #FFFFFF;
    font-size: x-large;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
/* [Domino] */
.setting-title-tab .title-tab-close div:active { background-image: var(--button-gradient-blue); }

/* Navbar Title Sub */
.navbar-title-sub {
    height: 45px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: var(--main-color);
}
/* Navbar Title Sub */
.navbar-title-sub-dark {
    height: 45px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: #636f72 !important;
}
/* Navbar title sub - group icon */
.navbar-title-sub-dark .group-icon,
.navbar-title-sub .group-icon {
    height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
}
/* [Domino] */
.navbar-title-sub .group-icon > a:hover { background-color: var(--main-button-color-hover); }
/* Navbar title sub - group icon - icon */
.navbar-title-sub-dark .group-icon > a,
.navbar-title-sub .group-icon > a {
    width: var(--settings-title-icon-width);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar-title-sub-dark .group-icon > a > i,
.navbar-title-sub .group-icon > a > i {
    font-size: x-large;
}
.navbar-title-sub-dark .group-icon > a:active,
.navbar-title-sub .group-icon > a:active {
    background-color: var(--setting-title-active-color);
}

/* Hide Scrollbar table preview database */
#calibSettingsContent select[tag="resolution"]::-webkit-scrollbar { display: none; }
#calibSettingsContent select[tag="resolution"] {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/*Hieu add 02/03/2022 - Set Datetime selector max width */
div#datetimepicker12 div { width: 100%; }
/* Hieu add border corlor - 08/03/2022 */
.border-main { border-color: #636f72 !important; }
.width-70 { width: 70% !important; }
.width-30 { width: 30% !important; }
/* Change color toggle tag setting */
.btn-group-toggle label.btn.btn-outline-light {
    background: #272727;
    color: white;
    border-radius: 0px;
    border: none;
    height: 45px;
}
.btn-group-toggle label.btn.btn-outline-light:not(:disabled):not(.disabled).active {
    background: #f0f0f0;
    color: var(--fore-color);
}

.btn-group-toggle label.btn.btn-outline-light:not(.active):hover {
    background: var(--main-button-color-hover);
    color: white;
    border-radius: 0px;
    border: none;
    height: 45px;
}

.btn-outline-secondary.focus, .btn-outline-secondary:focus{
    box-shadow: none;
}

/* [1.0.5.G] 03/04/2024 - SoPhol.Truong: add "btnOpenFileManager" */
#LogSystem .btn-outline-secondary:not(:disabled):not(.disabled),
#updateSoftware .btn-outline-secondary:not(:disabled):not(.disabled),
#system-setting .btn-outline-secondary:not(:disabled):not(.disabled),
#pageAbout .btn-outline-secondary:not(:disabled):not(.disabled),
.btnOpenFileManager {
    color: #ffffff;
    background: var(--setting-button);
}

#system-setting .btn-outline-secondary:not(:disabled):not(.disabled).active{
    color: var(--fore-color);
    background: #ffffff;
    border: 1px solid #797979;
}

/* toggle button setting color */
input[type="checkbox"]:not(disabled) + .toggle-group label.toggle-on {
    background-color: var(--main-button-color-hover);
}

input[type="checkbox"]:not(disabled) + .toggle-group label.toggle-off {
    background-color: #464646;
    color: white;
}
/* *********************************************************** */
/* 15/03/2022 - SoPhol.Truong: add */
/* Set to display checkbox inline */
/* Large */
@media (max-width: 992px) {
    .checkbox-inline-display {
        display: flex;
        justify-content: space-between;
    }
}

.btn.btn-success,
.btn-alarm-config{
    color: #ffffff;
    border: 1px solid;
    transition: none;
    background-image: var(--button-gradient-green);
}
.btn.btn-warning,
.btn-restore{
    color: #ffffff;
    border: none;
    transition: none;
    background-image: var(--button-gradient-orange);
    line-height: 1;
}
.btn-reset-default{
    color: #ffffff;
    border: none;
    transition: none;
    background-image:  var(--button-gradient-red);
    line-height: 1;
}
.btn-backup,
#btn-sync-your-clock{
    line-height: 1;
}

.btn-dark,
#btn-sync-your-clock,
.btn.btn-secondary,
.btn-backup{
    color: #ffffff;
    transition: none;
    background-image: var(--button-gradient-gray);
    border: 1px solid;
}

.btn.btn-success:focus,
.btn.btn-warning:focus,
.btn-alarm-config:focus,
#btn-sync-your-clock:focus,
.btn-reset-default:focus,
.btn-restore:focus,
.btn-backup:focus{
    background-image: var(--button-gradient-blue) !important
}

/* 12/04/2022 -  Hieu update: set add font, add language always to top */
#v-pills-Fonts div nav, #v-pills-Language div nav {
    position: fixed;
    width: calc(100% - 80px);
    z-index: 2;
}

#v-pills-Fonts div table, #v-pills-Language div table {
    position: relative;
    top: 45px;
}

#v-pills-Fonts div table#fontsTable tbody tr {
    height: 74px;
}

/* 25/04/2022 - SoPhol.Truong: define text status color for unlock */
.unlockStatus[type="success"] { color: #0275d8; }
.unlockStatus[type="error"] { color: #d9534f }

.btn-delete-user,
.btn-delete-font,
.btn-delete-language{
    width: 100%;
    max-width: 50px;
    position: relative;
}

.btn-delete-user:not(:disabled) .fa.fa-trash-alt:before,
.btn-delete-language:not(:disabled) .fa.fa-trash-alt:before,
.btn-delete-font:not(:disabled) .fa.fa-trash-alt:before {
    position: absolute;
    content: "";
    background-image: url('/theme/domino/img/Icon_Delete_Enabled_30x30.png');
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-delete-user:disabled .fa.fa-trash-alt:before,
.btn-delete-language:disabled .fa.fa-trash-alt:before,
.btn-delete-font:disabled .fa.fa-trash-alt:before {
    position: absolute;
    content: "";
    background-image: url('/theme/domino/img/Icon_Delete_Disabled_30x30.png');
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#fontsTable tbody .font-style span{
    font-size: 100%;
}

#system-setting #panelContentSettingPanel #v-pills-tabContent #v-pills-System span.edit-Date-System,
#system-setting #panelContentSettingPanel #v-pills-tabContent #v-pills-System span.edit-font{
    background: var(--select-icon-background);
    color: #ffffff;
}

.setting-printhead-info {
    display: flex;
    align-items: center;
}

/* 24/08/2022 - SoPhol.Truong: update */
.nav-pills .setting-tab-icon {
    height: 45px;
    width: 45px;
}
.nav-pills .setting-tab-icon { filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(282deg) brightness(114%) contrast(105%); }
.nav-pills .active .setting-tab-icon { filter: invert(49%) sepia(5%) saturate(17%) hue-rotate(335deg) brightness(91%) contrast(95%) !important; }
/* 03/10/2022 - SoPhol.Truong: update */
/* Set font size for print head settings */
@media (max-width: 800px) {
    .head-setting-fontsize {
        font-size: 11pt;
    }
}

/* Reset counter */
.btn-delete-resettimer { margin-left: 8px; }
/* [1.0.4.G] 07/08/2023 - SoPhol.Truong: IO signal */
/*
#tblIOSignal thead {
    background-color: var(--main-color);
    color: white;
}
*/
#tblIOSignal thead tr {
    text-align: center;
}
#tblIOSignal tbody tr td:first-child {
    text-align: center;
}
#tblIOSignal.table-bordered td,
#tblIOSignal.table-bordered th {
    border: 1px solid var(--main-color) !important;
}

#tblIOSignal td,
#tblIOSignal th,
#modalCalculatorSpeed table td,
#modalCalculatorSpeed table th {
    padding-top: 5px;
    padding-bottom: 5px;
}
/* POD Custom string configuration */
#modalPODCustomString .nav-link.active{
    /*background-color: var(--main-color);
    color: white !important;*/
    background-image: unset;
    background-color: var(--main-background-color);
    color: var(--fore-color) !important;
}
#modalPODCustomString .nav-link {
    /*color: black;
    font-size: unset;
    border-top-left-radius: .25rem !important;
    border-top-right-radius: .25rem !important;*/
    font-size: unset;
    background-image: unset;
    background-color: #6c757d;
    color: #ffffff !important;
    border-radius: 0px;
}
.product-name {
    display: flex;
    flex-direction: column;
}
.custom-string-config-product-row {
    display: flex;
    flex-direction: row;
}
.custom-string-config-product-row .product-name {width: 95%;}
.custom-string-config-product-row .custom-checkbox {padding-left: 1.5em;}
.custom-string-config-product-row .custom-checkbox .custom-control-label::before,
.custom-string-config-product-row .custom-checkbox .custom-control-label::after {
    width: 21px;
    height: 21px;
}
.custom-string-config-product-row .product-enabled {
    display: flex;
    align-items: center;
}
#nav-customstring-configuration .border-main {height: 50vh;}
#lstCustomStringConfiguration {
    overflow: auto;
    /* boder-main - 52px */
    height: calc(50vh - 52px);
}
#lstCustomStringConfiguration li {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
}
.custom-string-config-product-row .lb-product-name,
.custom-string-config-product-row .lb-product-fields {
    margin-bottom: 0px;
    /* [1.0.5.G+] 01/08/2024 - SoPhol.Truong: Add */
    word-break: break-all;
}
#sltCustomStringDestination {
    /* 100% - Header */
    height: calc(100% - 32px);
}
#modalPODCustomString .navbar-title-sub {height: 35px;}
.pod-custom-properties {
    overflow: auto;
    height: calc(100% - 32px);
}
#sltCustomStringSource,
#sltCustomStringDestination {height: 300px;}
.custom-string-config-product-row .lb-product-fields {font-size: small;}
/* [1.0.6.G] 06/08/2024 - SoPhol.Truong: Sensor status */
#tblSensorStatus tr {
    display: flex;
    align-items: center;
    flex-direction: row;
}
#tblSensorStatus td { 
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.sensorstatus-icon {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-bottom: 0px;
    margin-right: 10px;
}
.sensorstatus-icon[data-status="0"] {
    /* No sensor */
    background-color: #dc3545;
}
.sensorstatus-icon[data-status="1"] {
    /* Trigger sensor */
    background-color: #28a745;
}
.sensorstatus-icon[data-status="2"] {
    /* Trigger sensor */
    background-color: gray;
    border-width: 2px;
}
.sensorstatus-label {
    margin-bottom: 0px;
    margin-right: 10px;
    width: 20px;
}
#imgWifiNoNetworks,#imgWifiScanning{height: 150px;padding: 25px;}
#pnlWifiNoNetworks{display: flex;flex-direction: row;justify-content: center;}