/*

	Title: global overlay
	Author: p.vdovcev
	Date: 02.2013

-----------------------------------------------------------------------------------------------
===============================================================================================*/


	.html-g-pbox {
		}
		.html-g-pbox body {
			/*margin-right: 15px;*/
			overflow: hidden;
			}
		.html-g-pbox .p-layout {
			overflow-y: scroll;
			}

	*+ html.html-g-pbox {
		overflow: hidden;
		}
		*+ html.html-g-pbox body {
			height: auto;
			zoom: 100%;
			overflow-y: visible;
			}

			.html-g-pbox .g-pbox-wrapper {
				overflow-x: auto;
				overflow-y: scroll;
				}


	.g-pbox-wrapper {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2040;
		overflow: hidden;
		text-align: center;
		background-color: #262626;
		background-color: rgba(0, 0, 0, 0.85);
		-moz-user-select: -moz-none;
		-khtml-user-select: none;
		-webkit-user-select: none;
		user-select: none;
		}
		*+ html .g-pbox-wrapper {
			background-color: #262626;
			height: 100%;
			}
		.g-pbox-wrapper_white {
			background-color: #eee;
			background-color: rgba(0, 0, 0, 0.4);
		}
			.g-pbox-wrapper_white .g-pbox__inner {
				-webkit-box-shadow: none;
				-moz-box-shadow: none;
				box-shadow: none;
				background: transparent;
			}

		.g-pbox-position {
			display: inline;
			float: left;
			position: relative;
			height: 100%;
			min-width: 100%;
			}
		*+ html .g-pbox-position {
			min-width: 0%;
			}
			.g-pbox-position-inner {
				display: block;
				position: relative;
				padding: 0 55px 0 80px;
				min-height: 100%;
				}
				.g-pbox__biglister {
					position: absolute;
					left: 0;
					height: 100%;
					width: 30%;
					top:0;
					cursor: pointer;
					}
				.g-pbox__biglister_prev {
					}
				.g-pbox__biglister_next {
					width: 70%;
					left: 30%;
					}

				.g-pbox-container {
					vertical-align: middle;
					height: 100%;
					margin: 0 auto;
					width: 100%;
					}
					.g-pbox-container td {
						vertical-align: middle;
						text-align: center;
						}
						.g-pbox-container__inner {
							width: 100%;
							margin: 0 auto;
						}
						.g-pbox-container__inner__display_area {
							text-align: center;
						}
						.g-pbox-container td.g-pbox-container__inner__spring_area {
							padding-top: 10px;
							vertical-align: top;
							width: 23%;
							padding-left:1%;
							min-width: 260px;
						}
							.g-pbox-container td.g-pbox-container__inner__spring_area_tobottom {
								vertical-align: bottom;
								padding-bottom: 26px;
							}
						.g-pbox-container__inner__spring_area__inner {
							position: relative;
							z-index: 1060;
							float: left;
							/*box-shadow: 0px 0px 25px 0px #000;
							background: #000;*/
							padding: 1px;
						}
		
						.g-pbox_loader {
							height: 72px;
							/*width: 70px;*/
							top: 50%;
							left: 50%;
							margin-top: -35px;
							margin-left: -35px;
							min-width: 72px;
							position: fixed;
							border-radius: 50%;
							background: #262626 no-repeat none center center;
							}
	
						.g-pbox {
							z-index: 1050;
							position: relative;
							margin: 0;
							top: 0;
							left: 0;
							display: inline-block;
							text-align: left;
							padding: 10px 0 30px;
							}
							*+html .g-pbox{
								display: inline;
								zoom:1;
							}


	@media print {
		.g-pbox-position {
			display: none !important;
			visibility: hidden !important;
		}
	}
