/******************************************************************
Theme Name: JointsWP - CSS - EBSCO Child
Theme URI: 
Template: ebsco
Description: 
Author: EBSCO
******************************************************************/
/* Page Specific Button CSS */
.community-impact-winners-button{
    background-color: #74cc81;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600!important;
    letter-spacing: .2px!important;
    padding: 15px 20px;
    max-width: 250px!important;
    /*margin-top: 35px;*/
    color: #fff!important;
	margin-bottom: 45px;
}
.community-impact-winners-button:hover{
    opacity: .9;
}
.community-impact-winners-button-text{
    text-decoration: none!important
}

/* Page Template CSS Start */
p {
    font-size: 18px;
    letter-spacing: .1em;
    line-height: 30px;
    color: #434245;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.side-spacing {
    padding-left: 60px;
    padding-right: 60px;
}

a {
    color: #80D18E;
    text-decoration: underline;
}

h1 {
    font-size: 31px;
    font-weight: 700;
    line-height: 35px;
    font-family: 'Roboto', sans-serif;
}

header img.logo {
    width: auto;
}

.main-navigation {
    font-size: 18px;
    text-align: right;
    font-family: 'Roboto', sans-serif;
}

.highlight {
    color: #2c3758;
    font-weight: bold;
    font-size: 1em;
}

header[role="banner"] {
    background-color: #2c3758;
    color: #fff;
}

.header .top-bar {
    height: 130px;
    padding: 33px 60px 0 60px;
}

.top-bar-left {
    padding-top: 10px;
}

header img.logo {
    margin: 0;
}

header .top-bar-right.main-navigation {
    margin-top: 0;
}

#content {
    padding-top: 40px;
}

body .gform_wrapper .gform_footer input[type=submit],
.button {
    font-size: 18px;
    letter-spacing: .05em;
    color: #fff;
    background-color: #80D18E;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 0;
    width: 150px;
    height: 45px;
    padding-top: 13px;
    padding-left: 1px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

body .gform_wrapper .gform_footer input[type=submit],
a.button {
    color: #fff;
    text-decoration: none;
    letter-spacing: .05em;
    transition: all 0.25s linear;
    background: #303854;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 1em 1.5em 1em 1.5em;
}

a.button:hover:after {
    content: "\203A";
    font-size: 35px !important;
    position: absolute;
    margin: -12px 0 0 7px;
}

.headlines p {
    /*max-width: 70%;*/
    float: left;
}

.headlines .button {
    /*float: right;*/
    margin: 10px 40px 0 0px;
}

#content h2 {
    margin-bottom: 25px;
    color: #2c3758;
    font-size: 35px;
    font-family: 'Patua One', cursive;
}

#content h2,
#content h3,
#content h4 {
    font-family: 'Patua One', cursive;
}

#content h3 {
	font-size: 24px;
    margin-top: 1em;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 5px solid #74CC81;
    display: inline-block;
    color: #303854;
}

.pillars_container {
    font-family: 'Roboto', sans-serif;
    font-size: 43px;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
    box-shadow: 0px 0px 43px 0px rgba(0, 0, 0, 0.06);
}

.pillars_container .pillar_float {
    width: 33%;
    float: left;
    position: relative;
    color: #fff;
    background-size: contain;
    transition: all 0.25s linear;
}

.pillars_container .pillar_float p {
    font-size: 17px;
    color: #fff;
    padding: 0 30px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: initial;
    transition: all 0.25s linear;
}

.pillars_container .pillar_float.hover {
    transition: all 0.25s linear;
    cursor: pointer;
}

