/*
Theme Name: NMC Wordpress Theme
Version: 2.0
Author: New Media Campaigns
Author URI: http://newmediacampaigns.com/
Description: NMC Base Theme
Updated: 2017-01-21
*/

.container {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
}

.container * {
    box-sizing: border-box;
}

.container:first-of-type {
    margin-top: 0;
}

.container h2 {
    margin-bottom: 30px;
}

.container p {
    margin-top: 0;
}

.container .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto 40px auto;
    max-width: 1080px;
    width: 100%;
}

.container .row:last-of-type {
    margin: 0 auto 0 auto;
}

.container .row-narrow {
    max-width: 960px;
}

@media screen and (min-width: 960px) {
    .container .row {
        margin: 0 auto 80px auto;
    }
}

.container .row .col-6 {
    margin: 0 auto 30px auto;
    padding: 0 20px;
    width: 100%;
}

.container .row .col-6:last-of-type {
    margin: 0 auto;
}

@media screen and (min-width: 960px) {
    .container .row .col-6 {
        width: 50%;
    }
}

.container .row .col-12 {
    margin: 0 auto 30px auto;
    padding: 0 20px;
    width: 100%;
}

.header-wrapper {
    display: none;
    align-items: center;
    justify-content: space-between;
    font-family: 'SourceSansPro', sans-serif;
    font-size: 24px;
    height: 100px;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 30px;
    width: 100%;
    z-index: 1000;
}

@media screen and (min-width: 960px) {
    .header-wrapper {
        display: flex;
    }
}

.header-wrapper > nav {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.header-wrapper > nav > ul {
    display: flex;
    align-items: flex-end;
    height: 70%;
    list-style: none;
    padding: 0;
}

.header-wrapper > nav > ul > li {   
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0 5px;
}

@media screen and (min-width: 960px) {
    .header-wrapper > nav > ul > li {
        font-size: 18px;
        padding: 0 5px;
    }
}

@media screen and (min-width: 1200px) {
    .header-wrapper > nav > ul > li {
        font-size: 20px;
        padding: 0 8px;
    }
}

.header-wrapper > nav > ul > li > a:hover {
    color: #192A43;
}

.header-wrapper > nav > ul > li > .submenu-toggle {
    width: 15px;
}

.header-wrapper > nav > ul > li > .submenu-toggle-mobile {
    display: none;
}

.header-wrapper > nav > ul > li > ul {
    display: none;
    position: absolute;
    list-style: none;
    padding: 20px;
    top: 70px;
    background-color: #5EA2A9;
    width: 200%;
    z-index: 1000;
}

.header-wrapper > nav > ul > li > ul.two-column {
    column-count: 2;
    width: 400%;
}

.header-wrapper > nav > ul > li:hover ul {
    display: block;
}

.header-wrapper > nav > ul > li > ul > li > a {
    color: #fff;
    font-size: 18px;
}

.header-wrapper > nav > ul > li > ul > li > a:hover {
    color: #192A43;
}

.header-wrapper .header-logo img {
    display: block;
    width: 240px;
    height: 43px;
}

.header-wrapper .header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.header-wrapper .header-phone img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.header-mobile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
    height: 60px;
    background-color: #fff;
}

@media screen and (min-width: 960px) {
    .header-mobile-wrapper {
        display: none;
    }
}

.header-mobile-wrapper .header-logo img {
    display: block;
    width: 200px;
    height: 36px;
}

.header-mobile-wrapper .header-buttons {
    display: flex;
    align-items: center;
}

.header-mobile-wrapper .header-hamburger {
    width: 29px;
    height: auto;
}

.header-mobile-wrapper .header-phone img {
    display: block;
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.header-mobile-wrapper .header-menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #62C1CA;
    z-index: 1000;
    width: 100%;
}

.header-mobile-wrapper .header-menu {
    display: none;
}

.header-mobile-wrapper .header-menu > nav > ul {
    list-style: none;
    padding: 20px 20px 40px 20px;
}

.header-mobile-wrapper .header-menu > nav > ul > li {
    position: relative;
    border-bottom: 2px solid #fff;
    margin-bottom: 10px;
}

