/*
 Theme Name:   Majux Child Theme
 Theme URI:    https://majux.com/
 Description:  Majux Child Theme
 Author:       Majux
 Author URI:   https://majux.com
 Template:     Divi
 Version:      0.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/*=================== VARIABLES: ===================
===================================================*/

  :root {
    /* Colors */
    --black: #000000;
    --white: #ffffff;
    --lighterblue: #ecf7ff;
    --lightblue: #c2dbee;
    --blue: #003359;
    --green: #6fbcac;


    /* Fonts */
    --avenir: 'Avenir', sans-serif;
    --trebuchet: 'Trebuchet MS', sans-serif;

    --bold: 900;
  }

  .black {
    color: var(--black)!important;
  }

  .white {
    color: var(--white)!important;
  }

  .blue {
    color: var(--blue)!important;
  }

  .lightblue {
    color: var(--lightblue)!important;
  }

  .lighterblue {
    color: var(--lighterblue)!important;
  }

  .blue-bg {
    background-color: var(--blue)!important;
  }

  .lightblue-bg {
    background-color: var(--lightblue)!important;
  }

  .lighterblue-bg {
    background-color: var(--lighterblue)!important;
  }

/*================== FONT STYLES: =================
===================================================*/

  h1,h2,h3,h4,h5,h6,
  .h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: var(--avenir);
    font-weight: var(--bold);
    line-height: 1.2;
  }

  h1,.h1 {
    font-size: 48px;
  }

  h2,.h2 {
    font-size: 36px;
    padding-bottom: 45px!important;
  }

  h3,.h3 {
    font-size: 30px;
  }

  h4,.h4 {
    font-size: 20px;
  }

  h5,.h5 {
  }

  .ttl {
  }

  p,li,div,input,textarea,button {
    font-family: var(--avenir);
    font-weight: 400;
    font-size: 16px;
  }

  p {
    font-size: 16px;
    line-height: 1.8;
  }

  p.large {
    font-size: 18px;
    font-weight: 400;
  }

  p:empty {
    display: none;
  }

  li {
  }

  a,span {
    font-family: inherit;
  }

  .caps {
    text-transform: uppercase!important;
  }

  .pb-20 {
	padding-bottom: 20px;
  }

  .pt-0 {
	padding-top: 0!important;
  }

  @media only screen and (max-width:749px) {
	td {
		display: block;
	}
  }

  @media only screen and (max-width:767px) {
    h1,.h1 {
      font-size: 36px;
    }

    h2,.h2 {
      font-size: 30px;
      padding-bottom: 35px!important;
    }

    h3,.h3 {
      font-size: 25px;
    }
  }

/*================= BUTTON STYLES: ===================
=====================================================*/

  .btn,input[type="submit"],button {
    cursor: pointer;
    display: table;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--trebuchet);
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    padding: 14px 45px;
    background: var(--green);
    color: var(--white);
    appearance: none;
    border: 0;
  }

  .btn--small {
    font-size: 14px;
    padding: 8px 30px;
  }

  .btn--inline {
    display: inline-table;
  }

  .btn--inline:not(:last-of-type) {
    margin-right: 15px;
    margin-bottom: 15px;
  }

  .btn--light {
    background: var(--lighterblue);
    color: var(--blue);
  }

  .btn--dark {
    background: var(--blue);
    color: var(--white);
  }

  @media only screen and (max-width:767px) {
    .btn {
      display: block;
    }
  }

/*============= GLOBAL LAYOUT STYLES: ===============
=====================================================*/

  html,body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-family: var(--avenir);
  }

  .stndrd-rw {
    width: 85.36vw!important;
    max-width: 85.36vw!important;
    padding: 0!important;
  }

  .fw-rw {
    width: 100vw!important;
    max-width: 100vw!important;
    padding: 0!important;
  }

  #et-main-area {
    position: relative;
  }

  body.english [lang="spanish"], body.english .spanish,
  body.espanol [lang="english"], body.espanol .english {
    display: none!important;
  }

  .pad-100 {
    padding-top: 100px!important;
    padding-bottom: 100px!important;
  }

  .pad-200 {
    padding-top: 200px!important;
    padding-bottom: 200px!important;
  }

  .grid {
    display: grid;
  }

  .grid > br {
    display: none!important;
  }

  @media only screen and (min-width:641px) {
    .grid.grid-2 {
      grid-template-columns: repeat(2,1fr);
    }
  }

  @media only screen and (min-width:767px) {
    .grid.grid-3 {
      grid-template-columns: repeat(3,1fr);
    }
    .grid.grid-4 {
      grid-template-columns: repeat(4,1fr);
    }
  }

  @media only screen and (min-width:981px) {
    .grid.grid-4 {
      grid-template-columns: repeat(4,1fr);
    }

    .grid.grid-5 {
      grid-template-columns: repeat(5,1fr);
    }

    .grid.grid-6 {
      grid-template-columns: repeat(6,1fr);
    }
  }

  @media only screen and (max-width: 980px) {
    .grid.grid-5 {
      grid-template-columns: repeat(2,1fr);
    }

    .grid.grid-5 > :nth-child(5n) {
      grid-area: auto/1/auto/3;
    }
  }

  @media only screen and (min-width:641px) and (max-width:980px) {
    .grid.grid-4 {
      grid-template-columns: repeat(2,1fr);
    }
    
    .grid.grid-6 {
      grid-template-columns: repeat(3,1fr);
    }
  }

  .gap-10 {
    grid-gap: 10px;
  }

  .gap-20 {
    grid-gap: 20px;
  }

  .gap-30 {
    grid-gap: 30px;
  }

  .gap-40 {
    grid-gap: 40px;
  }

  @media only screen and (min-width: 981px) {
    .center-cols {
      display: flex;
      align-items: center;
    }
  }

