
/* top margin stuff for cells */
.top5 { margin-top:5px; }
.top7 { margin-top:7px; }
.top10 { margin-top:10px; }
.top15 { margin-top:15px; }
.top17 { margin-top:17px; }
.top30 { margin-top:30px; }

/* Glyphicon Sizing stuff*/
.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}

/* extend the screen size for big monitors */
@media (min-width: 1400px) {
  .container {
    width: 1800px;
  }
}

/*Column centering*/
.col-centered{
    float: none;
    margin: 0 auto;
}
/*vertical text CSS*/
.page_block {
    margin:0px;
    padding:10px;
}
#header {
    position: relative;
}
.verticaltext {
    transform: rotate(-90deg);
    transform-origin: right, top;
    -ms-transform: rotate(-90deg);
    -ms-transform-origin:right, top;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin:right, top;
    position: absolute;
}

/*Glyphicon stuff*/
.glyphy {
    cursor: pointer;
}
.glyphy input {
    display: none;
}

/* Bootstrap Hoverdropdown*/
/* Dropdown Button */
.dropbtn {
    background-color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.smalldropbtn {
    background-color: white;
    text-align: left;
    padding: 2px;
    font-size: 16px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
/*    display: inline-block;*/
}


/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.inlineRight {
    Right: 0;
}
.RightSide {
    position: absolute;
    min-width: 600px;
    float:right;
    top: 0%;
    left: 100%;
}

.overlay {
    position: absolute;
    top: -8px;
    left: -10px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 6px 8px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: lightgray;
}

/* This width setting is used for the input field of the xeditable inline*/
.xeditablewidth{
    width: 100%;
}
.editable-wrap {
    display: block;
}
/* In an effort to scale the editable inline...*/
.editable-container.editable-inline,
.editable-container.editable-inline .control-group.form-group,
.editable-container.editable-inline .control-group.form-group .editable-input,
.editable-container.editable-inline .control-group.form-group .editable-input textarea
{
    width: 90%!important;
}
.editable-container.editable-inline .control-group.form-group .editable-input input:not([type=radio]):not([type=checkbox]):not([type=submit])
{
    width: 100%!important;
}

/* stuff for Glyphicon sizing */
.gi-05x{font-size: 0.5em;}
.gi-1x{font-size: 1em;}
.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}


/* button for file upload shite from here https://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3 */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* Stuff for the new super predictor autocompleter from majesty land */
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 15px;
  width: 200%;
  white-space: pre-wrap;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/*stuff for datatables*/


/*tool tip text CSS information*/
/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  top: -5px;
  left: 105%;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* allow for dropdown in Bootstratp on the Datatables */
.table-scrollable {
    overflow-x: visible;
    overflow-y: visible;
}
/* email view stuff ----------------------------------*/
/* Fixed table width for the email view */
.table.table-fixed {
    table-layout: fixed;
}
/* One‑line truncation with ellipsis */
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .3s ease;          /* smooth expansion */
}

.ellipsis:hover {
    white-space: normal;               /* allow line breaks when hovered */
    background: #f8f9fa;              /* optional highlight */
}

.modal-90w {
    max-width: 90vw;      /* 90% of viewport width */
    margin-left: auto;
    margin-right: auto;
}
#filter-form .form-control  {
    width: 100%;
}
.button-wd {
    width: 100%;
}
.email-text {
  font-size: 80%;
}
.clicked-row {
    background-color: #e6e6e6; /* A light, noticeable color */
    /* Add other styles like font-weight, border, etc. */
}
.spinner {
  width: 40px; height: 40px;
  border: 4px solid #ddd;
  border-top-color:#3498db;
  border-radius:50%;
  animation: spin .6s linear infinite;
}
@keyframes spin {to{transform:rotate(360deg)}}
/* email view stuff ----------------------------------*/


/* Highcharts scaling */
.highcharts-container {
    font-size: 1em;
}


/* --- LAT Home additions --- */
.menu-link { background: none; border: 0; color: black; padding: 6px 8px; width: 100%; text-align: left; }
.menu-link:hover { background-color: #f1f1f1; }
#myDropdown { min-width: 240px; z-index: 1000; }
/* On touch screens there is no hover: the menus open on tap (classic.js) */
.dropdown.open > .dropdown-content { display: block; }
.smalldropbtn { background: transparent; }
.autocomplete-items { left: 0; width: 100%; max-height: 60vh; overflow-y: auto; }
@media (max-width: 767px) {
  .autocomplete-items { width: calc(100vw - 30px); }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .table-responsive-xs { overflow-x: auto; }
}
.autocomplete-items div { padding: 8px 10px; }
.autocomplete-items .ac-detail { color: #777; font-size: 90%; }
.autocomplete-active .ac-detail { color: #eee; }
.classic-links li { padding: 12px 16px; font-size: 16px; }
.classic-apps li { padding: 2px 0; }
.item-row { padding: 6px 0; }
/* DataTables on phones: let the table scroll sideways inside the page */
.dt-wrap { overflow-x: auto; }
td.dropdown { position: relative; }
td.dropdown .dropdown-content { left: 0; top: 100%; }
tr.bill-overdue td { color: #a94442; }
.car-link { display: inline-block; padding: 10px 0; font-size: 18px; }
.fuel-row { padding: 2px 0; }
.inline-edit { cursor: pointer; border-bottom: 1px dashed #08c; }
.inline-edit.text-muted { font-style: italic; }
.inline-edit.saved { background: #dff0d8; transition: background .3s; }
.inline-edit.editing { border: 0; }
tr.chart-selected td { background-color: #d9edf7 !important; }
.select-cell { cursor: pointer; }
.checkbox-inline-label { font-weight: normal; }
.notes-cell { max-width: 420px; white-space: pre-wrap; }
@media (max-width: 767px) { .top5-xs { margin-top: 5px; } }
.fin-row { margin-bottom: 6px; }
.fin-head { margin-bottom: 4px; font-size: 13px; }
.fin-actions .btn { padding-left: 4px; padding-right: 4px; }
@media (max-width: 767px) { .fin-row { border-bottom: 1px solid #eee; padding-bottom: 8px; } }
.auth-form, .auth-page .panel { max-width: 34rem; }
.auth-actions { margin-top: 10px; }
.auth-actions .btn { margin: 0 6px 6px 0; }
.file-row { padding: 4px 0; border-bottom: 1px solid #f3f3f3; }
.token-row { padding: 6px 0; border-bottom: 1px solid #eee; }
.fin-dirty { background: #fcf8e3; box-shadow: -3px 0 0 #f0ad4e; }
.fin-error { background: #f2dede; }
.fin-flash { animation: finflash 1.2s ease-out; }
@keyframes finflash { from { background: #dff0d8; } to { background: transparent; } }
