.centred {
	-webkit-transform: translateX(-50%)translateY(-50%);
	-moz-transform: translateX(-50%)translateY(-50%);
	transform: translateX(-50%)translateY(-50%);
}

.transition {
	-webkit-transition: .5s;
	-moz-transition: .5s;
	transition: .5s;
	-webkit-transition-timing-function: cubic-bezier(.4,0,.5,1);
	-moz-transition-timing-function: cubic-bezier(.4,0,.5,1);
	transition-timing-function: cubic-bezier(.4,0,.5,1);
}

.calendar-container {
    position: relative;
    width: 98%;
    height: 800px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    top: 1;
    left: 1;
    margin: 8px auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    clear:both;
    color:#212121;
}

.view-year {
    height: 100%;
}

.grid {
    height: calc(100% - 100px);
    position: relative;
    overflow-y: scroll;
}

.view-month .grid {
	padding: 10px;
    box-sizing: border-box;
}

.title {
    width: 100%;
    font-size: 2em;
    padding: 0 30px;
    box-sizing: border-box;
    background: rgb(102, 172, 207);
	  color: #fff;
	  font-weight: 300;
    line-height: 100px;
}

.title.active {
	padding: 20px 30px 0px;
}

.date-year,.month-name.small {
    font-size: .68em;
}

.go-back-month,.go-back-day {
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
    opacity: 1;
}

.go-back-month:hover,.go-back-day:hover {
	opacity: .7;
	margin-left: -5px;
	margin-right: 20px;
}

.go-back-month span,.go-back-day span {
    width: 25px;
    height: 2px;
    background: #fff;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border-radius: 1px;
}

.go-back-month span:before,.go-back-day span:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background: white;
    top: -5px;
    left: -2px;
    transform: rotate(-45deg);
    border-radius: 1px;
}

.go-back-month span:after,.go-back-day span:after  {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background: white;
    top: 5px;
    left: -2px;
    transform: rotate(45deg);
    border-radius: 1px;
}

.month-item {
    width: 25%;
    float: left;
    height: 33.33%;
    position: relative;
    background: #ffffff;
    cursor: pointer;
}

.month-item:hover {
	background: #f2f2f2;
}

.month-item span {
	position: absolute;
	left: 50%;
	top: 50%;
	font-weight: 300;
}

.month-item span.current {
    background: rgb(102, 172, 207);
    line-height: 40px;
    width: 60px;
    height: 60px;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
}

/* MONTH */

.view-month,.view-day {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    height: 100%;
    z-index: 50;
    display: none;
}

/* DAY */

.view-day {
	z-index: 100;
}

.view-day p {
    font-size: 1.5em;
    font-weight: 300;
    margin: 40px auto;
}

.centred {
    -webkit-transform: translateX(-50%)translateY(-50%);
    -moz-transform: translateX(-50%)translateY(-50%);
    transform: translateX(-50%)translateY(-50%);
}

/* JAN */
#ene-month .title {
	background-color: rgb(114, 188, 202);
}

/* FEB */
#feb-month .title {
	background-color: rgb(200, 152, 208);
}

/* MAR */
#mar-month .title {
	background-color: rgb(142, 199, 127);
}

/* APR */
#abr-month .title {
	background-color: rgb(215, 228, 102);
}

/* MAY */
#may-month .title {
	background-color: rgb(255, 98, 98);
}

/* JUN */
#jun-month .title {
	background-color: rgb(249, 205, 94);
}

/* JUL */
#jul-month .title {
	background-color: rgb(245, 164, 92);
}

/* AUG */
#ago-month .title {
	background-color: rgb(229,86,54);
}

/* SEP */
#sep-month .title {
	background-color: rgb(133, 152, 106);
}

/* OCT */
#oct-month .title {
	background-color: rgb(127, 93, 132);
}

/* NOV */
#nov-month .title {
	background-color: rgb(104, 139, 203);
}

/* DEC */
#dic-month .title {
	background-color: rgb(102, 172, 207);
}

.row {
    height: 14.28%;
    overflow: hidden;
    width: 100%;
}

.cell {
    float: left;
    height: 100%;
    display: inline-block;
    width: 14.2%;
    text-align: center;
    position: relative;
}

.cell.past {
	color:#aaa;
}

.clickable {
	cursor: pointer;
}

.row.week .cell {
	font-weight: 400;
}

.cell span {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateX(-50%)translateY(-50%);
	-moz-transform: translateX(-50%)translateY(-50%);
	transform: translateX(-50%)translateY(-50%);
}

/* MATERIAL */

.ink {
	display: block; position: absolute;
	background: #fff;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
	transition: .5s;
	z-index: 3;
	opacity: .5;	
}

.ink.animate {
	opacity: 1;
	-webkit-transform: scale(2.5);
	-moz-transform: scale(2.5);
	-o-transform: scale(2.5);
	transform: scale(2.5);
}

/* MEDIA 1080 */

@media only screen and (max-width: 1080px) {
	
	.calendar-container {
		width: 70%;
		left: 15%;
	}
	
}

/* MEDIA 768 */

@media only screen and (max-width: 768px) {
	
	.calendar-container {
		width: 90%;
		left: 5%;
	}
	
}

/* MEDIA 480 */

@media only screen and (max-width: 480px) {
	
	.calendar-container {
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		border-radius: 0px;
		margin-top: 0px;
	}
	
	.title {
		line-height: 80px;
	}
}