/*!
 * Media v1.0
 * Created: 10/21/2020
 */
@media (min-width: 1200px) {
  header .container {
    padding: 10px 30px;
  }
  .container {
    max-width: 1240px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .footer .container {
    padding: 0 30px;
  }
}
@media (min-width: 992px) {
  .lea-reportcards.card-group .card.district-certified .card-body .table-submission-title,
  .lea-reportcards.card-group .card.card.irc-certified .card-body .table-submission-title {
    padding-left: 2rem;
  }
  .navbar-dark .navbar-nav {
    margin-left: calc(1.5rem - 8px);
  }
  .footer-copy div:first-child {
    text-align: left;
  }
  .footer-copy div:last-child {
    text-align: right;
  }
  .mobile-menu {
    /*border-right: 2px solid rgba(255, 255, 255, 0.75);*/
    /*margin-top: 10px;
    margin-bottom: 10px;*/
  }
  .navbar-brand {
    /*margin-right: 1.5rem;*/
    margin-right: 0;
  }
}
@media (max-width: 1199px) {
  header .container {
    padding: 10px 15px;
  }
  .footer h6 + .navbar-nav {
    margin-bottom: 1rem;
  }
}
@media (max-width: 991px) {
  header nav.navbar .container {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .navbar-collapse {
    margin-top: 0.5rem;
  }
  .navbar-nav > li:not(:first-child) {
    border-top: 1px solid #5840b8;
  }
  .navbar-nav.mobile-menu-items > li {
    font-size: 1.5rem;
    text-align: center;
  }
  .mobile-menu {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .footer h6 + .navbar-nav {
    margin-bottom: 1rem;
  }
  .lea-reportcards.card-group > .card {
    flex: 0 0 50%;
  }
  body nav.navbar a.navbar-brand span:nth-child(2) {
    font-size: 1.25rem;
  }
}
@media (max-width: 800px) {
  .card-group > .card {
    margin-bottom: 0px;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  .dropdown-menu {
    box-shadow: 0 0.25rem 0.75rem rgba(50, 50, 150, 0.4);
  }
}
@media (max-width: 767.95px) {
  .h1-group {
    text-align: center;
  }
  header .container {
    padding: 0;
    max-width: 100%;
  }
  header nav.navbar .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .container {
    max-width: 95%;
  }
  .breadcrumb, body nav.navbar {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  header button.navbar-toggler {
    margin-left: 14px;
    outline-color: transparent;
  }
  header button.navbar-toggler:focus {
    background-color: #2B1B69;
  }
  /* fix for aligning menu and brand text on mobile */
  .navbar {
    display: block;
  }
  .navbar .mobile-menu {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .navbar .navbar-toggler {
    display: inline-block;
  }
  .navbar .navbar-brand {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    /*margin-left: 10px;*/
  }
  .navbar .navbar-brand .navbar-text {
    padding: 0;
  }
  .navbar .navbar-collapse {
    /*padding-left: 13.5px;*/
  }
  .navbar .dropdown-menu {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }
  .navbar .dropdown-menu div.dropdown-content {
    background-color: transparent;
    padding-left: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .navbar .dropdown-menu div.dropdown-content .group-links.dropdown-item {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .navbar .dropdown-item, .navbar .group-links a.nav-link {
    font-size: 100% !important;
  }
  .nav-link.link-level-1 {
    font-size: 140%;
    padding-left: 10px;
  }
}
@media only screen and (max-width: 700px) {
  .lea-reportcards.card-group > .card {
    flex: 0 0 100%;
  }
  .blank-card, .blank-card.blank-card-2-col {
    display: none !important;
  }
  .report-card-group-spacer ~ div.card.lea-report-card {
    /*margin-top: 0 !important;*/
  }
  .card-group-sorted-cards .card.lea-report-card.lea-report-card-identifier:not(:first-child) {
    margin-top: 1.5rem;
  }
  .card-group-sorted-cards .report-card-group-spacer {
    display: none !important;
  }
  .district-card-group-title {
    text-align: center;
  }
}
@media (max-width: 640px) {
  body .snackbar-container {
    border-radius: 0;
  }
}
@media only screen and (min-width: 991.95px) {
  .card.lea-report-card.blank-card.blank-card-2-col {
    display: none;
  }
}
/* State and county stats split into two columns when viewport is 
 * between below range. */
@media only screen and (min-width: 576.95px) and (max-width: 991px) {
  .report-card-group.state-total .card {
    border-left: 1px solid rgba(0, 0, 0, 0.125);
  }
  .county-card-group > .card + .card {
    border-left: 1px solid rgba(0, 0, 0, 0.125);
  }
  .county-card-group .card:nth-child(5) {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0.25rem;
  }
  .county-card-group .card:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0.25rem;
  }
  .county-card-group.card-group-count-5 .card:last-child {
    border-bottom-left-radius: 0.25rem;
  }
  .county-card-group.card-group-count-5 .card:nth-last-child(2) {
    border-bottom-right-radius: 0.25rem;
  }
  #additional-county-numbers.card-group > .card + .card {
    border-left: 1px solid rgba(0, 0, 0, 0.125);
  }
  #additional-county-numbers.card-group > .card:nth-last-child(2) {
    border-bottom-right-radius: 0.25rem;
  }
  #additional-county-numbers.card-group > .card:last-child {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  #additional-county-numbers.card-group.card-group-count-4 > .card:nth-last-child(2) {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0.25rem;
  }
  #additional-county-numbers.card-group.card-group-count-4 > .card:last-child {
    border-bottom-left-radius: 0;
  }
  .card-group > .card {
    flex: none;
    width: 50%;
    border-radius: 0;
  }
  .card-group > .card:first-child {
    border-top-left-radius: 0.25rem;
  }
  .card-group > .card:nth-child(2) {
    border-top-right-radius: 0.25rem;
  }
  .report-card-group.state-total .card {
    border-radius: 0;
  }
  .report-card-group.state-total .card:first-child {
    border-top-left-radius: 0.25rem;
  }
  .report-card-group.state-total .card:nth-child(2) {
    border-top-right-radius: 0.25rem;
  }
  .report-card-group.state-total .card:nth-last-child(2) {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0;
  }
  .report-card-group.state-total .card:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0.25rem;
  }
  /* hide some blank cards */
  .blank-card-last-child, .blank-card {
    display: none;
  }
  /* show blank cards for those that need them */
  .blank-card.blank-card-2-col {
    display: flex;
    border-radius: 4px !important;
    border-right: 1px solid #dadada !important;
  }
  .card-group-sorted-cards .card.lea-report-card.lea-report-card-identifier:not(:first-child, :nth-child(2)) {
    margin-top: 1.5rem;
  }
  .card-group-sorted-cards .report-card-group-spacer {
    display: none !important;
  }
}
@media (min-width: 1000px) {
  .report-card-group {
    border-radius: 0.25rem;
    /* fixes tiny gap between cards and box shadow */
    margin-left: -1px;
  }
  .report-card-group.state-total {
    margin-left: -2px;
  }
  .report-card-group:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(50, 50, 150, 0.4);
  }
  .submission-header + .card-body {
    font-size: 130%;
  }
}
@media only screen and (max-width: 575px) {
  html {
    font-size: 16px;
  }
  body h1 {
    font-size: 2.125rem;
  }
  body h2, body h3 {
    font-size: 1.3rem;
  }
  body h4, body h5, body h6 {
    font-size: 1.125rem;
  }
  body .report-date-as-of.county-page {
    box-shadow: none;
    border: 0;
  }
  body nav.navbar a.navbar-brand span:nth-child(2) {
    font-size: 1.125rem;
  }
  small {
    font-size: 100%;
  }
  /* Change back to top button for mobile users */
  .back-to-top {
    font-size: 16px;
    border-radius: 16px;
    padding: 3px 10px;
  }
  .back-to-top:before {
    content: "\f062";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
  }
  .card-group.county-report-card {
    display: block;
  }
  /* State and county stats split into two columns when viewport is 
   * between below range. */
  .card-group {
    /*display: unset;*/
  }
  .card-group > .card {
    border-radius: 0;
  }
  .card-group > .card:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }
  .card-group > .card:nth-child(2) {
    /*border-top-right-radius: 0;*/ /* 0.25rem; */
  }
  .card-group > .card:last-child {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
}
@media (max-width: 478px) {
  body div.mobile-menu a.navbar-brand {
    margin-right: 0;
    margin-left: 0;
  }
}
@media (max-width: 800px) {
  html body small {
    font-size: 100%;
  }
  html body .serif-text {
    /*font-size: 1.125rem;*/
  }
}
/* larger text for some phones */
@media (max-width: 400px) {
  .table-submission-title {
    font-size: 1rem;
  }
  body .card.lea-report-card.district-certified .card-body h6.table-submission-title, body .card.lea-report-card.irc-certified .card-body h6.table-submission-title {
    padding-left: 1.65rem;
  }
  div.search-by-keywords button, div.search-by-keywords a.btn, div.search-by-keywords a:link.btn-primary {
    padding: 4px 8px;
    font-size: 0.96rem;
  }
  body input#container-search {
    font-size: 1rem;
    font-size: 1rem;
    padding: 8px;
  }
  body #btn-search-container.btn.btn-primary {
    font-size: 1rem;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (min-width: 560px) {
  #login-form {
    width: 500px;
  }
}