/**
 * Element: Featured Trio Item
 * Used with the Featured Trio Element, this is a single item: image, title, text, link.
 *
 * CSS
 *
 * @version 1.0
 * @since 0.6
 */

.ananda-x-featured-trio .slick-list {
    padding-top: 3% !important;
    padding-bottom: 3% !important;
}

.ananda-x-featured-trio .slick-slide .ananda-x-featured-trio-item > .ananda-x-featured-trio-item {
    transition: all 0.3s ease;
    border-radius: 6px;
}

@media screen and (min-width: 969px) {
    /* First selector: Only the second visible slide (aka, the middle one) */
    /* Second selector:  When the end of the slider is reached, some javascript work makes the effects go iffy. This fixes that problem when scrolling forward */
    /* Third selector: When there are only three items, target the second one */
    .ananda-x-featured-trio .slick-slide[aria-hidden="false"] + .slick-slide[aria-hidden="false"] .ananda-x-featured-trio-item > .ananda-x-featured-trio-item {
        transform: scale(1.2);
    }

    /* Exclude the third visible slide from the slection above */
    .ananda-x-featured-trio .slick-slide[aria-hidden="false"] + .slick-slide[aria-hidden="false"] + .slick-slide[aria-hidden="false"] .ananda-x-featured-trio-item > .ananda-x-featured-trio-item {
        transform: scale(1);
    }
}


.slick-slide .ananda-x-featured-trio-item.upper {
	margin: 0 26px;
}


@media screen and (max-width: 968px) {
    .slick-slide .ananda-x-featured-trio-item {
    	margin: 0 11px;
    }
}

.slick-slide .ananda-x-featured-trio-item.upper > .ananda-x-featured-trio-item {
    background-repeat: no-repeat;
	background-size: cover;
    background-position: center center;
    padding-top: 100%;
    position: relative;
}

.ananda-x-featured-trio-item-inner {
	width: 100%;
    box-sizing: border-box;
	color: white;
	font-size: 21px;
	font-family: "myriad-pro",MyriadPro,"Myriad Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
	text-align: center;
    margin: 0;
    position: absolute;
    padding: 14px 20px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

}

.ananda-x-featured-trio-item-inner h1 {
	font-size: 2.1em;
}

.ananda-x-featured-trio-item-inner .x-btn {
	font-size: 1.2em;
}


.ananda-x-featured-trio-item-inner a.x-btn {
	color: white;
	text-transform: uppercase;
	margin: 0;
}

.ananda-x-featured-trio-item-inner > h1 {
	color: white;
	margin-top: 0;
	font-weight: normal;
	font-family: Barkentina, "Palatino Linotype", Palatino, serif;
}

@media ( max-width: 850px ) {

	.ananda-x-featured-trio-item-inner > h1 {
		margin-bottom: 12px;
	}

	.ananda-x-featured-trio-item-inner > p {
		display: none;
	}

}

.ananda-x-featured-trio-item-inner > h1,
.ananda-x-featured-trio-item-inner > p,
.ananda-x-featured-trio-item-inner > .x-btn {
	transition: 0.3s all ease;
}

.ananda-x-featured-trio-item-overlay-link {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
}