/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0.35
*/

.regular-header {
    height: 41.5px !important;
}

.footer_link:hover {
    text-decoration: none !important;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
}

#footer-outer #copyright a:hover:not(.nectar-button) {
    color: #164CCA!important;
}

#mc_embed_signup {
    background: transparent;
    font: 14px Karla, Arial, sans-serif;
    width: 100%;
}

#mc-embedded-subscribe-form {
    margin: 0 !important;
}

#mc_embed_signup #mce-NAME,
#mce-EMAIL {
    background: transparent;
    color: #1A2746;
    font-size: 1.5rem;
    border: 0px !important;
    border-radius: 0 !important;
    border-bottom: 2px solid #1A2746 !important;
}

#mce-NAME::placeholder {
    font-size: 1.5rem;
    color: #1A2746;
    opacity: 1;
    font-weight: bold;
}

#mce-EMAIL::placeholder {
    font-size: 1.5rem;
    color: #1A2746;
    opacity: 1;
    font-weight: bold;
}

#mc_embed_signup .helper_text {
    display: none !important;
}

#mc_embed_signup #mc-embedded-subscribe-form .mce_inline_error {
    background: transparent !important;
}

#mc_embed_signup .mc-field-group input {
    width: 100% !important;
}

.nectar-responsive-text .p1 {
    width: 60%;
    margin-left: 1rem;
}

.nectar-cta>input.mc-custom-submit {
    background: transparent !important;
    border: 2px solid #1A2746 !important;
    font-weight: bold;
    color: #1A2746;
    width: 50% !important;
}

.calvium-quote {
    background: #164CCA;
    padding: 30px;
    margin-bottom: 30px;
    blockquote {
        font-size: 21px;
        font-size: 1.3125rem;
        padding: 0;
        margin: 0;
    }
    p.author {
        margin: 1rem 0 0 30%;
        text-align: right;
        width: 70%;
    }
}

.download-button, .general-button {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFE6AB;
    border-radius: 0.4rem;
    color: #1A2746;
    font-weight: 600;
    text-transform: capitalize;
    padding: 1rem;
    max-width: 100%;
    width: 50%;
    height: auto;
}

.pull-out {
    border: solid 2px #ffc000;
    padding: 1rem;
    margin: 1rem 0;
}

.yikes-easy-mc-form {
    text-align: start;
    .EMAIL-label,
    .FNAME-label,
    .LNAME-label,
    .checkbox-parent-label {
        font-weight: bold;
    }
    label {
        color: $secondary !important;
    }
    .field-right-half {
        width: 48%;
        margin-left: 2%;
        float: right;
    }
    .field-left-half {
        width: 48%;
        margin-right: 2%;
        float: left;
    }
    .yikes-easy-mc-text {
        border-color: $secondary;
        margin-bottom: 1rem;
    }
    .yikes-easy-mc-email {
        border-color: $secondary;
        margin-bottom: 0.5rem;
    }
    .yikes-easy-mc-submit-button {
        border: none;
        background: $highlight;
        border-radius: 0.4rem;
        color: $secondary;
        text-transform: capitalize;
        margin-bottom: 1rem !important;
        margin-top: 1rem !important;
        width: 100%;
        height: auto;
        &:hover {
            background-color: $primary;
        }
    }
}


#mc-embedded-subscribe {
    margin-top: 2rem;
    font-family: 'Karla', 'Open Sans';
    font-size: 1rem;
    margin-left: 0 !important;
    margin-top: 2rem !important;
}

#mc-embedded-subscribe:hover {
    color: #164CCA !important;
    border-color: #164CCA !important;
}

.nectar-post-grid>.nectar-post-grid-item>.inner>.nectar-post-grid-item-bg-wrap>.nectar-post-grid-item-bg-wrap-inner>.nectar-post-grid-item-bg>img {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.nectar-post-grid-item-bg-wrap {
    box-shadow: 2px 2px 3px #ccc;
}

#header-outer #mobile-menu p,
#mobile-menu ul li.menu-item a {
    color: #1A2746;
}

body.material #search-outer #search #search-box input[type="text"] {
    font-weight: 600;
}

