 
    @import url('smxi.css');

 /* Import the Asap variable font */
    @import url('https://fonts.googleapis.com/css2?family=Asap:wght@400..700&display=swap');
#UserDashboardButton {display:none!important;}
body {
  font-family: 'Asap', sans-serif;
    font-weight: 400; /* Use any value between 400 and 700 */	font-size:16px; color:#0a2d48;
 
}
* {
    font-family: asap;
}
#content_here {  font-family: 'Asap', sans-serif!important;}
.nav-link {    cursor: pointer;}
 /* pla   - tempoarry */
#MainPanel > span {
    /* margin: 25px; */
    /* scale: 0.95; */
}

#MainPanel > span label:after {
    content: ".";
    color: #ff6900;
}

#mainpanel > span:first-of-type div:nth-of-type(3) {
  background-color: gold;
}

#LogoutLink {display:inline-block!important;}
 .initials-circle {
      width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--green);
    color: white;
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    font-weight: bold;margin-right:20px;
        }
a, div {font-size:16px;}
 :root {
            --blue: #0a2d48;
            --green: #78beab;
    --orange:#ff6900;
        }
.nav-link:focus, .nav-link:hover {
    color: var(--orange);
}

 
a:hover {
    color: var(--orange);
}
        body {
            color: var(--blue);
            font-family: "Asap", sans-serif;
            font-optical-sizing: auto;
            font-style: normal;
        }

        .darkback {
            background: var(--blue);
            color: white;
        }

        .darkback a {
            color: white;
        }

        .top-bar {
            background-color: #2b2f3a;
            color: white;
            padding: 10px;
        }
	 
        .top-bar a {
            color: var(--orange);
            margin-left: 15px;
            margin-right: 15px;
            text-decoration: none;
        }

        .card-header {
            background-color: var(--blue);
            color: white;
            font-weight: 600;
        }

        .placeholder-chart {
            width: 100%;
            height: 200px;
            background: var(--green);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }

        .top-bar img {
            max-width: 86px;
        }
		
		.top-bar span.float-right {
    line-height: 42px;
}

.dashmenu {
    background: var(--blue);
    color: white;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    max-width: 280px;
}

.top-bar {
    background-color: #0a2d48;
    color: white;
    padding: 10px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#MainPanel table {
    width: 100%; /* Optional: makes the table full width */
    border-collapse: collapse; /* Ensures there are no gaps between cells */
    font-size:12px;
}

#MainPanel table th {
    font-weight: bold;
    text-align: left; /* Keeps the header text aligned to the left */
    padding: 7px; /* Adds some padding to the headers */
}

#MainPanel table tr td {
    /* text-align: center; */
    padding: 8px; /* Adds some padding to the cells */
}

#MainPanel [id^="TDashboard2_DashboardChart"] table tr td {
text-align: center;
    padding: 8px; /* Adds some padding to the cells */
}

#MainPanel table thead tr th {background: #f26922;color: white;} 

/* Styling for odd rows */
#MainPanel table tr:nth-child(odd) {
    background-color: #ebecf4fa;
}

/* Styling for even rows */
#MainPanel table tr:nth-child(even) {
    background-color: white;
}


#MainPanel table div {font-size:12px;}

.form-inline * {display: inline-block;
        width: auto;
        vertical-align: middle;}
		
canvas {max-width:100%;padding:15px; /* Safari 6.0 - 9.0 */filter: grayscale(50%);}
.PopUpForm canvas  {padding:0px;filter: grayscale(0%);z-index: 999999!important;position: relative;max-width: unset;width: unset;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;}

	
	/* General Styles for Targeted Canvas Elements */
[id^="TDashboard2_DashboardChart"]
{
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-border-width: 1px;
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: 0.375rem;
    --bs-card-box-shadow: ;
    --bs-card-inner-border-radius: calc(0.375rem - 1px);
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(0, 0, 0, 0.03);
    --bs-card-cap-color: ;
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);

}

 [id^="TDashboard2_Label"] {
    background-color: var(--blue);
    color: white;
    font-weight: 600;
    padding: 7px;
    margin-bottom: 0;
    border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}

 


#MainPanel {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* Space between columns */
}

#MainPanel > [id^="TDashboard2_"] {
  width: calc(50% - 25px); /* Make sure each element is 50% wide minus the gap */
  box-sizing: border-box;  /* Ensure padding/margins don't affect width */
}



#MainPanel .row {width:100%}
 
 	
/* Styling for button-like appearance only within a table cell */
td span[id^="_HTMLSpan"] {
  display: inline-block;
  padding: 5px 10px; /* Increase padding for bigger buttons */
  margin: -2px; /* Adjust margin to move into the space of td padding */
  border: 1px solid #ccc; /* Border color */
  border-radius: 4px; /* Rounded corners */
  background-color: #f0f0f0; /* Background color */
  color: #000; /* Text color */
  text-align: center;
  text-decoration: none; /* Remove underline */
  font-family: Arial, sans-serif;
  font-size: 12px!important; /* Increase font size */
  cursor: pointer; /* Pointer cursor on hover */
  user-select: none; /* Prevent text selection */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  position: relative; /* Positioning context for sr-only */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  margin-right: 10px;
}

