/*Font*/
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local('Raleway'), local('Raleway-Regular'), url(Raleway-Regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.textMoreinfo sup { top: -1em; font-size: 0.6em; }
.textMoreinfo sub { top: 1em; font-size: 0.6em; }

#boxmoreinfo {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
	margin: 0;
}

#boxmoreinfo {
	font-family: 'Raleway', Arial, sans-serif;
}

#boxmoreinfo .content {
	display: flex;
	justify-content: center;
}

#boxmoreinfo .content .grid {
	max-width: 840px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#boxmoreinfo .content .grid .titulo {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 0.6em 0;
	font-size: 1.625em;
}

#boxmoreinfo .content .grid .titulo p {
	margin: 0;
	font-size: 0.6em;
	display: inline-block;
	width: 90%;
}

/* Common style */
#boxmoreinfo .content .grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 6px;
	min-width: 268px;
	max-width: 268px;
	height: auto;
	text-align: center;
	cursor: pointer;
}

#boxmoreinfo .content .grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

#boxmoreinfo .content .grid figure figcaption {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

#boxmoreinfo .content .grid figure figcaption p.textMoreinfo {
	line-height: 1.4em;
}

#boxmoreinfo .content .grid figure figcaption p.text{
	line-height: 1.1em;
}

#boxmoreinfo .content .grid figure figcaption::before,
#boxmoreinfo .content .grid figure figcaption::after {
	pointer-events: none;
}

#boxmoreinfo .content .grid figure figcaption,
#boxmoreinfo .content .grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
#boxmoreinfo .content .grid figure figcaption > a {
	z-index: 1000;
	/*text-indent: 200%;*/
	white-space: nowrap;
	font-size: 3em;
	color: #fff;
	text-shadow: 0px 0px 10px #666, 0px 0px 10px #999;
	/*opacity: 0;*/
}

#boxmoreinfo .content .grid figure figcaption span.circle {
	width: 40px;
  	height: 40px;
  	line-height: 38px;
	border-radius: 50%; /* the magic */
	-moz-border-radius: 50%;
 	-webkit-border-radius: 50%;
 	text-align: center;
	position: absolute;
	right: 10px;
	bottom: 10px;
	-webkit-box-shadow: rgba(0,0,0,0.5) 0px 0 10px;
	-moz-box-shadow: rgba(0,0,0,0.5) 0 0 10px;
	box-shadow: rgba(0,0,0,0.5) 0 0 10px;
	display: none;
}


#boxmoreinfo .content .grid figure p {
	margin: 0;
}

#boxmoreinfo .content .grid figure p {
	letter-spacing: 1px;
	font-size: 70%;
}

/* MORE INFO LP CATEGORIA STYLES */

#boxmoreinfo.categoria {
	font-family: Arial, sans-serif;
}

#boxmoreinfo.categoria .content .grid {
	width: 100%;
	max-width: 1316px;
	justify-content: space-around;
}

#boxmoreinfo.categoria .txtComplement ul li {
	padding: 0 0 2% 0
}
/* MORE INFO LP CATEGORIA STYLES */


/* Individual effects */

/*---------------*/
/***** Ming *****/
/*---------------*/

#boxmoreinfo .content .grid figure.effect-ming {
	background: none;
}

#boxmoreinfo .content .grid figure.effect-ming:hover {
	background: #030c17;
}

#boxmoreinfo .content .grid figure.effect-ming img {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

#boxmoreinfo .content .grid figure.effect-ming figcaption::before {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 20px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

#boxmoreinfo .content .grid figure.effect-ming p {
	padding: 0.5em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}


#boxmoreinfo .content .grid figure.effect-ming:hover a {
	opacity: 0;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

#boxmoreinfo .content .grid figure.effect-ming:hover figcaption::before,
#boxmoreinfo .content .grid figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

#boxmoreinfo .content .grid figure.effect-ming:target figcaption {
	background-color: rgba(58,52,42,0);
}

#boxmoreinfo .content .grid figure.effect-ming:hover img {
	opacity: 0.2;
}

/* Media queries */

@media screen and (max-width: 768px) {
	#boxmoreinfo .content .grid .titulo {font-size: 3.4vw;}
}

@media screen and (max-width: 700px) {
	#boxmoreinfo .content .grid figure {min-width: 207px; max-width: 207px;}
}
@media screen and (max-width: 50em) {
	#boxmoreinfo .content {
		text-align: center;
	}
	#boxmoreinfo .content .grid figure {
		display: inline-block;
		float: none;
		width: 100%;
	}

	#boxmoreinfo .content .grid figure figcaption span.circle {
		display: block;
	}
}

@media screen and (max-width: 25em) {
	#boxmoreinfo .content .grid figure p {
		font-size: 0.6em;
	}
}