body.material #search-outer #search {
    background: #ffffff;
    margin: 0;
    max-width: 100%;
}

body #header-outer[data-has-menu][data-format][data-padding][data-using-logo]>#top .slide-out-widget-area-toggle[data-custom-color="true"] .lines-button:after,
body #header-outer[data-has-menu][data-format][data-padding][data-using-logo]>#top .slide-out-widget-area-toggle[data-custom-color="true"] a .lines-button i:before,
body #header-outer[data-has-menu][data-format][data-padding][data-using-logo]>#top .slide-out-widget-area-toggle[data-custom-color="true"] a .lines-button i.lines:after,
body.material #header-outer .slide-out-widget-area-toggle[data-custom-color="true"] a .close-line,
body.material #header-outer[data-using-logo].transparent .slide-out-widget-area-toggle[data-custom-color="true"] a .close-line,
body.material:not(.mobile) #header-outer.transparent .slide-out-widget-area-toggle[data-custom-color="true"] a .close-line {
    background-color: #1A2746 !important;
}


/* Posts slider with multiple visible */

.nectar-recent-posts-slider_multiple_visible {
    height: 650px;
    overflow: initial;
}

.nectar-recent-posts-slider_multiple_visible[data-columns="3"] .nectar-recent-post-slide,
.nectar-recent-posts-slider_multiple_visible[data-columns="4"] .nectar-recent-post-slide {
    margin: 0 15px;
}

.nectar-recent-posts-slider_multiple_visible .nectar-recent-post-slide .nectar-recent-post-bg-blur,
.nectar-recent-posts-slider_multiple_visible .nectar-recent-post-slide .nectar-recent-post-bg-wrap {
    height: 85%;
    width: 90%;
}

.nectar-recent-posts-slider_multiple_visible .flickity-viewport .nectar-recent-post-bg-wrap {
    border-radius: 15px;
}

.nectar-recent-posts-slider_multiple_visible .nectar-recent-post-slide .nectar-recent-post-bg:after {
    background: transparent;
}

.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>h3 {
    line-height: 1;
}

.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>h3>a {
    font-size: 24px;
    color: #1A2746;
    transition: background-size .55s cubic-bezier(.2, .75, .5, 1);
    background: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%);
    background-size: 0px 2px;
    background-repeat: no-repeat;
    background-position: left 85%;
}

.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>h3>a:hover {
    background-size: 100% 2px !important;
}

.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container {
    position: inherit;
    bottom: auto;
    left: 0;
    max-width: 100% !important;
}

.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-page-dots,
.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>span.strong,
.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>.nectar-button {
    display: none;
}

.nectar-recent-posts-slider_multiple_visible .flickity-viewport .nectar-recent-post-bg-blur {
    transform: translateY(10px) translateZ(0)
}

/* Home page testimonial */

.testimonial_slider blockquote .title {
    opacity: 1;
}

/* Blog & about page secondary navigation */

.secondary-nav {
    height: 4rem;
    background-color: #0E1423;
    width: 100%;
    padding: 0 90px;
}

.mobile-menu-item {
    display: none !important;
}

.secondary-nav>.nav-links {
    height: 100%;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    max-width: 1245px;
    margin: 0 auto;
    padding-right: 60px;
}

.secondary-nav>.nav-links>li {
    list-style-type: none;
    margin-left: 1.5rem;
}

.secondary-nav>.nav-links>li>a {
    color: #ffffff !important;
    font-size: 14px;
}

.secondary-nav>.nav-links>li>a:hover,
.current {
    border-bottom: 2px solid #ffffff;
}


/* Blog archive */

#ajax-content-wrap>.container-wrap {
    padding-top: 0 !important;
}

.blog-title-row {
    padding-top: calc(100vw * 0.04) !important;
    padding-bottom: calc(100vw * 0.02);
}

.nectar-post-grid-item>.inner>.content>.item-main>.post-heading {
    color: #1A2746 !important;
    background-image: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%) !important;
}


/* Blog carousel */

