/**
 * achtung %%VERSION%%
 * 
 * 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: 280px;
}

#achtung-overlay {
    overflow: hidden;
    position: fixed;
    top: 43px;
    right: 0px;
    width: 280px;
    padding: 20px;
    z-index: 50;
}

.achtung {
    display:none;
    margin-bottom: 8px;
    padding: 15px;
    background: #000;
    background: rgba(0,0,0,.9);
    color: white;
    width: 250px;
    font-weight: normal;
    position: relative;
    overflow: hidden;
    text-shadow: rgba(0,0,0,.3) -1px -1px 0;
    -moz-box-shadow: rgba(0,0,0,.3) 0px 1px 3px;
    -webkit-box-shadow: rgba(0,0,0,.3) 0px 1px 6px;
    box-shadow: rgba(0,0,0,.3) 0px 1px 6px;
    -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
    opacity: 1.0; filter:Alpha(Opacity=100);
}

.achtung .achtung-message-icon {
    float: left;
    margin: 0 .7em 0 -.5em;
    zoom: 1;
}

.achtung .ui-icon.achtung-close-button {
    overflow: hidden;
    float: right;
    position: relative;
    top: -8px;
    right: -8px;
    cursor: pointer;
    background-image: url(/vendor/jquery/jquery-ui/images/ui-icons_e0e0e0_256x240.png);
}

.achtung .ui-icon.achtung-close-button-hover {
    background-image: url(/vendor/jquery/jquery-ui/images/ui-icons_ffffff_256x240.png);
}

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

.achtungSuccess { 
    background: rgb(77, 181, 89); 
    background: rgba(77, 181, 89, .9); 
}
.achtungFail { 
    background: rgb(225, 55, 35); 
    background: rgba(225, 55, 35, .9); 
}
.achtungWait { 
    background: rgb(101, 128, 147); 
    background: rgba(101,128,147,.9);
}

.achtungSuccess .ui-icon.achtung-close-button,
.achtungFail .ui-icon.achtung-close-button {
    background-image: url(/vendor/jquery/jquery-ui/images/ui-icons_454545_256x240.png);
}

.achtungSuccess .ui-icon.achtung-close-button-hover,
.achtungFail .ui-icon.achtung-close-button-hover {
    background-image: url(/vendor/jquery/jquery-ui/images/ui-icons_888888_256x240.png);
}

.achtung .wait-icon {
    background-image: url(/vendor/yui/assets/skins/sam/wait.gif);
}

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