/* fonts CSS */
@font-face{
  font-family:"Calder W05 LC";
  src: url('fonts/Calder W05 LC.woff2') format("woff2"),
  url('fonts/Calder W05 LC.woff') format("woff");
}
@font-face{
  font-family:"Turbinado W00 Regular";
  src: url('fonts/Turbinado W00 Regular.woff2') format("woff2"),
  url('fonts/Turbinado W00 Regular.woff') format("woff");
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url('fonts/Open Sans 400.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url('fonts/Open Sans 700.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url('fonts/Open Sans Italic 400.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('fonts/Open Sans Italic 700.woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.875em;
  font-weight: 300;
  color: #494848;
}

h1, h2, h3, h4, h5 {
  font-family: "Calder W05 LC", "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #494848;
}

input, select, textarea {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 18px;
  padding: 2px 5px;
  border: 0px;
  border-radius: 0px;
  box-sizing: border-box;
  box-sizing: border-box;
  outline: 0px
}

input[type="checkbox"]:focus {
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
}

a, a:hover {
  color: rgb(151, 157, 52);
}

#landing_page {
  background: url(/images/login_background_2023-0d07457c5d3292003a7dfa9704932f0b.jpg?vsn=d) center 0px no-repeat #FCFBF9;
  background-size: cover;
  height: 100%;
}

.landing-body {
  color: #fefefe;
  line-height: 1.75;
}

.landing-body h1, .landing-body h3 {
  color: #fefefe;
}

#navbar {
  background: url(/images/navbar_texture-1b3881de9d996c5ca73c014a0661ad05.svg?vsn=d);
  background-size: 100% 44px;
  background-color: rgb(151, 157, 52);
  min-height: 44px;
  height: 44px;
  border: none;
}

.icon-button {
  display: block;
  background-color: rgb(151, 157, 52);
  min-height: 124px;
  width: 124px;
  border-radius: 8px;
  margin: auto;
}

a.icon-button:hover {
  background-color: #B7BD50;
}

div.icon-button {
  margin-bottom: 2em;
}

.icon-button img {
  margin-top: 30px;
}

.help-block {
  color: #900;
}

.nav.nav-pills > li > a,
.nav.nav-pills > li > a:hover
{
  /* preserve color of nav-pills; below adjusts for navbar styling */
  color: rgb(151, 157, 52);
}

.nav.nav-pills > li.active > a
{
  background-color: rgb(151, 157, 52);
  color: #f0f0f0;
}

.nav > li > a,
.nav > li > a:hover
{
  padding: 8px 15px 6px;
  color: #c0c0c0;
}
.navbar-brand {
  height: 44px;
  padding: 8px 15px 6px;
}

.navbar-nav > li > form {
    padding-bottom: 20.5px;
    padding-top: 20.5px;
}
.navbar-nav > li > form {
    line-height: 22px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.nav > li > form {
    display: block;
    padding: 10px 15px;
    position: relative;
}
.navbar-inverse {
  background-color: #303030;
}

.alert-dismissable .close {
  position: inherit;
}

/* Docs page
-------------------------------------------------- */
ul.docs {
  list-style: square;
}
ul.docs li a {
  font-size: 125%;
  color: rgb(151, 157, 52);
}
ul.docs li {
  margin-bottom: 0.8em;
}

/* Render Questions, Answers, etc. in Sections
-------------------------------------------------- */
div.qstn_area {
 margin-top: 2em;
}
div.qstn_area.dimmed,
li.list-group-item.dimmed,
tr.ch.dimmed {
 opacity: 0.4;
}
div.qstn_txt {
 margin-top: -0.1em;
}
input[type="radio"], input[type="checkbox"] {
  margin-top: 8px;
}

.no-margin {
 margin: 0;
}
.heavy {
 font-weight: bold;
}
.ul-area {
  background-color: #fafefa;
  min-height: 3em;
  border-radius: 4px;
  padding: 0.25em;
  border: 1px dashed #9a9a9a;
}

.audit_verified {
   background-color: #FFFFD4;
   padding: 0.5em;
   width: 80%;
   border: 1px solid #f1eff0;
   border-radius: 4px;
   color: #aa9;
   margin-top: 5px;
}
.audit_needs_doc {
   background-color: #FFD503;
   padding: 1em;
   margin-right: 2em;
   border: 1px solid #614154;
  border-radius: 4px;
   margin-top: 1em;
}

.rwb_req {
   padding: 0.5em 1em;
   background-color: #D7DDF7;
   margin-bottom: 0;
   border-radius: 4px;
}
.audit_type {
   padding: 0.5em 1em;
   background-color: #632b8c;
   color: #e0e0e0;
   width: 80%;
   border-radius: 4px;
   opacity: 0.8;
}
.audit_type span {
   font-weight: 700;
}
.audit_type.unanswered {
   background-color: #FFD47F;
   color: #303030;
}
ul.section-nav li.list-group-item {
  font-size: 90%;
}
ul.section-nav li.list-group-item.active {
  background-color: rgb(151, 157, 52);
  border-color: #B7BD50;
}
nav.list-group .list-group-item.active {
  background-color: rgb(151, 157, 52);
  border-color: #B7BD50;
}
.badge {
  font-size: 80%;
}

blockquote {
  font-size: inherit;
}

/* Form customizations
-------------------------------------------------- */
.form-control, .input-group-addon {
  padding: 4px 6px;
  height: 30px;
}

.form-control-static {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 1px;
}

.form-horizontal h4 {
  margin-top: 2em;
}

.form-horizontal .control-label {
  padding-top: 0px;
}

.form-group {
  margin-bottom: 5px;
}

label.reqd-field::before {
  content: "*";
  color: #900;
  font-size: 120%;
}

.inspect-.well {
  background-color: #c9b564;
}
.inspect-true.well {
  background-color: #c1d3b6;
}
.inspect-false.well {
  background-color: #d66248;
}

.danger-bg {
  background-color: #d66248;
}

.well {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
}

.well label {
  font-weight: normal;
}

form.form-lbl-normal label {
 font-weight: normal;
}

.form-horizontal .align-sel {
  margin-top: 7px;
}

.btn-default {
  background-image: none;
  background-color: rgb(151, 157, 52);
  filter: none;
  -webkit-filter: none;
  border: 1px solid #989898;
  color: #fff;
  text-shadow: none;
}
.btn-default:focus, .btn-default:hover {
  background-image: none;
  background-color: #B7BD50;
  border: 1px solid rgb(151, 157, 52);
}

.btn-primary {
  background-image: none;
  background-color: rgb(151, 157, 52);
  border: 1px solid #989898;
  color: #f0f0f0;
}

.btn-primary:hover {
  background-image: none;
  background-color: #B7BD50;
  border: 1px solid rgb(151, 157, 52);
}

/* Report customizations
-------------------------------------------------- */
#eligibility-report h1 {
  border-bottom: 2px solid #363636;
}
table tbody tr td.top-border {
  border-top: 1px solid #363636;
}
table.invoice-table {
  width: 100%;
}
table.invoice-table thead tr {
  background-color: #f2f2f2;
}
table.invoice-table thead td {
  font-weight: bold;
}
table tr.hilite {
  background-color: #d9d9d9;
}
table.invoice-table tr.spacer td {
   padding-top: 1em;
}

