/* 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%;
}

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

/* Header elements */

header {
    background: #f1b141;
    background: linear-gradient(#ef8f25, #f3d25d); 
    position: relative;
    background-image: url("/images/blogheader.jpg");
    background-size: cover;
    background-position: center;
    padding: 100px 30px;
}

.logowrapper, .buttonwrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;  
}

.logowrapper img {
    margin: 20px 30px;
    padding: 0 90px 0 0;
}

.spacer {
    width: 300px;
    margin: 0 30px;
}

/* Text styles */

h2 {
    text-align: left;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.75px;
    font-size: 26px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: #00205c;
}

p {
    font-size: 15px;
    margin: 0;
    color: black;
    line-height: 1.3;
}

p.variety {
    font-style: italic;
    font-size: 18px;
    line-height: 1;
    margin: 3px 0 5px 0;
    color: #00205c;
    text-wrap: balance;
}

.goodbeer p.blurb {
    float: right;
    max-width: 300px;
    padding: 0 0 0 0;
}

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

em {
    display: block;
    font-style: italic;
    margin: 14px 0 0 0;
}

.date {
    color: lightgray;
}

.balance-text {
    text-wrap: balance;
}


/* Search and sort */

.buttonwrapper {
    margin: 0 0 30px 0;
}

.buttonblock, .inputblock {
    width: 300px;
    margin: 0 30px;
}

.buttonblock {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}

.inputblock input {
    height: 40px;
    width: 296px;
    margin: 0;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    letter-spacing: 0.25px;
    font-weight: 300;
    line-height: 1;
    font-size: 16px;
    padding: 0 0 0 60px;
    border: 2px solid rgba(0,0,0,0.1);	
	border-radius: 2px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.inputblock:before {
    content: "";
    width: 38px;
    height: 38px;
    display: block;
    position: absolute;
    background: url('../images/search-icon.svg') no-repeat center center;
    background-size: 20px;
}

button {
    width: 32%;
    height: 40px;
    padding: 0 24px 0 10px;
    border: 2px solid rgba(255,255,255,0.4);	
    background: #f1b141;
	border-radius: 2px;
    color: white;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
}

button.asc, button.desc {
	background-color: #ef8f25;
	}

button:after {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    right: 11px;
    top: 10px;
    background: url('../images/both.svg') no-repeat center center;
    background-size: 16px;
}

button.asc:after, button.desc:after {
    background: url('../images/up.svg') no-repeat center center;
    background-size: 16px;
}

button.desc:after {
    transform: rotate(180deg)
}

textarea:focus, input:focus, button:focus {
    outline: none;
} 

/* Blogview */

#bloglist {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 0;
    padding: 0;
    position: relative;
}

.blogwrapper {
    padding: 60px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 90px;
    grid-template-columns: auto 90px;
    overflow: visible;
}

.blogentry, .blogintro {
    max-width: 300px;
    overflow: hidden;
    text-align: left;
    margin: 30px;
}

.blogintro .goodfix p {
    line-height: 1.2;
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #00205c;
    font-weight: 400;
}

.blogentry.goodbeer {
    max-width: auto;
    max-width: 660px;
}

.blogentry:last-of-type {
    margin-bottom: 90px;
}

.blogentry.yearentry {
    min-width: 300px;
    position: relative;
    overflow: visible;
}

.yearentry h2 {
    font-size: 96px;
    margin: 0 auto;
    display: block;
    position: absolute;
    top: 90px;
    left: 120px
}

.mstatbox {
    height: 180px;
    width: 180px;
    text-align: center;
    color: white;
    margin: 120px 0px 0px 60px;
    padding: 5px;
    border-radius: 8px; 
    display: block;
    background: #00205c;
    background: linear-gradient(to top, #0071ce -90px, #00205c );
}

.mstat {
    font-size: 80px;
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: 1px;
    margin: 34px 0 14px 0;
}

.mlabel {
    padding: 0;
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}

.mypop {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    line-height: 1.25;
    position: relative;
    padding: 90px 0px 0px 60px;
}

.popbottle {
    margin: 0 auto;
    display: block;
    transform: rotate(90deg);
    position: absolute;
    max-height: 200px;
    top: -60px;
    left: 130px;      
}

/* good beer */

.goodbeer .popbottle {
    width: 160px;
    max-height: none;
    top: -190px;
    left: 240px;
}

.goodbeer .mypop {
    padding: 190px 0px 0px 60px;
}

.goodbeer h2 {
    font-size: 36px;
}

.goodbeer .goodfix {
    width: 300px;
    box-sizing: border-box;
    padding: 0 15px 0 0;
    float: left;
}

.goodbeer .statbox {
    top: 194px;
}

.goodbeer .maltbox {
    top: 239px;
}

.goodbeer .numbox {
    top: 284px;
}

.goodfix {
    min-height: 100px;
}


/* Stat boxes */

.statbox {
    display: block;
    float: right;
    clear: right;
    height: 40px;
    width: 40px;
    text-align: center;
    border-radius: 4px;
    position: absolute;
    left: 0px;
    top: 90px;
}

.infobox {
    background-color: #0071ce;
}

.maltbox {top: 135px;}

.numbox {top: 180px;}

.statbox p {
    color: white; margin:0; 
    line-height: 1; 
    font-weight: 500;
    letter-spacing: 0.75px;
}

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

p.value {font-size: 18px}

p.idlabel {
    color: lightgray;
    font-size: 11px !important; 
    font-weight: 600; 
    margin: 2px 0 1px 0;
}

p.idnumber {
    color: lightgray;
    font-size: 17px !important; 
    margin: 0px 0 0 -1px;
}

/* Sidebar navigation */

.sidebar {
    padding: 0 0 0 30px;
    margin: 0px;
    -ms-grid-column: 2;
    position: relative;
}

#sidenav {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.75px;
    margin: 0 0 10px 0;
    text-align: center;
}

li a {
    text-decoration: none;
}


li.active, li a:hover {
    opacity: 0.5;
}

.nonav {
    pointer-events: none;
    opacity: 25%;
}


/* Footer */

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

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

/* Responsive */

.mobileshow {display:none}


/* Medium screens */

@media only screen and (max-width: 1160px) {
             
.mobileshow {display: block;}
    
.mypop span {display: inline;}
    
.mypop p.variety {
    font-size: 16px;
    text-wrap: balance;
    }
    
.blogwrapper {padding: 30px;}
    
.buttonblock, .inputblock {
    margin: 0 30px 15px 30px;
}

}

/* Small screens */

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

.blogentry.goodbeer {
    max-width: 300px;
}

.goodbeer h2 {
    text-align: left;
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.75px;
    margin: 0; 
    padding: 0;  
}
    
.goodbeer .popbottle {
    width: auto;
    margin: 0 auto;
    display: block;
    transform: rotate(90deg);
    position: absolute;
    max-height: 200px;
    top: -60px;
    left: 130px;      
}
    
.goodbeer .statbox {
    top: 90px;
}

.goodbeer .maltbox {
    top: 135px;
}
    
.goodbeer .numbox {
    top: 180px;
}
    
.goodbeer .goodfix {
    width: auto;
    padding: 0;
    float: none;
    min-height: 100px;
}
    
.sidebar {
    display: none;
}
    
.logowrapper img {
    margin: 20px 30px;
    padding: 0;
}
    
.blogwrapper {
    padding: 30px 0;
    display: block;
}
    
.buttonblock, .inputblock {
    margin: 0 0px 15px 0px;
}

       
}