/* Main css theme. Overrides all styles */

.datatable-editbutton-column {
	width:15px !important;
	text-align:center;
}

.layout-title {
	font-size:25px;
	padding-top:20px;
	padding-left:36px;
	padding-bottom:0px;
	font-weight:bold;
	flex:0 0 auto
}

.layout-loading {
	width:64px;
	height:64px;
	position:absolute;
	top:96%;
	left:98%;
	margin-top:-32px;
	margin-left:-32px;
	z-index:10000
}

.guide-button {
	border-radius: 50% !important;
	height: 2.357rem;
	width: 2.357rem !important;
	background-color: transparent !important;
	color: #25A4D4 !important;
	border: 1px solid  !important;
	margin-bottom: .5rem !important;
	margin-right: .5rem !important
}

.datatable-editbutton {
	border-radius: 50% !important;
	height: 2.357rem;
	background: #3C9462 !important;
	color: #ffffff !important;
	border: 1px solid #3C9462 !important;
}

.field-row {
  margin-top: 20px;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
  box-sizing: border-box;
}

.field-row .p-col-1, .field-row .p-col-2, .field-row .p-col-3,
.field-row .p-col-4, .field-row .p-col-5, .field-row .p-col-6,
.field-row .p-col-7, .field-row .p-col-8, .field-row .p-col-9,
.field-row .p-col-10, .field-row .p-col-11, .field-row .p-col-12,
.field-row .p-col-13, .field-row .p-col-14, .field-row .p-col-15 {
	padding-top: 0;
	padding-bottom: 0;
}

.field-row > label {
  display: flex;
  align-items: center;
}

.horizontal-line {
	border-top: none;
	border-bottom:1px solid #E5E4E2;
	width:320px;
	margin-top: 20px
}

.card > div > div > button {
	margin-right: .5rem
}

.outputText_attribute {
	color: #05A8B2; /* $Color 17 */
}

.outputText {
	width: 175px;
	height: 34px !important;
	background-color: #f2f2f2 !important;
	text-align: left;
	display: table-cell !important;
	border-right: 2px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	vertical-align: middle;
	margin-left: 0.5em;
	box-sizing: border-box;
}

.inform {
	color: #ff8040;
	font-weight: 400;
	width: 400px;
	height: 17px
}

.importErrorMessage {
	background-color: silver !important;
	width: 600px !important;
	margin-bottom:10px;
	color: #444444 !important;
	font-weight: 400
}

.outputGridText {
	color: #444444;
	font-weight: 400;
	background-color: transparent;
	height: 17px
}

.singleOutputText {
	width: 175px;
	height: 22px !important;
	background-color: #f2f2f2 !important;
	display: flex;
	margin-left: 1em;
	margin-bottom: 1rem
}

.notesFilter{
	text-align:right;
	width:100px;
	margin-right:0.5em;
	margin-top:7px
}

.fileupload {
	border: 1px solid #7A7A7A;		/* $Color 18 */
	background-color: #F5F5F8;		/* $Color 6  */
	font-size: 11px;
	font-family: Verdana;
	color: #000000;					/* $Color 17 */
	padding-left: 3px;
	width: 700px;
	margin-top: 5px
}

body .ui-menubutton{
	margin-right:0.5em
}

.tablebutton {
	margin-top:20px;
	text-align:center
}

.selectOneMenuRefresh {
	background: #FFEEA8 !important;
	vertical-align: middle !important;
}

.outputGridLink {
	font-weight: 400;
	background-color: transparent;
	height: 17px;
	text-decoration: underline
}

.importError {
	color: red;
	margin-left: -10px;
	margin-right: 120px
}

.importFileText {
	margin-left: -25px;
	margin-right: 20px
}

body .ui-messages .ui-messages-error, body .ui-messages .ui-messages-fatal {
    display: inline-flex;
	padding: 10px;
	margin-bottom: -10px	
}

body .ui-messages ul {
    margin-top: 3px;
}

.calendarRefresh input {
	background-color: #FFEEA8 !important;
	color: #444444;
	font-weight: 400
}

body .ui-selectonemenu {
	width: 178px;
}

.outputLabelTop{
	align-items:inherit !important;
	margin-top:7px
}

/** FOR WRAPPING IN COLUMN **/
.ui-datatable tbody td.wrap {
	white-space: normal !important;
	overflow-wrap: anywhere
}

.columnLeftTop{
	text-align: left;
	vertical-align:top
}

