/*
 * Notify 0.0.1 - A Jquery Notification Extension
 * Homepage: redeyeoperation.com/plugins/Notify
 *
 * Author: Jacob Lowe (redeyeoperations.com)
 * Twitter Handle @jacoblowe2dot0
 *
 * Copyright (c) 2010 Jacob Lowe (http://redeyeoperations.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * 
 * Built for jQuery library
 * http://jquery.com
 *
 * jQuery.support.transition
  *to verify that CSS3 transition is supported (or any of its browser-specific implementations)
 */


#notify {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    font-family: sans-serif;
    font-size: 17px;
    font-weight: 700;
    left: 0;
    line-height: 50px;
    overflow: hidden;
    position: fixed;
    text-align: center;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 99999;
}

#notify, #notify-placeholder {
    -moz-transition: height 1s ease-in-out;
    -ms-transition: height 1s ease-in-out;
    -o-transition: height 1s ease-in-out;
    -webkit-transition: height 1s ease-in-out;
    transition: height 1s ease-in-out;
}



#notify.notify-visible, .notify-visible {
    height: 50px;
    visibility: visible;
}

#notify.notify-hidden, .notify-hidden {
    border: 0;
    height: 0px;
    visibility: visible;
}

.notify-error {
    background: #cc0000; /* Old browsers */
    background: -moz-linear-gradient(top, #cc0000 0%, #ba0000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cc0000), color-stop(100%, #ba0000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #cc0000 0%, #ba0000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #cc0000 0%, #ba0000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #cc0000 0%, #ba0000 100%); /* IE10+ */
    background: linear-gradient(top, #cc0000 0%, #ba0000 100%); /* W3C */
    border-bottom: 1px solid #9f0000;
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cc0000', endColorstr='#ba0000', GradientType=0); /* IE6-9 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.notify-success {
    background: rgb(105, 201, 16); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(105, 201, 16, 1) 0%, rgba(41, 154, 11, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(105, 201, 16, 1)), color-stop(100%, rgba(41, 154, 11, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(105, 201, 16, 1) 0%, rgba(41, 154, 11, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(105, 201, 16, 1) 0%, rgba(41, 154, 11, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(105, 201, 16, 1) 0%, rgba(41, 154, 11, 1) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(105, 201, 16, 1) 0%, rgba(41, 154, 11, 1) 100%); /* W3C */
    border-bottom: 1px solid #5FA300;
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#69c910', endColorstr='#299a0b', GradientType=0); /* IE6-9 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}

.notify-alert {
    background: #fcf085; /* Old browsers */
    background: -moz-linear-gradient(top, #fcf085 1%, #edda63 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #fcf085), color-stop(100%, #edda63)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fcf085 1%, #edda63 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fcf085 1%, #edda63 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fcf085 1%, #edda63 100%); /* IE10+ */
    background: linear-gradient(top, #fcf085 1%, #edda63 100%); /* W3C */
    border-bottom: 1px solid #e5ca1e;
    color: #222;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcf085', endColorstr='#edda63', GradientType=0); /* IE6-9 */
    text-shadow: 0 1px 2px rgba(255, 255, 255, .7);
}

.notify-basic {
    background: rgb(163, 163, 163); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(163, 163, 163, 1) 0%, rgba(119, 119, 119, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(163, 163, 163, 1)), color-stop(100%, rgba(119, 119, 119, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(163, 163, 163, 1) 0%, rgba(119, 119, 119, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(163, 163, 163, 1) 0%, rgba(119, 119, 119, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(163, 163, 163, 1) 0%, rgba(119, 119, 119, 1) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(163, 163, 163, 1) 0%, rgba(119, 119, 119, 1) 100%); /* W3C */
    border-bottom: 1px solid #999;
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a3a3a3', endColorstr='#777777', GradientType=0); /* IE6-9 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}

.notify-alert span {
    background-image: url(./images/loading.gif);
    background-position: 2px 2px;
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
    width: 150px;
}

.notify-close {
    background: url(close.png) 10px 10px no-repeat;
    float: right;
    height: 40px;
    margin: 5px;
    width: 40px;
}

.notify-hidden .notify-close { display: none; }

#notify-placeholder {
    background: none;
    border: 0;
}