@media (max-width: 768px) {
    .dl-horizontal dt {
        float: left;
        width: 30px;
        clear: left;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-left { display: none; }

    .navbar .dropdown-menu.dropdown-add { position: absolute; top: 0; left: 0; background: #fff; }

    .login-page .connection { width: 80%; margin: 0; left: 10%; right: 10%; top: 20%; }

    .login-page input.sonata-medium { width: 100% !important; }

    .scrap-item .box-footer { font-size: 13px; }

}
dl.narrow dt {
    width: 55px;
}
dl.narrow dd {
    margin-left: 60px;
}

.fancybox-title-float-wrap .child {
    white-space: normal !important;
}

.box-header {
    display: flex;
}

.box .box-header > .box-tools {
    flex: 0 0 auto;
    padding: 5px 10px 5px 0;
}

.box .box-header > .box-title {
    font-size: 16px;
    width: 100%;
    height: 45px;
    line-height: 110%;
    font-weight: 600;
    overflow: hidden;
    padding-top: 5px;
    /*text-overflow: ellipsis;
    white-space: nowrap;*/
}

.box .box-title .badge { position: absolute; top: 50px; left: 5px; }

.c-grey {
    color: #eee;
}

.skin-black .form-bright input[type="text"] {
    color: #eee;
}

.skin-black .form-bright {
    border-top: 1px solid #444;
}

.skin-black .form-bright h4 {
    margin-bottom: 15px;
}

.navbar-nav > .user-menu > .dropdown-menu {
    width: 200px;
}

.square {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.scrap-item-container .box-body {
    position: relative;
}

.scrap-item-container .age-badge {
    position: absolute;
    top: 55px;
    right: 15px;
}

.scrap-item-container .hazardous {
    position: absolute;
    top: 75px;
    left: 5px;
}

.placeholder {
    border: 1px solid #333;
    background-color: #cecece;
    -webkit-box-shadow: 0px 0px 10px #888;
    -moz-box-shadow: 0px 0px 10px #888;
    box-shadow: 0px 0px 10px #888;
}

/** SIDE MENU **/
.sidebar .sidebar-menu li {
    margin: 0;
    padding: 0;
}
.sidebar .sidebar-menu li > a {
    padding: 12px 5px 12px 15px;
    display: block;
}
.skin-black .sidebar > .sidebar-menu li > a {
    margin-right: 1px;
}
.skin-black .sidebar > .sidebar-menu li > a:hover,
.skin-black .sidebar > .sidebar-menu li.active > a {
    color: #f6f6f6;
    background: #444;
}

.wait-cursor {
    cursor: wait;
}

.wait-cursor a {
    cursor: inherit;
}

.scrap-item-placehoder { background: #f2f2f2; }

.scrap-item:hover .box { box-shadow: 0 0 11px rgba(33,33,33,.2); }

.ui-autocomplete {
    max-height: 120px;
    overflow-y: auto;
    z-index: 9999;
    overflow-x: hidden;
}

* html .ui-autocomplete {
    height: 100px;
}

.logo span { width: auto !important; text-align: left !important; margin-left: 10px; line-height: 32px !important; margin-top: -5px; }
