/*
 * Base structure
 */

 :root {
  --font-size-11: 11px; /* Default font size */
  --font-size-12: 12px; /* Default font size */
  --font-size-13: 13px; /* Default font size */
  --font-size-14: 14px; /* Default font size */
  --font-size-15: 15px; /* Default font size */
  --font-size-16: 16px; /* Default font size */
  /* --primary-color: #015477; */
  --hover-color: #015477;
  --text-color: black;
  --text-hover-color: white;
  --border-color: black;
  --background-color: white;
  --table-header-color: #F5F5F5;
}

 html {
  position: relative;
  min-height: 100%;
}


/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  padding-bottom: 100px;
}

.bg-primary {
  background-color: #015477 !important;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.roundrect {
    border-radius: 10px;
}

.border-left {
    border-left: solid 1px lightgray;
}

.navbar-nav .nav-link {
  white-space: nowrap;
  color: black;
}

.nav-header {
  background-color: white;
  color: black;
}

.text-small {
  font-size: 10px;
}
.text-medium {
  font-size: 13px !important;
}
.ui-autocomplete {
  background: white;
  border-radius: 5px;
}
.ui-front {
  z-index: 9999 !important;
}
.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #015477 !important;
    color: #ffffff !important;
}

.nav-pills .nav-link.active {
  /* background-color: #015477; */
  font-weight: 550;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  min-height: 120px;
  background-color: #015477 !important;
  color:black;
  z-index: 9999;
}

.footer a {
  color:white;
}

.seperator {
  padding: 0.8em;
}

.badge-outline {
  border: solid 1px #5b6dd8;
  color: inherit !important;
}

.form-control::-webkit-input-placeholder {
    color: #aebdc8;
    opacity: 1
}

.form-control::-moz-placeholder {
    color: #aebdc8;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #aebdc8;
    opacity: 1
}

.form-control::placeholder {
    color: #aebdc8;
    opacity: 1
}

.no-wrap {
  display: block;
  white-space: nowrap !important;
}

.table-responsive {
  display: table !important;
}
/*
 * Timeline
 */

#timeline-table td {
  overflow-x: hidden;
  vertical-align: middle;
  padding: 0.5em;
  white-space: nowrap !important;
}

#timeline-table tr.date-follower td {
  border-top: none;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 51px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  border-right: 1px solid #eee;
  padding-left: 0;
  padding-right: 0;
}

.sidebar .nav {
  margin-bottom: 20px;
}

.sidebar .nav-item {
  width: 100%;
}

.sidebar .nav-item + .nav-item {
  margin-left: 0;
}

.sidebar .nav-link {
  border-radius: 0;
}
.nav-item a {
  color: black;
}
.tooltip-inner {
  text-align: left;
  max-width: 50% !important;
}

a[id]:not([href]) {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.CodeMirror, .CodeMirror-scroll {
	min-height: 50px !important;
}


.table-editable {
  position: relative;
  
  /*.glyphicon {
    font-size: 20px;
  }*/
}

.table-remove {
  color: #ccc;
  cursor: pointer;
}

.table-up, .table-down {
  color: #ccc;
  cursor: pointer;
}

.table-add {
  color: #ccc;
  cursor: pointer;
}

/* Company page */
.event {
  border: solid rgb(209, 223, 235) 1px;
  border-radius: 3px;
}
.event-content {
  font-size: 0.8em;
}
.event-content p {
  margin-bottom: 0
}

.hidden {
  display: none !important
}

.light-blue-bg {
  background-color: rgb(65, 116, 177);
}

.rightside-login-form {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fafafa;
  padding: 1em 1em 1em 1em;
}

#companies-table-sticky-header-sticky-header-container > div {
  padding-left: 15px
}

#rightside {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  background-color: #fafafa
}

/* Archive Table */

#companies-table.no-wrap td {
  white-space: nowrap !important;
}


.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.video-js .vjs-tech {
    background-color: white;
}


.trial-hidden {
    -webkit-filter: blur(5px);
    filter: blur(5px);
}