.pillars_container .pillar_float:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.pillars_container .pillar_float .content_cell {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pillars_container .pillar_float .content_center {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    transition: all 0.25s linear;
}

.pillars_container .pillar_float .content_center span {
    font-weight: 300;
}

.pillars_container .pillar_float.hover .content_center {
    margin-top: 50px;
}

.pillars_container .pillar_float:nth-child(5) .content_center {
    margin-top: 64px;
}

.pillars_container .pillar_float:nth-child(-n+3) {
    margin-bottom: 4px;
}

.pillars_container .pillar_float:nth-child(-n+2), 
.pillars_container .pillar_float:nth-child(4), .pillars_container .pillar_float:nth-child(5) {
    margin-right: 4px;
}

.pillars_container .pillar_float:nth-child(1) {
    color: #434245;
    font-size: 34px;
    letter-spacing: .1em;
    line-height: 44px;
    background-color: #fff;
    font-weight: bold;
}

.pillars_container .pillar_float:nth-child(1) .content_center {
    padding: 0 20%;
}

.pillars_container .pillar_float:nth-child(1) img {
    display: block;
    margin: 0 auto;
}

.pillars_container .pillar_float:nth-child(2) {
    background-image: url("images/Education.jpg");
}

.pillars_container .pillar_float:nth-child(3) {
    background-image: url("images/Environment.jpg");
}

.pillars_container .pillar_float:nth-child(4) {
    background-image: url("images/Social-Services.jpg");
}

.pillars_container .pillar_float:nth-child(5) {
    background-image: url("images/Health.jpg");
}

.pillars_container .pillar_float:nth-child(6) {
    background-image: url("images/Arts.jpg");
}


.bg-bluegrey {
    margin: 35px 0 60px 0;
    background-color: #2c3758;
    color: #fff;
    font-size: 22px;
    letter-spacing: .1em;
}

.bg-bluegrey .row {
    padding: 65px 0;
}

.bg-bluegrey .row div:nth-child(1) {
    text-align: right;
    padding-right: 45px;
    padding-top: 26px;
}

.lower-question {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: .1em;
    line-height: 31px;
}

.lower-question p {
    font-weight: 700;
    font-size: 20px;
}

.footer {
    background-color: #2c3758;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    margin: 60px 0 0 0;
    padding: 0;
    letter-spacing: .1em;
    font-weight: 500;
}

#inner-footer {
    padding: 33px 0;
}


.hidden {
    opacity: 0;
}

.top-hack {
    margin-top: 20px !important;
}

.top-hack-mobile {
    margin-top: 0 !important;
}

.quote-callout {
    color: #fff;
    background-color: #2c3758;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 40px;
}

.quote-callout-text {
    color: #fff;
    font-weight: 300;
    font-size: 20px;
    font-family: 'Patua One', cursive;
    text-align: center;
    display: block;
    line-height: 1.25em;
}

.bottom-spacing {
	margin-bottom: 60px;
}

@media screen and (max-width: 1023px) {
    header .top-bar {
        display: block;
    }

    header .top-bar .top-bar-left {
        width: 40% !important;
    }

    header .top-bar .top-bar-right {
        width: 60% !important;
    }

    header .top-bar {
        padding-top: 33px !important;
    }

    #content h2 {
        margin-bottom: 20px;
        font-size: 45px;
    }

    .headlines .button {
        float: none;
        margin: 0;
    }

    .headlines p {
        float: none;
        width: 100%;
        max-width: 100%;
    }

    .pillars_container .pillar_float {
        width: 50% !important;
        margin-left: 0 !important;
    }

    .pillars_container .pillar_float:nth-child(-n+2), 
    .pillars_container .pillar_float:nth-child(4), 
    .pillars_container .pillar_float:nth-child(5) {
        margin-right: 0 !important;
    }

    .pillars_container .pillar_float:nth-child(-n+3) {
        margin-bottom: 0;
    }
    
    .bg-bluegrey div.medium-6:nth-child(1) {
        width: 40%;
    }

    .bg-bluegrey div.medium-6:nth-child(2) {
        width: 60%;
    }

}

@media screen and (max-width: 768px) {
    .pillars_container .pillar_float:nth-child(2) .content_center {
        margin-top: 60px;
    }

    .pillars_container .pillar_float:nth-child(3) .content_center {
        margin-top: 76px;
    }

    .pillars_container .pillar_float:nth-child(5) .content_center {
        margin-top: 63px;
    }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
    .show-for-small-only {
        display: none !important;
    }
}

