/* Prevent filter results from causing horizontal scroll */

#SrcCustInfo {
    max-width: 100vw;
    overflow-x: auto;
    box-sizing: border-box;
}


#searchResultnav {
    display: contents !important;
    max-width: 100vw;
    min-width: 0;
    word-break: break-word;
}

#searchResultnav {
    min-width: 0;
    word-break: break-word;
}
#CustomerFilter {
    display: none; 
    max-height: 400px;
    background: #f5f5f5;
    overflow-y: auto;
    position: absolute;
    z-index: 10000;
    border: 1px solid #333;
    width: 98%;
    border-radius: 5px;
    box-shadow: 2px 1px 14px 0px #333;
    & #searchResultnav button.dropdown-item {
        border-bottom: 1px solid;
        border-color: #9b9b9b;
    }
    & #searchResultnav button.dropdown-item:first-child {
        margin-top: 10px;
    }
    & #searchResultnav button.dropdown-item:last-child {
        border-bottom: none;
    }
}

/* Prevent horizontal scroll and overflow on mobile devices */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

#main-wrapper, .container-fluid, .row, .card, .page-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
}
/*
 * Prokura custom css
 * Bsiwebapp (https://www.espbizz.com/)
 */
/* CSS-01 - general css */
/* fonts Styles */
.blacktext {
	color: #212529;
}
.redtext {
	color: #e83e8c;
}
.text-align-right {
    text-align: right;
}
.bold {
	font-weight: 500;
}
.regularfont {
    font-weight: 400;
}
.font75{
    font-size: 75%;
}
.font110 {
    font-size: 110%;
}
.padding-6-30 {
    padding: 6px 30px;
}
.loginalert {
	font-size: 12px;
	position: absolute;
}
.NCRLabel {
    color: #212529;
    font-weight: 500;
}
#alertcontainer {
    z-index: 100000 !important;
}
.IconValid {
    font-size: 15px;
}
.profile-avatar {
	width: auto;
    padding: 0 0px;
    width: 100%;
    height: auto;
    max-height: 370px;
}
.avatar-top {
	width: 40px;
	height: 40px;
}
button .notify-no {
	line-height: 11px;
    padding: 4px 6px;
}
.BtnToolBar {
    padding: 5px 20px !important;
}
.dt-container .toolbar {
    margin-left: 10px;
}
#selmanager,
#selarea,
#selrm,
#selcorate,
#selrep {
 display: none;
}
/* Customer Search Styles - Word Order */
.clear{
 clear:both;
 margin-top: 20px;
}
#spnbottom,
#spnTop {
    font-size: 30px;
    padding-left: 5px;
    padding-top: 5px;
}

#searchResult,
#searchService,
#searchProduct,
#searchLadder,
#updateLadder {
 list-style: none;
 padding: 0px;
 width: 100%;
 position: absolute;
 margin: 0;
 z-index: 100;
 background: #ffffff;
 color: #000000;
}
select.searchLadder {
	display: none;
	width: 314px;
}
#searchLadder {
	display: none;
}
#searchResult li,
#searchService li,
#searchProduct li,
#searchLadder li,
#updateLadder li {
background: #5c72e1;
 padding: 4px;
 margin-bottom: 1px;
 font-size: 12px;
 color: #ffffff;
}
#searchResultnav {
	width: 100%;
    height: 100%;
    max-height: 200px;
}

#searchResultnav option {
    padding: 1px 10px;
    border-top: 1px solid #e0dede;
    border-bottom: 1px solid #e0dede;
}
#searchResult li:nth-child(even),
#searchService li:nth-child(even),
#searchProduct li:nth-child(even),
#searchLadder li:nth-child(even),
#updateLadder li:nth-child(even) {
 background: #5c72e1;
 color: white;
}

#searchResult li:hover,
#searchService li:hover,
#searchProduct li:hover,
#searchLadder li:hover,
#updateLadder li:hover,
#searchResult li.selected,
#searchService li.selected,
#searchProduct li.selected,
#searchLadder li.selected,
#updateLadder li.selected {
 cursor: pointer;
 background: #333;
}
input[type=text]{
 padding: 5px;
 width: 100%;
 letter-spacing: 1px;
     border: 1px solid #cbcbcb;
}
#userDetail,
#serviceDetail,
#productDetail {
	color: #333;
}
.small-thead tr th {
	font-weight: 200;
    font-size: 12px;
	text-align: center;
}
table#dynamic_table input[type=text],
.descproduct,
.qtyproduct {
	font-size: 10px;
    padding-right: 0px !important;
    padding-top: 1px;
    padding-bottom: 1px;
    height: 23px;
    margin-top: -2px;
}

