@charset "utf-8";

#sitecontainer_blog {
padding:50px 20px;
}

#sitecontainer_blog h1 {
text-align: center;
margin:0 0 10px 0;
font-size: 30px;
font-weight: 300;
color:#232323;
font-family: 'Roboto Slab', sans-serif;
scroll-margin-top: 30px;
}

#blog_wrapper {
	display:flex;
	flex-direction:row;
}

#blog_categories {
	width:180px;
	min-width: 180px;
	border-right:1px dashed #cecece;
	padding:10px 20px 10px 10px;
	box-sizing: border-box;
}

#blog_categories h2{
margin:0;
font-size:21px;
}

.blog_snippet {
	color:#6f6f6f;
	margin-top:10px !important;
	font-size:11px !important;
	font-weight:200 !important;
	font-family: 'Roboto Slab', sans-serif !important;
}

#blog_categories ul{
	list-style-type: none;
	padding: 0
}

#blog_categories ul li{
	margin-bottom: 20px;
}

#blog_categories ul li a{
	display: block;
	background-color:#f1f1f1;
	border-radius: 30px;
	padding:10px;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	color:#000;
	font-size:14px;
	font-family: 'Roboto Slab', sans-serif !important;
	font-weight: 200;
	text-decoration: none
}

#blog_categories ul li a.selected{
	background-color:#ac94a5;
	color:#fff;
	cursor:default !important
}
#blog_categories ul li a.selected:hover{
	background-color:#ac94a5 !important;
	color:#fff;
}

#blog_categories ul li a:hover{
	background-color:#BDAAB6;
	color:#fff;
}

#blog_list {
	flex-grow: 1;
}

section#lbp {
margin:20px auto 0 auto;
text-align: center;
}

section#lbp img {
	border-style: none;
	height: auto;
}

section#lbp a img {
	border: none;
	outline: none;
}

section#lbp figure {
	display: block;
	background-color: #fff;
	-ms-interpolation-mode: bicubic;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
	border-radius:5px
}

section#lbp figure img {
	display: block;
	width: auto;
	max-width: 100%;
}

/**
 * Variables 
 */
section#lbp {
	--master-color: #7c5b71;
	--master-color-partner-dark: #7c5b71;
	
	--headings-color: #000000;	
	
	--main-bg-color: #fff;
	--secondary1-bg-color: #f6f6f6;
	--secondary2-bg-color: #EEEEEE;
	
	--main-txt-color: #333;
	--secondary-txt-color: #757575;
	
	--sub-color: #5b5b5b;
}

.blog_group {
	text-align: left !important;
	min-height: 100vh;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 1.5em;
}

section#lbp h1, h2 {
	display: block;
/*	font-family: 'Roboto Slab', serif !important;*/
	font-style: normal;
	font-weight: 300;
	line-height: 1.4em;
	color: var(--headings-color);
}

section#lbph1 {
	font-size: calc(12px + 2vw);
	margin: 1.2em 0;
}

section#lbp h2 {
	font-size: calc(12px + .8vw);
	margin-top:5px
}

section#lbp h1 a,
section#lbp h2 a {
	font-weight: 300;
	text-decoration: none;
	color: var(--headings-color);
	background-color: transparent;
	outline: none;
}

section#lbp a:hover {
	color: var(--master-color-partner-dark);
}

section#lbp a:focus {
	color: var(--headings-color);
	background-color: var(--secondary2-bg-color); 
}

/**
 * Post List Layout
 */
.post-list_grid * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font: inherit;
}

.post-list_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
}

.post-list__post {
	display: grid;
	grid-template-areas: 
		"header"
		"footer"
		"pr_img";
	grid-auto-rows: 1fr auto auto;
	align-items: start;
	grid-gap: 1em 0;
}

.post-list__post:nth-child(2n+1) {
	background-color: var(--secondary1-bg-color);
}

.post-list__post:nth-child(3n+2) {
	grid-template-areas: 
		"pr_img"
		"header"
		"footer";
	grid-auto-rows: auto 1fr auto;	
}

.post__preview-img {
	grid-area: pr_img;
}

.post__header {
	grid-area: header;
}

