/*
Theme Name: JR Law
Theme URI: https://jrlawgroup.com
Author: David White
Author URI: https://dvdwhite.com
Description: A custom blocks-based WordPress theme built for JR Law Group.
Text Domain: jrlaw
Version: 1.4.2
*/

@import url("https://use.typekit.net/xxm7liq.css");

/**** BEGIN GLOBAL STYLES ****/

body {
    font-family: "open-sans";
    font-size: 15px;
    /* line-height: 28px; */

}


header  nav  button.wp-block-navigation__responsive-container-open  {
    position: fixed;
    right: 10px;
    top: 36px;
}

 h1, h2, h3, h4, h5, h6 {
    padding: 12px 0 0 0;
} 

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
    color: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    text-decoration: underline;
}

/* OLD H1 TAGS h1 {
    font-family: "new-hero";
    font-size: 44px;
    font-weight: 900;
    font-style: normal;
} */
h1 {
    font-family: "industry";
    font-size: 40px;
    font-weight: 700;
    font-style: normal;
}
h2 {
    font-family: "industry";
    font-size: 32px;
    font-weight: 700;
    font-style: normal;
}
h3 {
    font-family: "industry";
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
}
h4 {
    font-family: "industry";
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}
h5 {
    font-family: "industry";
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
}
h6 {
    font-family: "industry";
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .mobile-image img {
        width: 100%;
    }
}



p {
    padding: 8px 0;
    line-height: 28px;
}

li {
    line-height: 28px;
}

.alignwide {
    padding: 0 20px;
}

@media (max-width: 600px) {
    p {
        padding: 8px 0;
    }
    .entry-content, .archive .card-shadow {
        padding: 0 26px;
    }
    .entry-content .alignwide {
        padding: 0;
    }
}



.site-header {
    background: #141F3B;
    width: 100%;
    color: #fff;
    height: 142px;
    font-family: "industry";
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;
    transition-duration: 1s;
}

body.home .site-header {
    background: linear-gradient(#000000b5, #57575700);
    height: 176px;
}

body.home header.scrolled {
    background: #141F3B;
    height: 138px;
    transition-duration: 1s;
}

.site-branding {
    text-align: center;
    width: 100%;
    position: absolute;
    padding: 20px 0 0 0;
}

body.home .site-branding.scrolled {
    padding: 12px 0 0 0;
}

.site-branding img {
    width: 120px;
    height: 120px;
    transition-duration: 1s;
}

.header-contact-socials {
    font-family: "industry";
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    position: absolute;
    width: 100%;
    padding: 10px;
}

.header-contact-socials a {
    color: #fff;
    text-decoration: none;
}

.header-contact {
    position: absolute;
    text-align: left;
}

.header-socials {
    position: inherit;
    text-align: right;
    right: 10px;
    top: -12px;
}

.header-socials ul {
    list-style: none;
}

.header-socials ul li {
    display: inline-block;
    padding: 0 6px!important;
    color: #fff;
}

.site-footer ul.align-right > li > ul > li {
    display: inline-block;
    padding: 4px 0!important;
}

.header-socials svg, .site-footer svg {
    fill: #fff;
}

@media (max-width: 600px) {
    .site-header {
        font-size: 17px;
    }
    .header-contact-socials {
        display: none;
    }
} 

body.home .site-branding img {
    width: 144px;
    height: 144px;
    transition-duration: 1s;
}

body.home header.scrolled img {
    width: 120px;
    height: 120px;
    transition-duration: 1s;
}

#modal-1-content > ul > li {
    padding: 0 10px;
}

#modal-1-content > ul > li:nth-child(5) {
    padding: 0 10px 0 140px;
}

@media (max-width: 600px) {
    #modal-1-content > ul > li:nth-child(5) {
        padding: 0 10px;
    }
}    

.main-navigation {
    padding: 60px 0 0 0;
}

body.home .main-navigation {
    padding: 76px 0 0 0;
    transition-duration: 1s;
}

.wp-block-navigation__responsive-container.is-menu-open {
    color: #fff!important;
    background-color: #141F3B!important;
}

body.home header.scrolled .main-navigation {
    padding: 62px 0 0 0;
    animation-duration: 1s;
}

.page-content, .category-header {
    margin: 166px 0 40px 0;
}

.single-post .wp-block-post-featured-image {
    padding: 0 0 32px 0;
}

article.single-post {
    padding: 166px 0 80px 0;
}

.byline {
    font-family: "industry";
    font-size: 18px;
    font-weight: 200;
    font-style: normal;
    padding: 0 0 16px 0;
}

@media (max-width: 600px) {
    .single-post .wp-block-post-title {
        padding: 0 26px;
    }
    .byline {
        padding: 0 26px 16px 26px;
    }
} 

.article-container {
    display: flex; 
   justify-content: space-between; 
   flex-wrap: wrap; 

}

.article-column {
    display: flex;
    flex: 80;
    flex-direction: column;
}

.navigation-column {
    display: flex;
    flex: 20;
    flex-direction: column;
    background: blue;
}

.home-content {
    margin-top: 95vh;
    padding: 88px 0 0 0;
}