#ResPno {
	width: 98% !important;
	display: none;
    position: absolute;
    z-index: 100;
}
#SupportFields {
	display: none;
}
.input-group-text {
    line-height: 0.5;
}
.qtyproduct {
	width: 50px !important;
}
.form-control.is-valid, .was-validated .form-control:valid {
	padding-right: 20px!important;
}
.lowercase {
	text-transform: lowercase!important;
}
.view-button,
.view-button:hover {
    text-decoration: none;
    color: #edf2f9;
    font-size: 11px;
    border-radius: 2px;
    padding: 5px 10px;
    background-color: #5f76e8;
    font-weight: 300;
}
.delete-button, .delete-button:hover {
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #ff4f70;
    font-weight: 300;
}
.label-totalbox {
	margin-bottom: 0px;
    margin-top: 12px;
    margin-right: 10px;
}
/* Tables Styles  */
.table td, .table th {
    padding: 8px 10px;
    vertical-align: top;
    border-top: 1px solid #e8eef3;
}
table.nobottomgap {
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.custtabs {
    padding: 0px 25px;
}
.buttonbox {
    padding-top: 0px;
}
.nomargin {
	margin: 0px !important;
}
.nopadding {
	padding: 0px !important;
}
.simplebordered {
	border-top: 1px solid #333;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}
.simplebordered:last-child {
	border-bottom: 1px solid #333;
}
.simplebordered .col-4 {
	border-right: 1px solid #333;
}
.borderobottom {
	border-bottom: 1px solid #333;
}
.borderleft {
	border-left: 1px solid #333;
}
.firstcol {
    color: #333;
    background-color: #c5c5c5;
    flex: 0 0 4%;
    max-width: 4%;
    font-weight: 500;
    padding: 5px 15px;
}
.surveyform p {
	margin: 5px;
}
table thead th, table thead td,
table tfoot th, table tfoot td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
    font-size: 10px;
    font-weight: 400;
    vertical-align: top !important;
	text-align: center;
}
table tbody td {
    font-size: .65rem;
	text-transform: capitalize;
    
    & button.btn-circle:active,
    & button.btn-circle:hover,
    & button.btn-circle:focus {
        border: transparent;
    }
    & i.BtnControl {
        font-size: 1.3rem;
    }
}
table#TblCustomers tbody td {
    text-transform: none;
}
#BtnFloatGroup {
    /* Step 1: Fix the position relative to the viewport */
    position: fixed; 
    
    /* Step 2: Set the horizontal position (right) */
    right: 20px; /* Adjust this value for padding from the screen edge */
    
    /* Step 3: Use 'top' and 'transform' to center vertically */
    top: 50%; /* Start at 50% from the top */
    transform: translateY(-50%); /* Shift it up by half its own height for true vertical centering */
    
    /* Optional: Ensure it stays on top of other content */
    z-index: 1000; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-color: #fdc16a !important;
    border-color: #fdc16a;
    color: #333 !important;
    padding: 5px 0px;
    & a {
        color :#333;
        padding: 5px 0px;
        text-align: left;
        padding: 0;
    }
}


.remove-button, .remove-button:hover {
    text-decoration: none;
    color: #edf2f9;
    font-size: 11px;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #ff4f70;
    font-weight: 300;
}
.btn_remove,
.btn_remove1 {
    color: #fff;
    background-color: #ff4f70;
    border-color: #ff4f70;
    border-radius: 31%;
    font-size: 7px;
    width: 30px;
    height: 25px;
    text-align: center;
}
.btn-addphoto{
	text-align: center;
    padding: 15px 0 1px 0;
    border-radius: 5px;
}		
.btn-addphoto i {
	font-size: 30px;
}
.btn-addphoto p {
	font-size: 10px;
}										
.btn-action-tables {
    font-size: 9px;
    padding: 4px 10px;
    border-width: thin;
}
div:focus {outline: none;}
div.edit:focus, div.edit:hover {outline: 1px solid red; }
.btn_update {
	    color: #fff;
    background-color: #22ca80;
    border-color: #22ca80;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bolder;
    text-align: center;
    margin-right: 10px;
}
.btn-deleteproduct {
	border-radius: 50%;
	font-size: 11px;
}
.centered {
	text-align: center;
}
.groupacl th{
	width: 20%;
}
.whiteback {
	background-color: #ffffff;
	padding: 10px;
}
.whitebacknospace {
	background-color: #ffffff;
	z-index: 10;
}
.btn-add-level {
	margin-top: 33px;
}
.hidebtn {
	display: none;
}
.border-info {
    border-color: #1c2d41!important;
}
.border-info td.centered {
    border-right: #1c2d41 1px solid!important;
}
#dynamic_table {
	margin-bottom: 5px;
}
#dynamic_table .location {
	display: none;
}
.btn-actions-table-wo{
    font-size: 10px;
    margin-left: 10px;
}
.btn-warning {
    color: #212529;
    background-color: #fdc16a!important;
    border-color: #fdc16a;
    color: #333!important;
}

.file_drag_area
 {
      width:100%;
      height:200px;
      border:2px dashed #ccc;
      line-height:200px;
      text-align:center;
      font-size:24px;
 }
 .file_drag_over{
      color:#000;
      border-color:#000;
 }

.img-responsive {
    width: auto;
    height: 100%;
    max-height: 150px;
    display: inline-block;
    margin-right: 10px;
    padding: 10px;
    background-color: #333;
    margin-bottom: 10px;
}
.btn-table-view {
	padding: 0px;
    width: 30px;
    height: 25px;
}

