/* Responsive Style Sheet */

/* click5 Interactive */

@media only screen and (max-width: 1400px) {
  #meet-our-attorneys {
    margin-top: 13%;
  }
}

@media only screen and (max-width: 1200px) {
  #meet-our-attorneys {
    margin-top: 8%;
  }

  #pcheader > .section {
    max-width: calc(100% - 30px);
  }

  #pcheader .container {
    max-width: 100%;
  }

  #hero .container {
    max-width: calc(100% - 30px);
  }

  .practice-items-wrapper > * {
    max-width: calc(100% / 3 - 2px);
    flex: 1 0 calc(100% / 3 - 2px);
    padding-top: calc(70% / 3);
  }

  #hero > .container > .cta > .url > *:nth-child(2) {
    font-size: 1.35em;
  }
  #hero > .container > .cta > * {
    padding: 1rem;
    padding-left: 2rem;
  }

  #hero > .container > .cta > .url:after {
    right: 1rem;
  }

  #why-us {
    padding-bottom: 70px;
  }

  #main-content .c5-attorney-list {
    grid-template-columns: repeat(2, 1fr);
  }

  #main-content .c5-attorney-list > * img {
    max-height: 300px;
  }

  #pcheader .nav-container ul.menu > li + li {
    margin-left: 1.5rem;
  }
}

.show991flex {
  display: none!important;
}

@media only screen and (max-width: 991px) {

  .hide991 {
    display: none!important;
  }

  .show991flex {
    display: flex!important;
  }

  #meet-our-attorneys {
    padding-top: 60px;
  }

  #hero > .container > .cta {
    position: static;
    flex-direction: column;
    transform: none;
    margin-top: 3rem;
  }

  #hero {
  }

  #hero .container {
    padding-bottom: 0;
  }

  #hero > .container > .cta > .url:after {
        background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    max-height: 75%;
  }

  #hero .container {
    max-width: 720px;
  }

  .practice-items-wrapper > * {
    max-width: calc(100% / 2 - 2px);
    flex: 1 0 calc(100% / 2 - 2px);
    padding-top: calc(70% / 2);
  }

  #practice-areas p {
    padding-top: 1.5rem;
  }

  #cta .btn-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #cta .btn-wrapper > * + * {
    margin-left: 0;
    margin-top: 1rem;
  }

  #cta {
    padding-bottom: 0;
  }

  #meet-our-attorneys {
    position: relative;
  }

  #meet-our-attorneys:before {
    content: '';
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 35%;
    background-color: white;
    z-index: 0;
  }

  #meet-our-attorneys .attorneys_floating {
    position: sticky;
    transform: none;
    z-index: +1;
  }

  #meet-our-attorneys .logos-wrapper {
    margin-top: 4rem;
  }

  #why-us .bged:before {
    left: 0;
    width: 100%;
  }

  #why-us .text-content {
    padding-bottom: 3rem;
  }

  #why-us .text-content:last-child {
    padding-left: 15px;
  }

  #meet-our-attorneys {
    margin-top: 0;
  }

  #why-us .icons-wrapper > * {
    flex: 1 0 calc(100% / 2 - 1px);
    max-width: calc(100% / 2 - 1px);
  }

  #why-us .icons-wrapper > *:nth-child(3) {
    border-left-color: transparent;
    padding-left: 0;
  }
  #why-us .icons-wrapper > *:nth-child(5) {
    border-left-color: transparent;
    padding-left: 0;
  }
  #why-us .icons-wrapper > *:nth-child(4) {
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-left: 2rem;
  }
  #why-us .icons-wrapper > *:nth-child(6) {
    border-left: 1px solid #eee;
  }

  #textcontent .content + .content {
    margin-top: 3rem;
  }

  #video .video-wrapper {
        grid-template-columns: repeat(2, 1fr);
  }

  #video .video-wrapper > *:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  #video .video-wrapper > *:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 2 / 3
  }

  #video .video-wrapper > *:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  #video .video-wrapper > *:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  #our-blog .posts-container > * .arrow {
    display: none;
  }

  #faq .faq-container > * {
    max-width: 100%;
    flex: 1 0 100%;
  }

  #faq .faq-container > *:nth-child(1), #faq .faq-container > *:nth-child(2) {
    border-left-color: transparent;
    padding-left: 0;
  }

  #faq .faq-container > *:nth-child(4) {
    border-left-color: transparent;
    border-top: 1px solid #eee;
    padding-left: 0;
  }

  #contact-us > .container {
    padding: 0 15px;
  }

  #map .right {
    margin-top: 2rem;
  }

  #sidebar > *:first-child {
    margin-top: 0;
  }

  #sidebar {
    margin-top: 5rem;
  }

  #sidebar > .sidebar-testimonials > .image {
    padding-top: 45%;
    background-position: 50% 23%;
  }

  body.page-template-contact #contact-us .heading h1 {
    margin-bottom: 1.5rem;
  }

  .grecaptcha-badge {
    display: none!important;
    opacity: 0!important;
  }

  #map iframe {
    height: 450px!important;
    max-height: 450px!important;
  }

  #map .gmap_canvas {
    height: 450px!important;
    max-height: 450px!important;
  }

  #map .mapouter {
    height: 450px!important;
    max-height: 450px!important;
  }

  #sidebar {
    transform: none;
  }

  .c5_for_sale_children {
    grid-template-columns: repeat(1, 1fr);
  }

  #subhero_forsale .d-flex {
    flex-direction: column;
  }

  #subhero_forsale .image > div {
    position: static;
    text-align: left!important;
  }

  #subhero_forsale .image {
    padding: 8rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  #subhero_forsale .image > div h1 {
    font-size: 3em;
  }

  #subhero_forsale .image > div p {
    font-size: 1.25em;
  }

  #subhero_forsale .image > div .btn {
    margin-top: .75rem;
  }

  #afterherosub .content > p {
    margin-top: 1.5rem;
  }

  .c5-get-a-book {
    flex-direction: column;
  }

  #contact-us .heading h1 {
    text-align: left;
  }

  #main-content .entry img.alignleft, #main-content .entry img.alignright {
    max-width: 45%;
  }

  #main-content .entry ul {
    padding-left: 16px;
  }

  #contact-us .heading p {
    text-align: left;
    padding-right: 0;
  }

  #hero .navigationWrapper {
    bottom: 15px;
  }
}

