a#home, a#home:visited {
    color:black;    
}

a#home:hover {
    color:darkslategray;   
}

ul.text {
    margin-top: 0;
}

body{
    font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", 'Open Sans', sans-serif;
}

.app-background {
    background-color: snow !important;
    /*background-color: #ffcc66 !important;*/
}

.app-primary-background {
    background-color: #ff8066 !important;
}


.app-highlight {
    background-color: #e6ff66 !important;
}

.app-primary-text {
    color: #63433c;
}

.app-secondary-text {
    color: #ff8066;
}

.history-entry-header {
    border-bottom: solid 3px whitesmoke;
}

.section-header {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    /*border-bottom: solid 3px orange;*/
    border-bottom: solid 3px lightsalmon;
}

.navbar-menu {
    display: block;
    opacity: 0;

    position: absolute;   /* or float: left; width: 100%;*/
    left: 0;
    right: 0;

    transform: translateY(-50%);
    transition: all .4s ease-in-out;
    pointer-events: none;
}

.navbar-menu.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

a.context-selected {
    border-right: solid 5px #ff8066;
    background-color: #ff806626;
    border-radius: 4px;
}

.activitybody.is-hidden-slow {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    transition: max-height 0.5s, visibility 0s, opacity 0.5s ease-out;
    height: 0;
    overflow: hidden;
}
.activitybody.is-active-slow {
    visibility: visible;
    opacity: 1;
    transition: max-height 0.5s, visibility 0s, opacity 0.5s ease-in;
    max-height: 1000px;
    height: auto;
}

.fielddetail.is-hidden-slow {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    transition: max-height 0.5s, visibility 0s, opacity 0.5s ease-out;
    height: 0;
    overflow: hidden;
}
.afielddetail.is-active-slow {
    visibility: visible;
    opacity: 1;
    transition: max-height 0.5s, visibility 0s, opacity 0.5s ease-in;
    max-height: 2000px;
    height: auto;
}

.debug {
    display: none;
}

aside.aside {
    min-width: 330px;
}

.dropup-menu {
    left: auto;
    right: -50%;
    top: auto;
    bottom: 100%;
}

#recentchanges, #completelist {
    display: block;
    opacity: 0;

    position: absolute;   /* or float: left; width: 100%;*/
    left: 0;
    right: 0;

    transform: translateY(-50%) scaleY(0.1);
    transition: all .4s ease-in-out;
    pointer-events: none;
}

#recentchanges.is-active, #completelist.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.historysingle {
    border-radius:0.25rem;
    border: 1px solid lightgray;
    padding:0.25rem 0.25rem 0.25rem 0.25rem;
    background-color: ghostwhite;
}

.fa-sm {
    font-size:0.63em;
}

.error {
    color:hsl(348, 100%, 61%);
}

.activityicon {
    color: #3298dc;
}
.activitytitle, .activitytitle:visited {
    color: #3298dc;
}
.activitytitle strong, .activitytitle:visited strong {
    color: #3298dc;
}
.activitytitle.contracted {
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.activitycontent {
    padding-bottom: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.activitycontent, .activitycontent p, .activitycontent strong, .activitycontent h1, .activitycontent h2, .activitycontent h3 {
    color:hsla(209, 31%, 31%, 1);
}

.box {
    position: relative;
}

.contentOverflow {
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 100%;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,1));
  }

.floatingPin {
    position: absolute;
    top: 0.25rem;
    left: 0;
    width: 100%;
}

.media-content-overflow-fix {
    overflow-y: hidden;
}

.activitycontent img {
    max-width: 100%;
    max-height: 6rem;
    height: auto;
    margin-bottom:0.25rem;
}

.pinned {
    max-height: 12rem;
    width:100%;
    min-width:0.25rem;
}

.eventstable {
    width: 100%;
    table-layout:fixed;
}

.textarea {
    resize: vertical;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

.hiddentextarea {
    position: absolute;
    right: -150%;
}

.eventstable td {
    position: relative;
}

.copybutton {
    position: absolute;
    right: 0.5rem;
    top: -1.75rem;
}

.editbutton {
    position: absolute;
    right: 0.5rem;
    bottom: 1rem;
}

.pinnedtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width:100%;
    display:block;
    min-width:0.25rem;
    color: #3298dc;
}
.pinnedtext {
    text-overflow: ellipsis;
    overflow-x: hidden;
    overflow-y: auto;
    min-width:0.25rem;
}

.buttonlist {
    list-style-type: none;
}

.searchbar {
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
}

.searchbar .control {
    flex: inherit;
}

.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }

.template {
    display: none;
}

.templatePicker {
    border-top-left-radius:0.5rem;
    border-bottom-left-radius:0.5rem; 
}

.templateDescription {
    border-top-right-radius:0.5rem;
    border-bottom-right-radius:0.5rem; 
    height:100%;
}

@media screen and (min-width: 1024px) {
    nav.zpnav {
        border-top-left-radius:0.5rem;
        border-top-right-radius:0.5rem;
        border-bottom-left-radius:0.2rem;
        border-bottom-right-radius:0.2rem;
    }
}

#searchresults {
    position: absolute;
    width: 100%;
    z-index: 1000;
    max-height: 700px;
    overflow-y: auto;
}

a.searchresult:focus, a.searchresult:focus-within, a.searchresult:hover, a.searchresult.is-active {
    color: #ff8066;
}
a.searchresult {
    color: hsl(0, 0%, 96%);
    display: block;
    line-height: 1.5;
    padding: 0.5rem 0.75rem;
    position: relative;
}

