
@import url("./admin/basics.css");
@import url("./admin/bs-tweaks.css");
@import url("./admin/content.css");

@import url("./admin/select-sortable.css");


main > .container {
    max-width: 1600px
}

table th {
    white-space: nowrap;
}
table th a {
    color: #888888;
}
table th a:after {
    display: inline-block;
    margin: 0 0 0 0.5rem;
    font-weight: bold;
}
table th a.asc:after {
    content: "◁";
    rotate: 90deg;
}
table th a.desc:after {
    content: "◁";
    rotate: -90deg;
}

table th div.bi {
    position: relative;
    top: -0.1rem;
}


.ui-sortable-handle {
    cursor: move;
}

.tox-promotion {
    display: none;
}


.hidden {
    display: none;
}

.grey {
    color: #999999;
}


.content-text {
    
    p:last-child {
        margin-bottom: 0;
    }
}


div.card.content-item {
    div.card-header {
        padding-right: 0.5rem;
        a.dropdown-toggle:after {
            display: none;
        }
    }
}

div.assets-grid {
    margin: 0 -5px 0 -5px;
    width: auto;
    white-space: normal;
}

div#assets_sortable {
    width: 100%;
    overflow-x: visible;
}

div.item-assets-view {
    width: calc(100% - 120px);
}
/* div.asset-list {
    width: calc(100% - 110px);
} */
div.assets-list .caption.inline-block {
    margin:  0 0 15px 12px;
    width: calc(100% - 110px);
    vertical-align: top;
}

.thumbnail {
    position: relative;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin: 0 5px 10px 5px;
    width: 88px;
    height: 88px;
    padding: 4px;
    background-color: #dddddd;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.thumbnail div.icons {
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.65);
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 4px 4px 0 4px;
    color: #000000;
    
    span {
        line-height: 1;
    }
}
.thumbnail div.icons .glyphicon {
    margin: 2px;
}

.thumbnail img {
    margin: auto;
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
}

.thumbnail.no-auto {
    background-color: #bbbbbb;
    border-color: #888888;
}
.thumbnail.no-auto:hover {
    border-color: #666666;
}

.thumbnail.no-auto img {
    opacity: 0.7;
}
.thumbnail.no-auto:hover img {
    opacity: 1.0;
}



.thumbnail:after {
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 4px;
    padding: 0 2px 0 4px;
    font-family: 'Glyphicons Halflings';
    font-size: 18px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.6);
}

.thumbnail.main-preview:after {
    content: "\e067";
}

.thumbnail.home-preview:after {
    content: "\e021";
}




.thumbnail div.other {
    position: absolute;
    top: 24px; bottom: 0; left: 0; right: 0;
    text-shadow: 1px 1px 2px #ffffff, -1px 1px 2px #ffffff, -1px -1px 2px #ffffff, 1px -1px 2px #ffffff;
}
.thumbnail div.other .glyphicon {
    margin: 0;
}

a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: #aaaaaa;
}

div#assets_change_order > div {
    cursor: move;
}



a.history-values-toggle {
    position: absolute;
    right: 10px;
    top: 16px;
    /* font-size: 18px; */
    color: #999999;
}
a.history-values-toggle:before {
    font-family: 'bootstrap-icons';
    content: "\f235";
    /* font-size: 16px; */
}
a.history-values-toggle.collapsed:before {
    content: "\f229";
}
a.history-values-toggle:hover {
    text-decoration: none;
    color: #999999;
}


.list-group-item-icon span.ellipsis {
    display: inline-block;
    vertical-align: top;
    
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 2rem);
    white-space: nowrap;
}


.col-scroll {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}
