body {
  font-family: serif;
  background-color: #fff;
  margin: 0px;
  padding: 0px;
}

/* Top of page (logo + nav) */
.nav-wrapper {
  margin: 0 auto;
  padding: 0px;
  position: fixed;
  top: 0;
  background: rgb(255,255,255);
  width: 100%;
  height: 103px;
  box-shadow: rgba(0, 0, 0, 0.353) 0px 5px 8px;
  z-index: 1;
}

.nav-content {
  max-width: 1600px;
  margin: auto;
  display: grid;
  grid-template-columns: 40% auto;
}

.nav-list {
  padding-top: 30px;
  padding-right: 20px;
}

.logo {
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0px 20px;
  width: 103px;
  height: 103px;
}

.burger-icon {
  display: none;
  background-image: url("../img/icons8-hamburger-50.png");
}

.nav-wrapper ul li {
  font-size: 22px;
  display: inline;
  list-style-type: none;
  margin-left: 10px;
  margin-right: 10px;
}

.nav-wrapper a {
  text-decoration: none;
  font-weight: bold;
  color: #1f3781;
  font-family: sans-serif;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.nav-wrapper a:hover {
  font-weight: bolder;
  color: #2abfff;
}

#selected-nav a {
  color: #2abfff;
}

.main-nav {
  text-align: right;
}

.mobile-nav {
  display: none;
}

.main-wrapper {
  max-width: 1600px;
  margin: auto;
  margin-top: 0px;
}

/* === LANDING PAGE === */

/* --- Big intro image & welcome message --- */
.intro {
  padding: 0px 0px;
}

.intro-image {
  max-width: 1000px;
  margin: 150px auto 50px auto;
}

.intro-image article {
  font-size: 42px;
  padding: 10px;
  color: #1f3781;
  text-align: center;
}

#sub-intro {
  border-top-style: solid;
  border-width: 1px;
  border-color: #96969690;
}

/* --- Introduction articles with images --- */
.introduction {
  margin-top: 0px;
}

.introduction-content {
  max-width: 1000px;
  margin: auto;
  padding: 40px 0px;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
}

.introduction-article {
  font-size: 24px;
}

.blue-background-wrapper {
  margin:auto;
  background-color:#eef2ff;
}

.introduction-content-img {
  margin: 0 auto;
}

.introduction-content-img.first {
  width: 128px;
  height: 128px;
  background-size: contain;
  background-image: url(../img/labour-law.png);
}

.introduction-content-img.second {
  width: 128px;
  height: 128px;
  background-size: contain;
  background-image: url(../img/protected.png);
}

.introduction-content-point {
  display: grid;
  margin: 10px;
  padding: 0px 25px;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

#introduction-content-point-first {
  border-right-style: solid;
  border-color: #96969690;
  border-width: 1px;
}

.introduction-content-point article {
  padding-top: 10px;
  font-size: 22px;
  text-align: center;
  color: #272727;
}

.introduction-ending-wrapper {
  margin: 0px;
}

.introduction-ending {
  background-color: #1f3781;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: rgba(0, 0, 0, 0.353) 0px 5px 8px;
}

.introduction-ending article {
  padding: 20px;
  font-size: 22px;
  color:#fff;
  text-align: center;
}

.introduction-ending-buttons {
  margin: 30px 0px;
  display: flex;
  justify-content: center;
  align-content: center;
}

.introduction-ending-buttons a {
  margin: 0px 30px 30px 30px;
}

.introduction-ending-buttons button {
  min-height: 30px;
  padding: 10px;
  background-color: #eef2ff;
  border-style: none;
  border-width: 0px;
  box-shadow: rgba(0, 0, 0, 0.353) 0px 5px 8px;
  color: #000;
}

.introduction-ending-buttons button:hover {
  background-color:#2abfff;
  color:#fff;
  cursor: pointer;
}

/* === ABOUT PAGE === */
.about-main-wrapper {
  margin: auto;
  margin-top: 130px;
  padding: 0px;
}