.nectar-post-grid-wrap>.wpb_row>.container>.nectar-post-grid>.flickity-viewport>.flickity-slider>.nectar-post-grid-item>.inner>.content>.item-main>.post-heading>a>span {
    color: #1A2746;
    font-size: 24px;
}

.nectar-post-grid-wrap>.wpb_row>.container>.nectar-post-grid>.flickity-viewport>.flickity-slider>.nectar-post-grid-item>.inner>.content>.item-main>.nectar-link-underline {
    display: none;
}


/* Blog related posts */

.related-posts {
    padding-bottom: 0 !important;
    margin-bottom: 4rem;
}

.related-posts>.col>.post>.article-content-wrap>.grav-wrap {
    display: none;
}

.related-posts>.col>.post>.meta-category>a {
    background-color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    padding: 7px 15px;
    border-radius: 20px;
    color: #0E1423;
    opacity: 0.7;
    transition: opacity .45s;
}

.related-posts>.col>.inner-wrap>.article-content-wrap {
    padding-bottom: 1rem !important;
}

.related-posts>.col>.inner-wrap {
    border-radius: 15px !important;
}

.related-posts>.col>.inner-wrap>.article-content-wrap>.post-header>.title {
    text-align: center;
}

.masonry-blog-item>.inner-wrap {
    box-shadow: none !important;
}


/* Remove salient underline animation */

.related-posts>.col>.post>.meta-category>a::before {
    display: none;
}

.related-posts>.col>.post>.meta-category>a:hover {
    border: none;
    background-color: #164CCA;
    color: #ffffff !important;
    opacity: 1;
}


/* Blog featured post */

.featured-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

.featured-photo {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    height: 30vh;
}

.featured-photo>.photo-link>img {
    height: 100%;
    transition: 0.3s;
    object-fit: cover;
}

.featured-photo>.photo-link>img:hover,
img.hovered-img {
    transform: scale(1.1);
}

.insights-title {
    color: #1A2746;
    font-size: 68px;
}

.squiggle-underline {
    z-index: -10;
}

.title-container>.nectar-scribble {
    width: 20% !important;
    margin-top: -22px;
}

.title-container {
    display: flex;
    flex-direction: column;
}

.featured-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.featured-container>.featured-content>.content-link>a,
.nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>h3>a {
    color: #1A2746 !important;
}

.featured-container>.featured-content>.content-link {
    color: #1A2746 !important;
    transition: background-size .55s cubic-bezier(.2, .75, .5, 1);
    background-image: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%);
    background-size: 0px 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
}

.hovered-link {
    background-size: 100% 2px !important;
}

.category-title {
    margin-top: 2rem;
    font-size: 18px;
}

.content-link {
    line-height: 1.2;
}

.featured-category-container {
    display: flex;
}

.featured-content>.featured-category-container>.category-title-btn {
    display: flex;
    margin-bottom: 1rem;
    width: auto;
    text-align: center;
    justify-content: center;
}

.page-submenu>.full-width-content>ul>li>a:hover,
.featured-content>.featured-category-container>.category-title-btn:hover,
.category-container>.category-title-btn:hover {
    background-color: #164CCA;
    color: #ffffff !important;
    opacity: 1;
}

.page-submenu>.full-width-content>ul>li:first-child {
    background-color: #164CCA !important;
    border-radius: 20px;
    pointer-events: none;
    cursor: default;
}

.page-submenu>.full-width-content>ul>li:first-child>a {
    color: #ffffff !important;
}

.category-container>.current-category {
    background-color: #164CCA !important;
    color: #ffffff !important;
    opacity: 1;
    pointer-events: none;
    cursor: default;
}

.page-submenu>.full-width-content>ul>li>a,
.featured-content>.featured-category-container>.category-title-btn,
.category-container>.category-title-btn {
    background-color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    padding: 7px 15px;
    border-radius: 20px;
    color: #0E1423;
    opacity: 1;
    transition: opacity .45s;
}

.blog-archive-header>.container>.section-title>.subheader {
    display: none;
}

.blog-archive-header>.container>.section-title {
    border: none;
}


/* Blog categories archives */