.img-responsive:hover {
	opacity: 0.5;
}
.custom-select {
    color: #252525;
    border: 1px solid #cbcbcb;
}
select.form-control {
	border: 1px solid #cbcbcb;
}
.custom-select-ladder {
	font-size: 12px;
}
select#wo_status option:disabled{
	color: #b8c3d5;
}
.only-backoffice {
	display: none;
}
.form-control-mini {
    font-size: 11px;
    padding: 0 5px;
    height: calc(.75em + .75rem + 1px);	
}
.dponlyrt {
	display: none;
}
/* Users table format */
table#tableusers tbody td {
    text-transform: none;
}
table code {
    font-size: 12px;
}
.spaced5 {
	padding: 10px;
	background: #1c2d41;
}
.spaced5 h6 {
	color: #fff!important;
    font-size: 12px;
    font-weight: 100!important;
}
.marginbottom-0rem {
    margin-bottom: 0 !important;
}
.spaced20 {
	padding: 20px;
}
.margintop-05rem {
    margin-top: .5rem;
}
.margintop-10rem {
    margin-top: 1rem;
}
.marginbottom-05rem {
    margin-bottom: .5rem;
}
.margin-top-33px {
    margin-top: 33px;
}
.box-deco {
	border: 1px solid #313d79;
	margin-bottom: 15px;
}
.box-deco #dynamic_table {
	margin-left: 1px;
	border-bottom: 1px solid #d8d8d8;
}
#ui-datepicker-div {
    z-index: 1000000 !important;
    position: absolute !important;
}
.actions-wo {
	margin: 10px;
}
.btnnteladder {
	    margin-left: 20px;
		display: none;
}
.wopreview p {
	font-size: 11px;
	margin-bottom: 0;
    line-height: 13px;
}
div.modalrowheader {
	border: 1px solid #bbb;
	margin: 0px;
}
.modalrow {
	padding: 0px 10px;	
}
div.modalrowheader:first-child {
	border-bottom: transparent;
}
div.modalrowheader .col-2,
div.modalrowheader .col-1 {
	border-left: 1px solid #bbb;
}
div.modalrowheader .col-2:first-child {
	border-left: transparent;
}
div.wopreview input[type=text] {
    font-size: 10px;
	padding: 0;
    height: 19px;
}
ol#list-documents {
	font-size: 10px;
	padding-left: 20px;
}
/*Msg box Styles */
.chat-box,
.docs-container {
	height: calc(50vh - 113px)!important;
    border: 1px solid #dedede;
    margin-bottom: 15px;
    border-radius: 9px;
}
.docslistprev {
	max-height: 76px;
    overflow-y: scroll;
    margin: 5px 18px 5px 0px;
}

.docslistprev::-webkit-scrollbar-track,
#tableworkorders::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #ffffff;
}

.docslistprev::-webkit-scrollbar,
#tableworkorders::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

.docslistprev::-webkit-scrollbar-thumb,
#tableworkorders::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(255,255,255,.3);
	background-color: #5f76e8;
}
#SSloader label.custom-file-label,
#picloader label.custom-file-label{
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 5px 0;
}
#FilesModal #previewfiles,
#ModalsContainer #PreviewFiles,
#ModalsContainer #PreviewSS,
#ModalsContainer #PreviewSNImg {
	overflow-y: auto;
    margin: 0 15px;
    padding: 20px;
}
.modal-content {
	border-radius: 10px;
}
#DocFilesModal .row {
	margin: 5px;
}
.nte-wo-field {
	width: 78%!important;
	display: inline-flex;
}
.fullwidth{
	width: 100%;
}
.wo-order-menu {
	left: unset;
}
.wo-order-menu .container {
	background: #d0d0d0;
    width: 360px;
    padding-top: 3px;
    border-radius: 5px 5px 0 0;
}
.hidderow {
	display: none;
}
#workmessages,
#pinnedmsg,
#textmessage {
	font-size: 10px;
}
.dropdow-sm {
    font-size: 11px;
    padding: 0 5px;
    height: calc(.75em + .75rem + 1px);
}
.rpt-header {
    font-size: 22px;
    margin-top: 5px;
}
.reports .card-body {
    border: 1px solid #1c2d4185;
}
label[for=overwritename]
{
   width: 100%;
}
label[for=overwritepo]
{
   width: 100%;
}
#tableproductslist_wrapper .toolbar {
    width: 80px !important;
	display: inline-block;
	margin-left: 10px;
}
#BatchValidResult tr td.res {
    text-align: center;
}

