/*
Theme name: VanDerGinst Law
Description: Custom Theme
*/

/*
    Source post-css styles are located in resources/css/
    The compiled bundle is saved to `dist/css/bundle-${fingerprint}.css`
    (dist/manifest.json provides the exact path mapping).
    
    DEVELOPMENT.md file contains instructions how to get the compilation
    process up & running.

    If you need to make a quick fix, feel free to add CSS
    below this comment -- it's loaded after the compiled bundle. 
*/

/* code for easy carousel for testimonials*/
.testimonial {
  display: none;
  text-align: center;
  font-size: 1.1rem;
}
.testimonial.active {
  display: block;
}



.sub-menu a {
font-size: 12px !important;
	font-weight: 200;
	color: #2b2b2b;
}

.form__head h2,
.section-posts .section__head h2 {
    font-size: 36px;
    line-height: 1.25;
    font-weight: 400;
    color: #d92e34;
    font-family: Playfair Display,Helvetica,sans-serif;
}

.section-posts .section__head h2.cat-title {
-webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.section-posts .section__head {
    align-items: center;
}

.intro .intro__content h2 {
    max-width: 522px;
    font-size: 47px;
    font-family: Raleway,Helvetica,sans-serif;
    color: #2a2a2a;
    font-weight: 500;
}

.section-services .section__head h2.practice-title {
    margin-bottom: 0;
    padding-right: 22px;
    border-right: 2px solid #d92e34;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 400;
    color: #d92e34;
    font-family: Playfair Display,Helvetica,sans-serif;
}

.section-slider .section__content h2 {
    margin-bottom: 27px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 400;
    color: #d92e34;
    font-family: Playfair Display,Helvetica,sans-serif;
}

.section-community .section__aside-entry h2 {
    margin-bottom: 10px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 400;
    color: #d92e34;
    font-family: Playfair Display,Helvetica,sans-serif;
}

.section-community .cols .section__content h2.community-section-title {
    margin-bottom: 15px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 400;
    color: #d92e34;
    font-family: Playfair Display,Helvetica,sans-serif;
}

.section-details .article__head h2 {
    position: relative;
    background: #f8f6f6;
    padding-right: 35px;
    max-width: 500px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 400;
    color: #d92e34;
    font-family: Playfair Display,Helvetica,sans-serif;
}

.section-details .article__head h2:before {
    position: absolute;
    content: "";
    height: 2px;
    background: #d92e34;
    width: 100vw;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
    margin-top: 2px;
}

body.archive .intro--secondary .intro__content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    max-width: 100%;
    font-family: Raleway,Helvetica,sans-serif;
    color: #2a2a2a;
}

/*** Masks of Love Section ***/

body.home .section-slider {
    position: relative;
    padding: 0 0 150px;
}

body.home .section-areas {
    padding: 0;
    background-color: lightgrey;
    margin-bottom: 225px;
}

body.home .section-areas .cols .section__aside--image-holder .section__aside-texture:before {
    content: none;
}

body.home .section-areas .shell {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

body.home .section-areas .section__inner {
    flex-wrap: wrap;
    align-items: center;
}

body.home .section-areas .cols .section__aside--image-holder .section__aside-texture {
    display: none;
}

body.home .section.section-areas .cols .section__aside {
    position: static;
    flex-basis: 50%;
    order: 1;
    margin-top: 0;
}

body.home .section-areas .cols .section__aside--image-holder .section__aside-image {
    position: static;
    z-index: 2;
    top: unset;
    right: unset;
    width: auto;
    padding: calc(225px + .5vw) 0;
    margin-top: 0;
}

body.home .section-areas .section__content {
    flex-basis: 50%;
    order: 2;
    padding: 0 50px;
}

@media (max-width: 1024px) {
    body.home .section-slider {
        padding: 0 0 50px;
    }

    body.home .section-areas .cols .section__aside--image-holder .section__aside-image {
        padding: 20vw 0;
        margin-top: 0;
    }
}

@media (max-width: 980px) {
    body.home .section-areas {
        margin-bottom: 25px;
    }
}

@media (max-width: 897px) {
    body.home .section-areas .section__content {
        flex-basis: 100%;
        order: 1;
        margin-top: 25px;
    }

    body.home .section.section-areas .cols .section__aside {
        flex-basis: 100%;
        order: 1;
    }

    body.home .section-areas .section__content {
        padding: 0 25px;
    }
}


/*** ADA Comp changes ***/

.sr-only {
    display: none;
}

.nav li.current-menu-item.menu-item-has-children a:before, 
.nav li.current-menu-item>a,
a.link-more  {
    color: #9F1D22;
}

.section .cols .section__aside--video-holder .video__placeholder:before {
    background: rgba(0,0,0,.8);
}

.video .play a {
    color: #6B1419;
}

.article--sm .article__details li {
    color: #525252;
}

.footer__bar a {
    color: #fff;
}

.footer__bar a:hover {
    color: #9F1D22;
}

/*** Banner ***/

#banner-cities a {
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    -webkit-transition: all .5s;
    transition: all .5s;
}

