.tabs {
    margin: 0.3em 1em 1em 0;
    padding: 0;
    a:link,
    a:visited {
        display: inline-block;
        background-color: #e0e0e0;
        color: #333;
        margin-right: .2em;
        padding: .3em .8em;
        text-decoration: none;
        text-align: center;
        border-radius: 6px;
    }
    a:hover {
        background-color: #B6D3E2;
    }
    a.selected {
        background-color: #2e5d74;
        color: #fff;
    }
    li {
        display: inline;
    }
}

/* By default, hide all panels except the loading one and panels inside a panel. */
.panel {
    display: none;
}
.panel .panel,
#loading-panel {
    display: block;
}

.toggle-filters {
    float: right;
}
.toggle-filters:before {
    content: url('../../img/3rdparty/silk/arrow_top.png');
    display: inline-block;
    height: 16px;
    padding: 5px;
    vertical-align: middle;
    width: 16px;
}
.toggle-filters.show:before {
    content: url('../../img/3rdparty/silk/arrow_bottom.png');
}

#aggregations-panel {
    .panel {
        float: left;
        width: 45%;

        .options {
            background-image: url('../../img/3rdparty/silk/cross.png');
            display: inline-block;
            float: right;
            height: 16px;
            margin-top: 10px;
            padding: 4px;
            text-indent: -9999px;
            width: 16px;
        }
    }

    .controls {
        text-align: center;
        position: relative;

        .loader {
            background-image: url('../../img/ajax-loader16x16.gif');
            display: inline-block;
            height: 16px;
            position: absolute;
            top: 0;
            right: 0;
            width: 16px;
        }

        .fields-list {
            width: 30%;
        }

        button {
            padding: 2px 6px;
            vertical-align: middle;
        }

        hr {
            background-color: #ccc;
            border-color: #ccc;
            color: #ccc;
            margin-top: 15px;
            width: 60%;
        }
    }
}
