/* Scaffolding */

html, body {
    background-color: #e4e8f0;
    position: relative;
}

.xp-container {
    max-width: 1080px;
    margin: auto;
}

.row-container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.centered {
    text-align: center;
}

.vertical_centered {
    height: 100%;
}

.vertical_centered>div {
    margin: 0;
    position: relative;
    top: 50%;
    left: 0;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    height: auto;
}

.nopad-right {
    padding-right: 0px;
}

.no_margin {
    margin: 0px!important;
}

.no-margin-btm {
    margin-bottom: 0px!important;
}

.no-margin-top {
    margin-top: 0px!important;
}

.category-name-dynamic {
    text-transform: capitalize;
}

/* Debug */
.debug_box {
    background: #efeff0;
    font-size: 14px;
    font-weight: 200;
    padding: 20px;
    margin-bottom: 30px;
}

/* Modal */
.overlay {
    background: rgba(0,0,0,0.5); bottom: 0; left: 0;
    position: fixed; right: 0; top: 0; z-index: 2;
}
.overlay-content { /* The "top" and "left" properties should be handled via JS. */
    background: #fff; max-height: 900px; padding: 20px;
    position: absolute; top: 50px; left: 50px; width: 95%;

    margin: 0 auto;
    display: table;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border: 1px solid;

    z-index: 3;
}

@media (min-width: 991px) {
    .overlay-content {
        width: 854px;
    }
}