﻿body
{
	text-align: center;
	vertical-align: middle;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	width: 100%;
	height: 100%;
	font-family: Verdana Tahoma Arial;
	background-color: #CCFFFF;
}

#main
{
	width: 100%;
	height: 100%;
	padding-top: 50px;
}

#LoginBK
{
	display: inline-block;
	background-image: url('images/loginbackground.png');
	text-align: center;
	width: 501px;
	height: 501px;
}

#MasterDiv
{
	display: inline-block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
}

.MasterTable
{
	display: inline-table;
	/*width: 70%;
	height: 70%;*/
	font-family: Verdana Tahoma Arial;
}

/* TOP ROW */
.TL
{
	display: table-cell;
	background-image: url('Images/TL.png');
	background-repeat: no-repeat;
	background-position:left top;
	width: 12px;
	min-width: 12px;
	max-width: 12px;
	height: 64px;
	min-height: 64px;
	max-height: 64px;
}

.TM
{
	display: table-cell;
	background-image: url('Images/TM.png');
	background-repeat: repeat-x;
	background-position:left top;
	min-width: 500px;
	width: 800px;
	height: 64px;
	min-height: 64px;
	max-height: 64px;
	vertical-align: bottom;
}

.TR
{
	display: table-cell;
	background-image: url('Images/TR.png');
	background-repeat: no-repeat;
	background-position:left top;
	width: 13px;
	min-width: 13px;
	max-width: 13px;
	height: 64px;
	min-height: 64px;
	max-height: 64px;
}

/* MIDDLE ROW*/
.MenuL
{
	display: table-cell;
	background-image: url('Images/MenuL.png');
	background-repeat: no-repeat;
	background-position:left top;
	width: 12px;
	min-width: 12px;
	max-width: 12px;
	height: 28px;
	min-height: 28px;
	max-height: 28px;
}

.MenuM
{
	display: table-cell;
	background-image: url('Images/MenuM.png');
	background-repeat: repeat-x;
	background-position:left top;
	width: 800px;
	min-width: 500px;
	height: 28px;
	min-height: 28px;
	max-height: 28px;
	text-align: left;
	padding: 0px; 
	margin: 0px; 
	vertical-align: top;
}

.MenuR
{
	display: table-cell;
	background-image: url('Images/MenuR.png');
	background-repeat: no-repeat;
	background-position:left top;
	width: 13px;
	min-width: 13px;
	max-width: 13px;
	height: 28px;
	min-height: 28px;
	max-height: 28px;
}

/* MIDDLE ROW*/
.ML
{
	display: table-cell;
	background-image: url('Images/ML.png');
	background-repeat: repeat-y;
	background-position:left top;
	width: 12px;
	min-width: 12px;
	max-width: 12px;
	height: 600px;
	min-height: 600px;
}

.MM
{
	display: table-cell;
	background-image: url('Images/MM.png');
	background-repeat: repeat;
	background-position:left top;
	/*background-color: #EDEFFA;*/
	width: 800px;
	min-width: 500px;
	height: 600px;
	min-height: 600px;
	text-align: left;
}

.ContentDIV
{
 display: inline-block;
 text-align: left;
 vertical-align: top;
 padding: 5px 5px 5px 5px;
}

.MR
{
	display: table-cell;
	background-image: url('Images/MR.png');
	background-repeat: repeat-y;
	background-position:left top;
	width: 13px;
	min-width: 13px;
	max-width: 13px;
	height: 600px;
	min-height: 600px;
}

/* BOTTOM ROW */

.BL
{
	display: table-cell;
	background-image: url('Images/BL.png');
	background-repeat: no-repeat;
	background-position:left top;
	width: 12px;
	min-width: 12px;
	max-width: 12px;
	height: 33px;
	min-height: 33px;
	max-height: 33px;
}

.BM
{
	display: table-cell;
	text-align: center;
	background-image: url('Images/BM.png');
	background-repeat: repeat-x;
	background-position:left top;
	width: 800px;
	min-width: 500px;
	height: 33px;
	min-height: 33px;
	max-height: 33px;
}

.BR
{
	display: table-cell;
	background-image: url('Images/BR.png');
	background-repeat: no-repeat;
	background-position:left top;
	width: 13px;
	min-width: 13px;
	max-width: 13px;
	height: 33px;
	min-height: 33px;
	max-height: 33px;
}

.GridStyle
{
	background-color: Red;
}
