/*
Theme Name: HIRGC October TwentyTwo
Author: Erin Ringland
Author URI: fnhssm.com
Description;
Version: 1.0.0
*/

:root {
  --white: #fff;
  --lightGreen: #83DF7C;
  --yellow: #FFF480;
  --red: #EC4040;
  --magenta: #EC40C4;
  --lightBlue: #CEF5FF;
  --medBlue: #0044FF;
  --blue: #070790;
  --darkBlue: #0F0050;
  --lightGrey: #D7D7E2;
  --medGrey: #A0A0AE;
  --darkGrey: #2E2E3B;
  --black: #010117;
}

* {
  padding: 0;
  margin: 0;
}

html {
  font-size: 15px;
  line-height: 1.5;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: #2e2e2e;
  font-family: 'Noto Sans', sans-serif;
}

.none {
  display:none!important;
}

.center {
  text-align: center;
}

.break {
  flex-basis: 100%;
  height: 0;
}

/** ** ** ** ** ** ** ** General Styling ** ** ** ** ** ** ** **/
h1 {
  font-size: 30px;
  text-align: center;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 50px;
}

h2 {
  font-size: 25px;
  text-align: center;
  width: 100%;
  margin: 15px 0;
  line-height: 1;
  font-weight: 700;
}

h3 {
  font-size: 35px;
  text-align: center;
  margin: 50px 0 25px 0;
  line-height: 1;
}

h4 {
  font-size: 35px;
  border-bottom: 1px solid #000;
  text-align: center;
  margin: 50px 0 25px 0;
  line-height: 1;
}

p {
  margin: 20px 0;
}

blockquote {
  padding-left: 25px;
  border-left: 5px #474747 solid;
}

ul, ol {
  margin: 10px 0px 10px 25px;
}

li {
  margin-left: 30px;
	background: #000;
}

a {
  text-decoration: none;
  color: var(--red);
  font-style: normal;
}

a:hover {
  border-bottom: var(--red) 3px solid;
  color: var(--red);
}

.content-img {
  width: 90%;
  max-width: 500px;
  margin: auto;
  border: 5px solid #0f0e3a;
  text-align: center;
}

.img-link:hover {
  background: none;
}

hr {
  margin: 50px 0;
}

.btn-link-base, .button-primary {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;

  display: inline-block;
  padding: 10px 25px;
  border-radius: 3px;
  font-weight: 700;
  margin-bottom: 10px;
  font-style: normal;
  font-size: 16px;
  border: 0;
  text-align: center;
  height: 44px;
}

.btn-link-base:hover {
  cursor: pointer;
  border: 0;
}

.blue-btn {
  background: var(--blue);
  color: var(--white);
}

.blue-btn:hover {
  color: var(--white);
  background: var(--darkBlue);
}

.med-blue-btn {
  background: var(--medBlue);
  color: var(--white);
}

.med-blue-btn:hover {
  color: var(--white);
  background: var(--blue);
}

.dark-blue-btn {
  background: var(--darkBlue);
  color: var(--white);
}

.dark-blue-btn:hover {
  color: var(--white);
  background: var(--blue);
}

.grey-btn {
  background: var(--medGrey);
  color: var(--white);
}

.grey-btn:hover {
  color: var(--white);
  background: var(--darkGrey);
}

.disabled {
  background: var(--medGrey);
  color: #474747;
  cursor: not-allowed;
}

/** ** ** ** ** ** ** ** Top Navigation ** ** ** ** ** ** ** **/
header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px 20px;
  flex-wrap: wrap;
  margin: 20px auto 25px auto;
  line-height: 20px;
  width: 95%;
}

.site-logo {
  max-height: 50px;
}

.site-title {
  margin: auto;
  margin-top: 25px;
  font-size: 25px;
  font-weight: 700;
}

.site-title a {
  margin-left: -60px;
  color: var(--black);
  font-style: normal;
}

.site-title a:hover {
  background: none;
  color: var(--black);
  border-bottom: 0;
}