#banner-cities a:hover {
    color: #bf0006;
}

/*** Mobile Menu ***/

@media (max-width: 1200px) {
    body.nav-show .header .nav {
        height: 70vh;
        overflow: scroll;
        -ms-overflow-style: none;
    }

    body.nav-show .header .nav::-webkit-scrollbar {
      display: none;
    }

    .header .nav ul {
        overflow-y: hidden;
        overflow-x: visible;
    }
}

/*** Testimonials Page - testimonials.php ***/

div#testimonials-wrapper {
    margin-top: 50px;
}

.grid-container-12 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(12, 1fr);
}

#vid-testimonials-inner-wrapper {
    grid-column: 2 / 12;
    grid-row: 1;
}

#text-testimonials-inner-wrapper {
    grid-column: 2 / 12;
    grid-row: 2;
}

div#video-testimonial-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin-bottom: 25px;
    align-items: center;
}

#vid-testimonials-inner-wrapper .video-image {
    grid-column: 1 / 5;
    grid-row: 1;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center
}

#vid-testimonials-inner-wrapper .video-image img {
    width: 100%;
}

#vid-testimonials-inner-wrapper .video-text {
    grid-column: 5 / 13;
    grid-row: 1;
    padding: 25px;
    margin-left: 20px;
    border: 2px solid #d92e34;
}

#vid-testimonials-inner-wrapper .video-text i.fas.fa-quote-left,
#text-testimonials-inner-wrapper .testimonials-text i.fas.fa-quote-left {
    color: ;
    font-size: 30px;
    margin-bottom: 50px;
    display: block;
    text-align: right
}

#vid-testimonials-inner-wrapper .video-text h3,
#text-testimonials-inner-wrapper .testimonials-text h3 {
    font-size: 23px;
    clear: both;
    text-align: right;
    color: #272626;
}

div#text-testimonial-wrapper {
    padding: 20px;
    border-radius: 3px;
    border: 2px solid red;
    margin: 20px;
}

#text-testimonials-inner-wrapper {
    grid-column: 2 / 12;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
}

div#text-testimonials-inner-wrapper>* {
    flex: 1 45%;
}

@media (max-width: 1024px) {
    #vid-testimonials-inner-wrapper .video-image {
        grid-column: 1 / 13;
        grid-row: 1;
        margin-bottom: 25px;
    }
    

    #vid-testimonials-inner-wrapper .video-text {
        grid-column: 1 / 13;
        grid-row: 2;
        margin-left: 0;
    }

    div#text-testimonials-inner-wrapper>* {
        flex: 1 100%;
    }

    div#text-testimonial-wrapper {
        margin: 20px 0;
    }
}

.video .play span {
    display: block;
    height: 100%;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
}

#vid-testimonials-inner-wrapper a {
    grid-column: 1 / 5;
    grid-row: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.video .play {
    width: 100px;
    height: 100px;
}

body.page-template-testimonials .section__content.lazy.is-visible {
    position: relative;
    top: 4vw;
}


