/*
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: 20px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    flex-flow: column nowrap;
	overflow: visible;
	padding-left: 0 !important;
}

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;
	background: #fff;
	border: 1px solid #eee;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,.03);
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,.03);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.03);
}

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,
.article-title{
text-align: center;
	color: #343434;
	padding: 2% 2% 4%;
line-height: 1.4;
	font-weight: 400;
    font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
	display: block;
	margin: 0 auto;
}

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,
ul.section-posts-one-half .article-title,
ul.section-posts-one-half .article-title a,
ul.section-posts-one-third .article-title,
ul.section-posts-one-third .article-title a{
font-size: 22px;
	font-weight: 400;
}

ul.section-posts-one-fourth h3,
ul.section-posts-one-fourth h3 a,
ul.section-posts-one-fourth .article-title,
ul.section-posts-one-fourth .article-title a,
ul.post-side-by li h3,
ul.post-side-by li .article-title,
ul.post-side-by li h3 a,
ul.post-side-by li .article-title a{
font-size: 18px;
	font-weight: 400;
}

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,
ul.section-posts-one-fifth .article-title,
ul.section-posts-one-fifth .article-title a,
ul.section-posts-one-sixth .article-title,
ul.section-posts-one-sixth .article-title a{
font-size: 16px;
	font-weight: 400;
}

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);
}

ul.post-side-by li{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
	align-items: center;
}

ul.post-side-by li img{
display: block;
margin: 0;
}

ul.post-side-by li h3,
ul.post-side-by li .article-title{
text-align: left;
	padding: 0;
}


ul.post-side-by .favorite-post-info{
padding: 0 4%;
}

ul.post-side-by li img{
	display: block;
	margin: 0 auto;
}

/*
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.no-headline{
display: none;
height: 0;
}

.section-headline h2{
font-size: 32px;
	margin: 0;
}

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

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

.section-excerpt{
width: 100%;
clear: both;
}

.section-headline .see-more{
color: #343434;
font-weight: 700;
	font-size: 16px;
	position: relative;
}

.featured-posts-block,
.newsletter-block,
.icons-block,
.about-block,
.search-posts-block{
	clear: both;
        margin-left  : calc( -100vw / 2 + 100% / 2 );
        margin-right : calc( -100vw / 2 + 100% / 2 );
        max-width    : 100vw;
    }

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

.featured-posts-block a,
.newsletter-block a,
.icons-block a,
.about-block a,
.search-posts-block a{
background-image: none !important;
color: #343434;
}

.pink-bkg{
background: #fff6f5;
}

.gray-bkg{
background: #fafafa;
}


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

.home .featured-posts-block:first-of-type .wrap{
padding: 1% 2% 2%;
}


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

.newsletter-block{
background: #fff6f5;
}

.newsletter-block .wrap{
	padding: 3% 2%;
width: 100%;
max-width: 900px;
}

.newsletter-block h4,
.newsletter-block h3,
.newsletter-block h2{
margin-bottom: 5px;
}


/* Icons Block
------------------------------------------------------ */

.icons-block .wrap{
display: flex;
flex-direction: row;
justify-content: space-evenly;
}

.icons-block .cat-ico{
width: 12.5%;
text-align: center;
}

.icons-block img{
display: block;
margin: 0 auto;
	transition: .5s;
}

.icons-block .icon-title{
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 600;
}

.icons-block .cat-ico:hover img{
	transform: rotate(5deg);
}

/* Favorites Block
------------------------------------------------------ */

.favorites-block .wrap{
	padding: 2% 2%;
}

.favorites-block .section-intro{
width: 100%;
max-width: 800px;
margin: 0 auto 15px;
}

.favorites-block ul li{
	border: none;
box-shadow: none;
	position: relative;
margin: 0 auto;
}

.favorites-block ul li img{
	position: relative;
z-index: 99;
}

.favorites-block ul li h3{
background: rgba(255, 255, 255, 0.95) 0 95%;
display: Block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
width: 100%;
	max-width: 80%;
	z-index: 98;
}

.favorites-block ul li:hover img{
z-index: 97;
}

.favorites-block ul h3{
padding: 2%;
}