.wp-block-post-excerpt__more-link {
    color: #8599B0;
    text-align: center;
    font-family: "industry";
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.wp-block-post-excerpt__more-link:hover {
    text-decoration: underline;
} 

.wp-block-post-date {
    font-family: "industry";
}

.wp-block-post-featured-image img {
    border-radius: 10px;
}

.wp-block-navigation__submenu-container {
    width: 288px!important;
    background-color: #141F3B!important;
    border: none!important;
    color: #fff!important;
    padding: 6px!important;
}

.wp-block-navigation__submenu-container > li  {
    font-size: 14px!important;
    font-weight: 400!important;
    line-height: 14px;
}

.wp-block-navigation__submenu-container > li > a:hover  {
    text-decoration: underline;
}

.wp-element-button {
    background: #E57056;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
}

.card-shadow p {
    font-size: 14px;
    line-height: 24px;
}

.card-shadow li, .card-shadow > div, .card-shadow-single {
    box-shadow: 0px 10px 20px 0px rgba(84, 117, 145, 0.10);
    border-radius: 10px;
}

.card-shadow li img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.jrlaw-button {
    background: #E57056;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 700;
}

.contact-module {
    background: url(assets/images/contact-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.contact-content {
    background: #141F3B;
    color: #fff;
    border-radius: 10px;
    padding: 24px;
    max-width: 500px;
    display: inline-block;
    margin: 24px 44px;
}

.site-footer {
    background: #141F3B;
    width: 100%;
    color: #9D9D9D;
    text-align: center;
    font-family: "industry";
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: left;
    padding: 44px 66px;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
    }
}

.footer-links div {
    /* width: 19%; */
    vertical-align: top;
}

.footer-logo {
    text-align: center;
}

.footer-links strong {
    color: #fff;
    font-size: 18px;
    display: inline-block;
    padding: 0 0 8px 0;
}

.footer-links a {
    color: #9D9D9D;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links ul {
    /* margin: 30px 0 0 0; */
    padding: 0;
}

.footer-links ul li {
    list-style: none;
    text-align: left;
    /* padding: 2px 0; */
}

.footer-links ul.align-right li {
    text-align: right;
}


@media (max-width: 600px) {
    .footer-links ul {
        display: none;
    }

    .footer-logo img {
        width: 144px;
    }
}


.site-footer .wp-block-social-links .wp-social-link svg {
    height: 1.8em;
    width: 1.8em;
    padding: 0 0 0 12px;
}

.footer-links .footer-logo {
    /* width: 20%; */
}

.copyright {
    padding: 38px 0;
    margin: 0 66px;
    border-top: 1px solid #9d9d9d3e;
    font-weight: 400;
    font-size: 14px;
}

/* Medium Media Queries */
@media (min-width: 1144px) {
    .site-header {
        font-size: 17px;
    }
    #modal-1-content > ul > li {
        padding: 0 20px;
    }
    #modal-1-content > ul > li:nth-child(5) {
        padding: 0 20px 0 160px;
    }  
} 




/* copy of wp default css to a 1000px media query */
@media (min-width: 888px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
}

/* neutralize the wp default for 600px */
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}





.vimeo-wrapper {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1;
    pointer-events: none; */
    overflow:hidden;
    transform: translate3d(0, 0, 0);
    /* background-image: url(assets/images/video-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;  */
    background: #000;
}
.vimeo-wrapper iframe {
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tagline-container {
    display: block;
    z-index:9999;
    position: absolute;
    text-align: center;
    width: 100%;
    height: 40%;
    bottom: 0;
    background-image: linear-gradient(#ffffff00, #00000099);
}

.tagline {
    color: #fff;
    font-size: 20px;
    font-family: "industry";
    text-align:center;
    margin: 0 auto;
    width: 400px;
    position: relative;
    top: 100px;
}

.tagline-button {
    margin: 40px;
}



/* neutralize the wp default for 600px */
@media (min-width: 600px) {
    .tagline {
        font-size: 24px;
        width: 460px;
    }
}


/* neutralize the wp default for 800px */
@media (min-width: 800px) {
    .tagline {
        font-size: 30px;
        width: 600px;
    }
}

.mobile-center {
    margin: 0 auto!important;
}

@media (min-width: 600px) {
    .mobile-center {
        margin: 0!important;
    }
}



.bio-specs-container {
    background-color: #141F3B;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    padding: 18px 24px 28px 12px;
    margin-top: 20px!important;
}

.bio-specs-container ul {
    list-style: none;
    margin: 0;
    padding: 8px 50px 14px 14px;
}

.bio-specs-container li {
    font-size: 14px;
}

.bio-specs-container strong {
    font-size: 18px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Hide submenus only on mobile */
/* @media (max-width: 781px) {
  .wp-block-navigation .wp-block-navigation__submenu-container {
    display: none!important;
  }
  .wp-block-navigation .has-child.open > .wp-block-navigation__submenu-container {
    display: block!important;
  }
  .wp-block-navigation .has-child.open .wp-block-navigation__submenu-icon-svg {
    transform: rotate(180deg);
  }
} */

/* On desktop, default hover behavior kicks in */
/* @media (min-width: 782px) {
  .wp-block-navigation .wp-block-navigation__submenu-container {
    display: block !important;
  }
  .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container {
    display: block!important;
  }
} */

/* Force caret button to show on mobile */
/* .wp-block-navigation__submenu-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: 0.5em;
} */
