﻿:root {
    --main-content-bg-color: #FFFFFF;
    --main-content-font-color: #403F3D;
    --component-background: #FFFFFF;
    --login-page-btn-color: #003057;
    --footer-color: #F4F2ED;
    --header-font: Fraunces, serif;
    --sub-font: 'Segoe UI', sans-serif;
    --theme-color: #3E7780;
    --constant-header-font-weight: 500;
    --header-text-color: #FFFFFF
}

html, body {
    margin: 0;
    padding: 0;
}

table[id="Claim.LitigationStatu.StatusName"] {
    position: relative;
    bottom: 0.5rem;
}

table[id="LitigationStatus"] {
    position: relative;
    bottom: 0.5rem;
}

#headerInfo {
    position: relative;
    z-index: 10;
}

/* Header */
.dxpnl-edge.t.headerPane 
{
    background-color: #EDEDED;
    background-position: left top;
    background-repeat: no-repeat;
}
.dxpnl-edge.t.headerPane.panel 
{
    padding: 0;
}
.headerMenu 
{
    border-width: 0!important;
    border-top-width: 1px!important;
}
.expandedPanel 
{
    padding: 2px!important;
}
.expandedPanel .headerMenu 
{
    border-top-width: 0!important;
}
.templateTitle {
    white-space:nowrap;
    margin: 6px 12px 8px;
}
.expandedPanel .templateTitle 
{
    display: none;
}
.dxpnl-edge.t.headerPane.bar .templateTitle 
{
    margin: 0;
}

.expandedPanel .loginControl
{
    float: none;
    margin-left: 12px;
    margin-bottom: 24px;
}



/* Footer */
.dxpnl-edge.b.footerPane 
{
    background-color: #EDEDED;
}
.dxpnl-edge.b.footerPane.panel 
{
    padding: 0;
}
.footerMenu 
{
    float: left;
    margin: 10px  15px 10px;
}
.copyright 
{
    float: right;
    margin: 10px  15px 10px;
}
.content 
{
    padding: 5px;
}

/* Account */
.accountHeader h2 
{
    margin: 10px 0 7px 0;
    font-size: 16px;
}
.accountHeader p 
{
    margin: 0;
    padding: 0;
}
.accountHeader 
{
    margin-bottom: 20px;
}

.contentPane
{
    margin-left:15px;
    margin-bottom:40px;
}
.container
{
    margin-left:15px;
    margin-bottom:40px;
}
#flash-message {
    position: absolute;
    border-radius: 5px;
    min-width:50%;
    padding: 8px;
    background-color: #a4c3f4;
    left: 50%;
    transform: translateX(-50%)
}

/* Utilities */
.flex-center {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered{
    margin: 0 auto;
    float: none !important;
    display: table;
}

.wrapCaption {
    white-space:normal;
    word-wrap:break-word;

}

/* Claim form
   The form layout must never grow wider than the panel it renders in */
#flClaimForm {
    max-width: 100%;
    box-sizing: border-box;
}

/* Enhancement questions hold the full question text. DevExpress renders form layout captions in a
   table cell with white-space:nowrap, and because the table uses automatic layout the cell keeps
   growing to fit the whole question on one line, which widens the claim form and produces a
   horizontal scroll bar. Allowing wrapping is not enough on its own - the cell only breaks the text
   once it is given a width limit, so a max-width is required here. */
.enhancementCaption {
    display: block;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    max-width: 900px;
}

/* Each injury question renders in its own nested form layout table, so an inline caption width alone
   is not enough - the auto table layout still resizes the caption cell to fit the injury name and the
   yes/no radio buttons end up at a different horizontal position for every injury. Locking the caption
   cell width keeps every injury's radio buttons on the same vertical line. */
.injuryCaption {
    white-space: normal;
    word-wrap: break-word;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    box-sizing: border-box;
}

.injuryDateCaption {
    white-space: normal;
    word-wrap: break-word;
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    box-sizing: border-box;
}