.header-mobile-wrapper .header-menu > nav > ul > li > a {
    display: inline-block;
    color: #fff;
    font-size: 29px;
    width: 100%;
}

.header-mobile-wrapper .header-menu > nav > ul > li > .submenu-toggle {
    display: none;
}

.header-mobile-wrapper .header-menu > nav > ul > li > .submenu-toggle-mobile {
    position: absolute;
    right: 0px;
    top: 18px;
}

.header-mobile-wrapper .header-menu > nav > ul > li > .submenu-toggle-mobile.flipped {
    transform: scaleY(-1);
}

.header-mobile-wrapper .header-menu > nav > ul > li > ul {
    display: none;
    list-style: none;
    margin: 0 0 15px 0;
    padding-left: 0;
}

.header-mobile-wrapper .header-menu > nav > ul > li > ul.two-column {
    column-count: 2;
}

.header-mobile-wrapper .header-menu > nav > ul > li > ul > li > a {
    color: #192A43;
    font-size: 18px;
    font-weight: 600;
}

.masthead--home .masthead__image {
    order: 2!important;
}

.masthead--home .text h1.masthead__title {
    font-size: 28px!important;
}

@media screen and (min-width: 960px) {
    .masthead--home .text h1.masthead__title {
        font-size: 72px!important;
    }
}

.masthead--person {
    min-height: 0!important;   
}

.blue-tabs {
    list-style: none;
    padding-left: 0;
}