.posts-container>.masonry-blog-item>.inner-wrap {
    border-radius: 10px !important;
}

.inner-wrap>.post-content>.content-inner>.article-content-wrap {
    padding: 1rem 2rem 2rem 2rem !important;
}

.post-content>.content-inner>.article-content-wrap>.post-header>.title {
    font-size: 24px;
    line-height: normal;
    text-align: center;
}

.post-content>.content-inner>.article-content-wrap>.grav-wrap {
    display: none;
}

.post-content>.content-inner>.article-content-wrap>.excerpt {
    display: none;
}

.category-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.category-container>.category-title-btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.post-content>.content-inner>.post-featured-img {
    border-radius: 10px;
    height: auto;
}

body.material .page-header-no-bg {
    padding-top: calc(100vw * 0.04);
    padding-bottom: calc(100vw * 0.01);
}

/* Single blog post */

.featured-media-container {
    display: flex;
}

.title-meta-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.title-meta-container>.entry-title {
    margin: 0;
}

.back-icon {
    margin-right: 1rem;
    width: 52px !important;
    height: 52px !important;
    background-image: url('images/back-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.back-icon:hover {
    background-image: url('images/back-arrow-hover.png');
}


/* Search results page */

.client-logo-link,
.project-image,
.post-image {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    border: 0;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}

.client-logo-link:hover {
    opacity: 0.7;
}

.project-image:hover,
.post-image:hover {
    transform: scale(1.1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.logo-overlay {
    z-index: 10;
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 50% !important;
    max-width: 50% !important;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.project-image:after {
    content: " ";
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(140deg, rgba(252, 192, 0, 0.5) 0%, rgba(26, 39, 70, 0.5) 55%);
}

.col>#search-results>.result>.inner-wrap {
    border-radius: 15px !important;
}

.col>#search-results>.result>.inner-wrap>.search-card-title>a {
    color: #1A2746 !important;
    background-image: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%);
}
/* Search results page header responsive design */
@media only screen and (min-width: 200px) and (max-width: 1000px) {
    #page-header-bg {
        margin-top: 68px;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1200px) {
    #page-header-bg {
        margin-top: 100px;
    }
}



/* Projects page */

.projects-wrap {
    margin-bottom: 0 !important;
}

.projects-wrap>.main-content>.row {
    display: flex;
    flex-direction: column;
}

.projects-wrap>.main-content>.row>.projects-title-row {
    order: 1;
}

.projects-wrap>.main-content>.row>.category-container {
    order: 2;
}

.projects-wrap>.main-content>.row>.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
    order: 3;
}

.projects-wrap>.main-content>.row>.newsletter-container {
    order: 4;
}

.projects-grid>.project-card>.project-info>.project-image {
    padding-bottom: 75%;
}

.projects-grid>.project-card,
.sectors-grid>.blog-card {
    width: 30%;
    margin-bottom: 2rem;
}

.project-card>.project-info>.project-title>a,
.post-card>.post-info>.post-title>a {
    font-weight: 700;
}

.project-card>.project-info>.project-title>a,
.related-project-card>.project-info>.project-title>a {
    color: #1A2746;
    transition: background-size .55s cubic-bezier(.2, .75, .5, 1);
    background-image: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%);
    background-size: 0px 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
}

.categories-grid>.post-card>.post-info>.post-title>a {
    color: #1A2746;
    transition: background-size .55s cubic-bezier(.2, .75, .5, 1);
    background-image: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%);
    background-size: 0px 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
}

.project-card>.project-info>.project-title>a:hover,
.related-project-card>.project-info>.project-title>a:hover,
.related-post-card>.post-info>.post-title>a:hover {
    background-size: 100% 2px !important;
}

.project-card>.project-info>p {
    text-align: center;
}

.project-card>.project-info>.project-title>a:hover,
.related-project-card>.project-info>.project-description,
.related-post-card>.post-info>.post-description,
.related-post-card>.post-info>.post-title {
    text-align: center;
}

.project-card>.project-info>.project-title,
.related-project-card>.project-info>.project-title,
.post-card>.post-info>.post-title {
    background: transparent;
    text-align: center;
    font-size: 1.5rem;
    padding: 0;
    margin-top: 1.5rem;
    line-height: normal;
}

