@charset "utf-8";
/*
Theme Name: New York Marketing Trends
Author: New York Marketing Trends
Author URI: https://newyorkmarketingtrends.com/
Description: New York Marketing Trends
Version: 1.0
Text Domain: nymt
*/

/* Reset */
* {
    box-sizing: border-box;
}
html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
strong,
sub,
sup,
var,
b,
u,
i,
center,
ol,
ul,
li,
fieldset,
form,
label,
legend,
article,
aside,
canvas,
figure,
figcaption,
footer,
header,
nav,
section,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "Poppins", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
strong,
b {
    font-weight: 700;
}
a,
a:visited {
    color: #000;
    text-decoration: none;
}

sup {
    font-size: 0.7em;
    position: relative;
    top: -0.4em;
    padding: 0 1px;
}

/* Skip to Main Content */
.main_content {
    height: 0;
    overflow: hidden;
    display: block;
    font-size: 0;
    text-transform: uppercase;
    line-height: 0;
    background: #447d9c;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
}
.main_content:focus {
    font-size: 14px;
    line-height: 16px;
    height: 36px;
    padding: 10px 15px;
}

#mnavbutton {
    display: none;
}

.wrapper {
    --wrapper-padding: 40px;
    max-width: 1200px;
    padding: 0 var(--wrapper-padding);
    margin: 0 auto;
    width: 100%;
}

/* Aux */
#aux {
    padding: 8px 0;
    border-bottom: 1px solid #666;
}
.aux_flex {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}
.aux_link {
    font-size: 15px;
}

header .social {
    display: flex;
    gap: 15px;
}
header .social .social_icon {
    font-size: 15px;
}

/* Header */
header {
    position: relative;
    z-index: 10000;
}
.header_flex {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}
.header_main {
    border-bottom: 1px solid #666;
}

/* Logo */
#logo {
    background-image: url("img/logo.webp");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 180px;
    padding: 60px 0px;
}

/* Main Nav */
/* ------------------------------ */
header nav {
    --top-link-padding: 10px;
    display: flex;
    margin: 0 0 0 0;
    gap: 30px;
    align-self: center;
    right: calc(var(--top-link-padding) * -1);
}
header nav .nav_item_holder {
    position: relative;
    display: flex;
    align-items: center;
}
header nav .nav_item_holder > a {
    color: black;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: ease all 150ms;
    display: flex;
    flex-direction: column;
    justify-content: center;
    user-select: none;
    padding: var(--top-link-padding);
}
header nav .nav_item_holder > a:hover {
    /* background:#f3f3f3; */
}
header nav .nav_item_holder.nav_button > a {
    border-radius: 50px;
    background: #447d9c;
    color: #000;
    margin: 0 0 0 16px;
}
header nav .nav_item_holder.nav_button > a:hover {
    color: #447d9c;
    background: #fff;
}

/* Footer */
footer {
    margin: 40px 0 0 0;
    padding: 40px 0;
    border-top: 1px solid #666;
}
.footer_flex {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}
.footer_content {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    font-size: 14px;
    text-align: right;
    line-height: 1.4em;
}
.footer_content > a {
    display: block;
    margin: 10px 0;
}
.footer_content p {
    display: block;
    margin: 10px 0;
}
#footerlogo {
    background-image: url("img/logo.webp");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 180px;
    padding: 60px 0px;
}

/* Subnav */
.sub_nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 170px;
    max-width: 250px;
    border-radius: 4px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.19);
    padding: 5px 0;
    z-index: 1000;
}

.sub_nav a {
    display: block;
    color: #000;
    font-size: 14px;
    padding: 10px 15px 10px 12px;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    transition: ease all 150ms;
    font-weight: 600;
    text-transform: uppercase;
}

.sub_nav a:hover {
    color: #000;
    background: #f3f3f3;
}

header nav .nav_item_holder.menu-item-has-children {
    position: relative;
    display: flex;
}

header nav .nav_item_holder.menu-item-has-children > a {
    padding-right: 3px;
    font-family: "Poppins", sans-serif;
}

.subnav_more {
    width: auto;
    position: relative;
    cursor: pointer;
    padding: 0 10px 0 0;
}

.subnav_more:after {
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-size: 13px;
    color: #000;
    line-height: 1;
    transition: ease all 150ms;
}

header nav .nav_item_holder:focus-within .sub_nav,
header nav .nav_item_holder .subnav_more:focus + .sub_nav,
header nav .nav_item_holder:hover > .sub_nav {
    display: block;
}

/* Page */

