/*
 Created by Jacobs Technology
*/
/* 
    Created on : Apr 15, 2021, 7:43:40 AM
    Author     : Jack Brand <jack.brand@jacobs.com>
*/
/* CSS Class Properties follow the order:
    - Layout Properties (position, float, clear, display)
    - Box Model Properties (width, height, margin, padding)
    - Visual Properties (color, background, border, box-shadow)
    - Typography Properties (font-size, font-family, text-align, text-transform)
    - Misc Properties (cursor, overflow, z-index)
*/

/********************** Individual Custom Components ***************************/
.pic-signin-row {
    padding: .5rem 3rem .5rem 3rem;
    max-width: 2000px;
    margin: 0 auto;
}

.cd-pic {
    flex: 1 1 0;
    order: 1;
    min-height: 450px;
    height: 450px;
    max-height: 450px;
    min-width: 690px;
    max-width: 1000px;
    padding: 0;
    margin-right: 1rem;
    overflow: hidden;
}

.cd-pic-image{
    position: relative;
    /*height: 100%;*/
    background-image: url("/studentsite/javax.faces.resource/images/photo-1.jpg.xhtml");
    background-repeat: no-repeat;
    background-size: 100% auto;
    /*background-size: auto 100%;*/
    background-position: center;
}   

.cd-pic-txt {
    position: absolute;
    bottom: 5%;
    left: 7%;
    max-width: 85%;
    padding-right: .5rem;
    color: white;
    background-color: rgba(0,0,0,0.90);
    -webkit-box-shadow: 0px 0px 8px 12px rgba(0,0,0,0.90); 
    box-shadow: 0px 0px 8px 12px rgba(0,0,0,0.90);
    font-size: 1.15rem;
    z-index: 1050; 
}

.catalog-link.catalog-link.catalog-link {
    color: white;
    font-size: 1.35rem;
}

.cd-signin {
    flex: 1 1 0;
    order: 2;
    min-height: 450px;
    height: 450px;
    max-height: 450px;
    min-width: 320px;
    max-width: 400px;
    margin-left: 1rem;
}

#username {
    width: 16rem;
}

#password {
    width: 16rem;
}

.dash-row {
    padding: 0 2rem 0 2rem;
    max-width: 2000px;
    margin: 0 auto;
}
.cd-dash {
    flex: 1 1 0;
    min-height: 350px;
    height: 350px;
    min-width: 350px;
    max-width: 500px;
    margin: 1rem;
}

.pieChart { 
    height: 320px;
    width: 440px;
    color: #343a40;
}

table.jqplot-table-legend {
    border: none;
}

.piePanel {
    display: block;
}

.piePanelSmall {
    /*display: none;*/
}

@media screen and (max-width: 1380px) {
    .piePanel {
        display: none;
    }

    .piePanelSmall {
        display: block;
    }

    .pic-signin-row {
        justify-content: space-between;
    }

    .dash-row {
        justify-content: space-between;
    }
}

@media screen and (max-width: 1160px) {
    html {
        font-size: 14px;
    }
    .cd-pic {
        min-width: 540px;
        max-width: 690px;
        padding: 0;
        overflow: hidden;
    }
    .cd-pic-image {
        background-size: auto 110%;
    }  
    .cd-signin {
        min-width: 220px;
        max-width: 320px;
    }
    .dash-row {
        justify-content: center;
    }    
    .pieChart { 
        height: 26vh;
        width: 28vw;
        color: #343a40;
    }
}

@media screen and (max-width: 960px) {
    html {
        font-size: 12px;
    }
    .cd-pic {
        min-height: 300px;
        height: 350px;
        min-width: 310px;
        max-width: 550px;
        padding: 0;
        margin-right: .5rem;
        overflow: hidden;
    }
    .cd-signin {
        min-height: 350px;
        height: 350px;
        min-width: 230px;
        max-width: 320px;
        margin-left: .5rem;
    }
    .cd-dash {
        flex: 1 1 0;
        min-height: 280px;
        height: 280px;
        min-width: 280px;
        max-width: 450px;
        margin: .5rem;
    }
    .pic-signin-row {
        padding: .5rem 1rem .5rem 1rem;
        justify-content: center;
    }
    .dash-row {
        padding: 0 .5rem 0 .5rem;
    }
    .pieChart { 
        min-height: 225px;
        min-width: 210px;
    }
}

@media screen and (max-width: 670px) {
    .cd-pic {
        order: 2;
        min-width: 520px;
        margin-right: 0;
    }       
    .cd-signin {
        order: 1;
        min-width: 320px;
        margin-left: 0;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 570px) { 
    .cd-pic {
        min-width: 310px;
        max-width: 450px;        
        min-height: 280px;
        height: 280px;
    }
    .cd-signin {
        min-width: 310px;
        max-width: 320px;
    }
    .pic-signin.pic-signin {
        padding: 0;
    }
}