@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*////////////
/ Grid Setup /
////////////*/
body.page-node-type-signatories-page {
    font-family: "Montserrat", sans-serif;
}

.equity-header {
    min-height: 630px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.equity-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.equity-header h2 {
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 1.5rem;
}

@media only screen and (max-width: 768px) { 
    .equity-header h1 {
        font-size: 2em;
        line-height: 1.3;
    }
    .equity-header h2 {
        font-size: 1.3em;
    }
    .equity-header h1,
    .equity-header h2 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.equity-header .equity-grid.three {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
@media only screen and (max-width: 768px) { 
    .equity-header .equity-grid.three {
        flex-direction: column;
        align-items: center;
    }
}

.equity-header .equity-grid.three .equity-grid__button {
    border: 3px solid transparent;
    padding-top: 26px;
    padding-bottom: 26px;
}

.equity-header .equity-grid.three .equity-grid__button:hover {
    background: white;
    border-color: #01256e;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
}

.equity-header .equity-grid.three > div {
    margin: 0 20px;
}
@media only screen and (max-width: 768px) {
    .equity-header .equity-grid.three > div {
        margin: 20px 0;
    }
}

.equity-grid__container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 100px 10px 100px 20px 1fr 20px 70px 10px 70px 10px 70px 10px 70px;
    grid-template-rows: 100px 10px 100px 20px 1fr 20px 70px 10px 70px 10px 70px 10px 70px;

    /* remove me when adding signatories     
    -ms-grid-rows: 100px 10px 100px 20px 1fr 20px 90px 10px 90px 10px 0px 0px 90px;
    grid-template-rows: 100px 10px 100px 20px 1fr 20px 90px 10px 90px 10px 0px 0px 90px;
     --------------------------------- */

    margin: 0 auto;
    padding: 20px 20px;
    text-align: center;
    max-width: 1280px;
}

.equity-grid__element--1 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    -ms-grid-row: 1;
}

.equity-grid__element--2 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 3;
    -ms-grid-row: 3;
}

.equity-grid__element--3 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 5;
    -ms-grid-row: 5;
}

.equity-grid__element--4 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 7;
    -ms-grid-row: 7;
}

.equity-grid__element--5 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 9;
    -ms-grid-row: 9;
}

.equity-grid__element--6 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 11;
    -ms-grid-row: 11;

    /* remove me when adding signatories 
    display: none !important;
     --------------------------------- */
}

.equity-grid__element--7 {
    grid-column: 1;
    -ms-grid-column: 1;
    grid-row: 13;
    -ms-grid-row: 13;
}


@media only screen and (min-width: 768px) { 

    .equity-grid__container {
        -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
        grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;

        /* remove me when adding signatories 
        -ms-grid-columns: 1fr 20px 1fr 20px 0px 0px 1fr;
        grid-template-columns: 1fr 20px 1fr 20px 0px 0px 1fr;
         --------------------------------- */

        -ms-grid-rows: 100px 400px 90px;
        grid-template-rows: 100px 400px 90px;
    
        margin: 0 auto;
        padding: 20px 0;
        text-align: center;
        justify-items: center;
    }

    .equity-grid__element--1 {
        grid-column: 1;
        -ms-grid-column: 1;
        grid-row: 1;
        -ms-grid-row: 1;
    }
    
    .equity-grid__element--2 {
        grid-column: 7;
        -ms-grid-column: 7;
        grid-row: 1;
        -ms-grid-row: 1;
    }
    
    .equity-grid__element--3 {
        grid-column: 1 / span 7;
        -ms-grid-column: 1;
        -ms-grid-column-span: 7;
        grid-row: 2;
        -ms-grid-row: 2;
        align-self: end;
    }
    
    .equity-grid__element--4 {
        grid-column: 1;
        -ms-grid-column: 1;
        grid-row: 3;
        -ms-grid-row: 3;
    }
    
    .equity-grid__element--5 {
        grid-column: 3;
        -ms-grid-column: 3;
        grid-row: 3;
        -ms-grid-row: 3;
    }
    
    .equity-grid__element--6 {
        grid-column: 5;
        -ms-grid-column: 5;
        grid-row: 3;
        -ms-grid-row: 3;
    }
    
    .equity-grid__element--7 {
        grid-column: 7;
        -ms-grid-column: 7;
        grid-row: 3;
        -ms-grid-row: 3;
    }

} /* end media query */


/*/////////////////////
/ Grid Element Styles /
/////////////////////*/

.equity-grid__block {
    background: url('../img/background__call-to-advance-equity.jpg') center no-repeat;
    background-size: cover;
    border-bottom: solid 4px #01256e;
}

.equity-grid__block .field,
.equity-grid__block > div {
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,1) 95%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 20%,rgba(255,255,255,1) 95%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 20%,rgba(255,255,255,1) 95%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.equity-grid__element--1 img {
    border: solid #01256e;
    height: 94px;
}

.equity-grid__element--2 {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 65%;
    background-color: #01256e;
    border-radius: 10px;
    margin: 20px 0;

    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .5px;
}

.equity-grid__container h1 {
    margin: 0 0 10px;
    font-size: 2.3rem;
}

