@font-face {
    font-family: 'wp-show-posts';
    src:    url('../fonts/wp-show-posts.eot?ka575c');
    src:    url('../fonts/wp-show-posts.eot?ka575c#iefix') format('embedded-opentype'),
        url('../fonts/wp-show-posts.ttf?ka575c') format('truetype'),
        url('../fonts/wp-show-posts.woff?ka575c') format('woff'),
        url('../fonts/wp-show-posts.svg?ka575c#wp-show-posts') format('svg');
    font-weight: normal;
    font-style: normal;
}

.wp-show-posts-image {
	position: relative;
	overflow: hidden;
}

.wp-show-posts-image.zoom img {
	max-width: 100%;
	transition: all 0.3s;
}
.wp-show-posts-image.zoom:hover img {
	transform: scale(1.1);
}

.wp-show-posts-image.blur:hover img {
	-moz-filter: blur(5px);
	filter: blur(5px);
	transition: all 0.1s;
}

.wp-show-posts-image.grayscale:hover img {
	-moz-filter: grayscale(1);
	filter: grayscale(1);
	transition: all 0.1s;
}

.wp-show-posts-image-overlay {
	display: block;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: all 0.3s;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;

	-o-backface-visibility: hidden;
}

.wp-show-posts-image-overlay:hover:not(.no-icon):before {
	font-family: 'wp-show-posts';
	color: #FFF;
	font-size: 40px;
	top: 55%;
	top: calc(50% - 20px);
	left: 50%;
	margin: -20px 0 0 -20px;
	position: absolute;
	transition: all 0.3s;
}

.wp-show-posts-image-overlay:hover.plus:before {
	content: "\f067";
}

.wp-show-posts-image-overlay:hover.heart:before {
	content: "\f004";
}

.wp-show-posts-image-overlay:hover.download:before {
	content: "\f019";
}

.wp-show-posts-image-overlay:hover.play:before {
	content: "\f04b";
}

.wp-show-posts-image-overlay:hover.eye:before {
	content: "\f06e";
}

.wp-show-posts-image-overlay:hover.cloud-download:before {
	content: "\f0ed";
}

.wp-show-posts-image-overlay:hover:before {
	top: 50%;
}

.wp-show-posts-image:hover .wp-show-posts-image-overlay,
.static-image-overlay .wp-show-posts-image .wp-show-posts-image-overlay {
	z-index: 3;
	opacity: 1;
}

/* Heart */
.wpsp-love-it {
	float: right;
}

.wpsp-count {
	font-size: 80%;
	opacity: 0.7;
}

/* Read more buttons */
.wp-show-posts-read-more a {
	border-width: 2px;
	border-style: solid;
	border-radius: 2px;
}

/* Border */
.include-border .wp-show-posts-inner {
	border-width: 1px;
	border-style: solid;
}

/* Masonry */
.wp-show-posts-masonry {
   transition: opacity 1s ease-in-out;
}

/* Icon */
.wpsp-love-icon {
	margin-right: 0.3125em;
}

/* Count */
.wpsp-love-count {
	font-size: 0.625em;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Social icons */
.wpsp-twitter:before {
	font-family: wp-show-posts;
	content: "\f099";
}

.wpsp-facebook:before {
	font-family: wp-show-posts;
	content: "\f09a";
}

.wpsp-googleplus:before {
	font-family: wp-show-posts;
	content: "\f0d5";
}

.wpsp-pinterest:before {
	font-family: wp-show-posts;
	content: "\f231";
}

.wpsp-love-icon:before {
	font-family: wp-show-posts;
	content: "\f08a";
}

.wpsp-liked .wpsp-love-icon:before {
	font-family: wp-show-posts;
	content: "\f004";
}

.wpsp-social-link,
.wpsp-social-link:visited,
.wpsp-li-button,
.wpsp-li-button:visited {
    font-size: 15px;
    margin-right: 10px;
    cursor: pointer;
    display: inline-block;
	color: inherit;
}

.wpsp-twitter:hover,.wpsp-twitter:focus {
    color: #0084b4;
}

.wpsp-facebook:hover,.wpsp-facebook:focus {
    color: #2d4372;
}

.wpsp-googleplus:hover,.wpsp-googleplus:focus {
    color: #b53525;
}

.wpsp-pinterest:hover,.wpsp-pinterest:focus {
    color: #bd081c;
}

.wpsp-li-button:hover,.wpsp-li-button:focus {
	color: #ff6863;
}

.wpsp-social {
    margin: 0 0 1em 0;
    -webkit-font-smoothing: antialiased;
}

.wpsp-social-right {
	float: right;
	margin-top: 5px;
	margin-left: 5px;
}

.wpsp-social-left {
	text-align: left;
}

.wpsp-social-center {
	text-align: center;
}

/* Cards */

.wpsp-card .wp-show-posts-image,
.wpsp-card .wp-show-posts-inner {
    margin-bottom: 0 !important;
}

.wpsp-card .wp-show-posts-single {
    position: relative;
}

.wpsp-card .wp-show-posts-inner {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wpsp-card .wpsp-content-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    padding: 1em;
}

.wpsp-card.wp-show-posts-columns .wp-show-posts-single .wp-show-posts-image img,
.wpsp-card .wp-show-posts-image img {
    object-fit: cover;
}

.wpsp-card .wpsp-social a,
.wpsp-card .wpsp-read-more a,
.wpsp-card .wp-show-posts-meta a {
    pointer-events: auto;
}

.wpsp-card .wpsp-read-more {
    margin-top: auto;
}

.wpsp-card .wp-show-posts-entry-meta-below-post {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: auto;
}

/*--- ADD ON FEATURES ALL CARD STYLES ---*/
/* Add Border Style */
.wpsp-border .wp-show-posts-inner {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(.33, .66, .66, 1);
}

/* Apply Border Style On Hover */
.wpsp-hover .wp-show-posts-inner:not(:hover) {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.0), 0 15px 12px rgba(0, 0, 0, 0);
}

