/*
Feature Section Posts
---------------------------------------------------------------------------------------------------- */

ul.section-posts-one-half,
ul.section-posts-one-third,
ul.section-posts-one-fourth,
ul.section-posts-one-fifth,
ul.section-posts-one-sixth{
margin: 0 auto;
    display: grid;
    grid-column-gap: 30px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
	overflow: visible;
	padding-left:  0;
	margin-left:  0;
    padding-left:  0;
}

ul.section-posts-one-half li,
ul.section-posts-one-third li,
ul.section-posts-one-fourth li,
ul.section-posts-one-fifth li,
ul.section-posts-one-sixth li{
list-style-type: none;
margin: 0 auto 25px;
}

ul.section-posts-one-half h3,
ul.section-posts-one-third h3,
ul.section-posts-one-fourth h3,
ul.section-posts-one-fifth h3,
ul.section-posts-one-sixth h3{
text-align: center;
color: #113154;
	padding: 1% 4%;
line-height: 1.4;
}

ul.section-posts-one-half h3,
ul.section-posts-one-half h3 a,
ul.section-posts-one-third h3,
ul.section-posts-one-third h3 a{
font-size: 26px;
color: #113154;
}

ul.section-posts-one-fourth h3,
ul.section-posts-one-fourth h3 a{
font-size: 22px;
color: #113154;
}

ul.section-posts-one-fifth h3,
ul.section-posts-one-fifth h3 a,
ul.section-posts-one-sixth h3,
ul.section-posts-one-sixth h3 a{
font-size: 18px;
color: #113154;
}

ul.section-posts-one-half{
    grid-template-columns: repeat(2, 1fr);
}

ul.section-posts-one-third{
    grid-template-columns: repeat(3, 1fr);
}

ul.section-posts-one-fourth{
    grid-template-columns: repeat(4, 1fr);
}

ul.section-posts-one-fifth{
    grid-template-columns: repeat(5, 1fr);
}

ul.section-posts-one-sixth{
    grid-template-columns: repeat(6, 1fr);
}

.favorite-post-block ul.section-posts-one-third li:last-of-type,
.latest-block ul.section-posts-one-third li:last-of-type{
display: none;
}


/*
Custom Blocks
---------------------------------------------------------------------------------------------------- */

.page-template-block-page .site-inner,
.page-template-full-width .site-inner{
padding: 0;
}

.section-headline{
width: 100%;
clear: both;
margin: 0 auto 15px;
display: flex;
flex-direction: row;
justify-content: space-between;
    align-items: flex-end;
}

.section-headline h2{
font-size: 28px;
    margin: 0;
	text-transform: uppercase;
letter-spacing: 2px;
}

.section-headline h2:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-new.svg) center no-repeat;
background-size: contain;
width: 138px;
height: 40px;
display: inline-block;
vertical-align: middle;
margin-right: 10px;
}

.section-headline .section-title{
width: 65%;
text-align: left;
}

.section-headline .section-button{
    width: 35%;
text-align: right;
}

.section-headline .see-more{
color: #113154;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 700;
    font-size: 16px;
    position: relative;
}

.section-headline .see-more:before{
content: 'browse more';
	font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
text-transform: lowercase;
letter-spacing: 0;
font-weight: 300;
font-style: italic;
margin: 0 5px;
font-size: 22px;
}

.section-headline .see-more:after{
content: '';
	background: url(/wp-content/plugins/PMD-Site-Functionality/images/arrow.svg) center no-repeat;
background-size: contain;
width: 50px;
height: 12px;
display: inline-block;
	vertical-align: middle;
margin-left: 5px;
}


.about-block .wrap,
.newsletter-block .wrap,
.featured-posts-block .wrap,
.search-block .wp-block-group__inner-container,
.featured-pages-block .wrap{
    width:  100%;
    max-width:  1240px;
    margin:  0 auto;
    padding: 2%;
}


.about-block a,
.newsletter-block a,
.featured-posts-block a,
.latest-block a,
.featured-pages-block a{
    background-image: none !important;
}

.featured-pages-block h2,
.category-post-block h2{
	text-transform: uppercase;
letter-spacing: 2px;
}


/* About Block
------------------------------------------------------ */

.about-block{
margin-bottom: 150px;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

.about-block .wrap{
display: flex;
flex-direction: row;
justify-content: space-between;
	overflow: visible;
}

.about-block .about-row{
padding: 0 2%;
	width: 45%;
}

.about-block .about-row:first-of-type{
margin-bottom: -150px;
}

.about-block .about-row:last-of-type{
	width: 45%;
	position: relative;
	font-size: 15px;
text-transform: uppercase;
letter-spacing: 2px;
	line-height: 2.5;
	color: #113154;
}

.about-block .about-row:last-of-type:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-helping.svg) center no-repeat;
width: 160px;
height: 40px;
display: block;
margin-bottom: 5px;
}