@media (max-width: 1200px) {
    body.page-template-testimonials .section__content.lazy.is-visible {
        top: 0;
    }
}

@media (max-width: 1024px) {
    #vid-testimonials-inner-wrapper a {
        grid-column: 1 / 13;
    }
}



.video-gallery-parent643 {
    float: none!important;
}

body.home .intro {
    padding: 100px 0 62px!important;
}

body.home .intro .intro__content .btn {
    margin-top: 0px!important;
 }

body.home .intro--home:before {
    top: 264px!important;
}

@media (max-width: 812px) {
    body.home .intro--home:before {
        top: 194px!important;
    }
}

/*** WP Table Styles ***/

table.wp-block-table {
    width: 100%;
    border: 1px solid #dcdcdc;
    margin-bottom: 25px;
}

table.wp-block-table td {
    font-size: 16px;
    line-height: 1.5em;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    border: 1px solid #dcdcdc;
    font-weight: 500;
}

table.wp-block-table tr:nth-child(odd) {
    background: #efefef;
}

table.wp-block-table tr:nth-child(even) {
    background: #dcdcdc;
}

@media (max-width: 781px) {
    .wp-block-column {
        -ms-flex-preferred-size: 100%!important;
            flex-basis: 100%!important;
        margin-left: 0!important;
        margin-right: 0!important;
    }
}

@media (max-width: 768px) {
    .wp-block-image .alignright {
      float: none;
      margin-left: 1em;
  }

  .wp-block-image .alignrleft {
      float: none;
      margin-left: 1em;
  }
}

@media (max-width: 1024px) {
  main section {
      padding: 0 4vw!important;
  }
}

/*** Header ***/

p.phone-24 {
    font-size: 21px;
}

@media (max-width: 1222px) {
    p.phone-24 {
    font-size: 17px;
}
}


img.bbb-logo.lazyloaded {
    width: 40px;
    margin-left: 15px;
}

/*** In Content Form Button ***/

button#gform_submit_button_5 {
    width: 100%;
    background: #d92e32;
    color: #fff;
    padding: 20px 0;
    border: 1px solid #d92e32;
    -webkit-transition: all .5s;
    transition: all .5s;
}

button#gform_submit_button_5:hover {
    background: #fff;
    color: #d92e32;
}

/*** Mobile Menu ***/

@media (max-width: 1200px) {
    .nav > ul > li:hover ul,
    .nav > ul > li.hovered ul {
        max-height: 0;
        margin-top: 0;
    }

    .nav > ul > li ul.clicked {
        max-height: 1000px;
        margin-top: 15px;
    }
}

/*** Case Type Landing ***/

body.page-template-case-types .intro--secondary {
    z-index: -1;
    border-bottom: 90px solid #e5e5e5;
}


body.page-template-case-types .section-case-details .shell {
    margin-top: -160px;
    padding-right: 32px;
}

body.page-template-case-types .section-case-details .section__content {
    max-width: 100%;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
    padding-top: 0;
    margin-right: 0;
}

body.page-template-case-types #locations-wrapper {
    max-width: 900px;
    width: 100%;
    display: flex;
    padding: 0 25px;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
}

body.page-template-case-types #locations-wrapper a:hover {
    text-decoration: none;
}

body.page-template-case-types .location-left,
body.page-template-case-types .location-right {
    display: flex;
    min-width: 450px;
    justify-content: space-evenly;
    align-items: center;
    padding: 25px 0;
    background: #fff;
    -webkit-transition: all .3s;
    transition: all .3s;
}

body.page-template-case-types #locations-wrapper a:hover .location-left,
body.page-template-case-types #locations-wrapper a:hover .location-right {
    transform: scale(1.05);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
}

body.page-template-case-types #locations-wrapper a:hover .location-right {
    transform: scale(1.10);
}

body.page-template-case-types .location-left {
    padding-right: 30px!important;
    border-right: 1px solid #B3B3B3;
    padding-left: 20px;
}

body.page-template-case-types .location-right {
    padding: 24px 20px 10px 0;
}

