

@media print {
    #screen-only {
        display: none;
    }

    a[href]:after {
        /*content: " (" attr(href) ")"*/
        
    }

    .print-screen:after {
        content: "Today Date";
    }

    .pagebreak {
        clear: both;
        page-break-after: always;
    }

   /* table {
        page-break-inside: avoid;
    }*/

    /*tr {
        page-break-inside: avoid;
        page-break-after:  always;
    }*/
    
    body {
        background: #fafafa;
        color: #333333;
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        font-size: 18px;
    }

    .printview {
        width: 255mm;
        margin: 0px 0px 0px 32px;
        padding: 0px 0px 0px 0px;
    }

    #logo {
        /* width: 255mm; */
        margin: 0px 0px 0px 60px;
        padding: 0px 0px 0px 0px;
    }

    .page-footer {
        line-height: 20px;
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 150px; /* Height of the footer */
        background: #6cf;
    }


    .btn{
        display: none;
    }

    .footer-img {
        width: auto;
        height: 60px;
        /* margin-bottom: 10px; */
    }

    #print-only p {
        display: inline;
    }


    #logo img {
        display:inline;
    }
    /*
    #logo:after {
        content:url(logos/qcmonitorSM.gif)
    }
    */
    #logo-cem img {
        display: inline;
    }
    /*
    #logo-cem:after {
        content: url(logos/CEMGS2.png)
    }
    */
    h6 {
        color: #808080;
        font-size: large;
    }
    #chart {
        margin: 0 auto;
        /*border: 1px solid black;*/
        height: auto;
        width: auto;
        /* min-height: 200px; */
  
    }

    .table-half {
        width: 52%;
    }

    .table-margin {
        margin: 0px 0px 1px 0px;
    }

    .cem-comparison {
        text-align: center;
    }

    /*
        formatting quarterly report fro  print view
    */
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    .title {
        margin-top: 10px;
        margin-bottom: 10px;
        display: inline-block;
    }
    .stdev-plot {
        /* max-width: 100%; */
        width: fit-content;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .plot-image,.plot-image img{
        display: inline;
        max-width: 40% !important;
        height: auto;
        padding:0px 0px 0px 16px;
        margin: 0px 0px 0px 0px;
        margin-left: auto;
        margin-right: auto;
    }
    .stdev-plot{
        /* max-width: 100%; */
        width: fit-content;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .line{
        border: 0;
        border-radius: 1px;
        margin-top: 10px;
        margin-bottom: 10px;
        border-top: 2px solid #c7c7c7;
    }
    .new-item{
        width: 100%; 
        text-align: center; 
        border-bottom: 2px solid #3F51B5; 
        line-height: 0.1em;
        margin: 20px 0 20px; 
    }
    .new-item span { 
        background:#fff !important; 
        padding:0 10px; 
        color: #3F51B5 !important;
    }
    .header {   
       display: inline-block;
       width: 100%;
    } 
    .border-lightblue {
        /* border: 0px solid rgb(212, 28, 43); */
        /* margin-bottom: 5pt; */
        padding: 0pt;
        width: 100%;
        display: inline-block;
    }
}

@media screen {

    #print-only {
        display: none;
    }

    #print-only p {
        display: none;
    }

        #logo {
            display: none;
        }

    #logo img {
        display: none;
    }

    #logo-cem img {
        display: none;
    }

    body {
        background: #fafafa;
        color: #333333;
        margin-top: 5rem;
        margin-bottom: 5rem;
        padding-bottom: 5rem;
        font-size: 16px;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #444444;
    }

    .bg-cem-blue {
        background-color: #0e73ad;
    }

    .bg-cem-blue:hover {
        background-color: #0e73ad;
    }

    .bg-cem-blue a {
        color:antiquewhite
    }

    .bg-cem-blue a:hover {
        color: #0e73ad;
    }

    .site-header .navbar-nav .nav-link {
        color: antiquewhite
    }

    .site-header .navbar-nav .nav-link:hover {
        color: #e89e3b;
    }

    .site-header .navbar-nav .nav-link.active {
        font-weight: 500;
    }

    .content-section {
        background: #ffffff;
        padding: 10px 20px;
        border: 1px solid #dddddd;
        border-radius: 3px;
        margin-bottom: 20px;
    }

    .menu-title{
        color: #444444;
    }

    a.menu-title:hover {
        color: #0056b3;
        text-decoration: none;
    }

    .menu-content {
        white-space: pre-line;
    }

    .menu-position {
        margin-right: 12rem;
    }

    .menu-img {
        height: 80px;
        width: 80px;
        margin-right: 1px;
    }


    .menu-metadata {
        padding-bottom: 1px;
        margin-bottom: 4px;
        border-bottom: 1px solid #e3e3e3
    }

    .menu-metadata a:hover {
        color: #333;
        text-decoration: none;
    }

    .menu-svg {
        width: 25px;
        height: 25px;
        vertical-align: middle;
    }

    .account-img {
        height: 125px;
        width: 125px;
        margin-right: 20px;
        margin-bottom: 16px;
    }

    .account-heading {
        font-size: 2.5rem;
    }

    #chart {
        margin: 0 auto;
        /* border: 1px solid black; */
        /* height: max-content; */
        /* width: max-content; */
        /* min-height: 600px; */
    }


    .title-img {
        height: 60px;
        width: 60px;
        margin-right: 16px;
    }

    /*#monitor{
        margin-top: 0em;
        padding-top: 0rem;
        padding-bottom: 0em;
        margin-bottom: 0em;
    }*/

    .numbered .list-group {
        list-style: decimal inside;
    }

    .numbered .list-group-item {
        display: list-item;
    }

    .alpha{
        list-style: lower-alpha;
    }

    a.anchor {
        display: block;
        position: relative;
        top: -100px;
        visibility: hidden;
    }
 
    .image-inline {
        padding-bottom: 1em;
        display: flex;
        align-items: center;
    }

    .footer {
        /* position:fixed; */
        /* bottom: 0; */
        height: 10rem;
        left: 5rem;
        /* position: fixed;
    left: 0;;
    bottom: 0;
    width: 100%;
    background-color: #0e73ad;
    color: white;
    text-align: center;
    */
    }

    .footer-container {
	    padding: 10px;
	    display: flex;
	    margin: 1em;
    }

    .footer-img {
	    width: auto;
	    height: 60px;
	    /* margin-bottom: 10px; */
    }

    .footer-img-cem {
        width: 220px;
        height: 60px;
        /* margin-bottom: 10px; */
    }

    .push-right {
	    margin-left: auto;
    }

    .page-footer p{
	    /* display: inline-block; */
	    font-size: small;
	    color:antiquewhite;
	    padding-left: 10px;
        margin-bottom:1px; 
    }

    .page-footer a:hover {
	    color:#e89e3b;
    }

    .clearfix {
      overflow: auto;
    }

    .table-half  {
        /* border: 2px solid green; */
        width: 50%;
        /* margin: 5pt; */
        padding: 2pt;
        margin-top: 26pt;
        float: right; 
    }

    .table-margin {
       
        margin: 0px 0px 0px 0px;
    }

    .mr-1{
        margin-right:10px;
    }

    .cem-comparison {
        text-align:center;
    }

    .plot-image{
        float: left;
        /* display: inline; */
        max-width: 50% !important;
        /* height: auto; */
        /* padding:0px 0px 0px 16px; */
        /* margin: 0px 0px 0px 0px; */
        /* margin-left: auto; */
        /* margin-right: auto; */
    }
    .plot-image img{
        /* display: inline; */
        /* max-width: 40%; */
        /* height: auto; */
        /* padding:0px 0px 0px 16px; */
        /* margin: 0px 0px 0px 0px; */
        /* margin-left: auto; */
        /* margin-right: auto; */
        width: 100%;
    }
    
    .stdev-plot{
        /* max-width: 100%; */
        width: fit-content;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .line{
        border: 0;
        border-radius: 1px;
        margin-top: 10px;
        margin-bottom: 10px;
        border-top: 2px solid #c7c7c7;

    }

    .title{
        margin-top: 10px;
        margin-bottom: 10px;
        display: inline-block;
    }

    .new-item{
        width: 100%; 
        text-align: center; 
        border-bottom: 2px solid #3F51B5; 
        line-height: 0.1em;
        margin: 10px 0 20px; 
    }
    .new-item span { 
        background:#fff; 
        padding:0 10px; 
        color: #3F51B5;
    }

    .header {           
        /* border: 2px solid rgb(146, 146, 60); */
       /*  padding-right: 10pt;
       padding-left: 10pt;
       margin-top: auto;
       margin-bottom: auto; */
       display: inline-block;
       width: 100%;
   }
   .border-lightblue {
    /* border: 0px solid rgb(212, 28, 43); */
    /* margin-bottom: 5pt; */
    padding: 0pt;
    width: 100%;
    display: inline-block;
    }

}