@charset "UTF-8";
/***!  /templates/ccm-klmd_cssgrid/css/layout.css  !***/

@media screen {/*
CSS Grid based layout for KLMD Law
Author: Carl van Goens
Email: carl@ccloudmedia.com
Website: https://www.ccloudmedia.com
*/
.wrapper {
  height: 100%;
  display: grid;
  grid-gap: 3px;
  grid-template-columns: repeat(12, 1fr);
  max-width: 1280px;
  margin: auto;
}

header {
  grid-column: 2/ 12;
}

#top, #top-internal {
  grid-column: 2 / 12;
  display: flex;
  align-items: center;
}

#bottom1, #bottom1-internal {
  grid-column: 2 / 12;
}

#bottom2 {
  grid-column: 2 / 12;
}

.top-highlight {
  width: 70%;
}

.bottom-highlight {
  width: 60%;
}

#mainbody {
  grid-column: 2/ 12;
}

#below-content {
  grid-column: 1 / -1;
  display: flex;
}

footer {
  grid-column: 2/12;
}

.leading-0 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3px;
}

.col-left {
  grid-column: 1/2;
}

.col-right {
  grid-column: 2/3;
}

.footer .module .module-content .custom,
.footer .moduletable .module-content .custom {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  grid-gap: 3px;
  align-items: center;
  justify-items: center;
}

.footer .col1 {
  justify-self: start;
}
.footer .col2 {
  justify-self: center;
  align-self: start;
}
.footer .col3 {
  justify-self: center;
  align-self: start;
}
.footer .col4 {
  justify-self: end;
}

@media screen and (max-width: 829px) {
  header {
    grid-column: 1/ -1;
  }

  #top, #top-internal {
    grid-column: 1 / -1;
  }

  #bottom1, #bottom1-internal {
    grid-column: 1 / -1;
  }

  #bottom2 {
    grid-column: 1 / -1;
  }

  .top-highlight {
    width: 70%;
  }

  .bottom-highlight {
    width: 60%;
  }

  #mainbody {
    grid-column: 1/ -1;
  }

  #below-content {
    grid-column: 1 / -1;
    display: flex;
  }

  footer {
    grid-column: 1/ -1;
  }

  .col-left {
    grid-column: 1/ -1;
  }

  .col-right {
    grid-column: 1/ -1;
  }

  .footer .module .module-content .custom,
  .footer .moduletable .module-content .custom {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 3px;
    align-items: center;
    justify-items: center;
  }
}
@media screen and (max-width: 634px) {
  .footer .module .module-content .custom,
  .footer .moduletable .module-content .custom {
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    grid-gap: 3px;
    align-items: center;
    justify-items: center;
  }

  .footer .col1 {
    grid-column: 1/-1;
    justify-self: center;
  }
  .footer .col2, .footer .col3 {
    grid-column: 1/-1;
    justify-self: start;
  }
  .footer .col4 {
    grid-column: 1/-1;
    justify-self: center;
  }
}
}
