/* ******************************** */
/* General CSS for iBiz */

body {
    font-size: 15px; /* Converted from 11pt */
    margin: 0;
}

table {
    border-spacing: 1px;
    border-collapse: separate;
}

a:link,
a:visited {
    color: #00006c;
}

a:active {
    color: red;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a:active,
a:link,
a:visited {
    text-decoration: underline;
}


.button,
.formfade,
TD,
body,
table {
    font-family: Roboto, sans-serif;
}

table.invoicetable td,
table.invoicetable th {
    border: 1px inset #707070;
}

.detailsTabs,
table.invoiceInsideTable,
table.invoicetable {
    border-collapse: collapse;
}

.topMenu {
    background-color: #000;
    background-image: url('../../images/dark_blue_back.gif');
    height: 29px;
    clear: both;
}

.searchBar {
    background-color: #c4d9fa;
    height: 53px;
    padding: 3px;
    clear: both;
}

.error,
.footer,
.header,
.menuItem,
TD {
    padding: 5px;
}

.footerUser,
.searchBarTitle {
    float: left;
}

.searchBarBox {
    float: right;
    font-size: 13px; /* Converted from 10pt */
}

.menuItem {
    float: left;
    background-image: url('../../images/top_blue_separator.gif');
    background-repeat: no-repeat;
    background-position: right;
}

.footer {
    background-color: #069;
    color: #fff;
    margin-top: 10px;
    font-size: 11px; /* Converted from 8pt */
    position: fixed;
    bottom: 0;
    width: 100%;
}

.button,
.formfade,
.tableTitle,
.tableTitleSecond,
.titleLink:hover,
TD,
a:active,
a:hover,
a:link,
a:visited {
    font-size: 15px; /* Converted from 11pt */
}

.footerCopyright {
    float: right;
}

.tableTitle {
    background-color: #678cda;
    color: #fff;
    text-align: center;
}

.titleLink:active,
.titleLink:link,
.titleLink:visited {
    color: #fff;
    font-size: 15px; /* Converted from 11pt */
    text-align: center;
}

.titleLink:hover {
    color: #eaeaea;
    text-align: center;
}

.tableTitleSecond {
    background-color: #5c7dc0;
    color: #fff;
    text-align: center;
    font-weight: 400;
}

.tableTitleSecond:link {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.tableRowAltNew,
.tableRowUnread {
    font-weight: 700;
}

.tableTitleSecond:active,
.tableTitleSecond:hover,
.tableTitleSecond:visited {
    text-decoration: none;
    color: #fff;
}

.tableTitleSecond th {
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}

.tableRow {
    vertical-align: top;
    background-color: #eff2f7;
    color: #000;
}

.tableRowSecond {
    vertical-align: top;
    background-color: beige;
}

.tableRowAlt,
.tableRowAltNew {
    background-color: #fff;
    vertical-align: top;
}

.tableRowOver {
    vertical-align: top;
    background-color: #c4d9fa;
    color: #000;
}

.tableRowDeleted {
    vertical-align: top;
    background-color: #ffdfdf;
}

.tableRowUnread {
    vertical-align: top;
    background-color: #e1e1ff;
}

.formfade {
    background-color: #ededf3;
    border-bottom: 1px dotted #d3d3d3;
    border-top: 1px dotted #d3d3d3;
    border-left: 1px dotted #d3d3d3;
    border-right: 1px dotted #d3d3d3;
}

.button {
    background-image: url("../../images/login/form_drop_button.gif");
    background-repeat: repeat-x;
    background-position: 0 0;
    border: solid #002d96;
}

.copyright,
.copyright:hover {
    font-family: Roboto, sans-serif;
    font-size: 10px; /* Converted from 7.5pt */
}

.copyright {
    color: #eaeaea;
}

.copyright:active,
.copyright:link,
.copyright:visited {
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 10px; /* Converted from 7.5pt */
    text-decoration: underline;
}

.copyright:hover {
    color: #6189d3;
    text-decoration: none;
}

.error,
.error:active,
.error:hover,
.error:link,
.error:visited {
    color: red;
}

.title,
.title:active,
.title:hover,
.title:link,
.title:visited {
    font-size: 17px; /* Converted from 13pt */
    font-weight: 700;
}

.invoiceItem,
.invoiceItemGreen,
.invoiceItemMaroon,
.invoiceItemRed {
    font-size: 15px; /* Converted from 11pt */
    vertical-align: top;
    font-family: Roboto, sans-serif;
}

.error {
    background-color: #fff;
    border: dotted;
}

.tabOff,
.tabOn {
    border: 0;
    margin: 0;
}

.invoiceItem {
    color: #000;
}

.invoiceItemRed {
    color: red;
}

.invoiceItemGreen {
    color: #0c0;
}

.invoiceItemMaroon {
    color: #900;
}

.invoiceTitle {
    font-family: Roboto, sans-serif;
    font-size: 13px; /* Converted from 9.5pt */
    font-weight: 700;
    color: #000;
    background-color: #eaeaea;
}

.loginPageLink,
.loginPageLink:hover {
    font-family: Trebuchet MS;
    font-weight: 700;
}

table.invoicetable {
    border: 1px outset #707070;
    background-color: #fff;
}

table.invoicetable th {
    background-color: #fff;
}

table.invoiceInsideTable {
    border: 0 outset #000;
    background-color: #fff;
}

TD.splitleft,
TD.splitright {
    border-right: 1px solid #002d96;
}

TD.ltblue,
TD.ltblueborder,
TD.splitbottom,
TD.splitleft,
TD.splitright {
    background-color: #a4c2f5;
}

table.invoiceInsideTable th {
    border: 0 inset #707070;
    background-color: #fff;
}

table.invoiceInsideTable td {
    border: 0 inset #707070;
}

.loginPageLink {
    color: #474747;
}

.loginPageLink:active,
.loginPageLink:link,
.loginPageLink:visited {
    font-family: Trebuchet MS;
    font-weight: 700;
    text-decoration: none;
    color: #474747;
}

.loginPageLink:hover {
    text-decoration: none;
    color: #0089e1;
}

.tabOn {
    background-color: #5c6e94;
    color: #fff;
}

.tabOff {
    background-color: #e4e49e;
    color: #5c6e94;
}

.tabHeader {
    cursor: pointer;
    background-color: #5c6e94;
    color: #fff;
}

.tabHeader:active,
.tabHeader:link,
.tabHeader:visited {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.tabHeader:hover,
.tabHeaderInactive:hover {
    color: #eaeaea;
    text-decoration: none;
    font-weight: 700;
}

.tabHeaderInactive {
    cursor: pointer;
    background-color: beige;
    color: #000;
}

.tabHeader:visited,
.tabHeaderInactive:active,
.tabHeaderInactive:link {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

.tab,
.tab:link,
.tab:visited {
    color: #fff;
    font: 12px/17px arial, helvetica, sans-serif, verdana;
    text-decoration: none;
    font-weight: normal; /* Fixed: was 'none' */
}

.tab:active,
.tab:hover {
    color: #f90;
    font: 12px/17px arial, helvetica, sans-serif, verdana;
    text-decoration: none;
    font-weight: normal; /* Fixed: was 'none' */
}

.letter,
.letter:active,
.letter:link,
.letter:visited,
.letterActive:hover,
.whiteLinks a,
TD.footer {
    color: #fff;
}

.smallNote,
.smallNote:active,
.smallNote:hover,
.smallNote:link,
.smallNote:visited {
    font-size: 10px; /* Converted from 7.5pt */
}

.listTable {
    background-color: #cdd7f0;
}

TD.splitright {
    border-left: 1px solid #002d96;
}

TD.splitbottom {
    border-top: 1px solid #002d96;
}

TD.ltblue {
    border-bottom: 1px solid #a4c2f5;
}

TD.ltblueborder {
    border-bottom: 1px solid #002d96;
}

TD.footer {
    background-color: #039;
}

.letter {
    font-weight: 400;
}

.letter:hover,
.letterActive:active,
.letterActive:link,
.letterActive:visited {
    color: #f90;
}

.letterActive {
    color: #f90;
    font-weight: 700;
}

.smallNote {
    color: #000;
}

.header {
    background-color: #069;
    height: 57px;
    overflow: auto;
}

.headerTitle {
    float: left;
    color: #039;
    font-size: 19px; /* Converted from 14pt */
    font-weight: 700;
    padding: 10px;
}

.editField,
.editLabelFirst,
.editlabel,
.fieldLabel {
    font-weight: 400;
    color: #000;
}

.fieldLabel,
.fieldLabelMandatory {
    padding-right: 5px;
    padding-left: 5px;
    white-space: nowrap;
    text-align: right;
}

.fieldLabelMandatory {
    color: #60c;
}

.editlabel {
    background-color: #c4d9fa;
    text-align: right;
}

.editLabelFirst {
    background-color: #c4d9fa;
    border-top: 2px solid #d3d3d3;
    text-align: right;
}

.editField {
    background-color: #eff2f7;
}

.editFieldFirst {
    background-color: #eff2f7;
    border-top: 2px solid #d3d3d3;
}

.divHidden,
.menuOptions {
    background-color: #fff;
    position: absolute;
}

.editHeader {
    font-weight: 700;
}

.fadeText,
.fadeText:link {
    color: #d3d3d3;
}

#fullheight {
    height: 100%;
}

.itemDeleted {
    text-decoration: line-through;
    color: red;
}

.messageFolder,
.messageFolder:hover,
.messageFolder:link,
.messageFolder:visited {
    text-decoration: none;
}

.divHidden {
    border: 2px ridge gray;
    padding: 5px;
    width: 600px;
    height: 400px;
    z-index: 999;
    visibility: hidden;
}

.notes,
.notes_fade,
.notes_new,
.notes_sticky {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.splitterVertical {
    cursor: e-resize;
}

.messageFolder {
    padding: 2px;
}

.messageFolder:active {
    text-decoration: none;
    background-color: #678cda;
    color: #fff;
}

.messageFolder:hover {
    background-color: #eff2f7;
}

.tdHint {
    background-image: url('../../images/row_hint.gif');
    background-repeat: no-repeat;
    padding-left: 10px;
    cursor: help;
}

.editableDiv,
.notes,
.notes_fade,
.notes_new,
.notes_sticky,
.todoOn {
    cursor: pointer;
}

.notes {
    background-image: url('../../images/icons/notes.gif');
}

.notes_fade {
    background-image: url('../../images/icons/notes_fade.gif');
}

.notes_new {
    background-image: url('../../images/icons/notes_new.gif');
}

.notes_sticky {
    background-image: url('../../images/icons/notes_sticky.gif');
}

.menuOptions {
    display: none;
    z-index: 100;
    padding: 15px;
    border: solid gray;
}

.ajaxResults {
    width: 500px;
    padding: 3px;
    border: 1px dotted gray;
    display: none;
    background-color: #ffc;
}

.todoOff,
.todoOn {
    width: 16px;
    height: 16px;
}

.editableDiv {
    padding: 5px;
    border: 1px dashed gray;
    background-color: #fff;
}

.assignedTo,
.todoDue {
    padding: 1px 3px;
    margin-right: 10px;
}

.rowSeparator {
    background-color: #bdbdbd;
}

.todoOff {
    background-image: url('../../images/icons/checkbox.png');
}

.todoOn {
    background-image: url('../../images/icons/checkbox_checked.png');
}

.assignedTo {
    background-color: #f60;
    color: #fff;
    float: left;
}

.todoDue {
    float: right;
}

.detailsTabs,
.detailsTabs TD,
.detailsTabs TR {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.Overdue {
    background-color: red;
    color: #fff;
}

.btn-report {
    width: 250px;
}

.padding5,
.paddingMedium {
    padding: 5px;
}

.div_buttons,
.div_filters {
    padding: 5px;
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 99;
    height: 50px;
}

.inner-addon,
.todoNew {
    position: relative;
}

.spacer50px {
    height: 50px;
    clear: both;
}

.spacer75px {
    height: 75px;
    clear: both;
}

.spacer100px {
    height: 100px;
    clear: both;
}

.rightFloat {
    float: right;
    text-align: right;
}

.leftFloat {
    float: left;
    text-align: left;
}

.myTab {
    background-color: red;
}

.color-tooltip + .tooltip > .tooltip-inner,
.headerTabs {
    background-color: #069;
}

.inner-addon .glyphicon {
    position: absolute;
    padding: 10px;
    pointer-events: none;
}

.left-addon .glyphicon {
    left: 0;
}

.right-addon .glyphicon {
    right: 0;
}

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.headerTabs {
    padding: 5px;
    margin: 0;
}

.alert > p,
.whiteLinks a:hover {
    color: #000;
}

.headerSubLinks {
    background-color: #eaeaea;
    padding: 5px;
}

.favorite_off,
.favorite_on {
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
}

.favorite_on {
    background-image: url('../../images/icons/favorite_on.png');
}

.favorite_off {
    background-image: url('../../images/icons/favorite_off.png');
}

.paddingSmall {
    padding: 2px;
}

.paddingBig {
    padding: 10px;
}

.strikedText {
    color: red;
    text-decoration: line-through;
}

.color-tooltip + .tooltip > .tooltip-arrow {
    border-bottom-color: #069;
}

.todoFor,
.todoFrom {
    border: 1px solid #fff; /* Fixed: Added 'solid' */
    margin-top: 5px;
    text-align: center;
    font-size: 13px; /* Converted from 10pt */
    padding: 2px;
}

.todoFor {
    background-color: #f60;
    color: #fff;
    border-radius: 5px;
}

.todoFrom {
    background-color: #fc3;
    border-radius: 5px;
}

.todoOverdue {
    background-color: #f30;
    padding: 2px;
    border: 1px solid #fff; /* Fixed: Added 'solid' */
    color: #fff;
    border-radius: 5px;
}

.todoNew {
    left: -10px;
    top: -10px;
    float: left;
}

#quick_search_form {
    background-color: #fff;
    border-bottom: 1px solid gray;
}


@media (max-width: 768px) {
	.btn-responsive {
	padding:2px 4px;
	font-size:80%;
	line-height: 1;
	border-radius:3px;
	}
}

@media (min-width: 769px) and (max-width: 992px) {
	.btn-responsive {
	padding:4px 9px;
	font-size:90%;
	line-height: 1.2;
	}
}
.label-as-badge {
	border-radius: 1em;
	font-size: 12px; /* Converted from 9pt */
}

#divOnlineUsers {
	position: fixed;
	top: 40px; /* Fixed: Added px */
	left: 250px; /* Fixed: Added px */
	width: 350px;
	height: 400px;
	z-index: 9999;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* horizontal offset, vertical offset, blur radius, color */
	display: none;
	overflow-y: auto;
	overflow-x: hidden;
}

#divRecentActivity {
	position: fixed;
	top: 40px; /* Fixed: Added px */
	left: 170px; /* Fixed: Added px */
	width: 500px;
	height: 400px;
	z-index: 9999;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* horizontal offset, vertical offset, blur radius, color */
	display: none;
	overflow-y: auto;
	overflow-x: hidden;
}

.rotate {
	display: inline-block;
	transition: transform 1s ease-in-out;
}

.circular-image {
	border-radius: 50%; /* This makes the image circular */
	overflow: hidden; /* Ensures the image stays within the circular boundary */
	border: 1px solid white;
}
.circular-image img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Ensures the image covers the entire circular area */
}

.bookmark-item {
	position: relative; /* Ensure the delete icon is positioned relative to the bookmark item */
}

.delete-icon {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	display: none; /* Initially hidden */
	padding-right: 5px;
}

.dropdown-menu {
	max-height: 600px; /* Set a maximum height for the dropdown menu */
	overflow-y: auto; /* Enable vertical scrolling */
	z-index: 2147483647; /* Fixed: Reduced from 999...999 */
}

#search_results {
	position: fixed; /* fixed - if you want to not scroll */
	z-index: 2147483647;
	background-color: white;
	border: 1px solid #ccc;
	width: 100%;
	max-height: 350px;
	overflow: auto;
}

