
.ms-result div{
  display:inline-block;
}

.ms-result .headline, .ms-result .ms-head{
  font-weight:bolder;
  font-size:14px;/*20px*/
  display:block;
  margin: 15px 0 0 0;
}
.ms-result .ms-head{
  margin:15px 0 0 0;
}
.ms-result .ms-total{
  border-top:1px solid rgba(0,0,0,0.5);
  border-right:1px solid rgba(0,0,0,0.5);
  border-left:1px solid rgba(0,0,0,0.5);
}
.ms-result .ms-total-top{
  border-bottom: 0 !important;
  height:18px;
  margin:0 !important;
}
.ms-result .ms-total-mid{
  padding:3px 0 0 0 !important;
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-right:1px solid rgba(0,0,0,0.5);
  border-left:1px solid rgba(0,0,0,0.5);
  height:18px;
}
.ms-result .ms-total-bot{
  padding:3px 0 0 0 !important;
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.5);
  border-right:1px solid rgba(0,0,0,0.5);
  border-left:1px solid rgba(0,0,0,0.5);
  height:18px;
}
.ms-result .ms-location-top{
  border-left:1px solid rgba(0,0,0,0.5);
  height:18px;
}
.ms-result .ms-location-mid{
  padding:3px 0 0 0 !important;
  margin: 0 !important;
  border-left:1px solid rgba(0,0,0,0.5);
  height:18px;
}
.ms-result .ms-location-bot{
  padding:3px 0 0 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.5);
  border-left:1px solid rgba(0,0,0,0.5);
  height:18px;
}
.ms-result .subline{

}
.ms-result .ms-group{
  display:block;
  width:fit-content;
  width:-moz-fit-content;
  padding: 5px 0px 10px 0px;
}
.ms-result .ms-head{
  display:block;
  width:fit-content;
  width:-moz-fit-content;
}

.ms-result .no-content{
  margin: 20px 0 0 0;
  font-size:14px;/*16px*/
}
.ms-result .row0{
  background-color:#FFF;
}
.ms-result .row1{
  background-color:#F8F8F8;
}
.ms-result .headline-2{
  font-size:14px;/*17px*/
  display:block;
  margin: 10px 0 0 0;
  border-bottom:1px solid black;
}
.ms-result .headline-3{
  font-size:14px;/*15px*/
  display:block;
  margin: 8px 0 0 0;
}
.ms-result .headline-4{
  font-size:14px;/*13px*/
  display:block;
  margin: 5px 0 0 0;
  border-bottom:1px solid rgba(0,0,0,0.3);
}

.ms-result .headline-right{
  float:right;
}
.ms-result .subline-group div{

}
.ms-result .subline-group-details div{

}
.ms-result .subline-group-details{
  display:block;
}
.ms-result .details{

}
.ms-result .subline-content{

}
.ms-result .sales, .ms-result .amount{
  text-align:right;
  width:145px;
}
.ms-result .category, .ms-result .ordertype{
  width:350px;
  white-space:nowrap;
}
.ms-result ::-webkit-scrollbar {
  /* This is the magic bit */
  display: none;
}
#ms-pdf-headline{
  display:none;
}
.ms-head-title {
  border-top: 1px solid;
  border-right: 1px solid;
  border-left: 1px solid;
  height:18px;
}
.ms-print-head,
.ms-print-footer,
.ms-print-subhead{
  display:none!important;
}

.ms-result .fundingtype{
  width:342px;
  max-width:342px;
  margin: 0 4px 0 0;
}

.ms-result .headline-fundingtype-bot, .ms-result .headline-fundingtype-mid, .ms-result .headline-fundingtype-top, .ms-result .headline-fundingtype-single,
.ms-result .headline2-bot, .ms-result .headline2-mid, .ms-result .headline2-top {
  font-size:14px;/*13px*/
  display:block;
  margin: 5px 0 0 0;
  height:18px;
}
.ms-result .headline2-top,
.ms-result .headline-fundingtype-top {
  margin: 25px 0 0 0;
}
.ms-result .headline-fundingtype-bot,
.ms-result .headline2-bot {
  margin: 0 0 0 0;
}

.ms-result .headline-fundingtype-bot,
.ms-result .headline2-bot {
  border-bottom:1px solid rgba(0,0,0,0.3);
}

.ms-result .headline-fundingtype-single {
  margin: 10px 0 0 0;
  border-bottom:1px solid rgba(0,0,0,0.3);
}

.ms-result .fundingtype-ordertype {
  width:348px;
  max-width:348px;
}

.ms-result .subline-fundingtype-content {

}

.ms-result .not-included-in-calculation {
  color: rgba(0,0,0,0.3);
}

.ms-result .location-headline2 {
  width:434px;
  white-space:nowrap;
  padding: 0 0 0 3px;
}

#ms-top-content .toggle-btn-inactive {
  background-color: #fff;
  color: #0E5581;
  border: 1px solid #0E5581;
  margin: 0 0 0 15px;
}

#ms-top-content .toggle-btn-active {
  background-color: #0E5581;
  color: #fff;
  border: 1px solid #0E5581;
  margin: 0 0 0 15px;
}

