﻿.clear
{
    display:block;
    float:left;
    width:100%;
    min-height:1px;
    clear:both;
    margin-bottom:5px;
}
.clearNoMargin
{
    display:block;
    float:left;
    width:100%;
    height:1px;
    clear:both;
    margin-bottom:0px; 
}
.floatLeft
{
    display:inline-block;
    float:left;
}
.floatRight
{
    display:inline-block;
    float:right !important;
}
.marginRight-5
{
    margin-right:5px;
}
.marginleft-5
{
    margin-left:5px;
}
.marginRight-10
{
    margin-right:10px;
}
.marginleft-10
{
    margin-left:10px;
}
.clearBoth
{
    clear:both;
}
.hideElement
{
    display:none;
}

/* 
    IE Seven fix
*/
.ieSevenDiv
{
    display:inline-block;
    float:left;
    width:100%;
    min-height:1px;
}
.ieSevenClear
{
    display:block;
    float:left;
    width:100%;
    min-height:1px;
    clear:both;
    margin-bottom:0px;
}


/* Can be usfull for Wrapping around buttons so they don't stack on top of one another..
   See UCtrlMaintPage.ascx for an example.
*/
.buttonWrapperLeft
{
    display:inline-block;
    float:left;
    margin:0px 5px;
}
.buttonWrapperRight
{
    display:inline-block;
    float:right;
    margin:0px 5px;
}
/* ---- Dio customisation 2026-08-21 (Kelly Atkinson) ----------------------
   Relabels "Financial Expiry Date" as "Last Day On Site" on
   Staff Maintenance > School > Status.

   IMPORTANT: files in Site\CSS REPLACE the file of the same name in CSS\ -
   SynWeb does not load both. The content above this comment is an exact
   copy of this server's stock helpers.css and must stay. Never trim it.

   AFTER EVERY SYNWEB UPGRADE: re-copy CSS\helpers.css over this file and
   re-append this block, or SynWeb will keep serving the pre-upgrade
   helpers.css indefinitely.

   Anchored to the DevExpress editor id, not to field position.
   right: 5px matches the label's own padding-right.
   SCREEN LABEL ONLY - the database column is still Staff.FinancialExpiryDate.
   The Windows client is relabelled separately via Synergy.rl.
   Applied against SynWeb 72.19.1.18315 (production, 21 Aug 2026).
   Roll back by deleting this file and recycling the SynWeb app pool.
   -------------------------------------------------------------------- */
.rowSlot:has([id*="dateTimeFinancialExpiryDate"]) > label {
  visibility: hidden;
  position: relative;
}
.rowSlot:has([id*="dateTimeFinancialExpiryDate"]) > label::after {
  content: "Last Day On Site:";
  visibility: visible;
  position: absolute;
  right: 5px;
  top: 0;
  white-space: nowrap;
}