/*================ HEADER STYLES: ================
==================================================*/
  
  #main-header {
    box-shadow: none;
  }

  #main-header .et_menu_container {
    width: 100%;
    max-width: 100%;
  }

  #main-header .top-container {
    display: flex;
  }

  #main-header .logo_container {
    position: initial;
    width: auto;
    height: auto;
    margin: auto 0;
  }

  #main-header .logo_container #logo {
    width: 100%;
    max-width: 400px;
    max-height: unset;
  }

  #main-header .call-cta {
    background: var(--lightblue);
    padding: 8px 5vw;
  }

  @media only screen and (min-width: 981px){
	#main-header .call-cta {
      display: flex;
      align-items: center;
      height: 100%;
    }
  }

  #main-header .call-cta .text {
    display: flex;
    align-items: center;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: var(--bold);
    font-size: 14px;
  }

  #main-header .call-cta .text img {
    margin-right: 20px;
  }

  #main-header .call-cta .phone {
    line-height: 1;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: var(--bold);
    font-size: 30px;
    margin: auto 0 auto 5px;
  }

  @media only screen and (max-width: 767px) {
	#main-header .call-cta {
		grid-template-columns: none!important;  
  	}
  }
	  

  #main-header #et-top-navigation {
    padding: 0!important;
  }

  #main-header #et-top-navigation #top-menu-nav,
  #main-header #et-top-navigation #top-menu {
    float: none;
  }

  #main-header #et-top-navigation #top-menu {
    text-align: right;
  }

  #main-header #et-top-navigation #top-menu li {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
  }

  #main-header #et-top-navigation #top-menu > li > a {
    padding-bottom: 15px!important;
    color: var(--white);
  }

  #top-menu li.current-menu-ancestor>a, 
  #top-menu li.current-menu-item>a {
    font-weight: var(--bold);
    color: var(--lightblue)!important;
  }
  
  #top-menu li li {
    line-height: 1.2;
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
  }

  #top-menu li ul {
    background: var(--blue);
    border-color: var(--blue);
    padding: 0;
  }

  #top-menu li li a {
    color: var(--white);
    font-size: 12px;
  }

  #top-menu>.menu-item-has-children>a:first-child {
    padding-right: 0;
  }

  #top-menu>.menu-item-has-children>a:first-child:after {
    display: none;
  }

  #main-header .mobile_menu_bar:before {
    color: var(--blue); 
	top: 12px;
  }

  #main-header #mobile_menu {
    border: 0;
    padding: 0 5vw!important;
  }

  #main-header .et_mobile_menu li a {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--blue);
  }

  @media only screen and (max-width: 980px) {
    #main-header .logo_container #logo {
      max-width: 300px;
	  padding-top: 10px;
    }

    #main-header .call-cta .text {
      font-size: 12px;
    }

    #main-header .call-cta .text .phone-icon {
      width: 26px;
      margin-right: 8px;
    }

    #main-header .call-cta .phone {
      font-size: 20px;
    }
  }

  @media only screen and (min-width: 768px) and (max-width: 980px) {
    #main-header #et-top-navigation #top-menu {
      display: block!important;
      padding-left: 5vw;
      text-align: center;
    }

    #main-header #et_mobile_nav_menu {
      display: none;
    }
  }

  @media only screen and (min-width: 768px) {
    #main-header .top-container {
      padding-left: 5vw;
    }

    #main-header .call-cta {
      margin: 0 0 auto auto;
      padding: 15px 5vw 15px 70px;
      clip-path: polygon(0 0,100% 0,100% 100%,50px 100%);
    }

    #main-header #et-top-navigation {
      padding: 15px 5vw 0 0!important;
      width: 100%;
      float: none;
      background: var(--blue);
    }

    #main-header .call-cta .sms {
      display: none;
    }
  }

  @media only screen and (max-width: 767px) {
    #main-header .top-container {
      flex-direction: column-reverse;
    }

    #main-header .call-cta {
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2,1fr);
      grid-gap: 5px;
    }

    #main-header .call-cta .text {
      grid-area: auto/1/auto/3;
      text-align: center;
      justify-content: center;
    }

    #main-header .call-cta .text br,
    #main-header .call-cta .text .phone-icon {
      display: none;
    }

    #main-header .call-cta .phone {
      margin: 0 0 0 auto;
    }

    #main-header .call-cta .sms {
      margin: 0 auto 0 0;
    }

    #main-header .call-cta .sms span {
      background: var(--green);
      color: var(--white);
      padding: 4px 10px;
      display: inline-block;
      line-height: 1;
      font-size: 15px;
      font-family: var(--trebuchet);
      font-weight: bold;
      letter-spacing: .025em;
    }

    #main-header .logo_container {
      padding: 8px 5vw;
    }

    #main-header #et-top-navigation {
      margin-top: -45px;
      margin-right: 5vw;
    }

    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, 
    .et_fixed_nav #main-header, .et_fixed_nav #top-header {
      position: fixed;
    }

    .et_mobile_menu {
      overflow: scroll !important;
      max-height: 83vh;
    }

    .et_header_style_left #et-top-navigation, 
    .et_header_style_left .et-fixed-header #et-top-navigation {
      display: block;
      padding-top: 12px;
    }

    #main-header .et_mobile_menu .menu-item-has-children>a:after {
      font-family: 'ETmodules';
      text-align: center;
      speak: none;
      font-weight: normal;
      font-variant: normal;
      text-transform: none;
      -webkit-font-smoothing: antialiased;
      position: absolute;
      font-size: 16px;
      content: '\4c';
      top: 13px;
      right: 10px;
    }

    #main-header .et_mobile_menu ul.sub-menu, #main-header .et_mobile_menu ul.sub-menu .menu-item-has-children ul.sub-menu {
      display: none!important;
      visibility: hidden!important;
      transition: all 1.5s ease-in-out;
    }

    #main-header .et_mobile_menu .menu-item-has-children>a {
      background-color: transparent;
      position: relative;
    }

    #main-header .et_mobile_menu .visible ul.sub-menu, #main-header .et_mobile_menu .visible ul.sub-menu .visible ul.sub-menu {
      display: block!important;
      visibility: visible!important;
      padding-left: 10px;
    }
  }

