/*
Theme Name: C-CHANGE Affiliate Template 2017
Author: Fresh
Author URI: https://www.freshsince2015.com/
Description: An affiliate child theme for https://www.hsph.harvard.edu/c-change/
Version: 1.5.1
Text Domain: affiliate2017
Template: theme-affiliate-template-2016
*/

/*
 * Base styles
 */
h1,
h2,
h3 {
    color: #202020;
}

a {
    color: #a51d31;
}

a:hover {
    color: #8c0418;
}

p {
    line-height: 2rem;
}

@media (min-width: 1024px) {
    html {
        zoom: 0.9;
    }
}

.wrapper img {
    width: auto;
}

/* Quote block */

.cchange-quote-block.hero-quote {
    background-color: #484c58;
    color: #fff;
    padding: 60px 0;
}

.cchange-quote-block.article-quote {
    padding: 40px 0;
}

blockquote {
    margin: 0;
}

.article-quote blockquote > p {
    font-size: 20px;
}

.hero-quote blockquote > p {
    font-size: 22px;
}

blockquote > p {
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 1.6rem;
    text-align: center;
}

blockquote .quotes {
    max-height: 100%;
    max-width: 32px;
}

blockquote .quotes.quotes-left {
    margin-right: 15px;
}

blockquote .quotes.quotes-right {
    margin-left: 15px;
    transform: scale(-1, -1);
}

blockquote footer {
    text-align: right;
}

blockquote cite {
    font-size: 1.3rem;
    margin-top: 0;
    margin-left: 0.5rem;
    display: inline-block;
    font-weight: 100;
}

@media screen and (min-width: 900px) {
    .cchange-quote-block.hero-quote {
        padding: 100px 0;
    }

    .cchange-quote-block.article-quote {
        padding: 60px 0;
    }

    .hero-quote blockquote {
        margin: 0 2rem;
    }

    .hero-quote blockquote > p {
        font-size: 24px;
    }

    .article-quote blockquote > p {
        font-size: 22px;
    }
}

/* Base container styles */

.container h2 {
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.25em;
}

.container {
    margin-top: 50px;
}

.container.no-margin,
section.no-margin {
    margin-top: 0;
}

.cchange-hidden-row {
    display: none;
}

.cchange-text-align-left {
    text-align: left !important;
}

/* Page fade */

.js .site-content-contain {
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 150ms;
}

.js.domloaded .site-content-contain {
    opacity: 1;
}

#page {
    -webkit-transition: initial;
    -moz-transition: initial;
    -o-transition: initial;
    transition: initial;
}

/* Post Row Styles */

.cchange-post-row img {
    width: 100% !important;
    height: auto !important;
}

.cchange-post-row .cchange-post-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Footer styles */

.cchange-social-container {
    display: flex;
    margin-bottom: 20px;
}

.cchange-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    padding: 2px;
}

.cchange-social-link.big {
    width: 50px;
    height: 50px;
}

.cchange-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cchange-subscribe-form-wrap {
    display: flex;
    margin-bottom: 15px;
}

.cchange-email-wrap {
    flex-grow: 2;
}

.cchange-submit-wrap {
    flex-grow: 1;
}