.open-menu-btn {
  border: 0;
  background-image: url('assets/imgs/HamburgerIcon.svg');
  background-color: transparent;
  height: 27px;
  width: 30px;
  background-size: cover;
  margin-top: 25px;
  margin-left: 25px;
}

.open-menu-btn:hover, .close-menu-btn:hover{
  cursor: pointer;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.header-divider {
  height: 3px;
  background-color: var(--lightGrey);
  width: 75%;
  margin-top: 25px;
}

/** ** ** ** ** ** ** ** Sidebar ** ** ** ** ** ** ** **/

.side-menu {
  background: var(--black);
  width: 100%;
  max-width: 275px;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 5;
}

.side-menu li {
  background: none;
  margin-left: 0;
}

.close-menu-btn {
  height: 26px;
  width: 21px;
  background-image: url('assets/imgs/CloseButton.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: 0;
  position: absolute;
  right: 0;
  padding: 20px;
  margin: 10px;
}

.side-nav {
  list-style: none;
  line-height: 20px;
  width: 80%;
  margin: 40px auto 0 auto;
}

.side-nav li a {
  display: inline-block;
  font-style: normal;
  text-decoration: none;
  width: 100%;
  padding: 15px 0 15px 10px;
  color: var(--white);
  border-bottom: 1px solid var(--darkGrey);
}

.side-nav li a:hover {
  background: var(--lightBlue);
  color: var(--black);
}

.bottom-links {
  width: 75%;
  font-size: 12px;
  margin-bottom: 25px;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -37.5%;
}

.bottom-links ul {
  margin: 0;
}

.bottom-links ul li {
  list-style: none;
  display: flex;
  width: 100%;
  align-items: center;
  margin-bottom: 10px;
}

.bottom-links a {
  width: 100%;
  padding: 10px 0px 10px 10px;
  font-style: normal;
  color: var(--white);
}

.bottom-links a:hover {
  background: var(--white);
  color: var(--black);
  border-bottom: 0;
}

.bottom-links ul li img {
  padding-right: 10px;
  width: 20px;
}

/** ** ** ** ** ** ** ** Content ** ** ** ** ** ** ** **/

/** ** ** ** General ** ** ** **/

.pagination ul {
  list-style: none;
  text-align: center;
  padding: 0;
  font-size: 0;
  margin: 0;
}

.pagination ul li{
  display: inline-block;
  margin-left: -1px;
  border: var(--medGrey) 1px solid;
  font-size: 14px;
}

.pagination a {
  color: var(--darkGrey);
  float: left;
  font-style: normal;
  padding: 15px 20px;
  text-decoration: none;
}

.pagination a.active {
  background-color: var(--yellow);
  color: var(--darkGrey);
}

.pagination a:hover:not(.active){
  background-color: var(--medGrey);
  border: 0;
  color: var(--white);
}

.pagination a:hover {
  border: 0;
}

.pagination .disabled {
  pointer-events: none;
  cursor: default;
  background: var(--lightGrey);
}

.pagination ul li:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: var(--medGrey) 1px solid;
}

.pagination ul li:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border: var(--medGrey) 1px solid;
}


/** ** ** ** Main Content Area ** ** ** **/

