/* Increase the font size of the nav menu items */
.navigation__item--link {
    font-weight: 600;
}


@media only screen and (max-width: 991px){
    /* Remove blank space at the bottom of atorney profile page */
    #id_8d922739-eb65-5077-b727-356f3d81f4b7 .ple-column-padding:nth-child(1) .ple-compiled-layout-division--division-2 {
        display: none;
    }
    #id_8d922739-eb65-5077-b727-356f3d81f4b7 .ple-column-padding:nth-child(2) {
        display: none;
    }
}



/* Adjust font size and spacing in navbar */
.navigation__list.more_nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}    


.navigation__list.navigation__list--default.navigation__list--sub .navigation__item--link {
    text-transform: capitalize !important;
}

.navigation-a .navigation__item--link {
    font-size: .937rem;
    text-transform: uppercase;
}


h4.cta__subtitle.component__subtitle.captionAlignment--left, li:not(.navigation__item) {
    text-align: justify !important;
}



/* Practice area page */
.practice__areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: .5rem;
  margin: 4rem 0;
}
.practice__areas--aop {
  width: 100%;
  max-width: 370px;
  height: 300px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  flex-direction: column;
}
/* This adds an image to each practice area element */
.practice__areas--aop .img1 {
  background-image: url("/storage/app/media/GettyImages-2159956978.jpg");
}
.practice__areas--aop .img2 {
    background-image: url("/storage/app/media/GettyImages-1068876946.jpg")
}
.practice__areas--aop .img3 {
    background-image: url("/storage/app/media/GettyImages-1205934850.jpg");
}
.practice__areas--aop .img4 {
    background-image: url("/storage/app/media/GettyImages-171300298.jpg");
}
.practice__areas--aop .img5 {
    background-image: url("/storage/app/media/GettyImages-1540293881.jpg");
}

.practice__areas--aop_img {
  width: 100%;
  height: 100%;
  background-color: white;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.2s ease-in;
}
/* Applies a hover effect to the image of each practice area */
.practice__areas--aop_img:hover {
  filter: brightness(1.1);
}

.practice__areas--aop_img a {
  width: 100%;
  height: 100%;
  display: block;
}
.practice__areas--aop_title {
  width: 100%;
  position: relative;
}
.practice__areas--aop_title ul {
  list-style: none;
}
.practice__areas--aop_title ul li a:link, .practice__areas--aop_title ul li a:active {
  text-decoration: none;
  color: white;
}
.practice__areas--aop_title .aop__main {
  width: 100%;
  padding: 0 !important;
}
.aop__main {
    padding: 0 !important;
}
.practice__areas--aop_title .aop__main_item {
  background-color: #104994;
  transition: all 0.2s ease-in;
}

.aop__main_item--submenu-i a {
    color: white !important;
}

.practice__areas--aop_title .aop__main_item .aop__title--cont {
  display: flex;
  align-items: center;
}
.practice__areas--aop_title .aop__main_item--header {
  text-decoration: none;
  color: white;
  width: 100%;
  display: block;
  padding: 1rem 0px 1rem .6rem;
  transition: all 0.2s ease-in;
  z-index: 5;
}
.practice__areas--aop_title .aop__main_item--header-p {
  color: white;
  width: 100%;
  padding: 1rem 0px 1rem .6rem;
  transition: all 0.2s ease-in;
  z-index: 5;
  display: none;
  margin-bottom: 0;
}


/* When in tablet and mobile view the link of the main title of each practice area is changed to a p element */
@media only screen and (max-width: 991px) {
  .practice__areas--aop_title .aop__main_item--header-p {
    display: block;
  }
}
.practice__areas--aop_title .aop__main_item--header-a {
  text-decoration: none;
  color: white;
  width: 100%;
  display: block;
  padding: 1rem 0px 1rem .6rem;
  transition: all 0.2s ease-in;
  z-index: 5;
}
@media only screen and (max-width: 991px) {
  .practice__areas--aop_title .aop__main_item--header-a {
    display: none;
  }
}

.practice__areas--aop_title .aop__main_item--submenu {
  position: absolute;
  background-color: #104994;
  left: 0;
  width: 100%;
  height: auto;
  transform: scaleY(0);
  transform-origin: top;
  overflow: hidden;
  transition: all 0.2s ease-in;
  z-index: 15;
  padding: 0 !important;
}
.practice__areas--aop_title .aop__main_item--submenu-i {
  border-bottom: 1px solid white;
  transition: all 0.2s ease-in;
}
.practice__areas--aop_title .aop__main_item--submenu-i a {
  padding: 1rem;
  display: block;
  width: 100%;
}
.practice__areas--aop_title .aop__main_item--submenu-i:hover {
  background-color: white;
}
.practice__areas--aop_title .aop__main_item--submenu-i:hover a {
  /*color: #104994;*/
  color: #0b3366 !important;
  transition: all 0.2s ease-in;
}
.practice__areas--aop_title .aop__main_item--submenu-i:last-child {
  border-bottom: none;
}
.practice__areas--aop_title:hover .aop__main_item {
  background-color: white;
}
.practice__areas--aop_title:hover .aop__main_item .aop__main_item--header {
  color: #104994;
}
.practice__areas--aop_title:hover .aop__main_item .aop__main_item--header-p {
  color: #104994;
}
.practice__areas--aop_title:hover .aop__main_item--submenu {
  transform: scaleY(1);
  overflow: visible;
}
.practice__areas--aop_title:hover .aop__title--cont svg path {
  stroke: #104994;
}
