/*
 * 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                        | |       |
 |     | +-------------------------------------------------------+ |       |
 |     |                                                           |       |
 |     +-----------------------------------------------------------+       |
 |                                                                         |
 |                                                                         |
 +-------------------------------------------------------------------------+

*/

#alert_background {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;

	z-index: 10000;
	background-color: black;
    opacity: 0.7;
	filter: alpha(opacity=70);
	_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: 50%;
	left: 50%;
	height: 200px;
	width: 300px;
	margin-top: -100px;
	margin-left: -200px;
	padding: 12px;

	z-index: 20000;
	background-color: #DBDADF;
	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_header {
	height: 30px;
	padding-top: 10px;

	font-size: 18px;
	font-weight: bold;
	background-color: #EFEFF0;
	border: 1px solid #8F908F;
	text-align: center;

	/* Hooray for webkit - again! */
	-webkit-border-radius: 2px;
}

#alert_content {
	height: 110px;
	padding-top: 10px;
}
#alert_wrapper.big #alert_content {
	height: 250px;
	padding-top: 10px;
}

#alert_wrapper.big {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 240px;
	width: 300px;
	margin-top: -200px;
	margin-left: -200px;
	padding: 12px;

	z-index: 20000;
	background-color: #DBDADF;
	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_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 {
	background: url(../images/button_selected.jpg) no-repeat top right;
}
#alert_button_cell_1:hover, #alert_button_cell_2:hover, #alert_button_cell_3:hover {
	background: url(../images/button_selected.jpg) no-repeat top left;
}

#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;
}




/*
 * 'Different' styles for the 'different' classed alert box
 * Strip these out when you do your own styling
 */
#alert_background.different {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;

	z-index: 10000;
	background-color: black;

	_position: absolute;
	_top:expression( document.body.scrollTop+'px' );
}

#alert_wrapper.different {
    position: fixed;
	top: 50%;
	left: 50%;
	height: 140px;
	width: 300px;
	margin-top: -100px;
	margin-left: -200px;
	padding: 12px;

	z-index: 20000;
	background-color: #fff;
	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_wrapper.different #alert_header {
	display: none;
}

#alert_wrapper.different #alert_content {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 140px;
    width:280px;
	margin-top: -70px;
	margin-left: -150px;
    padding: 12px;
/*
	background-color: #f3f3f3;
	border: 3px solid #3f3f3f; */
}

#alert_wrapper.different #alert_buttons {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 30px;
	width: 350px;
	margin-top: 10px;
	margin-left: -156px;
}

#alert_wrapper.different #alert_buttons td {
	margin: 0 25px 0 25px;
	padding: 0 25px 0 25px;
  	background: url(../images/button3_part.jpg) no-repeat 25px 0;
	text-align: center;
}

#alert_wrapper.different #alert_buttons td.empty {
	background: none;
}

#alert_wrapper.different #alert_buttons a {
	display: block;
	height: 28px;
	margin: 0;
	padding-top: 8px;
	margin-left: 10px;
    margin-right:0px;
	padding-right: 10px;
  	background: url(../images/button3.jpg) no-repeat top right;
	text-align: center;
	font-size: 12px;
    font-weight:bold;
	color: black;
	text-decoration: none;
	*cursor: hand;
	cursor: pointer;
    color:#ff6803;
}

#alert_wrapper.different #alert_buttons a:hover {
	background: url(../images/button3_selected.jpg) no-repeat top right;
    color:#fff;
}
#alert_wrapper.different #alert_buttons td:hover {
    padding: 0 25px 0 25px;
	background: url(../images/button3_part_selected.jpg) no-repeat 25px 0px;
}

#alert_wrapper.different #alert_buttons td.selected {
	background: url(../images/button_selected.jpg) no-repeat top left;
}

#alert_wrapper.different #alert_buttons a.selected {
	background: url(../images/button_selected.jpg) no-repeat top right;
}


/*///////////// */


#alert_background.different2 {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;

	z-index: 10000;
	background-color: black;

	_position: absolute;
	_top:expression( document.body.scrollTop+'px' );
}

#alert_wrapper.different2 {
    position: fixed;
	top: 50%;
	left: 50%;
	height: 220px;
	width: 300px;
	margin-top: -100px;
	margin-left: -200px;
	padding: 12px;

	z-index: 20000;
	background-color: #fff;
	border: 1px solid #3E3E3E;
	color: #3E3E3E;


	-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_wrapper.different2 #alert_header {
	display: none;
}

#alert_wrapper.different2 #alert_content {
    position: absolute;
	top: 50%;
	left: 50%;
	height: 210px;
	margin-top: -125px;
	margin-left: -170px;
    padding: 12px;

}

#alert_wrapper.different2 #alert_buttons {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 30px;
	width: 350px;
	margin-top: 60px;
	margin-left: -224px;
}

#alert_wrapper.different2 #alert_buttons td {
	margin: 0 25px 0 25px;
	padding: 0 25px 0 25px;
  	background: url(../images/button3_part.jpg) no-repeat 25px 0;
	text-align: center;
}

#alert_wrapper.different2 #alert_buttons td.empty {
	background: none;
}

#alert_wrapper.different2 #alert_buttons a {
	display: block;
	height: 28px;
	margin: 0;
	padding-top: 8px;
	margin-left: 10px;
    margin-right:0px;
	padding-right: 10px;
  	background: url(../images/button3.jpg) no-repeat top right;
	text-align: center;
	font-size: 12px;
    font-weight:bold;
	color: black;
	text-decoration: none;
	*cursor: hand;
	cursor: pointer;
    color:#ff6803;
}

