@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
h1,h2 {
    font-family: 'Lato', sans-serif;
}
body {
    background: #111;
    color: #ecf0f1;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 79%;
    margin: 0;
    width: 100vw;
}
#wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}
#jump {
    display: flex;
    justify-content: center;
    width: 200%;
}
#jump a div, #jump a {
    width: auto !important;
    display: inline-block;
}
#jumptext {
    text-align: center;
}
a {
    text-decoration: none;
    color: #ecf0f1;
}
#pts {
    top: 0;
    position: fixed;
    z-index: 99;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    text-align: center;
    /* border: 1px solid burlywood; */
    max-width: 100%;
    margin: auto;
    padding: .5em;
    background: #333;
    font-size: 95%;
}
#pts button {
    display: inline;
}
#share {
    background: linear-gradient(steelblue,dodgerblue);
}
.clicky {
    color: #ecf0f1;
    transition: 0.5s;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
.clicky:hover {
    color: #ccc;
    text-shadow: 0 0 0.5em cadetblue;
    opacity: 1;
}
h3 button, #pts button, input, button {
    background: linear-gradient(#333,#111);
    border: 1px solid gainsboro;
    box-shadow: 0 0 0.2em #ccc;
    padding: 0.35em;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none;
    font-size: 95%;
}
h3 button {
    font-size: 80%;
}
h3 {
    font-size: 110%;
}
h3#b_name, h3#r_name, h3#y_name {
    font-size: 120%;
}
.error,.stats,.shared {
    background: linear-gradient(orangered,darkred);
    box-shadow: 0 0 0.5em #ccc;
    border: 1px solid gainsboro;
    position: fixed;
    top: 5%;
    right: 1%;
    padding: 0.5em;
    transition: 0.5s;
    z-index: 9999;
    opacity: 0.7;
}
.shared {
    max-width: 35em;
}
.error:hover,.stats:hover,.shared:hover {
    opacity: 1;
}
.stats {
    background: linear-gradient(palevioletred,rebeccapurple);
}
.shared {
    background: linear-gradient(limegreen,darkgreen);
    opacity: 1;
}
#gen {
    display: none;
    border: 1px solid burlywood;
    max-width: 70%;
    margin: auto;
    padding: 1em;
    background: #333;
    font-size: 120%;
    text-align: center;
}
#gen_link a {
    text-decoration: underline;
    color: deepskyblue;
}
textarea {
    opacity: 0;
}
footer {
    text-align: center;
    color: #ccc;
    padding: 1em;
    padding-top: 10em;
}
#nav-new {
    background: linear-gradient(tomato,mediumvioletred);
}
.fmain {
    padding-top: 10em;
}
.nav::after {
    content: "\A\A";
    white-space: pre-wrap;
}
.meter {
    height: 1em;
	position: relative;
	background: #333;
	border-radius: 0.3em;
	padding: 0.2em;
    box-shadow: 0 0 0.3em #ccc;
    width: 90%;
    margin: auto;
}
.meter > #b_bar {
    background-color: rgb(50,100,220);
}
.meter > #r_bar {
    background-color: rgb(190,40,30);
}
.meter > #y_bar {
    background-color: goldenrod;
}
.meter > .bar {
    display: block;
    height: 90%;
    border-radius: 0.2em;
    /* background-image: linear-gradient(
      center bottom,
      rgb(43,194,83) 37%,
      rgb(84,240,84) 69%
    ); */
    box-shadow: 
      inset 0 2px 9px  rgba(255,255,255,0.3),
      inset 0 -2px 6px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    width: 1%;
    max-width: 100%;
}
#jump {
    zoom: 0.5;
    transform: scale(0.5);
    -moz-transform: scale(0.5);
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
}
.f-green {
    color: lawngreen;
}
.f-green img {
    vertical-align: bottom;
}
.nav {
    display: inline;
}
.nav li {
    display: inline;
    background: linear-gradient(steelblue,teal);
    border: 1px solid gainsboro;
    box-shadow: 0 0 0.3em #ccc;
    padding: 0.4em;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 100%;
}
#classy {
    background: slategrey;
}
#commbuilds {
    display: block;
    margin: auto;
}
#vote {
    display: none;
    text-align: center;
    border: 1px solid gainsboro;
    border-radius: 0.25em;
    padding: 0.5em;
    width: 80%;
    margin: auto;
    box-shadow: inset 0 0 0.5em palegreen;
}
#vote-up img {
    vertical-align: middle;
}
.vote-d {
    background: linear-gradient(#3a9739,#3ad144) !important;
}
#vote-up {
    background: linear-gradient(#3ad144,#3a7639);
}
.bubble {
    display: inline-block;
    position: relative;
    min-width: 2em;
    height: 2em;
    background: #3a9739;
    border-radius: 0.5em;
    vertical-align: middle;
    line-height: 2em;
    padding-right: 0.3em;
}
.bubble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #3a9739;
    display: block;
    width: 0;
    z-index: 1;
    margin-top: -8px;
    left: -8px;
    top: 50%;
}
.modal {
    display: none; 
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #333;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    -webkit-animation-name: fancies;
    -webkit-animation-duration: 0.5s;
    animation-name: fancies;
    animation-duration: 0.5s;
    text-align: center;
}
.close {
    float: right;
    font-size: 150%;
    font-weight: bold;
    transition: 0.5s;
}
.close:hover,.close:focus {
    color: #aaa;
    cursor: pointer;
}
@-webkit-keyframes fancies {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes fancies {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.modal input[type=text] {
    min-width: 20em;
}
@media only screen and (max-width: 800px)  {
    #wrapper {
        display: block;
        margin: auto;
    }
    #pts {
        max-width: 100%;
        min-height: 6.5em;
        line-height: 2;
    }
    #pts, #pts input, #pts button {
        font-size: 95%;
        padding: 0.1em;
    }
    #pts input, #pts button {
        padding: 0.3em;
        box-shadow: 0 0 0.1em #ccc;
    }
    label::before {
        content: "\A";
        white-space: pre-wrap;
    }
    .nav::after {
        content: "\A";
        white-space: pre-wrap;
    }
    .desc.open {
        height: auto;
    }
    .modal-content {
        width: auto;
    }
    #settings {
        padding-bottom: 0;
    }
    #jump {
        width: 325%;
        zoom: 0.3;
        transform: scale(0.3);
        -moz-transform: scale(0.3);
        transform-origin: 0 0;
        -moz-transform-origin: 0 0;
    }
}
table tr,table td {
    padding: 0.5em;
}
table tr:hover {
    cursor: pointer;
}
#settings {
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    display: inline-block;
    padding: 0.1em;
    box-shadow: 0 0 0.5em #eee;
    border: 1px solid #ccc;
    background: linear-gradient(teal,steelblue);
}
.modal-content label {
    text-align: left;
}
.modal-content input, .modal-content button {
    cursor: pointer;
}
#savesettings {
    background: linear-gradient(limegreen,darkgreen);
}
.virtues {
    margin: auto;
    text-align: center;
}
#virtues_selection {
    display: none;
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 60em;
    background: #333;
    border: 1px solid #eee;
    box-shadow: 0 0 0.5em royalblue;
    padding: 0.5em;
}
.desc em {
    visibility: hidden;
}
.buildcount {
    text-align: center;
    margin: auto;
    font-size: 120%;
}
#buildcounter {
    font-weight: bold;
    font-size: 150%;
}