#loading_block {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 998;
    background-color: #cce;
    opacity: 0.3;
    display: none
}

#loading_progress {
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 999;
    background: url('/static/img/loading.gif') no-repeat center 50%;
}

.ds-margin-bottom {
    margin-bottom: 1em;
}

.ds-margin-left {
    margin-left: 1em;
}

.ds-margin-top {
    margin-top: 1em;
}

.ds-padding-right {
    padding-right: 1em !important;
}

.ds-padding-right2 {
    padding-right: 2em !important;
}

.ds-inline-block {
    display: inline-block;
}

.ds-input-short {
    height: 26px;
    display: inline-block;
    font-size: 9pt;
}
.ds-input-medium {
    height: 26px;
    display: inline-block;
    font-size: 9pt;
}

.ds-shopping-input-name {
    width: 100%;
    height: 26px;
    font-size: 9pt;
}

.ds-shopping-input-metric {
    width: 60px;
    height: 26px;
    padding: 0 3px;
    font-size: 9pt;
}

select.ds-input-medium {
    padding: 0 5px;
}

.container {
    width: 750px;
}

.ds-pull-right-lg {
    float: right;
}

.ds-text-bold {
    font-weight: bold;
}

.ds-sortable.active {
    color: gray;
}

.ds-sortable .caret {
    display: none;
}

.ds-sortable.active .caret {
    display: inline-block;
}

.ds-sortable-asc .caret {
    border-bottom: 4px solid #000000;
    border-left: 4px solid transparent;
    border-top: 0 dotted;
    border-right: 4px solid transparent;
}

.ds-copiable {
    cursor: pointer;
}

.ds-pointer {
    cursor: pointer;
}

@media (max-width: 1299px) {
    .container {
        width: auto;
    }

    body {
        margin-bottom: 0;
    }
}

@media (max-width: 1023px) {
    .ds-pull-right-lg {
        float: none;
    }

    .ds-input-short {
        width: 80px;
    }

    .ds-input-medium {
        width: 100px;
    }
}

@media (min-width: 1300px) and (max-width: 1599px) {
    .container {
        width: 1300px;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1550px;
    }
}

@media (max-width: 767px) {
    .ds-input-short {
        width: 55px;
    }

    .ds-input-medium {
        width: 90px;
    }

    .form-control {
        padding: 3px 6px;
    }
}

@media (min-width: 1024px) {
    .ds-input-short {
        width: 140px;
    }
    .ds-input-medium {
        width: 220px;
    }
}