#page {
    padding: 70px 0;
    font-size: 16px;
}
#page h1 {
    font-size: 2.5em;
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
    border-bottom: 1px solid #666;
}
#page h2 {
    font-size: 1.9em;
    margin: 40px 0 20px 0;
}
#page h3 {
    font-size: 1.6em;
    margin: 0 0 15px 0;
}
#page h4 {
    font-size: 1.4em;
    margin: 0 0 10px 0;
}
#page p {
    margin: 0 0 30px 0;
}
#page p,
li {
    font-size: 1.1em;
    line-height: 1.7em;
}
#page ul,
#page ol {
    margin: 0 0 30px 0;
    padding: 0 0 0 25px;
}
#page li {
    margin: 0 0 20px 0;
}
#page p a,
#page li a {
    font-weight: 600;
    transition: ease all 200ms;
}
#page p a:hover,
#page li a:hover {
    text-decoration: none;
    background: #eee;
}

/* Blog Page */
.news_articles {
    padding: 40px 0;
}
a.news_article {
    display: block;
    margin: 30px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    transition: ease all 300ms;
}
a.news_article:hover {
    border: 1px solid #000;
}
#page a.news_article h3 {
    margin: 0 0 8px 0;
}
#page a.news_article_text span {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    display: block;
}
#page a.news_article p:last-child {
    margin-bottom: 0;
}

/* Team Page */

.staff_dir_grid_item {
    margin: 30px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
}
#page .staff_dir_grid_item h3 {
    margin: 0 0 8px 0;
}
#page .staff_dir_grid_item h4 {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
}
#page .staff_dir_grid_item p:last-child {
    margin: 0;
}

/* Services */
.services_blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}
@media (max-width: 900px) {
    .services_blocks {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        margin: 30px 0;
    }
}
.service_grid_item {
    border: 1px solid #ddd;
    transition: ease all 300ms;
    border-radius: 4px;
    padding: 30px;
}
.service_grid_item:hover {
    border: 1px solid #000;
}

#page .service_grid_item h2 {
    margin: 0 0 8px 0;
    font-size: 1.7em;
}
#page .service_grid_item p:last-child {
    margin: 0;
}

/* Homepage Services */
#homepage_services {
    padding: 40px 0;
}
#homepage_services h2 {
    text-align: center;
    font-size: 45px;
    margin: 0 0 45px 0;
}
#homepage_services h3 {
    font-size: 26px;
}
#homepage_services .services_blocks {
    grid-template-columns: repeat(4, 1fr);
}
#homepage_services .service_grid_item {
    min-height: 200px;
    display: flex;
    align-items: flex-end;
}

.button_holder {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 30px;
}
a.button {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 50px;
    border: 1px solid #ddd;
    transition: ease all 300ms;
}
a.button:hover {
    border: 1px solid #000;
}

@media (max-width: 900px) {
    #homepage_services .services_blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    #homepage_services .service_grid_item {
        min-height: 140px;
    }
    #homepage_services .services_blocks {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Homepage Blog */
#homepage_blog {
    padding: 40px 0;
}
#homepage_blog h2 {
    text-align: center;
    font-size: 45px;
    margin: 0 0 45px 0;
}
#homepage_blog h3 {
    font-size: 26px;
    margin: 10px 0 0 0;
}
#homepage_blog .blog_blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}
#homepage_blog .blog_grid_item {
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    border: 1px solid #ddd;
    transition: ease all 300ms;
    border-radius: 4px;
    padding: 30px;
}
#homepage_blog .blog_grid_item:hover {
    border: 1px solid #000;
}

.button_holder {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 30px;
}
a.button {
    display: inline-block;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 50px;
    border: 1px solid #ddd;
    transition: ease all 300ms;
}
a.button:hover {
    border: 1px solid #000;
}

@media (max-width: 900px) {
    #homepage_blog .blog_grid_item {
        min-height: 140px;
    }
    #homepage_services .blog_blocks {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Tables */
.wp-block-table {
    background-color: initial;
    border-bottom: 1px solid #f0f0f0;
    border-collapse: inherit;
    border-spacing: 0;
}
.wp-block-table tbody tr:nth-child(2n + 1) {
    background-color: #f0f0f0;
}
.wp-block-table td,
.wp-block-table th {
    border-color: #0000;
    padding: 0.9em;
}

/* Sitewide alert */
#site_alert {
    padding: 40px 0;
    background: #000;
    position: relative;
    color: #fff;
}
#site_alert .wrapper {
    position: relative;
}
.site_alert {
    padding: 0 50px 0 0;
}
.site_alert.has_icon {
    position: relative;
    padding: 0 50px;
}
.hide_alert_x {
    position: absolute;
    top: 0;
    right: var(--wrapper-padding);
    padding: 0;
    font-size: 20px;
    line-height: 15px;
    transition: ease all 200ms;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 50;
}
.hide_alert_x:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
}
.site_alert_icon {
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 30px;
    line-height: 1em;
}
.site_alert_content h2 {
    font-size: 20px;
}
.site_alert_content p {
    margin: 15px 0;
}
a.alert_button {
    border-radius: 50px;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid #fff;
    display: inline-block;
    user-select: none;
    transition: ease all 250ms;
    color: #fff;
}
#site_alert.yellow a.alert_button {
}
#site_alert.red a.alert_button {
}
a.alert_button:hover {
    background: rgba(255, 255, 255, 0.2);
}