.post__header time{
	font-family: 'Roboto Slab', serif;
	font-weight:200;
	font-size: 16px;
}

.post__meta {
	grid-area: footer;
	align-self: start;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	font-family: 'Roboto Slab', serif;
	font-weight:200;
		font-size: 14px;
}

/**
 * Post List Design
 */
.post-list {
	margin-bottom: 4em;
} 
 
.post {
	position: relative;
	padding: 1.6em;
	-webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
} 

/*.post:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 3px var(--master-color) solid;
	border-image: linear-gradient(110deg, #c19f63, #c6972b, #f5cd87, #c6972b, #c19f63) 1;
	z-index: 2;
	opacity: 0;
	-webkit-transition: all .25s ease-out;			
			transition: all .25s ease-out;
}

.post:hover:after {
	opacity: 1;
}
*/
.post:hover {
  -webkit-transform: scale(1.02, 1.02);
  transform: scale(1.02, 1.02);
}

.post > * {
	z-index: 4;
	position: relative;
}

.post__preview-img {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
}

.post__preview-img img {
	width: 100%;
    height: auto;
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    margin: auto;
}

.post__time {
	color: var(--sub-color);
}

.post__meta a {
	color: var(--sub-color);
	text-decoration: none;
	border-bottom: 1px #bbbbbb dashed;
}

.post__meta a:hover {
	color: var(--master-color-partner-dark);
}

.post__comments {
	position: relative;
	padding-left: 24px;
}

.post__comments:before,
.post__comments:after {
	content: '';
	display: block;
	position: absolute;
	border: 1px var(--sub-color) solid;
}

.post__comments:before {
	width: 16px;
	height: 11px;
	border-radius: 50%;
	left: 0;
	top: calc(50% - 8px);
	z-index: 1;
}

.post__comments:after {
	width: 3px;
    height: 6px;
    border-width: 0 1px 1px 0;
    transform: rotate(31deg);
    top: 50%;
    left: 11px;
	z-index: 2;
	background-color: var(--secondary1-bg-color);
} 

/**
 * Breakpoint 900px
 */
@media all and (max-width: 900px) {
	.post-list_grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.post-list__post:nth-child(n) {
		background-color: transparent;
		grid-template-areas: 
			"header"
			"footer"
			"pr_img";
		grid-auto-rows: 1fr auto auto;
	}
	
	.post-list__post:nth-child(4n), 
	.post-list__post:nth-child(4n+1) {
		background-color: var(--secondary1-bg-color);
	}
	
	.post-list__post:nth-child(even) {
		grid-template-areas: 
			"pr_img"
			"header"
			"footer";
		grid-auto-rows: auto 1fr auto;	
	}
}

/**
 * Breakpoint 670px
 */
@media all and (max-width: 670px) { 
	
	.blog_group {
	margin-top:20px
}
	
	.post-list_grid {
		grid-template-columns: 1fr;
	}
	
	.post-list__post:nth-child(n) {
		background-color: var(--secondary1-bg-color);
		grid-template-areas: 
			"header"
			"footer"
			"pr_img";
		grid-auto-rows: 1fr auto auto;
	}
	
	.post-list__post:nth-child(even) {
		background-color: transparent;
	}
} 


@media (max-width: 850px) {
#blog_categories {
font-size:10px;
	margin-right: 20px;
}
	

.blog_group {
	padding: 0;
}
}



@media (max-width: 670px) {
#blog_wrapper {
flex-direction:column;
}
	
.blog_group {padding:0}

#blog_categories h2{
display:none
}
	
#blog_categories {
	width:100%;
	min-width: 100%;
	border-right:none;
	border-bottom:1px dashed #cecece;
	padding:5px 5px 0px 5px;
}
	
#blog_categories ul li{
display:inline-block;
	margin-bottom: 5px
}
	
section#lbp h2 {
	font-size: calc(14px + .8vw);
}
}

@media (max-width: 500px) {
	#sitecontainer_blog h1 {
		font-size: 24px
	}	

section#lbp h2 {
	font-size:21px
}	

#sitecontainer_blog {
padding:30px 10px;
}
	

}