/**********************************
 * Alerts
 **********************************/
 .alerts {
    display: block;
    position: fixed;
    left: 35%;
    top: 4rem;
    z-index: 99999;
    width: 30%;
 }
.alert {
    color: #000000;
    border: solid 1px #b9def0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
    padding: 1rem;
    border-radius: 0.5rem;
}
.alert:after { content: ""; display: block; clear: right; }
.alert-success {
    color: rgb(15, 81, 50);
    background-color: rgb(209, 231, 221);
    border-color: rgb(186, 219, 204);
}
.alert.alert-error, .alert.alert-danger {
    color: #FFFFFF;
    border-color: #DA3A3A;
    background-image: linear-gradient(to bottom, #D81919 0%, #E37171 100%);
}
.text-danger { color: #a94442; }
.alert.alert-warning {
    color: #8a6d3b;
    border-color: #f5e79e;
    background-color: #fcf8e3;
    background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
}
.alert.alert-info, .alert.alert-information, .alert.alert-message {
    color: #31708f;
    border-color: #9acfea;
    background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
}
.alert > .btn {
    float: right;
}
 .alerts > .alert {
    display: block;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 5px #333333;
    transition: all 0.3s ease-in-out;
    text-align: center;
 }
 .alerts > .alert.hide {
    max-height: 0;
    min-height: 0;
    margin-bottom: 0;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
 }

/**********************************
 * Help / Info box
 **********************************/
.infobox {
    position: relative;
    overflow: visible;
}
.infobox > .infobox-content {
    display: block;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 102%;
    padding: 1rem;
    background-color: #FFFFFF;
    border: solid 1px rgba(0,0,0,.15);
    border-radius: 0.4rem;
    -webkit-box-shadow: 0 0.6rem 1.2rem rgba(0,0,0,.175);
    box-shadow: 0 0.6rem 1.2rem rgba(0,0,0,.175);
    font-size: 1.2rem;
    line-height: 1.2;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    min-width: 0;
    max-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: min-width 0.3s linear, max-width 0.3s linear, max-height 0.3s linear, visibility 0.3s linear;
    z-index: 999;
}
.infobox > .infobox-content.infobox-bottom-left { left: auto; right: 0; top: 100%; bottom: auto; }
.infobox > .infobox-content.infobox-bottom-right { left: 0; right: auto; top: 100%; bottom: auto; }
.infobox > .infobox-content.infobox-right-down { left: 100%; right: auto; top: 0; bottom: auto; }
.infobox > .infobox-content.infobox-right-up { left: 100%; right: auto; top: auto; bottom: 0; }
.infobox > .infobox-content.infobox-top-left { left: auto; right: 0; top: auto; bottom: 100%; }
.infobox > .infobox-content.infobox-top-right { left: 0; right: auto; top: auto; bottom: 100%; }
.infobox > .infobox-content.infobox-left-down { left: auto; right: 100%; top: 0; bottom: auto; }
.infobox > .infobox-content.infobox-left-up { left: auto; right: 100%; top: auto; bottom: 0; }
.infobox:hover > .infobox-content {
    visibility: visible;
    min-width: 25rem;
    max-width: 50rem;
    max-height: 40rem;
    transition: min-width 0.3s linear, max-width 0.3s linear, max-height 0.3s linear;
}
.infobox.btn { border: none; }