/* Slider */
* {
  min-height: 0;
  min-width: 0;
}
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
  transform: translate3d(0, 0, 0);
}
.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}
.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
  width: 150px;
  margin: 0 auto;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}

/* Controls */
.slide-arrow {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.slide-arrow.prev-arrow.slick-disabled::before {
  background-position: -740px -2px;
}
.slide-arrow.next-arrow.slick-disabled::before {
  background-position: -768px -2px;
}
.prev-arrow::before,
.next-arrow::before {
  display: inline-block;
  position: relative;
  position: relative;
  content: '';
  display: inline-block;
  background: url('../images/injurylawyersofnj-Icon-Sprite-3x.png') no-repeat;
  background-size: 800px;
  background-position: -252px 0;
  width: 21px;
  height: 19px;
  margin-right: 7px;
}
.prev-arrow {
  left: -50px;
}
.next-arrow {
  right: -50px;
}
.prev-arrow::before {
  background-position: -309px 0;
}
.prev-arrow:hover::before {
  background-position: -365px 0;
}
.next-arrow::before {
  background-position: -280px 0;
}
.next-arrow:hover::before {
  background-position: -337px 0;
}

/* pager */
ul.slick-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 50%;
  margin: 0 auto;
  padding-top: 15px;
  padding-left: 0;
}

ul.slick-dots li::before {
  background: transparent;
  border: 2px solid #9f9f9f;
  border-radius: 50%;
  height: 15px;
  width: 15px;
  color: transparent;
  margin-left: unset;
}

ul.slick-dots li {
  font-size: 55px;
  margin: 0;
}

ul.slick-dots li.slick-active::before {
  background: var(--accent);
  border: 2px solid var(--accent);
}
ul.slick-dots button {
  display: none;
}

/* --------------------------- *
*  Practice Areas Slick Slider
* --------------------------- */
#home-practice-areas .tmf-post-list {
  max-width: 1000px;
  margin: 0 0 0 auto;
  display: none;
}
#home-practice-areas .tmf-post {
  margin: 0;
  padding: 0 25px;
  border: 0;
  transition: 0.3s ease;
}

/* Slick Slider */
#home-practice-areas .slick-slide {
  box-sizing: border-box;
  float: none;
  display: inline-block !important;
  vertical-align: middle;
  text-align: center;
  padding: 25px 0;
}
#home-practice-areas .slick-slide img {
  width: 233px;
  height: auto;
  width: 100%;
  transition: filter 0.2s ease-in;
}
#home-practice-areas .slick-slide img:hover {
  filter: drop-shadow(0px 2px 12px #000);
}
/* #home-practice-areas .slick-list {
  margin: 0 -10px;
} */

/* Controls */
#home-practice-areas .slide-arrow {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#home-practice-areas .prev-arrow {
  left: -25px;
}
#home-practice-areas .prev-arrow::before {
  position: relative;
  content: '';
  /* display: inline-block; */
  background: url('../images/injurylawyersofnj-Icon-Sprite-3x.png') no-repeat;
  background-size: 800px;
  background-position: -252px 0;
  width: 21px;
  height: 19px;
  margin: 0;
  margin-left: 7px;
  transform: scaleX(-1);
  display: none;
}
#home-practice-areas .prev-arrow:hover::before {
  background-position: -337px 0;
}
#home-practice-areas .next-arrow {
  right: -25px;
}
#home-practice-areas .next-arrow::before {
  position: relative;
  content: '';
  display: inline-block;
  background: url('../images/injurylawyersofnj-Icon-Sprite-3x.png') no-repeat;
  background-size: 800px;
  background-position: -252px 0;
  width: 21px;
  height: 19px;
  margin: 0;
  margin-left: 7px;
}
#home-practice-areas .next-arrow:hover::before {
  background-position: -337px 0;
}

@media screen and (max-width: 1700px) {
  #home-practice-areas .tmf-post-list {
    max-width: 950px;
  }
}