.prompt {
	color: blue;
	font-weight: 400;
	background-color: #b0e0b0;
}

.ui-fix-spacing {
	margin-left: 0.2em !important;
}

.ui-datatable-empty-message {
	text-align: left
}

.ui-inputtextarea {
	width: 178px
}

.semihorizontal-line {
	border-top: none;
	border-bottom:1px solid #E5E4E2;
	width:140px;
	margin-bottom: 20px
}

.middleText {
	margin-bottom: 5px
}

.filterLabel {
	margin-left: 20px;
	margin-right: 20px
}

.filterValue {
	margin-right: 30px
}

.reloadButton {
	margin-left:5px !important
}

.marginLeftTop1 {
	margin-left:-15px;
	margin-top:-10px
}

.marginLeftTop2 {
	margin-left:-13px;
	margin-top:-10px
}

.selectRowSize {
    margin-right: 0.5em;
}

.datatable-selection-column {
    width:5px !important;
    text-align:center;
}

.datatable-selection-column-10px {
	width:10px !important;
	text-align:center;
}

.datatable-editbutton-column-20px {
	width:20px !important;
	text-align:center;
}

.outputText-nobg {
    width: 175px;
    height: 34px !important;
    text-align: left;
    display: table-cell !important;
    border-right: 2px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    vertical-align: middle;
    margin-left: 0.5em;
    box-sizing: border-box;
}

.att_datatable {
	margin-top: -20px;
	margin-left: 10px
}

.att_datatable > tbody > tr > td {
	/* For p-col-3 page */
	width: 210px;
	padding-top: 20px
}

.att_textarea {
	height: 35px
}

body .ui-accordion {
	margin-left: -13px
}

body .ui-accordion .ui-accordion-content {
	border: 0 !important
}

body .ui-accordion .ui-accordion-header {
	width: 390px;
    padding: 8px;
    margin-left: 10px;
    margin-bottom: -20px;
    /*background: linear-gradient(90deg, #EFEFEF 100%, #FFFFFF 0%) !important*/
}

.acc_1 {
	margin-bottom: -30px
}

.acc_2 {
	margin-top: 30px
}

.information {
	margin-bottom: 5px
}

.login-logo {
	margin-top: 20px;
    margin-bottom: 10px;
}

.forgotPasswordField {
	margin-top: 30px
}

.forgotPasswordField > a {
	text-decoration: underline !important
}

.login-error-messsage > div {
	border: 0 !important;
	background: none !important;
	margin-top: -15px !important
}

.login-error-messsage > div > span {
	/*Remove x button*/
	display: none !important
}

.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-icon-only.icon_populate_pref
{
	background: #7b90b0;
	border: 1px solid #7b90b0
}

.ui-datatable tbody td input {
	/*Auto adjust input text box inside column*/
	width: -webkit-fill-available
}

.page-wide {
	width:max-content !important;
}

.comp-table {
	width: 1200px
}

.comp-table > :first-child {
	/*Applied to first div only*/
	margin-right: -480px;
	margin-top: -20px
}

.filterLabel-100px {
	margin-left: 20px;
	margin-right: 20px;
	width: 100px
}

.filterLabel-120px {
	margin-left: 20px;
	margin-right: 20px;
	width: 120px
}

.ui-add-indent {
    margin-left: 2.7em;
}

.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-text-only.commandButtonSp
    {
    background: red; /* $Color 18 */
    color: white; /* $Color 14 */    
    width: 80px;
    border: 0;
    border-color: #FFFFFF;
    box-shadow: none;
}

.inputTextRefresh {
    background-color: #FFEEA8 !important;
    color: #444444; /* $Color 17 */
    font-weight: 400
}

.inputText_disable {
	background-color: #e3e6e8 !important; /* $Color 6  */
	color: #444444; /* $Color 17 */
	font-weight: 400;
}

.message {
    color: #de5c5c;
    font-weight: 400
}

.filter-field-row {
  margin-top: 20px;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
  box-sizing: border-box;
}

.filter-field-row .p-col-1, .filter-field-row .p-col-2, .filter-field-row .p-col-3,
.filter-field-row .p-col-4, .filter-field-row .p-col-5, .filter-field-row .p-col-6,
.filter-field-row .p-col-7, .filter-field-row .p-col-8, .filter-field-row .p-col-9,
.filter-field-row .p-col-10, .filter-field-row .p-col-11, .filter-field-row .p-col-12,
.filter-field-row .p-col-13, .filter-field-row .p-col-14, .filter-field-row .p-col-15 {
	padding-top: 0;
	padding-bottom: 0;
}