/*================ GLOBAL STYLES: =================
==================================================*/

  img {
    display: block;
  }

  .cntnt .btn {
    margin-top: 50px;
  }

  .cntnt p:not(:last-of-type) + .btn {
    margin-top: 0;
  }

  @media only screen and (max-width:767px) {
    .cntnt .btn {
      display: block;
    }
  }

  .cntnt-w-img-sctn .cntnt-col.content {
    padding-left: 5.25vw;
    padding-right: 5.25vw;
  }

  @media only screen and (max-width: 980px) {
    .cntnt-w-img-sctn .cntnt-rw {
      display: flex;
      flex-direction: column;
    }

    .cntnt-w-img-sctn .cntnt-col.content {
      padding-left: 5.25vw;
      padding-right: 5.25vw;
      order: 2;
      margin-bottom: 0!important;
    }

    .cntnt-w-img-sctn .cntnt-col.image {
      order: 1;
      height: 300px;
      overflow: hidden;
      margin-bottom: 75px!important;
      background-size: cover;
      background-position: center top;
    }
  }

  .accordion-row + br,
  .accordion-row .body br {
    display: none;
  }

  .accordion-row-head {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .accordion-row-head:not(.open):not(:last-of-type) {
    border-bottom: 2px solid var(--blue);
    transition-delay: .5s;
  }

  .accordion-row-head .head {
    font-size: 30px;
    line-height: 1.3;
    font-weight: bold;
    margin-left: 0;
    margin-right: auto;
    color: var(--blue);
    cursor: pointer!important;
  }

  .accordion-row-head .accordion-btn {
    display: block;
    width: 25px;
    height: 25px;
    margin-left: 0;
    margin-right: 25px;
    transition: all .4s ease-in-out;
    position: relative;
  }

  .accordion-row-head .accordion-btn:before {
    content: '\4c';
    font-family: etmodules;
    font-weight: bold;
    color: var(--blue);
    font-size: 30px;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 25px;
    transition: all .25s ease-in-out;
  }

  .accordion-row-head.open .accordion-btn:before {
    transform: rotate(45deg);
  }

  .accordion-row-body {
    display: none;
    padding: 0 0 0 50px;
  }

  .accordion-row-body > :last-child:after {
    content: '';
    display: block;
    width: 100%;
    height: 8px;
    margin-bottom: 30px;
  }

  .accordion-row-head.open + .accordion-row-body {
    border-bottom: 2px solid var(--blue);
    margin-bottom: 20px;
  }

  .accordion-row-body .body {
    font-size: 16px;
    line-height: 1.8;
  }

  .accordion-row-body .body > p {
    padding-bottom: 0!important;
    padding-top: 30px;
  }

  @media only screen and (max-width: 767px) {
    .accordion-row-head .head {
      font-size: 24px;
    }
  }

  .callout-sctn {
    padding: 80px 0!important;
  }

  .callout-sctn .callout {
    padding: 5.25vw;
  }

  @media only screen and (max-width:980px) {
    .callout-sctn {
      padding: 0!important;
    }

    .callout-sctn .callout {
      padding: 80px 5.25vw;
    }
  }

  /*----------- Slider: -----------*/
    
    .slider {
      position: relative;
      margin: 20px auto;
    }

    .slider .slider_control {
      display: block;
      width: 30px;
      height: 30px;
      background: var(--blue);
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 100;
      border-radius: 50%;
      cursor: pointer;
    }

    .slider .slider_control:before {
      display: block;
      font-family: etmodules;
      font-size: 28px;
      color: var(--white);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      z-index: 200;
    }

    .slider .slider_control.prev:before {
      content: "\34";
    }

    .slider .slider_control.prev {
      left: -15px;
    }

    .slider .slider_control.next:before {
      content: "\35";
    }

    .slider .slider_control.next {
      right: -15px;
    }

    .slider .slider_inner {
      list-style: none;
      width: 100%;
      text-align: center;
      position: relative;
      padding: 0;
    }

    .slider .slider_inner .slide {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 0;
      text-align: center;
      padding: 0;
      opacity: 0;
      visibility: hidden;
    }

    .slider .slider_inner .slide.active {
      display: block;
      position: relative;
      top: unset;
      left: unset;
      right: unset;
      z-index: 1;
      opacity: 1;
      visibility: visible;
    }


  /*----------- Blocks: -----------*/

    .blocks-shortcode {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      grid-row-gap: 60px;
      grid-auto-rows: 1fr;
    }

    .blocks-shortcode br,
    .blocks-shortcode > p {
      display: none;
    }
  
    .blocks-shortcode .single-block {
      display: grid;
      grid-gap: 0px;
      background: var(--white);
      box-shadow: 0px 0px 54px 0px rgba(0, 0, 0, 0.1);
      border-radius: 7px;
      overflow: hidden;
    }

    .blocks-shortcode .single-block.clickable {
      transition: transform .25s ease-in-out;
      cursor: pointer;
    }

    .blocks-shortcode .single-block.clickable:hover {
      transform: translateY(-8px);
    }

    .blocks-shortcode .single-block .block-icon {
      grid-area: 1 / auto / 2 / auto;
      background: var(--blue);
      color: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px 35px;
    }

	.blocks-shortcode.light .single-block .block-icon {
	  background: var(--lightblue);
	}

    .blocks-shortcode .single-block .block-icon img {
      max-width: 150px;
    }

    .blocks-shortcode .single-block .block-content {
      padding: 35px;
    }

    @media only screen and (min-width:768px) {
      .blocks-shortcode .single-block {
        grid-template-columns: 25% 75%;
      }

      .blocks-shortcode .single-block .block-content {
        padding: 35px 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
    }

  /*------------ Testimonials -------------*/

    .reviews-shortcode br {
      display: none!important;
    }

    .reviews-shortcode {
      display: grid;
      grid-gap: 60px;
      margin: 40px 0;
    }

    .single-review {
      background-color: var(--white);
      box-shadow: 0px 0px 54px 0px rgba(0, 0, 0, 0.1);
      border-radius: 7px;
      padding: 50px 45px;
    }

    .single-review .inner {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .single-review .inner .single-review-content,
    .single-review .inner .single-review-content p {
      color: var(--blue);
      font-size: 16px;
      font-weight: 500;
      line-height: 1.8;
    }

    .single-review .inner .single-review-meta {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      grid-gap: 0 10px;
      margin: auto 0 0;
      padding-top: 30px;
    }

    .single-review .inner .single-review-meta .logo,
    .single-review .inner .single-review-meta .author {
      display: flex;
      align-items: center;
    }

    .single-review .inner .single-review-meta .author {
      color: var(--blue);
      font-size: 18px;
      font-weight: bold;
      line-height: 1;
    }

    .single-review .inner .single-review-meta .logo img {
      margin-left: auto;
      margin-right: 0;
    }

    @media only screen and (min-width:981px) {
      .reviews-shortcode {
        grid-template-columns: repeat(2,1fr);
      }

      .single-review:nth-child(3n+3) {  
        grid-area: auto/1/auto/3;
      }
    }

  /*------------ Results: -------------*/

    .results-shortcode {
      display: grid;
      grid-gap: 60px;
      grid-auto-rows: 1fr;
      padding: 30px 0!important;
    }

    .results-shortcode .single-result {
      background-color: transparent;
      -webkit-perspective: 1000px;
      -moz-perspective: 1000px;
      -ms-perspective: 1000px;
      perspective: 1000px;
    }

    .results-shortcode .single-result.clickable {
      transition: transform .25s ease-in-out;
      cursor: pointer;
    }

    .results-shortcode .single-result.clickable:hover {
      transform: translateY(-8px);
    }

    .results-shortcode .single-result .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: center;
      transition: transform 0.6s;
      -webkit-transform-style: preserve-3d;
      -moz-transform-style: preserve-3d;
      -ms-transform-style: preserve-3d;
      transform-style: preserve-3d;
    }

    .results-shortcode .single-result:hover .flip-card-inner {
      -webkit-transform: rotateY(180deg);
      -ms-transform: rotateY(180deg);
      -o-transform: rotateY(180deg);
      transform: rotateY(180deg);
    }

    .flip-card-front, .flip-card-back {
      width: 100%;
      height: 100%;
      -webkit-backface-visibility: hidden;
      -moz-backface-visibility: hidden;
      -ms-backface-visibility: hidden;
      backface-visibility: hidden;
      border-radius: 5px;
      padding: 80px 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }

    .flip-card-front {
      background: var(--lighterblue);
    }

    .flip-card-back {
      background: var(--lightblue);
      color: var(--black);
      transform: rotateY(180deg);
      overflow-y: auto;
      position: absolute;
      top: 0;
    }

    .results-shortcode .single-result br {
      display: none;
    }

    .results-shortcode .single-result .verdict {
      color: var(--blue);
      font-weight: bold;
      font-size: 30px;
      line-height: 1;
      padding-bottom: 20px;
      text-align: center;
      display: block;
      text-transform: capitalize;
    }

    .results-shortcode .single-result .type {
      font-size: 16px;
      font-weight: 400;
      color: var(--black);
      display: block;
      text-align: center;
      margin-top: 5px;
    }

	.results-shortcode .single-result .text_flip_card {
		font-size: 16px;
		line-height: 1.4;
	}

    @media only screen and (min-width:768px) {
      .results-shortcode {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 1fr;
      }

      .results-shortcode .single-result .verdict {
        font-size: 40px;
      }
    }


/*============ PRACTICE AREAS STYLES: =============
===================================================*/

	.yma-sbpg-cntnt-icn a {
		display: flex;
		justify-content: center;
	}

	@media only screen and ( max-width: 767px ){
		.yma-sbpg-cntnt-icn {
			margin-bottom: 20px;
		}
		.yma-sbpg-cntnt-icn img {
			margin: 20px auto 0;
		}
	}

    @media only screen and (min-width:768px) {
	  .yma-sbpg-cntnt-icns {
	    margin-top: 50px;
	  }

	  .yma-sbpg-cntnt-icns-rw {
	    clear: both;
	    display: block;
	    margin-bottom: 30px;
	  }

	  .yma-sbpg-cntnt-icns-rw:after {
		  content: '';
		  float: none;
		  clear: both;
		  width: 100%;
		  height: 100%;
		  display: block;
	  }

	  .yma-sbpg-cntnt-icn {
		  width: 18%;
		  float: left;
		  padding: 0;
		  margin-right: 2.5%;
	  }

	  .yma-sbpg-cntnt-icns-rw > .yma-sbpg-cntnt-icn:last-of-type {
	      margin-right: 0!important;
	  }

	  .yma-sbpg-cntnt-icn img {
		  display: block;
		  margin: auto;
	  }

	  .yma-sbpg-cntnt-icn span {
		  display: table;
		  margin: auto;
		  margin-top: 0;
		  text-align: center;
		  font-size: 14px;
		  color: var(--black);
		  font-weight: bold;
		  font-family: var(--body);
	  }
    }

/*================= GFORM STYLES: =================
===================================================*/

  .form-field {
    padding: 0!important;
  }

  .form-field .gfield_label {
    font-size: 13px!important;
    font-weight: 400!important;
  }

  .form-field .gfield_label .gfield_required {
    display: none!important;
  }

  .form-field input,
  .form-field textarea {
    border: 0!important;
    border-radius: 4px!important;
    background: var(--white)!important;
    padding: 10px!important;
  }

  .form-field input::placeholder,
  .form-field textarea::placeholder {
    color: var(--white)!important;
  }

  .gform_footer {
    padding-bottom: 0!important;
  }

  .gform_footer input[type="submit"] {
    background: var(--blue)!important;
    display: block!important;
    font-family: var(--avenir)!important;
    width: 100%!important;
    border-radius: 4px!important;
  }
  

/*=============== HOME PAGE STYLES: ===============
==================================================*/

  #home-banner {
    padding: 0!important;
  }

  #home-banner .bnnr-rw {
    padding-top: 75px!important;
  }

  #home-banner .bnnr-rw .bnnr-col-1 {
    display: flex;
    align-items: center;
    padding: 0 0 75px 5.25vw;
  }

  #home-banner .bnnr-rw .bnnr-col-2 {
    display: flex;
    align-items: flex-end;
  }

  #home-banner .bnnr-rw .bnnr-col-1 br {
    display: none;
  }

  #home-banner .bnnr-rw .bnnr-img {
    max-width: 900px;
  }

  #home-banner .tagline-rw .tagline {
    padding: 30px 0;
    font-size: 25px;
    line-height: 1;
  }

  /* Hide internal banner image on home page */