.about-block h1{
	text-transform: uppercase;
letter-spacing: 2px;
	font-size: 32px;
position: relative;
}

.about-block h1:after{
content: '';
background: #ef6f91;
width: 1px;
height: 60px;
display: block;
margin: 5px 0;
}

.about-block .wp-block-button{
background: url(/wp-content/themes/pmd-aprilh/images/txt-about.svg) center no-repeat;
background-size: contain;
	padding: 5px 10px;
display: block;
width: 125px;
	height: 50px;
	margin: 0;
}

.about-block .wp-block-button .wp-block-button__link{
	background: none;
	font-size: 12px;
text-indent: -9999px;
}

/* Latest Block
------------------------------------------------------ */

.latest-block{
	position: relative;
}


.latest-block:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/floral3.svg) center no-repeat;
background-size: contain;
width: 180px;
height: 290px;
display: block;
	opacity: .08;
	position: absolute;
	top: 5px;
left: 0;
	z-index: -1;
}

.latest-block h2{
text-transform: uppercase;
letter-spacing: 2px;
	margin-bottom: 25px;
}

.latest-block h2:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-checkout.svg) center no-repeat;
	background-size: contain;
width: 150px;
height: 40px;
display: block;
	margin: 0 auto;
}

/* Newsletter Block
------------------------------------------------------ */

.newsletter-block{
	position: relative;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

.newsletter-block:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-news.svg) center no-repeat;
background-size: contain;
width: 240px;
height: 19px;
display: block;
	position: absolute;
top: 155px;
	left: -90px;
	transform: rotate(-90deg);
}

.newsletter-block .wrap{
width: 100%;
max-width: 900px;
margin: 0 auto;
	padding: 4% 2%;
}

.newsletter-block h2{
text-transform: uppercase;
letter-spacing: 2px;
	margin-bottom: 15px;
}

.newsletter-block .newsletter form{
margin: 35px auto 0;
}

.newsletter-block .newsletter ::placeholder{
color: #fff;
font-size: 15px;
}

.newsletter-block  .newsletter input[type="text"],
.newsletter-block .newsletter input[type="email"]{
border-bottom: 1px solid #fff;
}

.newsletter-block .newsletter input[type="submit"],
.newsletter-block .newsletter button{
    filter: brightness(0) invert(1);
}

/* Search Block
------------------------------------------------------ */

.search-block .wp-block-group__inner-container{
padding: 1% 2%;
}

.search-block h2{
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 15px;
}

.search-block h2:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-browse.svg) center no-repeat;
	background-size: contain;
width: 160px;
height: 40px;
display: block;
	margin: 0 auto 10px;
}

.search-block .wp-block-search{
max-width: 400px;
}

.search-block .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{
border-color: #fff !important;
}


/* Social Callout Block
------------------------------------------------------ */

.social-callout-block{
position: relative;
margin-bottom: 25px;
	position: relative;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}


.social-callout-block:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/floral2.svg) center no-repeat;
background-size: contain;
width: 180px;
height: 290px;
display: block;
	opacity: .08;
	position: absolute;
bottom: 5px;
left: -50px;
	z-index: -1;
	transform: rotate(35deg);
}

.social-callout-block:after{
content: '';
background: #dce9eb;
display: block;
height: 100%;
width: 40%;
position: absolute;
top: 0;
right: 0;
bottom: 0;
	z-index: -1;
}

.social-callout-block .wrap{
display: flex;
flex-direction: row-reverse;
align-items: center;
	text-align: center;
}

.social-callout-row{
	padding: 2% 4%;
	width: 50%;
	position: relative;
	font-size: 15px;
text-transform: uppercase;
letter-spacing: 2px;
	line-height: 2.5;
	color: #113154;
}

.social-callout-block h2{
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 15px;
	position: relative;
}

.social-callout-block h2:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-social.svg) center no-repeat;
	background-size: contain;
width: 130px;
height: 25px;
display: block;
	margin: 0 auto 10px;
}


.social-callout-row .wp-block-button__link{
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 400;
border: 2px solid #ef6f91;
border-radius: 5px;
}

.social-callout-img{
position: relative;
}

.social-callout-img:before{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/txt-connect.svg) center no-repeat;
background-size: contain;
width: 52px;
height: 400px;
display: block;
	position: absolute;
right: -30px;
bottom: 25px;
}

/* Featured Posts Block
------------------------------------------------------ */

.featured-posts-block ul{
margin: 0 auto;
    width: 100%;
    flex-flow: column nowrap;
    overflow: visible;
}



/* In Post Blocks
------------------------------------------------------ */

.note-block,
.solid-box,
.outline-box,
.pin-block{
padding: 2%;
width: 100%;
clear: both;
margin: 0 auto 25px;
}

.solid-box p:last-of-type,
.outline-box p:last-of-type{
    margin-bottom:  0;
}

.note-block{
	padding: 4%;
}

