.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.flash-error {
    border: 2px solid red;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    max-width: 400px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 10px auto;
    color: red;
    font-size: 12px;
}

.flash-message {
    border: 2px solid green;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    max-width: 400px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 10px auto;
    color: green;
    font-size: 12px;
}

.flash-error,
.flash-message {
    position: relative;
}

.flash-error .message-title,
.flash-message .message-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.rs-modal {
    position: absolute;
    top: 45%;
    width: 400px;
    border: 3px double #ccc;
    background: #fafafa;
    left: 50%;
    margin-left: -200px;
    margin-bottom: 50px;
    -moz-box-shadow: 0px 0px 35px 0px #000000;
    -webkit-box-shadow: 0px 0px 35px 0px #000000;
    box-shadow: 0px 0px 35px 0px #000000;
    padding: 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    z-index: 10000;
}

.rs-modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 3px 25px 3px 10px;
    background: #ccc;
}

.rs-modal-content {
    font-size: 14px;
    font-weight: normal;
    min-height: 50px;
}

.rs-modal-buttons {
    margin-top: 8px;
    padding-top: 8px;
    text-align: center;
    border-top: 1px solid #cccccc;
}

.rs-modal-buttons .rs-modal-button {
    display: inline-block;
    background: #cccccc;
    border: none;
    padding: 7px 15px;
    cursor: pointer;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 0 3px;
}

.rs-modal-buttons .rs-modal-button:hover {
    background: #d2d2d2;
}

.rs-modal-buttons .rs-modal-button.storno {
    background: #444;
    color: #fff;
}

.rs-modal-buttons .rs-modal-button.storno:hover {
    background: #666;
}

.rs-modal .closer {
    position: absolute;
    top: 14px;
    right: 15px;
    color: red;
    font-size: 20px;
    line-height: 20px;
    padding: 0;
    cursor: pointer;
}

.rs-modal.rs-modal-wide {
    width: 80%;
}

.rs-modal.rs-modal-medium {
    width: 50%;
}

.rs-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    -webkit-opacity: 0.8;
    opacity: 0.8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
    filter: alpha(opacity=80);
    z-index: 9999;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    /*display: none;*/
}

#loader .overlay {
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
    filter: alpha(opacity=60);
    opacity: 0.6;
    background: #fff;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#loader .image {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    display: block;
    background: url("img/loading.gif");
    width: 32px;
    height: 32px;
}