#custom-FAQ {
  width: 75%;
}

/* Underwriter League */

.league-header {
  line-height: 1.5;
}

/* Legal League */

#legal-league th {
  border: none;
  white-space: normal !important;
  line-height: 100%;
}

#legal-league th .th-inner {
  line-height: 0.95rem!important;
}

/* Auditor League */

#auditor-table th {
  border: none
}

/* fpa table */
#fpa-table .fpa-detail-text {
  padding-left: 45px;
  white-space: normal;
}

#fpa-table .fpa-detail-text ul {
  padding-left: 18px;
}

/* Newsletters */

a.buffer:before {
    content: "";
    display: block;
    height: 8em;
    margin: -8em 0 0;
}

.data-table thead{
  color:rgba(255,255,255,.85) !important;
  background-color : #015477 !important
}
.data-table tbody {
  white-space: nowrap
}

.data-table-small thead{
  font-size:0.8em !important;
  color:rgba(255,255,255,.85) !important;
  background-color : #015477 !important
}
.data-table-small tbody {
  font-size: 0.8em; 
  white-space: nowrap
}

.data-table-small-ag thead{
  font-size:12px !important;
  color:black !important;
  background-color: #F5F5F5;
  color: black; 
}

.data-table-small-ag thead th {
  height: 56px !important; 
  vertical-align: middle !important;
  text-align: left;
  padding: 0px;
  padding-left: 0.4em;
}

.data-table-small-ag tbody {
  font-size:12px;
  height: 36px !important;
  white-space: nowrap
}

.data-table-small-ag td {
  padding: 0.5em !important;
  padding-left: 0.8em !important;
  padding-right: 0.8em !important;
  text-align: left;
}

.main-right-div {
  margin-right: 1em; 
  max-height:950px; 
  overflow-y:auto;
}

.popover {
  background-color: #b4cfb4
}

.table td, .table th {
  border-top: 0px solid #eceeef;
}
.table thead th {
  border-bottom: none;
  border-top: none;
}

.borderless td, .borderless th {
  border: none;
}

.selected-option {
  font-weight: 800;
  color: black;
  /* background-color:#015477!important; */
}  
.selected-option a{
  color: black;
  cursor: default;
}


.has-text-grey {
  font-size: .75rem!important;
  color:#222222!important
}  

.left-panel {
  max-height:950px; 
  overflow-y:auto; 
  padding-left: 0.4em; 
  padding-right: 0.4em;

}

.right-panel {
  min-height: 750px;
  max-height:1050px; 
  overflow-y:auto; 
  transition: margin-left 0.3s ease-in-out;
}

.badge-light {
  color: #212529 !important;
  background-color: #f7f7f7 !important;
}

.badge {
  text-align : left;
  margin-left: 1em;
  font-size : 85%
}

.stock-split {
  margin-left : 4px;
  font-style: italic;
  color: #015477;
}

.tooltip-inner {
  max-width: 500px !important;
}

