div.selectordiv div.row {
	/*box-shadow: inset -4px 0 4px -2px rgba(0,0,0,0.30);
	-webkit-box-shadow: inset -4px 0 4px -2px rgba(0,0,0,0.30);*/
	position: relative;
	border: 1px solid darkgreen;
	margin: 10px;
	filter: drop-shadow(-4px 0 4px rgba(0,0,0,0.30));
}

div.selectordiv div#feedbackdiv {
	background-color: #FFCF7A;
}

div.selectordiv div#faultdiv {
	background-color: #FF8C7A;
}

div.selectordiv div#observationdiv {
	background-color: #97B2DE;
}

div.selectordiv div#feedbackdiv:hover {
	background-color: #FFE0A9 !important;
}

div.selectordiv div#faultdiv:hover {
	background-color: #FFB5A9 !important;
}

div.selectordiv div#observationdiv:hover {
	background-color: #CFDEF5 !important;
}

table.notelist {
    display: block;
    overflow-x: auto;
}

table.notelist tr.tabletitle {
    background-color:#cbd125;
}

table.notelist tr.tablesubtitle {
    background-color:#e6e87d;
}

td.notetype-observation  {
    background-color: #C9D9F2;
    text-align: center;
}

td.notetype-feedback {
    background-color: #FFDFA6;
    text-align: center;
}

td.notetype-request {
    background-color: #FFC8A6;
    text-align: center;
}

td.notetype-action {
    background-color: #94E4B2;
    text-align: center;
}

td.notetype-fault {
    background-color: #FFB2A6;
    text-align: center;
}

td.notetype-inspection {
    background-color: #E6CCF2;
    text-align: center;
}

td.notetype-incident {
    background-color: coral;
    text-align: center;
}

i.observationicon {
    color: #2A579E;
}

i.faulticon {
    color: #F0472E;
}

i.feedbackicon {
    color: #EFA92E;
}

i.actionicon {
    color: #21AD56;
}

i.requesticon {
    color: #F0782E;
}

i.inspectionicon {
    color: #8B2CBA;
}

i.incidenticon {
    color: red;
}

div.box {
    page-break-inside: avoid;
}

div.notedescriptiondiv {
    background-color: #F7F7F7;
    padding-right: 5px;
    padding-left: 5px;
    /*margin-left: 1.5rem;*/
    /*margin-right: 10px;*/
    /*margin: 1.5rem;*/
}
.mapcontainer {
    position: relative;
}


#mapsettingsdiv{
    
}
#routesettingsdiv{
    
}
.customcontrol p {
    margin: 0;
    font-size: smaller;
}
.customcontrol label, .customcontrol input {
    font-size: small !important;
}
.customcontrol input[type="submit"] {
    font-size: 0.6rem !important;
    height: 2.25rem;
    line-height: 2.30625rem;
    padding: 0 1.5rem;
}
.leaflet-control-container a.leaflet-control {
    filter: drop-shadow(0 0 0.2rem #333333);
}
.leaflet-control-container a.leaflet-control.active {
    background-color: lightgrey;
}
.leaflet-custom-control-menu {
    margin: 0;
    padding: 2em;
    filter: drop-shadow(0 0 0.5rem #333333);
    border: 1px solid black;
}

div.leaflet-right.leaflet-top {
    /* container for custom controls and tile layer selection */
    position: relative;
}
div.leaflet-control-layers {
    /* container for tile layer selection */
    z-index: 5000;
}
div.leaflet-control.leaflet-control-container {
    /* contains the custom controls on map */
    /*position: absolute;
    top: 50px;
    right: 0;*/
}
div.leaflet-control.leaflet-control-container a.leaflet-control {
    /* custom control */
    margin-right: 0;
}


div.leaflet-control-container a.leaflet-control {
	margin-right: 10px;
    margin-top: 10px;
    float: right;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4) !important;
    background: #fff;
    border-radius: 5px;
    cursor: auto;
    pointer-events: auto;
    box-shadow: none !important;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
    /*width: 44px;
    height: 44px;*/
    width: 48px;
    height: 46px;
    padding: 0;
    -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
    display: block;
    filter: none;
    position: relative;
}
div.leaflet-control-container a.leaflet-control i {
	position: absolute;
    top: 50%;
    left: 50%;
	transform: translate(-50%,-50%);
	color: grey;
}
div.leaflet-control-container a.leaflet-control.active i {
	color: #555555;
}


/* Keeping the layers menu from moving everything else around on hover */
.leaflet-control-layers {
    position: relative;
}
.leaflet-control-layers.leaflet-control-layers-expanded {
    border: none;
    height: 48px;
}
.leaflet-control-layers .leaflet-control-layers-list {
    position: absolute;
    top: 0;
    right: 0;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
    background-color: white;
    padding: 6px 10px 6px 6px;
    border-radius: 5px;
}


#datediv,#notetypediv, #routediv{
    
    width:100%;
    /*border:1px solid #333333;*/
    clear:both;
    background-color:#ffffff;
    padding-bottom:0.5em;
    margin-bottom:1em;
    /*filter: drop-shadow(0 0 0.75rem #333333);*/
    /*filter: drop-shadow(0 0 0.5rem #333333);*/
}

#notetypediv label, #routediv label {
    margin-bottom: 1em;
}

#dateselector div.row {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
}

#dateselector input[type="submit"] {
    margin-top: 1em;
}

#optionsToggle{
 /*position:absolute;
 right:2.5em;
 top:4em;*/
 z-index:1002;
}
#routeOptionsToggle{
 /*position:absolute;
 right:15em;
 top:4em;*/
 z-index:1002;
}

div.realmcard {
    padding: 2em 1em 2em 1em;
}

