#Razorboxes {
	overflow: hidden;
	pointer-events: none;
}

#Razorboxes .NoTransition {
	-o-transition: none !important;
	-ms-transition: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	transition: none !important;
}

#Razorboxes div.RazorboxWrapper {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

/*
#Razorboxes div.RazorboxClose {
	font-family: Arial, Helvetica, sans-serif;
	position: fixed;
	z-index: 10;
	top: 25px;
	right: 25px;
	width: 40px;
	height: 40px;
	text-align: center;
	background: #FFF;
	font-size: 34px;
	padding: 0;
	line-height: 40px;
	margin: 0;
	cursor: pointer;
	opacity: 0.4;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
}

#Razorboxes div.RazorboxClose:hover {
	opacity: 1;
}
 */

#Razorboxes div.RazorboxOverlayer {
	position: fixed;
	margin: 0;
	padding: 0;
	border-top: 1px rgba(255,255,255,0.3) solid;
	background: rgba(0,0,0,0.85);
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: all .30s ease-in-out;
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */
}


#Razorboxes div.RazorboxOverlayer div.RazorboxOverlayerClose {
	position: fixed;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: default;
}


#Razorboxes div.RazorboxOverlayer.Transparent {
	position: fixed;
	margin: 0;
	padding: 0;
	border-top: 1px rgba(255,255,255,0.3) solid;
	background: none !important;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: all .30s ease-in-out;
}

#Razorboxes div.RazorboxOverlayer.RazorboxClose {
	cursor: default;
}

#Razorboxes div.RazorboxOverlayerTitle {
	transition: all .65s ease-in-out;
	opacity: 0;
}

#Razorboxes div.RazorboxOverlayerTitle h2 {
	color: #FFF;
	margin: -50px 0 15px;
	font-size: 22px;
}

#Razorboxes div.RazorboxContentWrapper {
	display: block !important;
	margin: 0 auto;
	position: fixed !important;
	max-width: 100% !important;
	z-index: 15 !important;
}

#Razorboxes div.RazorboxContentWrapper.PageMode {
	background: #fff;
	top: 50px !important;
	height: calc(100% - 118px) !important;
	transition: 0.5s ease-in-out all !important;
}


#Razorboxes div.RazorboxContentWrapper.AppMode {
	bottom: 0 !important;
	height: 100% !important;
	width: 100% !important;
}

#Razorboxes div.RazorboxContentWrapper.AppMode div.RazorboxOverlayerTitle {
	display: none;
}

#Razorboxes div.RazorboxContentContainer {
	height: 100%;
}

#Razorboxes div.RazorboxContentContainer.Transparent  {
	background: none !important;
}


#Razorboxes div.RazorboxContent {
	width: 100%;
	height: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	/*font-size: 16px;*/
	position: relative;
	background: transparent;
	box-sizing: border-box;
	overflow: auto;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	animation-duration: 0.65s !important;
	/*
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	*/
}

#Razorboxes div.RazorboxContent.Transparent {
	background: transparent !important
}



/* Set styling of methods using the specific content wrappers (or add your own)*/

/* Notification */

#Razorboxes div.RazorboxContent.Notification {
	padding: 20px;
	border: rgba(255,255,255,0.5) 1px solid !important;
	background: #FFF;
}

/* Dialog */

#Razorboxes div.RazorboxContent.Dialog {
	padding: 20px;
	border: rgba(255,255,255,0.5) 1px solid !important;
	background: #FFF;
}

#Razorboxes div.RazorboxContent div.RazorOption {
	margin: 20px 0 0 0;
	padding: 20px;
	border: rgba(255,255,255,0.5) 1px solid !important;
	background: #FFF;
}

/* Inline content */

#Razorboxes div.RazorboxContent.Inline {
	padding: 20px;
	border: rgba(255,255,255,0.5) 1px solid;
	background: #FFF;
}

/* Frame */

#Razorboxes div.RazorboxContent.Frame {
	height: 100%;
	position: absolute;
	padding: 0 !important;
	overflow-y: visible;
	background: url(images/loading.gif) no-repeat center center #FFF;
}

/* Ajax */

#Razorboxes div.RazorboxContent.Ajax {
	padding: 0 !important;
	overflow: auto;
	background: url(images/loading.gif) no-repeat center center #FFF;
}


#Razorboxes iframe {
	width: 100%;
	height: 100%;
	display: block;
}


/* Body styling */

.RazorboxOverflowHidden {
	overflow: hidden !important;
}


@media only screen and (max-width: 600px) {


	#Razorboxes div.RazorboxContent {
		top: 20% !important;
		height: 80% !important;
		background: #FFF !important;
	}

	#Razorboxes div.RazorboxContent.Frame {
		position: absolute;
		width: 100% !important;
		height: 100% !important;
		max-width: 100%;
		max-height: 100%;
		bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	#Razorboxes div.RazorboxContentWrapper.AppMode div.RazorboxContent.Frame {
		min-height: 75%;
	}


	#Razorboxes div.RazorboxOverlayerTitle {
		margin-left: 20px; !important;
		margin-right: 20px; !important;
	}

	/* Transitions */

	#Razorboxes div.RazorboxOverlayer {
		transition: all .25s ease-in-out;
	}

	#Razorboxes div.RazorboxOverlayerTitle {
		transition: all .25s ease-in-out;
	}

	#Razorboxes div.RazorboxContent {
		animation-duration: 0.25s !important;
	}


}