/*
** Intended for all pages using main base pages
*/

@media screen
{

	html
	{
		font-family: verdana;
	}

	body
	{
        
		/*height: 100%;*/
		
	}

	/********** LAYOUT ELEMENTS *********/
	#dvrwrapper, #footer
	{
		margin-top: 0;
		margin-right: auto;
		margin-bottom: 0;
		margin-left: auto;
				
	}
	#dvrwrapper
	{
		height: 90%;
		position: relative;
		background-repeat: no-repeat;
		background-position: center top;
			

	}
	#footer
	{
		text-align: center;
	}

	/************ HEADER ***********/
	#header
	{
        
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        padding-top: 2px;
        padding-bottom: 0px;
        z-index: 2;
	
	}
	#header #logo
	{
		display: block;
		float: left;
		padding-left: 5px;
	}

	#header #current
	{
		display: block;
		color: InfoText;
		background-color: InfoBackground;
		padding: 2px 10px 2px 10px;
		border-left: solid 1px black;
		border-top: solid 1px black;
		border-bottom: solid 1px black;
		font-size: small;
		white-space: nowrap;
		text-align: right;
		float: right;
		
	}

	 #search
	{
  
      z-index: 50;
		clear: right;
		float: right;
		padding-right: 10px;
		padding-top: 10px;
		padding-bottom: 2px;
		vertical-align: top;
		white-space: nowrap;

		
	}

	/********** TOP DROP-DOWN NAVIGATION **********/
    #topnav {

            display:inline-block;
            background-repeat: repeat-x;
            padding-left:0px;

                             position:relative;
    }

        #topnav ul a {
            display: none;
        }

        /* first level */
        #topnav li {
            position: relative;
            float: left;
            display: inline;
        }

            #topnav li a {
                display: inline-block;
                font-size: small;
                letter-spacing: .10em;
                padding-top: 5px;
                padding-right: 18px;
                padding-bottom: 10px;
                padding-left: 18px;
                text-decoration: none;
                word-wrap: break-word;
            }

                #topnav li a:hover {
                    background-color: Highlight;
                    color: HighlightText;
                    /* background-image: url(../../images/global/bkgd_navbarHover.gif); */
                    background-repeat: repeat-x;
                }

            #topnav li.selected {
                background-color: Highlight;
                color: HighlightText;
                /* background-image: url(../../images/global/bkgd_subnavbarHover.gif); */
                background-repeat: repeat-x;
            }

            #topnav li.childSelected {
                background-color: Highlight;
                color: HighlightText;
                /* background-image: url(../../images/global/bkgd_subnavbarHover.gif); */
                background-repeat: repeat-x;
            }

            /* second level */
            #topnav li ul {
           
                display: none;
                position: absolute;
                top: 28px;
                z-index: 700;

            }

            #topnav li:hover ul, #topnav li.hover ul {
                display: block;
            }

            #topnav li li {
                width: auto;
                display: block;
                float: none;
            }

                #topnav li li a {
                    width: 100%;
                    padding: 2px 10px 10px;
                    font-size: 99%;
                    letter-spacing: 0px;
                    z-index: 900;
                    background-color: Menu;
                }

                    #topnav li li a:hover {
                        background-color: Highlight;
                        color: HighlightText;
                        background-image: none;
                    }

                /* third level */
                #topnav li li ul, #topnav li li li, #topnav li li li a {
                    display: none;
                }


    /********** SUB MENU NAVIGATION **********/
   /********** SUB MENU NAVIGATION **********/
   #subnav {
           display:inline-block;  
            background-color:gray;
            background-repeat: repeat-x;
            padding-left: 0px;

                    position:relative;
    }

        #subnav ul a {
            display: none;
        }

        /* first level */
        #subnav li {
            position: relative;
            float: left;
            display: inline;
         
        }

           #subnav li a {
             
                display: block;
                font-size: small;
                padding-top: 6px;
                padding-right: 21px;
                padding-bottom: 9px;
                padding-left: 21px;
                text-decoration: none;
                white-space: nowrap;
                 z-index: 100;
            }

                #subnav li a:hover, #subnav li.selected, #subnav li.childSelected {
                    background-color: Highlight;
                    color: HighlightText;
                    /* background-image: url(../../images/global/bkgd_subnavbarHover.gif); */
                    background-repeat: repeat-x;
                }


            /* second level */
          #subnav li ul {
                width: 200px;
                display: none;
                position: absolute;
                top: 28px;
                _top: 97px; /* IE 6 and below */
                z-index: 50;
            }

            #subnav li:hover ul, #subnav li.hover ul {
                display: block;
            }

            #subnav li li {
                width: auto;
                display: block;
                float: none;
            }

                #subnav li li a {
                    width: 100%;
                    padding: 2px 10px 10px;
                    font-size: 99%;
                    letter-spacing: 0px;
                    z-index:60;

                }

                    #subnav li li a:hover {
                        background-color: Highlight;
                        color: HighlightText;
                        background-image: none;
                    }

                /* third level */
                #subnav li li ul, #subnav li li li, #subnav li li li a {
                    display: none;
                }



	/************ MAIN ***********/
	#main
	{
		float: none;
		clear: both;
		width: 98.0%;
		height: 98.0%;
		overflow: auto;
		background: #fff none no-repeat right top;
		border-right-width: 1px;
		border-bottom-width: 1px;
		border-left-width: 1px;
		border-top-style: none;
		border-right-style: solid;
		border-bottom-style: solid;
		border-left-style: solid;
		margin-top: 0px;
		margin-right: auto;
		margin-bottom: 0px;
		margin-left: auto;
        padding-top:5px;
        z-index: 1;
	}

	/************ SIDEBAR ***********/
    #sidebarleft
    {
		display: table-cell;
		float: left;
		vertical-align: top;
		width: 60%;
		padding-top: 0px;
		

		
	
		
    }
	#sidebar
	{
        display: table-cell;
        table-layout:auto;
		/*float: right;*/
		vertical-align: top;
		width: 40%;
		padding-top: 20px; 
		padding-left:5px;
		
		
	}


	/************ CONTENT ***********/
	#content
	{
           display: block;
		float: left;
		clear: none;
		display: inline;
		width: 95.0%;
		height: auto;
		overflow: auto;
		font-size: small;
		padding-top: 9px;
		padding-bottom: 10px;
		padding-left: 10px;
		padding-right: 10px;
		margin-top: 0px;
		margin-bottom: 10px;
		margin-left: 8px;
		margin-right: 5px;
	}
	#dvrbreadcrumbs
	{
		/*font-size: smaller;*/
		float: left;
		padding-left: 15px;
		height: 20px;
		padding-top: 7px;
	}
	#dvrbreadcrumbs li
	{
		display: inline;
	}
	#dvrbreadcrumbs a
	{
		font-size: small;
		text-decoration: underline;
	}

	/************ FOOTER ***********/