.content-area {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.main-content {
  padding: 10px;
  order: 2;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.main-content-col {
  width: 100%;
  max-width: 850px;
}

.side-content-col {
  width: 100%;
  max-width: 250px;
}

.side-content-col p {
  padding: 25px;
  margin: 0;
}

.tier {
  display: flex;
  flex-direction: column;
}

.tier > * {
  margin-bottom: 50px;
  width: -moz-available;          /* WebKit browsers ignore this. */
  width: -webkit-fill-available;  /* Mozilla browsers ignore this. */
  width: fill-available;
}

.section {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}

.section > * {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section .btn-link-base {
  padding: 10px 25px;
}

form .section h2 {
  flex-grow: 3;
  margin-top: 0;
  margin-bottom: 50px;
  flex-direction: row;
  justify-content: center;
  gap: 0;
}

.section p {
  margin: 0;
}

.section .section-description {
  margin-bottom: 50px;
}

.section fieldset {
  border: 0;
  width: 100%;
  margin-bottom: 30px;
}

.section fieldset label {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  gap: 15px 0;
  width: 100%;
  max-width: 850px;
}

.section fieldset label .radio, .section fieldset label .list {
  flex-direction: row;
  align-items: center;
  margin-bottom: 0;
}

.section fieldset label .radio span, .section fieldset label .list span {
  margin-bottom: 0;
  margin-left: 10px;
}

.section label .question {
  display: inline-block;
  text-align: left;
  width: 100%;
  line-height: 22px;
  font-weight: 700;
} 

.section textarea, .section select, .section input[type=text], .section input[type=date], .section input[type=email], .section input[type=password] .section input[type=number] {
  width: -moz-available;          /* WebKit browsers ignore this. */
  width: -webkit-fill-available;  /* Mozilla browsers ignore this. */
  width: fill-available;
}

.section textarea {
  font-size: 15px;
  font-family: 'Noto Sans', sans-serif;
}

.section select {
  width: 100%;
}

.section input[type=file] {
  display: none;
}

.section select::placeholder, .section input::placeholder {
  color: var(--darkGrey);
  font-style: italic;
}

.section input[type=radio], .section input[type=checkbox] {
  display: inline-block;
  margin-right: 10px;
}

.section .list, .section .radio {
  width: 100%;
}

.section .radio, .section .list {
  display: inline-block;
  width: 100%;
  padding-bottom: 10px;
}

.section .table {
  display: table;
  max-width: 800px;
  margin: auto;
}

.section .error-msg {
  font-size: 13px;
  border-radius: 5px;
  padding: 15px;
  border: 2px var(--lightGrey) solid;
  text-align: center;
  max-width: 525px;
  margin: auto;
  display: block;
  gap: 0;
}

.two-column > * span {
  text-align: center;
  font-weight: 400;
}

/** ** ** ** Table Displays ** ** ** **/

.table {
  width: 100%;
  border-collapse: collapse;
}

/** ** ** ** Small Info Displays ** ** ** **/

.small-info {
  border-collapse: collapse;
  border: 1px solid var(--lightGrey);
}

.small-info tr:first-child {
  border-bottom: 1px solid var(--lightGrey);
}

.small-info tr td:first-child, .small-info tr th:first-child  {
  border-right: 1px solid var(--lightGrey);
}

.small-info td {
  padding: 5px 15px;
}

/** ** ** ** Information Display ** ** ** **/

.information tbody {
  width: 100%;
  max-width: none;
}

.information tr {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 25px;
}

.information tr td:first-child {
  font-weight: 700;
}

/** ** ** ** Overview Display ** ** ** **/

.overview {
  font-size: 14px;
}

.mobile-sorting {
  width: 100%;
  padding: 10px 15px;
  margin: 25px 0;
}

.overview tr {
  border-bottom: 2px solid var(--lightGrey);
}

.overview tr > td {
  padding: 10px 0;
}

.overview td[data-mobile="hidden"] {
  display: none;
}

.overview thead {
  display: none;
}  

.overview td {
  display: flex;
}

.overview td::before {
  content: attr(label);
  font-weight: bold;
  width: 75px;
}

/** ** ** ** Review Display ** ** ** **/

.general-content{
  display: flex;
  flex-direction: column;
}

.download-aside :last-child {
  margin-bottom: 0;
}

#review-content-area {
  flex-direction: column;
  grid-gap: 0px;
}

#review-content-area .frame {
  /* background: #FFF480; */
  height: 500px;
  border: 2px solid var(--lightGrey);
  border-radius: 5px;
  overflow: scroll;
  overflow-x: hidden;
}

/** ** ** ** Sub-navigation ** ** ** **/

.sub-nav {
  width:100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto 50px auto;
}

.sub-nav .mobile-toogle {
  background: var(--medGrey);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid var(--darkGrey);
}

.closed-btn { border-radius: 5px; }
.open-btn { border-radius: 5px 5px 0 0; }

.sub-nav .link-area {
  padding: 10px;
  border: 1px solid var(--lightGrey);
}

.sub-nav .mobile-toogle h1 {
  text-align: left;
  font-size: 25px;
  margin-bottom: 0;
  font-weight: 700;
}

.sub-nav .link-area h1 {
  display: none;  
  font-size: 25px;
  margin-bottom: 0;
}

.sub-nav .view-toggle {
  display: none;
}

.sub-nav ul {
  list-style: none;
  margin: 0;
}

.sub-nav a {
  display: block;
  text-align: left;
  text-decoration: underline;
  color: var(--red);
  padding: 10px 0px 10px 10px;
  font-style: normal;
}

.sub-nav a:active {  
  background: var(--red);
  color: var(--white);
}

.sub-nav a:hover {
  border-bottom: 0;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

.arrow {
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

.up-arrow {
  border-top: 0;
  border-bottom: 10px solid var(--black);
}

.down-arrow {
  border-bottom: 0;
  border-top: 10px solid var(--black);
}

/** ** ** ** Text and Button Grouping ** ** ** **/

/** ** ** ** Coloumns ** ** ** **/

.text-btn-group {
  gap: 0;
}

.btn-group {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  gap: 0;
}

.section-col {
  flex-direction: column;
  justify-content: center;
  gap: 0 20px;
}

/** ** ** ** Submitted Application Questions Display ** ** ** **/

.application-questions-display {
  display: none;
}

/** ** ** ** Statuses ** ** ** **/

#change-status {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

#change-status form {
  width: 100%;
}

#change-status form > * {
  width: 100%;  
  box-sizing: border-box;
  margin-bottom: 25px;
}

#change-status form label {
  font-weight: 700;
}