.cchange-subscribe {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cchange-subscribe input {
    padding: 14px;
    border-radius: 2em;
    min-height: 57px;
}

.cchange-subscribe button {
    height: 57px;
    width: 100%;
    margin-left: 5px;
    border-radius: 2em;
    font-weight: normal;
}

.cchange-subscribe label {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Base button styles */

.cchange-button {
    background-color: #a51d31;
    display: inline-block;
    padding: 10px 50px;
    border-radius: 40px;
    color: white;
    min-width: 165px;
    text-align: center;
    line-height: 1.5em;
}

.cchange-button.accent {
    background-color: #547778;
}

.cchange-button.accent:hover,
.cchange-button.accent:active,
.cchange-button.accent:focus {
    background-color: #3b5e5f;
}

.cchange-button:hover,
.cchange-button:active,
.cchange-button:focus {
    background-color: #8c0418;
    color: white !important;
}

/* Summary section styles */

.cchange-summary-section h1 {
    text-align: center;
    margin-bottom: 0;
}

.cchange-summary-section h2 {
    font-size: 1.3rem;
}

.cchange-summary-section p {
    text-align: center;
    line-height: 2rem;
}

/* Block / Section styles */

a.homepage-promo-block {
    padding-top: 15px;
}

a.homepage-promo-block p {
    color: #000;
}

.promo-block-image img {
    width: 100%;
}

.block-content {
    margin-top: 10px;
    padding: 0 15px;
}

.cchange-image-section > .container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}

.cchange-image-section > .container h2 {
    text-align: left;
}

.cchange-image-section .text-container {
    padding: 0 2rem;
}

.cchange-image-section .image-container {
    text-align: center;
    margin-bottom: 28px;
}

.cchange-image-section p {
    line-height: 2rem;
}

.cchange-image-section.cchange-panel .container {
    align-items: flex-end;
}

.cchange-image-section.cchange-panel {
    padding: 30px 0;
    background-color: #e3e8e9;
}

.cchange-image-section.cchange-panel.panel-right > .container {
    flex-direction: row-reverse;
    text-align: right;
}

.cchange-image-section.panel-right > .container h2 {
    text-align: right;
}

.cchange-panel .image-container img,
.cchange-panel .image-container span {
    display: block;
}

.cchange-panel .cchange-button {
    margin-top: 25px;
}

.cchange-panel .image-container iframe {
    margin-bottom: 0;
}

.cchange-panel .image-container span {
    display: flex !important;
}

.cchange-panel .image-container img,
.cchange-panel .image-container span,
.cchange-panel .image-container iframe {
    width: 100%;
    border-bottom: 25px solid #484c58;
}

@media screen and (min-width: 1344px) {
    .cchange-panel .image-container {
        margin-bottom: -5%;
    }
}

.cchange-accent-border {
    border-bottom: 25px solid #484c58;
}

.cchange-panel .text-container {
    line-height: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero styles */

.cchange-hero-header {
    background-color: #e3e8e9;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background-size: cover;
    background-position: center;
}

.cchange-hero-header.has-image {
    min-height: 600px;
}

.cchange-hero-header.has-image h1 {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.cchange-hero-header h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #202020;
    margin: 1.5em;
}

.cchange-header-accent {
    height: 25px;
    background-color: #484c58;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}

.cchange-image-header {
    display: block;
    padding: 0;
    padding: 7px;
}

.cchange-image-header img {
    display: block;
}

.cchange-image-header:before {
    content: "";
    display: block;
    height: 8rem;
    max-height: 100%;
    position: absolute;
    bottom: 7px;
    left: 7px;
    right: 7px;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.cchange-image-header h3 {
    position: absolute;
    bottom: 15%;
    left: 10%;
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

/* Bio page styles */

.cchange-bio-header.cchange-hero-header.has-image h1 {
    color: #202020;
    text-shadow: none;
}

.cchange-bio-header {
    text-align: center;
    display: block;
    padding: 2rem 1rem 1rem 1rem;
    background-position: bottom;
}

.attachment-cchange-bio-thumb {
    max-width: 320px;
}

.cchange-resource-row.bio-row {
    border-bottom: none;
    margin: 0;
}

.bio-entry-content {
    position: relative;
}

[class*="col-"].cchange-bio-content-area,
[class*="col-"].cchange-bio-sidebar {
    padding-left: 28px;
    padding-right: 28px;
}

@media (max-width: 991px) {
}

#bio-archive {
    max-width: 1160px;
}

.cchange-bio-header h1 {
    margin: 0.5rem;
    font-size: 25px;
    line-height: 1.2;
}

.cchange-bio-header h3 {
    margin-bottom: 1rem;
    font-size: 18px;
}

.cchange-bio-header h4 {
    font-weight: normal;
    font-size: 1rem;
}

.cchange-bio-grid {
    transition: all 150ms ease-in-out;
}

.cchange-bio-content-area,
.cchange-bio-sidebar {
    padding-top: 3rem;
}

.cchange-bio-sidebar {
    background-color: #f0f0f2;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .cchange-bio-content-area,
    .cchange-bio-sidebar {
        padding: 4rem 28px;
    }

    .cchange-bio-sidebar {
        float: right;
        top: 0;
        bottom: 0;
        position: absolute;
        right: 0;
    }
}

.cchange-bio-view-link-wrapper {
    margin-top: 0.5rem;
}

.cchange-resource-title {
    text-transform: uppercase;
    font-size: 2.2rem;
}

.cchange-related-resource {
    margin-top: 20px;
    display: block;
}

.cchange-bio-sidebar > ul {
    list-style: none;
    margin-left: 0;
}

.cchange-bio-view h3 {
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.cchange-bio-view h4 {
    color: #202020;
    margin-top: 5px;
    font-weight: bold;
}

.cchange-bio-view p {
    margin: 0.5rem 0 0.5rem;
}

.cchange-tab-more {
    text-align: center;
    width: 100%;
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
}

.cchange-bio-view {
    margin-bottom: 4rem;
}

.cchange-bio-view img {
    width: 100%;
}

.cchange-bio-view p {
    margin-bottom: 0.5rem;
}

/* Tab content */

.cchange-tab-content {
    margin-bottom: 50px;
}

.cchange-tab-content .cchange-post-row {
    margin: 1em 0;
    width: 100%;
}

.cchange-tab-row {
    border-bottom: 1px solid #ccc;
}

.cchange-tab-row a {
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    border-top: 1px solid #d3d3d3;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    color: inherit;
    font-weight: bold;
    background-color: #f0f0f2;
    color: #4e4e4e;
}

.cchange-tab-row a.active-tab {
    background-color: #e3e8e9;
    color: #202020;
}

.cchange-tab-row a.active-tab:hover {
    background-color: #d6dbdc;
    color: #202020;
}

.cchange-tab-row a:hover {
    background-color: #e3e3e5;
}

/* Post view / Pagination / Preview styles */

.cchange-post-view {
    margin-bottom: 3rem;
    line-height: 2rem;
}

.cchange-post-view-text {
    margin: 10px 5px;
}

.cchange-post-view,
.cchange-post-view-text,
.homepage-promo-block,
.homepage-promo-block .block-content {
    display: flex;
    flex-direction: column;
}

.cchange-post-view-text,
.homepage-promo-block .block-content {
    flex-grow: 1;
}

.cchange-post-view-text .cchange-button-wrapper,
.homepage-promo-block .homepage-promo-block-button {
    margin-top: auto;
    padding-top: 15px;
}

.cchange-post-text > p {
    margin-bottom: 0;
}

.cchange-list-header {
    text-align: center;
    text-transform: uppercase;
    font-size: 3rem;
    margin-top: 5rem;
}

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

.cchange-pagination .prev,
.cchange-pagination .next {
    float: none;
}

/* News article styles */

.cchange-article-attributes {
    margin-bottom: 3rem;
}

.cchange-article-attributes h1 {
    margin-bottom: 0.3rem;
}

p.cchange-photo-credit {
    color: #aaa !important;
    font-size: 0.8em !important;
}

.cchange-article-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.cchange-author-image {
    flex-grow: 1;
    flex-basis: 10em;
    margin-right: 2rem;
}

.cchange-author-details {
    flex-grow: 10;
}

.cchange-author-details h3 {
    margin-bottom: 0.3rem;
}

.cchange-author-details h4 {
    margin-bottom: 0.3rem;
    font-weight: normal;
}

.cchange-related-articles {
    padding: 5em;
    background-color: #f0f0f2;
}

.cchange-related-articles img {
    width: 100%;
}

.cchange-related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.cchange-related-articles a {
    color: #202020;
    font-weight: bold;
}

.cchange-related-articles a:hover {
    color: #000;
}

.related-article-title {
    padding: 0 15px;
}

.cchange-article-view > .row {
    background-color: #f0f0f2;
}

.cchange-article-light-col {
    background: #fff;
}

.cchange-resource-excerpt {
    margin: 15px 0;
}

.cchange-resource-excerpt p {
    color: #4e4e4e;
}

.cchange-resource-row a:not([href*="harvard.edu/c-change"]):after,
.cchange-post-row a:not([href*="harvard.edu/c-change"]):after,
.cchange-post-view a:not([href*="harvard.edu/c-change"]):after {
    content: "\f504";
    font-family: "dashicons";
    position: relative;
    left: 5px;
}

a.cchange-resource-row:hover {
    background-color: #f2f2f2;
}

@media (min-width: 576px) {
    .cchange-resource-row {
        margin-left: 10px;
    }
}

.cchange-resource-row {
    display: flex;
    padding: 3em 10px;
    border-bottom: 1px solid #d4d4d4;
}

.search-results .cchange-resource-row:first-child {
    padding-top: 3em;
}

@media (min-width: 1024px) {
    .cchange-resource-row:first-child {
        padding-top: 0;
    }
}

.cchange-resource-row:last-child {
    margin-bottom: 3em;
}

.cchange-news-row img {
    width: 100%;
}

.cchange-news-row .cchange-button-wrapper {
    margin-top: 2em;
}

.cchange-news-row h2 {
    text-transform: none;
    text-align: left;
    margin-bottom: 0.2rem;
    font-size: 1.6rem;
}

.cchange-news-row h4,
.cchange-article-attributes h4 {
    font-weight: bold;
    color: #727272;
}

.cchange-article-source {
    color: #a51d31;
}

.cchange-resource-row .cchange-resource-snippet {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cchange-resource-snippet p {
    margin-bottom: 0;
}

@media screen and (min-width: 48em) {
    .navigation.pagination {
        float: none;
        margin: 0 auto;
    }
}

.cchange-resource-tab-content {
    margin-top: 40px;
}

/* Archive filter styles */

.filter-toggle-container {
    margin: 28px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    color: inherit;
    font-weight: bold;
    font-size: 1.1em;
}

.filter-toggle:hover {
    color: #333;
}

.filter-toggle.hidden {
    display: none;
}

.filter-toggle img {
    width: 20px;
    margin-right: 10px;
}

.cchange-filter-options {
    transition: all 150ms ease-in-out;
    height: 0;
    overflow: hidden;
}

.cchange-filter-options-wrapper {
    padding: 0 28px;
}

#bio-archive .cchange-filter-options-wrapper {
    padding: 0;
}

.filters-displayed .cchange-filter-options {
    margin-bottom: 2rem;
    height: auto;
}

@media screen and (min-width: 1024px) {
    #bio-archive {
        position: relative;
    }

    .cchange-filter-options {
        float: left;
        width: 0;
        height: initial;
    }

    .cchange-filter-options-wrapper {
        transition: inherit;
        transform: translate3d(-100%, 0, 0);
        position: -webkit-sticky;
        position: sticky;
        top: 0;
    }

    .filters-displayed .cchange-filter-options-wrapper {
        transform: translate3d(0, 0, 0);
    }

    #bio-archive .cchange-filter-options-wrapper {
        width: 282px;
    }

    .filters-displayed #bio-archive .cchange-filter-options {
        width: 300px;
    }

    .filters-displayed #bio-archive .cchange-bio-grid {
        padding-left: 300px;
    }
}

.cchange-filter-options ul {
    margin: 0;
    padding: 0;
}

.cchange-filter-options form > ul > li {
    border-top: 1px solid #d4d4d4;
    padding-top: 20px;
}

.cchange-filter-options form h4 {
    margin-left: 32px;
}

/* Tri-image panel */

.tri-image-second.cover,
.tri-image-third.cover {
    background-size: cover;
}

.tri-image-second,
.tri-image-third {
    padding-top: 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.tri-image-primary {
    padding-left: 0 !important;
}

.tri-image-primary > div {
    max-width: 100%;
    width: 100%;
    margin-bottom: 10px;
}

.tri-image-primary > div img {
    width: 100%;
}

.tri-image-primary .quote-container img {
    width: auto;
}

.tri-image-second {
    margin-bottom: 0;
    margin-right: 7.5px;
}

.tri-image-third {
    margin-left: 7.5px;
}

.special-img-row {
    padding-right: 0;
    padding-left: 0;
    margin: 0 auto;
}

.special-img-col {
    padding-right: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
}

.special-img-col img {
    width: 100%;
}

@media (min-width: 768px) {
    .special-img-col {
        padding: inherit !important;
    }

    .special-img-col img {
        width: inherit;
    }

    .tri-image-second,
    .tri-image-third {
        padding-top: 0;
        height: 100%;
    }

    .tri-image-second {
        margin-right: 0;
        margin-left: 15px;
        margin-bottom: 0px;
    }

    .tri-image-third {
        margin-top: 15px;
        margin-left: 15px;
        margin-bottom: 7px;
    }

    .tri-image-primary {
        padding-left: inherit;
    }

    .special-img-row {
        padding-left: inherit;
        margin: inherit;
    }

    .tri-image-primary > div {
        width: initial;
        justify-content: center;
        overflow: hidden;
        margin-bottom: 0;
    }

    .tri-image-primary > div img {
        max-height: 750px;
        width: auto;
    }
}

@media (max-width: 575px) {
    .tri-image-third {
        margin-top: 15px;
    }
}

/* Gravity forms */

.ginput_container input,
.ginput_container textarea {
    border: 1px solid #d4d4d4;
    padding: 1rem !important;
    width: 100% !important;
    border-radius: 2rem;
}

.gform_button {
    font-weight: normal !important;
    border-radius: 2rem !important;
    min-width: 200px;
    padding: 1.25rem !important;
}

/**
 * Parent Theme Overrides
 */

@media (max-width: 1024px) {
    .admin-bar .main-menu-toggle {
        top: 98px;
    }
}

address {
    font-style: normal;
}

#homepage-carousel {
    margin-bottom: 60px;
}

#homepage-carousel .homepage-carousel-text {
    min-width: 55%;
    background: #e3e9e9;
    opacity: 1;
    z-index: 1;
    margin-bottom: -3%;
    padding: 50px 0px 30px 0px;
    border-bottom: 25px solid #484c58;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.single-post:not(.has-sidebar) #primary,
.archive:not(.has-sidebar) .page-header,
.archive:not(.has-sidebar) #primary {
    max-width: inherit;
}