.dt-buttons,
.dt-length {
    float: left;
}
.toolbar,
.dt-buttons,
.dt-length {
    display: inline-block;
}
.dt-search {
    float: right;
}
.dt-container {
    color: #333;
}
.errlogval p {
    width: 100%;
    max-width: 300px;
}
table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(115 166 241 / 90%) !important;
}
.ImportProducts {
    margin-left: 10px;
}
.previewenabled {
	padding-top: 0px !important;
}
.hideonpreview {
	display: none !important;
}
.previewenabled .wopreview {
	padding: 3px 0 0 0;
}
.previewenabled .container-fluid {
	margin-top: 20px;
}
.previewenabled #tableworkorders_filter {
	display: none;
}
.previewenabled #tableworkorders {
	display: block;
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.previewenabled #tableworkorders.rep {
    height: 220px !important;
}
.previewenabled #list-documents {
	    min-height: 30px;
}
.btnediticon {
    float: right;
    position: relative;
}
.pointer{
	 cursor: pointer;
}
.inline {
	display: inline-block;
}
.editbatch {
	font-size: 18px;
    margin-top: 4px;
}
.editduedate {
    font-size: 18px;
}
.btneditdue {
	margin-top: -4px;
}
#duedate {
	float:left; 
}
.transparent {
	opacity: 0;
}
.badge100 {
    font-size: 100%;
}
/* ------------------------------------------------------------------------------------ */
/* Custom Objets 																		*/
/* ------------------------------------------------------------------------------------ */
.gotobottom, .gototop {
    font-size: 30px;
    padding-left: 5px;
    padding-top: 5px;
}
.EditableFld {
    border: 1px solid #FFC107 !important;
}
.EditableFld:focus {
    box-shadow: 0px 0px 5px 0px #FFC107;
}
.btnheadtable {
    margin: 0 10px;
}
.btncircle {
    border-radius: 50%;
}
.uppercase {
    text-transform: uppercase;
}
.modal-xl {
    max-width: 1640px;
}
#ControlMenu > div > .container{
    width: 100%;
    max-width: 1024px;
}
.btn-app {
    border-radius: 3px;
    font-size: calc(14px + (18 - 16) * ((100vw - 300px) / (1600 - 300)));
    position: relative;
    text-align: center;
    margin-top: 10px;
    line-height: 15px;
    vertical-align: bottom;
    font-weight: 400;
    padding: 10px 10px;
}
.btn-app i {
    font-size: calc(20px + (20 - 25) * ((100vw - 300px) / (1600 - 300)));
    position: relative;
    margin-top: 0px;
    margin-bottom: 1px;
}
.btn-app>.badge {
    font-size: 10px;
    font-weight: 400;
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 10;
    height: 20px;
    width: 20px;
    text-align: center;
}
.box-arrows{
    width: 10px;
    position: fixed;
    right: 35px;
    bottom: 100px;
}
.hidedesktop {
    display: none;
}
.SsDOcument {
    font-size: 12px;
    display: inline-block;
    max-width: 140px;
    padding: 5px;
    position: relative;
    vertical-align: top;
    & a {
        text-decoration: none;
        overflow-wrap: anywhere;
    }
    & .BtnSS {
        border-radius: 10px;
        width: 120px;
        height: 120px;
        color: #fff;
        text-align: center;
        font-size: 50px;
        padding-top: 25px;
        padding-left: 10px;
        margin-bottom: 5px;
        vertical-align: top;
    }
    & .DelIcon {
        position: absolute;
        color: red;
        font-size: 30px;
        top: -5px;
        right: 5px;
    }
    & .DelIcon > i {
        background: #fff;
        border-radius: 50%;
        border: 2px solid #fff;
    }
}
.RedBtn {
    background: #950606;
}
.Docx {
    background: #2b579a;
}
.Imgx {
    background: #d24726;    
}
#PhotoDetDesc {
    height: 100%;
    max-height: 100px;
    min-height: 120px;
}
.formlabel {
    margin-top: -16px;
}
.tag-white-blue {
    background-color: #fff !important;
    color: #5f76e8 !important;
    border: 1px solid #5f76e873 !important;
    min-width: 150px;
}
.tag-blue-white {
    background-color: #5f76e8 !important;
    color: #fff !important;
}
.tag-white-orange {
    background-color: #fff !important;
    color: #FF5722 !important;
    border: 2px solid #FF5722 !important;
}
#ReqDocs,
#PrevReqDocs {
    display: none;
  }
