/* ----------------------------------------------------------------
	mtm: Teams
	Version: 1.0.1
-----------------------------------------------------------------*/
@media (min-width: 991.98px) {
	.portfolio .portfolio-item { width: 33.33333333%; }
	.portfolio-item {
    padding: 48px 48px 24px 24px !important;
}
	}
	
.mfp-close {
    color: #1021da !important;
}

/* book-wraps */
.book-image {
	display: block;
	position: relative;
}

.book-image img {
	width: 100%;
	max-width: 100%;
	display: block;
}

.book-image::after {
	content: " ";
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
	transition: opacity .3s ease;
	opacity: 0;
}

.book-card {
	position: relative;
	will-change: transform;
	transition: box-shadow .3s ease;
	box-shadow: 0 10px 40px transparent;
}

.book-card.hover-in {
	transition: -webkit-transform .2s ease-out;
	transition: transform .2s ease-out;
	transition: transform .2s ease-out, -webkit-transform .2s ease-out;
}

.book-card.hover-out {
	transition: -webkit-transform .2s ease-in;
	transition: transform .2s ease-in;
	transition: transform .2s ease-in, -webkit-transform .2s ease-in;
}

.book-wrap:hover .book-card { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }

.book-wrap:hover .book-image::after { opacity: 1; }

.book-wrap:hover .book-title,
.book-wrap:hover .book-category,
/* .book-wrap:hover .book-border, */
.book-wrap:hover .button {
	-webkit-transform: translateY(0) scale(1);
	-ms-transform: translateY(0) scale(1);
	transform: translateY(0) scale(1);
	opacity: 1;
}

.book-wrap { -moz-transform-style: flat !important; }

.book-detail {
	position: absolute;
	left: 40px;
	right: 40px;
	top: 40px;
	bottom: 40px;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
	-webkit-transform: translateZ(40px);
	transform: translateZ(40px);
}

.book-title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
	transition: .4s ease;
	opacity: 0;
	-webkit-transform: translateY(40px) scale(0);
	-ms-transform: translateY(40px) scale(0);
	transform: translateY(40px) scale(0);
	will-change: transform;
}

.book-title a { color: white; }

.book-category {
	opacity: 0;
	margin: 0 0 18px;
	font-family: 'Lato';
	transition: .4s ease;
	transition-delay: .1s;
	-webkit-transform: translateY(40px) scale(0);
	-ms-transform: translateY(40px) scale(0);
	transform: translateY(40px) scale(0);
	will-change: transform;
}

.book-category a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3em;
}

.book-wrap .button {
	opacity: 0;
	margin: 0 auto;
	transition: .4s ease !important;
	transition-delay: .15s !important;
	-webkit-transform: translateY(40px) scale(0);
	-ms-transform: translateY(40px) scale(0);
	transform: translateY(40px) scale(0);
	will-change: transform;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}