.homepage-carousel-wrap {
    margin: 0 auto;
    margin-bottom: 25px;
    width: 100%;
}

#homepage-carousel .homepage-carousel-text {
    max-width: 650px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#homepage-carousel .homepage-carousel-text::before {
    background-image: none !important;
    filter: none;
}

#homepage-carousel .homepage-carousel-title {
    padding-left: 0;
    padding-right: 0;
    font-size: 28px;
    margin-bottom: 0.75em;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.1;
}

#homepage-carousel .homepage-carousel-title a,
#homepage-carousel .homepage-carousel-title a:hover {
    color: #1f1f1f;
}

#homepage-carousel .homepage-carousel-desc {
    padding: 0;
    color: #535455;
    font-size: 18px;
    line-height: 1.6;
}

#homepage-carousel .homepage-carousel-readmore {
    display: block;
}

@media (min-width: 1200px) {
    .homepage-carousel-wrap {
        width: 65%;
    }

    #homepage-carousel .homepage-carousel-text {
        min-height: 465px;
    }
}

@media (min-width: 1200px) {
    #homepage-carousel .homepage-carousel-title {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .flex-control-nav {
        display: none;
    }

    .homepage-carousel-slide {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #homepage-carousel {
        margin-bottom: 40px;
    }

    #homepage-carousel .homepage-carousel-text {
        max-width: 100%;
        width: 100%;
    }
}