.equity-grid__container h2 {
    margin: 10px 0 40px;
    font-weight: 400;
    font-size: 1.2rem;
}

.equity-grid__element--4,
.equity-grid__element--5,
.equity-grid__element--6,
.equity-grid__element--7 {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.equity-grid__button {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: .5px;
}

.equity-grid__button--green {
    background: #2ea749;
}

.equity-grid__button--yellow {
    background: #f7c23d;
    color: #000;
}

.equity-grid__button--navy {
    background: #242b54;
}

.equity-grid__button--teal {
    background: #468a89;
}


@media only screen and (min-width: 768px) { 
    .equity-grid__block {
        background-position: center -90px;
    }

    .equity-grid__element--2 {
        font-size: 1.3rem;
        width: 100%;
        margin: 0;
    }

    .equity-grid__container h1 {
        font-size: 3rem;
    }

    .equity-grid__container h2 {
        font-size: 1.5rem;
    }

    .equity-grid__element--4,
    .equity-grid__element--5,
    .equity-grid__element--6,
    .equity-grid__element--7 {
        width: 100%;
    }
}


/*/////////////
/ Main Styles /
/////////////*/


.page-node-type-signatories-page h1,
.page-node-type-signatories-page h2,
.page-node-type-signatories-page h4 { 
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.page-node-type-signatories-page #block-payment-page-title h1 {
    margin: 10px 0 60px;
    font-size: 2.1rem;
    text-align: center;
}

.page-node-type-signatories-page #block-payment-content {
    text-align: justify;
}

.page-node-type-signatories-page .webform-confirmation-modal {
    border: solid 3px #01256e;
    border-radius: 10px;
    text-align: center;
}

.page-node-type-signatories-page .ui-dialog .ui-dialog-titlebar {
    padding: 0;
    margin: 0 0 .4em;
}

.page-node-type-signatories-page .ui-widget-header {
    border: none;
    background: #fff;
    color: #333333;
}

.block__read-more {
    text-align: justify;
    margin: 20px 0 0;
}

.read-more a {
    color: #000;
    font-weight: bold;
}

.read-more-content {
    visibility: hidden;
    opacity: 0;

    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

/* Headshot Block */

.block__headshot {
    padding: 80px 30px;
    border-radius: 40px;
    background: #e9e9e9;
    text-align: center;
    font-size: 1.1rem;
}

.headshot__views-row {
    margin: 0 20px 50px;
}

.headshot__views-row:last-child {
    margin: 0 20px 0px;
}

.headshot__image img {
    display: block;
    margin: 0 0 20px;
}

.headshot__title {
    margin: 0;
}

/* Signatories Block */

.signatories__view {
    margin: 110px 0px;
    text-align: center;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.signatories__view header {
    border: none;
    width: 100%;
}

.signatories__view header .button {
    font-size: 1.4rem;
    padding: 12px 22px;
    border-radius: 10px;
}

.signatories__view header h2 {
    margin: 100px 0 40px;
    font-size: 2rem;
    letter-spacing: 2px;
}

.signatories__views-row {
    width: 50%;
    margin: 20px 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.signatories__name,
.signatories__title,
.signatories__organization {
    margin: 5px 0;
}

.signatories__title,
.signatories__organization,
.signatories__title-orgs-affil {
    font-size: 15px;
}

.signatories__title-orgs-affil p {
    margin: 5px 0;
}

/* Webform Block */

.page-node-type-signatories-page #block-webform {
    max-width: 650px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
}

.page-node-type-signatories-page #block-webform h2 {
    text-align: center;
    font-size: 2rem;
}

.page-node-type-signatories-page #block-webform .form-actions {
    border: none;
}

input[type="url"] {
    border: 1px solid #ccc;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: 10px;
    font-size: 18px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.webform-select-other {
    margin-bottom: 0;
}

.page-node-type-signatories-page select {
    border: 1px solid #ccc;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: 10px;
    font-size: 18px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    box-shadow: none;
}

.page-node-type-signatories-page input[type="submit"] {
    font-size: 1.4rem;
    padding: 12px 22px;
    border-radius: 10px;
}

.page-node-type-signatories-page .form-item-markup {
    font-size: 1.35rem;
    margin: 50px 0;
}


/* Remove header and footer */

.page-node-291 .eyebrow {
    display: none;
}

.page-node-291 header {
    display: none;
}

.page-node-291 .postscript-full-wrapper {
    padding-bottom: 100px;
}

.page-node-291 footer {
    display: none;
}


@media only screen and (min-width: 768px) { 
    .page-node-type-signatories-page #block-payment-content,
    .block__read-more {
        font-size: 1.35rem;
    }

    /* Headshot Block */

    .block__headshot {
        font-size: 1.3rem;
    }

    .headshots__view {
        display: flex;
        justify-content: space-around;
    }

    .headshot__views-row,
    .headshot__views-row:last-child {
        margin: 0 20px;
    }

    .headshot__image img {
        margin: 0 0 50px;
    }

    /* Signatories Block */

    .signatories__view {
        margin: 110px 50px;
    }

    .signatories__views-row {
        width: 33%;
        padding: 0 20px;
    }


}