table.bav-table {
  font-size: 8px;
}
table.bav-table td {
  line-height: 8px;
  padding: 2px;
}

/* Sticky footer styles
-------------------------------------------------- */
#app.wrapper {
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body {
  background-color: #fefefe;
  color: #292929;
}

#page_footer {
  height: 44px;
  background-color: rgb(151, 157, 52);
  color: #fff;
}

#page_footer p {
  padding: 9px 0 0;
  margin: 0 0 0.5em;
  color: #6B6F27;
}

.letterhead {
  display: flex;
  align-items: center;
}

.letterhead .address {
  color: rgb(151, 157, 52);
}

/* Print-only styles
-------------------------------------------------- */
@media print {
  body {
    display: unset;
    flex-direction: unset;
    font-size: 12px;
  }
  .header {
    display: none;
  }
  .container {
    width: 100%;
  }
  table.invoice-table {
    font-size: 11px;
  }
  #navbar {
    display: none;
  }
  #content {
    flex: none;
  }
  .footer {
    flex-shrink: unset;
  }

  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 16px;
  }
  h4 {
    font-size: 14px;
  }
  .page-break {
    page-break-before: always;
  }
  #preview-toc {
    display: none;
  }
}

@page {
  size: 8.5in 11in;
  margin: 7%;

  @bottom-left {
    content: "Copyright &copy; 2022 SIP Certified";
  }
  @top-right {
    content: "Page " counter(page);
  }
}

/* Phoenix specific styles
 * ---------------------------------------------- */

/* Alerts and form errors used by phx.new */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.alert p {
  margin-bottom: 0;
}
.alert:empty {
  display: none;
}
.invalid-feedback {
  color: #a94442;
  display: block;
  margin: -1rem 0 2rem;
}

/* LiveView specific classes for your customization */
.phx-no-feedback.invalid-feedback,
.phx-no-feedback .invalid-feedback {
  display: none;
}

.phx-click-loading {
  opacity: 0.5;
  transition: opacity 1s ease-out;
}

.phx-disconnected{
  cursor: wait;
}
.phx-disconnected *{
  pointer-events: none;
}

.phx-modal {
  opacity: 1!important;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.phx-modal-content {
  background-color: #fefefe;
  margin: 15vh auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.phx-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.phx-modal-close:hover,
.phx-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* popover */
details[data-popover] {
  display: inline;
  position: relative;
}
details[data-popover] > summary:focus {
  outline: none;
}
details[data-popover] > summary::-webkit-details-marker {
  display: none;
}
details[data-popover] > summary {
  list-style: none;
  text-decoration: underline dotted teal;
}
details[data-popover] > summary + * {
  position: absolute;
  display: block;
  z-index: 1;
  width: 30rem;
  border: solid 1px teal;
  border-radius: 5%;
  padding: 10px;
  background: white;
}
details[data-popover] > * + * {
  /* hide detail elements that would ruin the popover */
  display: none;
}
details[data-popover="up"] > summary + * {
  bottom: calc(0.5rem + 100%);
  right: 50%;
  transform: translateX(50%);
}
details[data-popover="down"] > summary + * {
  top: calc(0.5rem + 100%);
  right: 50%;
  transform: translateX(50%);
}
details[data-popover="left"] > summary + * {
  right: calc(1rem + 100%);
  bottom: 50%;
  transform: translateY(50%);
}
details[data-popover="right"] > summary + * {
  left: calc(1rem + 100%);
  bottom: 50%;
  transform: translateY(50%);
}