@media screen and (max-width: 750px) {

    .header .top-bar {
        height: 75px;
    }

    header .top-bar {
        padding: 26px 15px 0 15px !important;
    }

    h1 {
        font-size: 16px;
        line-height: initial;
    }

    .main-navigation {
        font-size: 10px;
    }

    header .top-bar .top-bar-left {
        width: 30% !important;
        padding-top: 0;
        padding-left: 0;
    }

    header .top-bar .top-bar-left ul li {
        padding-left: 0;
    }

    header .top-bar .top-bar-left ul li img {
        max-width: 60px;
    }

    header .top-bar .top-bar-right {
        width: 70% !important;
        margin-top: -5px !important;
    }

    .show-for-small-only {
        display: inline !important;
    }

    .hide-for-small-only {
        display: none !important;
    }

    #content {
        padding-top: 40px;
    }

    .side-spacing {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #content h2 {
        line-height: 45px;
        font-size: 36px;
    }

    .pillars_container {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .bg-bluegrey .row {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .bg-bluegrey {
        margin-top: 15px;
        margin-bottom: 40px;
    }

    .bg-bluegrey .medium-6 {
        width: 100% !important;
        text-align: left;
    }

    .bg-bluegrey .medium-6 .button {
        margin-top: 25px;
    }

    .footer {
        margin-top: 40px;
    }

    .footer .copyright {
        margin-top: 10px;
    }
}


@media screen and (max-width: 700px) {

    .pillars_container {
        font-size: 35px;
    }

    .pillars_container .pillar_float {
        width: 100% !important;
    }

    .pillars_container .pillar_float:nth-child(1) .content_center {
        padding: 0 20px;
        text-align: left;
        font-size: 24px;
        line-height: 32px;
        word-spacing: 100vw;
    }

    .pillars_container .pillar_float.nohover {
        height: 148px;
        padding-left: 15%;
    }

    .pillars_container .pillar_float.nohover img {
        float: left;
        max-width: 52px;
        margin-right: 20px;
    }

    .pillars_container .pillar_float.nohover .content_center div {
        margin-top: 10px;
        word-spacing: 100vw;
    }

    .pillars_container .pillar_float.hover {
        max-height: 75px;
        overflow: hidden;
        background-size: cover;
        transition: 1s;
    }

    .pillars_container .pillar_float.hover .content_center {
        margin-top: 6%;
    }

    .pillars_container .pillar_float.hover .content_center span:before {
        content: '\25bc';
        margin-right: 10px;
        font-size: 20px;
    }

    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 6%;
    }

}

@media screen and (max-width: 550px) {
    .pillars_container .pillar_float.hover .content_center {
        margin-top: 10%;
    }

    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 10%;
    }
}

@media screen and (max-width: 450px) {
    .pillars_container .pillar_float.hover .content_center {
        margin-top: 15%;
    }

    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 15%;
    }
}

@media screen and (max-width: 414px) {
    .pillars_container .pillar_float.hover .content_center {
        text-align: left;
    }

    .pillars_container .pillar_float .content_center span {
        padding-left: 40px;
        padding-right: 20px;
    }

    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 52px;
    }

    .pillars_container .pillar_float.nohover {
        padding-left: 6% !important;
    }
}


@media screen and (max-width: 400px) {

    .button {
        font-size: 17px;
        height: 40px;
        padding-top: 11px;
    }

    #content h2 {
        line-height: 35px;
        font-size: 18px;
    }

    p {
        font-size: 14px;
        line-height: 24px;
    }

    .pillars_container .pillar_float.nohover {
        padding-left: 10%;
    }

    .pillars_container .pillar_float.hover .content_center {
        margin-top: 75px;
    }

    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 65px;
    }

    .bg-bluegrey {
        margin-bottom: 40px;
    }

    .bg-bluegrey .row div:nth-child(1) {
        padding-right: 0;
        padding-top: 0;
        text-align: left;
    }

    .bg-bluegrey div.medium-6:nth-child(2) {
        font-size: 16px;
    }

    .lower-question {
        line-height: 28px;
        font-size: 15px;
    }

    .lower-question p {
        font-size: 19px;
    }

    .footer {
        margin-top: 40px;
        font-size: 10px;
    }

    .footer #inner-footer {
        padding: 29px 0 24px 0;
    }

    .footer .copyright {
        margin-top: 0;
    }

}

@media screen and (max-width: 376px) {

    .pillars_container .pillar_float.hover .content_center {
        margin-top: 63px;
    }

    .pillars_container .pillar_float:nth-child(3) .content_center {
        margin-top: 75px;
    }
    
    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 52px;
    }
}

@media screen and (max-width: 360px) {
    
    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 63px;
    }
}

@media screen and (max-width: 340px) {
    .pillars_container .pillar_float.hover .content_center {
        margin-top: 75px;
    }

    .pillars_container .pillar_float.nohover {
        padding-left: 2% !important;
    }

    .pillars_container .pillar_float .content_center span {
        padding-left: 20px;
    }

    .pillars_container .pillar_float:nth-child(4) .content_center, 
    .pillars_container .pillar_float:nth-child(6) .content_center {
        margin-top: 66px;
    }
}