
/*.navbar-brand {
    padding: 0px 0px;
    width: 350px;
    height: 57px;

    !* background-image: url('/gui2/images/m2logo1.png'); *!
    !* background-image: url('/gui2/images/m2logo2.png'); *!
    background-repeat: no-repeat;
    background-size: contain;
}*/

.navbar-brand * {
/*  display:none; */
}

.bl-list .selected {
    background: #ededed !important;
}

.list-item.ui-selected {
    border: 1px solid #d3d7db;
    background: rgb(231, 233, 236);
}


.citation_list .Publication {
    display: inline-table;
}

.list-item .item-right .author {
    margin-top: 3px;
}

.top-numbers {
    display: table;
    margin-bottom: 10px;
    margin-left: 1px;
    width: 80%;
    width: -moz-calc(100% - 50px);
    width: -webkit-calc(100% - 50px);
    width: calc(100% - 50px);
}

.top-numbers .dropdown {
    padding-right: 5px;
    display: inline-flex;
    display: -webkit-inline-flex;
}

.top-numbers > div {
    font-size: 30px;
    font-weight: 600;
    vertical-align: middle;
    color: #444;
}

.sortingBox {
    float: right;
    margin-top: 14px;
    color: #444;
    font-size: 13px;
}

.chartDiv {
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.chartDiv > div:first-of-type {
    margin-top: 0;
}

.lineChart > canvas,
#chartCanvas {
    /*background: #1caf9a;*/
    background: #F7F7F7;
    /*background: #33D2BB;*/
    border-radius: 5px;
    color: #fff;
    padding: 15px;
    border: #8f939e 1px solid;
}

.container-fixed, .top-numbers-fixed  {
    position: fixed;
    z-index: 1000;
    background-color: #bdc5ce;
    padding: 15px;
    margin: -10px 0 0 0;
    width: 100%;
    color: #1d2939;
}

.top-numbers-fixed {
  z-index: 950;
}

.container-fixed:before, .top-numbers-fixed:before {
    content: "";
    border-bottom: 4px solid #1CAF9A;
    width: 100%;
    position: absolute;
    margin-left: 0px;
    left: 0;
    bottom: 0;
    height: 1px;
}

.fixed-title h3 {
    font-size: 20px;
    margin: 0;
    vertical-align: middle;
    line-height: 40px;
}

.search-result {
    margin: 0px;
}

.search-result {
    font-size: 18px;
    display: inline;
}

@media (max-width: 480px) {

    .top-numbers button {
        padding: 4px 2px;
    }

    .top-numbers .dropdown span {
        line-height: 1;
        font-size: 12px;
    }
}

.line-legend {
    padding: 5px 0;
    text-align: center;
}
.chartDiv {
    position: relative;
}
.workingpie-legend {
    position: absolute;
    top: 50%;
    right: 0;
    width: 220px;
    max-width: 11vw;
    transition: max-width 0.5s;
    transform: translateY(-50%) translateY(-10px);
    background: rgba(255,255,255,0.8);
    padding: 3px 0;
    border-radius: 3px;
    overflow: hidden;
}
.workingpie-legend:hover {
    max-width: 220px;
}
@media (min-width: 2000px) {
    .workingpie-legend {
        max-width: 220px;
    }
}

.chartLegend li {
    padding: 1px 5px;
    text-align: left;
    font-size: 0.85em;
    align-items: center;
}
.chartLegend li span {
    margin-right: 5px;
    display: block;
}
.chartLegend li span:nth-of-type(2) {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chartLegend li span:nth-of-type(3) {
    font-size: 0.8em;
    color: #666;
}

.line-legend li {
    display: inline-flex;
}
.workingpie-legend li {
    display: flex;
    width: 220px;
    max-width: 100%;
}

.line-legend li > span:first-of-type,
.workingpie-legend li > span:first-of-type {
    min-width: 15px;
    height: 15px;
    border-radius: 3px;
}

.pieChart > canvas {
    margin: 0 10px;
}

.chartHolder {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}
@media (min-width: 992px) {
    .chartHolder {
        flex-direction: row;
    }
}
.chartHolder #labelsDiv {
    align-self: center;
}

.chartDiv.disableLegend .chartLegend {
    display: none;
}