/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


html {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
}

.main {
    display: grid;
    grid-template-rows: 120px auto;
    grid-template-columns: 160px auto;
    grid-template-areas: "header header" "siderbar main";
    height: 100vh;
}

.header {
    background-color: #111;
    font-size: 55px;
    color: #c3c3c3;
    vertical-align: middle;
    padding: 17px 30px;
    grid-area: header;
	
}

.goal {
    font-size: 30px;
    color: #ab99b9;
    padding: 10px;
    display: grid;
    grid-template-columns: 200px 1fr;
    flex-grow: 1;
    min-width: 50%;
}

.goal-state {
    display: inline-block;
}

.goal-image {
    display: inline-block;
    padding-right: 30px;
    padding-left: 10px;
}
.goal-image img {
     object-fit: cover;
     width: 180px;
     height: 180px;
     border-radius: 50%;
}


.sidebar {
    font-size: 45px;
    background-color: #333;
}

.sidebar .year {
    text-align: center;
    padding: 5px;
    color: #6aa992;
    cursor: pointer;
}

.sidebar .year.selected {
    font-style: italic;
    font-weight: bold;
    color: #dbdefd;
}

.sidebar .year.selected .overall-percentage {
    display: block;
}




.yearlyGoals {
    background-color: #1e1e33;
    padding-top: 10px;
}


.goals {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.goal-name {
    font-size: 40px;
    color: #f5feff;
    font-weight: bold;
}

.goal-status {
    font-size: 25px;
    color: #f6f6f6;
    margin-top: -10px
}

.goal-state .progress {
    height: 6px;
    background-color: #e9ecef1a;
}

.goal-completion {
    font-size: 50px;
    margin-top: -10px;
}


    
.goal-state .progress .progress-good {
    background-color: #45ce45;
}

.goal-state .progress .progress-poor {
    background-color: #ea3b3b;
}

.goal-state .progress .progress-ok {
    background-color: #ff9900;

}


#controller-pane {
    height: 100%;
}

.overall-percentage {
    color: #f90;
    text-align: center;
    margin-top: -15px;
    margin-bottom: -10px;
    font-size: 31px;
    display: none;
}

.goal-desc {
    font-size: 22px;
    margin-top: -6px;
    margin-bottom: 5px;
    color: #81e481;
    font-weight: lighter;
}
