.restore-image-notification {
    display: table;
    width: 100%;
    line-height: 1.3rem;
    margin: 20px 0 20px 0px;
    box-sizing: border-box;
    border: 10px solid #ffff7e;
    background: #ffffcc;
    padding: 20px 10px;
	position: relative;
}
.restore-image-notification.hidden {
	display: none;
}
.restore-image-notification--content {
	display: table;
}

.restore-image-notification--content-img {
    display: table-cell;
    vertical-align: middle;
    width: 55px;
}
.restore-image-notification--content-img > div {
	background-image:url('/www/pt.jpg');
	background-size:cover;
	width: 50px;
	background-color: #CCC;
	height: 50px;
	border-radius: 100%;
	border: 2.5px dotted #FFF;
	margin-right: 20px;
	display: block;
}

.restore-image-notification--content-desc {
    display: table-cell;
    font-size: 0.95rem;
    vertical-align: top;
    line-height: 1.5rem;
    padding-right: 140px;
    vertical-align: middle;
}
.restore-image-notification--btn-send, .restore-image-notification--btn-close {
	position: absolute;
	right: 10px;
	background-color: #ffff7e;
	width: 130px;
	box-sizing: border-box;
	padding: 8px;
	cursor: pointer;
	text-align: center;
}
.restore-image-notification--btn-send {
	top: 8px;
}
.restore-image-notification--btn-close {
	bottom: 8px;
}
.restore-image-notification--btn-send.loading:before {
	content: '';
	width: 12px;
	display: inline-block;
	height: 12px;
	background-image: url(/www/temp/loader.png);
	-webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
	background-size: cover;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

*[data-img-restore] {
	content: '';
	opacity: 0.3;
	bottom: 15px;
	right: 10px;
	height: 24px;
	width: 24px;
	display: block;
	position: absolute;
	background-color: #ffff7e;
	padding: 4px;
	text-align: center;
}
*[data-img-restore]:hover {
	opacity: 1;
}
*[data-img-restore]:after {
	height: 16px;
	width: 16px;
	background-image: url(/www/temp/upload.png);
	background-size: cover;
	content: '';
	display: inline-block;
}
*[data-img-restore].loading:after {
	background-image: url(/www/temp/loader.png);
	-webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
}

.restore-image-notification.sent .restore-image-notification--btn-send {
	display: none;
}
.restore-image-notification.sent .restore-image-notification--btn-close {
	bottom: initial;
	top: 10px;
}

@media only screen and (max-width: 640px) {
	.restore-image-notification--buttons {
		display: flex;
		padding-top: 20px;
	}
	.restore-image-notification--btn-send, .restore-image-notification--btn-close {
		position: relative;
		top: initial;
		bottom: initial;
		display: inline-block;
		flex: 1;
		margin-left: 10px;
	}
	.restore-image-notification--content-desc {
		padding-right: 10px;
	}
}

.restore-image-notification--btn-close:before {
	content: 'Fermer';
}
.restore-image-notification--btn-send:before {
	content: 'Envoyer';
}

.restore-image-notification--content-desc > div > strong:before {
	content: 'Tu possèdes actuellement des images que nous n\'avons plus sur le serveur.';
}
.restore-image-notification--content-desc > div:last-child:before {
	content: 'Aide-nous en les envoyant !'
}

.restore-image-notification.sent .restore-image-notification--content-desc > div > strong:before {
	content: 'Merci de ta contribution !';
}
.restore-image-notification.sent .restore-image-notification--content-desc > div:last-child:before {
	content: '';
}