/*	CALENDAR
   ----------------------------- */

.calendar,
.header-calendar{
	display: block;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	height: 100%;
}
.header-calendar{
	box-sizing: border-box;
	padding:  10px 0;
	border-bottom: 1px solid #f4f4f4
}
.header-calendar h2{
	float: left;
	margin-right: 15px;
	margin-bottom: 0;
	line-height: 33px;
	width: auto !important;
}
.header-calendar a.bt-create{
	border-radius: 5px;
    color: #ffffff;
    display: table;
    float: left;
    line-height: 33px;
    padding: 0 15px;
	margin-right: 10px;
	position: static !important;
}
.header-calendar a.bt-create:hover{
	background-color: #545454 !important
}
header.header-calendar{
	display: block;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}
header.header-calendar h2{
	font-size: 26px;
	text-transform: none;
}
   
.calendar .left.main{
   	float: left;
   	width: 15%;
}
.calendar .right.main{
   	float: right;
   	width: 85%;
	box-sizing: border-box;
	padding-left: 1px
}
.calendar a.main-add-event{
	height: 91px;
	width: 100%;
	display: block;
	line-height: 91px;
	font-size: 26px;
	text-align: center;
	color: #fff;
}
.calendar a.main-add-event:hover{
	background: #dcdcdc !important;
	color: #1e1e1e !important;
}

.calendar .actual-year select{
	height: 56px;
	width: 100%;
	display: block;
	line-height: 70px;
	font-size: 34px;
	background: #fff;
	color: #1e1e1e;
	border-radius: 0;
	margin-bottom: 0;
	border: none;
	padding-left: 20%;
	border-bottom: 1px solid #f4f4f4;
}
.calendar .actual-year select option{
	color: #1e1e1e;
}
.calendar .right.main{
	box-sizing: border-box;
}
.calendar .left.main li{
	background: #fff;
	border-bottom: 1px solid #f4f4f4
}
.calendar .left.main li a{
	display: block;
	width: 80%;
	height: 44px;
	line-height: 44px;
	font-size: 19px;
	padding-left: 20%;
	text-transform: lowercase
}
.calendar .left.main li.active a{
	font-size: 28px;
	color: #fff;
	background: url(../../images/icons/enquete.svg) 15px center no-repeat;
	background-size: auto 10px;
}
.calendar .stripe li{
	background: #fff;
}
.calendar .stripe li:nth-of-type(2n){
	background: #fff;
}
.calendar .left.main li:hover{
	background: #f4f4f4;
}
ul.day{
	border-bottom: 1px solid #f4f4f4
}
ul.day li{
	display: block;
	float: left;
	position: relative;
	width: 14.28%;
	height: auto;
	background: #fff;
	text-align: center;
	font-size: 25px;
	padding-top: 20px;
	padding-bottom: 10px;
	text-transform: uppercase;
	color: #b2b2b2
}
ul.day li.today{
	color: #fff;
}/*ul.day li:nth-of-type(2n){
	background: #e0e0e0;
}*/
.calendar-display ul li{
	display: block;
	float: left;
	position: relative;
	width: 14.28571%;
	height: 150px;
	background: #f6f6f6;
	box-sizing: border-box;
	border: .5px solid #fff;
	border-left: 0;
	border-bottom: 0;
}
.calendar-display ul li:nth-of-type(7n){
	border-right: none;
}
.calendar-display ul li:nth-of-type(7n +1){
	border-left: none;
}
.calendar-display ul li:nth-of-type(-n + 7) {
	border-top: none;
}
.calendar-display ul li:nth-child(n+29):nth-child(-n+49){
	border-bottom: none;
}
.calendar-display ul li:nth-child(2n + 1){
	background: #f4f4f4;
}
.calendar-display ul li.empty{
	background: #fff;
}
.calendar-display ul li span.notifications{
	display: block;
	background: #ef164e;
	color: #fff;
	width: 20px;
	height: 20px;
	line-height: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	text-align: center;
	position: absolute;
	top: 10px;
	right: 10px;
}
.calendar-display ul li.white{
	background: #f6f6f6;
}
.calendar-display ul li.out-of-month{
	background: #fff;
}
.calendar-display ul li.active{
	background: #95e7d6;
}

.calendar-display ul li.out-of-month.active{
	background: #fff;
}
.calendar-display ul li .container{
	position: absolute;
	padding: 10px;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	box-sizing: border-box;
}