.projects-grid>.project-card>.project-info>.project-image,
.project-image:after,
.categories-grid>.post-card>.post-info>.post-image {
    border-radius: 15px;
}

.hover-title {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(1.1);
}

.hover-image {
    background-size: 100% 2px !important;
}


/* Related posts cards*/

.related-row {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.related-post-card>.post-info>.post-title {
    margin-top: 1.5rem;
}

.related-projects>.col>.post>.article-content-wrap>.post-header {
    text-align: center !important;
}

.related-projects>.col>.post>.article-content-wrap>.post-header>.title,
.related-post-card>.post-info>.post-title>a {
    font-size: 24px;
    font-weight: bold;
    color: #1A2746;
    transition: background-size .55s cubic-bezier(.2, .75, .5, 1);
    background-image: linear-gradient(to right, rgba(252, 192, 0, 1) 0%, rgba(236, 111, 15, 1) 98%);
    background-size: 0px 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
}

.related-title-hover {
    background-size: 100% 2px !important;
}


/* Pagination containers styling */

.projects-nav-container,
.posts-nav-container,
.search-nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.projects-nav-container>.page-numbers,
.posts-nav-container>.page-numbers,
.search-nav-container>.page-numbers {
    margin: 0 1.5rem;
    font-size: 1.2rem;
    color: #1A2746;
}

.projects-nav-container>.page-numbers.current,
.posts-nav-container>.page-numbers.current,
.search-nav-container>.page-numbers.current {
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
    border: 2px solid #1A2746;
    text-align: center;
}

.projects-nav-container>.page-numbers.current:hover,
.posts-nav-container>.page-numbers.current:hover,
.search-nav-container>.page-numbers.current:hover {
    border-color: #164CCA;
}

.projects-nav-container>.page-numbers:hover,
.posts-nav-container>.page-numbers:hover,
.search-nav-container>.page-numbers:hover {
    color: #164CCA;
}


/* Load more button */

.load-more-wrap>.load-more {
    border: 2px solid #1A2746 !important;
    color: #1A2746;
    font-size: 18px !important;
    font-weight: 700;
}

.load-more-wrap>.load-more:hover {
    background-color: transparent !important;
    color: #164CCA;
    border: 2px solid #164CCA !important;
}


/* Project details page */

.featured-project-logo>img {
    width: 200px;
    height: auto;
}

.post-area {
    width: 100% !important;
}

.project-content {
    padding: 2rem 8rem;
}

.project-header-container {
    display: flex;
    padding: min(6vw, 90px) 0;
}

.project-title-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.project-background-container {
    display: flex;
    flex-direction: column;
}

.project-thumbnail {
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* Related projects cards */

.related-projects-container,
.related-posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.related-project-card,
.related-post-card {
    width: 30%;
}

.related-project-card>.project-info>.project-image,
.related-post-card>.post-info>.post-image {
    padding-bottom: 75%;
}

.related-project-card>.project-info>.project-image,
.project-image:after {
    border-radius: 15px;
}

.related-post-card>.post-info>.post-image,
.post-image:after {
    border-radius: 15px;
}


/* Sectors page */

.sector-page>.main-content>.row {
    display: flex;
    flex-direction: column;
}

.sector-page {
    padding-top: calc(100vw * 0.06);
    padding-bottom: calc(100vw * 0.02);
}

.sectors-grid,
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.sectors-grid>.project-card>.project-info>.project-image,
.categories-grid>.post-card>.post-info>.post-image {
    padding-bottom: 75%;
}

.sectors-grid>.project-card,
.categories-grid>.post-card {
    width: 30%;
    margin-bottom: 2rem;
}

.sectors-grid>.project-card>.project-info>.project-image,
.project-image:after {
    border-radius: 15px;
}


/* Sector categories page */

#ajax-content-wrap>.sector-page {
    padding-top: 0 !important;
}

.sector-title>.subheader {
    font-family: Karla;
    font-size: 20px;
    color: #1A2746;
}

.sector-container {
    padding-top: calc(100vw * 0.06);
    padding-bottom: calc(100vw * 0.02);
}


/* Signup form */

#fancybox-loading {
    background: #ffffff;
}

