/* the norm */
#gritter-notice-wrapper {
    position: fixed;
    left: 30%;
    top: 33%;
    width: 400px;
    z-index: 9999;
}

.gritter-item-wrapper.gritter-info {
    background: rgba(49, 81, 133, .92);
}

.gritter-center {
    position: fixed;
    left: 33%;
    right: 33%;
    top: 33%;
}

#gritter-notice-wrapper.top-left {
    left: 20px;
    right: auto;
}

#gritter-notice-wrapper.bottom-right {
    top: auto;
    left: auto;
    bottom: 20px;
    right: 20px;
}

#gritter-notice-wrapper.bottom-left {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
}

.gritter-item-wrapper {
    position: relative;
    margin: 0 0 10px 0;
    background: url('../images/ie-spacer.gif'); /* ie7/8 fix */
}

.gritter-top {
    background: url(../images/gritter.png) no-repeat left -30px;
    height: 10px;
}

.hover .gritter-top {
    background-position: right -30px;
}

.gritter-info .gritter-close {
    color: orange;
}

.gritter-close {
    left: auto;
    right: 3px;
    background-image: none;
    width: 18px;
    height: 18px;
    line-height: 17px;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 16px;
    color: #E17B67;
}

.gritter-bottom {
    background: url(../images/gritter.png) no-repeat left bottom;
    height: 8px;
    margin: 0;
}

.hover .gritter-bottom {
    background-position: bottom right;
}

.gritter-item {
    display: block;
    background: url(../images/gritter.png) no-repeat left -40px;
    color: #eee;
    padding: 2px 11px 8px 11px;
    font-size: 11px;
    font-family: verdana;
}

.hover .gritter-item {
    background-position: right -40px;
}

.gritter-item p {
    padding: 0;
    margin: 0;
    word-wrap: break-word;
}

.gritter-close {
    display: none;
    position: absolute;
    top: 5px;
    left: 3px;
    background: url(../images/gritter.png) no-repeat left top;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.gritter-title {
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 7px 0;
    display: block;
    text-shadow: 1px 1px 0 #000; /* Not supported by IE :( */
}

.gritter-image {
    width: 48px;
    height: 48px;
    float: left;
}

.gritter-with-image,
.gritter-without-image {
    padding: 0;
}

.gritter-with-image {
    width: 220px;
    float: right;
}

/* for the light (white) version of the gritter notice */
.gritter-light .gritter-item,
.gritter-light .gritter-bottom,
.gritter-light .gritter-top,
.gritter-light .gritter-close {
    background-image: url(../images/gritter-light.png);
    color: #222;
}

.gritter-light .gritter-title {
    text-shadow: none;
}

.gritter-item-wrapper {
    background-image: none !important;
    box-shadow: 0 2px 10px rgba(50, 50, 50, .5);
    background: rgba(50, 50, 50, .92)
}

.gritter-item-wrapper.gritter-info {
    background: rgba(49, 81, 133, .92)
}

.gritter-item-wrapper.gritter-error {
    background: rgba(153, 40, 18, .92)
}

.gritter-item-wrapper.gritter-success {
    background: rgba(89, 131, 75, .92)
}

.gritter-item-wrapper.gritter-warning {
    background: rgba(190, 112, 31, .92)
}

.gritter-item-wrapper.gritter-light {
    background: rgba(245, 245, 245, .95);
    border: 1px solid #BBB
}

.gritter-item-wrapper.gritter-light.gritter-info {
    background: rgba(232, 242, 255, .95)
}

.gritter-item-wrapper.gritter-light.gritter-info .gritter-item {
    color: #4A577D
}

.gritter-item-wrapper.gritter-light.gritter-error {
    background: rgba(255, 235, 235, .95)
}

.gritter-item-wrapper.gritter-light.gritter-error .gritter-item {
    color: #894A38
}

.gritter-item-wrapper.gritter-light.gritter-success {
    background: rgba(239, 250, 227, .95)
}

.gritter-item-wrapper.gritter-light.gritter-success .gritter-item {
    color: #416131
}

.gritter-item-wrapper.gritter-light.gritter-warning {
    background: rgba(252, 248, 227, .95)
}

.gritter-item-wrapper.gritter-light.gritter-warning .gritter-item {
    color: #946446
}

.gritter-item p {
    line-height: 1.8
}

.gritter-bottom, .gritter-item, .gritter-top {
    background-image: none
}

.gritter-close {
    left: auto;
    right: 3px;
    background-image: none;
    width: 18px;
    height: 18px;
    line-height: 17px;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 16px;
    color: #E17B67
}

.gritter-close:before {
    font-family: FontAwesome;
    font-size: 16px;
    content: "\f00d"
}

.gritter-info .gritter-close {
    color: orange
}

.gritter-error .gritter-close, .gritter-success .gritter-close, .gritter-warning .gritter-close {
    color: #FFEA07
}

.gritter-close:hover {
    color: #FFF !important
}

.gritter-title {
    text-shadow: none
}

.gritter-light .gritter-bottom, .gritter-light .gritter-close, .gritter-light .gritter-item, .gritter-light .gritter-top {
    background-image: none;
    color: #444
}

.gritter-light .gritter-title {
    text-shadow: none
}

.gritter-light .gritter-close:hover {
    color: #8A3104 !important
}

.gritter-center {
    position: fixed;
    left: 36%;
    right: 36%;
    top: 33%
}

@media only screen and (max-width: 767px) {
    .gritter-center {
        left: 16%;
        right: 16%;
        top: 30%
    }
}

@media only screen and (max-width: 480px) {
    .gritter-center {
        left: 30px;
        right: 30px
    }
}

@media only screen and (max-width: 320px) {
    .gritter-center {
        left: 10px;
        right: 10px
    }
}