.status-legend {
  width: calc(275px - 20px); /** the subtracting number is the current padding **/
  margin: auto;
  border: 1px solid var(--lightGrey);
  border-radius: 5px;
  padding: 10px;
}

.status-legend h1 {
  margin: 10px 0;
  font-weight: 700;
  font-size: 20px;
}

.status-legend ul {
  list-style: none;
  font-size: 14px;
}

.status-legend ul li {
  display: flex;
  align-items: center;
}

.status-legend ul li .status-icon {
  margin: 5px 10px 5px 0;
}

.status-badge {
  width: fit-content;
  padding: 2px;
  border-radius: 25px;
  background-repeat: no-repeat;
  background-position: 9px center;
  margin: 5px 0;
}

.status-badge p {
  margin: 0 10px 0 25px;
  font-size: 12px;
  font-weight: 700;
}

.status-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.approved {
  background-image: url("assets/imgs/LegendCircle.svg");
  background-color: var(--lightGreen);
  color: var(--white);
}

.approved-conditions {
  background-image: url("assets/imgs/LegendO.svg");
  background-color: var(--yellow);
}

.awaiting {
  background-image: url("assets/imgs/LegendDiamond.svg");
  background-color: var(--lightBlue);
}

.screening-approved {
  color: var(--white);
  background-image: url("assets/imgs/LegendSquare.svg");
  background-color: var(--darkBlue);
}

.rejected {
  color: var(--white);
  background-image: url("assets/imgs/LegendX.svg");
  background-color: var(--red);
}

.revoked {
  color: var(--white);
  background-image: url("assets/imgs/LegendHashtag.svg");
  background-color: var(--magenta);
}

/** ** ** ** Single Posts ** ** ** **/

.post-info {
  width: 100%;
  text-align: center;
  display: block;
}

/** ** ** ** Single Pages ** ** ** **/

/** ** ** ** Comments ** ** ** **/

.comments-title{
  font-size: 30px;
}

.section .comment-form {
  width: 100%;
  flex-grow: 4;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}

.comment-form textarea {
  width: -moz-available;          /* WebKit browsers ignore this. */
  width: -webkit-fill-available;  /* Mozilla browsers ignore this. */
  width: fill-available;
  padding: 5px;
  min-height: 100px;
}

.section .comments-area {
  flex-grow: 2;
  display: flex;
  max-width: 800px;
  flex-direction: column;
}

.comments-area {
  list-style-type: none;
  margin: 0;
}

