/* Le cadre de la banner */
.crop-wrapper {
	background-color:rgba(255,255,255,1);
	position:relative;
	width:99%;
	height:192px;
	overflow:hidden;
	border:1px dashed grey;
	margin: 20px auto 10px auto;
	background-image: url("/asso/images/frame-landscape.png");
	background-repeat:no-repeat;
	background-position:center center;
}

.resize-image
{
	/* z-index:1009990; */
}

.resize-container {
	position: relative;
	display: inline-block;
	cursor: move;
	margin: 0 auto;
	width:0%; /* Nul par défaut, permet de rendre la zone d'upload tactile avant l'upload */
	border:0px solid red;
}

.resize-container-ontop {
	position:absolute;
	cursor:move;
	background-color:rgba(5,255,5,0);
	z-index:auto;
	width:100%;
	height:100%;
}

.resize-container img {
	display: block;
}

.resize-container:hover img,
.resize-container:active img {
	outline: 2px dashed rgba(0,0,0,.9);
}

.resize-handle-ne,
.resize-handle-se,
.resize-handle-nw,
.resize-handle-sw {
	position: absolute;
	display: block;
	width: 10px;
	height: 10px;
	background: rgba(0,0,0,.9);
	z-index: 999;
}

.resize-handle-nw {
	top: -5px;
	left: -5px;
	cursor: nw-resize;
}

.resize-handle-sw {
	bottom: -5px;
	left: -5px;
	cursor: sw-resize;
}

.resize-handle-ne {
	top: -5px;
	right: -5px;
	cursor: ne-resize;
}

.resize-handle-se {
	bottom: -5px;
	right: -5px;
	cursor: se-resize;
}

.overlay {
	position: absolute;
	left: 0%; /*Point de départ de la découpe */
	top: 0%; /*Point de départ de la découpe */
	margin-left:0;
	margin-top:0;
	z-index: 999;
	width: 100%; /* Largeur de la découpe */
	height: 100%; /* Hauteur de la découpe */
	border: solid 2px rgba(222,222,222,.9);
	box-sizing: content-box;
	pointer-events: none;
}

.btn-crop img {
	vertical-align: middle;
	margin-left: 8px;
}

.js-crop
{
	display: none;
}

/* mobile */
@media screen and (max-width: 767px)
{
	.crop-wrapper
	{
		width:90%;
	}

	.overlay {
		width:100%;
		height:100%;
	}

	.resize-container {
		top:40px;
	}
}

@media screen and (min-width:768px) and (max-width:979px)
{
	.crop-wrapper
	{
		width:750px;
		height:125px;
	}

	.overlay {
		width:100%;
		height:100%;
	}
}

@media screen and (min-width:980px) and (max-width:1199px)
{
	.crop-wrapper
	{
		width:950px;
		height:158px;
	}

	.overlay {
		width:100%;
		height:100%;
	}
}

@media screen and (min-width:1600px)
{
	.crop-wrapper
	{
		width:1500px;
		height:250px;
	}

	.overlay {
		width:100%;
		height:100%;
	}
}