div.notetype-observation i,
div.notetype-feedback i,
div.notetype-request i,
div.notetype-action i,
div.notetype-fault i,
div.notetype-inspection i,
div.notetype-incident i {
    width:2em;
    padding:0.4em;
    border-radius:5px;
}
div.notetype-observation i{
    background-color: #C9D9F2;
    text-align: center;
}

div.notetype-feedback i {
    background-color: #FFDFA6;
    text-align: center;
}

div.notetype-request i{
    background-color: #FFC8A6;
    text-align: center;
}

div.notetype-action i{
    background-color: #94E4B2;
    text-align: center;
}

div.notetype-fault i{
    background-color: #FFB2A6;
    text-align: center;
}

div.notetype-inspection i{
    background-color: #E6CCF2;
    text-align: center;
}

div.notetype-incident i{
    background-color: #FF9973;
    text-align: center;
}

div.realmcard{
    border-radius:5px;
}
div.realmcard:hover{
    background-color:#e5d61e4f;
}
/* Mapobjects in mapview*/
.mapobject-category{
    border-bottom:1px solid #333333;
    padding-bottom:0.5em;
    margin-bottom:0.5em;
}

.mapobject-category h4{
    margin-bottom:0;
}
#mapobjectlistdiv a{
    font-weight:bold;
    text-decoration:none;
    border-bottom:none;
}

table.notetemplatetable span.titlespan {
    text-transform:uppercase;
    font-weight:bold;
}

div.topiccontainer div.topics {
    background-color: #FEFEDB;
}

div.topiccontainer div.topiccategory {
    font-weight: bold;
    padding: 0.5em 1em;
}

div.topiccontainer div.topic {
    padding-left: 2em;
    padding-riglht: 2em;
}

div.topiccontainer div.topic:hover {
    background-color: beige;
}

div#notetemplate div.row {
    margin-bottom: 1em;
}
div#notetemplate div#mapcontainer b {
    display:block;
}
div#notetemplate div#mapcontainer b button {
    float:right;
}
div.notebasicinformation {
    padding-right:1em;
}
div.actionbuttondiv {
    display:flex;
    flex-wrap:wrap;
}
div.actionbuttondiv a {
    margin: 2px;
}
div.actionbuttondiv.rightalign {
    justify-content:flex-end;
}
@media (max-width: 480px) {
    div.actionbuttondiv.rightalign {
        justify-content:flex-start;
    }
}
div.flexcontainer {
    display:flex;
    flex-wrap:wrap;
}
div.authorinformation {
    position:relative;
}
div.authorinformation div.title {
    padding-right: 5px;
    padding-left: 5px;
    background-color: #F7F7F7;
    border: 1px solid lightgrey;
}
div.authorinformation div.title span.iconspan {
    float:right;
}
div.authorinformation div.content {
    padding: 0.5em 5px;
    border: 1px solid lightgrey;
    position:absolute;
    width:100%;
    z-index:1001;
}

div#notetemplate div#itempictures, div.imagedisplay {
    margin-left: 0;
}

div#notetemplate div#itempictures div, div.imagedisplay div {
    position: relative;
    height: 0;
    padding-bottom: 35%;
}
div.imagedisplay.report div {
    position: relative;
    height: 0;
    padding-bottom:20%;
}
div#notetemplate div#itempictures div img {
    margin-bottom: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: contain;
    left: 0;
    padding: 5px;
}
div#notetemplate div#itempictures div input {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
div.imagedisplay img {
    margin-bottom: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    left: 0;
    padding: 5px;
}
div.topiccategorylist {
    columns:2;
    background-color: #FEFEDB;
    padding: 1em;
}
div.topiccategorylist .topiccategory {
    break-inside: avoid-column;
}
@media (max-width: 700px) {
    div.topiccategorylist {
        columns: 1;
    }
}
div.attachmentfiles h4 {
    overflow:hidden;
    text-overflow:ellipsis;
}
li.relatednote-not-selected {
    font-weight:bold;
}
li.relatednote-selected {
    font-weight:bold;
    color: #A3A908;
}
#mapviewmaincontent {
    padding-top:2em !important;
}
.realmcard-icon{
    height:0;
    padding-bottom:100%;
    display:inline-block;
    overflow:hidden;
    
}
.mapobjectlist-item{
    
    height:7em;
    border-radius:5px;
}
.mapobjectlist-item:hover{
  
}

.realmcard a
{
    border-bottom:none;
}

div.checklistcontent {
    background-color: #FEFEDB;
    padding-bottom: 1rem;
}

div.checklistcontent div.topiccategory {
    font-weight: bold;
    padding: 0.5em 1em;
}

div.checklistcontent div.topic {
    padding-left: 2em;
    padding-right: 2em;
}

div#checklistButtonContainer {
    float:right;
}
div#maptoolcontainer {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
}
div#maptoolcontainer div {
    margin: 0 1em 0.5em;
}
div.unsolvednotes {
    height: 0;
    padding-bottom: 35%;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #FEFEDB; 
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    position: relative;
}
div.unsolvednotes div.unsolvednotescontent {
    position: absolute;
    width: 100%;
    padding-right:2em;
}
span.emphasis {
    text-transform:uppercase;
}
div#notetemplate span.description {
    font-style:italic;
}
div#notetemplate span.label {
    font-weight:600;
    font-size:0.9rem;
}
div#notetemplate #getlocationbutton {
    float:right;
}
a.reportbutton {
    background-color:#edaa68;
}
p.mapobject-name {
    font-style:italic;
}
.reporticon {
    float:right;
}
div#select-all {
    padding-left:1.5rem;
}
#importmapobjects {
    float:right;
    margin-bottom:2em;
}
table.lipasdata {
    display: block;
    overflow-x: auto;
}
#loadresults, #loader {
    text-align: center;
}
table.notelist td {
    vertical-align: top;
}