/**
* Styles for the proweb best practice code
*/

/******************************************************************************
General display rules (proweb class)
******************************************************************************/
div.proweb
{
	/* width: 700px; 
	border: 1px solid;
	padding: 1em 1em 1em 1em;
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8; */
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
}

/* All labels (text that relate to an input box) */
div.proweb label
{
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	float: left;
	width: 12em;
	text-align: left;
	background: none;
}

/* All non-label text is stored in dt tags */
div.proweb dt
{
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	text-align: justify;
}

/* dd tag is used as a holder for the dt results */
div.proweb dd
{
	border: 1px solid;
	border-color: white;
}

/* General settings for all input types */
div.proweb input
{
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	background: #EAECF6;  
	border: 1px solid; 
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
}

/******************************************************************************
This covers page behind when the popup div is shown (makes non-editable)
******************************************************************************/
div.proweb_cover
{
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: #333333;
	filter:alpha(Opacity=75);
	opacity: 0.5;
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5
}

/******************************************************************************
The message that tells the user that the database is being searched
******************************************************************************/
div.wait_message
{
	position:absolute;
	left:30%;
	top:30%;
	border-top: 1px solid;
	border-left: 3px solid;
	border-right: 1px solid;
	border-bottom: 3px solid;
	border-color: #000000 #000000 #000333 #000333;
	padding: 2em 2em 2em 2em;
	color: #FFFFFF;
    font-family: Georgia;
    font-size: 1em;
    font-weight: bold; 
	/*background-color: #D3D3D3;*/
	background-color: #6f90e8; /* #C6E2FF; */
}

/******************************************************************************
Control for the right hand details box (and left when required)
******************************************************************************/
div.proweb_details
{
	position: relative;
	float: right;
	left: 0;
	top: 10;
	width:220px;
	border: 1px solid;
	padding: 1em 1em 1em 1em;
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
	background-color:white;
}

div.proweb_details_left
{
	position: relative;
	float: left;
	left: 0;
	top: 10;
	width:220px;
	padding: 1em 1em 1em 1em;
	background-color:white;
}

/* Settings for all labels in the right div */
div.proweb_details_left label,
div.proweb_details label
{
	font-weight: normal;
	width: 50px;
	float: left;
}
label.qas_rightdetails
{
	width: 53px !important;
}
/******************************************************************************
Control for the pop-up divs when the address is unsure
******************************************************************************/
div.proweb_popup
{
	left:25px;
	top:10%;
	border-top: 1px solid;
	border-left: 3px solid;
	border-right: 1px solid;
	border-bottom: 3px solid;
	border-color: #000000 #000000 #000333 #000333;
	padding: 1em 1em 1em 1em;
	width: 700px;
	height: 330px;
	position: absolute;
	z-index:100;
    font-family: Trebuchet MS;
    font-size: 8pt;
    font-weight: normal; 
	background-color: white;
	overflow: auto;
}

/* dd tag is used as a holder for the dt results */
div.proweb_popup dd
{
	border: 1px solid;
	border-color: #FFFFFF;
}

/* A special class to display the postcode as a non-linkable field by results*/
div.proweb_popup label.qas_postcode
{
	position: absolute;
	left: 370px;
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	text-decoration: none;
	color: #000000;
	width: 80px;
}

div.proweb_popup dt.qas_range
{

    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	text-align: justify;
	text-decoration: none;
	color: #000000;
	padding: 0.5em 0em 0em 0em;

}

/******************************************************************************
Control for the inline divs when the address is unsure
******************************************************************************/
div.proweb_nonpopup
{
	border: 1px solid;
	padding: 1em 1em 1em 1em;
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
	width: 700px;
	height: 315px;
	z-index:100;
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	background-color: white;
	overflow: auto;
}

/* dd tag is used as a holder for the dt results */
div.proweb_nonpopup dd
{
	border: 1px solid;
	border-color: #FFFFFF;
}

/* A special class to display the postcode as a non-linkable field by results*/
div.proweb_popup label.qas_postcode
{
	left: 370px;
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: bold; 
	text-decoration: none;
	color: #000000;
	width: 80px;
}

/******************************************************************************
Properties shared between the pop-up or in-page div elements
******************************************************************************/
/* Format for the messages that appear at the top of the div box */
div.proweb_popup dt.qas_message,
div.proweb_nonpopup dt.qas_message
{
    font-family: Trebuchet MS;
    font-size: 9pt;
    font-weight: normal; 
	font-weight: normal;
	text-align: justify;
	line-height: 15px;
	padding: 1em 1em 1em 1em;
	border: 1px solid;
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
	color: White;
	/*background-color: #FFFF99;*/
	background-color: #395dbb;
}

/* Any link that appears on the page should be a dt of this class */
div.proweb_popup dt.qas_link,
div.proweb_nonpopup dt.qas_link
{
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: normal; 
	text-align: justify;
	text-decoration: underline;
	color: #3333CC;
	padding: 0.5em 0em 0em 0em;
	cursor: hand;
}

/* DT class for the titel of a widget where required */
div.proweb_popup dt.qas_title,
div.proweb_nonpopup dt.qas_title
{
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: normal; 
	padding: 15px 10px 10px 0px;
}

/* General settings for all input types */
div.proweb_popup input.qas_refinebutton,
div.proweb_nonpopup input.qas_refinebutton
{
    font-family: Georgia;
    font-size: 8pt;
    font-weight: bold; 
	color: White;
	background: #009933;  
	border: none; 
	height: 20px; 
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
	width: 130px;
}

/* General settings for all input types */
div.proweb_popup input.qas_acceptbutton,
div.proweb_nonpopup input.qas_acceptbutton
{
    font-family: Georgia;
    font-size: 8pt;
    font-weight: bold; 
	color: White;
	background: #009933;  
	border: none; 
	height: 20px; 
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
	margin-left:0px;
	padding-left:0px;
	position:absolute;
	left:10px;
	width: 130px;

	
}
/* General settings for all input types */
div.proweb_popup input,
div.proweb_nonpopup input
{
    font-family: Trebuchet MS;
    font-size: .8em;
    font-weight: normal; 
	color: White;
	background: #009933;  
	border: 1px solid; 
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
}

/* Hack for firefox */
div.proweb_popup input,
div.proweb_nonpopup input
{
    font-family: Georgia;
    font-size: 8pt;
    font-weight: bold; 
	color: White;
	background: #009933;  
	border: none; 
	height: 20px; 
	border-color: #AAAAB8 #AAAAB8 #AAAAB8 #AAAAB8;
	margin-top: 10px;
	
}
