@charset "utf-8";
/* CSS Document */

/* ============= */
/* === FANCY === */
/* ============= */

.fancy-item {
	position: relative;
	float: left;
	width: 100%;
	height: 100%;
	
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background-position: center;
	background-size: cover;
	box-shadow: inset 0 0 0 16px rgba(213, 30, 41, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
	text-align: center;
	
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
	
	overflow: hidden;
	cursor: pointer;
}

.fancy-info {
	display: table;
	width: 100%;
	height: 100%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	overflow: hidden;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 1.5em;
	
	background-image: url(../img/pattern.png);
	color: #ffffff;
    opacity: 0;
    transform: scale(0);

	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.fancy-info p {
	display: table-cell;
	vertical-align: middle;
	line-height: 1.5em;
}

.fancy-title {
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	font-size: 1.2em;
	font-weight: bold;
	text-transform: uppercase;
}

.fancy-title-information {
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	font-size: 0.85em;
	padding-bottom: 0.35em;
	border-bottom: 1px solid #dfdfdf;
}

.fancy-subtitle {
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	font-style: italic;
	padding-top: 0.5em;
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
	
	-webkit-transition: all 0.6s ease-in-out 0.3s;
	-moz-transition: all 0.6s ease-in-out 0.3s;
	-o-transition: all 0.6s ease-in-out 0.3s;
    transition: all 0.6s ease-in-out 0.3s;
}

.fancy-item:hover {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fancy-item:hover .fancy-info {
	transform: scale(1);
    opacity: 0.85;
}

.fancy-item:hover .fancy-subtitle {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

@media all and (max-width: 1024px) and (min-width: 320px) {
	.fancy-item {
		box-shadow: none;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
	}
	
	.fancy-title {
		font-size: 1em;
	}

	.fancy-title-information {
		font-size: 0.7em;
		border-bottom: none;
	}
	
	.fancy-info {
		transform: scale(1);
		opacity: 0.75;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
	}
	
	.fancy-item:hover .fancy-info {
		transform: scale(1);
		opacity: 0.75;
	}

	.fancy-subtitle {
    	display: none;
	}
}