@media screen and (max-width: 1630px) {
  #home-practice-areas .tmf-post-list {
    max-width: 900px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 16px;
  }
}

@media screen and (max-width: 1580px) {
  #home-practice-areas .tmf-post-list {
    max-width: 850px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 13px;
  }
}

@media screen and (max-width: 1520px) {
  #home-practice-areas .tmf-post-list {
    max-width: 800px;
  }
}

@media screen and (max-width: 1465px) {
  #home-practice-areas .tmf-post-list {
    max-width: 700px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 19px;
  }
}

@media screen and (max-width: 1360px) {
  #home-practice-areas .tmf-post-list {
    max-width: 650px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 18px;
  }
}

@media screen and (max-width: 1300px) {
  #home-practice-areas .tmf-post-list {
    max-width: 600px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 16px;
  }
}

@media screen and (max-width: 1240px) {
  #home-practice-areas .tmf-post-list {
    max-width: 550px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 14px;
  }
}

@media screen and (max-width: 1190px) {
  #home-practice-areas .tmf-post-list {
    max-width: 500px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 12px;
    font-size: 15px;
  }
}

@media screen and (max-width: 1130px) {
  #home-practice-areas .tmf-post-list {
    max-width: 285px;
  }
  #home-practice-areas-cell-2 .inner {
    justify-content: center;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 16px;
    font-size: 17px;
  }
}

@media screen and (max-width: 850px) {
  #home-practice-areas .tmf-post-list {
    max-width: 250px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 11px;
  }
}

@media screen and (max-width: 800px) {
  #home-practice-areas .tmf-post-list {
    max-width: 500px;
  }
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 10px;
  }
  #home-practice-areas .prev-arrow::before {
    display: inline-block;
  }
  #home-practice-areas .prev-arrow {
    left: -35px;
  }
  #home-practice-areas .next-arrow {
    right: -35px;
  }
}

@media screen and (max-width: 665px) {
  #home-practice-areas .tmf-post-list {
    max-width: 250px;
  }
}

@media screen and (max-width: 500px) {
  #home-practice-areas-cell-2 .pa-img .title {
    bottom: 10px;
  }
}

/* --------------------------- *
*  Associations Slick Slider
* --------------------------- */
#associations .tmf-post-list {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  clear: both;
  padding: 0;
  box-sizing: border-box;
  display: none;
}
#associations .slick-list {
  margin: 0 -10px;
}
#associations .slick-slide {
  padding: 0 20px;
  box-sizing: border-box;
  float: none;
  display: inline-block !important;
  vertical-align: top;
  text-align: center;
}
#associations .tmf-post {
  max-width: 100%;
  padding: 0;
  margin: 0;
  border-bottom: none;
  text-align: center;
}
#associations .tmf-post img.association-logo-hover {
  display: none;
}
#associations .slick-slide img {
  width: auto;
}
#associations .tmf-post:hover img.association-logo {
  display: none;
}
#associations .tmf-post:hover img.association-logo-hover {
  display: block;
}

/* controls */
#associations .slide-arrow {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}
#associations .prev-arrow {
  left: -20px;
}
#associations .next-arrow {
  right: -20px;
}

@media screen and (max-width: 1950px) {
  #associations .tmf-post-list {
    max-width: 1400px;
  }
}

@media screen and (max-width: 1750px) {
  #associations .tmf-post-list {
    max-width: 1300px;
  }
}

@media screen and (max-width: 1580px) {
  #associations .tmf-post-list {
    max-width: 1200px;
  }
}

@media screen and (max-width: 1460px) {
  #associations .tmf-post-list {
    max-width: 1100px;
  }
  #associations .prev-arrow {
    left: -35px;
  }
  #associations .next-arrow {
    right: -35px;
  }
}

@media screen and (max-width: 1360px) {
  #associations .tmf-post-list {
    max-width: 1000px;
  }
}

