﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.navbar-inverse {
    background-color: #1e1e1e;
}

    .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
        background-color: #1e1e1e;
    }

body #loginForm .navbar-brand img {
    width: 100%;
}

body #loginForm {
    margin-top: 25px;
}

    body #loginForm input {
        color: #a93439;
    }

    body #loginForm p.help-block {
        margin: 5px auto;
    }

    body #loginForm ul.loginHelp {
        font-size: 11px;
        color: #737373;
    }

    body #loginForm .loginError {
        float: right;
        padding-bottom: 10px;
        color: #c74029;
    }

    body #loginForm form .btn-villa-login {
        color: #fff;
        background-color: #1e1e1e;
        border-color: #000;
    }

    body #loginForm .navbar-brand {
        height: auto;
        margin: auto;
        padding: 0 0 10px 0;
    }

    body #loginForm label {
        font-weight: 400;
    }

    body #loginForm form .btn-villa-login:hover {
        background-color: #232323;
    }

h1.villaRed, h2.villaRed, h3.villaRed, h4.villaRed {
    color: #a93439;
}

.input-validation-error {
    border: 1px solid #c74029;
}

select.input-validation-error {
    color: #c74029;
}

.navbar-header .navbar-brand img {
    height: 30px;
}

a {
    color: #A93439;
}

    a:hover, a:focus {
        color: #A93439;
    }

footer {
    text-align: center;
}

.massive-font {
    font-size: 30px;
    text-align: center;
}

#discountProgress .progress {
    height: 75px;
    text-align: center;
    background-color: rgb(153, 153, 153);
}

#discountProgress .progress-bar {
    padding-top: 15px;
    color: #2f2f2f;
}

p.monthlyAllowance {
    color: #188519;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.spentAmount {
    color: #fff;
}

h3.successCheck {
    font-size: 35px;
    color: #188519;
    text-align: center;
}

body .errorContent {
    text-align: center;
}

div.errorContainer {
    color: #a93439;
}

table.accountSettings td {
    width: 50%;
}

#loadingModal .modal-content, #errorModal .modal-content, #successModal .modal-content {
    font-size: 20px;
    color: #a93439;
    text-align: center;
}

    #successModal .modal-content .glyphicon {
        font-size: 50px;
    }

#successModal .modal-content {
    color: #5cb85c;
}

    #successModal .modal-content .customMessage {
        color: #444;
    }

.input-group-addon label {
    margin-bottom: 0;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    min-height: 350px;
    padding: 10px 10px 50px 10px;
}

    .swiper-slide img {
        height: auto;
        width: auto;
        margin: auto;
        border-radius: 5px;
        box-shadow: 5px 5px 10px #888888;
        max-height: 320px;
        max-width: 100%;
    }

button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}

.swiper-slide .row {
    width: 100%;
}

.swiper-slide .releaseImageContainer {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px;
}

.swiper-slide .releaseDetailsContainer {
    margin-left: 30px;
    margin-right: 30px;
}

    .swiper-slide .releaseDetailsContainer table {
        text-align: left;
        font-size: 14px;
    }

.swiper-slide .releaseImageContainer .bannerOverlay {
    display: inline-block;
    position: relative;
}

.swiper-slide .releaseImageContainer h4 {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    margin-top: 0;
}

    .swiper-slide .releaseImageContainer h4 span {
        color: white;
        font-weight: bold;
        font-size: 20px;
        letter-spacing: -1px;
        background: rgb(0, 0, 0); /* fallback color */
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        display: block;
        text-align: center;
    }

.strikethough {
    text-decoration: line-through;
}

.simulatedDisabled {
    cursor: not-allowed;
    background-color: #EBEBE4;
}

#imagePopModal {
    outline: none;
}

    #imagePopModal .imagePreview {
        width: 100%;
        max-width: 100%;
    }

.swiper-slide.loadingAlert .loadingContainer {
    text-align: center;
    color: #a93439;
    font-size: 24px;
}

.margin-top20 {
    margin-top: 20px;
}

.pull-left h3, .pull-right h3 {
    margin: 0px;
}

.balance-remaining {
    font-size: 15px;
    text-align: center;
    color: #188519;
    font-weight: 600;
}

@media (max-width: 400px) {
    h3 .adminHeader {
        font-size: 18px;
    }

    h3.successCheck {
        font-size: 30px;
    }

    .swiper-slide .releaseImageContainer h4 span {
        font-size: 14px;
    }

    .swiper-slide.loadingAlert .loadingContainer {
        text-align: center;
        color: #a93439;
        font-size: 14px;
    }
}


/* ID Card */
*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

.card {
    margin: auto;
    position: relative;
    /*    width: 296px;
    height: 188px;*/
    width: 330px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    border: solid 4px rgba(255, 255, 255, 0.1);
    background-color: #e4e4e4;
    background-position: center;
    background-size: cover;
    box-shadow: rgba(255, 255, 255, 0.25) 0px 54px 55px, rgba(255, 255, 255, 0.12) 0px -12px 30px, rgba(255, 255, 255, 0.12) 0px 4px 6px, rgba(255, 255, 255, 0.17) 0px 12px 13px, rgba(255, 255, 255, 0.09) 0px -3px 5px;
}

    .card h1 {
        font-size: 20px;
        margin: 0px;
    }

    .card h2 .text-muted {
        font-size: 14px;
    }

    .card h2 {
        font-size: 16px;
        margin: 0px;
    }

    .card h3 {
        font-size: 11px;
        margin: 0px;
    }

    .card p {
        font-size: 11px;
        margin: 0px;
    }

.card p.effective-date {
            position: absolute;
            bottom: 0px;
            right: 2px;
            font-size: 9px;
        }

.card section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card .top,
.card .bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .card .top img {
        width: 20px;
    }

.card .brand {
    height: 20px;
/*    mix-blend-mode: overlay;*/
}

.card .infos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card .infos--bottom {
    display: flex;
    gap: 20px;
}

.card .discount-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.card barcode {
    margin: auto;
    background-color: #f9f9f9;
    width: 100%;
    text-align: center;
    padding: 2px 0px;
    border-radius: 5px;
}

.card barcode img.employeeIdBarcode {
    width: 100px;
    text-align: center;
}

.card .promotion-details {
    gap: 4px
}

.card .promotion-date {
    font-size: 9px;
}

.card .promotion-valid {
    color: green;
}

.card .promotion-invalid {
    color: red;
}