/*   @media only screen and (min-width:980px) {
	  #home-banner .wp-image-23695 {
		visibility: hidden;
	  }
  } */
 
  #home-cta .h1 {
    padding-bottom: 0!important;
  }

  @media only screen and (max-width:1100px) {
    #home-banner .bnnr-rw {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
      justify-content: center;
    }

    #home-banner .bnnr-rw .bnnr-col-1 {
      background: var(--white);
      padding: 50px 5.25vw 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }

    #home-banner .bnnr-rw .page-title {
      color: var(--blue)!important;
      text-align: center;
    }

    #home-banner .bnnr-rw .bnnr-img {
      max-width: 550px;
      width: 100%;
      margin: 0 auto;
    }

    #home-banner .tagline-rw {
      display: none!important;
    }

    #home-banner .desktop-btns .btn.btn--inline {
      display: table;
      margin-left: auto;
      margin-right: auto;
    }

    #home-banner .desktop-btns .btn.btn--inline.btn--light {
      background: var(--blue)!important;
      color: var(--white)!important;
    }

    #home-banner .bnnr-rw .bnnr-col-1 br {
      display: initial;
    }

    #home-cta .h1 {
      font-size: 30px!important;
      text-align: left;
    }

    #home-cta .h1 br {
      display: none;
    }

    #home-cta .cntnt {
      max-width: unset;
    }
  }

  .numbered-list {
    counter-reset: list-number;
    list-style: none;
  }

  .numbered-list li {
    list-style: none;
    position: relative;
  }

  @media only screen and (min-width: 768px) {
    .numbered-list li {
      padding-left: 150px;
    }
    
    .numbered-list li:before {
      counter-increment: list-number;
      content: counter(list-number);
      font-size: 48px;
      font-weight: bold;
      color: var(--blue);
      background: var(--lighterblue);
      width: 100px;
      height: 100px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 100%;
      border: 4px solid var(--blue);
      position: absolute;
      top: 0;
      left: 0;
      z-index: 100;
    }

    .numbered-list li:not(:last-of-type):after {
      content: '';
      width: 4px;
      height: 100%;
      display: block;
      background: var(--blue);
      position: absolute;
      top: 0;
      left: 52px;
      z-index: 50; 
    }
  }

  #as-featured-in {
	background: var(--lighterblue);
  }

  #as-featured-in .imgs {
	display: flex;
	justify-content: center;
  }
  
  #as-featured-in .imgs img {
	margin: 0 50px;
	width: 150px;
  }

  @media only screen and (max-width: 1150px) {
	#as-featured-in .imgs {
		flex-wrap: wrap;
	}
  }

  @media only screen and (max-width: 980px) {
	#as-featured-in, #as-featured-in .et_pb_row {
		padding-bottom: 0;
	}
  }

  @media only screen and (max-width: 767px) {
    .numbered-list li {
      counter-increment: list-number;
    }
    .numbered-list li h4:before {
      content: counter(list-number)". ";
    }
	#as-featured-in .imgs img {
	  margin: 0 30px;
	  width: 80px;
    }
  }
  