/* Forces the nested injury answer layout table to honor the locked caption widths above */
.injuryAnswerGroup table {
    table-layout: fixed;
}

/* DevExpress renders each editor - and the date picker's calendar popup - as its own nested table.
   The rule above is an unscoped descendant selector, so without this reset those editor tables also
   inherit table-layout:fixed. That forces the editor's internal cell widths, which pushes the date
   picker's drop down button outside the bordered edit area, and makes the calendar popup render at
   the wrong width the first time it is opened (it only corrects itself on reopen, once DevExpress has
   measured it). Editors must keep automatic table layout so they size themselves.
   Substring matching is used because the exact DevExpress class suffixes vary by control and version;
   every editor class starts with "dxe" and every popup container with "dxpc". */
.injuryAnswerGroup table[class*="dxe"],
.injuryAnswerGroup [class*="dxe"] table,
.injuryAnswerGroup table[class*="dxpc"],
.injuryAnswerGroup [class*="dxpc"] table {
    table-layout: auto;
}

/* The calendar popup is positioned out of the editor's container once it is shown, so the same reset
   is applied globally to keep the very first open sized correctly. */
table[class*="dxeCalendar"],
[class*="dxeCalendar"] table,
table[class*="dxpcDropDown"],
[class*="dxpcDropDown"] table {
    table-layout: auto;
}

/* Document grids / upload controls
   Claim form supporting document grids must never be wider than the claim form panel, otherwise
   the panel gets an unnecessary horizontal scroll bar on smaller screens */
.ownerDocumentsGrid {
    max-width: 100%;
    table-layout: fixed;
}

    .ownerDocumentsGrid td, .ownerDocumentsGrid th {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

/* Reports */
.reportButtons {
    margin-bottom: 15px;
    width: 300px !important;
    white-space:normal;
    text-align: left;
}

/* Login / password controls */
.loginWidth {
    max-width: 554px;
    width: 100%;
}

.loginAccessTypeRadioContainer{
    max-width: 375px;
    width: 100%
}

.password-toggle {
    cursor: pointer;
    color: #666;
    font-size: 16px;
    position: absolute;
    right: 10px;
    top: 6px;
    z-index: 2;
}
.password-container {
    position: relative;
    width: 100%;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}

.uploadControlPFS{
    max-width: 310px;
}

/* DevExpress MaterialCompact theme overrides */
div.dxbButton_MaterialCompact:hover {
    background-color: #3E7780
}

.dxmLite_MaterialCompact .dxm-item.dxm-hovered,
.dxmLite_MaterialCompact .dxm-item.dxm-selected {
    background-color: #3E7780 !important;
    color: #FFFFFF !important
}

    .dxmLite_MaterialCompact .dxm-item.dxm-hovered a.dx {
        background-color: #3E7780 !important;
        color: #FFFFFF !important
    }

html,
.mainContentPane {
    background-color: var(--main-content-bg-color);
}

.dxm-horizontal.headerMenu,
.dxmLite_MaterialCompact .dxm-item,
.dxmLite_MaterialCompact .dxm-item a.dx {
    color: var(--main-content-font-color);
    background-color: var(--component-background);
    font-family: var(--sub-font);
}

.stackedboxtext > p {
    font-family: var(--header-font);
}

.dxtcLite_MaterialCompact.dxtc-top > .dxtc-stripContainer .dxtc-activeTab {
    border-bottom-color: #3E7780;
}

.dxeBase_MaterialCompact,
.dxtc-psi .dx-vam {
    color: var(--main-content-font-color);
}

.dxflGroupBoxCaption_MaterialCompact {
    color: var(--main-content-font-color);
}

/* Typography helpers */
.headerFont {
    font-family: var(--header-font);
}

h2, h1 {
    font-family: var(--header-font);
}

.subFont {
    font-family: var(--sub-font);
}

.themeColor {
    color: var(--theme-color);
}
