﻿@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
html {
  background-color: #f7f7f7;
}

h2.all-resources-heading {
  margin: 4em 0 1em;
  font-size: 1.75rem;
  border-bottom: 2px solid #dddddd;
  padding-bottom: 0.25em;
  text-align: center;
}

.all-resources {
  -moz-columns: 400px;
  columns: 400px;
  -moz-column-gap: 2em;
  column-gap: 2em;
}
.all-resources .all-resources-column {
  flex: 1;
  margin: 0 4%;
}
.all-resources .all-resources-column:nth-child(1) {
  margin-left: 0;
}
.all-resources .all-resources-column:nth-child(2) {
  margin-right: 0;
}
@media (max-width: 1024px) {
  .all-resources .all-resources-column {
    width: 100%;
    margin: 0;
  }
}
.all-resources .all-resources-block {
  margin-bottom: 2em;
  background-color: #ffffff;
  border: 2px solid #dddddd;
  padding: 2em 3em;
  -moz-column-break-inside: avoid;
  break-inside: avoid-column;
}
.all-resources .all-resources-block h2 {
  margin: 0 0 1em;
}
.all-resources .all-resources-block h3 {
  font-size: 1.25rem;
  border-bottom: 2px solid #dddddd;
  padding-bottom: 0.5em;
  margin: 0 0 2em;
  text-align: center;
}
.all-resources .all-resources-block ul {
  list-style: none;
  margin: 0;
}
.all-resources .all-resources-block ul li {
  margin-bottom: 3em;
}
.all-resources .all-resources-block ul li:last-of-type {
  margin-bottom: 2em;
}
.all-resources .all-resources-block ul li h4 {
  margin: 2em 0 0;
  font-size: 1.1rem;
  text-transform: initial;
}
.all-resources .all-resources-block ul li h4 a {
  text-transform: none;
}
.all-resources .all-resources-block ul li p {
  margin: 0.75em 0 0.5em;
}
.all-resources .all-resources-block .all-resources-block-icon {
  display: flex;
  justify-content: center;
}
.all-resources .all-resources-block .all-resources-block-icon img {
  max-width: 60px;
}
.all-resources .all-resources-block .all-resources-block-icon.workhorse {
  border-bottom: 2px solid #dddddd;
}
.all-resources .all-resources-block .all-resources-block-icon.workhorse img {
  width: 100%;
  height: auto;
  min-width: 260px;
  padding: 0.5em;
}
@media (max-width: 1024px) {
  .all-resources {
    flex-direction: column;
  }
  .all-resources .all-resources-column .all-resources-block {
    padding: 1em 2em;
  }
}

.all-resources-libraries-risks-hazards .container {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 10em;
  flex-direction: row;
  justify-content: space-between;
}
.all-resources-libraries-risks-hazards .container .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background-color: #ffffff;
  border: 2px solid #dddddd;
  text-align: center;
  margin: 1em 1em 0;
}
.all-resources-libraries-risks-hazards .container .item a {
  color: #464646;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5em 2em;
  width: 100%;
  height: 100%;
}
.all-resources-libraries-risks-hazards .container .item a img {
  margin-bottom: 1em;
}
.all-resources-libraries-risks-hazards .container .item:first-of-type {
  margin-left: 0;
}
@media (max-width: 1200px) {
  .all-resources-libraries-risks-hazards .container .item:first-of-type {
    margin-left: 1em;
  }
}
.all-resources-libraries-risks-hazards .container .item:last-of-type {
  margin-right: 0;
}
@media (max-width: 1200px) {
  .all-resources-libraries-risks-hazards .container .item:last-of-type {
    margin-right: 1em;
  }
}
.all-resources-libraries-risks-hazards .container .item img {
  width: 100%;
  max-width: 175px;
}
.all-resources-libraries-risks-hazards .container .item:hover, .all-resources-libraries-risks-hazards .container .item:active, .all-resources-libraries-risks-hazards .container .item:focus {
  border-color: #ff4c00;
}
@media (max-width: 1200px) {
  .all-resources-libraries-risks-hazards .container .item {
    min-width: 225px;
  }
}
