html,body {
    background: #f2f2f2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
}

/* DEFAULT */

.decor {
    position: absolute;
    left: 125px;
    bottom: -75px;
    width: 300px;
}

.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: 50%;
    height: 500px;
    top: 50%;
    left: 25%;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.view-year {
    height: 100%;
}

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

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

.title {
    width: 100%;
    font-size: 2em;
    padding: 0 30px;
    box-sizing: border-box;
    background: #339999;
	color: #fff;
	font-weight: 100;
    line-height: 100px;
}

.title-row .material-icons{
    margin-right: 10px
}

.title a{
    color: #fff;
}
.month-name .material-icons{
    font-size: 36px;
}

.date-year, .local, .month-name.small {
    font-size: .5em;
    opacity: .9;
    font-weight: bold
}

.title-row{
    float: left;
    line-height: 16px;
}

.title-row:nth-child(1){
    padding: 32px 0 0 16px;
}
.title-row:nth-child(2){
    padding: 24px 0 0 16px;
}
.title-row:nth-child(3){
    padding: 16px 0 16px 16px;
}

.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: 33.33%;
    float: left;
    height: 50%;
    position: relative;
    background: #ffffff;
    cursor: pointer;
}

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

.month-item > span {
	position: absolute;
	left: 50%;
	top: 50%;
	font-weight: 100;
	text-align: center;
}

.month-item > span.current {
    /*background: rgb(255, 98, 98);
    line-height: 40px;
    padding: 15px;
    color: #fff;*/
    font-weight: bold
}

/* 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: 100;
    left: 50%;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    margin: 0;
}

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

.material-icons{
    position: relative;
    top: 5px;
}
/* GEN */
#marco {
    height:100px;
    cursor: pointer
}
#marco img{
    width: 60px;
    border-radius: 100%;
    background: #fff;    
    float: left;
    margin: 20px 20px 5px 0;
}
#marco-event .title {
	background-color: #339999;
}

#marco-event {
    cursor: pointer;
}

/* FEB */
#he-event .title {
	background-color: #ff6633;
}

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

/* APR */
#mc-event .title {
	background-color: rgb(196, 208, 95);
}

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

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

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

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

.row.maps{
    height: 28.56%;
}

.row span{
    padding: 0 10px;
}
.cell {
    float: left;
    height: 100%;
    display: inline-block;
    width: 14.2%;
    text-align: center;
    position: relative;
    font-weight: 100;
}

.cell.past {
	opacity: .3;
}

.clickable {
	cursor: pointer;
}

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

.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%);
}

.has-event span {
    border-radius: 100%;
    padding: 5px 10px;
    border: 1px solid #339999;
    width: 18px;
    font-weight: bold;
}

/* 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) {
    img#logo{
        width:100px
    }
    main, section#programacao, .calendar-container{
        height: 100%;
    }
    
    main{
        padding-top: 50px;
    }
    
	.calendar-container {
		width: 100%;
		top: 0;
		left: 0;
		border-radius: 0px;
		margin-top: 0px;
	}
	
	.title {
		line-height: 80px;
	}
    
    .month-item{
        width: 100%;
        height: 16.76%;
    }
    
    .month-item > span{
        width: 100%;
    }
}