/*=============== SUB PAGE STYLES: ===============
==================================================*/

  .sbpg-bnnr-sctn {
    padding: 0!important;
  }

  .sbpg-bnnr-sctn .sbpg-bnnr-rw {
    padding-top: 30px!important;
    background-color: var(--blue);
    background-blend-mode: multiply;
    background-position: top center;
  }

  .sbpg-bnnr-sctn .sbpg-bnnr-rw .sbpg-bnnr-col-1 {
    display: flex;
    align-items: center;
    padding: 0 0 30px 5.25vw;
  }

  .sbpg-bnnr-sctn .sbpg-bnnr-rw .sbpg-bnnr-col-2 {
    display: flex;
    align-items: flex-end;
  }

  .sbpg-bnnr-sctn .sbpg-bnnr .banner-title {
    text-transform: uppercase;
  }

  @media only screen and (max-width: 980px) {
    .sbpg-bnnr-sctn .sbpg-bnnr-rw {
      display: flex;
      flex-direction: column-reverse;
    }

    .sbpg-bnnr-sctn .sbpg-bnnr-rw .sbpg-bnnr-col-1 {
      width: 100%;
      background: var(--white);
      padding-top: 30px;
    }

    .sbpg-bnnr-sctn .sbpg-bnnr {
      width: 100%;
    }

    .sbpg-bnnr-sctn .sbpg-bnnr .banner-title {
      color: var(--blue)!important;
      text-align: center;
    }

    .mobile-btns {
      display: flex!important;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .sbpg-bnnr-sctn .sbpg-bnnr-img {
      max-width: 550px;
      margin: auto auto 0 auto;
    }
	.sbpg-cntnt-sctn {
	  padding-bottom: 0;
	}
  }

  body.no-banner.no-sidebar .sbpg-cntnt-sctn {
    padding: 0!important;
  }

  .sbpg-cntnt-sctn {
    padding-top: 0!important;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt-col-1 {
    padding: 100px 5.25vw;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt h1 {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt h2 {
    padding-top: 35px;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt h3,
  .sbpg-cntnt-sctn .sbpg-cntnt h4 {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt ul, 
  .sbpg-cntnt-sctn .sbpg-cntnt ol {
    list-style-position: outside;
    padding-left: 20px;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt ul li, 
  .sbpg-cntnt-sctn .sbpg-cntnt ol li {
    font-size: 16px;
    line-height: 1.8;
  }

  .sbpg-cntnt-sctn .sbpg-cntnt .et_pb_text_inner > :first-child {
    padding-top: 0!important;
  }

  #as-featured-in-sidebar .imgs img {
	margin: 0 auto;
	width: 40%;
  }

  /* Hide As Featured footer section on home page */
  .page-id-34880 .as-featured-mobile-footer {
	display: none!important;
  }

  @media only screen and (max-width:980px) {
    .awards.grid {
      grid-template-columns: repeat(3,1fr);
    }

    .sbpg-cntnt-sctn .sbpg-cntnt-col-1 {
      padding-top: 0;
    }
	#as-featured-in-sidebar {
	  display: none;
	}
  }

  @media only screen and (min-width:981px) {
	  .as-featured-mobile-footer {
		  display: none;
	  }
  }

  /*------------ About Page: -------------*/

    .team-member .member-image {
      display: block;
      background-color: var(--lightblue);
      background-position: center calc(100% + 10px);
      background-size: contain;
      background-repeat: no-repeat;
      border-radius: 7px;
      max-width: 350px;
      height: 350px;
      width: 100%;
      margin: 50px auto 0;
    }

    .team-member .member-info .member-name {
      display: block;
      margin-top: 40px;
      padding-bottom: 5px;
      color: var(--blue);
    }

    .team-member .member-info .member-title {
      font-size: 22px;
      font-weight: 500;
      color: var(--blue);
      padding-bottom: 25px;
    }

    @media only screen and (min-width:768px) {
      .team-member .member-image {
        margin: 50px 0 0;
      }

      .team-member .member-info .member-name,
      .team-member .member-info .member-title {
        text-align: left;
      }
    }

  /*------------ Attorney Page: -------------*/

    .attorney-content .sbpg-bnnr-sctn .sbpg-bnnr-img {
      max-width: 300px;
    }

    .attorney-content .sbpg-cntnt-sctn {
      padding: 100px 0!important;
    }

    .attorney-content .attorney-image {
      background: var(--lightblue);
      border-radius: 7px;
      overflow: hidden;
      padding-top: 20px;
      width: 100%;
    }

    .attorney-content .attorney-image {
      margin: auto auto 0;
    }

    .attorney-content .attorney-info {
      background: var(--lighterblue);
      border-radius: 7px;
      overflow: hidden;
      width: 100%;
      padding: 40px 35px;
      margin-top: 40px;
    }

    .attorney-content .attorney-info .attorney-info-title {
      color: var(--green);
      font-size: 20px;
    }

    .attorney-content .attorney-info .attorney-info-list {
      padding-left: 22px;
    }

    .attorney-content .attorney-info .attorney-info-list li {
      font-size: 14px;
      color: var(--black);
    }

    @media only screen and (max-width:980px) {
      .attorney-content .sbpg-cntnt-sctn {
        padding: 30px 0 50px!important;
      }
      .attorney-content .sbpg-cntnt-sctn .sbpg-cntnt-rw {
        display: flex;
        flex-direction: column-reverse;
      }

      .attorney-content .attorney-image,
      .attorney-content .attorney-name {
        display: none;
      }

      .attorney-content .banner-title {
        text-transform: initial!important;
      }

      .attorney-content .attorney-title {
        display: inline!important;
      }
    }

  /*------------ Contact Page: -------------*/

    .contact-grid br {
      display: none;
    }

    .contact-grid .grid-item {
      padding: 80px 5.25vw;
      display: flex;
      flex-direction: column;
    }

    .contact-grid .grid-item:first-of-type {
      padding-bottom: 0;
    }

    .contact-grid .grid-item > :first-child {
      padding-top: 0!important;
    }

    .contact-grid .phone-number {
      font-size: 28px;
      color: var(--blue);
      font-weight: bold;
      line-height: 1;
      margin: 40px 0 20px;
    }

    .contact-grid .phone-number:before {
      content: '';
      background-image: url('/wp-content/uploads/icon-phone-green.svg');
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      width: 40px;
      height: 40px;
      display: inline-block;
      margin: auto 20px auto 0;
      vertical-align: middle;
    }

    .contact-grid .attorneys {
      margin: auto auto 0;
      max-width: 550px;
      width: 100%;
    }

    .contact-grid .case-review-form_wrapper {
      margin: auto;
      width: 100%;
    }

    .contact-grid .case-review-form .form-field .gfield_label {
      font-size: 13px;
      font-weight: 400;
      color: var(--blue);
    }

    .contact-grid .case-review-form .form-field .gfield_label .gfield_required {
      display: none;
    }

    @media only screen and (max-width:980px) {
      .contact-grid {
        grid-template-columns: repeat(1,1fr)!important;
      }

      .contact-grid .grid-item:first-of-type {
        padding-top: 50px;
      }
    }

    @media only screen and (min-width:768px) {
      .contact-grid .case-review-form .gform_fields {
        grid-template-columns: repeat(2,1fr)!important;
      }

      .contact-grid .case-review-form .gform_fields .gfield.form-field {
        grid-column: unset;
      }

      .contact-grid .case-review-form .gform_fields .gfield.form-fw {
        grid-area: auto/1/auto/3;
      }
    }

    @media only screen and (max-width:600px) {
      .contact-grid .phone-number:before {
        width: 32px;
        height: 32px;
        margin: auto 15px auto 0;
      }

      .contact-grid .case-review-form input[type="submit"] {
        display: block!important;
      }
    }

/*================ REVIEW US PAGE: ================
===================================================*/

  .review-us-links {
	padding-bottom: 20px;
  }

  .review-us-links > ul > li {
	padding-bottom: 10px;
	list-style: none;
  }

/*=============== TESTIMONIALS PAGE: ==============
===================================================*/

  .stars {
	width: 120px!important;
	margin: 40px 0 10px;;
  }

  h2.testimonials {
	padding-bottom: 20px!important;
  }

  @media only screen and ( max-width: 980px ){
	  h2.testimonials {
	    margin-top: 40px;
		padding-bottom: 10px!important;
      }
  }

/*================= SIDEBAR STYLES: ================
===================================================*/

  .sidebar-item {
    padding: 35px 30px;
    margin-bottom: 0!important;
    background: var(--lighterblue);
  }

  .sidebar-item .sidebar-item-ttl {
    font-size: 25px;
    font-weight: bold;
    color: var(--blue);
    padding-bottom: 30px;
    text-align: center;
  }

  /*----------- Case Review: -----------*/
    
    #case-review-sidebar-item {
      background: var(--lightblue);
    }

    #case-review-sidebar-item .sidebar-form-desc {
      font-size: 14px!important;
      padding-bottom: 15px!important;
    }

    #case-review-sidebar-item .form-field .gfield_label {
      color: var(--black);
    }

    #case-review-sidebar-item .gform_footer {
      padding: 0!important;
    }

  /*----------- Testimonials: -----------*/

    #testimonials-sidebar-item {
      background: var(--lighterblue);
    }

    #testimonials-sidebar-item .et_pb_code_inner {
      text-align: center;
    }

    #testimonials-sidebar-item .client-reviews-slider {
      margin-top: 0;
      padding: 35px 40px;
      background: var(--white);
      border-radius: 6px;
      position: relative;
      box-shadow: 0px 0px 68px 0px rgba(15, 34, 112, 0.15);
    }

    #testimonials-sidebar-item .client-reviews-slider:before,
    #testimonials-sidebar-item .client-reviews-slider:after {
      display: block;
      position: absolute;
      color: var(--blue);
      font-family: var(--avenir);
      font-size: 50px;
      font-weight: bold;
      line-height: 1;
    }

    #testimonials-sidebar-item .client-reviews-slider:before {
      content:'“';
      top: 5px;
      left: 10px;
    }

    #testimonials-sidebar-item .client-reviews-slider:after {
      content:'”';
      bottom: -10px;
      right: 10px;
    }

    #testimonials-sidebar-item .client-reviews-slider .slider_controls {
      display: none;
    }

    #testimonials-sidebar-item .client-reviews-slider .quote {
      color: var(--blue);
      text-align: left;
    }

    #testimonials-sidebar-item .btn {
      font-family: var(--avenir);
      border-radius: 4px;
      margin-top: 40px;
    }

  /*----------- Related: -----------*/

    #related .related-menu {
      padding: 20px;
    }

    #related .related-menu .sidebar-menu {
      list-style: none;
    }

    #related .related-menu .sidebar-menu ul {
      padding: 0!important;
    }

    #related .related-menu .sidebar-menu li:not(:last-of-type) {
      padding-bottom: 15px;
    }

    #related .related-menu .sidebar-menu li a {
      display: table;
    }

    #related .related-menu .sidebar-menu li > a:after {
      content: '';
      display: block;
      background: var(--green);
      width: 100%;
      height: 0;
      opacity: 0;
      transition: all .25s ease-in-out;
    }

    #related .related-menu .sidebar-menu li:hover > a:after {
      height: 2px;
      opacity: 1;
    }

