/*
 * File:        alert.css
 * Description: Alert styling
 * Author:      Allan Jardine
 * Created:     26-8-07
 * Language:    CSS
 * Project:     Alert
 * 
 * Copyright 2007-2008 Allan Jardine. All rights reserved.


 DOM layout that this style sheet applies to:

 +--div #alert_background--------------------------------------------------+
 |                                                                         |
 |                                                                         |
 |     +--div #alert_wrapper---------------------------------------+       |
 |     |                                                           |       |
 |     | +--div #alert_header------------------------------------+ |       |
 |     | |                        Header                         | |       |
 |     | +-------------------------------------------------------+ |       |
 |     |                                                           |       |
 |     | +--div #alert_content-----------------------------------+ |       |
 |     | |                                                       | |       |
 |     | |                        Content                        | |       |
 |     | |                                                       | |       |
 |     | +-------------------------------------------------------+ |       |
 |     |                                                           |       |
 |     | +--div #alert_buttons-----------------------------------+ |       |
 |     | |                        Buttons                        | |       |
 |     | +-------------------------------------------------------+ |       |
 |     |                                                           |       |
 |     +-----------------------------------------------------------+       |
 |                                                                         |
 |                                                                         |
 +-------------------------------------------------------------------------+

*/


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * General page setup - just ignore this part - it's used for the demos
 */
body, html {
	margin: 0;
	padding: 0;
	color: #333;
	height: 100%;
	width: 100%;
}

body {
	font: 80%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}


#alert_example #container {
	width: 800px;
	margin: 30px auto;
	padding: 0;
}

#alert_example #footer {
	margin: 50px auto 0 auto;
	padding: 0;
}

#alert_example #demo {
	color: blue;
	cursor: pointer;
	*cursor: hand;
}

#alert_example #demo:hover {
	text-decoration: underline;
}

#alert_example .big {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1.6em;
	color: #4E6CA3;
}

#alert_example .spacer {
	height: 20px;
	clear: both;
}

#alert_example .clear {
	clear: both;
}

#alert_example pre {
	padding: 15px;
	background-color: #F5F5F5;
	border: 1px solid #CCCCCC;
}

#alert_example h1 {
	margin-top: 2em;
	font-size: 1.3em;
	font-weight: normal;
	line-height: 1.6em;
	color: #4E6CA3;
	border-bottom: 1px solid #B0BED9;
	clear: both;
}

#alert_example h2 {
	font-size: 1.2em;
	font-weight: normal;
	line-height: 1.6em;
	color: #4E6CA3;
	clear: both;
}

#alert_example a {
	color: #0063DC;
	text-decoration: none;
}

#alert_example a:hover {
	text-decoration: underline;
}

#alert_example ul {
	color: #B0BED9;
}


#alert_background {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	
	z-index: 1;
	background-color: black;
	
	_position: absolute;
	_top:expression( document.body.scrollTop+'px' );
}

#alert_background iframe {
	display:none;/*sorry for IE5*/
	display/**/:block;/*sorry for IE5*/
	position:absolute;/*must have*/
	top:0;/*must have*/
	left:0;/*must have*/
	z-index:-1;/*must have*/
	filter:mask();/*must have*/
	width: 100%;/*must have for any big value*/
	height: 100%;/*must have for any big value*/;
}

#alert_wrapper {
	position: fixed;
	top: 20%;
	left: 50%;
	/*height: 220px;*/
	width: 400px;
	margin-top: -100px;
	margin-left: -200px;
	padding: 0px; /*12px;*/
	
	z-index: 2;
	background-color: #ffffff;
	border: 1px solid #3E3E3E;
	color: #3E3E3E;
	
	/* Hooray for webkit! */
	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
	-webkit-border-radius: 4px;
	
	_position: absolute;
	_top:expression( (documentElement.scrollTop + ((document.body.clientHeight-this.clientHeight)/2))+'px');
}
#alert_content {
	/*height: 110px;*/
	padding:0px;
}
#myContent {
	display:none;
}
.heading {
	color: #000000;
	font-weight:bold;
	font-size: 34px;
	padding:15px;
}

.heading2{
	background:url(../images/heading1_bg.gif) repeat-x top left;
	float:left;
	height:37px;
	width:392px;
	padding:0px 0px 0px 0px;
	}
	
.heading2_in{
	background:url(../images/heading1_right_co.gif) no-repeat top right;
	float:left;
	height:37px;
	font-size:14px;
	font-weight:bold;
	line-height:37px;
	color:#FFFFFF;
	text-align:left;
	width:370px;
	padding:0px 9px 0px 7px;
	}	

.lblbutton {
	padding:5px;
	/*background:#F8F8F8;*/
	/*border:#C9CDCD 2px solid;*/
	text-align:center;
	font-size:16px;
	font-weight:bold;
}
#alert_buttons {
	height: 45px;
}

#alert_buttons table {
}

#alert_buttons td {
	margin: 0;
	padding: 0;
	background: url(../images/button.jpg) no-repeat top left;
	text-align: center;
}

#alert_buttons td.empty {
	background: none;
}

#alert_buttons a {
	display: block;
	height: 28px;
	margin: 0;
	padding-top: 7px;
	margin-left: 10px;
	padding-right: 10px;
	
	background: url(../images/button.jpg) no-repeat top right;
	text-align: center;
	font-size: 12px;
	color: black;
	text-decoration: none;
	*cursor: hand;
	cursor: pointer;
}

#alert_buttons a:hover {
	text-decoration: none;
}

#alert_buttons td.selected {
	background: url(../images/button_selected.jpg) no-repeat top left;
}

#alert_buttons a.selected {
	background: url(../images/button_selected.jpg) no-repeat top right;
}
