
/*
    styles ++
*/

/* bootstrap model showing two scroll bars */

html {
    overflow: visible;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

@media (min-width: 1200px) {
    .page-content {
        margin-left: 16.25rem;
    }
}

.footer {
    background-color: #5786e8;
}

/* Components */
.datepicker.dropdown-menu {
    visibility: visible;
    opacity: 1;
    width: auto;
    max-width:none;
}

/* 
  1. Use the same color as card.
  2. Ensure that the sticky layer is above the card content.
*/

/* Header fixed to the top of the card */
.card-header--sticky {
    position: sticky;
    top: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}

/* Footer fixed to the bottom of the card */
.card-footer--sticky {
    position: sticky;
    bottom: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}


/* prevent the drop down icon going onto a new line for the top bar language link */
.top-bar-language-nav-link {
    min-width: 65px;
}

/* main sidebar not under model */
.modal {
    z-index: 1110;
}
    /* modal full screen */
    .modal.fullscreen {
        padding: 0 !important; /* override inline padding-right added from js */
    }

        .modal.fullscreen .modal-dialog {
            width: 100%;
            max-width: none;
            height: 100%;
            /*margin: 0;*/
        }

        .modal.fullscreen .modal-content {
            height: 100%;
            border: 0;
            border-radius: 0;
        }

        .modal.fullscreen .modal-body {
            overflow-y: auto;
        }

.form-group.required .col-form-label:after {
    color: #d00;
    content: "*";
    position: absolute;
    margin-left: 3px;
}

.nav-user-menu .user-image {
    width: 20px;
    margin-right: 4px;
    margin-top: -4px;
}

.famfamfam-flags {
    display: inline-block;
}

.dtr-title, .dtr-data {
    display: block;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: top;
}
.card-img-carousel {
    max-width: 400px;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
}

.card-img-reward {
    height: 200px;
    object-fit: cover;
    object-position: top;
}

/*
    qr effect
*/

.copy-box {
    position: relative;
    /*display: inline-block;*/
    margin: 0 auto;
    /*width: 200px;*/
    background-color: #111111;
    color: #333333;
    font-family: sans-serif;
    /*padding: 20px;*/
}

    .copy-box .line {
        position: absolute;
        background-color: aqua;
        box-shadow: 0px 0px 12px aqua;
        width: 4px;
        height: calc(100% - 20px);
        top: 10px;
        left: 12px;
        /*border-radius: 50%;*/
        border-radius: 2px;
        overflow: hidden;
    }

        .copy-box .line .scanner {
            position: absolute;
            top: 0;
            left: 0;
            background: white;
            width: 100%;
            height: 20px;
            border-radius: 50%;
            animation: scanner-loop 3s ease-in-out infinite;
        }

@keyframes scanner-loop {
    0% {
        top: 0;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

.copy-box .inner {
    /*padding: 30px;*/
}

/*
    Google Map

*/
/* Places Modal fix*/
.pac-container {
    z-index: 9999 !important;
}


/*
    ChoiseJS

*/
/*Fix close button collision*/
.choices[data-type="select-multiple"] .choices__inner {
    padding-right: 2em !important;
}
/*Open Close Button Styles*/
.choise-open-close-button {
    cursor: pointer;
    position: relative;
    left: -25px;
}

/*
    Grid
*/

.grid-actions i {
    font-size: 0.9rem !important;
}
