/*styles for the template partial Hero and Hero type 1*/
.articleContainer a.pas-button
{
    top: 13px;
}

section.perks .articles-header
{
    padding: 0px 0px 15px;
    top: 40px;
    position: relative;
}

.featuredDiv
{
	top: -66px;
    position: relative;
}

section.articles-grid{
    padding: 40px 0 0;
    position: relative;
}

section.articles-grid .hero-featured-article{
    margin-top:20px;
}

section.articles-grid .hero-featured-article .article-content {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    padding: 40px 10%;
}

section.articles-grid .hero-featured-article .post-date{
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
}

section.articles-grid .hero-featured-article .articles-grid-cta{
    margin-top: 60px;
    display:flex;
}

section.articles-grid .hero-featured-article .v-center-line {
    margin-left: -200%;
}

section.articles-grid .hero-featured-article .article-image {
    position: relative;
    margin-top: 80px: 
}

section.articles-grid .article-image .bg-cover{
    position: relative;
    margin-left: -25%;
    margin-top: 80px;
    z-index: 1;
}

section.articles-grid .article-image .color-box {
    position: absolute;
    top: 0;
    right: -100px;
    left: 80px;
    z-index: 0;
}

section.articles-grid .grid-content {
    position: relative;
}

section.articles-grid .bg-overlay{
    opacity: 0.75;
    z-index: 0;
}

section.articles-grid .row{
    position: relative;
}

