/*
* Copyright 2016 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

.gallery {
    display: none;
}
.gallery.sevenspikes-cloudzoom-gallery {
    display: block;
}
.gallery .picture-wrapper {
    position: relative;
}
.sevenspikes-cloudzoom-gallery .picture {
    width: 100%;
}
.gallery .picture-wrapper > img { /* Transitional image (on thumbnail click) */
	top: 0;
    right: 0;
	left: 0;
    margin: auto;
}

/* Zoom Lens, Zoom Window, Zoom Caption */

.cloudzoom-lens {
	z-index: 1;
    opacity: 0.7;
    cursor: crosshair;
}
.cloudzoom-lens:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-color: #fff;	
}

.cloudzoom-zoom {
	top: 0 !important;
    left: calc(100% + 25px) !important;
	z-index: 9999; /*adjust per theme or leave it high*/
}
.cloudzoom-zoom-inside {
	top: 0 !important;
	right: 0;
    left: 0 !important;
	/*these coordinates center the zoomed image horizontally, the main image should be always centered too*/
	/*coordinates may be different than 0 if there is a border around the main picture*/
	z-index: 1;
	height: 100% !important;
	margin: auto;
    cursor: crosshair;
}
.cloudzoom-zoom-inside img + div { /*title-wrapper*/
	top: auto !important;
	bottom: 0 !important;
}
.cloudzoom-caption {
    display: none;
	background-color: #2c2c2c;
	padding: 15px 20px;
    color: #fff;
}

/* Loading Images */

.cloudzoom-blank {
	top: 0;
    right: 0;
	left: 0;
	/*these coordinates center the overlay horizontally, the main image should be always centered too*/
	/*coordinates may be different than 0 if there is a border around the main picture*/
    margin: auto;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAAA3NCSVQICAjb4U/gAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlP/AOW3MEoAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMzAvMTLNuPjnAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M1cbXjNgAAAAxJREFUCJlj+M+AAgE/0Af5DM23uwAAAABJRU5ErkJggg==');
}
.cloudzoom-ajax-loader {
    font-size: 0;
    position: absolute;
    left: 50% !important;
    top: 50% !important;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #f3cc2e;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
.cloudzoom-ajax-loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #f3cc2e;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
.cloudzoom-ajax-loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #f3cc2e;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


@media all and (min-width: 1201px) {

    .gallery.sevenspikes-cloudzoom-gallery {
        margin: 0 0 40px;
    }
    .sevenspikes-cloudzoom-gallery .picture-wrapper {
        width: 80%;
        float: right;
    }
    .sevenspikes-cloudzoom-gallery .picture-wrapper:only-child {
        width: 100%;
    }

}