/*
/* List Page 1 CSS
   ========================================================================== */

.list-pages-wrap .row-inner {
    width: 90%;
    max-width: 90%;
}

.list-pages .list-items {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
}

.list-pages > div > div{
	float:left;
	width: 31.33%;
	margin-right: 2%;
	margin-bottom:32px;
	position:relative;
}

/* .list-pages > div > div:nth-child(3n+3){
	margin-right:0;
}

.list-pages > div > div:nth-child(3n+1){
	clear:both;
} */

.list-pages > div > div h3{
	font-size:24px;
	margin-bottom:10px;
	color:#034e99;
}

.list-pages > div > div p{
	color:#232c39;
}
.list-pages > div > div a {
    display: block;
    /* text-decoration: none; */
    /* color: #232c39; */
    /* font-weight: 400; */
    /* border-radius: 6px; */
    /* overflow: hidden; */
    /* -webkit-box-shadow: 0 0 6px 0 rgb(0 0 0 / 25%); */
    /* box-shadow: 0 0 6px 0 rgb(0 0 0 / 25%); */
    position: relative;
    /* display: flex; */
    /* height: 105px; */
}

.list-items .thumb-wrap {
    /* width: 120px; */
    /* height: 100%; */
}

.list-items .thumb-wrap img, .list-items .thumb-wrap picture {
    /* height: 100%; */
    /* width:auto; */
    max-width: 100%;
}

.list-pages > div > div a:hover{
	-webkit-box-shadow: 0 0 12px 0 rgba(0,0,0,0.375);
	box-shadow: 0 0 12px 0 rgb(0 0 0 / 38%);
}

.list-pages > div > div img, .list-pages > div > div h3 {
    width: 100%;
    -webkit-transition: all 300ms;
    transition: all 300ms;
    margin-bottom: 0;
    color: #fff;
}

.list-pages > div > div div.desc {
    width: 100%;
    height: 100%;
    /* background: #fff; */
    box-sizing: border-box;
    /* height: 180px; */
    /* border-radius: 0 0 6px 6px; */
    padding: 20px 24px;
    display: flex;
    align-items: center;
    /* z-index: 2; */
    position: absolute;
    bottom: 0;
    z-index: 9;
    left: 0;
    color: #fff;
    background: rgba(0,0,0,0.6);
    text-align: center;
	transition:all 300ms;
}

.list-pages > div > div div.desc div {
    color: #add4f9;
}

.list-pages > div{
	margin-bottom:40px;
}

.row.list-pages-wrap {
    margin-bottom: 50px;
}

/* .list-pages > div a{
	background: rgb(0 86 166);
} */
/* 
.list-pages > div > div a:hover img{
	opacity:0.5;
} */

.list-pages > div > div a:hover .desc {
    background: rgb(0 85 166 / 71%);
}

.list-pages > div > div a:hover h3{
	color: #ffffff;
}

div.list-pages-wrap div.intro-wrap {
    margin-bottom: 50px !important;
}

.secondary-content > picture, .secondary-content > img {
    float: right;
    margin: 0 0 20px 100px;
    width: 800px;
    max-width: 47%;
}

.row.secondary_content.grey-blade {
    background: linear-gradient( 
270deg, #e2e2e2, #ffffff);
    border-top: solid 1px #d9d9d9;
    color: #555;
}

.row.secondary_content.grey-blade h2 {
    color: #0083ff;
}

.row.secondary_content.grey-blade {
}

.page-template-page-list-1 .row:first-child {
    margin-bottom: 20px;
}

.page-id-2580 .list-pages > div > div {
    width: 31%;
    position: relative;
}

.page-id-2580 .list-items .thumb-wrap {
    width: auto;
    cursor: default;
    border-radius: 8px;
    border: solid 1px #ddd;
    overflow: hidden;
}

.page-id-2580 .list-items .thumb-wrap img, .page-id-2580  .list-items .thumb-wrap picture {
    max-width: 100%;
    /* border: solid 1px #ddd; */
    /* border-radius: 6px; */
    display: block;
	height:auto;
	width:auto;
}

.page-id-2580 .list-pages > div > div div.desc {
    position: absolute;
    bottom: 40px;
    background: none;
    text-align: center;
}

.page-id-2580 .list-pages > div > div h3 {
    color: #fff;
    text-shadow: 0 0 8px rgb(0 0 0);
}

.page-id-2580 .list-items .thumb-wrap:before {content: '';position: absolute;display: block;top: 0;left: 0;background: rgba(0,0,0,0.3);width: 100%;height: 100%;border-radius: 8px;transition: all 300ms;opacity:0;}

.page-id-2580 .list-items > div > div:hover:before {
    opacity: 0;
}

.list-pages > div > div div.desc h3:after {}

.list-pages > div > div div.desc h3 {position: relative;}

.list-pages > div > div div.desc h3:after {content: '';position: absolute;bottom: -20px;background: #f2f9ff;width: 200px;height: 3px;left: 0;right: 0;margin: 0 auto;}

@media only screen and (max-width:1500px) {
	.list-pages > div > div {
    	width: 31.33%;
	}
	.list-pages > div > div h3 {
		font-size:22px;
	}
}

@media only screen and (max-width:1050px) {
	.list-pages > div > div {
    	width: 48%;
	}
}

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

	.list-pages > div > div, .list-pages > div > div:nth-child(3n+3){
		float:left;
		width:48%;
		margin-right:4%;
		margin-bottom:32px;
	}

	.list-pages > div > div:nth-child(2n+2){
		margin-right:0;
	}

	.list-pages > div > div:nth-child(2n+1){
		clear:both;
	}

	.list-pages > div > div:nth-child(3n+1){
		clear:none;
	}
	
	.page-id-2580 .list-pages > div > div {
		width: 48%;
	}

}


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

	.list-pages > div > div div {
		height:auto;
	}

	.list-pages > div > div{
		width:100%!important;
		float:none!important;
		margin-right:0!important;
	}
	
	
	.list-pages > div > div h3 {
		font-size:18px;
	}
}