.gimagepreviewbox { padding: 1px; }
.gimagepreviewbox #container {
	display: none;
	padding-top: 10px;
	overflow: hidden;
}
.gimagepreviewbox .item {
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding: 1px;
    background-repeat: no-repeat;
    border-width: 4px;
    border-style: double;
    border-color: gray;
    background-size: 150x 150px;
    background-color: rgba(204, 204, 204, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.gimagepreviewbox .item img {
    margin-left: -2px;
    margin-top: -2px;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.gimagepreviewbox .item img:hover {
	zoom: 1;
	filter: alpha(opacity=65);
	opacity: 0.65;
}

.gimagepreviewbox .item.sample_item {
	background-image: url('sample_thumb.png');
	background-size: cover;
}

.gimagepreviewbox .item a.close {
	position: absolute;
	border-radius: 7px;
	color: white;
	background-color: rgba(255, 0, 0, 0.6);
	top: 0;
	right: 0;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 1.2em;
	font-size: 15px;
	display: none;
}

.gimagepreviewbox .item a.close:hover {
	cursor: pointer;
    background-color: rgba(255, 0, 0, 1);
}

.gimagepreviewbox .item a.close.green {
	background-color: rgba(0, 255, 0, 0.4);
}

.gimagepreviewbox .item a.close.green:hover {
	cursor: pointer;
	background-color: rgba(0, 255, 0, 0.8);
}

.gimagepreviewbox p.removal_message {
	text-align: center;
	font-style: italic;
	font-size: 12px;
	position: absolute;
	top: 30%;
	font-weight: bold;
    background-color: rgba(255,255,224, 0.8);
    padding: 5px;
    border-radius: 5px;
    display: none;
    width: 90%;
}

.gimagepreviewbox div.undo_button {
    position: absolute;
    top: 50%;
    background-image: url('undo.png');
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    margin-left: -16px;
    left: 50%;
    z-index: 999;
}

.gimagepreviewbox div.undo_button:hover {
	cursor: pointer;
}

.gimagepreviewbox img.topRightIcon {
	position: absolute;
	top: 5px;
	right: 5px;
}


