/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

@media all and (max-width: 1000px) {

#sevenspikes-cloud-zoom:before {
	display: none;
}
#sevenspikes-cloud-zoom img {
	position: static;
}

}

@media all and (min-width: 1001px) {

/* theme overwritting styles */

.gallery {
	font-size: 0;
}
.gallery .picture-wrapper {
	/*** !!! set line-height to the appropriate height  !!! ***/
	line-height: 320px;
}
.gallery .picture-wrapper .picture:before {
	display: none;
}

/* main picture styles */

#sevenspikes-cloud-zoom {
	margin: 0;
	overflow: visible;
	text-align: center;
	font-size: 0;
}
#sevenspikes-cloud-zoom:before {
	display: none;
}
#wrap {
	display: block;
	max-width: 100%;
	vertical-align: middle;
	line-height: 0;
}
#wrap a {
    position: relative;
	max-width: 100%;
	vertical-align: middle;
	line-height: 0;
    overflow: hidden;
}
#wrap a:before {
    content: "";
    display: block;
    padding-top: 125%;
}
#wrap img {
}

/* This is the overlay element. */

#wrap > .mousetrap {
	right: 0;
	bottom: 0;
	margin: auto;
}
.cloud-zoom-lens {
	margin: 0;
	border: none;
	background-color: #fff;
	cursor: crosshair;
}

/* This is the zoom window. */

#cloudZoomWindowElement {
	left: 0;
	top: 0;
	z-index: 1;
}
#cloud-zoom-big {
	border: none;
	overflow: hidden;
    bottom: 0;
    margin: auto;
}
.overview #cloud-zoom-big {
	position: static !important; /* fix for the zoom window so that its wrapper takes the dimensions */
}

/* This is for the title text. */

.cloud-zoom-title {
	background-color: #000;
	padding: 5px;
	text-align: center;
	font-size: 11px;
	line-height: normal;
	font-weight: bold;
	color: #fff;
}

/* This is the loading message. */

.cloud-zoom-loading {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    font-size: 0;
    background: rgba(255,255,255,.5);
    opacity: 1 !important;
}
@keyframes spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.cloud-zoom-loading:after,
.cloud-zoom-loading:before {
    content: '';
    position: absolute;
    border: 2px solid #454545;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    outline: 1px solid transparent; /*firefox fix*/
}
.cloud-zoom-loading:after {
    animation: spinner 2.5s linear infinite;
}
.cloud-zoom-loading:before {
    width: 44px;
    height: 44px;
    animation: spinner 2.5s linear infinite;
    animation-direction: reverse;
}

/* with product ribbons enabled */

.gallery .ribbon-wrapper {
	/*never display as inline or inline-block*/
	vertical-align: middle;
	line-height: 0;
}
.gallery .ribbon-wrapper:hover .ribbon-position {
	opacity: 0;
}

}