﻿/*
Title:      Madgex master styles inc. Yahoo reset
Author:     James Wragg
Copyright:  2008, Madgex Ltd.
*/

		/*
			Copyright (c) 2008, Yahoo! Inc. All rights reserved.
			Code licensed under the BSD License:
			http://developer.yahoo.net/yui/license.txt
			version: 2.5.1
		*/
		html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}


		body {
			background-color: #fff;
			font: 12px/1.4 Helvetica, Arial, sans-serif;
			color:#333333;
			position: relative; /* fix for ie6 to enable the body text to be selectable */
		}
		
	
	
		h1 {
			font: 34px/0.9 Helvetica, Arial, sans-serif;
			margin: 0em;
			padding: 0em;
		}
		h2 {
			font: 24px/1.05 Helvetica, Arial, sans-serif;
			margin: 1.8em 0 1em;
		}
			
		p { 
		    margin: 0.4em 0 1.4em 0; 
		}
		strong { 
		    font-weight: bold 
		}
		
		a,a:visited,a:active {
			text-decoration: none;
			color: #1E3481;
			font-weight: bold;
		}
		#main-content a:hover {
			text-decoration: underline;
		}

  
		
		
		/* layout */
		#content,
		#footer{
			width: 960px;
			margin: 0 auto;
			position: relative;
		}
		
		
		#header {
			height: 100px;
            width: 960px;
			margin: 0 auto;
			position: relative;
		}
			#tab {
			    background: url(../images/tab.gif) no-repeat;
			    height: 78px;
                width: 466px;
                display: block;
		    }
			#tab span {
			    display: none;
			}
			
		#content {
			padding-top: 85px;
			margin-bottom: 3em;
			line-height: 18px;
			}
			#main-content {
				position: relative;
				float: left;
				width: 630px;
				padding:0 60px 20px 0;
				border-right: 1px dotted #d2d2d2;
				height: auto !important;
				height: 40em;
				min-height: 40em;
			}
			#secondary-content {
				padding-left: 730px;
			}
			#secondary-content ul {
				margin: 0.3em 0;
			}
			#nav {
				font: 16px/1.5 Arial;
				font-weight: bold;
				overflow: hidden;
				zoom: 1;
				margin-left: 0;
				}
				#nav li {
					float: left;
					clear: both;
					margin: 0.2em 0;
					}
					#nav li ul {
						margin: 0 0 0 2em;
					}
				#nav a {
					font-weight: normal;
					display: block;
					float: left;
					color: #000;
					}
					#nav a.active, #nav a:hover {
						font-weight: bold;
					}
		
		#footer {
			clear: both;
			margin: 0 auto;
			padding-top: 5em;
			padding-bottom: 5em;
			}
			#footer img {
				margin: 0 1.5em 0 0;
			}
			#footer p {
				margin: 1em 0;
			}
		
		

		ul {
			margin: 1.5em 0 1.5em 3em;
			}
			ul li {
				margin: 0.5em 0;
			}
		ul.dinks {
			margin: 2em 0 2.5em 3em;
			}
			ul.dinks li {
				list-style-image: url(/images/dink-small.gif);
				}
				ul.dinks h3 {
					margin: 1.5em 0 0;
				}
				ul.dinks h3 + p {
					margin: 0 0 ;
				}
				ul.dinks a {
					color: #1e3481 !important;
					font-weight: bold;
				}
		

			
			
				


			
			
		
		
		
		
	

			
			
        /*
		
		body.home h1 
		{
		    background-image: url(../images/txt-restful.gif);
		    background-repeat:no-repeat;
		    width: 503px;
		    height: 29px;
		    margin-bottom: 1em;      
		}
		
		body.logon h1 
		{
		    background-image: url(../images/txt-logon.gif);
		    background-repeat:no-repeat;
		    width: 164px;
		    height: 40px;
		         
		}
		
		body.logoff h1 
		{
		    background-image: url(../images/txt-logoff.gif);
		    background-repeat:no-repeat;
		    width: 430px;
		    height: 77px;        
		}
		
		body.profile h1 
		{
		    background-image: url(../images/txt-person.gif);
		    background-repeat:no-repeat;
		    width: 323px;
		    height: 77px;        
		}
		
		body.people h1 
		{
		    background-image: url(../images/txt-people.gif);
		    background-repeat:no-repeat;
		    width: 129px;
		    height: 40px;   
		}
		
		body.authorization h1
		{
			background-image: url(../images/txt-authorize.gif);
		    background-repeat:no-repeat;
		    width: 531px;
		    height: 74px;   
		}

		body.signup h1
		{
			background-image: url(../images/txt-signup.gif);
		    background-repeat:no-repeat;
		    width: 120px;
		    height: 35px;   
		}
		
		body.home h1 span, body.logon h1 span, body.logoff h1 span, body.profile h1 span
		{
		    display: none;
		}
		
		body.people h1 span, body.authorization h1 span, body.signup h1 span
		{
		    display: none;
		}

		*/
	
		label
		{
		    display: block;
		    width: 10em;  
		    float: left; 
		}
		
	    input.small
		{
		    width: 10em;  
		}
		
		input.medium
		{
		    width: 20em;  
		}
		
	    input.large
		{
		    width: 35em;  
		}
		
		
		
		
		
form p
{
	clear: both;
	margin: 0em 0em 0.5em 0em;
}
form
{
	margin-top: 2em;
}
form label
{
	float: left;
	width: 12em;
	text-align: right;
	margin-right: 0.5em;
	font-weight: normal;	
}
form .fields
{
	width: 10em;
}
form textarea
{
	width: 26em;
}


form .formrow
{
    margin: 0 0 0.4em 0;
    width: 40em;
}

form .button
{
	float: left;
	width: 12em;
	text-align: right;
	margin-right: 0.5em;	
}

.formgroup
{
    border: 1px solid #eee;
    background-color: #fcfcfc;
    font-weight: bold;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 50em;
}

.errorbox
{
    border: 2px solid #c21818;
    background-color: #faf1f1;
    font-weight: bold;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 50em;
}

.formgroupnote
{
    font-weight: normal;
}

.submitbutton
{
   margin-left: 13em; 
}

.actionform
{
    display: inline;
}

.mandatory
{
    color: #f00;
    font-weight: bold;
    margin-left: 0.2em;
    font-size: 1.6em;
}

.adr
{
    margin-top: 1em;
    float: left;
    width: 20em;
}

.adr .type
{
    font-weight: bold;
}
.profileactions
{
    margin-top: 2em;
    clear: both;
}

.accesstable
{
    margin-top: 1em;
    margin-bottom: 1em;
    border-top: solid 1px #ccc;
    background-color: #fefefe;
}

.accesstable td
{
    padding: 0.4em;
    border-bottom: solid 1px #ccc;
}

.apptable
{
   margin-top: 2em;
    background-color: #fafafa;
}

.apptable td
{
    padding: 0.3em 0.2em 0.3em 0.2em;
    border-bottom: solid 1px #ccc;
    
}

.apptable th
{
    padding: 0.3em 0.2em 0.3em 0.2em;
    border-bottom: solid 1px #ccc;

}

.centertd
{
    text-align: center;
}

/* ---------------------------------------------------------- */

.floatclear
{
	overflow: hidden;
}
* html .floatclear
{
	height: 1%;
}

/* ---------------------------------------------------------- */