/* Responsiveness Adjustments */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
  h1, h2, h3, h4 {
    font-size: 20px;
    line-height: 30px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, less than 768px) */
@media (max-width: 768px) {
  
}

/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) {
  .pl-0 {
    padding-left: 0 !important;
  }
  .pr-0 {
    padding-right: 0 !important;
  }
  
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }
  .section {
    padding: 60px 5rem;
  }
  .section h2::after, .section .section-title::after {
    width: 70px;
    height: 4px;
    margin: 18px auto;
  }
  .section .cta-btn {
    font-size: 13px;
    line-height:16px;
    padding: 10px 18px;
    margin: 20px 0 10px;
  }
  .navbar {
    height: 100px;
    padding: 0 5rem 0;
  }
  .navbar-brand {
    width: auto;
    height: 100px;
    margin-left: 0;
  }
  .navbar-brand img {
    max-height: 100px;
  }
  .navbar .nav-btn-block {
    display: block;
  }
  .navbar .nav-link {
    padding: 7px .6rem 0;
    margin: 35px .5rem 0;
    font-size: 13px;
    line-height: 20px;
    color: #010101 !important;
  }
  .navbar .dropdown-menu .dropdown-item {
    font-size: 13px;
    line-height: 20px;
    color: #010101 !important;
  }
  .navbar .nav-link.dropdown-toggle {
    padding-right: 0;
    margin-right: 0;
  }
  .navbar .nav-link:last-child {
    padding-right: 0;
    margin-right: 0;
  }
  .navbar .nav-link > span {
    /* bar to highlight active links */
    display: block;
    clear: both;
    width: 20px;
    height: 2px;
    background-color: transparent;
    margin: 2px auto 0;
  }
  .navbar .navbar-collapse {
    background-color: transparent;
    padding-bottom: 0;
    margin-left: 0;
    box-shadow: none;
  }
  /* hide mobile search bar in desktop upwards */
  .navbar .nav-item.mobile-search {
    display: none;
  }
  .tab-content {
    padding: 2.5rem 1.9rem;
    margin-left: 0;
    margin-right: 0;
  }
  .tab-content, .tabslist {
    padding: .3rem 1rem;
  }

  #home-slider .carousel-inner {
    height: 550px;
    background: #F8F8F8 url("../images/slider-bg.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  #home-slider .carousel-inner > .slider-overlay .slider-text {
    max-width: 50%;
    padding-top: 230px;
    margin-left: 5rem;
  }
  #home-slider .carousel-inner > .slider-overlay .slider-text h1 {
    font-size: 40px;
    line-height: 1.3;
  }
  #home-slider .carousel-inner > .slider-overlay .slider-text p {
    display: inline-block;
    font-size: 125%;
    margin-top: 20px;
  }
  #home-slider .carousel-control-next-icon, #home-slider .carousel-control-prev-icon {
    width: 80px;
    height: 80px;
    margin-top: 50px;
  }
  #home-slider .carousel-indicators {
    bottom: 60px;
    margin-left: 5rem;
  }
  #home-slider .carousel-indicators li {
    width: 12px;
    height: 12px;
  }
  .hero.lg { height: 550px; }
  .hero.sm { height: 400px; }

  .hero > .hero-overlay .hero-text {
    max-width: 50%;
    padding-top: 250px;
    margin-left: 5rem;
  }
  .hero.sm > .hero-overlay .hero-text {
    padding-top: 210px;
  }
  .hero > .hero-overlay .hero-text h1 {
    font-size: 40px;
    line-height: 1.3;
  }
  .hero > .hero-overlay .hero-text p {
    font-size: 125%;
    margin-top: 20px;
  }
  .hero.sm > .hero-overlay .hero-text p {
    font-size: 115%;
  }
  .section.service-showcase {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
  .svc-block .svc-lg-wrapper {
    /* keep padding in mobile  */
    padding-right: 15px;
    padding-left: 15px;
  }
  .svc-block .svc-lg {
    height: 425px;
    padding: 45px 2rem;
    margin-bottom: 0;
  }
  .svc-block .svc-sm {
    height: 205px;
  }
  .svc-block .svc-lg p {
    font-size: 35px;
    line-height: 45px;
    max-width: 90%;
  }
  .svc-block .svc-lg .view-more {
    max-width: 80%;
    margin-top: 35px;
    font-size: 14px;
    line-height: 22px;
  }
  .svc-block .col-md-4.svc-sm {
    max-width: calc(33.333% - 15px);
    margin-right: 15px;
  }
  .svc-listing-block .col-md-4.svc-list-item {
    max-width: calc(33.333% - 15px);
  }
  .cta-block .cta-content {
    padding: 60px 4rem 60px 5rem;
  }
  .cta-block .cta-btn-block {
    height: 340px;
  }
  
  .cta-btn-block .btn-block-overlay {
    padding: 130px 0;
  }
  .signup-row {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .signup-row p {
    text-align: left;
  }
  .signup-row input {
    margin-top: 0;
  }
  .signup-row input[type=submit], .signup-row button[type="submit"] {
    margin-top: 0;
  }
  .hero#about {
    background: #F8F8F8 url("../images/about-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .section#about-highlight {
    height: 500px;
    background: #F8F8F8 url("../images/about-highlight-bg.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .section#about-highlight p {
    width: 500px;
    right: 5rem;
    bottom: 50px;
    padding: 25px 30px;
    font-size: 125%;
  }
  .about-body {
    text-align: left;
  }
  .about-body h2::after, .about-body .section-title::after {
    margin-left: 0;
  }
  .hero#covid {
    background: #F8F8F8 url("../images/covid-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .hero#news-resources {
    background: #F8F8F8 url("../images/resources-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .hero#practice-areas {
    background: #F8F8F8 url("../images/practice-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .svc-listing-block {
    padding-right: 0;
    padding-left: 0;
  }
  .svc-listing-block .svc-list-item {
    height: 250px;
    padding: 0;
    margin-bottom: 15px;
    margin-right: 15px;
  }
  .svc-listing-block .svc-list-item .date-category {
    top: 30px;
    font-size: 12px;
    line-height: 19px;
  }
  .svc-listing-block .svc-list-item p {
    left: 1.5rem;
    bottom: 50px;
    font-size: 22px;
    line-height: 32px;
    max-width: 80%;
  }
  .svc-listing-block .svc-list-item .view-more {
    left: 1.5rem;
    bottom: 35px;
    font-size: 12px;
    line-height: 19px;
    max-width: 80%;
  }
  .hero#practice-view {
    background: #F8F8F8 url("../images/practice-view-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  
  .hero#lawyers {
    background: #F8F8F8 url("../images/lawyers-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .lawyers-listing {
    padding-left: 0;
    padding-right: 0;
  }
  .lawyers-listing .team-member {
    height: 350px;
    padding: 30px 1.5rem;
    margin: 15px 15px;
  }
  .lawyers-listing .col-md-4.team-member {
    max-width: calc(33.333% - 30px);
  }
  .lawyers-listing .team-member:hover .name,
  .lawyers-listing .team-member:active .name,
  .lawyers-listing .team-member:focus .name {
    bottom: calc(40px + 14rem);
  }
  .lawyers-listing .team-member:hover .designation,
  .lawyers-listing .team-member:active .designation,
  .lawyers-listing .team-member:focus .designation {
    bottom: calc(2px + 14rem);
  }
  .lawyers-listing .team-member:hover .info {
    display: block;
  }
  .hero#lawyer-view {
    background: #F8F8F8 url("../images/lawyer-view-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }

  .hero#lawyer-view > .hero-overlay .hero-text {
    padding-top: 200px /* reset */;
  }
  .hero#lawyer-view > .hero-overlay .image {
    min-height: 400px;
  }
  .hero#lawyer-view > .hero-overlay .image .photo {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-width: 6px;
  }
  .hero#lawyer-view h1 {
    margin-top: 80px;
    font-size: 28px;
    line-height: 34px;
    color: #FFF;
    text-align: left;
  }
  .hero#lawyer-view p {
    font-size: 90%;
    margin-top: 10px;
    color: #FFF;
    text-align: left;
  }
  .lawyer-content-sidebar {
    padding: 20px 1rem 30px;
    margin-top: 30px;
  }
  .lawyer-content-sidebar .section-title::after {
    margin-left: 0;
    margin-top: 12px;
    margin-bottom: 25px;
  }
  .lawyer-content {
    padding-top: 60px;
    padding-left: 5.5rem;
    padding-right: 5.5rem;
  }
  .lawyer-content ul > li {
    font-size: 125%;
    line-height: 1.8;
    padding-left: 15px;
  }

  .hero#contact {
    background: #F8F8F8 url("../images/contact-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .address-block .address {
    width: 350px;
    right: 5rem;
    bottom: 60px;
    padding: 20px 30px;
  }
  .contact-form {
    margin-left: 0;
    margin-right: 0;
  }
  .contact-info {
    margin-top: 0;
    padding-left: 6rem;
  }
  .faq-tabs {
    margin-left: 0;
    margin-right: 0;
  }
  .faq-tabs .card-header a {
    padding-left: 3.25rem;
    font-size: 14px;
    line-height: 20px;
  }
  .hero#search {
    background: #F8F8F8 url("../images/search-hero.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }
  .search-results form {
    max-width: 60%;
    margin: 0 auto 20px;
  }

  .section.footer ul.social-group {
    margin: 30px 0 0 -40px;
  }
  .section.footer ul.link-group {
    margin-top: 0;
    margin-left: 15px;
  }
  .section.footer .copyright {
    margin-top: 35px;
  }
  
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .lawyers-listing .col-lg-3.team-member {
    max-width: calc(25% - 30px);
  }
}
