.cube__side,
.no-js .cube {
	border: 0.75vw solid #fff;
	outline: 1px solid #fdd078;
	/*background: #f0f0f0 url(../img/douya.jpg) no-repeat center center;*/
}

.cube .cube__side--back{
	background: #f0f0f0 url(../img/mandala.png) no-repeat center center;
}
.cube:not(.cube--inactive):nth-child(2n) .cube__side,
.no-js .cube:not(.cube--inactive):nth-child(2n) {
	/*background-image: url(../img/douya.jpg);*/
}

.cube:not(.cube--inactive):nth-child(3n) .cube__side{
	/*background-image: url(../img/douya.jpg);*/
}


.cube--inactive .cube__side,
.no-js .cube--inactive {
	background: #e1e0e0;
}
.cube{
	position: relative;
}
.img-bg{
	height: 3vw;
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(41,124,0,0.7);
}
/* With JS we insert a number span into the cube */

.cube__number,
.no-js .cube::after {
	font-family: 'Microsoft Yahei', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
	font-weight: 700;
	line-height: 2.5;
	height: 1rem;
	line-height:1rem;
	width: 100%;
	/*padding: 0 0 0 0.25em;
	padding-left:2em;*/ 
	letter-spacing: -0.05em;
	color: #fff;
	background: rgba(58,148,3,0.7);
    font-size:0.5rem;
    font-weight:normal;
    text-align:center;
}
.cube__side span{
	position: absolute;
	width: 1rem;
	height: 1rem;
	background:  url(../img/saoma.png) center no-repeat;
	background-size: 80%;
	right: 2em;
	bottom: 0;
}


.cube--inactive .cube__number,
.no-js .cube--inactive::after {
	background: #aaa;
}

.js .content__block {
	text-align: right;
}

.content__number {
	font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
	font-size: 40vw;
	font-weight: bold;
	line-height: 0.5;
	right: 0;
	bottom: 30vh;
	text-indent: -0.175em;
	letter-spacing: -0.175em;
	color: #fff;
}