@media(max-width: 768px) {
	.div-max {
        width:300%
        }
  .footer.expand-width {
        width:300% ;
        }    
	}

  .text-decoration-none {
    text-decoration: none !important;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.table-data-content {
  width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
}

.table-data-content th {
  padding-left: 1em;
  padding-right: 1em;
  color: black;
  font-size: 12px;
  font-weight: 550;
  background-color: #F5F5F5;  
  border: solid 1px white;
}


.table-data-content td {
  padding-left: 1em;
  padding-right: 1em;
  font-size: 12px;
  background-color: white;
  border-width: 0 0 1px;
}


.tr-border-top {
  border-top: 1.5px solid #b0b4b8 !important 
}
.tr-border-bottom {
  border-top: 1.5px solid #b0b4b8 !important
}
.td-border-top {
  border-top: 1.5px solid #b0b4b8 !important ;
  padding-left: 10px; 
  padding-right: 10px;
}

.table-data-content-small th {
  padding-left: 0.5em;
  padding-right: 0.5em;
  color: black;
  font-size: 11px;
  background-color: #F5F5F5;  
  border: solid 1px white;
}

.table-data-content-small td {
  padding-left: 0.5em;
  padding-right: 0.5em;
  font-size: 11px;
  background-color: white;
  border-width: 0 0 1px;
}

@media (max-width: 768px) {
  .container {
    width: 100% !important; /* Take full width */
    margin: 0 auto !important; /* Center align with no margins */
    padding: 0 15px !important; /* Add minimal padding for spacing */
    box-sizing: border-box; /* Include padding and border in width */
  }
}
/* Align everything in a single row with proper spacing */
.filter-form {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Push elements to the left & right */
    gap: 5px;
    padding: 4px 2px; /* 10px for top and bottom, 0 for left and right */
    width: 100%;

}
/* Container for search, filters, and reset button */
.filters-container {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between elements */
  flex-wrap: wrap; /* ✅ Allows items to move to the next line */

}

/* Search Box Styling */
.search-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid black;
  padding: 5px;
  min-width: 150px; /* Ensure consistent size */
  max-width: 150px; /* Ensure consistent size */
  position: relative;
}

.search-container input {
  border: none;
  outline: none;
  font-size: 11px;
  width: 100%;
  padding-left: 25px; /* Space for the SVG icon */
}

/* Adding SVG as background image */
.search-container::before {
  content: "";
  position: absolute;
  left: 5px;
  width: 14px;
  height: 14px;
  background-image: url('/icons/search.svg'); /* Path to your Flaticon SVG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.form-check-input {
  vertical-align : top !important;
}

/* Ensure select dropdowns match the button styles */
.filter-dropdown select {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 16px; 
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100% !important;
  box-sizing: border-box;
  transition: 0.2s ease-in-out;
  
  /* Remove native dropdown arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom dropdown arrow using background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23000000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 14px;
}

/* Dropdown Wrapper */
.filter-dropdown {
  position: relative;
  display: inline-block;
  width: 100% !important
}

/* Remove extra arrow (fix for overlapping arrows) */
.filter-dropdown::after {
  display: none;
}

/* Remove blue outline when clicked */
.filter-dropdown select:focus {
  outline: none;
  border-color: var(--hover-color);
}


/* Responsive: Allow wrapping on small screens */
@media (max-width: 768px) {
  .filter-form {
      flex-wrap: wrap;
  }

  .search-container, .filter-dropdown select, .reset-button {
      width: 100%;
  }
}

/* General Button Styling */
.custom-btn,
.custom-dropdown {
  background: white; 
  border: 1px solid var(--border-color); 
  color: var(--text-color); 
  padding: 8px 16px; 
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px; 
  box-sizing: border-box;
  width: auto; 
  transition: 0.2s ease-in-out;
}

/* Hover Effect */
.custom-btn:hover {
  background: var(--hover-color); 
  border-color: var(--hover-color); 
  color: var(--text-hover-color);
}

.custom-btn-fix {
  min-width: 150px; /* Ensures they don't shrink below */
  max-width: 150px; /* Prevents excessive growth */
}

.btn-reset::before,
.btn-filter::before,
.btn-columns::before,
.btn-download::before,
.btn-left::before,
.btn-right::before {
  content: "";
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
}

/* Specific Icons */
.btn-reset::before { background-image: url('/icons/refresh.svg'); }
.btn-filter::before { background-image: url('/icons/bars-filter.svg'); }
.btn-columns::before { background-image: url('/icons/columns-3.svg'); }
.btn-download::before { background-image: url('/icons/down-to-line.svg'); }
.btn-left::before { background-image: url('/icons/angle-small-left.svg'); width: 26px; height: 26px; }
.btn-right::before { background-image: url('/icons/angle-small-right.svg'); width: 26px; height: 26px; }

/* Icon Customization */
.cus-icons {
  width: 14px;
  height: 14px;
  margin: 2px;
}

.external-link {
  width: 12px;
  height: 12px;
  margin: 2px;
  margin-left: 4px;
}

.width-40 {
  width: 40% !important;
}
.width-30 {
  width: 30% !important;
}


.form-check-input {
  margin-right: 3px; /* Reduce space between checkbox and label */
  margin-top : 1px;
  vertical-align: middle; /* Aligns checkbox properly */
}

.form-check-label {
  padding-left: 0.5em !important; 
  white-space: nowrap; 
  font-size: 12px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  form .d-flex {
      flex-wrap: wrap;  
      gap: 8px;        
      margin-bottom: 1em;
  }
}
.main-chart-section{
  font-size: 13px;
}

.form-control {
  font-size: 13px !important;
  padding: 8px 16px !important;
}

/* social media buttons */

#st-1 .st-btn {
  min-width: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  min-height: 32px !important;
}
.st-btn {
  display: inline-block !important; 
  visibility: visible !important;  
  opacity: 1 !important;  
  padding: 0px 6px !important;
  margin-right: 4px !important; 


}
#st-1 .st-btn > img {
  display: inline-block;
  height: 16px !important;
  width: 16px !important;
  position: relative !important;
  top: 7px !important;
  vertical-align: top !important;
}

