﻿body {
    padding-top: 40px !important;
}

.titlebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    white-space: nowrap;
    overflow: visible;
    background-color: #fff;
    color: #000;
    z-index: 1030;
}

    .titlebar > .container {
        white-space: nowrap;
        overflow: visible;
        position: relative;
    }

    .titlebar > .container > .account {
        vertical-align: top;
        height: 34px;
        width: 34px;
        border-radius: 18px;
        margin-top: 4px;
        display: inline-block;
    }

        .titlebar > .container > .account img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            border-radius: inherit;
        }

    .titlebar .title {
        display: inline-block;
        font-weight: normal;
        font-size: 24px;
        line-height: 24px;
        padding: 8px 0;
    }

    .titlebar > .container > .btn,
    .titlebar > .container > .btnbar .btn {
        vertical-align: top;
        height: 34px;
        font-size: 15px;
        /*line-height: 17px;*/
        width: auto;
        min-width: 36px;
        border-radius: 16px;
        margin-top: 4px;
        position: relative;
        /*padding: 7px;*/
        /*border-color: transparent;*/
    }

    .titlebar .btn_badge {
        background-color: red;
        border-radius: 5px;
        height: 10px;
        width: 10px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .titlebar .btn_badge_info {
        background-color: #3c763d;
        border-radius: 5px;
        height: 10px;
        width: 10px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .titlebar .btn img {
        vertical-align: unset;
        object-fit: cover;
    }

    .titlebar .btn .btn-text {
        font-size: 14px;
        padding: 0;
    }

.btnbar {
    display: inline;
    float: right;
    width: auto;
    /*height: 100%;*/
    white-space: nowrap;
    overflow: visible;
    margin-left: 4px;
    /*position: absolute;
                top: 0;
                right: 15px;*/
}

.titlebar .input-group {
    display: inline-table;
    vertical-align: middle;
    margin-top: 4px;
}

    .titlebar .input-group .input-group-addon:first-child,
    .titlebar .input-group .input-group-btn:first-child .btn,
    .titlebar .input-group input:first-child,
    .titlebar .input-group select:first-child {
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }

    .titlebar .input-group .input-group-addon:last-child,
    .titlebar .input-group .input-group-btn:last-child .btn,
    .titlebar .input-group input:last-child,
    .titlebar .input-group select:last-child {
        border-top-right-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .titlebar .input-group input,
    .titlebar .input-group select {
        min-width: 34px;
    }

    .titlebar .input-group .input-group-btn .btn {
        font-size: 15px;
        height: 34px;
    }

@media (min-width: 992px) {
    .titlebar .input-group-addon,
    .titlebar .input-group-btn,
    .titlebar .form-control {
        width: auto !important;
    }
}

@media print {
    .titlebar {
        position: relative;
    }
}