#fancybox-loading div {
    width: 50px;
    height: 50px;
    background: url('ajax-loader.gif') center center no-repeat;
}

.fancybox-inner {
    width: 100% !important;
    iframe {
        max-width: 100% !important;
    }
}

.fancybox-wrap {
    margin-top: 1rem;
    width: 65% !important;
    .fancybox-close .icon {
        fill: #1A2746;
        width: 35px;
        height: 35px;
    }
}

.fancybox-skin {
    padding: 0 !important;
    background-image: url('./images/calvium-logo-bg.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 20%;
}

.yikes-easy-mc-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .EMAIL-label,
    .FNAME-label,
    .LNAME-label,
    .checkbox-parent-label {
        font-weight: bold;
        color: #1A2746 !important;
    }
    .EMAIL-label {
        width: 100%;
    }
    .field-right-half {
        width: 48%;
    }
    .field-left-half {
        width: 48%;
    }
    .yikes-easy-mc-text {
        border-color: #1A2746;
        margin-bottom: 1rem;
    }
    .yikes-easy-mc-email {
        border-color: #1A2746;
        margin-bottom: 0.5rem;
    }
    .yikes-easy-mc-submit-button {
        border: 2px solid #1A2746;
        padding: 2rem auto !important;
        background: transparent;
        border-radius: 200px;
        color: #1A2746;
        width: 100%;
        height: auto;
        align-self: center !important;
        margin: 1rem auto !important;
    }
    .yikes-easy-mc-submit-button>span {
        font-size: 18px;
    }
    .yikes-easy-mc-submit-button:hover {
        border-color: #164CCA;
        background: transparent !important;
        color: #164CCA !important;
    }
}

.signup-form-row {
    display: flex;
    width: 100%
}

.signup-form-column {
    display: flex;
    flex-direction: column;
    width: 65%;
    padding: 4rem 2rem;
    text-align: left;
}

.signup-image-column {
    width: 30%;
    padding: 4rem 2rem;
}

.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem;
    overflow: hidden;
    .newsletter-icon {
        margin: 2rem 0;
    }
    h2 {
        margin-bottom: 1rem;
    }
}

.resource-image {
    display: flex;
    flex-direction: column;
    position: relative;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    z-index: 1;
    box-shadow: 1px 1px 3px $lightgrey2;
}

.resource-link {
    margin-top: .5rem;
    font-weight: bold;
}

.back-button {
    margin: 0 1rem;
}


/* Phone screens */
@media only screen and (min-width: 200px) and (max-width: 667px) {
    .yikes-easy-mc-form {
        .field-left-half, .field-right-half {
            width: 100%;
            margin: 0;
        }
    }

    .signup-form-row {
        flex-direction: column;
    }

    .signup-form-column, .signup-image-column {
        width: 100%;
        padding: 2rem;
    }


}

/* Featured media under header mobile for Blog post*/
@media only screen and (min-width: 200px) and (max-width: 667px) {
    .featured-media-under-header__featured-media {
        padding-bottom: 100% !important;
    }
}