.background-grey {
  border: solid 2px #eceeef !important;
}

#sign-in-nav-btn {
    background: white; 
    border: 1px solid var(--border-color); 
    color: var(--text-color); 
    padding: 8px 16px; 
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px; 
    box-sizing: border-box;
    width: auto; 
    transition: 0.2s ease-in-out;
  }
  
  /* Hover Effect */
  #sign-in-nav-btn:hover {
  background: var(--hover-color); 
  border-color: var(--hover-color); 
  color: var(--text-hover-color);
}

.chart-wrapper {
  width: 100%; 
  overflow-x: auto; 
  white-space: nowrap;
  padding-bottom: 10px; 
}


.sharethis-inline-share-buttons {
  position: relative !important;
  z-index: 10 !important;
}
.st-total {
  display: none !important;
}


/* side
 bar 
 menu  */

.left-menu-panel {
  position: fixed;
  top: 50px; /* Below header */
  left: 0;
  width: 160px; /* Adjust width as needed */
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  /* background-color: #f5f5f5; */
  background-color: white;
  border-right: 0.5px solid #dfdfdf;
}

/* When sidebar is collapsed */
.left-menu-panel.collapsed {
  transform: translateX(-100%);
}

/* ✅ Toggle Button (Inside Sidebar, Top-Right) */
.left-menu-toggle {
  position: absolute;
  top: 4px;
  right: -30px; 
  background-color: white;
  border: 1px solid #ccc;
  cursor: pointer;
  padding: 6px 6px;
  font-size: 18px;
  border-radius: 4px;
  z-index: 1200; /* Above other elements */
  transition: opacity 0.2s, transform 0.3s;
}

.left-menu-toggle:focus,
.left-menu-toggle:active {
outline: none !important;  
box-shadow: none !important;  
border: 1px solid #ccc !important; 
}

/* Show toggle button only when the sidebar is collapsed on mobile */
@media (max-width: 992px) {
  .left-menu-panel.collapsed + .left-menu-toggle {
      display: block !important; /* Show toggle button when collapsed */
  }

  .left-menu-panel.expanded + .left-menu-toggle {
      display: none !important; /* Hide button when sidebar is open */
  }

  .right-panel {
      margin-left: 0px !important;
  }
}

.left-nav {
  margin: 1.5em 0.5em;
  max-height: 100vh;
  overflow-y: auto;
}

/* Remove markers from all list items if the marker persists */
li::marker {
  content: none;
}

.right-align-price {
  text-align: right;
  padding-right: 10px;
}

.decimal-left-align {
  /* font-family: 'Menlo', 'Courier New', monospace; */
  font-size: 12px;
  white-space: pre; /* preserve spacing */
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  text-align: right;
}

.date-mono {
  /* font-family: 'Menlo', 'Courier New', monospace; */
  font-size: 12px;
  white-space: pre; /* preserve spacing */
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}







