:root {
    font-size: 0.625rem;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
}


a,
.a {
    color: rgb(85, 26, 139) !important;
}

input::placeholder {
    color: #666 !important;
}

.navbar {
    background: #003355;
    border: solid 1px #003355;
}

.navbar a:not(.dropdown-item) {
    font-weight: bold;
    color: #e7e5e5 !important;
    text-decoration: none;
    display: block;
    padding: 8px 20px;
    margin: 0;
}
.skip-to-content {
    display: none;
}
.navbar-dark.navbar .navbar-nav>li>a:focus {
    background-color: #025892;
}
/* 
.nav-item.weblink.dropdown {
    width: 15rem;
} */
.navbar-brand {
    padding: 0px;
}

.entitylist .card{
    margin-bottom: 2px;
}

.dropdown-menu-end.dropdown-menu.show {
    width: 15rem;
}

.navbar .dropdown-menu.show a {
    color: #025892 !important;
    font-weight: bold;
    padding: 10px 0px 0px 10px;
}

.static-top.navbar .menu-bar>.navbar-nav>.divider-vertical {
    margin-top: .5rem;
    height: 3rem;
    ;
}

div.navbar .navbar-nav>li>a:hover {
    color: #e7e5e5;

    background-color: inherit;
}
.loads-root-container .btn-entitylist-filter-submit {
    display: none;
}
.nav-item.weblink.dropdown:has(a[aria-label=Contracts]) ul.show li:first-child,
.nav-item.weblink.dropdown:has(a[aria-label='Transport Loads']) ul.show li:first-child {
    display: none;
}

.btn.btn-primary,
.btn.btn-default {
    background: #035;
    color: #fff;
    box-sizing: border-box;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #035;
    border-radius: .5rem;

}

.btn.button2:not(.gjs-selected):hover,
.btn.btn-default:not(.gjs-selected):hover,
.btn.btn-primary:active,
.btn.btn-default:active,
.btn.btn-primary:focus,
.btn.btn-default:focus,
.btn.btn-primary:hover,
.btn.btn-default:hover,
.btn.btn-primary:active:focus,
.btn.btn-default:active:focus,
.btn.btn-primary:hover,
.btn.btn-default:hover {
    border: 1px solid #025892;
    background-color: #025892;
    color: #FFF;
}

#content .nav-tabs {
    display: none;
}

.form-control {
    font-size: 1.6rem;
}

.entitylist-filter-option-group-label.h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.entity-grid.entitylist {
    border: none;
}

.entitylist-filter-option-group .input-group>.form-control {
    margin-left: .3rem !important;
}

.input-group input {
    border-color: #CED4DA;
}

#accordion {
    display: table-row-group !important;
}

#EntityFormControl_EntityFormView tr td div.table-info,
#EntityFormControl_EntityFormView tr td div.control {
    display: inline-block;
    width: 50%;
    margin-bottom: 1rem;
    border-bottom: .5px solid rgb(184, 182, 182);
    font-weight: 400;
    font-size: 1.4rem;
}

#EntityFormControl_EntityFormView tr td.cell {
    padding: 0px;
    display: flex;

}
.modal-form .modal-body iframe {
    height: 52rem;
}
#EntityFormControl_EntityFormView tr td.cell input {
    padding: 0px;
    font-size: 1.35rem;
}

#EntityFormPanel {
    border: none;
    margin-top: 1rem;
}

#EntityFormControl_EntityFormView label {
    font-weight: 400;
}

body:has(#EntityFormControl_EntityFormView) {
    height: 600px;
}

#EntityFormControl_EntityFormView div[data-name='General Details'],
#EntityFormControl_EntityFormView div[data-name='General']{
    display: flex;
    justify-content: space-around;
    column-gap: 5rem;
}

#EntityFormControl_EntityFormView .tab-column {
    width: auto !important;
}

.modal-header {
    background-color: #003355;
    color: white;
}

.modal-header h4,
.modal-header .btn-close {
    color: white;
}

.triangle {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #2E456B;
    /* Triangle Color */
    transition: transform 0.3s ease;
}

.btn[aria-expanded="true"] .triangle {
    transform: rotate(90deg);
}

#filtersToggleBtn {
    font-size: 1.6rem;
    text-decoration: underline;
    border: none;
}

.entitylist,
.entitylist-filter {
    border: none;
}


a.launch-modal.dropdown-item:hover,
a.launch-modal.dropdown-item:focus,
a.launch-modal.dropdown-item:focus:active,
a.launch-modal.dropdown-item:active{
    background: none;
    padding-left: 10px;
}


