﻿body {
    margin-top: 5.5em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

label {
    width: 100px;
    display: inline-block;
    font-weight: bolder;
}

.imagelist-item {
    display: inline-block;
    width: 20em;
    border: 1px dashed;
    text-align: center;
}

    .imagelist-item a img {
        max-width: 100%;
        display: inline-block;
    }


    .imagelist-item .details {
        background-color: white;
        width: 100%;
        text-align: left;
    }


.menu {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 4em;
    padding: 0.5em;
    margin-bottom: 5em;
    border-bottom: 1px solid black;
}

    .menu .logo img {
        max-width: 6em;
        max-height: 4em;
    }

    .menu .header a {
        text-indent: -9999px;
        text-wrap: none;
        display: inline-block;
    }

    .menu .user-form, .menu .storage, .menu .tenant {
        display: block;
        padding: 0.5em;
        display: inline-block;
        position: absolute;
        bottom: 0em;
        line-height: 1.5;
    }

    .menu label {
        width: unset;
    }

    .menu .user-form {
        right: 1em;
    }

    .menu .storage {
        left: 8em;
        bottom: 2.5em;
    }

    .menu .tenant {
        left: 8em;
    }

    .menu div a, .tenant-list a, .item-list a {
        background-color: #ccc;
        color: black;
        text-decoration: none;
        padding: 0.2em;
    }

        .menu div a:hover, .tenant-list a:hover, .item-list a:hover {
            background-color: #aaf;
        }

.tenant-item {
    width: 10em;
    height: 6em;
    display: inline-block;
    border: 1px dashed #ccc;
    margin-right: 1em;
    position: relative;
}

    .tenant-item img {
        display: block;
        max-height: 4em;
        max-width: 10em;
    }

    .tenant-item a {
        display: block;
        width: 9.5em;
        position: absolute;
        bottom: 0px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.lead-search {
    background-color: #eee;
    padding-top: 1em;
    padding-left: 1em;
}

    .lead-search input[type="submit"] {
        height: 4em;
        top: -0.5em;
        position: relative;
    }

    .lead-search .search-content label {
        width: 4em;
    }

    .lead-search .search-content select, .lead-search .search-content input {
        width: 10em;
    }

    .lead-search .search-date label {
        width: 3em;
    }

    .lead-search .search-date input {
        width: 6em;
    }

    .lead-search div {
        display: inline-block;
    }

.item-list {
    margin: 1em;
}