/*================== BLOG STYLES: ==================
===================================================*/

  .blog-content .inner-content > article {
    display: grid;
    grid-template-columns: 35% 56.5%;
    grid-gap: 0px 8.5%;
    margin-bottom: 75px;
  }

  .blog-content .inner-content > article:first-of-type {
    margin-top: 0px!important;
  }

  .blog-content .inner-content > article:last-of-type {
    margin-bottom: 100px!important;
  }

  .blog-content .inner-content article .entry-title {
    padding-top: 3px!important;
    padding-bottom: 30px!important;
    font-size: 23px;
  }

  .blog-content .inner-content article .excerpt {
    font-size: 15px;
    font-weight: 500;
    color: var(--blue);
    padding-bottom: 40px;
  }

  @media only screen and (max-width: 980px) {
    .blog-content .inner-banner .page-title {
      padding-top: 30px!important;
    }

    .blog-content .inner-content article {
      grid-template-columns: repeat(1, 1fr);
    }

    .blog-content .inner-content article .img-block {
      display: none!important;
    }

    .blog-content .inner-content > article:first-of-type {
      margin-top: 50px!important;
    }

    .blog-content .inner-content > article:last-of-type {
      margin-bottom: 50px!important;
    }
  }

  @media only screen and (max-width: 500px) {
    .blog-content .inner-banner .page-title {
      text-align: center;
    }
  }

  .single-post-banner {
    height: 300px;
    background-position: center;
  }

  .single-post-banner + .sbpg-cntnt-sctn .sbpg-cntnt-col-1 {
    padding-top: 100px;
  }

/*================ PRE-FOOTER: ====================
==================================================*/

  /*--------------- Testimonial -------------*/

    #prefooter-testimonial {
      padding: 0!important;
    }

    #prefooter-testimonial .prefooter-testimonial-col-1 {
      background: var(--lighterblue);
      padding: 5.25vw;
    }

    #prefooter-testimonial .prefooter-testimonial-col-2 {
      background-image: url('/wp-content/uploads/testimonial.jpg');
      background-position: center top;
      background-size: cover;
    }

    #prefooter-testimonial .testimonial .review-quote {
      letter-spacing: 0.025em;
      color: var(--blue);
      padding-bottom: 0!important;
    }

    #prefooter-testimonial .testimonial .review-info {
      font-size: 20px;
      font-weight: 500;
      color: var(--blue);
      display: flex;
      align-items: center;
      margin-top: 50px;
    }

    #prefooter-testimonial .testimonial .review-info img {
      width: 100px;
      margin: auto 20px;
    }

    #prefooter-testimonial .testimonial .btn {
      margin-top: 50px;
    }

    @media only screen and (max-width: 767px) {
      #prefooter-testimonial .prefooter-testimonial-col-1 {
        padding: 75px 5.25vw;
      }

      #prefooter-testimonial .testimonial .btn {
        display: block;
      }
    }

  /*--------------- Recent Articles -------------*/

    .recent-articles-posts > div {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      column-gap: 8%;
    }
    
    .recent-articles-posts > div article {
      margin-bottom: 0;
      display: flex;
      flex-direction: column;
    }

    .recent-articles-posts > div article .entry-title {
      padding-bottom: 20px;
    }

    .recent-articles-posts > div article .post-content {
      margin-top: auto;
      margin-bottom: 0;
    }

    .recent-articles-posts > div article .post-content p {
      color: var(--black);
      font-size: 15px;
      line-height: 1.7;
    }

    .recent-articles-posts > div article .post-content .more-link {
      cursor: pointer;
      display: table;
      text-transform: uppercase;
      text-align: center;
      font-family: var(--trebuchet);
      font-weight: bold;
      font-size: 14px;
      line-height: 1;
      padding: 8px 30px;
      background: var(--blue);
      color: var(--white);
      margin-top: 40px;
    }

    @media only screen and (max-width: 767px) {
      .recent-articles-posts > div {
        grid-template-columns: repeat(1,1fr);
      }

      .recent-articles-posts > div article:not(:first-of-type) {
        display: none;
      }

      .recent-articles-posts > div article .post-content .more-link {
        display: block;
        background: var(--green);
        padding: 10px 30px;
      }
    }