#site_alert.yellow {
    background: #fff8bb;
}
#site_alert.yellow .site_alert_content h2 {
    color: #635005;
}
#site_alert.yellow .site_alert_content p {
    color: #635005;
}
#site_alert.yellow .site_alert_icon {
    color: #b69204;
}

#site_alert.red {
    background: #ffd6d6;
}
#site_alert.red .site_alert_content h2 {
    color: #590d05;
}
#site_alert.red .site_alert_content p {
    color: #590d05;
}
#site_alert.red .site_alert_icon {
    color: #b61d04;
}

@media (max-width: 600px) {
    .site_alert_content p {
        font-size: 14px;
    }
    .site_alert.has_icon {
        padding: 30px 20px 0 20px;
    }
    .site_alert_icon {
        left: 20px;
        top: 10px;
        font-size: 20px;
        transform: none;
    }
}

/* Disclosures */
#disclosures {
}
#disclosure_holder {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 11px 15px;
}
#disclosures h2 {
    font-size: 20px;
    padding: 0 7px;
    margin: 10px 0;
}
#disclosures p {
    font-size: 12px;
    border-radius: 4px;
    padding: 10px 7px;
    margin: 3px 0;
    border: 1px solid transparent;
}
@keyframes highlightFade {
    0% {
        border-color: black;
    }
    90% {
        border-color: black;
    }
    100% {
        border-color: transparent;
    }
}

#disclosures p.show {
    animation: highlightFade 30000ms ease-out;
}

/* sup.disc{
    display: inline-block;
    font-size: 11px;
    padding: 5px;
    background: #eaeaea;
    color: #000;
    line-height: 1em;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin: 0 1px;
    text-align: center;
    transform: translate(0,-60%);
    font-weight: bold;
    transition:ease all 100ms;
}
sup.disc:hover{
    background: #ddd;
    cursor:pointer;
} */

@media (max-width: 900px) {
    /* Main Nav */
    .header_flex {
        gap: 0;
        flex-wrap: wrap;
        margin: 0 0 30px 0;
    }
    header nav {
        display: none;
        order: 3;
        flex-direction: column;
        gap: 0;
    }
    header nav.active {
        display: flex;
        flex: 1 0 100%;
    }
    header nav .nav_item_holder {
        display: flex;
        flex-flow: row wrap;
        border-top: 1px solid #0a3a50;
    }
    header nav .nav_item_holder > a {
        flex: 1 1 60%;
        text-align: left;
        font-size: 18px;
        padding: 17px 0;
    }
    header nav .nav_item_holder.nav_button > a {
        flex: 1 1 60%;
        text-align: left;
        font-size: 18px;
        padding: 10px 30px 10px 0;

        border-radius: 0;
        background: transparent;
        color: #fff;
        margin: 0;
    }
    header nav .nav_item_holder.nav_button > a:hover {
        background: transparent;
        color: #7ac2ea;
    }
    header nav .nav_item_holder.menu-item-has-children > a {
        padding-right: 33px;
    }

    header nav .nav_item_holder .subnav_more:focus + .sub_nav,
    header nav .nav_item_holder:focus-within .sub_nav,
    header nav .nav_item_holder:hover .sub_nav,
    .sub_nav {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        display: none;
        flex: 1 1 100%;
        padding: 0;
        border-left: 1px solid #dddffc;
        border-radius: 0;
        margin: 10px 0 25px 0;
        flex-direction: column;
    }
    header nav .nav_item_holder .sub_nav.active,
    .sub_nav.active {
        display: flex !important;
        background: transparent;
        box-shadow: none;
        margin: 0 0 40px 0;
    }
    .sub_nav a {
        font-weight: 500;
        text-transform: uppercase;
        font-size: 16px;
        position: relative;
        line-height: 1.1em;
        padding: 11px 0 11px 14px;
        transition: ease all 300ms;
    }
    .sub_nav a::after {
        content: "";
        display: block;
        position: absolute;
        left: -1px;
        width: 1px;
        top: 0;
        bottom: 0;
        transition: ease all 100ms;
        z-index: 5;
        opacity: 0;
        background: #767abc;
    }
    .sub_nav a:hover::after {
        opacity: 1;
    }
    .subnav_more {
        width: 80px;
        text-align: right;
        padding: 0px 16px 0 0;
    }
    .subnav_more:after {
        font-size: 19px;
    }

    .get-started-button {
        margin: 10px 0 0 0;
        border-top: none !important;
    }

    #mnavbutton {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #000;
        align-self: center;
        padding: 0 0 0 10px;
        font-size: 24px;
        order: 2;
        transition-duration: 0.5s;
    }
    .menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        padding: 0;
    }
    .line {
        fill: none;
        stroke: #000;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }
    .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }
    .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }
    .active .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }
    .active .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }
    .active .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }
}
