/* ==================================================
   File: Custom Branding CSS
   Author: hostmaster@crownrms.com
   Purpose: RMorder / O'Neil Order UI branding
   Supports: v6 and v7
   Last modified: 22 April 2026
   ================================================== */

/* Example path where this CSS is loaded from:
   https://<domain>/ONeilOrder/Content/custom/rm-styles-custom.css
*/

/* v7 logo container */
.pre-logon-group {
  background-image: url('../images/custom/CIM_logo_RGB_708_241.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 185px;
  height: 63px;
  display: block;

  /* SPACE ABOVE LOGO */
  margin: 25px auto 0 auto;
}

/* v6 fallback logo */
#main::before {
  content: "";
  display: block;
  width: 185px;
  height: 63px;

  /* SPACE ABOVE LOGO */
  margin: 25px auto 0 auto;

  background-image: url('../images/custom/CIM_logo_RGB_708_241.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* v7 only: disable v6 fallback to avoid double logo */
body:has(.pre-logon-group) #main::before {
  content: none;
}

/* Change the background color of the top banner */
.barcode{
  height:100px;
  background-color: #0A424A !important;
}

/* Change the color of the text for the record center name and user name in the banner */
.login-display,
#navigate
{
  color: #ffffff;
}

/* Hide the "O'NEIL ORDER" text in the banner */
#navigate-application-text
{
  display: none;
}

/* Add new text to replace "O'NEIL ORDER" in the banner */
#navigate:after
{
  content: 'RMorder';
  position: relative;
  left: 300px;
  font-size: 20px; 

}

/* Set the "navigate" button image in the banner to a new image */
.oneil-order-std-nav {
  background-image: url('../images/custom/CIM_logo_RGB_708_241.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;
  width: 185px;
  height: 63px;
}

/* Change the hover styling to be a different color on the banner */
#barcode .barcode-item.barcode-item-main-menu:hover,
.profile-nav:hover
{
  border-radius: 12px;
  background-color: #0A424A !important;
}

/* Override the default splash image */
.oneil-order-splash
{
  background-image: url('../images/custom/CRM_tagline_01.png');
}

/* Change the div containing the submit, cancel etc. buttons to be Crown blue color */
.r-dialog-form .r-dialog-form-buttons.r-standard-dialog-form-buttons
{
  background-color: #0A424A !important;
  margin: 0;
  padding: 0.5em;
}

/* Change the color of the submit, cancel etc. buttons
.r-dialog-form .r-dialog-form-buttons.r-standard-dialog-form-buttons button 
{
  background: linear-gradient(0deg, rgba(255, 0, 0, 1) 100%, rgba(255, 0, 0, 0) 100%) !important;
}
*/