.invalid-feedback-email,
.passwd_response,
.invalid-feedback-login {
    font-size: 12px;
    color: #ff4f70;
    margin-top: -15px;
    margin-bottom: 5px;
}
.ProfAvatar {
    padding: 0 0px;
    width: 100%;
    height: auto;
}
#ImgPrevProf {
    width: 100%;
    max-width: 450px;
    margin: auto;
}
.GroupTagsBox {
    display: inline-block;
    margin-right: 5px;
}
.GroupTagsBox .input-group-prepend {
    width: fit-content;
    float: left;
}
.GroupTagsBox .form-control {
    float: right;
    width: 85px;
}
#BtnShowControls {
    display: none;
}
#ReminderBox {
    padding: 15px;
}
#RmTitle {
    margin-left: 20px;
}
.InvoiceDateSlc  {
    width: 160px !important;
}
.col-ncr {
    flex: 0 0 100%;
    max-width: 100%;
}
.btncalendar {
    margin-top: 10px;
    margin-bottom: 10px;
}
#AddWish .modal-body > .row {
    padding: 15px 20px;
}
#PrevReqDocs #Reqpreviewfiles,
#EditDocs #EditTaskFiles {
    height: 230px;
    overflow-y: auto;
    float: left;
    position: relative;
    margin-left: -5px;
    padding-top: 15px;
}
/* -------------------------------------*/
/* Phase Request Module                 */
/* -------------------------------------*/
#TaskDetail #EditDocs #EditTaskFiles {
    margin-left: 0;
    margin-bottom: 0;
}
#TaskDetail {
    & .custom-accordion .card {
        border-radius: 10px;
    }
    & .custom-accordion .card-header {
        border-radius: 10px 10px 0 0;
    }
    & .custom-accordion .card-body {
        min-height: 585px;
        border-radius: 0px 0 10px 10px;
    }
    & .custom-accordion .card p,
      .custom-accordion .card select,
      .custom-accordion .card textarea {
        margin-top: .5rem;
        margin-bottom: 0 !important;
    }
    & .custom-accordion .form-group {
        margin-bottom: 0;
    }
    & .AttachedDetailBox {
        height: 30vh !important;
    }
    & #conversation-display {
        border-radius:  10px;
    }
    & #RequirementContainer {
        margin: 0;
    }
    & #TaskComment .card-body {
        min-height: 100px;
    }
}
.message-bubble-right {
    text-align: right;
}
#AddWish #previewfiles {
    height: auto !important;
    padding: 15px;
}
.recoverbox {
    width: 100%;
}
#TblWishlist .rounded-pill {
    border: none;
    font-size: 10px;
    font-weight: 400 !important;
}
.border-simple {
    border: 1px solid #cdcdcd;
    & textarea, .docs-container, #conversation-display, .custom-file-label {
        border: 1px solid #c9c9c9;
    }
}
#WishDetails {
    & #conversation-display {
        border-bottom: 1px solid #f9fafb94;
        border-radius: 10px 10px 0 0;
    }
    & .card-footer {
        border-top: none !important;
        border-radius: 0 0 10px 10px;
    }
}
/* .BtnTagWO {
    font-size: calc(13px + (16 - 16) * ((100vw - 300px) / (1600 - 300)));
} */
/* CSS-02 - Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    .hidedesktop {
        display: inline-block;
    }
    .page-wrapper>.container-fluid {
        padding: 5px;
        margin-bottom: 90px;
    }
    .card-body {
        padding: 20px;
    }
    .col {
        padding-right: 10px;
        padding-left: 10px;
    }
    #SecTotals > .col-md-12 > .row > .col {
        display: inline-block;
        width: 100%;
        min-width: 125px;
        margin-bottom: 0px;
        margin-top: 0px;
    }
    #SecTotals > .col-md-12 > .row > .col > .mb-3 {
        margin-bottom: 0.1rem !important;
    }
    #SecTotals h6 {
        margin-bottom: .1rem;
        margin-top: .1rem;
    }
    .table thead th.hidemobil {
        display: none !important;
    }
    #ControlMenu > div > .container {
        padding-right: 5px;
        padding-left: 5px;
        width: 100%;
    }
    .btn-app {
        height: 45px;
        min-width: 46px;
        max-width: 46px;
        font-size: calc(13px +(16 - 16)*((100vw - 300px) /(1600 - 300)));
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 5px;
        margin-right: 2px;
    }
    .btn-app i {
        display: block;
    }
    #SecLadder .card-body > .row > .form-group > .row > .col-4,
    #SecTotals > .col-md-12 > .row > .col {
        max-width: 49%;
        flex: 0 0 49%;
    } 
    #SerNumber {
        width: 90%;
        display: inline-block;
    }
    .BtnSearchSn {
        padding-left: 1px;
        padding-right: 1px;
        float: right;
        margin-top: -11px;
        margin-right: -5px;
    }
    .BtnSearchSn i{
        margin-top: 8px;
    }
    #searchLadder {
        display: block;
    }
    .hidemobile {
        display: none !important;
    }
    #dynamic_box .col-11 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    #dynamic_box .col-1 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    #dynamic_box .col-4,
    #dynamic_box .col-6{
        flex: 0 0 100%;
        max-width: 100%;
    }
    #SrcCustInfo .col,
	#UpdBoxModal .row > .col > .row > .col {
        width: 100%;
        display: inline-block;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 8px;
    }
    #dynamic_box .col-6 {
        margin-bottom: 10px;
    }
    #dynamic_box .col-11 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .btn-addphoto {
        padding: 5px;
    }
    .btn-addphoto i {
        font-size: 25px;
    }
    .btn-addphoto p {
        font-size: 10px;
        margin-bottom: 0rem;
    }
    .card > .collapse > .card-body {
        padding: 20px;
    }
    .wo-order-menu {
        transition: bottom 0.3s ease-in-out;
        width: 100%;
        bottom: -45px;
    }
    .btn-app span {
        display: block;
        font-size: .7rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: 40px;
        text-align: center;
    }
    #dynamic_box th:nth-child(1),
    #dynamic_box th:nth-child(4),
    #dynamic_box th:nth-child(5),
    #dynamic_box th:nth-child(7),
    #dynamic_box th:nth-child(8),
    #dynamic_box td:nth-child(1),
    #dynamic_box td:nth-child(4),
    #dynamic_box td:nth-child(5),
    #dynamic_box td:nth-child(7),
    #dynamic_box td:nth-child(8){ 
        display:none;
    } 
    .GroupTagsBox .label-totalbox {
        margin-right: 50px;
    }
    .GroupTagsBox .input-group-prepend {
        width: auto;
        float: left;
    }
    .GroupTagsBox  .form-control {
        width: 105px;
        float: right;
    }
    .GroupTagsBox .label-totalbox {
        margin-right: 50px;
    }
    .GroupTagsBox .label-commissionbox {
        margin-right: 0px;
    }
    #BtnShowControls {
        display: block;
        position: absolute;
        top: -35px;
        right: 0px;
        font-size: 20px;
        width: 45px;
        height: 35px;
        color: white;
        text-align: center;
        padding-top: 5px;
        border-radius: 10px 10px 0 0;
    }
    .wo-order-menu.show {
        bottom: 0;
    }
    .modal-footer button {
        font-size: .85rem;
        min-width: 72px;
        min-height: 55px;
        padding: .375rem .45rem;
    }
    #TagNotifUpBox {
        display: none;
    }
    .actions-wo .TextBoxWo {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .actions-wo .AddImagBtnWO {
        flex: 0 0 25%;
        max-width: 25%;
    }
    #ScannerModal {
        left: 0;
        right: 0;
        top: 30%;
        bottom: 0;
        margin: auto;
    }
    #reader {
        width: 95%; 
        margin: auto; 
        height: 10px;
    }
    #ScannerModal {
        & .ScannerContainer > .row > .col > .card {
            margin-bottom: 0;
        }
        & .modal-body {
            padding: 0;
        }
        & video {
            width: 100%;
            height: 300px;
        }
    }
     /* Quagga2 Scanner Styles */
    #reader {
       position: relative;
    }
    #reader video, #reader canvas {
       width: 100% !important;
       height: auto !important;
       position: absolute;
       top: 0;
       left: 0;
    } 
    #CustomerFilter .form-group {
        padding: 0;
    }

}
/* CSS-03 - Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

}
/* CSS-04 - Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #ScannerModal {
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
    #reader {
        width: 95%; 
        margin: auto; 
        height: 10px;
    }
    #ScannerModal {
        & .ScannerContainer > .row > .col > .card {
            margin-bottom: 0;
        }
        & .modal-body {
            padding: 0;
        }
        & video {
            width: 100%;
            height: 300px;
        }
        & #ScannerContainer {
            padding-left: 15px;
            padding-right: 5px;
        }
    }
    
     /* Quagga2 Scanner Styles */
    #reader {
       position: relative;
    }
    #reader video, #reader canvas {
       width: 100% !important;
       height: auto !important;
       position: absolute;
       top: 0;
       left: 0;
    } 
}
/* CSS-05 - Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

}
table.variables tbody td {
    font-size: 13px;
    text-transform: unset;
}
/* Temp styles */
.deletewordorders {
	display: none;
}
.orderspage .modal-backdrop.show {
	    opacity: .3 !important;
}
#totals-section input.form-control,
.actions-wo input.form-control {
	font-size: 14px;
}

