.alert-success {
    color: #3c763d;
    background-color: #bff0b8;
    border: 1px #60983F solid !important;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border: 1px #bce8f1 solid !important;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #ffd27f;
    border: 1px #ffb732 solid !important;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border: 1px #ebccd1 solid !important;
}

.alert-dismissable, .alert-dismissible {
    padding-right: 35px;
}

.alert {
    opacity: 0.97;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-dismissable .close, .alert-dismissible .close {
    position: relative;
    top: 0;
    right: 10px;
    color: inherit;
}

#alert_message_container {
    display:none;
    position: absolute;
    width: 60%;
    z-index: 1000;
    left:20%;
    top:20px;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .5;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #alert_message_container {
        top:200px;
    }
}