/*!
 * Cube Portfolio - Responsive jQuery Grid Plugin
 *
 * version: 3.5.2 (11 February, 2016)
 * require: jQuery v1.7+
 *
 * Copyright 2013-2016, Mihai Buricea (http://scriptpie.com/cubeportfolio/live-preview/)
 * Licensed under CodeCanyon License (http://codecanyon.net/licenses)
 *
 */
 
 /* CSS Override for Cube Portfolio Plugin */
 
.cbp-popup-singlePage .cbp-popup-content {
	position: absolute;
	top: 10;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	zIndex: 101;
	margin-top:30px;
	overflow:hidden;
}

@media only screen and (max-width: 360px), (max-height: 600px) {
	.cbp-popup-next,
	.cbp-popup-prev,
	.cbp-popup-close {
	-ms-transform: scale(0.8);
	-webkit-transform: scale(0.8);
	transform: scale(0.8); }
	.cbp-popup-lightbox .cbp-popup-close {
	right: 10px;
	top: 10px; }
	.cbp-popup-lightbox .cbp-popup-next {
	right: 10px; }
	.cbp-popup-lightbox .cbp-popup-prev {
	left: 10px; }
	.cbp-popup-singlePage .cbp-popup-navigation-wrap {
	height: 0px; }
	.cbp-popup-singlePage .cbp-popup-content {
	margin-top: 0px; }
}

/* NAVIGATION BUTTONS */

.cbp-popup-singlePage .cbp-popup-navigation-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9990;
	height: 0px;
	background-color: #545454; /*mod*/
}

.cbp-popup-singlePage .cbp-popup-content-basic {
	position: relative;
	z-index: 1;
	margin-top: 0px;
	vertical-align: top;
	width: 100%;
	display: inline-block;
	text-align: left;
}

.cbp-popup-singlePage .cbp-popup-content {
	position: relative;
	z-index: 1;
	margin-top: 0px;
	max-width: 100%;
	vertical-align: top;
	width: 100%;
}

.cbp-popup-singlePage .cbp-popup-close {
	background: inherit;
	height: inherit;
	width: inherit;
	margin: inherit;
	top: inherit;
	right: inherit;
	bottom: inherit;
	left: inherit;
}

#CloseNodeButton {
	position: fixed;
	top: 0;
	right: 0;
	transition: 0.5s;
	cursor:pointer;
	z-index: 1001;
}