.about-intro {
  margin-top: 0px;
}

.about-intro h1 {
  font-size: 48px;
  text-align: center;
  color: #1f3781;
  padding: 0px;
  margin: 0px;
}

.about-intro-horizontal-wrapper {
  background-color:#fff;
}

.about-intro-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1400px;
  margin: auto;
  padding: 30px 0px;
}

.about-intro-point {
  font-size: 16px;
  padding: 15px;
  text-align: center;
}

.about-intro-middle {
  border-left-style: solid;
  border-right-style: solid;
  border-color: #96969690;
  border-width: 1px;
}

.about-intro-point h2 {
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  color: #2c2e35;
}

.about-middle {
  max-width: 800px;
  margin: auto;
  padding: 10px 15px;
}

.about-middle h1 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color:#2c2e35;
}

.about-middle-content {
  font-size: 16px;
  color:#2c2e35;
}

.about-bios-wrapper {
  margin:auto;
  background-color:#fff;
}

.about-bios {
  max-width: 800px;
  margin: auto;
  padding-top: 15px;
}

.about-bios h1 {
  font-size: 48px;
  text-align: center;
  color: #1f3781;
  padding: 0px;
  margin: 0px;
}

.bio {
  padding-top: 15px;
}

.bio h2 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #2c2e35;
}

.bio p {
  font-size: 16px;
  padding: 0px 20px 10px 20px;
}

.bio-img {
  display: flex;
  justify-content: center;
  align-content: center;
}

.bio-img-keith {
  background-size: contain;
  background-repeat: no-repeat;
  width: 636px;
  height: 342px;
  background-image: url(../img/keith-wilkinson.png);
}

.bio-img-katy {
  background-size: contain;
  background-repeat: no-repeat;
  width: 376px;
  height: 396px;
  background-image: url(../img/katelyn-wilkinson.png);
}

.divider {
  margin: 80px auto;
  max-width: 80px;
  border-top-style: solid;
  border-width: 1px;
  border-color: #1f3781;
}

.about-mccroskey {
  max-width: 800px;
  margin: auto;
  padding: 10px 15px 60px 15px;;
  font-size: 16px;
  color:#2c2e35;
}

.highlight {
  font-weight: bold;
  color:#2abfff;
}

#mccroskey-segue {
  margin-bottom: 60px;
  background-color: #1f3781;
  box-shadow: rgba(0, 0, 0, 0.353) 0px 5px 8px;
}

#mccroskey-segue p {
  color: #fff;
  font-size: 18px;
  padding: 40px;
}

.about-mccroskey h1 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color:#2c2e35;
}

.about-mccroskey h2 {
  text-align: center;
}

.about-mccroskey-img {
  background-image: url(../img/mccroskey.png);
  background-size: cover;
  margin: 30px 0px;
  width: 800px;
  height: 450px;
}

/* === SERVICES === */
#services-main-wrapper {
  margin: auto;
  margin-top: 130px;
}

#services-intro h1 {
  font-size: 48px;
  text-align: center;
  color: #1f3781;
  padding: 0px 20px;
  margin: 0px;
}

.services-header {
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  color: #2c2e35;
}

#services-intro-content {
  margin: auto;
  max-width: 1000px;
  font-size: 14px;
  padding: 0px 20px;
}

.services-element {
  margin: auto;
  padding: 0px 20px;
  margin-top: 60px;
  max-width: 1000px;
}

.services-element p {
  text-align: left;
  font-size: 14px;
}

#services-horizontal-list {
  margin: auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 30px;
}

.services-horizontal-element {
  font-size: 14px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 10px;
  color: #2c2e35;
}

#services-horizontal-middle {
  border-left-style: solid;
  border-right-style: solid;
  border-width: 1px;
  border-color: #96969690;
}

#contact-us-box {
  min-height: 100px;
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
}

