﻿:root {
    --navbartopheight: 6vh;
    --main:#ee7e2d;
    --main65: #efa066;
    --sidebarback: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important;
    --sidebarfore: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important;
}
body {
    padding-top: var(--navbartopheight);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.navbar-header-text {
    font-size: 1.5rem;
}

.navbar {
    max-height: unset;
    height: var(--navbartopheight);
}

.userman-msg {
    font-size: 1.5rem;
}

footer.page-footer {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important;
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important;
}

.form-control.text-box.single-line, select.form-control {
    font-size: 1.5rem;
}

.toggle-btn {
    font-size: 1.5rem !important;
    color: #333;
    background: none;
    border: none;
}

.userman-pwd {
    display: flex;
    flex-wrap: wrap;
}

label[for] {
    font-size: 1.4rem;
}

button#togglePassword {
    margin-left: 10px;
}

a#change-password {
    font-size: 1.2rem;
}

img.navbar-brand {
    height: 6.5vh !important;
    margin-left: 1vw;
}

.btn.btn-primary {
    font-size: 1.2rem;
}

.container-fluid.userman-main {
    width: 98vw !important;
}

.tabulator-cell {
    font-size: 1.2rem;
}

.tabulator-col {
    font-size: 1.4rem;
}

input[type=checkbox] {
    height: 20px;
    width: 20px;
    margin-left: 3vw;
}

[bb-element-name="CustomerList"] .tabulator {
    height: 68vh !important;
}

[bb-element-name="QuotesList"] .tabulator {
    height: 68vh !important;
}

[bb-element-name="QuotesListResume"] .tabulator {
    height: 75vh !important;
}

.toast-title {
    font-size: 1.4rem;
}

.toast-message {
    font-size: 1.2rem;
}

.nav-link[bb-page-name="Home"]:before {
    content: "\f015" !important;
    font-weight: 900 !important;
}

.nav-link[bb-page-name="Customers"]:before {
    content: "\f0c0" !important;
    font-weight: 900 !important;
}

.nav-link[bb-page-name="QuotesTab"]:before {
    content: "\f02c" !important;
    font-weight: 900 !important;
}

[bb-method="AddNewCustomer"] button:before {
    content: "\f067";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}

