/* HOMEPAGE UPDATE CSS */

/* New style */

.call-to-action-center {
    border-radius: .5em;
    background: #5e4979;
    font-size: 1.15em;
    margin: 5em 2em 6em 2em;
    max-width: 35em;
    padding: 2em;
    text-align: center;
}

.call-to-action-center p {
    color: #eee;
    font-size: 1.6em;
    line-height: 1.2;
}

.call-to-action-center a.sign-up {
    font-size: .75em;
    color: #fff;
    margin: 1em;
    text-decoration: underline;
}

.call-to-action-center a.sign-up:hover {
    color: #fff;
    text-decoration: underline;
}

.call-to-action-center .call-to-action-center-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-to-action-center .call-to-action-center-links .text-link {
    color: #ffffff;
}

.connect-channels {
    background-color: #eee;
    margin-bottom: 2em;
    padding: 1em 2em;
}

.connect-channels .social-icons {
    font-size: 1.25em;
}

.connected-container {
	display: flex;
	margin-bottom: 1em;
}

.connected-icon {
	font-size: 2.25em;
	margin: .25em .75em 0 0;
	color: #00584A;
}

.cta-secondary {
    display: flex;
}

.cta-secondary .cta-image {
    background-color: #ddd;
    background-image: url('../jpg/cta-secondary.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 40%;
}

.cta-secondary .cta-content {
    background-color: #00584A;
    color: #fff;
    padding: 2em 3em;
    width: 60%;
}

.cta-secondary .cta-content a {
	color: #fff;
    text-decoration: underline;
}

.cta-secondary .cta-content a:hover {
    color: #eee;
}

.happenings {
    margin-top: 5em;
    margin-bottom: 5em;
    padding: 1em 2em;
}

.happenings p a {
  text-decoration: underline;
}

.happenings p.flex-to-bottom a {
  text-decoration: none;
}

.hero-container-center {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    background-image: url('../jpg/st-elias-hp-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-container-center .sm-photo {
    display: none;
}

.highlights {
	margin-top: -25px;
	background: #eee;
}

.highlights-container {
    display: flex;
    justify-content: center;
}

.highlight-list {
    display: flex;
    justify-content: space-around;
}

.highlight-list li {
	display: block;
	padding: .5em 1em;
	border: 5px solid #fff;
	font-size: 1.1em;
	font-weight: 700;
}

.hp-banner {
    padding: 1em 7em;
    text-align: center;
    color: #fff;
    background-color: #00485d;
}

.hp-banner p:last-of-type {
    margin-bottom: 0px;
}

.hp-banner-sm {
    display: none;
    padding: 1em;
}

.hp-banner-sm .read-more-less, .hp-banner-sm .read-more-less:hover {
    color: #fff;
    text-decoration: underline;
}

.hp-promises {
    margin-top: 2em;
}

.hero-image {
    width: 70%;
    background-color: #eee;
}

.optcl a.btn-optcl.btn-optcl-white {
	background-color: #fff;
	border: 2px solid #fff;
    color: #00584A;
}

.optcl a.btn-optcl.btn-optcl-white:hover {
	background-color: #eee;
	border-color: #eee;
}

.optcl a.btn-optcl.btn-optcl-white-2 {
	background-color: #00584A;
	border: 2px solid #fff;
    color: #fff;
}

.optcl a.btn-optcl.btn-optcl-white-2:hover {
	background-color: #00584A;
	border-color: #eee;
    color: #eee;
}

.optcl .connect-channels .social-icons a {
	text-decoration: none;
}

.promise-container {
	display: flex;
	align-items: start;
    margin-bottom: 3em;
}

.promise-icon {
	color: #4D1979;
	font-size: 3em;
    padding: .25em;
    margin-top: .1em;
	margin-bottom: .25em;
	margin-right: .35em;
	border-radius: 100%;
	line-height: 0;
	border: 4px solid #4D1979;
}

.promise-icon.white {
	color: #fff;
	background-color: #4D1979;
}

.promise-icon .inner-container {
	width: 1.25em;
	height: 1.25em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.testimonial {
    font-size: 1.4em;
	max-width: 35em;
	margin: auto;
	margin-top: 3em;
	margin-bottom: 5em;
}

.testimonial .testimonial-attr {
    text-align: right;
}

/* Overrides */

body.GSA.HomePage {
    background: none;
}

.GSA.HomePage .hpMain .optcl ul {
    margin: 0;
}

.GSA.HomePage .navbar {
    margin-bottom: 0;
}

.GSA.HomePage .col-primary {
    margin-top: 0;
}

.GSA.HomePage #masterContentArea {
    margin-top: 10px;
}

.GSA.HomePage .HomePageContent {
    max-width: 100%;
    padding: 0;
    margin: 0;
    transition-property: all;
    transition-duration: 0s;
    transition-timing-function: none;
    transition-delay: 0s;    
}

.HomePage .hpMain .optcl img {
    border: none;
}

.optcl .benefit-partners .row img.center-block {
    float: none;
    margin: auto;
}

@media screen and (min-width: 1400px) {
    .call-to-action-center {
        margin: 7em 2em 8em 2em;
    }
}

@media screen and (max-width: 1199px) {
    .hero-image {
        width: 60%;
        background-color: #eee;
    }    
}

@media screen and (max-width: 991px) {
    .hero-image {
        width: 50%;
        background-color: #eee;
    }        

    .highlight-list li {
        font-size: 1em;
    }

    .promise-container {
        flex-direction: column;
    }

    .promise-icon {
        margin: auto;
        margin-top: .25em;
        margin-bottom: .25em;
    }    
}

@media screen and (max-width: 767px) {
    .call-to-action-center {
        border-radius: 0;
        margin: 0;
        padding: 2em 1em;
    }    

    .call-to-action-center a.sign-up {
        margin: .5em .25em;
    }      
    
    .cta-secondary {
        flex-direction: column;
    }    

    .cta-secondary .cta-image {
        width: 100%;        
        min-height: 200px;
    }

    .cta-secondary .cta-content {
        width: 100%;        
    }    

    .cta-buttons {
        text-align: center;
    }

    .hero-container-center {
        flex-direction: column;
        background-image: none;
    }
    
    .hero-container-center .sm-photo {
        display: block;
        background-color: #eee;
        background-image: url('../jpg/st-elias-hp-bg.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        min-height: 10em;
    }    

    .highlights {
        margin-top: 20px;
    }

    .highlight-list {
        flex-direction: column;
    }

    .hero-image {
        order: 1;
        width: 100%;
    }

    .highlights-container {
        display: block;
    }    

    .hp-banner-md {
        display: none;
    }

    .hp-banner-sm {
        display: block;
    }

    .promise-container {
        margin-bottom: 1em;
    }
}

/* Overrides */
@media screen and (min-width: 768px) {
    body.GSA.HomePage.sticky .wrapper #masterContentArea {
        margin-top: 10px;
    }
}

/* END HOMEPAGE UPDATE CSS */