﻿#globalModalDim
{
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;

	height: 100%;
	width: 100%;

	padding: 0px;
	margin: 0px;

	text-align: center;	

	background: rgba(0,0,0,.7);

	overflow:hidden;

	z-index:1000;
}
	#globalModalDim.on
	{
		display: block;
		
	}

	#globalModalDim:before
	{
		display: inline-block;
		content: '';
		height: 100%;
		vertical-align: middle;
		margin-right: -.35em; /* if your content disappears below the visible screen, then this negative margin needs to be greater. */
	}


	/* for why/how this vertical centering trick works, see: http://css-tricks.com/centering-in-the-unknown/*/

	#globalModalDim .contentContainer
	{
		background-color: #fff;
		box-sizing: border-box;
		-moz-box-sizing: border-box;

		max-width: 95%;
		vertical-align: middle;

		padding: 10px;
	}

	#globalModalDim .contentContainer.on
	{
		

		display: inline-block;
		
	}

	#globalModalDim .close
	{
		cursor: pointer;
	}


	#globalModalDim .content
	{
		display: inline-block;
		text-align: left;
		max-height: 100%;
		max-width: 100%;
	}
	
#printmsg_loading
{
	display:none;
}


#printmsg_loading.on
{
	display:block;
	width: 100px;
	margin: 0px auto;
}

/* default styles for Loading Modal */
#globalModalDim.loadingModalBkg {
    background-color: #808080;
}

#globalModalDim .contentContainer .loadingModalContent {
    background-image: url('/resources/images/large-silver-loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
    height: 80px;
    width: 80px;
    position: fixed;
    top: 50%;
    left: 50%;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
