/* 
Theme Name:     IHCO
Theme URL:      http://health.coop
Description:    Bespoke theme developed for the International Health Co-operative Organisation brochure site
Theme Author:   Co-operative Web
Author URL:     http://web.coop
Template:       neve
Version:        1.0.0 
Text Domain:    ihco
*/

/*
Brand colours:

Purple: #8D0A56
    text: #fbf7f9
DarkBlue: #0C1B33
Xanadu green: #73877B
Blue: #4F737C
Beige: #F0EBD8
health blue: #0064a2

https://twitter.com/IHCO_coophealth

*/
/* Fonts */
.has-large-font-size {
    font-size: 1.75em;
}

/* Homepage */

.home #content .wp-block-columns,
.home #content .wp-block-column {
    margin: 0;
}

.home #content .wp-block-columns.alignfull {
    padding: 0;
}

.home #content .wp-block-button__link {
    display: ruby;
}

.wp-block-cover__inner-container .has-huge-font-size {
    padding: 20px;
    margin: 20% 15% 5% 15%;
    opacity: 0.95;
}

/* Homepage - Newsletter banner */

.newsletter-banner .newsletter-text {
    flex-basis: 70%;
    margin-left: 15% !important;
    margin-top: 20px !important;
}
.newsletter-banner .newsletter-btn {
    flex-basis: 30%;
    margin: 0;
}

/* Homepage - Structure and Sectors */

.structure-heading,
.sector-icons {
    order: 1;
}

.structure-icons,
.sector-title {
    order: 2;
}

.structure-icon-inner,
.sector-icon-inner,
.structure-link {
    text-align: center;
    padding: 30px;
}

/* Homepage - Updates */

.container.homepage-updates {
    /* background-color: #f0ebd8; */
    background: transparent;
    color: #393939;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.updates-holder {
    display: flex;
    flex-direction: row;
}

.updates-section {
    display: flex;
    flex-direction: column;
}

.updates-section .section-title {
    font-size: 2em;
    color: var(--nv-text-color);
    margin-top: 50px;
    align-self: center;
}

.updates-section .archive-container {
    padding-right: 15%;
    padding-left:  15%;
}

.updates-section article.post {
    position: initial !important;
}

.updates-section .cover-post {
    display: flex;
    flex-direction: column;
}

.updates-section .cover-post .inner {
}

.updates-section .cover-post .inner h3 a {
    text-decoration: none;
}

.updates-section .cover-post .inner h3 a:hover {
    text-decoration: underline;
}

.updates-section .excerpt-wrap p {
    padding-top: 0px;
}

.updates-section .excerpt-wrap p a {
    display: block;
    width: 100px;
    height: 34px;
    padding: 6px 12px;
    overflow: hidden;
    margin: 15px auto;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none !important;
    font-size: 0.8em;
    font-weight: bold;
    font-family: 'Graphik', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', Arial, Helvetica, sans-serif;
    background-color: var(--nv-primary-accent);
    border-radius: 3px;
    text-transform: uppercase;
}

.updates-section .excerpt-wrap p a:hover {
    background-color: var(--nv-primary-accent);
    opacity: 0.9;
    transition: all .15s ease-in-out;
}

.homepage-updates .btn-center {
    align-self: center;
    margin-bottom: 50px;
}

.homepage-updates .btn-filled {
    border: 1px solid var(--nv-primary-accent);
    background-color: var(--nv-primary-accent);
    padding: 15px 20px;
    font-size: 1em;
    color: #fff;
    word-wrap: break-word;
    overflow: hidden;
}

.homepage-updates .btn-filled:hover {
    opacity: 0.9;
}

/* Homepage - Twitter Feed */

.twitter-feed {
    width: 50%;
    margin: auto;
}



/* Health Sectors and Cooperative Structures pages */

#content.neve-main .container .alignfull.health-sectors > [class*="__inner-container"] ,
#content.neve-main .container .alignfull.coop-structures > [class*="__inner-container"] {
    max-width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.health-sectors h1.has-huge-font-size,
.coop-structures h1.has-huge-font-size {
    text-shadow: 2px 2px 15px hsla(0, 0%, 0%, 1);
    margin: 0;
    padding: 0;
}

/* Updates Archive */

.cover-post.nv-post-thumbnail-wrap {
    background-image: url(/https/health.coop/wp-content/themes/IHCO/assets/images/fallback_img.jpg);
}

/* Footer */

.footer-parent {
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    padding-top: 50px;
    /* border-top: 1px solid #393939; */
    box-shadow: 0px -1px 5px #E5E5E5;
}

.footer-parent h1 {
    align-self: center;
}

.footer-children {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: center;
    padding: 0 50px;
}