#totals-section .input-group-text {
	padding: 0px 4px;
}
#totals-section h4.card-title {
	font-size: .9rem;
}
.actions-wo h6.label-totalbox {
	margin-top: 12px;
    margin-bottom: 3px;
}
.actions-wo span.input-group-text {
    margin-top: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    font-size: 14px !important;
}
.separator10 {
    margin-bottom: 10px;
}
.separator20 {
    margin-bottom: 20px;
}
.separator40 {
    margin-bottom: 40px;
}
.btneditpre {
    float: right;
    display: block;
    position: relative;
    margin-top: -25px;
}
.btnupdcomm {
    display: inline-block;
    position: relative;
}
#wocommisioninput {
	display: inline-block;
    width: 100%;
    margin-left: 1px;
}
#wocommisioninputrep {
	display: inline-block;
    margin-left: 1px;
}
.reportlabel {
    color: #333;
}
fieldset label,
.btreports label {
	color: #000000;
}
.loaderlayer {
	position: fixed;
    left: 0px;
    background-color: #444;
	opacity: .6;
    width: 100%;
    height: 100%;
    z-index: 1000000000;
    top: 0px;
	display: none;
}
#PhotoDetail {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
    height: 100%;
	display: none;
	margin-top: 40px;
}
#PhotoDetail:before {
	background-color: #000;
	opacity: .6;
	content: " ";
	position: fixed;
	width: 100%;
    height: 100%;
	top: 0px;
}
#PhotoDetCont img {
	height: 100%;
    max-height: 400px;
}
.PhoDetCont {
	width: 100%;
    max-width: 1200px;
    min-width: 400px;
    margin: auto;
    text-align: center;
}
.PhoDetCont textarea {
	margin: 5px;
    border: 1px solid #a5a3a3;
    border-radius: 5px;
}
.loaderlayer img {
	width: 50px;
}
.loaderlayer .msgcontainer {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    text-align: center;
    color: #ffffff;
    line-height: 40px;
}
.alignright {
	text-align: right;
}
.aligncenter {
	text-align: center;
}
.GPID-group {
	display: none;
}
/* Styles for Phase Request Attached Files */
.mini-galery {
	width: 110px;
	height: 110px;
	border-radius: 5px 5px 0 0;
    object-fit: cover;
}
.DefaultrayLabel {
    color: #7c8798;
}
div.document-icon {
    font-size: 12px;
    display: inline-block;
    max-width: 110px;
    padding: 0px;
    width: 100%;
    margin: 0 6px 15px 0;
    overflow: hidden;
    text-align: left;
    word-wrap: break-word;
	vertical-align: top;
	position: relative;
    border-radius: 6px;
    box-shadow: 0px 0px 6px 0px #333;
    text-align: center;
    & a {
        color: #7c8798;
    }  
    & .deletedoc {
        position: absolute;
        color: red;
        font-size: 20px;
        top: -2%;
        margin-left: 80%;
    }
}