#alert_wrapper.different2 #alert_buttons a:hover {
	background: url(../images/button3_selected.jpg) no-repeat top right;
    color:#fff;
}
#alert_wrapper.different2 #alert_buttons td:hover {
    padding: 0 25px 0 25px;
	background: url(../images/button3_part_selected.jpg) no-repeat 25px 0px;
}

#alert_wrapper.different2 #alert_buttons td.selected {
	background: url(../images/button_selected.jpg) no-repeat top left;
}

#alert_wrapper.different2 #alert_buttons a.selected {
	background: url(../images/button_selected.jpg) no-repeat top right;
}

/*///////////////different2 /////// */

/*
 * 'Different' styles for the 'different' classed alert box
 * Strip these out when you do your own styling
 */
#alert_background.different3 {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;

	z-index: 10000;
	background-color: black;

	_position: absolute;
	_top:expression( document.body.scrollTop+'px' );
}

#alert_wrapper.different3 {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 170px;
	width: 375px;
	margin-top: -100px;
	margin-left: -200px;
	padding: 12px;

	z-index: 20000;
	background-color: #fff;
	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_wrapper.different3 #alert_header {
	display: none;
}

#alert_wrapper.different3 #alert_content {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 160px;
    width:330px;
	margin-top: -91px;
	margin-left: -173px;
    padding: 12px;
}

#alert_wrapper.different3 #alert_buttons {
	position: absolute;
	top: 50%;
	left: 0;
	height: 35px;
	width: 340px;
	margin-top: 30px;
	margin-left: 5px;
    color:#ff6803;
    font-weight:bold;
}

#alert_wrapper.different3 #alert_buttons td {
	margin: 0 10px 0 10px;
	padding: 0 10px 0 10px;
  	background: url(../images/button3_part.jpg) no-repeat 10px 0;
	text-align: center;
    color:#ff6803;
}

#alert_wrapper.different3 #alert_buttons td.empty {
	background: none;
}

#alert_wrapper.different3 #alert_buttons a {
	display: block;
	height: 34px;
	margin: 0;
	padding-top: 0px;
	margin-left: 10px;
    margin-right:0px;
	padding-right: 10px;
  	background: url(../images/button3.jpg) no-repeat top right;
	text-align: center;
	font-size: 12px;
	color: black;
	text-decoration: none;
	*cursor: hand;
	cursor: pointer;
    color:#ff6803;
}

#alert_wrapper.different3 #alert_buttons a:hover {
	background: url(../images/button3_selected.jpg) no-repeat top right;
    color:#fff;
}
#alert_wrapper.different3 #alert_buttons td:hover {
    padding: 0 10px 0 10px;
	background: url(../images/button3_part_selected.jpg) no-repeat 10px 0px;
}

#alert_wrapper.different3 #alert_buttons td.selected {
	background: url(../images/button2_selected.jpg) no-repeat top left;
}

#alert_wrapper.different3 #alert_buttons a.selected {
	background: url(../images/button2_selected.jpg) no-repeat top right;
}

/*/////////////////////// */
#alert_background.different4 {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;

	z-index: 10000;
	background-color: black;

	_position: absolute;
	_top:expression( document.body.scrollTop+'px' );
}

#alert_wrapper.different4 {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 180px;
	width: 375px;
	margin-top: -100px;
	margin-left: -200px;
	padding: 12px;

	z-index: 20000;
	background-color: #fff;
	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_wrapper.different4 #alert_header {
	display: none;
}

#alert_wrapper.different4 #alert_content {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 170px;
    width:330px;
	margin-top: -91px;
	margin-left: -173px;
    padding: 12px;
}

#alert_wrapper.different4 #alert_buttons {
	position: absolute;
	top: 50%;
	left: 0;
	height: 35px;
	width: 340px;
	margin-top: 40px;
	margin-left: 44px;
    color:#ff6803;
    font-weight:bold;
}

#alert_wrapper.different4 #alert_buttons td {
	margin: 0 10px 0 10px;
	padding: 0 10px 0 10px;
  	background: url(../images/button3_part.jpg) no-repeat 10px 0;
	text-align: center;
    color:#ff6803;
}

#alert_wrapper.different4 #alert_buttons td.empty {
	background: none;
}

#alert_wrapper.different4 #alert_buttons a {
	display: block;
	height: 26px;
	margin: 0;
	padding-top: 8px;
	margin-left: 10px;
    margin-right:0px;
	padding-right: 10px;
  	background: url(../images/button3.jpg) no-repeat top right;
	text-align: center;
	font-size: 12px;
	color: black;
	text-decoration: none;
	*cursor: hand;
	cursor: pointer;
    color:#ff6803;
}

#alert_wrapper.different4 #alert_buttons a:hover {
	background: url(../images/button3_selected.jpg) no-repeat top right;
    color:#fff;
}
#alert_wrapper.different4 #alert_buttons a.hovereda{
    background: url(../images/button3_selected.jpg) no-repeat top right;
    color:#fff;
}

#alert_wrapper.different4 #alert_buttons td:hover {
    padding: 0 10px 0 10px;
	background: url(../images/button3_part_selected.jpg) no-repeat 10px 0px;
}

#alert_wrapper.different4 #alert_buttons td.selected {
	background: url(../images/button2_selected.jpg) no-repeat top left;
}

#alert_wrapper.different4 #alert_buttons a.selected {
	background: url(../images/button2_selected.jpg) no-repeat top right;
}






#alert_wrapper.different #alert_buttons #alert_button_cell_0{
    display:none;
}

#alert_wrapper.different3 #alert_buttons #alert_button_cell_0{
    display:none;
}
#alert_wrapper.different4 #alert_buttons #alert_button_cell_0{
    display:none;
}
