#facebox .b {
    background: url('../images/facebox/b.png');
}

#facebox .tl {
    background: url('../images/facebox/tl.png');
}

#facebox .tr {
    background: url('../images/facebox/tr.png');
}

#facebox .bl {
    background: url('../images/facebox/bl.png');
}

#facebox .br {
    background: url('../images/facebox/br.png');
}

#facebox {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    text-align: left;
    color:black;
}

#facebox .popup {
    position: relative;
}

#facebox table {
    border-collapse: collapse;
}

#facebox td {
    border-bottom: 0;
    padding: 0;
}

#facebox .body {
    padding: 10px;
    background: #fff;
    width: 370px;
}

#facebox .loading {
    text-align: center;
}

#facebox .image {
    text-align: center;
}

#facebox img {
    border: 0;
    margin: 0;
}

#facebox .footer {
    border-top: 1px solid #DDDDDD;
    padding-top: 5px;
    margin-top: 10px;
    text-align: right;
}

#facebox .footer img {
    vertical-align: middle;
}

/* Clean modal chrome for modern AWRE facebox variants.
   This must live in base facebox CSS so it applies during loading state. */
#facebox.awre-facebox-clean .popup,
#facebox.awre-facebox-clean .fb-popup {
    background: transparent !important;
    box-shadow: none !important;
}

#facebox.awre-facebox-clean .tl,
#facebox.awre-facebox-clean .tr,
#facebox.awre-facebox-clean .bl,
#facebox.awre-facebox-clean .br,
#facebox.awre-facebox-clean .b {
    background: transparent !important;
}

#facebox.awre-facebox-clean .body {
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
}

#facebox.awre-facebox-clean .footer {
    display: none !important;
}

#facebox.awre-facebox-clean .loading {
    display: none !important;
}

#facebox_overlay.awre-facebox-overlay {
    background: rgba(10, 17, 34, 0.62) !important;
    opacity: 1 !important;
    z-index: 5000 !important;
}

#facebox.awre-facebox-clean {
    z-index: 5001 !important;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
    height: 10px;
    width: 10px;
    overflow: hidden;
    padding: 0;
}

#facebox_overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

.facebox_hide {
    z-index: -100 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
}

.facebox_overlayBG {
    background-color: #000;
    z-index: 99;
}

#facebox[style*="display: none"] {
    pointer-events: none !important;
}

* html #facebox_overlay { /* ie6 hack */
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

/* A11Y focus indicator override */
:where(
  a[href],
  button,
  input:not([type="hidden"]),
  select,
  textarea,
  summary,
  [role="button"],
  [role="link"],
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 3px solid #005fcc !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #005fcc !important;
}
