#genesis-content > .wrap {
	width:1280px;
	max-width:100%;
	margin:0 auto;
}

div.content-sidebar-wrap {
	width:100%;
	max-width:100%;
}

.list-pages .cards{
	margin-bottom:2rem;
	text-align:center;
}
.list-pages .cards:after{
	content:'';
	clear:both;
	display:block;
}
.list-pages .card {
    position: relative;
    width: 23%;
    margin-right: 2%;
    margin-bottom: 20px;
    /* float: left; */
    height: 300px;
    overflow: hidden;
    display: inline-block;
    text-align: left;
}
.list-pages .card .show p {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875em;
}
.list-pages .card:nth-child(4n+4) {
    margin-right: 0;
}
.list-pages .card:nth-child(4n+1){
	clear:both;
}
.list-pages .card img, .list-pages .card div.text, .list-pages .card > a > div{
	position:absolute;
}
.list-pages .card > a > div{
	background:rgba(0, 0, 0, 0.4);
	height:100%;
	width:100%;
	z-index:2;
	-webkit-transition:all 300ms;
	transition:all 300ms;
}
.list-pages .card img{
	bottom:0;
	left:0;
	z-index:1;
	height:100%;
	max-width:600px;
}
.list-pages .card div.text{
	left:32px;
	bottom:16px;
	z-index:3;
	padding-right:32px;
}
.list-pages h3 {
    margin-bottom: 16px;
    color: #fff;
    line-height: 1;
}
.list-pages .card a{
	color:#fff!important;
	text-decoration:none;
	display:block;
	width:100%;
	height:100%;
}
.list-pages .card svg{
	display:block;
	color:#fff;
	width:20px!important;
	margin-top:16px;
}
.list-pages .card > a:hover > div{
	background: rgba(13 37 76 / 70%)
}
.list-pages .card .show{
	display:none;
}
.list-pages .card .show p{
	margin-bottom:0;
}

@media only screen and (max-width:1200px) {
	.list-pages .card {
		height: 350px;
	}
}

@media only screen and (max-width:1100px) {
	.list-page-3 .card, .list-page-3 .card:nth-child(4n+4){
		position:relative;
		width:48%;
		margin-right:4%;
		margin-bottom:32px;
		float:left;
		height:320px;
		overflow:hidden;
	}
	.list-page-3 .card:nth-child(2n+2){
		margin-right:0;
	}
	.list-page-3 .card:nth-child(2n+1){
		clear:both;
	}
	.list-page-3 .card:nth-child(4n+1){
		clear:none;
	}
	
	.list-pages .card img {
		min-width: 100%;
		height: auto;
	}
}

@media only screen and (max-width:680px) {
	.list-pages .card{
		margin-right:0!important;
		float:none;
		width:100%!important;
	}
	.list-pages .card img{
		width:100%;
		height:auto;
	}
}

@media screen and (max-width:620px){
	.list-pages .card{
		height:250px!important;
	}
}


@media screen and (max-width:450px){
	.list-pages .card{
		height:200px!important;
	}
}

@media screen and (max-width:350px){
	.list-pages .card{
		height:150px!important;
	}
}
