/*
** Académie des Jardins de la Danse
** Copyright 2016, tous droits reservés.
**
** Contact webmaster@lesjardinsdeladanse.fr
**
** Manager modules stylesheet v1.0 
*/

/* Home page modules */
.home-placed { /* Global preview module container */
	width: 100%;
	height: 400px;
	overflow-x: scroll;
	overflow-y: hidden;
	position: inherit;
	white-space: nowrap;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.home-placed-container {
	width: auto;
	height: 400px;
}

.home-placed-element { /* Element */
	height: 380px;
	width: 90%;
	margin: 10px 0px 10px 10px;
	position: relative;
	display: inline-block !important;
	border-radius: 3px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: 50% 50% !important;
}
.home-placed-element:last-child {
	margin: 10px !important;
}

.home-placed-text { /* Text preview */
	height: auto;
	right: 0px;
	bottom: 30px;
	left: 0px;
	position: absolute;
	padding: 10px 5px 5px 5px;
	word-wrap: break-word;
	white-space: normal;
	background: -webkit-linear-gradient(rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.75) 50%);
	color: rgba(255, 255, 255, 0.90);
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 1.00);
	cursor: default;
}

.home-placed-infos { /* Element infos */
	height: 30px;
	padding: 5px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	position: absolute;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.75);
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	cursor: default;
}

.home-placed-element .elem-buttons {
	height: 20px;
	width: 20px;
	padding: 0px;
	border: 0px;
	font-size: 20px;
	color: rgba(255, 255, 255, 0.25);
	background: transparent;
	cursor: default;
}
.home-placed-element .elem-buttons:hover {
	color: rgba(255, 255, 255, 0.50);
}
.home-placed-element .main-elem-button:active {
	color: rgba(255, 255, 255, 0.75);
	background: transparent !important;
	border: 0px !important;
}
.home-placed-element .main-elem-button.is-main {
	color: rgba(255, 0, 61, 1.00);
}
.home-placed-element .main-elem-button.is-main:hover {
	color: rgba(255, 255, 255, 0.75);
}
.home-placed-element .main-elem-button.is-main:active {
	color: rgba(255, 255, 255, 0.50);
}

.home-placed-element .delete-elem-button {
	float: right;
}
.home-placed-element .delete-elem-button:active {
	color: rgba(255, 0, 61, 1.00);
	background: transparent !important;
	border: 0px !important;
}

.home-placed-element .date-range-block {
	height: 20px;
	position: absolute;
	box-sizing: border-box;
	right: 30px;
	left: 30px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0px;
	line-height: 0px;
	text-align: center;
}
.home-placed-element .date-range-block span {
	display: inline-block;
	padding: 4px 0px;
	font-size: 12px;
	line-height: 12px;
}
.home-placed-element .date-range {
	width: 95px;
	height: 20px;
	padding: 0px 10px;
	margin: 0px 3px;
	font-size: 12px;
	line-height: 12px;
	box-sizing: border-box;
	display: inline-block;
	border-radius: 2px;
	border: none;
	outline: none;
	text-align: center;
	background: rgba(255, 255, 255, 0.75);
}


/* Home element creator */
.home-creator-actions {
	display: block;
	top: 400px;
	width: 100%;
	position: absolute;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
}

.create-one {
	height: 380px;
	width: 100px;
	margin: 10px 0px 10px 10px;
	position: relative;
	display: inline-block !important;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 3px;
	overflow: hidden;
	cursor: default;
}
.create-one:hover span {
	background: rgba(255, 255, 255, 0.50);
}

.create-one span {
	width: 60px;
	height: 60px;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.25);
	text-align: center;
	color: black;
	font-size: 40px;
	line-height: 40px;
	padding-top: 6px;
	box-sizing: border-box;
}

.background-selector-container {
	top: 0px;
	right: 0px;
	left: 0px;
	position: absolute;
	background: blue;
}

.home-placed-element.creator input[type=file] {
	height: 30px;
	width: 200px;
	position: relative;
	display: inline-block;
	opacity: 1;
}

.home-placed-element.creator textarea {
	height: 150px;
	display: block;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	resize: none;
	outline: none;
	border: none;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 3px;
	font-size: 16px;
}

.home-placed-element .add-elem-button {
	float: right;
	font-size: 25px;
	padding-bottom: 3px;
}
.home-placed-element .add-elem-button:active {
	color: rgba(0, 255, 78, 1.00);
	background: transparent !important;
	border: 0px !important;
}