.filter-field-row > label {
  display: flex;
  align-items: center;
}

.filter-field-section {
	background-color: #f2f2f2;
	padding-top: 1px;
	padding-bottom: 1px;
	margin-bottom: 10px;
}

.tradehistory-width {
	width: 800px !important; 
	height: 100px !important;
	margin-top:5px;
}

div.ui-selectonemenu + div.ui-message{
    vertical-align: top;
}

.hmessage {
	border: 1;
	font-weight: 400;
	box-sizing: border-box;
	color: #b94a48;
	background-color: #f2dede;
	border-color: #eed3d7;
	font-size: 11px;
}

.valign-datatable > tbody > tr > td {
	vertical-align: top;
}

.ui-form-large-space {
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 1em;
}

.staticText {
	width: auto;
	min-width: 160px;
	height: 22px !important;
	background-color: #f2f2f2 !important;
	text-align: left;
	display: table-cell !important;
}

.field-row-narrow {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
  box-sizing: border-box;
}

.filterLabel-180px {
	margin-left: 20px;
	margin-right: 20px;
	width: 180px
}

.opdatatable > div {
	height: 550px !important;
 }
 
 .inputTextComments {
	background-color: #d1f2eb !important;		/* $Color 6  */
	color: #444444;					/* $Color 17 */
	font-size: 11px;
	font-family: Roboto;
	font-weight: 400;
	width: 150px;
}

.inputText_disable {
	background-color: #e3e6e8 !important; /* $Color 6  */
	color: #444444; /* $Color 17 */
	font-weight: 400;
}

/* OP Single Forecast Column Sticky */
.opdatatable .ui-datatable-data td:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 3;
}

.opdatatable th:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: #F6F8FA;
    z-index: 3;
}

.opdatatable .ui-datatable-data td:nth-child(2) {
    position: sticky;
    left: 328px; /* Adjust the left position to avoid overlap */
    background-color: white;
    z-index: 2;
}

.opdatatable th:nth-child(2) {
    position: sticky;
    left: 328px; /* Adjust the left position to avoid overlap */
    background-color: #F6F8FA;
    z-index: 2;
}

.opdatatable .ui-datatable {
    table-layout: fixed;
}

.opdatatable thead {
    z-index: 996;
}

/* OP Group Forecast Column Sticky */
.opgdatatable .ui-datatable-data td:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 3;
}

.opgdatatable th:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: #F6F8FA;
    z-index: 3;
}

.opgdatatable > div {
	height: 550px !important;
}

.opgdatatable thead {
    z-index: 996;
}

/* OP Detail Forecast Column Sticky */
.opddatatable .ui-datatable-data td:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 3;
}

.opddatatable th:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: #F6F8FA;
    z-index: 3;
}

.opddatatable .ui-datatable-data td:nth-child(2) {
    position: sticky;
    left: 108px; /* Adjust the left position to avoid overlap */
    background-color: white;
    z-index: 2;
}

.opddatatable th:nth-child(2) {
    position: sticky;
    left: 108px; /* Adjust the left position to avoid overlap */
    background-color: #F6F8FA;
    z-index: 2;
}

/* Stickyheader */
.ui-datatable.ui-datatable-sticky {
  	box-shadow: none !important;
    z-index: 100 !important; /* Ensure it's on top of the table body */
}

.ui-datatable .ui-datatable-tablewrapper thead {
    position: sticky !important; /* Make the header stick */
    top: 0; /* Ensure it stays at the top during vertical scroll */
    background-color: #ffffff; /* Set a solid background */
}

.ui-datatable .ui-datatable-tablewrapper thead th {
    border-bottom: 1px solid #ddd;
}

.ui-datatable .ui-datatable-tablewrapper {
    overflow-y: auto; /* Enable vertical scrolling */
    position: relative; /* Ensure sticky header works */
}

/* Update overlap */
.layout-topbar {
  	position: absolute !important;
}

.menu-wrapper {
  	position: absolute !important;
    z-index: 997 !important; /* Ensure it's on top of the sticky header */
}

/* Zoom issue fix */
.p-col-1 {
	width: 137px;
}

.fixed-width-page, .table-demo {
    width: 1850px;
}