body.page-template-case-types #locations-wrapper span.state-name {
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 35px;
    line-height: 120.5%;
    color: #D92E34;
}

body.page-template-case-types #locations-wrapper h2 {
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 120.5%;
    color: #D92E34;
}

body.page-template-case-types #locations-wrapper a {
    font-family: Raleway;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 171.4%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2A2A2A;
}

body.page-template-case-types #locations-wrapper .location-content {
    margin-left: 30px;
}

body.page-template-case-types article.article {
    margin-top: 50px;
}

body.page-template-case-types article.article--md h2 {
    margin-bottom: 20px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    color: #2A2A2A;
}

body.page-template-case-types .section-case-details #video-cta-wrapper {
    display: flex;
    align-items: center;
}

body.page-template-case-types .section-case-details #video-cta-wrapper .video {
    padding-bottom: 20.55%;
    flex-basis: 45%;
    max-width: 45%;
    margin: 0;
}

body.page-template-case-types .section-case-details #video-cta-wrapper .video-cta-right {
    flex-basis: 55%;
    padding-left: 100px;
}

body.page-template-case-types .section-case-details .video-cta-right h2 {
    font-family: Playfair Display;
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    line-height: 36px;
    color: #D92E34;
    margin-bottom: 15px;
}

body.page-template-case-types .section-case-details .video-cta-right h3 {
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #2A2A2A;
}

body.page-template-case-types .section-case-details .video-cta-right a.btn {
    max-width: 270px;
    width: 100%;
}

body.page-template-case-types #bottom-content {
    margin-top: 50px;
}

body.page-template-case-types #bottom-content div#bottom-content-upper {
    margin-bottom: 50px;
}

body.page-template-case-types #bottom-content h2 {
    margin-bottom: 20px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    color: #2A2A2A;
}

body.page-template-case-types #bottom-content ul#results-testimonials {
    display: flex;
    list-style: none;
}
body.page-template-case-types #bottom-content ul#results-testimonials li:nth-child(1) {
    flex-basis: 65%;
}

body.page-template-case-types #bottom-content ul#results-testimonials li:nth-child(2) {
    flex-basis: 35%;
    background: #D22A2E;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 50px 25px;
    margin-left: 3%;
}

body.page-template-case-types #bottom-content ul#results-testimonials li:nth-child(2) * {
    color: #fff!important;
    fill: #fff!important;
}

body.page-template-case-types #bottom-content .result-block h2 {
    font-family: Raleway;
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 110.36%;
    color: #2e2e2e;
    margin-bottom: 0;
}

body.page-template-case-types #bottom-content span.result-practice {
    font-family: Playfair Display;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 30px;
    color: #D92E34;
}

body.page-template-case-types #bottom-content p {
    margin-bottom: 10px;
}

body.page-template-case-types #bottom-content .result-block {
    background-color: #fff;
    padding: 25px 50px;
    margin-top: 0;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid transparent;
    -webkit-transition: all .3s;
    transition: all .3s;
}

body.page-template-case-types #bottom-content .result-block:hover {
    border: 1px solid #D92E34;
}

body.page-template-case-types #bottom-content .result-block:last-child {
    margin-bottom: 0;
}

body.page-template-case-types #bottom-content .testimonial {
    padding: 10px 0 0 50px;
}

body.page-template-case-types #bottom-content .testimonial p {
    margin-bottom: 10px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150.27%;
}

body.page-template-case-types #bottom-content .testimonial h3 {
    font-weight: 900;
}

body.page-template-case-types #bottom-content .testimonial:before {
    position: absolute;
    content: '\f10d';
    width: 30px;
    height: 25px;
    top: -10px;
    left: 5px;
    color: #fff;
    font-size: 35px;
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
}

body.page-template-case-types div#bottom-content-lower {
    margin: 50px 0;
}

body.page-template-case-types #related-pages {
    background: #fff;
    list-style: none;
    padding: 25px;
    box-shadow: 0 2px 1px 1px rgba(0,0,0,0.1);
}

body.page-template-case-types #related-pages h2.list__title {
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 26px;
    color: #D92E34;
}