.calendar-display ul li .events-list{
	display: block;
	width: 100%;
	overflow: hidden;
	padding: 10px 0;
}
.calendar-display ul li .events-list a{
	display: block;
	width: 100%;
	overflow: hidden;
	overflow: hidden;
    text-overflow: "";
    white-space: nowrap;
	padding: 2px 0;
	font-size: 13px;
	opacity: .4
}
.calendar-display ul li .events-list a time{
	font-size: 5px;
	display: inline;
	background: #fff;
	color: #fff;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	padding: 0 5px;
	display: none;
}
.calendar-display ul li .events{
	overflow: hidden;
	height: 50px;
	margin-top: 10px;
}
.calendar-display ul li time{
	font-size: 26px;
	color: #1b1b1b;
}
/*.calendar-display ul li a{
	display: none;
}*/
.calendar-display ul li.out-of-month time{
	color: #e8e8e8;
}
.calendar-display ul li.active time{
	font-size: 26px;
	color: #415d76;
}
.calendar-display ul li time strong{
	display: none;
}


.calendar-display ul li .events a{
	display: block;
	color: #415d76;
	font-size: 16px;
	line-height: 20px;
}
.calendar-display ul li .events a time{
	display: none;
}
.calendar-display ul li .events{
	position: relative;
	padding-top: 2px;
}
.calendar-display ul li .events  p.notification-tile strong{
	display: inline-block;
	background: #ef164e;
	width: 20px;
	height: 20px;
	line-height: 18px;
	border-radius: 15px;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 12px;
	color: #fff;
}
.calendar-display ul li.today{
	background: #ecfff9;
}
.calendar-display ul li.today time,
.calendar-display ul li.today time strong{

}

.calendar-display ul li{
	position: relative;
}
.calendar-display ul li a.bt{
	display: none;
	padding: 5px 10px;
	box-sizing: border-box;
	text-align: center;
	font-size: 13px;
	text-transform: uppercase;
	color: #fff;
	border-radius: 20px;
	cursor: pointer;
	position: absolute;
	width: 90%;
	left: 5%;
	bottom: 20px;
}
.calendar-display ul li a.open-all{
	display: none;
}
.calendar-display ul li.active a.open-all{
	display: block;
}
.calendar-display ul li.active:hover a.open-all{
	display: none;
}
.calendar-display ul li.active a.add-event{
	display: none;
}
.calendar-display ul li:hover a.add-event{
	display: block;
	background: #fff;
}

.calendar-display ul li a.bt:hover{
	background: #1b1b1b !important;
}


.event-buttons{
    margin-bottom: 15px;
    z-index: 999;
}
.event-buttons button{
    position: relative;
    float: right;
    border: none;
    border-radius: 5px;
    margin: 3px;
    cursor: pointer;
}
.event-buttons button.bnt-confirm-event:hover,
.event-buttons button.bnt-confirm-event.atv{
    background-color: #05c176;
    color: #ecfff9;
}
.event-buttons button.bnt-refused-event:hover,
.event-buttons button.bnt-refused-event.atv{
    background-color: #ff4d4d;
    color: #ecfff9;
}
.users-table{
    padding: 20px 0;
}
.users-table li{
    width: 40%;
    display: table;
    padding: 10px 4%;
    float: left;
    line-height: 20px;
    border: 1px solid #dcdcdc;
    margin-top: -1px;
}
.users-table li:nth-of-type(2n){
    border-left: none;
}
.users-table strong{
    font-size: 14px;
    font-weight: 600;
}
.calendar-display ul li a.see-all{
	display: none;
}

.calendar-display ul li.active:hover a.see-all{
	display: block;
	text-align: center;
	text-transform: lowercase;
}