/* Alternate Order */
.wpsp-alternate article:nth-child(even) .wp-show-posts-inner {
    flex-direction: column-reverse;
}

/*--- CARD STYLES ---*/

/* Overlays */
.wpsp-overlay .wp-show-posts-inner {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(5, 1fr);
	position: relative;
}

.wpsp-overlay .wp-show-posts-image,
.wpsp-card.wpsp-overlay .wpsp-content-wrap {
	grid-column: 1 / 6;
	grid-row: 1 / 6;
}

.wpsp-overlay .wp-show-posts-image {
	grid-column: 1 / 6;
	grid-row: 1 / 6;
}

.wpsp-overlay .wp-show-posts-image,
.wpsp-overlay .wp-show-posts-image img {
	height: calc(100% + 1em);
}

.wpsp-overlay .wpsp-content-wrap {
	z-index: 5;
	transition: 0.3s ease;
}

.wpsp-overlay .wp-show-posts-image + .wpsp-content-wrap {
	pointer-events: none;
}

.wp-show-posts-image:hover .wp-show-posts-image-overlay,
.wpsp-overlay .wp-show-posts-inner:hover .wp-show-posts-image .wp-show-posts-image-overlay {
	z-index: 3;
	opacity: 1;
}

.wp-show-posts-inner:hover .wp-show-posts-image.zoom img {
	transform: scale(1.1);
}

/* Style one */
.wpsp-overlay.wpsp-ov-style-one .wpsp-content-wrap {
	display: grid;
	text-align: center;
}

.wpsp-overlay.wpsp-ov-style-one .wp-show-posts-entry-meta-below-post {
	align-self: end;
}

.wpsp-overlay.wpsp-ov-style-one .wpsp-social {
	grid-row: 1;
}

.wpsp-overlay.wpsp-ov-style-one .wp-show-posts-entry-summary {
	opacity: 0;
	transform: translateY(1em);
	transition: all 0.3s cubic-bezier(.33, .66, .66, 1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.wpsp-overlay.wpsp-ov-style-one .wp-show-posts-inner:hover .wp-show-posts-entry-summary {
	opacity: 1;
	transform: translateY(0);
}

/* Style two */
.wpsp-overlay.wpsp-ov-style-two .wp-show-posts-inner {
	transform: translateY(0);
	transition: all 0.3s cubic-bezier(.33, .66, .66, 1);
}

.wpsp-overlay.wpsp-ov-style-two .wp-show-posts-inner:hover {
	transform: translateY(0.5em);
}

.wpsp-overlay.wpsp-ov-style-two .wp-show-posts-image, .wpsp-overlay.wpsp-ov-style-two .wp-show-posts-image img {
	min-height: 360px;
}

/* Overlap */
.wpsp-overlap .wp-show-posts-image + .wpsp-content-wrap {
	width: 75%;
	margin-top: -3em;
	z-index: 5;
	position: relative;
}

.wpsp-overlap .wp-show-posts-entry-header {
	display: flex;
	flex-direction: column-reverse;
}

/* Row Layout */
@media (min-width: 560px) {
    .wpsp-row .wp-show-posts-inner {
        flex-direction: row;
    }

    .wpsp-row .wp-show-posts-image, .wpsp-card.wpsp-row .wpsp-content-wrap {
        flex: 1 0 50%;
    }

    .wpsp-row .wpsp-content-wrap {
        padding: 5%
    }

    .wpsp-row .wp-show-posts-image img {
        height: 100%;
    }

    .wpsp-row article:nth-child(even) .wp-show-posts-inner {
        flex-direction: row-reverse;
    }
}

/* Polaroid add-on to Row */
@media (min-width: 560px) {
    .wpsp-polaroid .wp-show-posts-inner,
	.wpsp-card.wpsp-polaroid .wpsp-content-wrap {
        padding: 2em;
    }

    .wpsp-polaroid .wp-show-posts-entry-header {
        display: flex;
        flex-direction: column-reverse;
    }

    .wpsp-polaroid .wp-show-posts-entry-title {
        font-size: 1.5vw;
        line-height: 1em;
    }
}

@media (min-width: 769px) {
    .wpsp-overlay.wpsp-ov-style-two .wpsp-content-wrap {
        opacity: 0;
        transform: translate3d(0, 1em, 0);
        transition: all 0.3s cubic-bezier(.33, .66, .66, 1);
    }

    .wpsp-overlay.wpsp-ov-style-two .wp-show-posts-inner:hover .wpsp-content-wrap {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