/*=================== FOOTER: ====================
==================================================*/

  /*--------------- Call Us CTA -------------*/

    #main-footer .call-us-cta-sctn {
      background: var(--blue);
      padding: 70px 0 0!important;
    }

    #main-footer .call-us-cta-sctn .call-us-cta-img {
      max-width: 1180px;
    }

	#main-footer .call-us-cta-sctn .call-us-cta-col-1 {
		margin-right: 0;
	}

    #main-footer .call-us-cta-sctn .call-us-cta-col-2 {
      padding-right: 2vw;
      padding-bottom: 70px;
      display: flex;
      align-items: center;
    }

    @media only screen and (max-width: 980px) {
      #main-footer .call-us-cta-sctn {
        padding-top: 50px;
      }

      #main-footer .call-us-cta-sctn .call-us-cta-rw {
        display: flex;
        flex-direction: column-reverse;
      }

      #main-footer .call-us-cta-sctn .call-us-cta-col-1 {
        padding: 0 10px;
        margin-bottom: 0;
      }

      #main-footer .call-us-cta-sctn .call-us-cta-col-2 {
        padding: 0 5vw 55px;
      }

      #main-footer .call-us-cta-sctn .call-us-cta-txt {
        text-align: center;
      }

      #main-footer .call-us-cta-sctn .call-us-cta-txt .btn {
        margin: 0 auto;
      }
    }

    @media only screen and (max-width: 767px) {
      #main-footer .call-us-cta-sctn .call-us-cta-col-1 {
        display: none;
      }
    }

  /*--------------- Map Location -------------*/

    #locations-map {
      padding: 0!important;
    }

    #locations-map .locations-map-key {
      padding: 40px 5vw;
      background: var(--lighterblue);
    }

    #locations-map .locations-map-key .key-location {
      display: block;
      line-height: 1.5;
    }

    #locations-map .locations-map-key .key-location:not(:last-of-type) {
	  margin-bottom: 20px;
    }

    #locations-map .locations-map-key .key-location:hover * {
      text-decoration: underline;
      font-weight: var(--bold);
    }

    #locations-map .locations-map-key .key-location .city {
      padding-bottom: 8px!important;
      color: var(--blue);
      transition: all .25s ease-in-out;
    }

    #locations-map .locations-map-key .key-location address {
      font-style: normal;
      font-weight: 500;
      font-size: 11px;
      text-transform: uppercase;
      color: var(--blue);
    }

    #locations-map .locations-map {
      background-image: url('/wp-content/uploads/map.jpg');
      background-size: cover;
      background-position: top center;
      position: relative;
    }

    #locations-map .locations-map:before,
    #locations-map .locations-map:after {
      content: '';
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: top center;
    }

    #locations-map .locations-map:before {
      background-image: url('/wp-content/uploads/locations-map-default.png');
    }

@media only screen and (max-width: 980px ){
	#locations-map .locations-map:before {
      background-image: url('/wp-content/uploads/Young_Marr_Mobile_Map_Update.png');
    }
	#locations-map {
		display: none;
	}
}

    #locations-map .locations-map:after {
      z-index: 100;
    }

    #locations-map .locations-map.allentown:after {
      background-image: url('/wp-content/uploads/locations-map-allentown.png');
    }

    #locations-map .locations-map.bala-cynwyd:after {
      background-image: url('/wp-content/uploads/locations-map-bala-cynwyd.png');
    }

    #locations-map .locations-map.bensalem:after {
      background-image: url('/wp-content/uploads/locations-map-bensalem.png');
    }

    #locations-map .locations-map.cinnaminson:after {
      background-image: url('/wp-content/uploads/locations-map-cinnaminson.png');
    }

    #locations-map .locations-map.easton:after {
      background-image: url('/wp-content/uploads/locations-map-easton.png');
    }

    #locations-map .locations-map.hamilton-township:after {
      background-image: url('/wp-content/uploads/locations-map-hamilton-township.png');
    }

    #locations-map .locations-map.jenkintown:after {
      background-image: url('/wp-content/uploads/locations-map-jenkintown.png');
    }

	#locations-map .locations-map.marlton:after {
      background-image: url('/wp-content/uploads/locations-map-marlton.png');
    }

	#locations-map .locations-map.philadelphia:after {
      background-image: url('/wp-content/uploads/locations-map-philadelphia.png');
    }

	#locations-map .locations-map.piscataway:after {
      background-image: url('/wp-content/uploads/locations-map-piscataway.png');
    }

	#locations-map .locations-map.quakertown:after {
      background-image: url('/wp-content/uploads/locations-map-quakertown.png');
    }

	#locations-map .locations-map.doylestown:after {
      background-image: url('/wp-content/uploads/locations-map-doylestown.png');
    }

	#locations-map .locations-map.plymouth-meeting:after {
      background-image: url('/wp-content/uploads/locations-map-plymouth-meeting.png');
    }

    @media only screen and (max-width:980px) {
      #locations-map .locations-map-key {
        display: none;
      }

      #locations-map .locations-map {
        display: block!important;
        height: 400px;
      }
    }

    @media only screen and (max-width:640px) {
      #locations-map .locations-map {
        height: 300px;
      }
    }

  /*--------------- Main Footer -------------*/

    #footer {
      background: var(--blue);
      padding: 60px 0 10px!important;
    }

    #footer * {
      color: var(--white)!important;
    }

    #footer .main-rw {
      margin-bottom: 60px!important;
    }

    #footer .locations-grid .location {
      font-weight: 500;
    }

    #footer .locations-grid .location:hover {
      text-decoration: underline;
      font-weight: bold;
    }

    #footer .locations-grid .location .city {
      font-size: 16px;
    }

    #footer .locations-grid .location address {
      font-size: 12px;
      font-style: normal;
      line-height: 1.5;
    }

    #footer .review-img {
      text-align: center;
      transition: opacity .25s ease-in-out;
    }

    #footer .review-img:hover {
      opacity: .6;
    }

    #footer .review-img.write-a-review img {
      max-width: 175px;
    }

    #footer .review-img.google-reviews img {
      max-width: 100px;
    }

    #footer .ftr-icns {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #footer .ftr-icns .icn {
      display: block;
      width: 30px;
      height: auto;
      transition: opacity .25s ease-in-out;
    }

    #footer .ftr-icns .icn:hover {
      opacity: .4;
    }

    #footer .ftr-icns .icn:not(:last-of-type) {
      margin-right: 10px;
    }

    #footer .ftr-icns .icn img {
      width: 100%;
    }

    #footer .footer-menu {
      line-height: 1.7;
    }

    #footer .footer-menu li {
      font-size: 12px;
      font-weight: bold;
      text-transform: uppercase;
      transition: opacity .25s ease-in-out;
    }

    #footer .footer-menu li:hover {
      opacity: .4;
    }

    #footer .disclaimer-rw .disclaimer {
      font-size: 11px;
      line-height: 1.2;
      font-family: var(--trebuchet);
      text-transform: uppercase;
    }

    #footer .disclaimer-rw .disclaimer a {
      transition: opacity .25s ease-in-out;
    }

    #footer .disclaimer-rw .disclaimer a:hover {
      opacity: .4;
    }

    #footer .disclaimer-rw .majux-credit {
      font-size: 14px;
      line-height: 1.2;
      font-weight: bold;
      font-family: var(--trebuchet);
      display: block;
      transition: opacity .25s ease-in-out;
    }

    #footer .disclaimer-rw .majux-credit:hover {
      opacity: .4;
    }

    #footer .disclaimer-rw .majux-credit .majux-logo {
      width: 45px;
      margin-left: 2px;
      vertical-align: middle;
      opacity: inherit;
      display: inline;
    }

    @media only screen and (min-width: 981px) {
      #footer .disclaimer-rw {
        display: flex;
        align-items: center;
      }
    }

    @media only screen and (max-width: 767px) {
      #footer .main-rw {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      #footer .main-rw .ftr-col {
        margin: 0 auto 30px!important;
      }

      #footer .main-rw .ftr-col-1 {
        order: 3;
      }

      #footer .main-rw .ftr-col-2 {
        order: 1;
      }

      #footer .main-rw .ftr-col-3 {
        order: 2;
      }

      #footer .footer-menu {
        margin: 30px auto;
        text-align: center;
      }

      #footer .locations-grid-wrap {
        text-align: center;
      }

      #footer .locations-grid.grid-3 {
        display: inline-grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 40px 20px;
        text-align: left;
        max-width: 100%;
      }

      #footer .disclaimer-rw .disclaimer,
      #footer .disclaimer-rw .majux-credit {
        text-align: center;
        line-height: 1.7;
      }
    }