#contact-us-box a {
  color: #1f3781;
  margin: auto;
  padding: 0px 50px;
  font-size: 48px;
  text-align: center;
}

#contact-us-box a:hover {
  color: #2abfff;
}

/* === CONTACT === */
#contact-main-wrapper {
  margin: auto;
}

#contact-main-content {
  padding-top: 130px;
}

#contact-main-content h1{
  font-size: 48px;
  text-align: center;
  color: #1f3781;
  padding: 0px;
  margin: 0px;
}

#contact-request {
  max-width: 1000px;
  margin: auto;
  margin-top: 30px;
  padding: 100px 0px;
  font-size: 36px;
  text-align: center;
  color: #1f3781;
}

#contact-email {
  padding-top: 20px;
}

#contact-email a {
  text-decoration: none;
  color: #2abfff;
}

#contact-email a:hover {
  font-weight: bold;
  color: #2abfff;
}

#contact-form {
  margin: auto;
  width: 600px;
  margin-top: 30px;
  display:flex;
  justify-content: center;
  align-items: center;
}

form {
  width: 100%;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

input, textarea {
  width: 100%;
  margin: auto;
  padding: 10px;
  outline: 0;
  border: 1px solid #2c2e35;
  color: #2c2e35;
  background: transparent;
  font-size: 14px;
}

input:focus~label,
input:valid~label,
textarea:focus~label,
textarea:valid~label {
  top: -25px;
  font-size: 12px;
}

label {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px;
  color: #2c2e35;
  cursor: text;
  transition: 0.2s;
}

button {
  padding: 10px 0;
  color: #fff;
  background-color: #1f3781;
  outline: none;
  margin: auto;
  width: 100%;
  cursor: pointer;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-row .input-group {
  flex-basis: 48%;
}

/* --- Footer --- */
.footer {
  background-color:#1f3781;/*rgb(16, 39, 119)*/
  background-size: 100% auto;
  color:#fff;
}

#contact-footer {
  height: 500px;
}

.footer-wrapper {
  margin: 0 auto;
  max-width: 1600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact {
  padding: 20px;
  font-size: 14px;
}

.contact a {
  font-size: 24px;
  font-style: italic;
  text-decoration: none;
}

.contact a:link {
  text-decoration: none;
  color: #fff;
}

.contact a:visited {
  color: #fff;
  text-decoration: none;
}

.contact a:active {
  text-decoration: none;
  color: #fff;
}

.email a {
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
  color:#fff;
}

.email a:link {
  color: #fff;
  text-decoration: none;
}

.email a:visited {
  color: #fff;
  text-decoration: none;
}

.email a:active {
  color: #fff;
  text-decoration: none;
}

.footer-right {
  position: relative;
  bottom: 0;
  right: 0;
}

.copyright {
  text-align: right;
  padding-right: 20px;
  color: #9198ac;
}

.attributions {
  text-align: right;
  padding-right: 20px;
  color: #9198ac;
}

.attributions a {
  text-decoration: none;
  color:#9198ac;
}

.attributions a:link {
  text-decoration: none;
  color:#9198ac;
}

.attributions a:visited {
  text-decoration: none;
  color:#9198ac;
}

.attributions a:active {
  text-decoration: none;
  color:#9198ac;
}

/* === TABLETS === */
@media only screen and (max-width: 950px) {
  .main-nav {
    text-align: center;
  }

  .intro-image article {
    font-size: 36px;
  }

  .introduction-article {
    font-size: 18px;
  }

  .introduction-content-point {
    display: grid;
    padding: 0px 15px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  
  .introduction-content-point article {
    padding-top: 15px;
    font-size: 18px;
  }
}

/* === MOBILE === */
@media only screen and (max-width: 750px) {
  .mobile-hide {
    display: none;
  }

  .mobile-show {
    display: grid;
  }

  .mobile-nav-item {
    text-align: center;
  }

  .mobile-nav {
    width: 100%;
    background-color: #fff;
    margin: auto;
    padding: 0px;
    box-shadow: rgba(0, 0, 0, 0.353) 0px 8px 8px;
  }

  .mobile-nav li {
    text-align: center;
  }

  .mobile-nav li:not(:last-child) {
    margin-bottom: 10px;
  }

  #selected-nav {
    background-color: #eef2ff;
  }

  .nav-wrapper {
    margin: 0 auto;
    padding: 0px;
    top: 0;
    background: rgb(255,255,255);
    width: 100%;
    height: 103px;
  }
  
  .nav-content {
    max-width: 1600px;
    margin: auto;
    display: grid;
    grid-template-columns: none;
    grid-template-rows: none;
    grid-template-areas: 
    "logo burger";
  }
  
  .nav-list {
    padding-top: 30px;
    padding-right: 20px;
  }
  
  .logo {
    grid-area: "logo";
    background-size: contain;
    background-repeat: no-repeat;
    width: 103px;
    height: 103px;
  }

  .main-nav {
    padding: 10px 0px 0px 0px;
    margin: auto;
    background-color: #fff;
    width: 100%;
    gap: 10px;
    box-shadow: rgba(0, 0, 0, 0.353) 0px 5px 8px;
  }

  .burger-icon {
    grid-area: "burger";
    display:inline-block;
    background-size: contain;
    width: 50px;
    height: 50px;
    color:#333;
    margin: auto;
    margin-right: 60px;
  }

  .burger-icon:hover {
    cursor:pointer;
  }

  .intro-image article {
    font-size: 28px;
  }

  .introduction-content {
    max-width: 1000px;
    margin: auto;
    padding: 40px 40px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
  }

  #introduction-content-point-first {
    border-right-style: none;
    border-bottom-style: solid;
    padding: 10px;
  }

  .introduction-ending article {
    font-size: 18px;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 1fr;
  }
  
  .contact {
    text-align: center;
  }

  .copyright {
    font-size: 10px;
    text-align: center;
  }
  
  .attributions {
    font-size: 10px;
    text-align: center;
  }

  .about-middle-content {
    text-align: justify;
  }

  .about-intro-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    max-width: 1400px;
    margin: auto;
    padding: 30px 0px;
  }

  .about-intro-middle {
    margin-top: 10px;
    padding-bottom: 20px;
    border-left-style: none;
    border-right-style: none;
    border-top-style: solid;
    border-bottom-style: solid;
    border-color: #96969690;
    border-width: 1px;
  }

  .bio p {
    text-align: justify;
  }
  
  .bio-img {
    display: flex;
    justify-content: center;
    align-content: center;
  }
  
  .bio-img-keith {
    background-size: cover;
    width: 508px;
    height: 273px;
  }

  #mccroskey-segue p {
    text-align: justify;
  }

  .about-mccroskey-img {
    background-size: cover;
    margin: auto;
    padding: 0px;
    width: 100%;
    height: 225px;
  }

  .about-mccroskey p {
    text-align: justify;
  }

  #services-horizontal-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    margin-top: 30px;
    padding: 0px 20px;
  }

  #services-horizontal-middle {
    border-left-style: none;
    border-right-style: none;
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #96969690;
    padding: 20px 0px;
  }

  #services-intro-content {
    text-align: justify;
  }

  .services-element p {
    text-align: justify;
  }

  .services-horizontal-element {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px 10px;
    text-align: center;
  }

  #contact-form {
    padding: 20px;
    margin: auto;
    width: 80%;
    margin-top: 0px;
    display:flex;
  }

  form {
    width: 100%;
  }

  #contact-main-content {
    padding-top: 130px;
    margin-bottom: 50px;
  }

  .input-row {
    width: 100%;
    display: block;
  }
}

/* === SMALL MOBILE === */
@media only screen and (max-width: 510px) {
  .bio-img-keith {
    background-size: contain;
    width: 508px;
    height: 273px;
  }
}