.wp-caption {
    margin:15px 0;
    padding:0;
	max-width:100%;

	img[class*="wp-image-"] {
        display: block;
	    margin-left: auto;
	    margin-right: auto;
	}

	.wp-caption-text {
        margin:0;
        padding:15px;
	}
}

.wp-caption-text {
	text-align: center;
}
//GALLERY
.gallery-caption {
	display: block;
}
.gallery {
    margin:0;
    padding: 0;
}
.gallery-columns-2 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/2, $cycle:2);
    }
}
.gallery-columns-3 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/3, $cycle:3);
    }
}
.gallery-columns-4 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/4, $cycle:4);
    }
}
.gallery-columns-5 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/5, $cycle:5);
    }
}
.gallery-columns-6 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/6, $cycle:6);
    }
}
.gallery-columns-7 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/7, $cycle:7);
    }
}
.gallery-columns-8 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
         @include column(1/8, $cycle:8);
    }
}
.gallery-columns-9 {
    clear: both;
    display: inline-block;
    width:100%;
    .gallery-item {
        @include column(1/9, $cycle:9);
    }
}