/* *********************************************************** */
/* START - CSS for online status indicator on profile pictures */
/* Wrapper for profile picture and indicator */
.profile-wrapper {
	position: relative;
	display: inline-block;
}

/* Base style for all indicators */
.online-indicator,
.away-indicator,
.offline-indicator {
	position: absolute;
	right: 3px;       /* adjust to your preference */
	bottom: 3px;      /* or move to top if needed */
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff; /* clean white outline */
	box-shadow: 0 0 3px rgba(0,0,0,0.35);
}

/* Online = green */
.online-indicator {
	background-color: #28a745;
}

/* Away = yellow/orange */
.away-indicator {
	background-color: #ffc107;
}

/* Offline = gray */
.offline-indicator {
	background-color: #6c757d;
}

/* END - CSS for online status indicator on profile pictures */
/* ********************************************************* */

.poItem {
    border-bottom:1px solid #CCC;
    margin-bottom:5px;
    padding:5px;
    min-height:50px;
}
.poItem:hover {
    background-color:#F7F7F7;
}

.notesHoverDiv {
    position: relative; /* This is needed for the absolute positioning of the button */
}
.notesHoverDiv:hover .notesEditButton {
    display: block; /* Show the button when hovering over the div */
}

.notesEditButton {
    display: none; /* Hide the button by default */
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.inline-edit-date,
.inline-edit-date-link {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}

a.inline-edit-date-link,
a.inline-edit-date-link:visited,
a.inline-edit-date-link:hover,
a.inline-edit-date-link:focus {
    color: inherit !important;
}

.inline-edit-date:hover,
.inline-edit-date:focus,
.inline-edit-date-link:hover,
.inline-edit-date-link:focus {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* limit notes preview to ~3 lines */
.notesPreview {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.notesShowMoreLink {
    color: #337ab7;
    cursor: pointer;
    display: none; /* hide by default, show only if needed */
    margin-top: 5px;
}

.flag-container {
    display: flex;
    align-items: flex-start; /* This will align the flag to the top */
}

.flag-image {
    vertical-align: top; /* This will align the image with the top of the text */
    margin-top:3px;
    margin-right:4px;
}

.country-name {
    margin-left: 5px; /* Adjust this value to control the space between the flag and the country name */
}

/* Add a media query to adjust the alignment for short country names */
@media (max-width: 300px) { /* Adjust the max-width value as needed */
    .flag-container {
        justify-content: space-between; /* This will align the flag to the left and the country name to the right */
    }
}

.tableFixedHeader {
    position: relative;
    border-collapse: collapse;
    z-index:101;
}

.tableFixedHeader
th {
    padding:0.25em;
    background-color:#F7F7F7;
}

.tableFixedHeader thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: #5C7DC0;
    color: #FFF;
    text-align: center;
    vertical-align:middle !important;
}

.tableFixedHeader tbody td {
    font-size: 13px; /* Converted from 10pt */
}
.tableFixedHeader tbody td a {
    font-size: 13px; /* Converted from 10pt */
}