.ms-headline-text {
  font-size:12px;
  font-weight:bolder;
  margin: 15px 0 0 0;
}

.ms-result-select-month{
  margin: 0 0 0 15px;
}
#PDF-PRINT{
  margin: 0 0 0 15px;
}
.hide-it {
  display: none;
}
#update-sales-btn {
  margin: 0 0 0 15px;
}
.ms-result .single-headline {
  margin: 10px 0 0 0;
}

@media screen {
  .ms-result {
    font-size:14px;/*12px*/
    width:fit-content;
    width:-moz-fit-content;
    margin-left:33px;
  }
  .ms-result .ms-content{
    overflow-y: scroll;
    max-height:730px;
    width: 100%;
  }
  .ms-result .tabspace-level1{
    width:30px;
  }
  .ms-result .tabspace-level2{
    width:60px;
  }
  .ms-result .tabspace-level3{
    width:90px;
  }
  .ms-result .tabspace-level4{
    width:120px;
  }
  .ms-result .location{
    width:464px;
    height:20px;
    white-space:nowrap;
    padding: 0 0 0 3px;
  }
  .ms-result-select-location{
    width:360px;
    max-width:360px;
  }
}

@media print {
  /*Umbruch nach jedem Standort*/
  div.ms-group{
    position:relative;
    page-break-after:always;
    page-break-inside:avoid;
  }
  @page {
    margin: 0px;
  }
  /*Umbruch alle zwei Standorte
  div.row0{
    position:relative;
    page-break-after:always;
    page-break-inside:avoid;
  }*/

  /*.ms-result-select-month,  .ms-result-select-year, .ms-result-select-location, .ms-result #PDF-PRINT{
    display:none;
  }*/
  /*
  einmalig GESAMT ausblenden, bei einzelnen
  .ms-head .ms-total{
    display:none !important;
  }
  */
  .clear-class {
    clear: right;
  }
  /*  #wrapper {
      display:none;
    }*/
  #ms-top-content,
  #top,
  #bottom_container,
  #footer_container,
  .ms-result .tabspace-level1,
  .ms-result .tabspace-level2,
  .ms-result .tabspace-level3,
  .ms-result .tabspace-level4 {
    display: none;
  }
  #ms-pdf-headline{
    display:block;
  }
  .ms-result {
    font-size:14px;/*12px;*/
    width:fit-content;
    width:-moz-fit-content;
  }
  .ms-result .headline-2{
    font-size:14px;/*14px;*/
    display:block;
    margin: 25px 0 0 0;
    border-bottom:1px solid black;
    font-weight:bolder;
  }
  .ms-result .headline-3{
    font-size:14px;/*12px;*/
    display:block;
    margin: 8px 0 0 0;
    font-weight:bolder;
  }
  .ms-result .headline-4{
    font-size:14px;/*11px;*/
    display:block;
    margin: 5px 0 0 0;
    border-bottom:1px solid rgba(0,0,0,0.3);
  }
  .ms-result .headline, .ms-result .ms-head{
    font-weight:bolder;
    font-size:14px;/*15px;*/
    display:block;
    margin: 15px 0 0 0;
  }
  .ms-result .ms-head .location{
    width:315px;/*215px*/
    max-width:315px;/*215px*/
  }
  .ms-result .ms-group .location,
  .ms-result .ms-group .location-headline2 {
    width:315px;/*215px;*/
    max-width:315px;/*215px*/
    margin-bottom:10px;
    white-space:nowrap;
  }
  .ms-result .category, .ms-result .ordertype, .ms-result .fundingtype-ordertype, .ms-result .fundingtype{
    width:315px;/*215px;*/
    max-width:315px;/*215px*/
    white-space:nowrap;
  }
  .ms-result .sales, .ms-result .amount{
    text-align:right;
    width:150px;
    max-width:150px;/*215px*/
  }
  .ms-result .ms-content{
    display:block;
    overflow-y: none;
    max-height:none;
  }
  .ms-result .ms-head, .ms-result .ms-content, .ms-result .ms-total {
    margin-left: 75px!important;
  }
  .ms-result .ms-content .ms-print-head, .ms-result .ms-content .ms-print-subhead {
    margin-left: 0px!important;
  }
  /**/
  .ms-print-head,
  .ms-print-footer{
    display:block!important;
    font-size:18px;
  }
  .ms-print-head{
    font-weight:bolder;
    margin: 0 0 75px 0;
    margin-left: 75px;
  }

  .ms-result .ms-content .ms-group .ms-location-top{
    margin: 0 0 0 0!important;
    border-top: 1px solid;
  }
  .ms-result .ms-content .ms-group{
    padding: 0 0 10px 0!important;
  }

  .ms-print-head div{
    display:block!important;
    margin: 0 0 5px 0;
  }
  .ms-print-subhead{
    display:block!important;
    margin: 0 0 30px 0;
  }
  .ms-print-footer{
    margin: 25px 0 0 0;
  }
  .ms-print-footer div{
    float:right;
  }
}