@media screen and (min-width: 880px){
	.calendar-display ul li.active:hover .container{
		width: 300px;
		z-index: 999;
		left: 50%;
		background: #fff;
		bottom: auto;
		height: auto;
		padding-bottom: 60px;
		border: 1px solid #f4f4f4;
		-webkit-box-shadow: 44px 35px 146px -35px rgba(0,0,0,0.47);
		-moz-box-shadow: 44px 35px 146px -35px rgba(0,0,0,0.47);
		box-shadow: 44px 35px 146px -35px rgba(0,0,0,0.47);
		
		top: 50%;
		-webkit-transform: translateY(-50%) translateX(-50%);
		-moz-transform: translateY(-50%) translateX(-50%);
		-ms-transform: translateY(-50%) translateX(-50%);
		-o-transform: translateY(-50%) translateX(-50%);
		transform: translateY(-50%) translateX(-50%);
	}
	.calendar-display ul li.active:nth-of-type(7n):hover .container{
		left: auto;
		right: 0;
		-webkit-transform: translateY(-50%) translateX(0);
		-moz-transform: translateY(-50%) translateX(0);
		-ms-transform: translateY(-50%) translateX(0);
		-o-transform: translateY(-50%) translateX(0);
		transform: translateY(-50%) translateX(0);
	}
	.calendar-display ul li.active:nth-of-type(-n + 7):hover .container{
		top: 0;
		-webkit-transform: translateY(0) translateX(-50%);
		-moz-transform: translateY(0) translateX(-50%);
		-ms-transform: translateY(0) translateX(-50%);
		-o-transform: translateY(0) translateX(-50%);
		transform: translateY(0) translateX(-50%);
	}
	.calendar-display ul li.active:nth-child(n+29):nth-child(-n+49):hover .container{
		top: auto;
		bottom: 0;
		-webkit-transform: translateY(0) translateX(-50%);
		-moz-transform: translateY(0) translateX(-50%);
		-ms-transform: translateY(0) translateX(-50%);
		-o-transform: translateY(0) translateX(-50%);
		transform: translateY(0) translateX(-50%);
	}
	
	.calendar-display ul li.active:nth-of-type(7):hover .container{
		left: auto;
		top: 0;
		right: 0;
		-webkit-transform: translateY(0) translateX(0);
		-moz-transform: translateY(0) translateX(0);
		-ms-transform: translateY(0) translateX(0);
		-o-transform: translateY(0) translateX(0);
		transform: translateY(0) translateX(0);
		botder: 1px solid #f00;
	}
	.calendar-display ul li.active:nth-of-type(9){
		
	}
	.calendar-display ul li.active:nth-of-type(40):hover .container{
		left: auto;
		top: auto;
		bottom: 0;
		right: 0;
		-webkit-transform: translateY(0) translateX(0);
		-moz-transform: translateY(0) translateX(0);
		-ms-transform: translateY(0) translateX(0);
		-o-transform: translateY(0) translateX(0);
		transform: translateY(0) translateX(0);
		botder: 1px solid #f00;
	}

	.calendar-display ul li.active:hover .events-list a{
		box-sizing: border-box;
		font-size: 16px;
		opacity: 1;
		padding: 10px 0;
		padding-left: 20px;
		word-wrap: normal;
		text-overflow: "";
		overflow: inherit;
		white-space: normal;
		background: url(../../images/icons/check.png) left center no-repeat;
	}
	
	.calendar-display ul li.active:hover .dayleft{
		left: 5px;
	}
	.calendar-display ul li.active:hover .daytop{
		margin-top: 5px;
	}
	.calendar-display ul li.active:hover .dayright{
		left: -20%;
		margin-left: -47px;
	}
	.calendar-display ul li.active:hover .daybottom{
		bottom: 5px;
	}
	.calendar-display ul li.active:hover time{
		font-size: 32px;;
		color: #ab003b;
		margin-bottom: 20px;
	}
	.calendar-display ul li:hover{
		background: #fff;
	}
	.calendar-display ul li:hover time strong{
		display: inline-block;
	}
	.calendar-display ul li.active:hover .events a{
		font-size: 16px;
		padding-left: 50px;
		margin-bottom: 10px;
		position: relative;
	}
	.calendar-display ul li.active:hover .events{
		height: auto;
	}
	.calendar-display ul li.active:hover .events a time{
		display: block;
		float: left;
		margin-left: -50px;
		color: #ab003b;
		height: 100%;
		font-size: 16px;
	}
	.calendar-display ul li.active:hover .events a:hover{
		text-decoration: underline;
	}
	.calendar-display ul li.active:hover a.add-event{
		background: #95e7d6;
	}
	.calendar-display ul li.active:hover .events-list a time{
		display: inline;
		font-size: 15px;
		color: #fff;
		line-height: 20px;
		padding: 0 10px;			
	}
}

