/**
 * achtung 0.3.0
 * 
 * Growl-like notifications for jQuery
 *
 * Copyright (c) 2009 Josh Varner <josh@voxwerk.com>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Portions of this file are from the jQuery UI CSS framework.
 *
 * @license http://www.opensource.org/licenses/mit-license.php
 * @author Josh Varner <josh@voxwerk.com>
 */

/* IE 6 doesn't support position: fixed */
* html #achtung-overlay {
	position: absolute;
}

/* IE6 includes padding in width */
* html .achtung {
  width: 330px;
}

#achtung-overlay {
  overflow: hidden;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 330px;
  z-index:50;
}

.achtung {
  display:none;
  margin-bottom: 8px;
  padding: 15px 15px;
  background-color: #000;
  color: white;
  width: 300px;
	font-weight: bold;
	position:relative;
	overflow: hidden;
    -moz-box-shadow: #aaa 1px 1px 2px;
    -webkit-box-shadow: #aaa 1px 1px 2px;
    box-shadow: #aaa 1px 1px 2px;  
    -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
    /* Note that if using show/hide animations, IE will lose
       this setting */
    opacity: .85;
    filter:Alpha(Opacity=85);
}

.achtung .achtung-close-button {
  overflow: hidden;
  float: right;
  position: relative;
  top: -8px;
  right: -8px;
  cursor: pointer;
  height: 16px;
  width: 16px;
  background: url(../img/growl.png) no-repeat;
}

.achtung .achtung-close-button-hover {
  background-position: -16px 0;
}

/* Slightly darker for these colors (readability) */
.achtungSuccess, .achtungFail, .achtungWait {
    /* Note that if using show/hide animations, IE will lose
       this setting */
    opacity: .93; filter:Alpha(Opacity=93);
}

.achtungSuccess {
	background-color: #4DB559;
}

.achtungFail {
	background-color: #D64450;
}

.achtungWait {
	background-color: #658093;
}

.achtung .achtung-message {
  display: inline;
}