[bb-method="AddQuote"] button:before {
    content: "\f067";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
[bb-method="ReviseQuote"] button:before{
    content: "\f46d";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}

[bb-method="ModifyCustomer"] button:before {
    content: "\f044";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}

[bb-method="ModifyQuote"] button:before {
    content: "\f044";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}

[bb-method="BackToQuotes"] button:before {
    content: "\f30a";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
[bb-method="SaveQuoteFromPage"] button:before {
    content: "\f0c7";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
[bb-method="PrintList"] button:before {
    content: "\f02f";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
[bb-method="AddQuoteDetail"] button:before {
    content: "\f067";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}

.tabulator-cell {
    height: auto !important;
    max-height: unset !important;
    white-space: break-spaces !important;
}

    .tabulator-cell[tabulator-field="quotecode"] {
        text-decoration: underline;
        font-weight: bold;
        color: var(--main);
        cursor: pointer;
    }

.row-selected .tabulator-cell[tabulator-field="quotecode"] {
    /* color: white; */
}

span.badge {
    font-size: 1.2rem;
    font-weight: bold;
    white-space: break-spaces;
    border-radius: 999px;
}

    span.badge.badge-draft {
        background-color: green;
        color: white;
    }

    span.badge.badge-sent {
        background-color: #ff8d00;
        color: white;
    }

    span.badge.badge-confirmed {
        background-color: #49abff;
        color: white;
    }

    span.badge.badge-order {
        background-color: blue;
        color: white;
    }

    span.badge.badge-rev {
        background-color: gray;
        color: white;
    }

    span.badge.badge-closed {
        background-color: red;
        color: white;
    }
    span.badge-confirmed-by-technical{
        background-color: purple;
        color: white;
    }
    span.badge-under-review{
        background-color: darkgreen;
        color: white;
    }

.graph-label {
    font-size: 1.1rem;
    text-align: center;
}

    .graph-label br {
        display: block;
    }

label.form-check-label {
    font-size: 1.4rem;
}

input.bb-checkbox {
    width: 20px !important;
    height: 20px !important;
}

[bb-page-name="QuotesTab"] .nav.nav-tabs {
    display: none;
}

[bb-element-name="QuotesListResume"] .tabulator-header {
    display: none;
}


[quote-status-flow] {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 40px;
}

/*Flow quote status*/
.flowchart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 40px 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width:40px;
}

.circle {
  width: 60px;
    height: 60px;
    border: 2px solid #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background-color: white;
    transition: all 0.3s ease;
    outline: 2px solid #007bff;
    outline-offset: 4px;
}

.label {
  margin-top: 8px;
  font-size: 14px;
  color: #007bff;
  height: 40px;
  font-weight:500;
  text-align: center;
}

/* Completed step */
.step.completed .circle {
    background-color: #007bff;
    color: white;
    outline: 6px solid #007bff;
    outline-offset: -1px;
}
.step.completed .label {
    font-weight: 700;
    width: 10vw;
}

/* Current step */
.step.current .circle {
  box-shadow: 0 0 20px #007bff;
  font-weight: bold;
}
.step.current .label {
    text-decoration: underline;
}
.step .label {
    font-size: 1.3rem;
}

/* Linea tra cerchi */
.connector {
    flex-shrink: 0;
    width: 12vw;
    height: 8px;
    background-color: transparent;
    z-index: 0;
    border: 2px solid #007bff;
    margin: 0px 14px;
    margin-top: -45px;
    border-left-color: white;
    border-right-color: white;
    z-index: 20;
}
.connector.completed-connector {
    background-color: #007bff;
    border-left-color: #007bff;
    border-right-color: #007bff;
}

/*End*/
.edit-last-quote {
    background: transparent;
    border: none;
}
.edit-last-quote:before{
    content: "\f35d";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-left: 10px;;
}

.iso-grid-item {
    padding: 5px;
}
.iso-grid-item.is-selected {
    border: 4px solid var(--main);
    background-color: transparent;
    border-radius: 20px;
}
.iso-grid-item.is-selected .isotope-image-text {
    color: white !important;
    background-color: var(--main);
}
.iso-grid-item img {
    max-height: 40vh;
    height: 40vh !important;
    margin: auto;
}
p.isotope-image-text {
    position: inherit;
    background-color: transparent;
    border: 2px solid var(--main);
    border-radius: 20px;
    margin-top: 5px;
    font-size: 1.4rem;
    text-align: center;
    padding: 5px;
    color: var(--main);
}
[bb-control-type="Button"] {
    display: flex
;
}
button {
    margin: auto;
}
span.jconfirm-title {
    width: 100%;
    text-align: center;
}
button.edit-detail {
    position: fixed;
    right: 0px;
}
button.del-detail {
    position: fixed;
    right: 30px;
}
button.edit-detail,
button.del-detail{
    background: transparent;
    border: none;
    margin-top: 10px;
}
button.edit-detail:before{
    content: "\f0ad";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
button.del-detail:before{
    content: "\f1f8";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
.tabulator-data-tree-control {
    border: 1px solid black !important;
}
.tabulator-data-tree-control {
    height: 20px !important;
    width: 20px !important;
}
.tabulator-data-tree-control .tabulator-data-tree-control-expand,
.tabulator-data-tree-control div:after {
    background-color: black !important;
}
[graphics]{
    height:75vh;
    display:flex;
    flex-direction:column;
}
[main-navbar] {
    top: calc(var(--navbartopheight) + 1px);
}
[main-navbar] .nav-link {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    color: var(--sidebarfore);
    font-weight: 400;
    border-radius: 5px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    line-height: 1rem;
    font-size: 1rem;
}
[main-navbar] .nav-link.active {
    border-color: transparent;
    --tw-text-opacity: 1;
    color: rgb(238 126 45 / var(--tw-text-opacity, 1)) !important;
    background-color: rgb(238 126 45 / 0.1);
}
[main-navbar].collapsed > .nav-item > .nav-link.active::before {
    border-color: transparent;
    --tw-text-opacity: 1;
    color: rgb(238 126 45 / var(--tw-text-opacity, 1)) !important;
    background-color: rgb(238 126 45 / 0.1);
}
[main-navbar] .nav-link:hover {
    border-color: transparent;
    --tw-text-opacity: 1;
    color: rgb(238 126 45 / var(--tw-text-opacity, 1)) !important;
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
[main-navbar].collapsed > .nav-item:hover > a::before {
    border-color: transparent;
    --tw-text-opacity: 1;
    color: rgb(238 126 45 / var(--tw-text-opacity, 1)) !important;
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
[main-navbar-content] {
    padding-bottom: 25px !important;
}
button.btn.btn-primary.next-stage {
    display: flex;
}

.next-stage .btn-label:after{
    content: "\f30b";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 1.5rem;
    margin-left: 10px;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
}
.e-tooltip-wrap.e-popup {
    background-color: var(--main);
    border-color: var(--main);
    border-radius: 5px;
}
.e-list-item {
    color: var(--main) !important;
    font-size: 1.3rem;
    font-weight: 600;
}
.e-tip-content {
    padding: 4px 0.5px !important;
}


.tabulator-col.tabulator-sortable {
    border-right: none !important;
}

.tabulator-col .tabulator-col-title {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600 !important;
    font-size: 0.75rem;
    line-height: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem !important;
    height: 4rem !important;
    max-height: unset !important;
    align-content: center;
}


.tabulator-cell {
    --tw-text-opacity: 1;
    color: var(--sidebarfore);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.tabulator-cell {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}


    .tabulator-cell[tabulator-field="companyname"] {
        font-weight: bold !important;
    }