.previewwindow {
	display: none;
}
.buttons-excel {
    background-color: #1D6F42 !important;
    color: #ffffff !important;
    padding: 5px 20px !important;
    margin-right: 10px !important;

}
.DwnExcel {
    background-color: #1D6F42 !important;
    color: #ffffff !important;
    padding: 5px 20px !important;
    margin-right: 10px !important;
}
.button-pdf {
    background-color: #f44336 !important;
    color: #ffffff !important;
    padding: 5px 20px !important;
    margin-right: 10px !important;
}
.buttons-excel:after,
.DwnExcel:after,
.button-pdf:after {
    font-family: 'Font Awesome 5 Free';
    content: "\f019";
    font-size: 12px;
    display: inline-block;
    color: #fff;
    position: relative;
    font-weight: 900;
    margin-left: 9px;
    vertical-align: bottom;
}
#PdfViewer .modal-body #viewer {
    height: 80vh;
}
.ImgHist {
    object-fit: cover;
    width: 300px;
    height: 250px;
}
.PhHisTitle {
    margin: 0px -16px 0;
    background: #333;
    color: #fff;
    padding-top: 10px;
}
#PhotoHsContainer {
    max-height: 100vh;
    overflow: auto;
}
.PhHisTitle h4 {
    font-weight: 300;
}
.PhHisTitle:first-child{
    margin-top: -17px;
}
.SurEmail {
    text-transform: lowercase;
}
.SurName {
    text-transform: capitalize;
}
.multiselect {
    background: #dbdada;
}
.btn-hidedef {
    display: none;
}
#tablesurvey tbody tr {
    height: 40.5px;
}
td .status {
    font-size: 10px;
    border-radius: 10px;
    font-weight: 400;
    display: inline-block;
    padding: .5em 1em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;

}
td .unsent {
    border: 1px solid #fddbe2;
    color: #ff4f70;
}
td .sent {
    border: 1px solid #ffc107;
    color: #ffc107;
}
td .submitted {
    border: 1px solid #28a745;
    color: #28a745;
}
td.SurSt,
td.SurAct {
    text-align: center;;
}
#tablesurvey>tbody>tr>th, 
#tablesurvey>tbody>tr>td {
    vertical-align: middle;
}

.AttachedDetailBox {
    height: 315px !important;
}