.favorites-block ul h3,
.favorites-block ul h3 a{
font-size: 18px;
}

p.entry-category{
margin-bottom: 5px !important;
}

.latest-block .wrap{
	padding-top: 0;
}


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

.about-block{
position: relative;
}

.about-block .wrap{
display: flex;
flex-direction: row-reverse;
align-items: center;
	padding: 2% 2% 2%;
}

.about-block .about-row{
	width: 40%;
}

.about-block .about-row:last-of-type{
padding: 0 4% 0 0;
	width: 60%;
}

.about-block:after{
	content: '';
	background: #fff6f5;
display: block;
	position: absolute;
width: 30%;
	height: 100%;
	top: 0;
	right: 0;
	z-index: -1;
}

.about-block img{
display: block;
margin: 0 auto;
}


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

.search-posts-block{
background: #fff6f5;
text-align: center;
}

.search-block-popular{
display: flex;
justify-content: center;
	align-items: center;
	font-size: 16px;
	margin: 20px auto 0;
}

.popular-title{
text-transform: uppercase;
letter-spacing: 1px;
	font-size: 14px;
font-weight: 600;
}

.popular-link{
padding: 0 5px;
}

.popular-link:after{
	content: '|';
	display: inline-block;
	margin: 0 5px;
}

.popular-link:last-of-type:after{
display: none;
}


/* Category Blocks
------------------------------------------------------ */

.category-post-block .wrap{
	padding: 3% 2%;
}

.section-links{
border-top: 2px solid #fff6f5;
display: flex;
	justify-content: flex-start;
align-items: center;
	margin: 0 auto 20px;
}

.section-links .section-button{
	width: 20%;
	position: relative;
}

.section-links .section-button a,
.section-headline .see-more{
    font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
font-style: italic;
	font-weight: 400;
	text-transform: lowercase;
}

.section-links .section-button a:before,
.section-headline .see-more:before{
content: 'Browse';
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 700;
	font-size: 14px;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
font-style: normal;
	margin-right: 5px;
}

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


.section-links .section-categories{
	width: 80%;
display: flex;
	justify-content: flex-end;
align-items: center;
}

.section-links .section-categories .button{
background: #fff6f5;
	color: #343434;
padding: 5px 15px;
font-size: 14px;
margin: 0 0 0 5px;
}

.section-links .section-categories .button:hover{
background: #f9cdcd;
}