.entitylist-filter-option-group  .date-width{
    width : 10rem !important;
}

.entitylist-filter-option-group .input-group.date-picker {
    width: auto;
}
.entitylist-filter-option-group span.input-group-addon:not(.date-devider){
    padding: 0px;
}

table.table{
    font-size: 1.35rem;
}
    /* --------------------------------------------------
   FILTER PANEL
-------------------------------------------------- */
#entitylist-filters {
  display: flex;

  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-right: 2rem;
  row-gap: 1.5rem;
}

.list-inline > li {
  min-width: 20%;
}

.entitylist-filter-option-text {
  width: 100%;
}

.input-group-text {
  display: none;
}

.entitylist {
    border: none !important; 
}
/* .input-group > :not(:first-child):not(.dropdown-menu)
:not(.valid-tooltip):not(.valid-feedback)
:not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: .5rem;
} */

/* --------------------------------------------------
   GRID BASE STYLES
-------------------------------------------------- */
.entity-grid.entitylist tr[data-entity='rid_contractheader'] {
  cursor: pointer;
}

.entity-grid.entitylist td {
  vertical-align: middle;
}

/* --------------------------------------------------
   HEADERS (Spread + Loads)
-------------------------------------------------- */
.related-data-header {
  text-align: center;
  font-size: 90%;
  background-color: #638ab1;
  color: white;
  margin-bottom: 0;
  padding-bottom: .5rem;
}

/* Spread table header inherits same styling */
.spreadtable thead {
  background-color: #638ab1;
  color: white;
}

/* --------------------------------------------------
   SPREAD TABLE
-------------------------------------------------- */
.spread-content {
  border: 1px solid #638ab1;
  margin-left: 1rem;
}

.spreadtable {
  font-size: 90%;
}

.spreadtable td {
  background-color: #f4faff;
  align-items: center;
  font-weight: 400;
}

.spreadtable th {
  font-weight: 500;
}

/* Loads inside spread table */
.spreadtable .loads-details td {
  background-color: #fff;
}

/* --------------------------------------------------
   LOADS DETAILS PANEL
-------------------------------------------------- */
.loads-details {
  text-decoration: none;
  box-shadow: 0px 0px 5px 1px #5f5d5d;
  background-color: #fff;
}

/* Remove underline from first cell */
.loads-details td:first-child {
  text-decoration: none;
}

/* Loads header + loads table header */
.loads-details .related-data-header,
.loads-details thead th {
  background-color: #ffff;
  color: black;
}

/* Loads table striping */
.loads-details .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #ffff;
  box-shadow: none;
}

.spreadtable .loads-details h5,
.spreadtable .loads-details th{
   background-color: #f6f6f6;
}
/* --------------------------------------------------
   TABLE GLOBAL OVERRIDES
-------------------------------------------------- */
.table > :not(caption) > * > * {
  border-bottom: none;
}

.spreadtable tr:not(.loads-details tr){
   cursor: pointer;
}
.loads-details {
    cursor: default;
}
.dropdown.action button{
    display: none;
}
.dropdown.action .dropdown-menu{
    display: block;
    position: relative !important;
    border: none;
    box-shadow: none;
    background-color: inherit;
}
.modal-dialog.modal-lg{
    --bs-modal-width: 90%;
}

.load-data-table th.load-param{
    width: 50%;
}

.load-data-table tr {
    border-bottom: rgb(204,204,204) 1px solid;
}

.sarch-container {
    text-align: center;
    margin-bottom:1rem ;
}
.pagination li.page-item a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-link.active {
    background-color: #ccc;
}

.entitylist-download {
    background: transparent !important;
    font-size: 1.4rem;
}
.enquiry-details{
    max-width: 50rem;
}

.actions{
    display: flex;
    margin-left: 2rem;
    justify-content: end;
}

.row div p{
    font-size: 1.4rem;
}
.note-actions .addnote, .grid-actions .toolbar-actions  a{
    background: transparent !important;
}

.metadata {
    display: none;
}

.col-md-3:has(.addnote){
    width: 100%;
}
.dropdown-menu.show {
    min-width: 20rem;
}

.dropdown-menu.show li {
    border-bottom: .5px solid #ccc;
    padding-bottom: .3rem;
}

.dropdown-menu.show {
    border-bottom: none;
}

.dropdown-divider {
    display: none !important;
}

.bootstrap-datetimepicker-widget ul > li,
.datepicker{
    margin-left: 0px  !important;
}