.comments-area li {
  border: 1px solid var(--medGrey);
  padding: 20px;
  margin-bottom: 25px;
}

.comments-area .comment-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.comments-area .comment-info {
  font-weight: 700;
  padding-bottom: 15px;
}

.comment-details > * {
  margin: 0;
}

.comment-author-name {
  font-size: 18px;
}

.comment-form input[type=submit]  {
  width: 100%;
  margin: 20px 0;
}

/** ** ** ** Post Prev/Next Navigation ** ** ** **/

.prev-next-links, .prev-next-links-grandchildren .nav-links {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
}

.prev-next-links > *{
  padding: 10px;
}

.meta-nav {
  font-weight: 700;
}

/** ** ** ** ** ** ** ** Search ** ** ** ** ** ** ** **/
.search-form {
  width: 100%;
}

.search-input {
  width: 95%;
  margin: 15px auto;
  max-width: 500px;
  padding: 10px 0 10px 10px;
}

/** ** ** ** ** ** ** ** Form Elements ** ** ** ** ** ** ** **/

form h2{
  margin-top: 25px!important;
}

.grouping {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  align-content: center;
  justify-content: space-between;
  gap: 15px;
}

.grouping .grouping-info {
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  font-style: italic;
  margin: 0;
  width: 100%;
  max-width: none;
}

.grouping span {
  text-align: left;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 700;
}

.grouping .full, .grouping .half, .grouping .one-quater, .grouping .three-quater {
  width: 100%;
}

.select-upload {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section input[type=text].grouping_input {
  width: calc(100% - 32px);
}

.two-column .grouping_input {
  width: 100%;
}

input[type=checkbox] option {
  display: inline-block;
  text-align: right;
  max-width: 200px;
  width: 25%;
  line-height: 14px;
  margin-right: 20px;
}

.required-error {
  border: 1px solid red !important;
}

.buttons-block {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  text-align: center;
  margin: auto;
  justify-content: center;
  border: 0;
}

.buttons-block > * {
  width: 100%;
  max-width: 215px;
  margin-bottom: 0;
}

.buttons-block input[type=submit] {
  width: 100%;
  font-size: 17px;
} 

.form-page-indicator ul {
  list-style: none;
  text-align: center;
  padding: 0;
  font-size: 0;
  margin: 50px 0;
}

.form-page-indicator ul li{
  display: inline-block;
  font-size: 14px;
  background: none;
  margin-left: 0;
}

.form-page-indicator div {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  margin: 5px 10px;
}

.indicator {
  background: var(--lightGrey);
  border: 5px solid var(--medGrey);
}

.active-indicator {
  background: var(--yellow);
  border: 5px solid var(--yellow);
}

textarea, select, input[type=text], input[type=date], input[type=email], input[type=password],input[type=number] {
  border: 1px solid var(--medGrey);
  padding: 15px;
  border-radius: 3px;
  background: var(--white);
}

#upload-btn {
  width: calc(100% - 50px);
  max-width: 500px;
  text-align: center;
  display: block;
  height: 27px;
}

.section fieldset .form-file-upload {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}


/** ** ** ** ** Duplicating Entries ** ** ** ** **/
/** Functionality not working at the moment - work on plugin first **/

/*
#duplicate-btn-area {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-flow: column;
}

.grouping .sub-group .item-duplicate {
  margin-top: 15px;
}

.add-item, #deleteBtn {
  width: calc(100% - 50px);
  text-align: center;
} 

.grouping .sub-group .reb-check span {
  display: inline;
  margin-left: 10px;
}

.grouping .sub-group .reb-select span, .grouping .sub-group .other-reb-info span{
  margin-top: 15px;
}
*/

/** ** ** ** ** ** ** ** Footer ** ** ** ** ** ** ** **/

footer {
  background: var(--darkGrey);
  text-align: center;
  padding: 20px;
  color: #fff;
  font-size: 16px;
}

footer p {
  margin: auto;
  text-align: center;
}

footer a {
  font-style: italic;
  color: var(--yellow);
}