/*
	#footer
	{
		float: none;
		clear: both;
		margin-top: 8px;
		margin-right: auto;
		margin-bottom: 8px;
		margin-left: auto;
	}
	#footer ul
	{
		padding-bottom: 5px;
	}
	#footer li
	{
		display: inline;
	}
	#footer p
	{
		padding-bottom: 5px;
		text-align: center;
	}
	#footer a
	{
		color: #000000;
		text-decoration: underline;
	}
*/

	div.printonly, .printonly
	{
		display: none;
	}

    ol.UpperAlpha {
        list-style-type:decimal;
      
    }





	/* CSS Document */
	/*
		#main
		{
			background-image: url(../../images/interior/bkgd_main.gif);
			background-repeat: repeat-y;
		}
	*/
	#interior #main h1
	{
		background-color: ButtonFace;
		color: ButtonText;
		font-size: larger;
		font-weight: bold;
		border: solid 1px black;
		text-align: center;
		padding: 2px;
		margin-top: 2px;
		margin-bottom: 10px;
	}
	#interior #content p
	{
		padding-bottom: 10px;
		padding-left: 35px;
		padding-right: 20px;
		font-size: small;
	}

	#interior /* ********* HOME SIDEBAR ********* */ #sidebar h2
	{
		font-size: medium;
		font-weight: bold;
		text-transform: uppercase;
		text-decoration: underline;
		padding-left: 3.5px;
	}
	#interior #sidebar
	{
		padding-top: 0px;
	}
	#interior #sidebar p
	{
		padding-bottom: 10px;
		padding-left: 35px;
		padding-right: 30px;
		font-size: smaller;
	}
	#main #undernav
	{
		/* background-image: url(../../images/interior/undernav.gif); */
		background-color: ButtonShadow;
		background-repeat: repeat-x;
		height: 6px;
		overflow: hidden;
		background-position: center;
	}

	/* Added for skipping to main content for added accessibility
		02/11/2009 by JPW */
	#skipnav, span.skip
	{
		position: absolute;
		left: -1999px;
	}
	#header #accessibility
	{
		float: left;
		padding-left: 10px;
	}

	.formLayout
	{
		background-color: InfoBackground;
		border: solid 1px #a1a1a1;
	}


	/* Partially from a Smoke and Glass sample */
	.GridView
	{
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.GridView_Header, .GridView_Footer, .DetailsView_Header
	{
		background-image: none;
		background-color: Menu;
		border-width: 1pt;
		border-style: solid;
		font-weight: bold;
		font-size: medium;
	}

	.GridView_AlternatingRow, .AlternatingRow
	{
		background-color: #e6e6e6;
	}

	.DataList_Footer
	{
		background-color: #CCCCCC;
	}
	
	.DataList
	{
	    border: solid 1px gray;
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
	}
/*
	.GridView_EditRow
	{
		background-image: url( images/blueandwhitef.gif);
		color: #585880;
		border-width: 1pt;
		border-style: solid;
	}


	.GridView_Row
	{
		color: #333333;
		background-color: #FFFFFF;
	}

	.GridView_Pager
	{
		color: Blue;
	}
*/
	.GridView_Pager td
	{
		padding: 4px;
	}

	.GridView_SelectedRow
	{
		background-color: #CDE6FF;
		color: #18467C;
		border-width: 1pt;
		border-style: solid;
		border-color: #585880;
	}

	.GridView_NestedRow
	{
		background-color: #CDE6FF;
		color: #18467C;
		border-style: none;
		padding: 4px;
	}

	.GridView_NestedSelectedRow
	{
		background-color: #CDE6FF;
		color: #18467C;
		border-width: 1pt;
		border-top-width: 0pt;
		border-style: solid;
		border-color: #585880;
	}
	
	.DetailsView
	{
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	.DetailsView td
	{
		width: 50%;
	}
		
	/* Self-supplied */

	textarea
	{
		width: 600px;
		font-family: verdana;
		font-size: small;
	}

	.ttbLabel
	{
		width: 450px;
		border: none;
		background-color: Transparent;
	}

	textarea.HalfWidth
	{
		width: 300px;
	}

    textarea.QuarterWidth {
        width: 150px !important;
    }

    textarea.InvoiceTextArea {
        width: 250px !important;
        ;
    }

	#NeedHelp, DIV.NeedHelp
	{
		float: right;
		font-size: small;
		text-align: right;
		margin-top: 0.5em;
		margin-right: 1em;
		font-weight: bolder;
	}

	.progress
	{
		cursor: progress;
		position:absolute; 
		background-color: #F5F7F8;
		opacity: .7;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=70)"; /* IE 8 */
		_filter: alpha(opacity=70);  /* IE 6 and below */
		text-align: center;
		float: none;
		clear: both;
		width: 100%;
		height: 100%;
		overflow: auto;
		margin-top: 0px;
		margin-right: auto;
		margin-bottom: 0px;
		margin-left: auto;
		z-index: 1000;
		vertical-align: middle;
	}
	.progress img
	{
		padding-top: 30%;
	}
	.progress p
	{
		padding-top: 10px;
		font-weight: bold;
		font-size: large;
	}
	
	Input.Button
	{
		text-align: center;
		font-family: Arial, Verdana, "MS Sans Serif" , sans-serif;
		padding-left: 10px;
		padding-right: 10px;
	}
	Input.Button:disabled
	{ 
		color: ThreeDShadow;
	} 

	.RowCount
	{
		float: right;
		font-size: medium;
		font-weight: bold;
		padding-top: 10px;
		padding-bottom: 6px;
		padding-left: 15px;
	}

	.NavigationOnly
	{
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;

	}

	.StatusMessage
	{
	    visibility: hidden;
	    display: none;
		/* DVR decided to not display ANY status messages
        width: auto;
		text-align: center;
		font-size: large;
		font-weight: bold;
		border-style: double;
		padding: 5px;
		margin: 5px;
		background-color: ButtonFace;
		color: ButtonText; */
	}

	.UnderConstruction
	{
		background-color: #F0F562;
		color: #000000;
		border: dashed 1px #000000;
		margin: 20px;
		font-weight: bold;
	}

	#SpellCheck
	{
		padding: 10px;
	}

	.SpellCheck
	{
		border-bottom: #010101; 
		border-left: #010101; 
		padding-bottom: 4px; 
		background-color: transparent; 
		padding-left: 5px; 
		padding-right: 5px; 
		color: #010101; 
		border-top: #010101; 
		border-right: #010101; 
		padding-top: 4px;
		vertical-align: middle;
	}
	.SpellCheck:hover
	{
		background-color: #ffffcc; 
	}
	.SpellCheck:disabled
	{ 
		color: ThreeDShadow;
		display: none;
	} 
	
	.LabelBoldItalic
	{
	    font-weight:bold;
	    font-style:italic;    
	}
        .colorRedBold
    {
        color: Red;
        font-weight: bold;
    }

}