@media only screen and (max-width: 768px) {
  #hero .container {
    max-width: 520px;
  }

  .section {
    padding: 3rem 0;
  }

  #afterhero {
    padding-top: 4rem;
  }

  #afterhero .content.left {
    padding-top: 1rem;
  }

  #afterhero .content p {
    margin: .75rem 0;
  }

  #meet-our-attorneys {
    padding-top: 3rem;
  }

  #why-us .heading {
    padding-bottom: 15px;
  }

  #why-us .text-content {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  #why-us .icons-wrapper {
    margin-top: 0;
  }

  #why-us {
    padding-bottom: 125px;
  }

  #our-blog .posts-container > * {
    padding: 1.5rem 0;
  }

  #faq .heading {
    padding-bottom: 0;
  }

  #faq .faq-container > * {
    padding: 1.25rem 0;
  }

  #main-content .c5-attorney-list {
    grid-template-columns: repeat(1, 1fr);
  }

  #main-content .c5-attorney-list > * img {
    max-height: none;
  }

  #faq {
    margin-top: 0;
  }
}

@media only screen and (max-width: 605px) {
  #hero h1 {
    font-size: 2.75em;
  }

  #hero h2 {
    font-size: 1.35em;
  }

  #afterhero h1 {
    font-size: 2em;
  }

  #afterhero .content.left {
    font-size: 1.15em;
  }

  #practice-areas h1 {
    font-size: 2em;
  }

  .practice-items-wrapper > * {
    flex: 1 0 100%;
    max-width: 100%;
    padding-top: 50%;
  }

  #meet-our-attorneys .attorneys_floating {
    position: sticky;
  }

  #meet-our-attorneys:before {
    display: none;
  }

  #meet-our-attorneys {
    padding-top: 3rem;
    margin-top: 3rem;
  }

  #meet-our-attorneys h1 {
    font-size: 2em;
  }

  #why-us .icons-wrapper > * {
    padding-left: 1rem!important;
    border: none!important;

    max-width: 100%;
    flex: 1 0 100%;
  }

  #why-us .icons-wrapper > * + * {
    border-top: 1px solid #eee!important;
  }

  #testimonials .click5_Slider > .slidesWrapper:before {
    font-size: 2em;
    left: 30px;
  }

  #testimonials .click5_Slider > .slidesWrapper {
    padding-left: 30px;
    padding-right: 30px;
  }

  #testimonials .click5_Slider > .navigationWrapper {
    left: 30px;
  }

  #our-blog .heading .right > * {
    right: auto;
    left: 15px;
  }

  #our-blog .heading .right {
    height: 25px;
  }

  #faq .heading .right > * {
    right: auto;
    left: 15px;
  }

  #faq .heading .right {
    height: 25px;
  }

  #textcontent h1 {
    font-size: 1.5em;
  }

  #video h1 {
    font-size: 2em;
  }

  #our-blog .heading h1 {
    font-size: 2em;
  }

  #faq .heading h1 {
    font-size: 2em;
  }

  #faq .faq-container > * > .content {
    font-size: 1.1em;
  }

  #contact-us .heading {
    margin-bottom: 1rem;
  }

  #hero {
    min-height: 450px;
  }

  #faq > .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 515px) {
  #mobileheader {
        padding: 5px 15px 10px;
  }

  #mobileheader .bottom .button {
    padding: 1rem 1rem;
  }

  #mobileheader .top > .direction > span:nth-child(2) {
    font-size: 1.3em;
  }

  #mobileheader .button .hideme {
    display: none;
  }

  #sidebar {
    margin-top: 2.5rem;
  }

  #mobileheader .slicknav_nav {
    top: 148px;
  }
}