.flexslider {
    background: #ffffff;
}

.flex-control-paging li a {
    background: transparent;
    border: 2px solid #a51c30;
}

.flex-control-paging li a.flex-active {
    background: #a51c30;
}

.flex-control-nav {
    width: 55%;
    min-width: 650px;
    left: 0;
    padding-right: 20px;
}

#utility-navigation li a {
    font-size: 0.9rem;
}

.search-form .search-field {
    font-size: 0.9rem;
}

.sf-more-button > a {
    margin-left: 30px;
}

.searchandfilter ul li li {
    display: flex;
    align-items: center;
}

.wf-active body,
.wf-active button,
.wf-active input,
.wf-active select,
.wf-active textarea {
    font-family: "LL Circular Pro Bold Web", "Helvetica Neue",
        helvetica, arial, sans-serif;
}

.wrap {
    max-width: unset;
    padding: 0;
}

.site-content {
    padding: 0;
}

.site-content-contain {
    background: none;
    background-color: #ffffff;
}

.main-navigation li {
    font-size: 1rem;
}

.main-navigation a {
    font-weight: bold;
}

.search-utility-wrap {
    margin-top: 15px;
}

.small-header .site-branding {
    margin: 12px 0 12px 60px;
}

.site-branding {
    margin: 0;
}

