/*
Theme Name: Customify Child Kralina
Author: izmer.im
Author URI: http://polinakralina.ru
Version: 0.1
Template: customify
1111
*/

/* custom styles for polinakralina.ru */

.page-card { 
  background-size: cover; 
  background-position: center; 
  width: 30%; 
  width: calc(33.3333% - 20px);
  min-width: 200px;
  /*height:20em;*/
  overflow: hidden;
  position: relative;
}
.page-card__link {
	display: block;
	position: absolute;
	width:100%; height:100%;
	
}
.page-card__content-wrapper {
	/*
	position: absolute;
	top:7em; bottom:0; left:0; right:0;
	*/
	height:100%;
	margin-top:7em;
	background-color: rgba(0,0,0,0.6);

	padding:0.6em 1em;
	overflow: hidden;
}
.page-card:hover .page-card__content-wrapper {
	background-color: rgba(0,0,0,0.4);
}
.page-card__title {
	line-height:1.1em;
	font-size: 1.4em;
	color:#fff; 
	font-family: 'PT Sans Narrow', sans-serif;
	margin:0 0 .3em 0;
}
.page-card__excerpt {
	color:#fff;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size:1em;
	line-height: 1.1em;
}

.page-cards-list {
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	margin-right: -20px;
}
.page-card {
	/*flex: 2;*/
	display: flex;
	flex-direction: column;
	margin-right: 20px;
	margin-bottom:2em;
}
.page-card__link {
	flex: 1;
}


@media screen and (max-width: 1024px) {
  .page-card {
  	width: 45%;
  }
}

@media screen and (max-width: 640px) {
	.page-cards-list {
		margin-right:0;
	}
	.page-card {
  		width: 100%;
  		margin:20px 0;
	}
}


body.single-post .entry-thumbnail,
body.single-post .entry-meta {
	display: none;
}


/*
.logo-top {
	position: relative;
	margin-left:-34px;
}
.logo-top:after {
	content: "";
	background: #ed1c24;
	position: absolute;
	width:179px;
	height:2px;
	top:37px;
	left:47px;
}
*/
/*
.builder-first--primary-menu {
	margin-top:65px;
}

.nav-menu-desktop .menu>li>a {
	font-size: 1em; 
}

#mysticky-nav.wrapfixed {
	opacity: 1;
}
.site-header.myfixed .site-branding img {
	max-width: 150px;
}
#mysticky-nav.wrapfixed .header--row.header-main .customify-grid {
	min-height: 60px;
}

.one_half {
	width:48%;
}
.one_half:first-child {
	margin-right:4%;
}

*/