/* v6 */

/* Basic layout and map */

html, body {
    margin:0px; padding:0px; width:100%; height:100%;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    letter-spacing: 0.25px;
    font-weight: 300;
    color: #00205c;
    height: 100%;
}

header {
    background: #F09819;
    background: linear-gradient(#ed6904, #f3d25d); 
    position: relative;
    padding: 70px 30px;
}

#main {
    width:100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.wrapper {
    margin: 0 auto;
    position: relative;
    padding: 80px 80px 120px 80px;
    max-width: 1680px;
}

nav p + p, nav p {
    padding: 0px 15px 10px 0px !important;
}


/* Text styles */


h1 {
    margin: 40px 0 15px 0;
    color: #ffffff;
    font-weight: 500;
    font-size: 80px;
    line-height: 1;
    letter-spacing: 0.25px;
    word-spacing: 12px;
    text-align: center;
    padding: 0;
}

h2 {
    margin: 40px 0;
    padding: 0;
    width: 100%;
    font-weight: 600;
    font-size: 60px;
    line-height: 1;
    letter-spacing: 1px;
    word-spacing: 12px;
    text-align: center;
    text-transform: uppercase;
}

h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 6px 0 0 0;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 6px 0 0 0;
    text-wrap: balance;
}

a {
    color: #00205c;
    font-weight: 500;
}

p {margin:0;}


/* List styles */

.toprank {
    columns: 4;
    column-gap: 60px;
    padding: 20px 30px;
}

.midrank {
    columns: 5;
    column-gap: 60px;
    padding: 40px 30px;
}

.lowrank {
    columns: 6;
    column-gap: 20px;
    padding: 80px 30px;
    position: relative;
}


.brewentrydiv {
    position: relative;
    margin: 15px auto;
    padding: 0 0 0 92px;
    display: inline-block;
    min-height: 75px;
}

.midrank .brewentrydiv {
    position: relative;
    margin: 5px auto;
    padding: 0 0 0 76px;
    min-height: 45px;
    min-width: 160px;
}

.lowrank .brewentrydiv {
    position: relative;
    margin: 5px auto;
    padding: 0 0 0 40px;
    min-height: 40px;
    min-width: 160px;
}

#topstyle .brewentrydiv {
    min-height: auto;
    margin: 20px 0;
    min-width: 160px;
}

.brewentrydiv h3 {
    text-align: left;
    line-height: 1;
    margin: 4px 0 4px 0;
    text-wrap: balance;
}

h3 span {
    display: block;
    width: 60px;
    text-align: right;
    position: absolute;
    left: 25px;
    top: 4px;
    color: lightgray;
    letter-spacing: 0px;
}

h4 span {
    display: block;
    width: 60px;
    text-align: right;
    position: absolute;
    left: 10px;
    top: 6px;
    color: lightgray;
    letter-spacing: 0px;
}

.lowrank h4 span {
    display: block;
    width: 20px;
    text-align: right;
    position: absolute;
    left: 0px;
    top: 6px;
    color: lightgray;
    letter-spacing: 0px;
}

.lowrank h3 {
    column-span: all;
    text-align: center;
    margin: 0 auto 30px auto;
    padding: 0 0 0 50px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-60%);
}

.statbox {
    display: block;
    height: 45px;
    width: 45px;
    text-align: center;
    border-radius: 4px;
    position: absolute;
    left: 0px;
    top: -7px;
}

.smallbox {
    height: 32px;
    width: 32px;
    left: 0px;
    top: 0px;
}

h3 .smallbox {
    height: 40px;
    width: 40px;
    left: 0px;
    top: -7px;
}

.statbox p {
    color: white;
    margin: 0;
    line-height: 1;
    font-weight: 400;
}

p.label {
    font-size: 10px; 
    font-weight: 600; 
    margin: 6px 0 1px 0;
    color: white;
}

p.value {
    font-size: 24px;
    color: white;
    margin: 0;
    font-weight: 500;
}

.midrank p.value {
    font-size: 20px;
    margin: 6px 0 0 0;
}

.lowrank p.value {
    margin: 6px 0 0 0;
}

.upward::before {
    content: "❮";
    font-size: 26px;
    color: #4aa848;
    display: inline-block;
    transform: rotate(90deg) translatex(3px);
    line-height: 0;
    margin: 0px 10px -10px -23px;
}

.downward::before {
    content: "❮";
    font-size: 26px;
    color: #e2231a;
    display: inline-block;
    transform: rotate(-90deg) translatex(-3px);
    line-height: 0;
    margin: 0px 10px -10px -23px;
}

.neutral::before {
    content: "⁞";
    font-size: 26px;
    font-weight: 500;
    color: lightgray;
    display: inline-block;
    transform: rotate(90deg) translatex(3px);
    line-height: 0;
    margin: 0px 15px -10px -22px;
}

/* Design elements overlaying header */

img.logo {
    margin: 0;
    width: 125px;
    position: absolute;
    top: 50px;
    left: 65px;
}

img.logo:hover {
    opacity: 0.75;
}

footer {
    display: block;
    position: absolute;
    right:0;
    left:0;
    margin: 0 auto;
    bottom: 10px;
    z-index: 1000;
    overflow: hidden;
    line-height: 1;
    text-align: center;
    padding: 0px 60px;
}

footer p {
    font-size: 10px;
    color: #F09819;
}

/* Responsive */

.mobileshow {display:none}

/* Medium screens */

@media only screen and (max-width: 1080px) {
             
.mobileshow {display: block;}
                
img.logo {left: 30px;}
    
nav {right: 30px;}
    
canvas {display:none;}


}

/* Small screens */

@media only screen and (max-width: 600px) {
    
.mobilehide {display: none;}
     
header {padding: 90px 30px 60px 30px;}

img.logo {
    margin: 0;
    width: 125px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%)
}
    
.wrapper {
    position: relative;
    padding: 60px 10px 100px 70px;
}
    
.graphwrapper {
    padding: 20px 0;
    min-width: auto;
    width: 100%;
    
}
    
#myChart {
    margin: 20px 0 20px -60px; 
}
       
}