:root {
  --darkblue: #042a43;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

body {
  color: #000;
  text-align: justify;
  font-family: Metropolis, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: Lato, Tahoma, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  background-color: var(--darkblue);
  color: #fff;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  margin-top: 25px;
  margin-bottom: 15px;
  padding-left: 40px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 100px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

h6 {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.maincontainer {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

.uplink {
  float: right;
  margin: 20px 40px 3px 10px;
  text-decoration: none;
  position: relative;
}

.uparrow {
  color: #000;
  margin-bottom: 20px;
  font-family: Droid Sans, sans-serif;
  font-size: 80px;
  line-height: .2;
  text-decoration: none;
}

.footertext {
  margin-top: 20px;
  font-size: 15px;
}

.footersection {
  background-color: #ededed;
}

.phone {
  color: #d40606;
  text-align: right;
  padding: 10px 20px 10px 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.link-block {
  display: block;
}

.link-block.logo {
  max-width: 100%;
}

.link-block.logo.w--current {
  max-width: 300px;
  margin-top: 0;
  margin-bottom: 0;
}

.headerblock {
  grid-column-gap: 4px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: .5fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.navbar {
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0);
  align-self: center;
  font-size: 14px;
  font-weight: 600;
}

.nav-link.w--current {
  color: #d40606;
}

.droplink {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
  padding: 10px;
}

.droplink.w--current, .phonelink {
  color: #d40606;
}

.dropdown-toggle {
  border: 1px solid rgba(0, 0, 0, 0);
}

.hometitle {
  color: #0c4266;
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 70px;
  line-height: 1.2;
}

.centeredimage {
  max-width: 50%;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}

.centeredlist {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.8;
}

.backgroundimagesection {
  background-image: url('../images/Placeholder.png');
  background-position: 50% 0;
  background-size: cover;
  background-attachment: fixed;
  height: 400px;
}

.backgroundimagesection.building {
  background-image: url('../images/davidoffice-shrunk-1.jpeg');
}

.backgroundimagesection.court {
  background-image: url('../images/PA-Supreme-Court-1.jpeg');
  display: none;
}

.backgroundimagesection.scale {
  background-image: url('../images/scalesjustice.jpeg');
}

.backgroundimagesection.superior {
  background-image: url('../images/Superior--Commonwealth-Court.jpeg');
}

.backgroundimagesection.supreme {
  background-image: url('../images/PA-Supreme-Court-1.jpeg');
}

.contentsection {
  background-color: #fff;
  padding-bottom: 40px;
}

.profilegrid {
  grid-template-rows: auto auto auto;
  margin-bottom: 40px;
}

.fieldlabel {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1;
}

.submit-button {
  background-color: #004077;
}

.childlinegrid {
  grid-template-rows: auto;
}

.childlinelist {
  padding-left: 30px;
  list-style-type: none;
}

.childlinelistitem {
  margin-bottom: 10px;
}

.homevideo {
  margin-bottom: 30px;
}

.videocontainer {
  margin: 10px 100px 30px;
}

@media screen and (max-width: 991px) {
  .icon {
    font-size: 40px;
  }

  .link-block.logo {
    max-width: 100%;
  }

  .navmenu {
    width: 100%;
  }

  .hometitle {
    padding-left: 0;
    padding-right: 0;
    line-height: 1.1;
  }

  .videocontainer {
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  .uparrow {
    font-size: 70px;
  }

  .link-block.logo.w--current {
    max-width: 250px;
  }

  .headerblock {
    grid-template-columns: .75fr .75fr;
  }

  .menu-button {
    position: -webkit-sticky;
    position: sticky;
  }

  .navbar {
    left: 0;
    right: 0;
  }

  .hometitle {
    font-size: 50px;
  }

  .backgroundimagesection.court {
    display: block;
  }

  .backgroundimagesection.scale {
    background-position: 0 0;
  }

  .childlinegrid {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-columns: 1fr;
  }

  .childlinelist {
    margin-bottom: 0;
  }

  .homevideo {
    object-fit: contain;
    display: none;
  }
}

@media screen and (max-width: 479px) {
  h5 {
    padding-left: 60px;
    padding-right: 40px;
  }

  .maincontainer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .uplink {
    margin-right: 10px;
  }

  .uparrow {
    font-size: 60px;
  }

  .phone {
    text-align: center;
    padding-right: 10px;
    font-size: 20px;
  }

  .link-block.logo {
    margin: 5px;
  }

  .link-block.logo.w--current {
    min-width: 150px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .headerblock {
    grid-column-gap: 0px;
    grid-row-gap: 8px;
    grid-template-rows: auto auto;
    grid-template-columns: 1.5fr .75fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .nav-link {
    margin-right: 228px;
  }

  .navmenu {
    width: auto;
  }

  .hometitle {
    font-size: 32px;
  }

  .profilegrid {
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr;
  }

  .childlinegrid {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-columns: 1fr;
  }
}

#w-node-_6f478309-ef43-da7a-ec20-f7d342d35620-42d3561f {
  grid-area: 1 / 1 / 2 / 3;
}

#w-node-_6f478309-ef43-da7a-ec20-f7d342d35623-42d3561f {
  grid-area: 2 / 1 / 3 / 2;
}

#w-node-_6f478309-ef43-da7a-ec20-f7d342d35625-42d3561f {
  grid-area: 2 / 2 / 3 / 3;
}

#w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5af2-8d37e2b7 {
  grid-area: span 1 / span 2 / span 1 / span 2;
}

#w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5af9-8d37e2b7 {
  grid-area: 2 / 2 / 4 / 3;
}

#w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5b04-8d37e2b7 {
  grid-area: 2 / 1 / 3 / 2;
}

#w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5b0b-8d37e2b7 {
  grid-area: 3 / 1 / 4 / 2;
}

@media screen and (max-width: 991px) {
  #w-node-_6f478309-ef43-da7a-ec20-f7d342d35620-42d3561f {
    grid-area: 1 / 1 / 2 / 3;
  }
}

@media screen and (max-width: 479px) {
  #w-node-_6f478309-ef43-da7a-ec20-f7d342d35620-42d3561f {
    grid-area: 1 / 1 / 2 / 3;
  }

  #w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5af2-8d37e2b7 {
    grid-column: span 1 / span 1;
  }

  #w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5af9-8d37e2b7 {
    grid-area: 3 / 1 / 4 / 2;
  }

  #w-node-_4e0edc97-9a50-7bdd-33b9-f1dcdfac5b0b-8d37e2b7 {
    grid-area: 4 / 1 / 5 / 2;
  }
}


@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-Bold.otf') format('opentype'), url('../fonts/Metropolis-ExtraBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-BlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-BoldItalic.otf') format('opentype'), url('../fonts/Metropolis-ExtraBoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-ExtraLightItalic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Metropolis';
  src: url('../fonts/Metropolis-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}