section.articles-grid .cards {
    padding: 0!important;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

section.articles-grid.pop-up .bg-image,
section.articles-grid.pop-up .bg-overlay{
    top:100px;
}

section.articles-grid .card {
    width:100%;
    /*float:right;*/
    margin-bottom: 45px;
}

section.articles-grid .featured-article {
    position: absolute;
    right: 0;
    top: -80px;
}

section.articles-grid .card .title{
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
}

section.articles-grid .card .subtitle{
	font-weight: bold;
	font-size: 20px;
	line-height: 100%;
	text-transform: uppercase;
}

section.articles-grid .card .inner {
    position: relative;
    display: flex;
    flex-direction: row;
}

section.articles-grid .featured-flag {
    position: absolute;
    padding: 12px 26px;
    left: 15%;
    top:0;
}

section.articles-grid .card .inner .article-content{
    z-index: 1;
    position: relative;
    padding: 40px 40px 40px 21%;
    z-index: 0;
}

section.articles-grid .card.featured .article-content {
    padding-top: 60px;
}

section.articles-grid .card .inner .article-content p{
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
}

section.articles-grid .card-image {
    position: absolute;
    left: -18%;
    top: 0;
    width: 35%;
	height: 200px;
    z-index: 10;
}

section.articles-grid .card .color-box {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    min-height: 10%;
    z-index: 0;
}

section.articles-grid .card .pas-button {
    float: right;
    margin-bottom: -70px;
    opacity: 1;
}

section.articles-grid .articles-grid-cta .pas-button {
    min-width: 250px;
}

/***********************/
/* Responsive styles */
/***********************/
@media (max-width: 768px){

    section.articles-grid .card {
        width: 80%;
        margin-left: 15%;
        margin-right: 10%;
    }

    section.articles-grid .articles-grid-cta{
        padding-right: 40px;
        bottom: 40px;
    }    

}

@media (max-width: 992px){



    section.articles-grid:not(.blog-archive) .cards {
        margin-bottom: 80px;
    }

    section.articles-grid .hero-featured-article .article-image{
        overflow: hidden;
    }

    section.articles-grid .card{
        padding: 0;
    }

    .hero-featured-article .row{
        flex-direction: column-reverse;
    }

    section.articles-grid .cards {
        height: 100%;
        position: relative;
        top: -66px;
    }

}

@media (min-width: 768px){

    section.articles-grid .hero-featured-article{
        margin-top:140px;
    }

    section.articles-grid .card .inner {
        /*padding: 0 15px 30px;*/
    }

    section.articles-grid .card .inner .article-content{
        margin-left: 18%;
    }
}

@media (min-width: 992px){


    section.articles-grid:not(.blog-archive) .cards {
        margin-bottom: 180px;
    }

    section.articles-grid .hero-featured-article .article-content {
        padding: 0px 40px 40px 80px;
    }

    section.articles-grid .grid-content .articles-grid-cta {
        position: absolute!important;
        bottom: 240px;
        padding-right: 435px;
    }

    section.articles-grid .hero-featured-article{
        margin-top:120px;
        margin-bottom:180px;
    }

    section.articles-grid .cards {
        flex-direction: row;
    }

    section.articles-grid .card .inner .article-content{
        padding-top: 60px;
        padding-right: 4%;
    }

    section.articles-grid .hero-featured-article .article-content p{
        padding-left: 30%;
    }

    section.articles-grid .hero-featured-article .articles-grid-cta{
        display: flex;
        position: relative;
    }

    section.articles-grid .cards > div:not(.columns-2):first-child {
        margin-top: 200px;
    }

    section.articles-grid .cards .columns-2 .article:first-child {
        margin-top: -200px;
        display: block;
    }

    section.articles-grid .article-col-featured {
        top: -66px;
        position: relative;
    }

}

@media (max-width: 1200px){
    
   section.articles-grid .card.article .articles-grid-cta {
        display: block;
        padding-right: 80px;
        padding-top:40px;
        padding-bottom: 80px;
    }
}


@media (min-width: 1800px){

}

@media (min-width: 1200px)
{
	.articleContainer
	{
		max-width: 1688px !important;
	}
}

/* Decrease Size of Article - J*/ 

@media (min-width: 1200px)
{
	.articleContainer
	{
		margin-bottom: -139px
	}
}



/* Change for lower res -j */
@media (max-width: 992px){
	section.articles-grid .card {
    
  margin-top:90px;
}
}

/* change for blog page padding bottom */

.blog-archive .articleContainer{
		padding-bottom: 200px;
}

/* Change the Container Size =j*/

@media (min-width: 1200px)
{
	.articleContainer
	{
		margin-bottom: -139px;
		max-width:1600px !important;
	}
}

/* change the article positioning -j */
@media (min-width: 1200px){
	section.articles-grid .row{
    max-width:1600px !important;
    
}

}

/* Title and Subtitle change position -j */

@media (min-width:1200px){

	.articles-grid .section-title{
	margin-left: 3rem;
}

.articles-grid .section-subtitle{
	margin-left: 3rem;

}

}

/* Change for Button and the button line NEIGHBORHOOD */

@media(min-width: 1200px){
	.page-template-page-neighborhood section.articles-grid .articles-grid-cta .pas-button {
	position:flex;
    min-width: 250px;
    left:440px;
    top: -30px;     

    }

    .page-template-page-neighborhood section.articles-grid .v-center-line span{
		align-self: auto;
		width: 440px;
	}

	.page-template-page-living-here section.articles-grid .articles-grid-cta .pas-button {
	position:flex;
    min-width: 250px;
    left:440px;
    top: -30px;     

    }

    .page-template-page-living-here section.articles-grid .v-center-line span{
		align-self: auto;
		width: 440px;
	}

}

/* Change for Button and the button line LIVING HERE */
@media(min-width: 992px) and (max-width: 1199px){
	.page-template-page-living-here section.articles-grid .articles-grid-cta .pas-button {
		position:flex;
		left:150%;
		top: -1.5rem; 
    }

     .page-template-page-living-here section.articles-grid .v-center-line span{
		align-self: auto;
	    width: 200%;

	}

	.page-template-page-living-here section.articles-grid.articles-grid-cta .pas-button {
		position:flex;
		left:150%;
		top: -1.5rem; 
    }

     .page-template-page-living-here section.articles-grid .v-center-line span{
		align-self: auto;
	    width: 200%;

	}

}

/* Change for Button and the button line PERKS */
@media(min-width: 992px) and (max-width: 1199px){
	.page-template-page-perks section.articles-grid .articles-grid-cta .pas-button {
		position:flex;
		left:150%;
		top: -1.5rem; 
    }

     .page-template-page-perks section.articles-grid .v-center-line span{
		align-self: auto;
	    width: 200%;

	}

	.page-template-page-perks section.articles-grid.articles-grid-cta .pas-button {
		position:flex;
		left:150%;
		top: -1.5rem; 
    }

     .page-template-page-perks section.articles-grid .v-center-line span{
		align-self: auto;
	    width: 200%;

	}


}

/* Alignment for different screen sizes such as retina display */ 

@media(min-width: 1200px) and (max-width:1800px){

	

 section.articles-grid .card .inner .article-content{
        /*left: 200px;*/
       
	}
}