.outline-box{
border: 1px solid #4772b8;
}

.pin-block{
background: #ef6f91;
padding: 1% 2%;
}

.pin-block_row{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}

.pin-block h4{
border: none !important;
	color: #fff;
margin-bottom: 0;
	text-transform: uppercase;
Letter-spacing: 2px;
font-size: 20px;
font-weight: 400;
text-align: center;
position: relative;
}

.pin-block .pin-block-ico{
border: 2px solid #fbdbdb;
border-radius: 50%;
width: 40px;
height: 40px;
	position: relative;
	margin-right: 10px;
}

.pin-block .pin-block-ico img{
margin: 0 auto;
display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
}


/* Link party Blocks
------------------------------------------------------ */


ul.link-party-list{
display: flex;
flex-direction: row;
	justify-content: center;
flex-wrap: wrap;
}

ul.link-party-list li{
list-style-type: none;
display: inline-block;
	padding: 5px 25px;
margin: 0 10px;
	border: 1px solid #DCE8EA;
}

.link-party-col-blocks .has-background{
padding: 6% 2%;
}

.link-party-col-blocks .wp-block-column{
margin-left: 0 !important;
}

.link-party-rule-col .wp-block-column{
	margin-left: 1% !important;
}

.link-party-know-more.has-background{
padding: 6% 2%;
}

.link-party-know-more.has-background a{
color: #fff;
font-weight: 300;
}


@media only screen and (max-width: 768px) {
	
	.about-block .wrap, .newsletter-block .wrap, .featured-posts-block .wrap, .search-block .wp-block-group__inner-container, .featured-pages-block .wrap{
		padding: 4% 6%;
	}
	
	.about-block{
margin-bottom: 25px;
}
	
	.about-block .wrap,
	.section-headline,
	.social-callout-block .wrap{
		flex-wrap: wrap;
		text-align: center;
	}
	
	.about-block .about-row,
	.about-block .about-row:last-of-type,
	.social-callout-row{
width: 100%;
}
	
	.about-block .about-row:first-of-type{
		margin: 0 auto;
	}

	
	.about-block .about-row:last-of-type:before,
	.about-block .wp-block-button{
margin: 0 auto 5px;
}
	
	.about-block h1:after{
margin: 5px auto;
}
	
	.newsletter-block .newsletter form{
		display: block;
	}
	
	.newsletter-block .newsletter input[type="text"], .newsletter-block .newsletter input[type="email"],
	.newsletter-block .newsletter input[type="submit"], .newsletter-block .newsletter button{
display: block;
width: 100%;
	margin: 15px auto;
}
	
	.newsletter-block:before{
		transform: none;
position: relative;
top: auto;
		left: auto;
		margin: 20px auto 20px;
	}
	
	.section-headline .section-title,
	.section-headline .section-button{
width: 100%;
text-align: center;
}
	
	.section-headline .section-button{
		margin: 15px auto;
	}
	
	.social-callout-block{
background: #dce9eb;
		padding: 4% 2%;
}
	
	.social-callout-block:before{
display: none;
}
	
	.social-callout-row{
padding: 2% 6%;
}
	
ul.section-posts-one-half,
ul.section-posts-one-third,
ul.section-posts-one-fourth,
ul.section-posts-one-fifth,
ul.section-posts-one-sixth{
    grid-template-columns: repeat(2, 1fr);
}
	
.favorite-post-block ul.section-posts-one-third li:last-of-type,
.latest-block ul.section-posts-one-third li:last-of-type{
display: block;
}
	
	ul.section-posts-one-half h3, ul.section-posts-one-third h3, ul.section-posts-one-fourth h3, ul.section-posts-one-fifth h3, ul.section-posts-one-sixth h3,
	ul.section-posts-one-half h3 a, ul.section-posts-one-third h3 a, ul.section-posts-one-fourth h3 a, ul.section-posts-one-fifth h3 a, ul.section-posts-one-sixth h3 a{
		font-size: 22px;
	}
	
		.section-headline h2:before{
display: block;
margin: 0 auto;
}
	
	
	
}



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

	
	.about-block h1{
		font-size: 24px;
	}
	
	.about-block h1:after{
		height: 25px;
	}
	
	ul.section-posts-one-half h3, ul.section-posts-one-third h3, ul.section-posts-one-fourth h3, ul.section-posts-one-fifth h3, ul.section-posts-one-sixth h3,
	ul.section-posts-one-half h3 a, ul.section-posts-one-third h3 a, ul.section-posts-one-fourth h3 a, ul.section-posts-one-fifth h3 a, ul.section-posts-one-sixth h3 a{
		font-size: 18px;
	}
	
	.social-callout-img{
padding: 0 4%;
}
	
	.social-callout-img:before{
height: 200px;
width: 40px;
		right: -15px;
}
	
	.latest-block:before{
width: 80px;
height: 200px;
}
	
}