/* Font & Color Styles ----------------------------------*/

body {
  font-family: 'Montserrat', sans-serif;
}

.site-inner,
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 20px;
}

h1 {
  text-transform: uppercase;
  font-weight: 600;
}

h4 {
  font-weight: 700;
}

a {
	color: #003058;
}

a:hover {
	color: #000;
}

::focus {
	outline: 1;
}

/* Page Content Styles ---------------------------*/

.resource-content {
  display: flex;
  flex-direction: row;
}

.resource-boxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.resource-boxes .resource-item {
  flex: 1 1 50%;
  padding: 30px;
  text-align: center;
}

.resource-item h3 {
  padding-top: 20px;
}

.resource-item img {
  max-width: 200px;
}

.transparent-button-black {
  background: transparent;
  border: 2px solid #003058;
  color: #000;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 700;
  transition-duration: 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  font-style: normal;
}

.transparent-button-black:hover {
  background: #003058;
  color: #fff;
  text-decoration: none;
}

.byline {
  padding-top: 70px;
  text-align: center;
  font-size: 14px;
}

#footer {
  text-align: center;
}

.footer-inner {
  text-align: center;
}

/* Filter & Edit Form Styles ---------------------------------------------*/

.resource-form {
  flex: 0 0 265px;
  margin-right: 25px;
}

form {
  background: #003058;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.single-button-form form {
  padding: 0px;
  margin-bottom: 0px;
  background: transparent;
  text-align: center;
}

.single-button-form form input[type='submit'] {
  align-self: center;
}

.single-button-form form input[type='submit']:hover {
  color: #000;
}

form h4 {
  margin-top: 30px;
}

form > div {
  margin: 5px 10px 5px 0px;
}

.field-choice {
  display: flex;
}

.edit-form .row > .field-choice {
  flex-direction: column;
}

form legend {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.resource-form form legend::after {
  content: '\f107';
  color: #fff;
  font-family: 'Font Awesome 5 Pro';
  position: absolute;
  right: 0px;
  font-weight: 900;
}

form legend.filter-open::after {
  content: '\f106';
}

form label {
  font-size: 14px;
}

form input[type=checkbox],
form input[type=radio]  {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  border: 1px solid #fff;
  position: relative;
  margin-right: 5px;
}

form input[type=radio] {
  border-radius: 50%;
}

form input[type=radio]:checked {
  background: #fff;
}

form input[type=checkbox]:checked:after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Pro';
  color: #fff;
  font-size: 15px;
  position: absolute;
  top: 0px;
  left: 0px;
  line-height: 15px;
  font-weight: 900;
}

.multicol {
  column-count: 2;
}

.tag-boxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.tag-boxes .resource-field {
  flex: 0 0 25%;
  padding: 20px 20px 20px 0px;
}

.edit-form form input[type='submit'] {
  margin-top: 20px;
}

form input[type='submit'] {
  align-self: flex-start;
  background: #FE9920;
  border: 2px solid #FE9920;
  color: #000;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 700;
  transition-duration: 0.3s;
  text-decoration: none;
}

form input[name=Reset] {
  background: transparent;
  border: 2px solid #FE9920;
  color: #FE9920;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 700;
  transition-duration: 0.3s;
}

form input[type='submit']:hover {
  background: transparent;
  color: #FE9920;
  transition-duration: 0.3s;
  text-decoration: none;
  cursor: pointer;
}

form input[name=Reset]:hover {
  background: #FE9920;
  color: #000;
  transition-duration: 0.3s;
}

.edit-link a {
  color: #fff;
  font-size: 14px;
  font-style: italic;
}

form input[type='submit'].transparent-button {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 1px 30px;
  margin-top: 0px;
  background: transparent;
}

form input[type='submit'].transparent-button:hover {
  text-decoration: none;
  background: #fff;
  color: #000;
}

.hidden {
  position: absolute;
  clip: rect(0,0,0,0);
}

/* Table Styles -----------------------------------------*/

table {
  width: 100%;
}

.drop-table:hover .table-item {
  color: #567799;
  text-decoration: underline;
  cursor: pointer;
}

.drop-table.collapsed:before .table-item {
  color: #567799;
  text-decoration: underline;
  cursor: pointer;
}

.table-row {
  border-top: 1px solid #567799;
}

.table-item {
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.drop-table-header {
  padding-top: 5px;
  padding-bottom: 5px;
}

.more_info {
  font-size: 14px;
  margin-left: 2em;
  margin-bottom: 8px;
}

.more_info a {
  font-size: 14px;
  color: #567799;
  text-decoration: underline;
  cursor: pointer;
}

.table-wrap {
  flex: 1 1 auto;
}

.table-wrap .row {
  margin-left: 0px;
  margin-right: 0px;
}

.no-results {
	text-align: center;
	font-size: 14px;
}

table.records-table tbody th {
  word-break: break-all;
  font-size: 12px;
  font-weight: 400;
}

.records-table tbody tr:nth-child(odd) {
  background: #f7f7f7;
}

.records-table thead tr {
  background-color: #003058;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

.records-table th {
  padding: 3px;
}

/* Alert Styles ---------------------------------------------*/

.update-alert {
  background: #c0d0c4;
  margin-bottom: 20px;
  padding: 10px 20px;
}

.update-alert.alert-error {
  background: #dc9ca2;
}

/* Responsive Styles -------------------------------------*/

@media only screen and (max-width: 992px) {

  .resource-content {
    flex-direction: column;
  }

  .resource-form {
    margin-right: 0px;
  }

}

@media only screen and (max-width: 767px) {

  .drop-table-header {
    display: none;
  }

  .table-row {
    padding: 10px 0px;
  }

  .table-item {
    padding: 0px;
  }

  .more_info {
    margin-left: 0px;
  }

  .more-link {
    font-weight: 700;
  }

  .tag-boxes .resource-field {
    flex: 0 0 50%;
  }

}