.searchbar input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: hsl(0, 0%, 96%);
    opacity: 0.5; 
}

.disable-select {
    user-select: none; /* standerd */
    -moz-user-select: none; /* firefox specific */
    -webkit-user-select: none; /* Chrome, Opera and Safari*/
    -ms-user-select: none; /* IE, ms-edge */
  }

.table_wrapper {
    overflow-x: auto;
}

.dontoverflow {
    min-width:0;
    flex-basis:0;
}


svg {
    max-width: 800px;
}

.pinned svg.chart {
    max-width: 400px;
}


svg g.dp text {display: none;}
svg g.dp:hover text {display: block;text-anchor: middle; font-size: x-large;}
svg g.dp circle {fill: pink;}
svg g.dp:hover circle {fill: red;}

svg polyline.cl {
    fill: none;
    stroke: rgb(118, 226, 17);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}
svg line.axis {
    stroke-linecap: round;
    stroke: black;
    stroke-width: 4;
    stroke-opacity: 0.5;
    vector-effect: non-scaling-stroke;
}

svg polyline.clm {
    fill: none;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

svg .trend {
    stroke-width: 6;
    stroke-opacity: 0.3;
}

svg .tl {stroke-dasharray:10,10;}
svg .mml {stroke-dasharray:3,5;}

svg .f0 {fill: rgba(66, 185, 240, 0.5);}
svg .s0 {stroke: rgb(66, 185, 240);}
svg .f1 {fill: rgb(62, 224, 30, 0.5);}
svg .s1 {stroke: rgb(62, 224, 30);}
svg .f2 {fill: rgb(240, 66, 167, 0.5);}
svg .s2 {stroke: rgb(240, 66, 167);}
svg .f3 {fill: rgb(224, 177, 46, 0.5);}
svg .s3 {stroke: rgb(224, 177, 46);}
svg .f4 {fill: rgb(186, 65, 223, 0.5);}
svg .s4 {stroke: rgb(186, 65, 223);}
svg .f5 {fill: rgb(224, 30, 30, 0.5);}
svg .s5 {stroke: rgb(224, 30, 30);}
svg .f6 {fill: rgb(30, 224, 159, 0.5);}
svg .s6 {stroke: rgb(30, 224, 159);}


svg polyline.clm0 {
    stroke: rgb(66, 185, 240);
}
svg circle.clm0 {
    fill: rgb(66, 185, 240);
}
svg line.target0 {
    stroke: rgb(66, 185, 240);
    stroke-dasharray:10,10;
}
svg tspan.t0 {
    fill: rgb(66, 185, 240);
}
svg line.timetarget {
    stroke: black;
    stroke-dasharray:10,10;
}

svg #selectedLine {
    stroke: grey;
}

svg polyline.clm1 {
    stroke: rgb(62, 224, 30);
}
svg circle.clm1 {
    fill: rgb(62, 224, 30);
}
svg line.target1 {
    stroke: rgb(62, 224, 30);
    stroke-dasharray:10,10;
}
svg tspan.t1 {
    fill: rgb(62, 224, 30);
}
svg polyline.clm2 {
    stroke: rgb(240, 66, 167);
}
svg circle.clm2 {
    fill: rgb(240, 66, 167);
}
svg line.target2 {
    stroke: rgb(240, 66, 167);
    stroke-dasharray:10,10;
}
svg tspan.t2 {
    fill: rgb(240, 66, 167);
}

svg polyline.clm3 {
    stroke: rgb(224, 177, 46);
}
svg circle.clm3 {
    fill: rgb(224, 177, 46);  
}
svg line.target3 {
    stroke: rgb(224, 177, 46);
    stroke-dasharray:10,10;
}
svg tspan.t3 {
    fill: rgb(224, 177, 46);  
}
svg polyline.clm4 {
    stroke: rgb(186, 65, 223);
}
svg circle.clm4 {
    fill: rgb(186, 65, 223);    
}
svg line.target4 {
    stroke: rgb(186, 65, 223);    
    stroke-dasharray:10,10;
}
svg tspan.t4 {
    fill: rgb(186, 65, 223);    
}

svg polyline.clm5 {
    stroke: rgb(224, 30, 30);
}
svg circle.clm5 {
    fill: rgb(224, 30, 30);
}
svg line.target5 {
    stroke: rgb(224, 30, 30);
    stroke-dasharray:10,10;
}
svg tspan.t5 {
    fill: rgb(224, 30, 30);
}


svg polyline.clm6 {
    stroke: rgb(30, 224, 159);
}
svg circle.clm6 {
    fill: rgb(30, 224, 159);
}
svg line.target6 {
    stroke: rgb(30, 224, 159);
    stroke-dasharray:10,10;
}
svg tspan.t6 {
    fill: rgb(30, 224, 159);
}




svg line.axism {
    stroke-linecap: round;
    stroke: black;
    stroke-width: 2;
    stroke-opacity: 0.5;
    vector-effect: non-scaling-stroke;
}

span.req {
    color: hsl(348, 100%, 61%);
}

input[type="radio"].colourclass {
    position:fixed;
    opacity: 0;
    pointer-events: none;
}

input[type="radio"].colourclass + label div {
    border: 4px solid white;
}

input[type="radio"].colourclass:checked + label div {
    border: 4px dotted black;
}

i.numbercircle {
    color: #ff8066
}
i.numbercirclepop {
    animation: popnumbercircle 500ms;
}
  
@keyframes popnumbercircle {
    0% {color: #ff8066;}
    50% {color: hsl(48, 100%, 67%);}
    0% {color: #ff8066;}
}