@media screen and (max-width: 1250px) {
  #associations .tmf-post-list {
    max-width: 900px;
  }
}

@media screen and (max-width: 1150px) {
  #associations .tmf-post-list {
    max-width: 850px;
  }
}

@media screen and (max-width: 1050px) {
  #associations .tmf-post-list {
    max-width: 750px;
  }
}

@media screen and (max-width: 950px) {
  #associations .tmf-post-list {
    max-width: 650px;
  }
}

@media screen and (max-width: 850px) {
  #associations .tmf-post-list {
    max-width: 500px;
  }
}

@media screen and (max-width: 700px) {
  #associations .tmf-post-list {
    max-width: 400px;
  }
}

@media screen and (max-width: 575px) {
  #associations .tmf-post-list {
    max-width: 300px;
  }
}

@media screen and (max-width: 500px) {
  #associations .tmf-post-list {
    max-width: 275px;
  }
  #associations .prev-arrow {
    left: -25px;
  }
  #associations .next-arrow {
    right: -25px;
  }
}

/* --------------------------- *
* Home Representative cases vertical Slick Slider
* --------------------------- */
#home-cases .tmf-post-list {
  width: 250px;
  height: 750px;
  position: relative;
  margin: 0 50px 0 auto;
  display: none;
}
#home-cases .slick-vertical .slick-slide {
  margin-bottom: 20px;
}
#home-cases .tmf-post.representative-case {
  background: url('../images/home_succeeding_text_circle_3x.png') no-repeat;
  background-size: 100% 100%;
  width: 230px !important;
  height: 230px;
  margin: 0;
  text-align: center;
  display: flex !important;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  color: #fff;
}
#home-cases .tmf-post .result {
  font-size: 22px;
  font-weight: 400;
  font-family: var(--heading-font);
  /* margin: 0 0 20px; */
}
#home-cases .tmf-post .case-icon {
  width: 20px;
  height: 20px;
  display: block;
  margin: 7px auto;
  background: url('../images/case-icon.png') no-repeat;
  background-size: 20px;
}
#home-cases .tmf-post .excerpt {
  font-size: 15px;
  font-weight: 400;
  font-family: var(--body-font);
  margin: 0;
}

#home-cases ul.slick-dots {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 25px;
  margin: 0 auto;
  padding-top: 0;
  padding-left: 0;
}
#home-cases .slick-dots li {
  font-size: 5px;
  margin: 0;
  position: relative;
  line-height: 20px;
  width: 35px;
  display: grid;
  place-items: center;
  height: 35px;
  cursor: pointer;
}
#home-cases .slick-dots li.slick-active {
  font-size: 10px;
  margin: 0;
}
#home-cases .slick-dots li::before {
  border-radius: 50%;
  height: 5px;
  width: 5px;
  color: transparent;
  margin-left: unset;
  background: #fff;
  border: 0;
  cursor: pointer;
}
#home-cases .slick-dots li.slick-active::before {
  width: 10px;
  height: 10px;
  background: #fff;
  border: 0;
}

@media screen and (max-width: 1050px) {
  #home-cases-cell-2 {
    padding-top: 50px;
  }
  #home-cases .tmf-post-list {
    height: auto;
    width: auto;
    max-width: 760px;
    margin: 0;
  }
  #home-cases ul.slick-dots {
    position: relative;
    top: unset;
    right: unset;
    transform: unset;
    flex-direction: row;
    gap: 15px;
    width: 50%;
    padding-top: 25px;
  }
  #home-cases .slick-slide {
    padding: 0 20px;
  }
  #home-cases .tmf-post.representative-case {
    width: 230px !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 900px) {
  #home-cases .tmf-post-list {
    max-width: 520px;
  }
}

@media screen and (max-width: 650px) {
  #home-cases .tmf-post-list {
    max-width: 300px;
  }
}
