#flash-container {
    position: fixed;
    z-index: 999999;
}

.flash {
    position: relative;
}

.flash-top-left {
    top: 12px;
    left: 12px;
}

.flash-top-right {
    top: 12px;
    right: 12px;
}

.flash-bottom-left {
    bottom: 12px;
    left: 12px;
}

.flash-bottom-right {
    bottom: 12px;
    right: 12px;
}

#flash-container>:hover {
    -moz-box-shadow: 0 0 12px #000;
    -webkit-box-shadow: 0 0 12px #000;
    box-shadow: 0 0 12px #000;
    opacity: .9;
    -ms-filter: alpha(opacity=100);
    filter: alpha(opacity=100);
    cursor: pointer;
}

#flash-container>div {
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999;
    -webkit-box-shadow: 0 0 12px #999;
    box-shadow: 0 0 12px #999;
    color: #fff;
    opacity: .8;
    -ms-filter: alpha(opacity=80);
    filter: alpha(opacity=80);
}

#flash-container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.flash-success {
    background-color: #51a351;
}

.flash-error {
    background-color: #bd362f;
}

.flash-default {
    background-color: #2f96b4;
}

#flash-container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.flash-icon {
    position: absolute;
    left: 5px;
    font-size: 30px;
    top: 40%;
}

.flash-title {
    font-weight: bold;
}

.flash-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

button.flash-close-button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.flash-close-button:hover, .flash-close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .4;
    -ms-filter: alpha(opacity=40);
    filter: alpha(opacity=40);
}

.flash-close-button {
    position: relative;
    right: -0.3em;
    top: -0.3em;
    float: right;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    -ms-filter: alpha(opacity=80);
    filter: alpha(opacity=80);
}