/*================= RESET STYLES: =================
===================================================*/

  .et_pb_widget_area {
    margin: 0!important;
    padding: 0!important;
    border:0!important;
  }

  .et_pb_widget {
    float: none;
  }

  .et_pb_gutters1 .et_pb_column .et_pb_widget:nth-child(n) {
    width: 100%!important;
  }

  .single .post {
    margin: 0!important;
    padding: 0!important;
  }

  .et_pb_post .entry-content {
    padding-top: 0!important;
  }

  #page-container > .et_pb_section {
    display: none!important;
  }

  body {
    overflow-x: hidden;
    width: 100vw!important;
    max-width: 100vw !important;
  }

  #main-content .container:before {
    display: none!important;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
  }

  .et_pb_blurb_content {
    max-width: unset!important;
  }

  .align-center {
    text-align: center!important;
    margin-left: auto !important;
    margin-right: auto!important;
  }

  .center-content {
    display: flex;
    flex-direction: column;
    text-align: center!important;
    align-items: center!important;
    justify-content: center!important;
  }

  body.stop-scroll {
    overflow: hidden!important;
    height: 100vh!important;
  }

/*============= RESPONSIVE LAYOUTS: ==============
==================================================*/

	/*------------------- 1280px: ------------------*/

		@media only screen and ( min-width: 1281px ) {
		  
		}

		@media only screen and ( min-width: 1280px ) {
		  
		}

		@media only screen and ( min-width: 980px ) and ( max-width: 1280px ) {

		}

	/*------------------- 1024-25px: ------------------*/

		@media only screen and ( min-width: 1025px ) {

		}

		@media only screen and ( max-width: 1024px ) {

		}

		@media only screen and ( min-width: 981px ) and ( max-width: 1024px ) {
		  
		}

	/*------------------- 980-81px: ------------------*/

		@media only screen and ( min-width: 981px ) {

		}

		@media only screen and ( max-width: 980px ) {
		  
		}

	/*------------------- 767-68px: ------------------*/

		@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {

		}

		@media only screen and ( min-width: 768px ) {

		}

		@media only screen and ( max-width: 767px ) {

		}

	/*------------------- 640-41px: ------------------*/

		@media only screen and ( min-width: 641px ) {

		}

		@media only screen and ( max-width: 640px ) {

		}

	/*------------------- 600-01px: ------------------*/

		@media only screen and ( min-width: 601px ) {

		}

		@media only screen and ( max-width: 600px ) {

		}

	/*------------------- 500-01px: ------------------*/

		@media only screen and ( min-width: 501px ) {

		}

		@media only screen and ( max-width: 500px ) {
		  
		}

/*=================== WEBFONTS: ====================
===================================================*/

  /*------ Avenir ------*/

    @font-face {
      font-family: 'Avenir';
      src: url('/wp-content/themes/majux-child-theme/fonts/Avenir/Avenir-Roman.woff2') format('woff2'),
          url('/wp-content/themes/majux-child-theme/fonts/Avenir/Avenir-Roman.woff') format('woff');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Avenir';
      src: url('/wp-content/themes/majux-child-theme/fonts/Avenir/Avenir-Medium.woff2') format('woff2'),
          url('/wp-content/themes/majux-child-theme/fonts/Avenir/Avenir-Medium.woff') format('woff');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Avenir';
      src: url('/wp-content/themes/majux-child-theme/fonts/Avenir/Avenir-Black.woff2') format('woff2'),
          url('/wp-content/themes/majux-child-theme/fonts/Avenir/Avenir-Black.woff') format('woff');
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    } 

  /*------ Trebuchet MS ------*/

    @font-face {
      font-family: 'Trebuchet MS';
      src: url('/wp-content/themes/majux-child-theme/fonts/TrebuchetMS/TrebuchetMS.woff2') format('woff2'),
          url('/wp-content/themes/majux-child-theme/fonts/TrebuchetMS/TrebuchetMS.woff') format('woff');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: 'Trebuchet MS';
      src: url('/wp-content/themes/majux-child-theme/fonts/TrebuchetMS/TrebuchetMS-Bold.woff2') format('woff2'),
          url('/wp-content/themes/majux-child-theme/fonts/TrebuchetMS/TrebuchetMS-Bold.woff') format('woff');
      font-weight: bold;
      font-style: normal;
      font-display: swap;
    }



	@media only screen and ( max-width: 500px ){
			img.alignleft {
			float: none;
			padding-bottom: 20px;
		}
	}



/* Override dark overlay for inner page banner images */
	.sbpg-bnnr-sctn .sbpg-bnnr-rw {
		background-color: transparent!important;
	}


/* Center H1 and btns on mobile (inner pages) */
	.sbpg-bnnr-sctn .sbpg-bnnr-rw .sbpg-bnnr-col-1 {
		padding: 30px 5.25vw 30px 5.25vw!important;
	}

	@media only screen and ( max-width: 980px ){
		.btn--inline:not(:last-of-type) {
			margin-right: 0;
		}
	}