/* For the benefit of chrome mobile */
* {
    max-width: 999999px;
    max-height: 999999px;
}
body, input, select, button {
    font-family: "Montserrat", "Helvetica Neue", sans-serif;
    font-size: 16px;
}
input::placeholder {
    color:rgba(151, 151, 151, 1);
    opacity: 1;
}
input:readonly {
    background-color:rgba(151, 151, 151, 1);
    color: black;
}
/* sup fonts need to be smaller to stop text boxes being shifted */
sup {
    font-size: 0.5em;
}
table {
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    border-bottom: 1px solid black;
}
.active {
    color: white;
    background-color: green;
}
.selector {
    background-color: chartreuse;
    width: 100%;
    font-size: larger;
    font-weight: bold;
}
#resultstitle {
    font-size: 20px;
    line-height:20px;
}
.helpmenu {
    position: fixed;
    top: 80px;
    left: 70%;
    right: 0%;
    background-color: #C0C0C0;
    display:none;
}
.helptext {
    position:fixed;
    top:80px;
    left:70%;
    display: none;
    background-color: #C0C0C0;
    height: 85%;
    overflow: auto;
    position: fixed;
}
.print {
    display: block;
}

/* Rounded buttons for use for selecting things */
.rounded_button {
    background-color: #a4cd33;
    border: none;
    color: darkgreen;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 10px;
}
.big_rounded_button {
    background-color: #a4cd33;
    border: none;
    color: darkgreen;
    padding: 13px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: x-large;
    font-weight:700;
    margin: 4px 4px;
    border-radius: 10px;
}
/* Tools at the top of the screen */
/* These are mainly positioned by code, so should not set explicit positions */
#year_block{
    /*
    position:fixed;
    top:20px;
    left:70px;
    */
    margin-left:0px;
    margin-right:0px;
}
.year {
    margin:10px;
    font-size:x-large;
    font-weight:700;
    background-color:white;
}
#results_show{
    float:left;
}
#finish_show{
    float:left;
}
#help{
    float:left;
}
#print{
    float:left;
}
#sitelogo{
    border:none;
    position:fixed;
    top:20px;
    margin-left:0px;
    margin-right:0px;
}
#logo{
    border:none;
    position:fixed;
    top:20px;
    margin-left:0px;
    margin-right:0px;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 80px;
    background-color: beige;
    /*color: purple;*/
    text-align: left;
    padding: 10px 10px;
    border-radius: 6px;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    left:0px;
    top: 20px;
    z-index: 6;
    font-weight:400;
    font-size:medium;
}
.tooltip .tooltiptext li{
    text-align:left;
}
.tooltip .tooltiptext button{
    text-align:left;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}
.tooltip_button{
    background-color:beige;
}
.results_bottom{
    position:relative;
}
.result_table{
    background-color:white;
    display:block;
    border-collapse:collapse;
    background-color:#f2f4ee;
}
.result_table td,th{
    border: 2px solid green;
}
#results_heading ul{
    margin-top: 0em;
    margin-bottom: 0em;
    line-height: 0em;
}
#results_heading li{
    margin-top: 0em;
    margin-bottom: 0.3em;
    line-height: 1.0em;
}
#printresults{
    position:absolute;
    left:0px;
    top:0px;
}
#results_text_header{
    position:absolute;
    left:150px;
    top:0px;
}
#about_footer{
    position:absolute;
    top:0px;
    left:200px;
}
.cft_factor_table td,th{
    border: 2px solid green;
}
.even{
    background-color:#f2f4ee;
}
.odd{
    background-color:#b5c9a9;
}
.result_table{
    border-collapse:collapse;
    background-color:#f2f4ee;
}
.factor td{
    background-color:#a4cd33;
    font-weight:700;
}
/* Stuff for the content editor */
[data-editable] iframe,
[data-editable] image,
[data-editable] [data-ce-tag=img],
[data-editable] img,
[data-editable] video {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* Left align */
[data-editable] .align-left {
    clear: initial;
    float: left;
    margin-right: 0.5em;
}

/* Right align */
[data-editable].align-right {
    clear: initial;
    float: right;
    margin-left: 0.5em;
}

/* Alignment styles for text in editable regions */
[data-editable] .text-center {
    text-align: center;
}

[data-editable] .text-left {
    text-align: left;
}

[data-editable] .text-right {
    text-align: right;
}
.author {
    font-style: italic;
    font-weight: bold;
}