.branding-bar {
    clear: initial;
}

.site-branding-text {
    display: none;
}

.site-branding-image img {
    display: block;
    width: auto;
    max-height: 48px;
    max-width: initial;
    max-width: 400px;
}

.affiliate-logo svg {
    margin-left: 5px;
}

.site-copyright {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    background-color: #484c58;
    color: #fff;
}

@media screen and (max-width: 1023px) {
    .site-branding {
        height: 55px;
        padding-left: 64px;
        display: flex;
        align-items: center;
    }

    .site-branding-image img {
        max-height: 32px;
        display: block;
        width: auto;
        max-width: 250px;
    }
}

@media screen and (min-width: 79em) {
    .search-utility-wrap,
    .navigation-top {
        width: auto;
    }
}

@media screen and (min-width: 1024px) {
    .branding-bar {
        padding: 5px 11px;
        display: grid;
        align-items: center;
        gap: 20px;
        grid-template-columns: 400px auto;
        -ms-grid-rows: auto 11px auto;
        -ms-grid-columns: 400px 11px auto;
    }

    .branding-bar .site-branding {
        margin: 0;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 3;
    }

    .branding-bar .search-utility-wrap {
        float: initial;
        width: auto;
        margin: 0;
        grid-row: 1 / 2;
        grid-column: 2 / 3;
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .branding-bar .navigation-top {
        position: relative;
        margin: 0;
        grid-row: 2 / 3;
        grid-column: 2 / 3;
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }

    .search-utility-wrap {
        position: relative;
    }

    .search-utility-wrap,
    .main-navigation > div > ul,
    .js .main-navigation > div > ul {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .search-form {
        margin: 0 10px;
    }
}

button,
input[type="button"],
input[type="submit"] {
    color: #fff;
    background-color: #a51d31;
}

button:active,
button:hover {
    background-color: #8c0418;
}

.site-footer {
    z-index: 6;
    margin-top: 0;
    margin-bottom: 0;
    color: #4e4e4e;
    position: relative;
}

.entry-content {
    padding-bottom: 4rem;
}

.entry-content
    > .container
    > *:not(.container):not(.row):not(.cchange-resource-tab-content) {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .container > h2,
.entry-content > .container > h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.entry-content > .container > h2:not(:first-child),
.entry-content > .container > h3:not(:first-child) {
    margin-top: 4rem;
}

.entry-footer {
    margin-top: 0;
    margin-bottom: 0;
}

.footer-branding-wrap {
    background-color: #e3e8e9;
    box-shadow: none;
}

.site-footer label {
    color: #202020;
}

.site-footer .cchange-vcard {
    margin-top: 20px;
    font-style: normal;
    font-size: 1.1rem;
    text-align: left;
    font-weight: normal;
    line-height: 1.8;
    display: inline-block;
}

.cchange-modal-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 1000;
}

input[type="button"],
input[type="submit"] {
    color: #fff;
    background-color: #a51d31;
    border-radius: 30px;
    font-weight: normal;
    padding: 20px 50px;
    font-size: 16px;
}

.cchange-modal {
    background: white;
    padding: 30px;
}

.ctct-form-field-submit {
    text-align: right;
}

.ctct-form-wrapper .ctct-form .ctct-label-top label,
.ctct-form-wrapper .ctct-form .ctct-label-bottom label {
    font-size: 20px;
    font-weight: bold;
}

.ctct-form-wrapper input[type="text"],
.ctct-form-wrapper input[type="email"] {
    border: 1px solid #bbb;
}

.close-wrapper {
    text-align: right;
}

.cchange-modal-close {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.cchange-modal-close img {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .site-footer .cchange-vcard {
        text-align: center;
    }
}

.footer-links li a {
    color: #a51d31;
    font-size: 1rem;
}

.footer-links li {
    margin: 0 7px;
}

.footer-links li::after {
    color: #333333;
    right: -9px;
}

@media (min-width: 1200px) {
    .container.constricted {
        max-width: 1200px;
    }
}

/* Multisite tags */

.multisite-term .page-image-thumbnail {
    max-width: 30%;
    float: left;
    margin-right: 30px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.multisite-term .entry-title {
    clear: right;
    display: inline-block;
    text-align: left;
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: 30px;
}

.multisite-term .entry-title a:hover {
    color: #8c0422;
}

/* Social networks */

.search-utility-wrap .social-media-menu-wrapper{
    position: relative;
    top: 13px;
    margin-left: 10px;
}

.search-utility-wrap .social-media-menu-wrapper .social-media-menu-label{
    font-size: 14.4px;
    font-size: 0.9rem;
}
