/*Universal styles for all boxes*/
.boxes-section .boxes-content{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 30px;
}

.box-item.box-buttons .buttons
.boxes-section .boxes-content .box-item .box-heading,
.boxes-section .boxes-content .box-item .box-description,
.boxes-section .boxes-content .box-item .box-description *{
	width:100%;
}

.boxes-section .boxes-content p{
	margin:0;
}



/*Boxes with buttons*/
.box-item.box-buttons{
	padding-bottom:100px !important;
}

.box-item.box-buttons .buttons{
	position: absolute;
	bottom:30px;
	left:0;
	right:0;
	margin:auto;
	justify-content: center;
}






.boxes-section .box-item .box-heading img{
	margin-bottom:40px;
}

.boxes-section .box-item .box-heading .box-title{
	margin-bottom:15px !important;
}

.boxes-section .box-item.image .box-description{
	padding:0 20px;
}

.boxes-section .box-item.image .box-heading img{
	border-radius: 25px !important;
}

.boxes-content.three-col .box-item.image .box-heading img{
	height: 275px;
	width: 100%;
	object-fit: cover;
    object-position: center;
}



.boxes-section .boxes-content .box-item .box-heading,
.boxes-section .boxes-content .box-item .box-description{
	display: flex;
	flex-direction: column;
	justify-content: stretch;
}
/*Layout based on alignment*/
.boxes-section .boxes-content .box-item.left .box-heading,
.boxes-section .boxes-content .box-item.left .box-description{
	text-align: left;
	align-items: start;
}

.boxes-section .boxes-content .box-item.center .box-heading,
.boxes-section .boxes-content .box-item.center .box-description{
	text-align: center;
	align-items: center;
}









/* Layout based on chosen image (icon or image) */
.boxes-section .boxes-content .box-item.icon{
	padding: 45px 60px;
}


.boxes-section .boxes-content .box-item.icon.default{
	padding: 35px 30px;
}










/* Layout with icon based on settings (border and background)*/
.boxes-section .boxes-content .box-item.icon.bordered{
	border:1px solid #E9E9E9;
	border-radius: 25px;
}

.boxes-section .boxes-content .box-item.icon.default{
	background: #FFF;
}

.boxes-section .boxes-content .box-item.icon.background{
	background: #F9F9F9;
	border-radius: 25px;
}












/* Layout based on column count */
.boxes-section .boxes-content .box-item{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: initial;
	position: relative;
}

.boxes-content.one-col .box-item{
	width: 100%;
}

.boxes-content.two-col .box-item{
	width: calc(50% - 20px);
}

.boxes-content.three-col .box-item{
	width: calc(33% - 15px);
}

.boxes-content.four-col .box-item{
	width: calc(25% - 10px);
}









/* Media query */
@media only screen and (max-width:992px){
	.boxes-content.three-col .box-item{
		width: 100%;
	}

	.box-item.box-buttons .buttons{
		align-items: center;
	}

	.boxes-content.four-col .box-item{
		width: calc(50% - 10px);
	}
	
	.boxes-content.two-col .box-item{
		width: 100%;
	}

}



@media only screen and (max-width: 700px){
	.boxes-content.four-col .box-item{
		width: 100%;
	}

	.boxes-section .boxes-content .box-item.icon{
		padding: 20px;
	}

	.boxes-section ul{
		padding-left: 20px;
	}
}