/* 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;
}

.pin-block{
background: #f9cdcd;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}

.pin-block_row{
padding: 0 2%;
}


.pin-block h2{
margin: 0 auto;
	font-size: 24px;
}

.pin-block .button{
background: #fff6f5;
color: #343434;
	padding: 8px 25px;
font-size: 14px;
}

.note-block{
background: #fff6f5;
padding: 4%;
	position: relative;
	margin: 25px auto 25px;
}

.note-block h2{
text-align: center;
}

.note-block:before {
    content: '';
    background: url(/wp-content/plugins/PMD-Site-Functionality/images/submark.svg) center no-repeat;
    background-size: contain;
    width: 80px;
    height: 80px;
    display: block;
    position: absolute;
    top: -45px;
    right: 15px;
    transform: rotate(15deg);
}

.solid-box{
background: #f7f7f7;
}

.outline-box{
border: 6px solid #fff6f5;
}



@media only screen and (max-width: 768px) {
	
	
	.home .featured-posts-block:first-of-type .wrap{
		padding: 25px 4% 25px;
	}
	
.featured-posts-block .wrap, .newsletter-block .wrap, .icons-block .wrap, .about-block .wrap, .search-posts-block .wrap{
	padding: 25px 4%;
	}
	
	.about-block .wrap{
padding: 25px 4% 0;
}
    
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);
}

	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{
margin: 0 auto 15px;
}
	
	.category-post-large .section-posts-one-third,
	ul.post-side-by {
display: block;		
	}
	
		.category-post-large .section-posts-one-third li,
	ul.post-side-by li{
display: flex;
		align-items: center;
}
	
		.category-post-large .section-posts-one-third .favorite-post-image,
	ul.post-side-by .favorite-post-image{
		width: 40%;
	}
	
		.category-post-large .section-posts-one-third .favorite-post-info,
	ul.post-side-by .favorite-post-info{
		width: 60%;
		text-align: left;
		padding: 0 2%;
	}
	
	.category-post-large .section-posts-one-third h3{
text-align: left;
font-size: 24px;
}
	
	.about-block .wrap,
	.icons-block .wrap,
	.footer-rows .wrap{
flex-wrap: wrap;
}
	
	.icons-block .cat-ico{
width: 25%;
		margin: 0 auto 25px;
}
	
	.about-block .about-row,
	.about-block .about-row:last-of-type,
	.footer-newsletter_row,
	.footer-newsletter_row:first-of-type{
width: 100%;
	text-align: center;
padding: 0;
margin: 0 auto 15px;
}
	
	.newsletter form{
display: block;
		padding: 0 4%;
}
	
	.newsletter input[type="text"], .newsletter input[type="email"],
	.newsletter input[type="submit"], .newsletter button{
		width: 100%;
		margin: 10px auto;
	}
	
	.favorites-block ul li{
    border: 1px solid #eee;
    -webkit-box-shadow: 0 3px 6px 0 rgb(0 0 0 / 3%);
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,.03);
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 3%);		
	}
	
	.favorites-block ul li h3{
position: relative;
width: 100%;
		max-width: 100%;
left: auto;
top: auto;
    transform: translate(-0%, -0%);
}
	
	.about-block:after{
width: 100%;
		height: 40%;
}
	
	.section-intro{
text-align: center;
}

	
	.section-links{
flex-wrap: wrap;
border: none;
}
	
	.section-links .section-button{
width: 100%;
text-align: center;
margin: 0 auto 25px;
}
	
	.section-links .section-categories{
width: 100%;
		justify-content: center;
}
	
	.section-links .section-categories .button{
padding: 20px 15px;
}
	
	.section-links .section-categories{
		display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
}
	
	.section-links .section-categories .button{
margin: 0 auto 10px;
text-align: center;
padding: 20px 4px;
width: 100%;
		font-size: 12px;
		letter-spacing: 1px;
}
	
	.section-headline{
flex-wrap: wrap;
}
	
	.section-headline .section-title,
	.section-headline .section-button{
width: 100%;
	text-align: center;
}
	
	.section-headline .section-button{
margin: 15px auto;
}

	
	@media only screen and (max-width: 580px) {
		
	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-column-gap: 10px;
}

ul.section-posts-one-fourth h3, ul.section-posts-one-fourth h3 a,
	ul.section-posts-one-fourth .article-title, ul.section-posts-one-fourth .article-title a,
	.favorites-block ul h3, .favorites-block ul h3 a,
	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, ul.section-posts-one-half .article-title, ul.section-posts-one-half .article-title a, ul.section-posts-one-third .article-title, ul.section-posts-one-third .article-title a{
	font-size: 16px;
	line-height: 1.2;
		display: block;
	}
	
	ul.post-side-by li h3,
	ul.post-side-by li h3 a,
	.category-post-large .section-posts-one-third h3,
	.category-post-large .section-posts-one-third h3 a{
font-size: 18px;
	line-height: 1.2;
}
	
	.icons-block .cat-ico {
		width: 32%;
	}
		
		.icons-block .cat-ico:nth-of-type(8n+7),
		.icons-block .cat-ico:nth-of-type(8n+8){
display: none;
}
		
		.icons-block img{
width: 60px;
height: 60px;
}
		
		.icons-block .icon-title{
font-size: 10px;
}
	
	.about-block .wp-block-button .wp-block-button__link{
padding: 20px 10px;
font-size: 14px;
}
	
	.search-block-popular{
		flex-wrap: wrap;
	}
	
	.popular-title{
display: block;
		width: 100%;
		text-align: center;
margin: 0 auto 15px;
}	
		
.footer-newsletter .wrap:before {
    width: 60px;
    height: 60px;
    left: 5px;
    top: -50px;
}
	
			.note-block:before{
		width: 70px;
height: 70px;
top: -30px;
	}
		
}