/* Related projects */

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .related-projects-container,
    .related-posts-container {
        flex-direction: column;
    }
    .related-projects-container>.related-project-card,
    .related-posts-container>.related-post-card {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .sector-page,
    .blog-archive-header {
        padding-top: 100px !important;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .main-content>.row {
        margin-top: 3rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    /* Page submenu */
    .wpb_wrapper>.wpb_row {
        padding-bottom: 0% !important;
    }
    .page-submenu>.full-width-content {
        margin-bottom: 0;
    }
    .page-submenu>.full-width-content>ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-submenu>.full-width-content>ul>li {
        margin-bottom: 1rem !important;
        margin-right: 1rem !important;
    }
    a.mobile-menu-link {
        display: none !important;
    }
}

@media only screen and (min-width: 200px) and (max-width: 740px) {
    .page-submenu {
        padding-bottom: 2rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 416px) {
    .featured-blog-section {
        margin-top: 250px;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .projects-grid>.project-card,
    .sectors-grid>.project-card,
    .categories-grid>.post-card {
        width: 95%;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .project-title-container {
        padding: 0;
        margin-top: 80px;
    }
    .project-content {
        padding: 0;
        margin-top: 2rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .post-featured-img {
        height: auto;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    body>.ocm-effect-wrap>.ocm-effect-wrap-inner>#header-space {
        height: 0px !important;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container {
        margin-top: 200px;
    }
    .nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container>.inner-wrap>h3>a {
        font-size: 22px;
    }
}

@media only screen and (min-width: 200px) and (max-width: 999px) {
    .secondary-nav {
        display: none;
    }
    .mobile-menu-item {
        display: block !important;
        margin-left: 1rem;
    }
    .mobile-menu-item>a {
        opacity: 0.8;
    }
}

@media only screen and (min-width: 200px) and (max-width: 1420px) {
    .page-submenu>.full-width-content>ul>li {
        margin-bottom: 1rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 999px) {
    .category-container {
        margin-top: 3rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 999px) {
    .featured-blog-section {
        width: 100%;
        margin-top: 220px !important;
    }
    .featured-photo>.photo-link>img:hover,
    img.hovered-img {
        transform: none;
    }
    .featured-container>.featured-content>.content-link {
        margin-bottom: 0;
        text-align: center;
    }
    .featured-container>.featured-photo {
        width: 100%;
        margin: auto;
    }
    .featured-container>.featured-content {
        width: 100%;
        margin: auto;
    }
    .featured-container>.featured-content {
        margin-top: 1rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .featured-first-item {
        margin-top: 180px !important;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    .project-header-container {
        margin-top: 3rem;
    }
}

@media only screen and (min-width: 200px) and (max-width: 666px) {
    #ajax-content-wrap>.sector-page>.container>.sector-container {
        margin-top: 12%;
    }
}


/* Tablet screens */

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    #ajax-content-wrap>.sector-page>.container>.sector-container {
        margin-top: 12%;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    .main-content>.row {
        margin-top: 2rem;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    .sector-page,
    .blog-archive-header {
        padding-top: 100px !important;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    /* Page submenu */
    .wpb_wrapper>.wpb_row {
        padding-bottom: 0% !important;
    }
    .page-submenu>.full-width-content {
        margin-bottom: 0;
    }
    .page-submenu>.full-width-content>ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-submenu>.full-width-content>ul>li {
        margin-bottom: 1rem !important;
        margin-right: 1rem !important;
    }
    a.mobile-menu-link {
        display: none !important;
    }
}

@media only screen and (min-width: 567px) {
    .page-submenu>.full-width-content>ul {
        padding: 0 90px;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    .projects-grid>.project-card,
    .sectors-grid>.project-card,
    .categories-grid>.post-card {
        width: 48%;
    }
}

@media only screen and (min-width: 417px) and (max-width: 1199px) {
    .project-header-container>.back-button-container {
        margin-top: 100px !important;
    }
}

@media only screen and (min-width: 417px) and (max-width: 1000px) {
    .featured-blog-section {
        margin-top: 180px;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1000px) {
    .featured-first-item {
        margin-top: 180px !important;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    body>.ocm-effect-wrap>.ocm-effect-wrap-inner>#header-space {
        height: 0px !important;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    .nectar-recent-posts-slider_multiple_visible>.nectar-recent-posts-slider-inner>.flickity-viewport>.flickity-slider>.nectar-recent-post-slide>.recent-post-container {
        margin-top: 150px;
    }
}

@media only screen and (min-width: 667px) and (max-width: 1199px) {
    .project-title-container {
        padding: 0;
        margin-top: 100px !important;
    }
    .project-content {
        padding: 0;
        margin-top: 2rem;
    }
}

@media only screen and (min-width: 999px) and (max-width: 1199px) {
    .secondary-nav {
        margin-top: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition-duration: 0s !important;
    }
    .nectar-animated-gradient.loaded {
        opacity: 0;
    }
}