/* WP GALLERY */

/* WordPress Gallery 
------------------------------------------ */

.gallery {
	margin-left: -0.5em;
	margin-right: -0.5em;
}

.gallery:after {
	display: table;
	content: "";
	clear: both;
}

.gallery-item {
	margin: 0;
	float: left;
	padding: 0.5em;
}

.gallery-item img {
	width: 100%;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
}
.gallery-columns-2 .gallery-item {
    width: 50%
}
.gallery-columns-3 .gallery-item {
    width: 33.3333%
}
.gallery-columns-4 .gallery-item {
    width: 25%
}
.gallery-columns-5 .gallery-item {
    width: 20%
}
.gallery-columns-6 .gallery-item {
    width: 16.6667%
}
.gallery-columns-7 .gallery-item {
    width: 14.2857%
}
.gallery-columns-8 .gallery-item {
    width: 12.5%
}
.gallery-columns-9 .gallery-item {
    width: 11.1111%
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear: left;
}

@media (max-width: 600px) {
	#wrapper .gallery-item {
		float: none;
		clear: both;
		width: 100%;
		height: auto;
		display: block;
	}
}.footer-5-content {
	display: flex;
	align-items: stretch;
}

	.box {
		width:100%;
		padding: 40px 30px;
		font-size: 14px;
	}

	.box:first-child:nth-last-child(4), .box:first-child:nth-last-child(4) ~ .box {
		width:25%;
	}

	.icon-list-item {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-align: start;
		align-items: flex-start;
		-ms-flex-pack: justify;
		justify-content: space-between;
		margin-bottom: 15px;
	}

	.icon-list-item > .fa,
	.icon-list-item > .fas {
		font-size: 24px;
		line-height: 1;
	}

	.icon-list-text {
		width: calc(100% - 40px);
		text-align: left;
	}

	.icon-list-text a {
		color: inherit;
		text-decoration: none;
	}

@media (max-width:1200px) {
	.footer-5-content {
		padding-left: 0;
		padding-right: 0;
	}	
}

@media (max-width: 960px) {
	.footer-5-content {
		flex-wrap: wrap;
	}
	
	.box:first-child:nth-last-child(4), .box:first-child:nth-last-child(4) ~ .box {
    	width: 50%;
	}
}

@media ( max-width: 767px ) {
	.box {
		width: 100% !important;
	}
}