/**
 * PSE Inline Styles - Externalized CSS Classes
 * Semantic CSS classes for inline styles removed from PSE templates
 * to achieve CSP compliance while maintaining visual consistency.
 */

/* Hidden elements - replaces style="display:none" */
.pse-hidden {
    display: none;
}

/* Overlay positioning - for error and info overlays */
.pse-overlay-fixed-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Form element styling */
.pse-form-width-175 {
    width: 175px;
}

/* Link styling overrides */
.pse-link-white {
    color: #fff;
}

/* Forgot password link styling - externalized from loginError.html inline style block */
.pse-link-forgot-password {
    color: white;
}

/* Error overlay positioning - externalized from login.html */
.pse-error-overlay-positioned {
    position: fixed;
    top: 269.055px;
    left: 603.672px;
}

/* ChangePassword template overlay positioning - externalized from changePassword.html inline styles */
.pse-changepassword-overlay-height {
    height: 805px;
}

.pse-changepassword-error-alert {
    position: fixed;
    top: 329.52px;
    left: 837.2px;
}

.pse-changepassword-success-alert {
    position: fixed;
    top: 308.5px;
    left: 524.5px;
}

/* ChangePassword template text styling */
.pse-error-text-small {
    font-size: 11px !important;
}

/* Fragment dynamic styling - externalized from pse-fragments.js */

/* Footer HTML5 element - creates proper layout context for vigilado positioning */
footer {
    display: block !important;
    overflow: hidden !important; /* Creates block formatting context */
    width: 100% !important;
}

/* Vigilado background element - enhanced with !important for specificity */
.pse-vigilado-background {
    background: url(/JFP/avatar/images/header/vigilado_small.gif) no-repeat !important;
    float: left !important;
    height: 107px !important;
    width: 10px !important;
}

/* Footer padding element - enhanced with !important */
.pse-footer-padding {
    padding-top: 10px !important;
}

/* Footer positioning and layout - enhanced with !important.
   width: 100% prevents #footer from overflowing the <footer> element
   (which has overflow:hidden) when the container is narrower than the
   former hardcoded 965px value (e.g. .cS-structBodyContainer at 926px
   in pre-login info pages). max-width preserves the original design on
   wider viewports. box-sizing ensures padding is included in the width. */
.pse-footer-layout {
    width: 100% !important;
    max-width: 965px !important;
    padding-left: 15px !important;
    margin: 10px auto !important;
    box-sizing: border-box !important;
}

/* Marquee notification styling - CSS-based replacement for obsolete <marquee> tag.
   Animation is driven by JS (startMarqueeAnimation) to avoid being overridden
   by other stylesheets loaded in the PSE page. */
.pse-marquee-notification {
    height: 30px;
    padding-top: 10px;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
    position: relative;
}

.pse-marquee-content {
    position: absolute;
    white-space: nowrap;
    line-height: 20px; /* Matches the effective height (30px - 10px padding) */
    margin: 0;
    will-change: transform;
    font-family: Arial, Helvetica, sans-serif; /* Explicit font to prevent inheriting browser defaults on pages that don't load style.css */
}

/* Reduced-motion: intentionally not applied here.
   This is a business-critical payment hours notification, not a decorative animation.
   It must always scroll regardless of OS motion preferences. */

/* Dropdown initial hidden state - replaces style="display: none;" */
.pse-dropdown-hidden {
    display: none;
}

/* Header logout button styling - replaces style="color:#ffffff;" */
.pse-logout-button {
    color: #ffffff;
}

/* Header dropdown navigation styling - externalized from login-header.html and pre-login-header.html inline style blocks */
#header .dropdown > li {
    border-bottom: 1px dotted #a2a2a2;
    width: 100%;
    float: left;
    list-style: none;
}

#header .dropdown > li.last {
    border-bottom: none !important;
}

#header .dropdown > li > a {
    color: #000 !important;
    border-right: none !important;
    font-size: 12px;
    font-weight: normal !important;
    height: 100%;
    padding: 5px 15px !important;
    text-transform: none !important;
}

#header .dropdown li a:hover {
    background-color: #F7F7F7 !important;
    background-image: none !important;
}

#pullDownLogin {
    float: right;
    position: relative;
}

#pullDownLogin a {
    color: #fff;
    float: left;
    height: 16px;
}

#pullDownLogin a span {
    float: left;
}

#pullDownLogin .iconSign {
    margin: 0 0 0 5px;
}

#pullDownLogin .textoLogin {
   width: 65px;
}

#pullDownLogin #dropdownLogin {
    float: right;
    left: -45px;
    top: 26px;
    width: 170px !important;
}

#pullDownLogin #dropdownLogin li a {
    width: 140px !important;
}

#pullDownLogin #dropdownLogin .bottomRadio {
    background: url(/JFP/avatar/images/header/bottom_bg_dropdown_170.png) no-repeat scroll 0 bottom;
}

#header .dropdown {
    -moz-box-shadow: 2px 2px 24px -7px #3D3D3D;
    -webkit-box-shadow: 2px 2px 24px -7px #3D3D3D;
    box-shadow: 2px 2px 24px -7px #3D3D3D;
    background-color: #FFF;
    display: none;
    left: 8px;
    padding: 10px 0;
    position: absolute;
    z-index: 50;
    behavior: url(/resources/css/PIE.htc);
}

#header .bottomRadio {
    background: url("../images/header/bottom_bg_dropdown.png") no-repeat 0 bottom;
    width: 100%;
    height: 11px;
    position: absolute;
    top: 100%;
    left: 0;
}

/* Fragment XFS security styling - externalized from login-head.html and pre-login-head.html */

/* Security: Hide HTML content until XFS protection validates safe display */
.pse-xfs-security-hidden {
    display: none;
    visibility: hidden;
}