body.page-template-case-types ul#related-pages ul {
    columns: 3;
}

@media (max-width: 1024px) {
    body.page-template-case-types .section-case-details .section__content {
        margin-right: 0!important;
    }

    body.page-template-case-types #locations-wrapper {
        max-width: 100%;
        padding: 0;
    }

    body.page-template-case-types #locations-wrapper a {
        flex-basis: 50%;
    }

    body.page-template-case-types .location-left, body.page-template-case-types .location-right {
        min-width: 1px;
    }

    body.page-template-case-types .section-case-details .video {
        margin: 0 0 30px 4vw!important;
        padding-bottom: 30.65%!important;
    }

    body.page-template-case-types .section-case-details .video-cta-right h2 {
        font-size: 30px;
        margin-bottom: 0;
    }

    body.page-template-case-types .section-case-details .video-cta-right h3 {        
        font-size: 18px;
    }

    body.page-template-case-types .section-case-details #video-cta-wrapper .video-cta-right {
        padding-left: 50px;
    }

    body.page-template-case-types .section-case-details .video-cta-right a.btn {
        padding: 10px 0;
        max-width: 150px;
        font-size: 13px;
    }

    body.page-template-case-types #bottom-content ul#results-testimonials li:nth-child(1) {
        flex-basis: 100%;
    }

    body.page-template-case-types #bottom-content ul#results-testimonials li:nth-child(2) {
        flex-basis: 100%;
    }

    body.page-template-case-types #bottom-content .list-info ul a {
        font-size: 14px;
    }
}



@media (max-width: 768px) {
    body.page-template-case-types #locations-wrapper a {
        flex-basis: 100%;
    }

    body.page-template-case-types #locations-wrapper {
        display: block;
    }

    body.page-template-case-types .location-left, body.page-template-case-types .location-right {
        border-bottom: 1px solid #cdcdcd;
        border-right: none;
        margin-bottom: 10px;
    }

     body.page-template-case-types svg:not(:root) {
        min-width: 100px;
        width: 100%;
    }

    body.page-template-case-types .section-case-details #video-cta-wrapper {
        flex-wrap: wrap;
    }

    body.page-template-case-types .section-case-details #video-cta-wrapper .video-cta-right {
        flex-basis: 100%;
    }

    body.page-template-case-types .section-case-details #video-cta-wrapper .video {
        flex-basis: 100%;
        margin: 0!important;
        padding-bottom: 275px!important;
    }

    body.page-template-case-types .section-case-details #video-cta-wrapper .video-cta-right {
        padding-left: 0;
        margin-top: 25px;
    }

    body.page-template-case-types #bottom-content ul#results-testimonials {
        flex-wrap: wrap;
    }

    body.page-template-case-types #bottom-content ul#results-testimonials li:nth-child(2) {
        margin-left: 0;
        margin-top: 20px;
    }

    body.page-template-case-types ul#related-pages ul {
        columns: 2;
    }


}

@media (max-width: 480px) {
    body.page-template-case-types svg:not(:root) {
        min-width: 75px;
        width: 75px;
    }

    body.page-template-case-types #locations-wrapper span.state-name {
        font-size: 27px;
        line-height: 110.5%;
    }

    body.page-template-case-types #locations-wrapper h2 {
        font-size: 14px;
    }

    body.page-template-case-types #locations-wrapper a {
        font-size: 12px;
    }

    body.page-template-case-types ul#related-pages ul {
        columns: 1;
    }

    body.page-template-case-types #bottom-content .result-block h2 {
        font-size: 30px;
    }

    body.page-template-case-types #bottom-content span.result-practice {
        font-size: 18px;
    }

    body.page-template-case-types #bottom-content p,
    body.page-template-case-types #bottom-content .testimonial p {
        font-size: 14px;
        line-height: 20px;
    }

    body.page-template-case-types #bottom-content p:first-child {
        font-weight: 500;
        margin-bottom: 23px;
        letter-spacing: -.01em;
        font-size: 16px;
        line-height: 25px;
    }
}