footer a:hover {
  border-bottom: 2px solid var(--yellow);  
  background: none;
  color: var(--yellow);
}

/** ** ** ** ** ** ** ** WP Reset ** ** ** ** ** ** ** **/

.wp-block-image {
  margin: 0;
  text-align: center;
}

/** ** ** ** ** ** ** ** Media Queries ** ** ** ** ** ** ** **/

/** ** ** ** ** Mobile ** ** ** ** **/

@media only screen and (min-width: 650px) {
  /****** General Styling ******/
  h1 {
    font-size: 40px;
    line-height: 40px;
  }
  h2 {
    font-size: 23px;
    text-align: left;
    display: flex;
    align-items: center;
    margin-bottom: 35px;
  }
  h2:after {
    content: '';
    border-top: 2px solid var(--lightGrey);
    margin: 0 20px 0 0;
    flex: 1 0 20px;
  }
  h2:after {
    margin: 0 0 0 10px;
  }

  /****** Content Area ******/
  .main-content {
    padding: 25px;
  }
  /****** Text and Button Group ******/
  .section-col {
    flex-direction: column;
  }
  .section-col .btn-group {
    flex-direction: row;
    gap: 0 20px;
    justify-content: center;
  }
  .section .fileUpload {
    flex-direction: row;
  }
  /****** Comments ******/
  .comment-form p {
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
  }
  .comment-form label {
    width: 25%;
  }
  .comment-form-cookies-consent label {
    width: 95%;
    background: none;
  }
  .comment-form-cookies-consent input {
    width: 5%;
  }
  /****** Form Elements ******/
  .two-column .click-choice span {
    margin-left: 10px;
    width: 100%;
  }

  /****** Sidebar Styling ******/
  .sidebar {
    max-width: 190px;
    /* Orginally 230px*/
    padding: 20px;
    width: 25%;
  }
  .side-menu {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
  }

  /****** Application Review Page ******/
  .general-content {
    flex-direction: row;
    align-items: center;
  }
}

@media only screen and (min-width: 600px) {
  /****** Side Nav ******/
  .sub-nav {
    max-width: calc(300px - 10px); /** the subtracting number is the current padding-right **/
  }
}

@media only screen and (min-width: 700px) {
  /****** General ******/
  blockquote, .section blockquote {
    max-width: 500px;
  }
  .page-content {
    flex-direction: row;
  }
}
/** ** ** ** ** Tablet ** ** ** ** **/

