/* AGENDA */
/* Smartphone small */
@media screen and (max-width: 479px) {
	.node-agenda {
		margin: 0 auto;
		width: 260px;
	}

	.node-agenda .agenda-journee,
	.view-formation-agenda .agenda-journee {
		padding: 0 35px 0 55px;
		width: 170px;
	}
	
	.agenda-journee img {
		display: none;
	}
}

/* Smartphone all */
@media screen and (max-width: 639px) {
	.page-actualite .node-agenda .view-content {
		height: 380px;
	}
	
	.front .node-agenda .view-content {
		height:auto!important;
	}	

	.node-agenda .calendar-calendar {
		height: 260px;
	}
	
	.node-agenda .agenda-journee,
	.view-formation-agenda .agenda-journee {
		bottom: 0;
		left: 0;
	}
	
}

/* Smartphone large */
@media screen and (min-width:480px) and (max-width: 639px) {
	.node-agenda {
		margin: 0 auto;
		width: 390px;
	}

	.page-actualite .node-agenda .view-content {
		height: 400px;
	}
	
		.front .node-agenda .view-content {
		height:auto!important;
	}
	
	.front #block-views-home_cimap-block .views-field-view-node a {
		left:-100px;
	}	
	
	.node-agenda .calendar-calendar {
		padding: 0 90px;
	}
	
	.node-agenda .agenda-journee,
  .view-formation-agenda .agenda-journee {
		padding: 0 20px 0 10px;
		width: 360px;
	}
	
	.view-calendrier .journee-date {
		margin-bottom: -30px;
		padding: 0 0 0 195px;
	}
	
	.agenda-journee .title-agenda-main {
		padding: 30px 0 0 195px;
		width: 165px;
	}
	
	.view-agenda-journee .views-slideshow-cycle-main-frame-row-item {
		max-height: 135px;
	}
	
	.agenda-journee img {
		float: left;
		margin: 0 15px 0 0;
	}
	
	aside#sidebar-first,
.node-type-institutionnel-rubrique aside#sidebar-first,
.node-type-thematique-master aside#sidebar-first {
	float:none !important;
	clear:both;
	margin: 0;
}

}

@media screen and (min-width:480px) and (max-width: 1024px) {
	.agenda-journee img {
		height: 95px;
		width: 180px;
	}
}

/* Tablette seule */
@media screen and (min-width:640px) and (max-width: 1024px) {
	.view-calendrier .calendar-calendar tr {
		padding: 0 15px;
	}
	
	.view-calendrier .date-nav-wrapper .date-heading h3 {
		padding-top: 5px;
	}

	.node-type-home-actu .node-agenda .view-calendrier .agenda-journee {
		height: 185px;
		top: -39px;
	}
	
}

/* A partir de tablette */
@media screen and (min-width: 640px) {
	.node-home-actu .node-agenda {
		margin-top: 10px;
	}

	.node-agenda .view-header,
  .view-formation-agenda .view-header {
		width: 50%;
	}

	.node-agenda .calendar-calendar {
		width: 50%;
	}
	
	.node-type-home-actu .node-agenda .view-calendrier .agenda-journee {
		bottom: auto;
		left: auto;
		padding: 20px 10px 10px;
		right: 0;
	}	
}

/* Desk*/
@media screen and (min-width: 1024px) {
	.view-calendrier .date-nav-wrapper .date-heading h3 {
		/*padding-bottom: 30px;*/
	}
  
  .view-calendrier table.mini,
  .view-formation-agenda table.mini {
    height: 270px;
    background-color: #3C3C3C;
  }
	
	.node-type-home-actu .node-agenda .view-calendrier .agenda-journee {
		height: 280px;
		top: -40px;
	}	
	
  .node-niveau-2 .view-formation-agenda .agenda-journee {
    height: 280px;
    top: 405px;
    left: 230px;
  }
}

/* All */
.node-agenda .view-content {
	position: relative;
}

.node-agenda .calendar-calendar {
	background: #3c3c3c;
}

.node-agenda .agenda-journee,
.view-formation-agenda .agenda-journee {
	background: #fff;
	display: none;
	height: auto;
	position: absolute;
}

.node-agenda .active .agenda-journee,
.view-formation-agenda.active .agenda-journee {
	display: block;
}

td.mini.active {
	background: #ee2d56;
}

/*OVR*/
.node-agenda .date-nav,
.node-type-home-actu .node-agenda .month-view {
	width: auto;  
}

.calendar-calendar tr {
	background: none !important;
}

.calendar-calendar tr td.today,
.calendar-calendar tr.odd td.today,
.calendar-calendar tr.even td.today {
    background: none;
}

.view-calendrier .calendar-calendar td,
.view-calendrier .calendar-calendar tr td.today,
.view-formation-agenda  .calendar-calendar td,
.view-formation-agenda  .calendar-calendar tr td.today {
    background: none !important;
}

.view-calendrier .calendar-calendar td.active,
.view-formation-agenda .calendar-calendar td.active,
.view-calendrier .calendar-calendar tr td.today.active,
.view-formation-agenda .calendar-calendar tr td.today.active {
    background: #ee2d56 !important;
}

.calendar-calendar td.has-events {
  color: #ee2d56;
  font-weight: bold;
  cursor: pointer;
}

.calendar-calendar td.has-events.active {
  color: #fff;
}

.calendar-calendar .agenda-journee {
  display: none;
}


/* Juste pour rappel */
/* .view-calendrier .calendar-calendar tr td.today a {
	color: #FFFFFF;
} */

.view-calendrier .calendar-calendar tr td.today .mini-day-on a,
.view-formation-agenda .calendar-calendar tr td.today .mini-day-on a {
	color: #ee2d56;
}

.calendar-calendar .active .mini-day-on a,
.view-calendrier .calendar-calendar tr td.today.active a,
.view-formation-agenda .calendar-calendar tr td.today.active a {
	color: #FFFFFF;
}

.view-agenda-journee,
.node-agenda .view-agenda-journee .view-content,
.view-formation-agenda .view-agenda-journee .view-content,
.view-agenda-journee .views_slideshow_cycle_main,
.view-agenda-journee .views-slideshow-cycle-main-frame,
.view-agenda-journee .views-slideshow-cycle-main-frame-row,
.view-agenda-journee .views-slideshow-cycle-main-frame-row-item {
	height: auto;
}

/* FIN AGENDA */


/* MODIF PAGE.TPL.PHP */
section#content {
	width: 100%;
}

aside#sidebar-first,
.node-type-institutionnel-rubrique aside#sidebar-first,
.node-type-thematique-master aside#sidebar-first {
	float:right;
	margin: 0;
}



@media screen and (min-width: 1024px) {
	.sidebar-first #content-area {
		width:700px;
	}
}
/* FIN MODIF PAGE.TPL.PHP */


/* DATE PICKER EXPOSED FILTERS */
#ui-datepicker-div {
  top: 755px !important;
}

.page-node #ui-datepicker-div {
  top: 760px !important;
}

.page-documentations #ui-datepicker-div {
  top: 759px !important;
}

.role-administrator #ui-datepicker-div {
  top: 784px !important;
}

.role-administrator.page-node #ui-datepicker-div {
  top: 812px !important;
}

.role-administrator.page-documentations #ui-datepicker-div {
  top: 788px !important;
}
/* FIN DATE PICKER EXPOSED FILTERS */
