﻿body{
  margin:0;
  background-color:#fff;
  /*background-image:url(https://static.pexels.com/photos/1526/dark-blur-blurred-gradient.jpg);*/
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  height:100vh;
}
.month span{
	margin-left: 65px;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
}
.container{
  width:400px;
  height:200px;
  position:relative;
  perspective: 1000px;
  /*left:calc(50% - 200px);
  top:calc(50vh - 100px);*/
}
.card{
  width:100%;
  height:100%;
  position:absolute;
  transform-style:preserve-3d;
  transition:transform 1s ease;
  cursor:pointer;
}
.back, .front{
  border-radius:6px;
  position:absolute;
  width:100%;
  height:100%;
  backface-visibility:hidden;
}
.contentfront{
  width:100%;
  height:100%;
  float:left;
  transform:translatez(60px);
  backface-visibility: hidden;
  transform-style:preserve-3d;
  
}
.contentback{
  width:100%;
  height:100%;
  float:left;
  transform:translatez(-60px);
  backface-visibility: hidden;
  transform-style:preserve-3d;
  
}
.back{
  transform:rotateY(180deg);
  background-color:#232227;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}
.front{
  text-transform:uppercase;
  /*background-color:#232227;*/
  background: #000;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}
.date{
  height:100%;
  width:130px;
  float:left;
  /*background-color:#E76642;*/
  background: lime;
  border-radius:0 6px 6px 0;
  text-align:right;
  padding:10px 10px;
  box-sizing:border-box;
  transform-style:preserve-3d;
}
.datecont{
  height:100%;
  transform:translatez(60px) scale(.9);
}
#date{
  font-size:80px;
  color:#ECECE7;
  font-family: 'Montserrat', sans-serif;
  font-weight:500;
  float:right;
}
#day{
  float:right;
  font-size:16px;
  color:#232227;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight:bold;
}
#month{
  float:right;
  font-size:14px;
  /*color:#232227;*/
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight:600;
}
.date i{
  color:#fff;
  position:absolute;
  bottom:10px;
  right:0;
}
.date i:hover{
  /*color:#232227;*/
  color: lime;
  transition:.3s ease;
}
.month{
  height:100%;
  width:270px;
  float:left;
  padding:20px 30px;
  box-sizing:border-box;
}
.month table{
  width:100%;
}
.orangeTr{
  /*color:#E76642;*/
  color: lime;
}
.whiteTr{
  color:#ECECE7;
  
}
.whiteTr th:hover{
  color: lime;
  transition:.3s ease;
}
.month tr{
  height:24px;
}
.month th{
  width:14%;
  font-size:12px;
  font-family: 'Montserrat', sans-serif;
  font-weight:400;
}
.month th a:hover{
	color: lime;
}
.month th a{
	color: #fff;
}
.flipped{
  transform:rotateY(-180deg);
  /*height:400px;
  width:200px;
  left:calc(50% - 100px);
  top:calc(50vh - 200px);*/
}
.backcontainer{
    backface-visibility: hidden;
  transform-style:preserve-3d;
  width:calc(100% - 60px);
  height:calc(100% - 40px);
  float:left;
  margin-left:30px;
  margin-top:20px;
  border-left:solid red 5px;
  background-color:red;
  transform:translatez(-60px) scale();
}