@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  font-size: 62.5%; /*10px*/
}
body {
  box-sizing: border-box;
  font-size: 1.6rem;
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  max-width: 1140px;
  margin: 0 auto;
  color: #333;
  padding: 4rem 2rem;
}

h1 {
  font-weight: normal;
  color: #4E3227;
  font-size: 2.125em;
  margin: 1.25em 0 .75em 0;
}

h2 {
  position: relative;
  color: #4E3227;
  font-size: 1.5em;
  line-height: 1.25;
  display: inline-block;
  font-weight: normal;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h2::after {
  content: "";
  background-color: #FDDA24;
  height: 3px;
  position: absolute;
  width: 60%;
  left: 0;
  bottom: -2px;
}

h3 {
  font-weight: normal;
  color: #4E3227;
  font-size: 1.35em;
  margin-bottom: .75rem;
  margin-top: 2rem;
}

h4 {
  font-weight: normal;
  color: #4E3227;
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: .75rem;
  margin-top: 2rem;
}

h5 {
  font-size: 1em;
  font-weight: bold;
  color: #4E3227;
  margin-bottom: .75rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.5rem;
}

table {
  border-collapse: collapse;
}

caption {
  font-weight: normal;
  color: #4E3227;
  font-size: 2.125em;
  margin-bottom: 2rem;
}


tr:nth-of-type(2n+1) {
  background-color: #efefef;
}

th[scope="col"] {
  background-color: #4E3227;
  color: #fff;
  padding: 1em;
}

th[scope="row"] {
  padding: 1em;
  position: relative;
  color: #4E3227;
}

th[scope="row"]::after {
  content:"";
  background-color: #FDDA24;
  position:absolute;
  width: 3px;
  height: 80px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

td {
  padding: 1em 1.5em;
}

td div.mobheading {
  display: none;
}

td p:last-child {
  margin-bottom: 0;
}

td ul, td ol {
  margin-left: 2rem;
}

@media screen and (max-width: 700px) {

  tr {
    display: block;
    background-color: #efefef !important;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
  }

  tr:first-of-type {
    background-color: transparent !important;
    padding: 0;
  }
  
  th[scope="col"] {
    display: block;
    position: absolute;
    left: -1000%;
  }

  th[scope="row"] {
    display: block;
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    background-color: #4E3227;
    color: #fff;
  }

  th[scope="row"]::after {
    display: none;
  }

  td {
    display: block;
    width: 100%;
    padding: 0 3rem 3rem 3rem;
    display: flex;
  }

  td div.mobheading {
    display: block;
    flex: 0 0 12rem;
    padding-right: 2rem;
    position: relative;
    font-weight: bold;
  }

  td div.mobheading::after {
    content:"";
    background-color: #FDDA24;
    position:absolute;
    width: 2px;
    height: 100%;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
  }
}