/* Import fonts */
@import url("https://use.typekit.net/dog0ubv.css");

body,
button,
input,
select,
textarea {
	font-family: proxima-nova, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.genesis-nav-menu a {
    font-family: poppins, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

/* change base text color */
body {
    color: #1B1B1B;
}

.no-bottom-margin,
.no-bottom-margin div,
.no-bottom-margin figure {
    margin-bottom: 0 !important;
}

/* Align primary nav to right */
.nav-primary {
    float: right;
    width: auto;
}

/* Nav menu styling */
.genesis-nav-menu a {
    font-weight: 400;
}

.genesis-nav-menu>li>a span {
    padding-bottom: .5rem
}

.genesis-nav-menu>li>a:hover span,
.genesis-nav-menu>li.current-menu-item>a span {
    color: #8cc9ff;
    border-bottom: 2px #F1817E solid;
}

.genesis-nav-menu .sub-menu,
.genesis-nav-menu .sub-menu a {
    width: 205px;
}

#menu-header-menu > li:first-of-type > a span {
    color: #f1817e;
    border: 2px solid #f1817e;
    padding: .5rem;
}

.front-page .genesis-nav-menu .sub-menu a:hover {
    color: #254E73;
}

/* Button styling */
a.button:hover,
.content .wp-block-button .has-accent-background-color:hover {
    background-color: #F1817E !important;
    color: #fff !important;
}

.content .wp-block-button.has-light-blue-hover a:hover {
    background-color: #A8D0DA !important;
}

a.more-link,
.ab-block-post-grid-more-link,
.wp-block-button__link {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 10px;
    padding: 12px 20px;
    background-color: #F1817E;
    color: #ffffff !important;
}

a.more-link:hover,
.ab-block-post-grid-more-link:hover {
    background-color: #254E73;
    text-decoration: none !important;
}

a.more-link {
    display: block;
    text-align: center;
    margin: 30px auto 0;
    width: 12rem;
}

/* Caption styling */
figcaption,
.gallery-caption,
.wp-caption-text {
    font-weight: 400;
    font-style: normal;
    line-height: 2.4rem;
}

/* Profile card styling */
.ab-block-profile .ab-profile-name {
    font-size: 1.2em
}

.ab-block-profile.is-style-rounded {
    border-radius: 9999px
}

/* Sidebar styling */
.sidebar select {
    padding: 10px;
}

.entry-meta,
.ab-block-post-grid-date {
    color: #919191;
}

/* Adjust background styling of homepage sections */
.front-page-3,
.front-page-6 {
    background-color: #EEEEEE;
}

/* Adjust width of homepage sections*/
.front-page-1 .widget-full .wrap,
.front-page-2 .widget-full .wrap,
.front-page-3 .widget-full .wrap,
.front-page-4 .widget-full .wrap,
.front-page-5 .widget-full .wrap,
.front-page-6 .widget-full .wrap,
.front-page-7 .widget-full .wrap {
    max-width: 1200px;
    padding: 0;
}

/* Adjust font styling of homepage sections */
.front-page-2 p {
    font-size: 2.2rem;
}

.front-page-3,
.front-page-3 a,
.front-page-3 p,
.front-page-3 .featured-content .entry-title a,
.front-page-3 .featured-content .entry-meta a,
.front-page-3 .widget-title,
.front-page-7,
.front-page-7 a,
.front-page-7 p,
.front-page-7 .featured-content .entry-title a,
.front-page-7 .featured-content .entry-meta a,
.front-page-7 .widget-title {
    color: unset;
}

.front-page-3 a:hover,
.front-page-3 a:focus,
.front-page-3 .featured-content .entry-title a:hover,
.front-page-3 .featured-content .entry-title a:focus,
.front-page-3 .featured-content .entry-meta a:hover,
.front-page-3 .featured-content .entry-meta a:focus,
.front-page-7 a:hover,
.front-page-7 a:focus,
.front-page-7 .featured-content .entry-title a:hover,
.front-page-7 .featured-content .entry-title a:focus,
.front-page-7 .featured-content .entry-meta a:hover,
.front-page-7 .featured-content .entry-meta a:focus {
    color: #254E73;
}

.front-page-3 a,
.front-page-3 a:hover,
.front-page-7 a:hover,
.front-page-7 a {
    border-bottom: none;
}

/* Adjust home page section padding */
.front-page-2,
.front-page-3,
.front-page-4,
.front-page-5,
.front-page-6,
.front-page-7 {
    padding-top: 85px;
    padding-right: 10%;
    padding-bottom: 90px;
    padding-left: 10%;
}

/* Adjust post grid font styling */
.ab-block-post-grid header .ab-block-post-grid-title a:hover {
    text-decoration: none;
    color: #254E73;
}

.ab-block-post-grid .ab-block-post-grid-text p,
body.archive main .entry-content {
    font-size: 18px;
}

/* Add margin/padding below post grid posts */
.ab-block-post-grid .is-list article, 
.ab-block-post-grid .ab-is-list article {
    padding-bottom: 5% !important;
    margin-bottom: 5% !important;
}

/* Adjust archive page styling */
.archive-title {
    font-size: 4.8rem;
}

body.archive main .entry-title {
    font-size: 2.4rem;
}

p.entry-meta {
    font-size: 18px;
}

.entry-header::after {
    display: none;
}

.entry {
    border-color: #919191;
}

/* Our Offices active color */
.our-offices .clickable figcaption {
    color: #e2474b;
}

/* Align social link block to left */
.entry-content ul.wp-block-social-links {
    padding-left: 0;
}

/* Remove top-padding on titleless pages */
body.genesis-title-hidden .content {
    padding-top: 0;
}

/* Footer styling */
.site-footer {
    background-color: #1B1B1B;
    color: #F2EEE7;
    border-top: none;
}
.genesis-nav-menu a {
    font-size: 1.2rem;
}
.site-footer p {
    font-size: 1.3rem;
    color: #ffffff;
}

.front-page .site-footer .genesis-nav-menu a,
.site-footer a {
    color: #F2EEE7;
}

.content {
    padding-bottom: 0;
}

.page .content .entry {
    margin-bottom: 0;
}

/* channels page animations */
.channel-filters .active a,
.content .channel-filters .wp-block-button .wp-block-button__link:hover {
    background-color: #F1817E !important;
}

.channel-icons figure.is-style-rounded {
    border-radius: 9999px;
    background-color: #254E73;
}

.channel-icons figure.is-style-rounded a img {
    display: block;
    animation: fadein .5s ease forwards;
}

.channel-icons figure.is-style-rounded a img.hide {
    animation: fadeout .5s ease forwards;
}
#front-page-2 h2 {
    font-size: 22px;
    font-weight: 400!important;
}
#front-page-2 h3 {
    font-size: 22px;
    font-weight: 400!important;
}

/* Shortcodes Ultimate on MGMT Page
--------------------------------------------- */
.ab-block-profile .ab-profile-text {
	padding-top: 0;
}

.su-lightbox-content.team-bio {
    max-width: 800px !important;
    top: 65px;
}

.su-lightbox-content.team-bio > p:not(:first-of-type) {
	font-size: 18px;
}

@keyframes fadeout {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media only screen and (min-width: 600px) {
    .ab-block-post-grid .is-list article:not(:last-child),
    .ab-block-post-grid .ab-is-list article:not(:last-child),
    .ab-block-post-grid .is-list article,
    .ab-block-post-grid .ab-is-list article {
        border-bottom: solid 1px #919191 !important;
    }
}

@media only screen and (max-width: 800px) {
    body.genesis-title-hidden .site-inner {
        padding-top: 0;
    }
}