
body{
    padding: 0 2%;
    font-family: 'Roboto', sans-serif

}

.web-header{
    display: flex !important;   
     width: 100%;    
     opacity: 1; 
        z-index: 99;   
         justify-content: space-between;   
}

.downloadPDF {
    border-color: #0071B9;
    border: solid 2px;
    height: 60px;
    padding: 10px 20px;
    text-transform: uppercase;
}

.print-header{
    width: 100%;
    z-index: 99;
    background-color: white;
    display: none;
    flex-direction: column;
    margin-bottom: 2%;
}
.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.sub-title{
    width: 100%;
    justify-content: space-between;

}
.web-header{
    display: flex !important;
    width: 100%;
    opacity: 1;
    z-index: 99;
    justify-content: flex-end;
    margin-bottom: 2%;
}
.sub-header{
    display: none;
}

.btn-print{
    display: flex !important;
    opacity: 1;
    width: 150px;
    justify-content: center;
    cursor: pointer;
    color: white;
}

.main-container{
    height: 80%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    color: #0070B8;

}

#second-page{
    flex-direction: column;
    align-items:center;
    justify-content: center;
}

.chart-title{
    font-size: 20px;
    margin-bottom: 1%;
}

.chart-container{
    display: flex;
    flex-direction: column;
    padding: 2%;
    margin-bottom: 2%;
    box-shadow:  5px 5px 32px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
    box-sizing: border-box;
    flex-basis: 40%;
    position: relative;
    overflow: hidden;
}

.chart-container-two-side-by-side{
    display: flex;
    flex-direction: column;
    padding: 2%;
    margin-bottom: 2%;
    box-shadow:  5px 5px 32px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.chart-container:hover {
    box-shadow:  15px 15px 64px 0 rgba(0,0,0,0.6);
}

.chart-text{
    font-size: 12px;
    width: 80%;
    padding-right: 2%;
}

.hover-info {
    color: white;
    opacity: 0;
    padding: 5%;
    position: absolute;
    width: 100%;
    height:20%;
    box-sizing: border-box;
    left: 0;
    bottom: 0;
    
}

.hover-info:hover {
    opacity: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    transition: opacity 0.25s ease-in;
    -moz-transition: opacity 0.25s ease-in;
    -webkit-transition: opacity 0.25s ease-in;
    background-color: rgba(0,0,0,0.8);
    animation-name: hover-up;
    animation-duration: 0.3s ;
}

@keyframes hover-up {
    from {height:0;}
    to {height:20%;}
}

.btn-pdf {
/*     background-color: #0070B8; */
    padding: 8px;
    font-size:12px;
    text-align: center;
    letter-spacing: normal;
    border-radius: 4px;
    border-color: transparent;
    position:relative;
    text-decoration: none ;
/*     color: white; */
    /* display: none; */
}

a:hover {
color: #ffffff;
}

footer{
    display: none;

}

.logo-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo-img{
    width: 200px;

}

@media screen and (max-width: 576px) {

    .chart-container {
        padding: 2%;
        display: flex;
        width: 100%;
        margin-bottom: 5%;

    }

    .hover-info:hover {
        height: auto;
        justify-content: center;
        flex-direction: column;
    }

    .logo-container {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    
    }
    .logo-container img:nth-child(1) {
        margin-bottom: 5%;
    }
}

/*/ Here start media query rules for printable version /*/

@media print  {
    body{
        padding: 0;
        margin:0;
    }

    .print-header{
        display: flex;
        width: 100%;

    }
    .sub-header{
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        position: absolute;
        top:100%;
        margin-bottom: 2% ;

    }

    .web-header{
        display: none;
    }
    .btn-print, .btn-pdf, .btn-text, .downloadPDF, .web-header{
        display: none !important;
    }

    .main-container{
        padding: 2%;
        height: 80%;
    }

    nav{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .instrument-title{
        text-align: right;
    }
    .sub-title{
        font-size:24px ;
    }

    #second-page {
        justify-content: space-evenly;
        align-items:center;
        position: absolute;
        top:100%;
    }

    #third-page {
        justify-content: center;
        align-items:center;
        position: absolute;
        top:200%;
    }
    
    #forth-page {
/*         flex-direction: column; */
        flex-wrap: wrap;
        justify-content: center;
        align-items:center;
        position: absolute;
        top:300%;
    }

    #fifth-page {
        justify-content: center;
        align-items:center;
        position: absolute;
        top:400%;
    }

    #sixth-page {
        justify-content: center;
        align-items:center;
        position: absolute;
        top:500%;
    }

    #seventh-page {
        justify-content: center;
        align-items:center;
        position: absolute;
        top:600%;
    }

    #eighth-page {
        justify-content: center;
        align-items:center;
        position: absolute;
        top:700%;
    }

    .chart-container-two-side-by-side{
        flex-direction: column;
        padding: 2%;
        margin-bottom: 2%;
    }
    
    .chart-img{
        width: 100%;
/*         height: 100%; */
    }
    
    #second-chart{
        width: 100%;
        height: 100% !important;
    }

    footer{
        display: flex;
        width: 100%;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: white;
    }
    
    .logo-container{
        padding: 0 24px 0 24px ;

    }
    .logo-footer{
        width: 150px;
    }

}