td span[id^="_HTMLSpan"]:hover {
  background-color: #e0e0e0; /* Slightly darker background on hover */
  border-color: #999; /* Slightly darker border on hover */
}

td span[id^="_HTMLSpan"] .sr-only {
  position: static; /* Make the sr-only text participate in normal layout flow */
  width: auto;
  height: auto;
  padding: 0;
  margin-left: 5px; /* Add margin to separate from icons */
  overflow: visible;
  clip: auto;
  border: none;
  font-family: 'Source Sans Pro';
  font-size: 12px;
  color: rgb(0, 0, 0); /* Match the color of the surrounding text */
  display: inline; /* Ensure it displays inline with the icons */
}

td span [id^="_HTMLSpan"] table .fa-fw, td span [id^="_HTMLSpan"] table .fad {
font-size: 13px !important;}

.PopUpForm {
    box-shadow: none !important;
    height: auto !important;
    position: fixed !important;
    border: none !important;
    background-color: rgb(255, 255, 255) !important;
    padding-top: initial !important;
    border-radius: 5px;
    position: absolute;
    transform: translate(-0%, -0%);
    box-shadow: 0 0.15rem 2rem 18px rgb(50 49 51 / 19%) !important;
    outline: 1500px solid #0000008a !important;
    width: auto !important;
    min-width: 600px;
    max-width: 100vw !important;
    max-height: initial;
}

div#navigator {
    text-align: right;
}
#navigator button {
    margin-left: 10px;
    min-height: 38px;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}
.navbar button, .modal-footer button {
    margin-left: 10px;
    margin-right: 0px !important;
}
.modal-header {
       border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    background: var(--blue);
	color:white;
}

.modal-body, .modal-header {
    padding: .75rem;
}

.modal-body input, .modal-body select {
    margin-bottom: 15px;
}


 .modal-footer {
    background-color: #d2d2d24d;
}
.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #e3e6f0;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}


.form-control, .form-select, .form-check, .modal-body, .modal-footer {
    font-size: 13px !important;
}

.modal-footer .nb {
    padding-right: 0px;
    padding-left: 0px;
}

#InternalIdLabel {margin-bottom:0px;line-height:37px;}

/* Show "Internal Id" in bold before the span only if it's not empty */
#InternalIdLabel:not(:empty):before {
    content: "Internal Id: ";
    font-weight: bold;
    margin-right: 5px;
}




 [id^="TDashboard2_DashboardChart"] select ::before {
    content: "Choose an option:"; /* The text you want to add */
    position: absolute; /* Position it relative to the container */
    left: 0; /* Align it to the left */
    top: -20px; /* Adjust this to position the text above the select */
    color: #000; /* Text color */
    font-size: 16px; /* Font size */
}


 [id^="TDashboard2_DashboardChart"] select {
    margin: 0px 15px 15px 15px;
    max-width: 50%;
}



[id^="TUserDashboardForm_TableControl"] {Position:relative;}
 

button#Refresh {
    margin-left: 10px;
    white-space: nowrap;
}


.PopUpForm,
.PopUp {
	box-shadow: none !important;
	height: auto !important;
	position: fixed !important;
	border: none !important;
	background-color: rgb(255, 255, 255) !important;
	padding-top: initial !important;
	border-radius: 5px;
	position: absolute;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%);
	box-shadow: 0 0.15rem 2rem 18px rgb(50 49 51 / 19%) !important;
	outline: 1500px solid #0000008a !important;
	width: auto !important;
	/* min-width: 600px; */
}



.SMXWebConfigEdit {min-width:600px;max-height:600px;}
.SMXWebConfigEdit table {width:100%;}


    .eye-icon {
            cursor: pointer;
            font-size: 18px;
        }
        .eye-icon.hidden {
            color: grey;
            opacity: 0.5;
        }

div#RegionTV, div#BranchTV  {
    all: revert !important;
}  





/* For tablets and smaller screens (up to 768px wide), make the elements 100% wide */
@media (max-width: 768px) {
  #MainPanel > [id^="TDashboard2_"] {
    width: 100%;
  }
  
  [id^="TDashboard2_"] select {margin-top:10px;margin-bottom:10px;}
  canvas {padding:0px;}
  #MainPanel table div {
    font-size: 8px;
}


#Refresh {Position:absolute;top: 75px;right: 20px;scale: 0.7;}
.datepicker label {display:none;}
.datepicker input {scale: 0.7;}

#UsersAdminLink, #BranchAdminLink {display:none;}

}
