html,
body {
    height: 100%;
    overflow-x: hidden;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 0 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.cbalink {
    background-color: #f5f5f5;
}

.blueimp-gallery > .download {
    position: absolute;
    top: 30px;
    left: 15px;
    color: #fff;
    display: none;
}

.blueimp-gallery-controls > .download {
    display: block;
    padding-top: 23px;
}

.img-wrap.sold-out {
    position: relative;
    opacity:0.5;
    -moz-opacity:0.5;
    filter: alpha(opacity=50) black;
    -khtml-opacity: 0.5;
    background-color:#000;
}

.img-wrap {
    position: relative;
}

.img-wrap.sold-out h5 {
    color: whitesmoke;
    position: absolute;
    left: 38%;
    top: 35%;
    background: red;
    width: auto;
    border-radius: 5px;
    padding: 2px 5px;
}

.old-price {
    color: #999;
    font-size: 13px;
    position: relative;
    display: inline-block;
    line-height: 1;
    text-decoration: line-through;
}

.new-price {
    color: red;
    font-weight: bolder;
}

.img-wrap .will-be-cleared-by {
    color: whitesmoke;
    position: absolute;
    right: 1%;
    top: 1%;
    background: rgb(143 6 114 / 85%);
    /*background: rgb(149, 18, 122);*/
    width: auto;
    border-radius: 0 5px;
    padding: 2px 5px;
}

.img-wrap .location {
    color: whitesmoke;
    position: absolute;
    left: 1%;
    bottom: 1%;
    background: #ba1478;
    width: auto;
    border-radius: 0 5px;
    padding: 2px 5px;
}

.img-wrap .location:has(.prepare-to-sale-overdue) {
    background-color: #9013b9;
    animation: blink-sharp-animation 1s step-end 7;
}

@keyframes blink-sharp-animation {
    50% {
        background-color: transparent; /* Alternating color */
    }
}

.img-wrap .for-the-army {
    color: whitesmoke;
    position: absolute;
    right: 1%;
    bottom: 1%;
    /*background: #f737fa;*/
    background: #F7370A;
    width: auto;
    border-radius: 5px 0;
    padding: 2px 5px;
}

.label-for-the-army {
    background-color: #F7370A;
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row.display-flex > [class*='col-'] > .thumbnail {
    height: 100%;
    width: 100%;
}


.label-status-SOLD {
    background-color: #d9534f;
}

.label-status-ACTIVE {
    background-color: #5cb85c;
}

.label-status-HIDDEN {
    background-color: #f0ad4e;
}

.label-status-DELETED {
    background-color: #5bc0de;
}

.label-status-PROCESSING {
    background-color: #777777;
}

.label-status-PREPARE_TO_SALE {
    background-color: #9013b9;
}

.alert-important {
    color: #241d8a;
    background-color: #fcf91c;
    border-color: #fa7d59;
}

.alert-notice {
    color: #008000;
    background-color: #f7b4cf;
    border-color: #ff06d7;
}

#go-top-button {
    display: inline-block;
    background-color: rgb(182, 13, 98);
    width: 50px;
    height: 43px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    color: #fff;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}
#go-top-button:hover {
    cursor: pointer;
    background-color: #333;
}
#go-top-button:active {
    background-color: #555;
}
#go-top-button.show {
    opacity: 1;
    visibility: visible;
}
.modal-xlg {
    width: 1200px;
}

#call-back-button {
    display: inline-block;
    background-color: rgb(0, 200, 255);
    width: 50px;
    height: 43px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 4px;
    transition: opacity .3s, background-color .3s;
    z-index: 1000;
    color: #fff;
    font-size: 2em;
    line-height: 43px;
    opacity: 0.4;
    animation: blink 60s infinite;
}
#call-back-button:hover {
    cursor: pointer;
    background-color: #333;
    opacity: 1;
}
#call-back-button:active {
    background-color: #4cae4c;
}
@keyframes blink {
    0%, 1.5%, 3%, 4.5%, 6% {
        opacity: 1;
    }
    0.75%, 2.25%, 3.75%, 5.25% {
        opacity: 0;
    }
    6.01%, 100% {
        opacity: 0.4;
    }
}

/* file input custom frame css begin */

.custom-frame {
    cursor: grab;
    width: 129px;
}

.custom-frame.file-preview-frame {
    margin: 1px;
    padding: 1px;
}

.file-drop-zone .file-preview-thumbnails .custom-frame .file-footer-caption {
    margin-bottom: -64px
}

.custom-frame.file-preview-frame .file-thumbnail-footer {
    height: 0px;
}

.custom-frame.file-preview-frame .kv-file-content {
    width: 125px;
    height: 94px;
}

.custom-frame .file-thumbnail-footer .file-drag-handle {
    display: none;
}

.custom-frame .file-footer-buttons .btn {
    opacity: 0.5;
    color: black;
}

.custom-frame .file-footer-buttons .btn:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .file-preview-thumbnails {
         display: ruby;
    }
}

/* file input custom frame css end */

.favorite-btn {
    color: #ba1478;
}

.popover-xlg {
    min-width: 700px;
}

.table > thead > tr > td.dirty-brown, .table > tbody > tr > td.dirty-brown, .table > tfoot > tr > td.dirty-brown, .table > thead > tr > th.dirty-brown, .table > tbody > tr > th.dirty-brown, .table > tfoot > tr > th.dirty-brown, .table > thead > tr.dirty-brown > td, .table > tbody > tr.dirty-brown > td, .table > tfoot > tr.dirty-brown > td, .table > thead > tr.dirty-brown > th, .table > tbody > tr.dirty-brown > th, .table > tfoot > tr.dirty-brown > th {
    background-color: #cdb19f;
}
