html{width:100%}body{overflow-x:hidden!important}body.show-spinner>main{overflow:hidden!important}body.show-spinner>*{opacity:0}body.show-spinner::after{content:" ";display:inline-block;width:30px;height:30px;border:2px solid rgba(0,0,0,.2);border-radius:50%;border-top-color:rgba(0,0,0,.3);animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite;left:calc(50% - 15px);top:calc(50% - 15px);position:fixed;z-index:1}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}

ul.role-wrapper {
    display: block;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0;
    list-style: none;
}

ul.role-wrapper li {
    flex: 0 0 23%;
}

.custom-nav-tabs.nav-tabs .nav-link.active {
    background-color: #00365a;
    color: white;
}

.custom-nav-tabs {
    gap: 20px;
}

.custom-nav-tabs.nav-tabs .nav-link {
    padding: 10px 23px 9px;
}

h5#deleteModalLabel {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    display: block;
}

#deleteConfirmModal .modal-header {
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    border: 0;
}

#deleteConfirmModal .modal-body {
    border: 0 !important;
    padding-top: 10px;
    font-size: 15px;
    text-align: center;
}

div#deleteConfirmModal .modal-footer {
    border: 0;
    padding-top: 0;
    align-items: center;
    justify-content: center;
}

#pasteArea {
    border: 2px dashed #ccc;
    padding: 20px;
    min-height: 100px;
    margin-bottom: 20px;
}

#pasteArea:focus-visible {
    outline: 0;
    border-color: black;
}

.product-row .nav-pills .nav-link {
    border: 1px solid #00365a;
    margin-bottom: 12px;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 0px !important;
    border-color: #d7d7d7 !important;
    padding: .3rem .75rem !important;
    height: calc(2em + .8rem);
}

span.select2-selection__arrow {
    height: calc(2em + .8rem) !important;
}

ul.product-section {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 0;
}

ul.product-section li {
    width: 49%;
    margin: 1px 0px;
}

ul.product-section li a {
    display: block;
    padding: 10px 10px;
    text-align: center;
    border-radius: 18px;
}

.drill-wrapper {
    position: relative;
}

.drill-wrapper #loader {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.product-btn p {
    font-size: 12px;
    margin-bottom: 2px;
    line-height: 17px;
    margin: 4px 0px 4px;
}

.product-btn h6 {
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 15px;
}

.product-btn h5 {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

ul.product-section.product-list li {
    flex: 0 0 100%;
}

ul.product-section.product-list li a {
    text-align: left;
    padding: 10px 20px;
}

.item-qty {
    position: relative;
}

.edit-qty {
    position: absolute;
    right: -7px;
    top: 12px;
}

ul.btn-table {
    padding: 0;
    list-style: none;
}

.dashboard-small-chart-analytics i {
    font-size: 40px;
    color: #00365a;
}

.dashboard-small-chart-analytics .label {
    font-size: 25px;
    font-weight: bold;
    margin-top: 8px;
    color: #00365a;
}

.dashboard-small-chart-analytics {
    text-align: center;
}

.search-global {
    padding: 7px 10px;
    width: 56%;
    height: 27px;
    border-color: #ececec;
}

ul.product-section.fabric-list, ul.product-section.drawer-list {
    height: 200px;
    overflow-y: scroll;
    border: 2px solid #e5e5e5;
    padding: 8px;
}

ul.product-section.fabric-list li, ul.product-section.drawer-list li {
    width: 48%;
}

ul.product-section.fabric-list li span, ul.product-section.drawer-list li span{
    display: block;
}

.drill-wrapper .heading {
    font-size: 15px;
    padding: 0;
}

.fabric-btn, .drawer-btn {
    position: relative;
}

.fabric-btn.active:before {
    position: absolute;
    background-color: #3e884f;
    right: 10px;
    bottom: 6px;
    content: "✔";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    line-height: 22px;
}

.drawer-btn.active:before {
    position: absolute;
    background-color: #3e884f;
    right: 10px;
    bottom: 6px;
    content: "✔";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    line-height: 22px;
}

.selected-drawer-info {
    margin-top: 16px;
}

.fabric-row td, .drawer-row td{
    padding-top: 5px;
    padding-bottom: 5px;
}

.child-row{
    display: none;
    background-color: #f8f9fa;
}

.has-children-row {
    background-color: #f8f9fa;
}

.selected-fabric-info, .selected-drawer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}

.selected-fabric-info input, .selected-drawer-info input {
    width: 100%;
    height: 25px;
    padding: 0;
    padding-left: 10px;
}

.fabric-search, .drawer-search {
    width: 50%;
}

.selected-product .alert {
    padding: 10px 15px;
}

.remove-icon {
    width: 30px;
    height: 20px;
    line-height: 21px;
    padding: 0;
    display: block;
}

.fabric-search, .drawer-search {
    text-align: right;
}

.fabric-search button, .drawer-search button{
    margin-left: auto;
    display: inline-block;
}

.save-order {
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3;
    padding: 8px 0;
}

ul.role-wrapper > ul {
    padding: 0 !important;
    list-style: none;
}

ul.role-wrapper ul {
    padding: 0;
    list-style: none;
    display: flex;
    margin-top: 4px;
}

ul.role-wrapper h5 {
    margin-bottom: 10px;
}

label.heading-label {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 4px;
}

li.heading {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 4px;
    margin-bottom: 15px;
}

.route-row.active-row {
    background-color: #e5e5e5;
}

.custom-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.custom-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.custom-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-toggle input:checked + .custom-toggle-slider {
    background-color: #4CAF50; /* green when on */
}

.custom-toggle input:checked + .custom-toggle-slider:before {
    transform: translateX(26px);
}

div#production-tasks .form-group {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

div#production-tasks .form-group .form-check {
    margin-right: 35px;
}