/* - Wiki Styles - */
.wiki-container {
    /* The color variables are now scoped to this class */
    --bg-color: #fff;
    --sidebar-bg: ##fff;
    --list-bg: #f5f5f5;
    --main-content-bg: #fff;
    --card-bg: #303350;
    --text-color: #e0e0e0;
    --text-color-2: #303350;
    --text-color-3: #818181;
    --accent-color-1: #6a1b9a;
    --accent-color-2: #8e24aa;
    --accent-color-3: #588157;
    --accent-color-4: #4a5c9a;
    --border-color: 1px solid #f1f1f1;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: start;
    height: 100vh;
    box-shadow: 0px 0px 2px 2px rgb(10 10 10 / 11%);

    & .dashboard-container {
        display: flex;
        grid-template-columns: 250px 300px 1fr;
        width: 100%;
        max-width: 1500px;
        height: 80vh;
        background-color: var(--sidebar-bg);
        border-radius: 12px;
        overflow: hidden;
        height: 100%;
    }

    /* Sidebar Styling */
    & .sidebar {
        background-color: var(--sidebar-bg);
        border-right: 1px solid var(--border-color);
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        padding: 20px;
        width: 100%;
        max-width: 230px;

        & .sidebar-header {
            font-size: 1.2em;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--card-bg);
        }

        & .search-bar {
            position: relative;
            margin-bottom: 20px;
            & input {
                width: calc(100% - 40px);
                padding: 10px 10px 10px 40px;
                background-color: var(--main-content-bg);
                border: none;
                border-radius: 8px;
                color: var(--text-color);
                font-size: 1em;
            }
            & input::placeholder {
                color: #888;
            }
            &::before {
                content: "ðŸ”Ž";
                position: absolute;
                left: 15px;
                top: 50%;
                transform: translateY(-50%);
                color: #888;
            }
        }

        & .module-list {
            list-style: none;
            padding: 0;
            margin: 0;
            overflow-y: auto;
            & .wiki-item {
                padding: 12px;
                border-radius: 8px;
                cursor: pointer;
                transition: background-color 0.2s;
                font-size: 0.95em;
                display: flex;
                justify-content: space-between;
                align-items: center;
                &:hover, &.active {
                    background-color: var(--card-bg);;
                    color: #fff;
                }
                & .wiki-item-icon {
                    margin-right: 10px;
                    color: #fff;
                }
            }
        }
    }

    /* Error List Styling (Middle Column) */
    #error-list-container {
        background-color: var(--list-bg);
        border-right: 1px solid var(--border-color);
        display: none; /* Initially hidden */
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
        width: 100%;
        max-width: 230px;
        box-shadow: 0px 0px 2px 2px rgb(10 10 10 / 11%);

        & #error-list-header {
            font-size: 1em;
            font-weight: 600;
            margin-bottom: 27px;
            margin-top: 5px;
            color: var(--card-bg);
        }

        & #error-list {
            list-style: none;
            padding: 0;
            margin: 0;
            & .error-item {
                padding: 12px;
                /* border-bottom: 1px solid var(--border-color); */
                cursor: pointer;
                transition: background-color 0.2s;
                font-size: 0.95em;
                border-radius: 12px;
                border: 1px solid var(--card-bg);
                margin-bottom: 5px;
            }

            & .error-item:hover {
                background-color: var(--card-bg);;
                color: #fff;
            }

        }
    }    

    /* Main Content Styling */
    & .main-content {
        flex-grow: 1;
        padding: 20px;
        background-color: var(--main-content-bg);
        display: none; /* Initially hidden */
        flex-direction: column;
        overflow-y: auto;
        box-shadow: 0px 0px 2px 2px rgb(10 10 10 / 11%);

        & .back-button {
            background-color: var(--accent-color-1);
            color: var(--text-color);
            border: none;
            padding: 8px 15px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            margin-bottom: 20px;
        }

        & .content-header {
            font-size: 1em;
            font-weight: 500;
            margin-bottom: 20px;
            color: var(--card-bg);
            margin-top: 5px;
            margin-bottom: 25px;
            & span {
                font-weight: 400;
            }
        }

        & .card {
            background-color: var(--border-color);
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
            border: 1px solid var(--card-bg);

            & .card-title {
                font-size: 1.2em;
                font-weight: 500;
                margin-bottom: 15px;
                color: var(--text-color-2);
            }

            & .card-text {
                font-size: 0.95em;
                line-height: 1.6;
                color: var(--text-color-3);
            }
        }
        
        & .solution-section {
            display: flex;
            flex-direction: column;

            & .solution-item {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 0;
                border-bottom: 1px solid var(--border-color);

                & .solution-title {
                    font-weight: 400;
                }

                & .solution-tag {
                    padding: 5px 10px;
                    border-radius: 12px;
                    font-size: 0.8em;
                    font-weight: 600;
                    background-color: var(--accent-color-2);
                }
                & .tag-knowledge {
                    background-color: var(--accent-color-1);
                }

                & .tag-troubleshooting {
                    background-color: var(--accent-color-3);
                }
            }
            & .solution-item:last-child {
                border-bottom: none;
            }
        }
    }

    /* Right-hand side widgets - Not in main image, but good to add for context */
    & .right-widgets {
        width: 250px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex-shrink: 0;
    }

    & .widget-card {
        background-color: var(--card-bg);
        border-radius: 12px;
        padding: 15px;
        text-align: center;
    }      
}


/* - Survey Form Generator Styles - */
#SurveyGen, .surveyform {
    & .draggable-element {
            cursor: grab;
        }
    & .draggable-element:active {
            cursor: grabbing;
        }
    & .dropzone, & .inner-dropzone, & .table-cell-dropzone {
            transition: border-color 0.2s ease-in-out;
            min-height: 50px;
        }
        .dropzone {
            min-height: 85vh;
        }
        .dropzone.active, .inner-dropzone.active, .table-cell-dropzone.active {
            border-color: #0d6efd !important;
            background-color: #e9f2ff;
        }
        .row-element, .form-element-container {
            transition: all 0.2s ease-in-out;
        }
        .row-element:hover, .form-element-container:hover {
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
            transform: scale(1.02);
        }
        .row-element.selected, .form-element-container.selected {
            border: 2px solid #0d6efd !important;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }
        .remove-btn {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            z-index: 10;
            width: 20px;
            height: 20px;
        }
        .row-element {
            border: 2px dashed #999;
            padding: 2rem;
            width: 100%;
        }
        .column-element {
            border: 2px dashed #ccc;
            padding: 1rem;
        }
        .inner-dropzone {
            border: 2px dashed #999;
            padding: 1rem;
            text-align: center;
        }
        .table-element {
            border: 2px dashed #999;
            padding: 1rem;
        }
        .table-element th, .table-element td {
            border: 1px solid #ccc;
            padding: 1rem;
        }
        .table-cell-dropzone {
            min-height: 50px;
        }
        .table-cell-center-middle {
            vertical-align: middle;
        }
}

/* Ladder Service History Report */
#TablePreview table thead th {
    border: 1px solid #b7b7b7;
    padding: 5px 5px;
}

/* Quagga2 Scanner Styles */
#reader {
    position: relative;
}

#reader video, #reader canvas {
    width: 100% !important;
    height: auto !important;
    position: absolute;
    top: 0;
    left: 0;
}