@media all
{
	/*	#content h1
		{
			color: #18467C;
			font-size: larger;
			font-weight: bold;
			padding-top: 10px;
			padding-bottom: 10px;
			padding-left: 5px;
		}
	*/
	#content h2, legend
	{
		font-size: medium;
		font-weight: bold;
		padding-top: 10px;
		padding-bottom: 9px;
		padding-left: 10px;
	}
	#content h3
	{
		font-size: small;
		font-weight: bold;
		padding-top: 10px;
		padding-bottom: 8px;
		padding-left: 15px;
	}
	#content h4
	{
		font-size: smaller;
		font-weight: bold;
		padding-top: 6px;
		padding-bottom: 8px;
		padding-left: 20px;
	}
	/*#content ul
	{
		list-style: square;
		padding-left: 30px;
		padding-bottom: 10px;
	}
	#content li
	{
		list-style: disc;
		margin-bottom: 5px;
	}

	
		#interior #main h1
		{
			color: #18467C;
			padding-bottom: 10px;
			font-size: larger;
			font-weight: bold;
			padding-top: 10px;
			padding-left: 5px;
		}

	#interior #content p
	{
		color: #333;
		padding-bottom: 10px;
		padding-left: 5px;
		padding-right: 20px;
		font-size: small;
	}
	*/
	

	.formLayout
	{
		clear: both;
		padding: 10px;
		vertical-align: top;
	}

	.formCol
	{
		display: table-cell;
		float: left;
		vertical-align: top;
		width: 50%;
	}
	
	.formRow
	{
		clear: left;
		padding: 5px;
		vertical-align: top;
	}


	.formRow label
	{
		display: block;
		float: left;
		width: 20%;
		margin-right: 1em;
	}
	/* only used for 2 column row where text boxes should not wrap*/
	label.LabeWithOverride 
    { 	
		width: 40%;
    }

	.formRow span
	{
		display: inline-block;
	}
	

    /* only used for read mode of the truncating text boxes */
	.formRow2 
	{
		display: block;
		float: left;
		width: 60%;
		padding: 5px;
		border: 1pt solid #585880;
	}

    .formRowWide
    {
        clear: left;
        padding: 5px;
        vertical-align:top;
    }

    .formRowWide label
    {
        display: block;
        float:left;
        width: 50%;
        margin-right:1em;
    }
	
	.formRight
	{
		display: block;
		float: Right;
	}
	
	.AccessibleRequiredField
	{
		display: none;
		vertical-align: top;
	}
	
	.hiddenField
	{
		visibility: hidden;
        position:absolute; 
        left:-10000px; 
        top:auto; 
        width:1px; 
        height:1px; 
        overflow:hidden;
	}
	
	.Warning
	{
		font-family: Arial , sans-serif;
		background-color: #efefef;
		color: #4d540e;
		cursor: help;
		font-size: small;
		border: 2px solid #F0F562;
		margin: 5px 0px;
		padding: 15px; 
	}

	.ValidationSummary
	{
		font-family: Arial , sans-serif;
		color: red;
		cursor: help;
		font-size: small;
		border: 2px solid red;
		margin: 5px 0px;
		padding: 15px; /*background: #fff url(../../images/sad-pc.gif) no-repeat 5px 50%; */
	}
	/*
	.ValidationSummary ul {
	 margin: 0;
	 padding: 0;
	 margin-left: 80px;
	 list-style: square;
	}
	*/

	.Validator
	{
		color: Red;
		vertical-align: top;
		text-align: left;
		float: left;
		display: block;
		font-weight: bold;
		font-size: large;
		font-family: Times New Roman, Sans-Serif;
		padding-right: 2px;
	}

	.ValidatorWarning
	{
		color: #4d540e;
		vertical-align: top;
		text-align: left;
		float: left;
		display: block;
		font-weight: bold;
		font-size: large;
		font-family: Times New Roman, Sans-Serif;
		background-color: #efefef;
		cursor: help;
		border: 2px solid #F0F562;
		padding: 5px;
	}

	.RadioButtonList td, .CheckBoxList td
	{
		padding-right: 15px;
		white-space:nowrap;
	}

	.RadioButtonList label, .CheckBoxList label
	{
		display: inline;
		float: none;
	}

    

    .CheckBoxListWrap50Per {
        width: 100%;
    }

        .CheckBoxListWrap50Per tr td {
            vertical-align: top;
            width: 50%;
            padding: 1px;
        }

        .CheckBoxListWrap50Per input {
            float: left;
        }

        .CheckBoxListWrap50Per label {
            display: inherit;
            vertical-align: top;
            width: 90%;
            float: left;
            margin-left: 10px;
            top: -20px;
        }

        .CheckBoxListWrap50Per span {
            display: inherit;
            vertical-align: top;
            width: 90%;
            float: left;
            margin-left: 10px;
            top: -20px;
        }

	.ReadOnly
	{
		border: none;
		background-color: Transparent;
	}

	.InfoNote
	{
		font-size: x-small;
	}
		
	.alertlist
	{
		margin-left: 40px;
	}
	
	.borderOnly
	{
		border: solid 1px #a1a1a1;
		padding: 5px 5px 5px 5px;
	}

    .colorRed
    {
        color: Red;   
    }

    .colorBlue
    {
        color: Blue;
    }
    
    .colorRedBoldItalics
    {
        color: Red;
        font-weight: bold;
        font-style: italic;
    }

    .colorBlueBold
    {
        color: Blue;
        font-weight: bold;
    }


	/* From WebAIM for accessibility links */
/*
	a:link
	{
		color: #20399d;
	}
	a:visited
	{
		color: #663366;
	}
*/

    a.NavigationOnlyInvoice:not([disabled]) {
        color: blue !important;
        text-decoration: underline !important;
    }

	a:active, a:focus, a:hover
	{
		background-color: #ffffcc;
		color: #bf1722;
		text-decoration: underline;
	}

	a:active, a:focus, a:hover
	{
		background-color: #ffffcc;
		color: #bf1722;
		text-decoration: underline;
	}

	a.external:link
	{
		background-color: transparent;
		background-image: url("../../images/global/externallink.gif");
		background-repeat: no-repeat;
		background-attachment: scroll;
		background-position: 100% 0pt;
		padding-right: 20px;
	}

	a.external:visited
	{
		background-color: transparent;
		background-image: url("../../images/global/externallink.gif");
		background-repeat: no-repeat;
		background-attachment: scroll;
		background-position: 100% -100px;
		padding-right: 20px;
	}

	a.external:hover, a.external:focus
	{
		color: #bf1722;
		background-color: #ffffcc;
		background-image: url("../../images/global/externallink.gif");
		background-repeat: no-repeat;
		background-attachment: scroll;
		background-position: 100% -200px;
		padding-right: 20px;
	}
	
	hr.FullWidthHR
	{
	    width: 100%;
	}
}
