div#ottozoom{
	background: #DEE6E6;
	display:none;
	left: 0;
	padding: 10px;
	position: absolute;
	top: 0;
	z-index: 2000;
}

div#ottozoom.top > div{
	flex-direction : column;
}

div#ottozoom.bottom > div{
	flex-direction : column-reverse;
}

div#ottozoom.right > div{
	flex-direction : row-reverse;
	align-items: flex-start;
}

div#ottozoom.left > div {
	flex-direction : row;
	align-items: flex-start;
}

div#ottozoom-imagecontainer{
	clear: both;
	display: block;
	margin: 0 auto;	
	position: relative;
  	overflow: hidden;
}

div#ottozoom-imagecontainer video{
	display: block;
}

div#ottozoom-actions{
  margin-left: auto;
    background: rgba(255,255,255,.5);
    padding: 6px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 4;
}

div#ottozoom-actions a{
	margin: 0 4px;
}

div#ottozoom [class*=alert-]{
  background: none !important;
}

.ottozoomrestriction{
	order:1;
}
.ottozoomaddToCart{
	order:2;
}
.ottozoomdownload {
	order:3;
}

img#ottozoom-image{
	cursor: pointer;
	max-width: 100%;
  	height: auto;
  	display: block;
}

div#ottozoom.top div#ottozoom-imagecontainer{
	margin-bottom:10px;
}

div#ottozoom.bottom div#ottozoom-imagecontainer{
	margin-top:10px;
}

div#ottozoom-infos{
	font-size: 12px;
	flex: 1;
}

div#ottozoom.left div#ottozoom-infos{
	margin-left: 10px;
}

div#ottozoom.right div#ottozoom-infos{
	margin-right: 10px;
}

div#ottozoom-infos strong{
	font-weight: bold;
}

div#ottozoom div#ottozoom-infos p{
	margin:0
}

div#ottozoom.imageOff div#ottozoom-infos > * + * {
	margin-top:10px;
}


/*div#ottozoom.bottom div#ottozoom-infos p,
div#ottozoom.left div#ottozoom-infos p,
div#ottozoom.right div#ottozoom-infos p{
	margin-top:0;
}*/

div#ottozoom.bottom div#ottozoom-infos > * + *,
div#ottozoom.left div#ottozoom-infos > * + *,
div#ottozoom.right div#ottozoom-infos > * + *{
	margin-top: 10px;	
}

div#ottozoom.top div#ottozoom-infos p{
	margin-bottom:0;
}

div#ottozoom.top div#ottozoom-infos > * + *{
	margin-top: 10px;	
}