@media screen and (min-width: 960px) {
    .blue-tabs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.blue-tabs a {
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
    min-height: 100px;
    padding: 25px;
    transition: .25s;
    width: 100%;
}

@media screen and (min-width: 960px) {
    .blue-tabs a {
        margin-bottom: 0;
        min-height: 200px;
    }
}

.blue-tabs a:hover {
    padding-bottom: 35px;
}

.blue-tabs li:nth-child(even) a {
    background-color: #122c45;
    color: #fff!important;
}

.blue-tabs li:nth-child(odd) a {
    background-color: #67c9d1;
    color: #122c45;
}

.attorney-profile {
    display: flex;
    flex-wrap: wrap;
    background-color: #122c45;
    color: #fff!important;
    margin-bottom: 40px;
}

.attorney-profile:last-of-type {
    margin-bottom: 0px;
}

.attorney-profile .image {
    width: 100%;
}

@media screen and (min-width: 960px) {
    .attorney-profile .image {
        width: 30%;
    }
}

.attorney-profile .image img {
    display: block;
}

.attorney-profile .content {
    font-size: 20px;
    padding: 25px;
    width: 100%;
}

@media screen and (min-width: 960px) {
    .attorney-profile .content {
        width: 70%;
    }
}

.attorney-profile .content a:hover {
    color: #fff;
}

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

.areas-list {
    list-style: none;
}

@media screen and (min-width: 960px) {
    .areas-list {
        columns: 2;
    }
}

.areas-list li:before {
    content: "\2022";
    color: #43a4ac;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 20px;
}

@media screen and (min-width: 960px) {
    .hero {
        position: absolute;
         top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
}

.hero .content, .hero .form {
    width: 100%;
}

@media screen and (min-width: 960px) {
    .hero .content {
        width: 60%;
    }
    .hero .form {
        width: 40%;
    }
}

.hero .content {
    display: flex;
    align-items: center;
}

.hero .content h1 {
    color: #122c45;
    font-size: 36px;
    padding: 20px 0 20px 20px;
}

@media screen and (min-width: 960px) {
    .hero .content h1 {
        color: #fff;
    }
}

@media screen and (min-width: 960px) {
    .hero .content h1 {
        font-size: 72px;
        max-width: 90%;
    }
}

.hero .form {
    display: flex;
    align-items: center;
}

.hero .form > div {
    background-color: #43a4ac;
    padding: 20px;
}

.hero .form .gform_heading {
    display: none;
}

.hero .form .heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

.hero .form .gform_validation_errors {
    display: none;
}

.hero .form .gform_fields {
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
}

.hero .form .gfield--width-half {
    width: 100%;
}

@media screen and (min-width: 960px) {
    .hero .form .gfield--width-half {
        width: 50%;
    }
}

.hero .form input[type='text'], .hero .form input[type='email'], .hero .form input[type='tel'], .hero .form select {
    border: 0;
    margin-bottom: 5px;
    padding: 10px;
    width: 100%;
}

@media screen and (min-width: 960px) {
    .hero .form input[type='text'], .hero .form input[type='email'], .hero .form input[type='tel'], .hero .form select {
        width: 90%;
    }
}

.hero .form .gfield_required {
    display: none;
}

.hero .form .gform_footer {
    margin-top: 20px;
    text-align: center;
}

.hero .form input[type='submit'] {
    background-color: #122c45;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 50px;
}

.hero .form input[type='submit']:hover {
    background-color: #00132C;
}

.acc-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.acc-logos > div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 45%;
}

@media screen and (min-width: 960px) {
    .acc-logos > div {
        margin-bottom: 0;
        width: 15%;
    }
}

.blue-btn {
    display: inline-block;
    border: 1px solid #122c45;
    color: #122c45;
    font-size: 18px;
    padding: 10px 20px;
}

.masthead__links {
    position: relative;
}

.contact-modal-btn {
    cursor: pointer;
    font-weight: 700;
}

.contact-modal-btn svg {
    height: 20px;
}

.contact-modal {
    display: none!important;
    position: absolute;
    margin-left: 0!important;
    top: 100%;
    left: 0;
    width: 90vw;
    z-index: 999;
}

@media screen and (min-width: 960px) {
    .contact-modal {
        left: 310px;
        width: 600px;
    }
}

.contact-modal .gform_wrapper {
    background-color: rgba(0,0,0,.8);
    border-radius: 15px;
    padding: 20px;
}

.contact-modal .gform_heading {
    display: none;
}

.contact-modal .gform_validation_errors {
    display: none;
}

.contact-modal form .gform_fields {
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
}

.contact-modal form .gfield {
    width: 100%;
}

.contact-modal form .gfield--width-half {
    width: 100%;
}

@media screen and (min-width: 960px) {
    .contact-modal form .gfield--width-half {
        width: 50%;
    }
}

.contact-modal .ginput_container {
    margin-right: 15px;
}

.contact-modal form textarea {
    width: 100%;
}

.contact-modal form input[type='text'], .contact-modal form input[type='email'], .contact-modal form input[type='tel'], .contact-modal form select {
    border: 0;
    margin-bottom: 5px;
    padding: 10px;
    width: 100%;
}

@media screen and (min-width: 960px) {
    .contact-modal form input[type='text'], .contact-modal form input[type='email'], .contact-modal form input[type='tel'], .contact-modal form select {
        width: 100%;
    }
}

.contact-modal form .gform_footer {
    margin-top: 15px;
}

.contact-modal form input[type='submit'] {
    background-color: #67c9d1;
    border: 0;
    color: #000;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 50px;
}

.contact-modal form input[type='submit']:hover {
    background-color: #4EB0B8;
}

.contact-modal .close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #67c9d1;
    border-radius: 3px;
    color: #000;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    padding: 2px 6px;
    z-index: 1000;
}

.block--related-content .box {
    padding: 15px 0;
}

@media screen and (min-width: 960px) {
    .block--related-content .box {
        flex: 0 0 50%;
        padding: 15px;
    }
}

.block--related-content .box .title {
    display: flex;
    align-items: center;
    background-color: #67c9d1;
    color: #122c45; 
    font-weight: 500;
    min-height: 65px;
    padding: 0 20px;
}

@media screen and (min-width: 960px) {
    .block--related-content .box .title {
        font-size: 24px;
    }
}

@media screen and (min-width: 960px) {
    .block--related-content .box:nth-child(4n-6) .title { 
        background-color: #122c45;
        color: #fff;
    }
}

@media screen and (min-width: 960px) {
    .block--related-content .box:nth-child(4n-5) .title {
        background-color: #122c45;
        color: #fff;
    }
}

@media screen and (max-width: 959px) {
    .block--related-content .box:nth-child(even) .title {
        background-color: #122c45;
        color: #fff;
    }
}

.block--related-content .box .body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #EEF2F6;
    padding: 30px;
    font-size: 16px;
    line-height: 24px;
    min-height: 200px;
}

.block--related-content .box .body a {
    color: #062D47;
    font-weight: 700;
}