.footer-children div {
    display: flex;
    flex-direction: column;
}

.footer-newsletter {
    width: 400px;
    margin-right: 10%;
}

.footer-sns {
    align-content: right;
}

.footer-sns div {
    display: flex;
    flex-direction: row;
}

.footer-sns {
    margin-top: 15px;
}

.footer-sns .sns-icons {
    font-size: 2em;
    margin-right: 20px;
    margin-bottom: 20px;
}

.footer-sns .sns-icons a {
    margin-right: 40px;
}

.footer-sns p {
    font-size: 0.8em;
}

.footer-sns p a {
    color: black;
    text-decoration: underline;
}

.nv-single-page-wrap.col {
    margin-bottom: 0;
}

.footer-text button:hover {
    background-color: var(--nv-primary-accent);
}

.footer-contact-form {
    width: 500px;
}

.footer-contact-form p,
.footer-contact-form p input {
    margin: 0;
    width: 100%;
}

.footer-contact-form form label, .wpforms-container .wpforms-field-label {
    width: 100%;
}

.footer-contact-form p textarea {
    height: 100px;
    width: 100%;
    font-family: 'MS Shell Dlg 2',sans-serif;
}

.footer-contact-form .cf7ic_instructions {
    display: block;
    margin-bottom: 10px;
}

.footer-contact-form .captcha-image {
    border: none;
    padding: 0;
}

.footer-contact-form .captcha-image label > input:checked + svg {
    border: 2px solid #000;
}

.footer-contact-form .captcha-image .cf7ic_instructions span {
    color: black;
}


/* Responsive Styles */
@media (max-width: 1020px) {
    #updates-section .update-inner-holder a {
        margin: 0 20px 20px 20px;
    }
    #updates-section .updates-holder {
        flex-direction: unset;
    }
    #updates-section .updates-holder .widget {
        max-width: 80%;
        max-height: 100%;
        align-self: center;
        padding-bottom: 10px;
    }
    .updates-holder .widget {
        transition: none;
    }
    .updates-holder .widget:hover {
        transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transition: none;
    }
    #updates-section .archive-container {
        padding: 0 5%;
    }
    .structure-heading .structure-link,
    .structure-icons .structure-link,
    .sector-icons .structure-link,
    .sector-title .structure-link {
        padding: 0 30px;
    }
}

@media (max-width: 800px) {
    /* HOMEPAGE */
    .wp-block-columns.newsletter-banner {
        flex-wrap: wrap;
    }
    .newsletter-banner .newsletter-text {
        flex-basis: 100% !important;
        margin: 20px 15% !important;
    }
    .newsletter-banner .newsletter-btn {
        flex-basis: 100% !important;
        margin: 0 25% 25px 25% !important;
    }
    .about-us .wp-block-group__inner-container .wp-block-columns .wp-block-column {
        flex-basis: 100% !important;
        margin: 0 75px 25px 75px !important;

    }
    .about-us .wp-block-group__inner-container .wp-block-columns .wp-block-column:nth-child(odd) {
        display: none;
    }
    .structure-heading,
    .structure-icons,
    .sector-icons,
    .sector-title {
        flex-grow: 1;
    }
    /* UPDATES */
    #updates-section .col-md-4 {
        flex-basis: 100%;
        max-width: 100%;
    }
    #updates-section .archive-container {
        flex-direction: column;
    }
    #updates-section .archive-container .inner {
        max-width: 80%;
        max-height: 100%;
        align-self: center;
        padding-bottom: 10px;
    }
    .updates-section .inner:hover {
        transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transition: none;
    }
    .updates-section .inner h3 {
        transition: none;
        font-size: 1.5em;
    }
    /* FOOTER */
    .footer-parent {
        justify-items: center;
    }
    .footer-children {
        display: block;
        margin: auto;
        width: 100%;
    }
    .footer-children div.footer-newsletter {
        flex-direction: row;
        width: 100%;
        margin-top: 50px;
    }
    .footer-newsletter .footer-text,
    .footer-newsletter .footer-sns {
        width: 50%;
    }
    .footer-newsletter .footer-text {
        margin-right: 20%;
        margin-bottom: 20px;
    }
    .footer-newsletter .footer-sns {
        margin-top: 0;
    }
    .footer-contact-form {
        width: 100%;
    }
}

@media (max-width: 782px) {
    .wp-block-columns {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .sector-icons {
        order: 2;
    }
    .sector-title {
        order: 1;
    }
    .footer-children div.footer-newsletter {
        flex-direction: column;
        margin-top: 0;
    }
    .footer-children .footer-text,
    .footer-children .footer-sns {
        width: 100%;
    }
}
