﻿.modalBackground
{
	filter: Alpha(Opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	width: 100%;
	height: 100%;
	background-color: #0053a0;
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;	
	z-index: 150;
}

.modalBody
{
	padding: 10px;
}

.modalContainer
{
	position: absolute;
	z-index: 200;
	display: none;
	background-color: #e3e3e3;
	padding: 0px;
	border: solid 1px #698d47;
	display: none;
}

.modalHeader
{
	background-image: url('../images/modalHeader.gif');
	background-repeat: repeat-x;
	height: 44px;
	width: 100%;
}

.modalTitle
{
	color: #fff;
	font-weight: bold;
	font-size: 14px;
}

.loadingContainer
{
	position: absolute;
	z-index: 100;
	display: none;
	background-color: white;
	padding: 0px;
	border: 1px solid #073462;
	/*border: solid 2px #ef8431;*/
	display: none;
}

.modalLoading
{
	filter: Alpha(Opacity=10);
	-moz-opacity: 0.1;
	opacity: 0.1;
	width: 100%;
	height: 100%;
	background-color: #000000;
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
	/*Added this so you can use the VS designer*/
	z-index:-10;
}



/****************************************************************/
/*                         Custom Modal                         */
/****************************************************************/

.ModalOverlay
{
   
  /* filter: alpha(opacity=30);
   
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30, FinishOpacity=30, Style=2)";
    filter : progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
    opacity: 0.3;
    -moz-opacity: .3;*/
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #0858A3;
    width: 100%;
    height: 100%;
    display: none;
}

#ModalTop, #ModalHeader, #ModalContent, #ModalBottom
{
    margin: 0px;
    padding: 0px; /*min-width: 450px;  	width: auto !important; 	width: 450px;  */
}

#ModalTop
{
    height: 15px;
}

#ModalTop div.TopLeft
{
    height: 15px;
    background-image: url('../Images/Modal/ModalTopLeft.png');
    background-repeat: no-repeat;
    background-position: top left;
    cursor: move;
}

#ModalTop div.TopRepeat
{
    margin: 0px 30px 0px 20px;
    height: 15px;
    background-image: url('../Images/Modal/ModalTopRepeat.png');
    background-repeat: repeat-x;
    background-position: top;
    cursor: move;
}

#ModalTop div.TopRight
{
    height: 15px;
    background-image: url('../Images/Modal/ModalTopRight.png');
    background-repeat: no-repeat;
    background-position: top right;
    cursor: move;
}

#ModalHeader
{
    height: 40px;
}

#ModalHeader div.HeaderLeft
{
    height: 40px;
    background-image: url('../Images/Modal/ModalHeaderLeft.png');
    background-repeat: no-repeat;
    background-position: top left;
}

#ModalHeader div.HeaderRepeat
{
    margin: 0px 30px 0px 20px;
    height: 40px;
    background-image: url('../Images/Modal/ModalHeaderRepeat.png');
    background-position: top;
    background-repeat: repeat-x;
}

#ModalHeader div.HeaderRepeat span
{
    display: block;
    color: #ffffff;
    font: normal bold 16px Verdana, Arial, Sans-Serif;
    padding-top: 5px;
}

#ModalHeader div.HeaderRight
{
    height: 40px;
    background-image: url('../Images/Modal/ModalHeaderRight.png');
    background-repeat: no-repeat;
    background-position: top right;
}

#ModalContent
{
}

#ModalContent div.ContentLeft
{
    background-position: left;
    background-image: url('../Images/Modal/ModalLeftRepeat.png');
    background-repeat: repeat-y;
}

#ModalContent div.ContentRepeat
{
    margin: 0px 30px 0px 20px;
    background-color: #ffffff;
}

#ModalContent div.ContentRight
{
    background-image: url('../Images/Modal/ModalRightRepeat.png');
    background-position: right;
    background-repeat: repeat-y;
}

#ModalBottom
{
    height: 20px;
}

#ModalBottom div.BottomLeft
{
    height: 20px;
    background-image: url('../Images/Modal/ModalBotLeft.png');
    background-repeat: no-repeat;
    background-position: left bottom;
}

#ModalBottom div.BottomRepeat
{
    margin: 0px 30px 0px 20px;
    height: 20px;
    background-image: url('../Images/Modal/ModalBotRepeat.png');
    background-repeat: repeat-x;
    background-position: bottom;
}

#ModalBottom div.BottomRight
{
    background-position: bottom right;
    height: 20px;
    background-image: url('../Images/Modal/ModalBotRight.png');
    background-repeat: no-repeat;
}







div.ModalCloseBut
{
    position: relative;
}
a.ModalCloseBut
{
    position: absolute;
    display: block;
    top: -13px;
    right: -5px;
    width: 42px;
    height: 38px;
    text-indent: -9999em;
    background: url(../Images/Modal/CloseModal.png) no-repeat;
    outline: 0;
    cursor: pointer;
}








table.ModalFields
{
    clear: both;
    width: 100%;
    margin-top: 10px;
}
table.ModalFields tr td
{
    padding-top: 10px;
}

table.ModalFields td
{
    width: 50%;
    font: normal normal 11px Verdana, Arial, Sans-Serif;
    color: #666666;
}

table.ModalFields td span
{
    display: block;
    font: normal bold 11px Verdana, Arial, Sans-Serif;
    color: #666666;
    padding-bottom: 5px;
}

table.ModalFields td label
{
    font: normal normal 11px Verdana, Arial, Sans-Serif;
    color: #666666;
}

table.ModalFields td input[type="text"], table.Fields td select, table.Fields td textarea
{
    font: normal normal 11px Verdana, Arial, Sans-Serif;
    color: #666666;
    width: 200px;
}

table.ModalFields td .DateInput
{
    font: normal normal 11px Verdana, Arial, Sans-Serif;
    color: #666666;
    width: 200px;
}
/****************************************************************/