
div.view-container
{
	opacity: 0;
}

div.preview-container
{
	padding-top: 30px;
	padding-left: 10px;
	padding-bottom: 10px;
	
	position: relative;
}

div.preview-mask
{
	width: 880px;
	margin: auto;
	
	position: relative;
	overflow: hidden;
}

div.preview-image-container
{
	width: 150px;
	height: 150px;
	background: transparent url("loading.gif") no-repeat center center;
	overflow: hidden;
	
	position: absolute;
}

img.preview-image
{
	width: 150px;
	margin-right: 10px;
}

div.selectedBlock
{
	opacity: 0;
	border: solid 5px #FFFF00;
	
	position: absolute;
}

a.nextButton, a.prevButton
{
	display: block;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 0px;
	left: 0px;
}

div.nextMask, div.prevMask
{
	width: 50px;
	height: auto;
	background-color: #000000;
	position: absolute;
	top: 0px;
	left: 0px;
}

div.nextMask
{
	background: #000000 url("next_btn.png") no-repeat center center;
}

div.prevMask
{
	background: #000000 url("prev_btn.png") no-repeat center center;
}


body { background-color: #FFAA22; }
		
		div#menu-component
		{
			width: 1000px;
			margin: auto;
			background-color: #FFFFFF;
			border: solid 1px #7694be;
		}
		
		div#previewer
		{
			overflow: hidden;
			background: transparent url("header2.jpg") repeat-x left top;
			position: relative;
		}
		
		div#viewer
		{
			height: 200px;
			background: transparent url("loading.gif") no-repeat center 50px;
			text-align: center;
			padding-bottom: 20px;
			position: relative;
		}
		
		img{
			border:none;
		}

.popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
	overflow: auto;
        -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
}

#menu-component {

            overflow: auto;
            /* Allow native zoom/pan */
            touch-action: auto;
}

.close-btn {
            position: absolute;
            top: 15px;
            width: 32px;
            height: 32px;
            border-radius: 50%; /* Makes it circular */
            background-color: black;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease;
            z-index: 10;
}

.close-btn:hover {
            background-color: darkslategrey;
}

.close-btn:active {
            transform: scale(0.95);
}

/* Left close button */
.close-btn.left {
            left: 15px;
}