@media only screen and (min-width: 850px) {
  /****** Header ******/
  .site-title a {
    font-size: 35px;
  }
  /****** Content Area ******/
  .content-area {
    /* flex-wrap:nowrap; */
    width: 100%;
  }
  #navWindow {
    background: rgba(151, 151, 167, 0.5);
    height: 100vmax;
    width: 100vmax;
    position: fixed;
    top: 0;
    left: 0;
  }
  .main-content {
    width: 95%;
  }
  .main-content ul {
    display: block;
    margin-bottom: 25px;
  }
  .main-content ul li {
    max-width: none;
    line-height: 2;
  }
  .tier {
    flex-direction: row;
    gap: 50px;
  }
  .tier .sub-nav {
    order: 2;
  }

  .section .two-elements {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }
  .section > * {
    flex-direction: column;
    justify-content: center;
    gap: 50px;
  }
  .section > * > * {
    max-width: 400px;
  }
  .sub-nav .view-toggle {
    display: block;
  }
  /****** Forms ******/
  form .buttons-block {
    gap: 20px;
    max-width: 600px;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 50px;
  }
  .section .buttons-block a {
    max-width: 215px;
  }
  .section .radio, .section .list {
    padding-bottom: 0;
  }
  .two-column fieldset label {
    flex-direction: row;
    max-width: 800px;
    gap: 20px;
    width: 100%;
  }
  .two-column fieldset .question {
    max-width: 250px;
    text-align: right;
  }
  /****** Text and Button Group ******/
  .text-btn-group {
    gap: 0;
  }
  .section-col {
    flex-direction: column;
    flex-grow: 2;
    justify-content: center;
    align-items: center;
  }
  /****** Side Nav ******/
  .sub-nav {
    border-radius: 5px;
    max-width: 25%;
  }
  .sub-nav .mobile-toogle {
    display: none;
  }
  .sub-nav .link-area h1 {
    display: block;
    font-size: 23px;
    margin-bottom: 10px;
  }
  .sub-nav a {
    padding: 5px;
    text-align: right;
    font-size: 13px;
  }
  /****** Submitted Application Questions Display ******/
  .application-questions-display {
    display: block;
    overflow-y: scroll;
    height: 550px;
    width: calc(100% - 40px); /** the number subtracting from 100% must be double the current padding number **/
    border: 2px solid var(--medGrey);
    border-radius: 5px;
    padding: 20px;
  }
  .application-questions-display h1 {
    font-size: 25px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0;
    line-height: 25px;
  }
  .application-questions-display h2 {
    font-size: 20px;
    text-align: left;
    margin: 0;
    font-style: italic;
  }
  .application-questions-display h2:after {
    content: '';
    border-top: 0;
    margin: 0 ;
    flex: 0;
  }
  .application-questions-display h2:after {
    margin: 0;
  }
  .application-questions-display p {
    margin-bottom: 40px;
  }
  /****** Form Area ******/
  .pagination a {
    padding: 15px 20px;
  }
  .prev-next-links, .prev-next-links-grandchildren .nav-links {
    flex-direction: row;
  }
  .two-column .grouping {
    max-width: 581px;
  }
  .grouping .sub-group span {
    margin-bottom: 0px;
  }
  .grouping .half {
    width: 48%;
  }
  .grouping .duplicate {
    height: auto;
  }
  .select-upload {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
  }
  .select-upload select {
    width: 48%;
  }
  .select-upload #upload {
    width: 48%;
    height: 48px;
  }
  .grouping .one-quater {
    width: 23%;
  }
  .grouping .three-quater {
    width: 73%;
  }
  /*** Comments ***/
  .section .comment-form {
    margin-bottom: 0;
    flex-direction: row;
    gap: 25px;
  }
  .comment-form input[type="submit"] {
    width: 40%;
  }
  /*** Tables Displays ***/
  .mobile-sorting {
    display: none;
  }
  .table tr, .information tr {
    flex-direction: row;
  }
  .overview thead {
    border-bottom: 3px solid var(--medGrey);
    display: table-row-group;
    width: 100%;
  }  
  .overview thead > tr > th {
    padding-bottom: 10px;
  }
  .overview thead > tr > th:hover {
    cursor: pointer;
  }
  th a,
  td a { 
    color: var(--medGrey);
    font-style: normal;
    width: 90%;
  }
  th a:hover,
  td a:hover { 
    border-bottom: 0;
    color: var(--medGrey);
  }
  th a.sort-by { 
    padding-right: 18px;
    position: relative;
  }
  a.sort-by:before,
  a.sort-by:after {
    border: 4px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 5px;
    top: 50%;
    position: absolute;
    width: 0;
  }
  a.sort-by:before {
    border-bottom-color: var(--lightGrey);
    margin-top: -9px;
  }
  a.sort-by:after {
    border-top-color: var(--lightGrey);
    margin-top: 1px;
  }
  a.sort-asc:before {
    border-bottom-color: var(--red);
  }
  a.sort-desc:after {
    border-top-color: var(--red);
  }
  .overview tr * {
    text-align: center;
  }
  .overview td {
    display: table-cell;
  }
  .overview td[data-mobile="hidden"] {
    display: block;
  }
  .overview td::before {
    content: "";
  }
  /*** Information Displays ***/
  .information > * tr td:first-child {
    min-width: 190px;
    margin-right: 10px;
  }
  .information > * tr td:last-child {
    width: 75%;
  }
  .section fieldset .form-file-upload {
    flex-direction: row;
  }

}

/** ** ** ** ** Desktop ** ** ** ** **/

@media only screen and (min-width: 950px) {
  .content-area {
    width: 100%;
    max-width: 900px;
  }
}
