/*!
Theme Name:             Entry Reports
Theme URI:              https://stormbox.com.au
Version:                1.0.0
Author:                 Stormbox
Author URI:             https://stormbox.com.au
Description:            Retrieve Gravity Forms entry data from remote websites.
License:                Proprietary
License URI:            https://stormbox.com.au
*/
.loading {
  display: none;
  place-items: center;
}
.loading .loader {
  width: -moz-fit-content;
  width: fit-content;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 30px;
  padding-bottom: 8px;
  background: linear-gradient(currentColor 0 0) 0 100%/0% 3px no-repeat;
  animation: line 2s linear infinite;
}
.loading .loader:before {
  content: "Loading Forms...";
}

.entry-loader {
  display: none;
  place-items: center;
}
.entry-loader .loader {
  width: -moz-fit-content;
  width: fit-content;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 30px;
  padding-bottom: 8px;
  background: linear-gradient(currentColor 0 0) 0 100%/0% 3px no-repeat;
  animation: line 2s linear infinite;
}
.entry-loader .loader:before {
  content: "Loading Entries...";
}

@keyframes line {
  to {
    background-size: 100% 3px;
  }
}
#header img {
  height: 30px;
  width: auto;
}

#main {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

#login-wrapper .form-group {
  position: relative;
}
#login-wrapper .form-group .field-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.3);
}

#footer {
  width: 100%;
}

@media screen and (max-width: 968px) {
  table {
    border: 0;
    margin-top: 20px;
  }
  table caption {
    font-size: 1.3em;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    font-size: 0.8em;
    text-align: right;
  }
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table td:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 768px) {
  .nav-tabs {
    flex-direction: column;
  }
  .nav-tabs .nav-item {
    width: 100%;
  }
  .nav-tabs .nav-item .nav-link {
    text-align: center;
  }
  .nav-tabs .nav-item .nav-link.active {
    border: 1px solid var(--bs-nav-link-color);
    border-radius: var(--bs-nav-tabs-border-radius);
  }
}
@media (max-width: 768px) {
  #siteSelectWrapper select, #siteSelectWrapper input {
    margin-bottom: 10px;
  }
}
h1 {
  font-size: 2rem;
}
h1 a {
  gap: 0.25rem;
  color: var(--bs-nav-link-color);
}

@media screen and (min-width: 768px) {
  .charts-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* Adjust the gap between charts as needed */
  }
}
.chart-container {
  box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.chart-wrapper {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

@media print {
  /* Set A4 size */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  @page {
    size: A4;
    margin: 0;
  }
  /* Set content to fill the entire A4 page */
  html,
  body {
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
  }
  /* Style content with shaded background */
  .content {
    width: 80%;
    /* Adjust the width as needed */
    height: 80%;
    /* Adjust the height as needed*/
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    /* Light gray shade */
  }
  #header {
    justify-content: center !important;
  }
  #header div:last-child {
    display: none !important;
  }
  #siteSelectWrapper {
    margin-bottom: 0 !important;
  }
  #siteSelectWrapper div {
    width: 100%;
  }
  #siteSelectWrapper div:last-child {
    display: none !important;
  }
  #siteSelectWrapper #siteSelect {
    border: none;
  }
  #formsNav {
    border: none;
  }
  #formsNav .nav-item .nav-link {
    display: none;
  }
  #formsNav .nav-item .nav-link.active {
    display: block;
    border: none;
  }
  #exportEntries {
    display: none !important;
  }
  table {
    border: 0;
    margin-top: 20px;
  }
  table caption {
    font-size: 1.3em;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    display: block;
    font-size: 0.8em;
    text-align: right;
  }
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table td:last-child {
    border-bottom: 0;
  }
  #entryCharts {
    grid-template-columns: repeat(2, 1fr);
  }
  img, canvas {
    page-break-before: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
    page-break-after: auto; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
    page-break-inside: avoid; /* or 'auto' */
  }
}/*# sourceMappingURL=style.css.map */