
/*body {
    font-family: "Arial", "Verdana", "sans-serif";
    margin: 0;
    background: #1d3565;
    color: black;
}*/


/* this needs to be relative to make the commentator/validator work */

/*td {
    padding: 0px;
    position: relative;  
}*/


video.videoelement {
    width: inherit;  // minimum width and height
height: inherit;
}


.scrolledlist
{
    height:300px;
    width:300px;
    /* background-color:#CCC; */
    overflow-y:auto;
    float:left;
    position:relative;
    margin-left:-5px;
}

.onoffswitch {
    position: relative; width: 90px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #34A7C1; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 5px; margin: 12.5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 56px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}


/*
These are the old ones that overrode everything.

out.println("body { color: black; background: silver; font-family:serif }");
    out.println("    A:active { font-family:helvetica; color:black; background:white }");
    out.println("    A:hover { font-family:helvetica; color:blue; background:white }");
    out.println("    A:link { font-family:helvetica; color:black; text-decoration:none }");
    out.println("    A:visited { font-family:helvetica; color:black; text-decoration:none  }");
    out.println("    div.editor {");
    out.println("        background: rgb(204,204,255);");
    out.println("        padding: 0.5em;");
    out.println("        border: none;  color:black  }");
    out.println(" body.doc {color:black background:white}");

    out.println("    </STYLE>"); */



a {
    color: #4e61a7;
//    background: white;
//    padding: 2px 4px;
//    margin: 0px 2px;

}

html {
    height: 100%;
}

body {

}

/*<style> */

/*a:active {background: none;} */

a:focus { /*background: none; */
    border: 2px black dashed;}


input#searchbox {
    border: 1px solid black;
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 12px;
    line-height: 17px;
    width: 10vw;
    position: relative;
    left: 10px;
    width: 8vw;

}

select#searchoption {
    position: relative;
    left: 28px;
    max-width: 152px;
    width: 8vw;
    min-width: 97px;
    border: 0px;
    height: 22px;
}

div.jh-div-icon {
    border: 1px solid green;
    background: white;

    display: inline-block;
}

td.jdtdnumeric {
    width: 30%;
    alighn: right;
}

td.jdtdalpha {
    width: 70%;
}

.jhshowbox {
    display: block;
    padding:2px;
    margin:0px;
    border:5px solid gray;
    z-index:1;
    position:absolute;
    background-color:#fff;
}


a {
    /* color: #0092b3; */
    text-decoration: none;
}

$loadingTime: 10s;
$color: rgb(255, 0, 0);



a:hover { color: #00AA00;
    text-decoration: none
}

a.jhtransaction {
    color: #FFFFFF;
    background: #00AA00;
    text-decoration: none
}
a.jhtransaction:focus {
    color: #FFFFFF;
    background: #888800;
    text-decoration: none
}

.jhloginregistration {
    visibility: hidden;
}


.jhtable1 {
    background-color: #ffffff;
    margin: -3px;
    padding: 10px;
}

.jhtable1 > a{

    color: #264588;
}


.jhtable2 {
    background-color: #44FF44;
}


.jhtable3 {
    background-color: #44FF44;
}


.jhtable4 {
    background-color: #44FF44;
}



.jhtable5 {
    background-color: #fff;
    padding: 10px;
    margin: 5px;
    border: 0px solid black;
}

table.jhtable5 tr:nth-child(2n) {
    background: rgba(220, 230, 228, 0.25);
}



table.jhtable6 {
  	grid-row: 2 / 5;
    grid-column: 2 / 3; 
    background-color: #FFFFFF;
    margin: auto;
    vertical-align: top;
    z-index: 1;
    display: block;
    height: 100%;
    padding: 10px;
    border-top: #1d3565 10px dotted;
}

.jhtable6 > a{

    color: #0a3775;
}

div#map{
    margin: auto;
    top: 3vh;
}

div#routing-map{
    margin: auto;
    position: relative;
    top: 4vh;
}


td.jhsmall {
    display: block;
    font-size: 0.65em;
    /* width: 57px; */
    color: #4c4b4b;
}

a.jhsmall {
    position: inherit;
    font-size: 1.6em;
}

th {
    text-align: left
}



.dropbtn {
    font-family: Verdana;
    background-color: #c3d8d7;
    color: #4f4b4b;
    padding: 1.5vh 1.5vw;
    font-size: 1em;
    border: none;
    cursor: pointer;
    margin: -0.3vw;
    height: 7vh;

}

.dropbtn a {
    font-family: Verdana;
    color: #4f4b4b;
}

.topline {
   grid-row: 1 / 1;
    grid-column: 2 / 3; 
    padding: 10px;
    background: white;
    cursor: pointer;
    font-family: Verdana, sans-serif;
    width: 100%;
    height: 100%;
}

#roadslist {
    position: relative;
    top: 2.6vh;
    left: 5.8vw;
    margin: -1%;
}

#roadslist input{
    border-radius: 16px;
    border: 3px solid rgba(220, 156, 44, 0.34);
    color: rgba(12, 12, 12, 0.84);
    font-size: 12px;
    padding: 3px 9px 3px 9px;
    /* margin: -18px; */
    background: #194b90;;
}

.jhmenu2 {
    padding: 0px 0px 0px 0px;
    /* line-height: 21px; */
    text-align: left;
    position: relative;
    line-height: 24px;
    background-color: #fff;
    /* top: -0.7vh; */
    list-style: none;
    font-size: 14px;
    box-shadow: 2px 2px 1px 2px rgba(0,0,0,0.1);
    z-index: 60;
}

.jhmenu3 {
    padding: 12px;
    text-align: left;
}

/* experimental for the moment */


div.jhprompt span {display: none; position: absolute; color: #fff; background: #000; padding: 5px; z-index: 5; font-size: 10px; }
div.jhprompt {position: relative;}
div.jhprompt:focus span {display: block; text-align: left;}

td.jhprompt span {display: none; position: absolute; color: #fff; background: #000; padding: 5px; z-index: 5; font-size: 10px; }
td.jhprompt {position: relative;}
td.jhprompt:focus span {display: block; text-align: left;}


span.tooltip {
   /* look in lmsprompt for the switching */
    width: 400px;
    background-color: #EEEEEE;
    border: solid;
    border-color: green;
    text-align: left;
}





.dropdown {
    position: relative;
    display: block;
}




.dropdown-content {
    z-index: 50;
    display: none;
    position: absolute;
    background-color: none;
    min-width: 300px;
    top: 5vh;
    left: -6px;
    float: none
}



.dropdown-content a:hover {        background-color: #7da4b5;
    color: #fff;}


.dropdown:hover .dropbtn {
    background-color: #7da4b5;
    color: #fff;
    z-index: 10;
}


.dropdown-content a {
    color: #4f4b4b;
    padding-left: 5px;
    text-decoration: none;
    display: block;
}

div.dropdown:hover  div.dropdown-content {
    display: block;
    padding: 0 0;
    position: absolute;
    margin: 0 0 0;
    float: none
}


/* no clue what this is for yet */

.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 40px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "X";
}

/* ROOT */

div#rootPage {
    background: white;
    padding-top: 12px;
    padding-right: 13px;
    padding-bottom: 16px;
    padding-left: 31px;
    font-size: 0.9em;
    display: none;
}

div#rootTitle {
    background: #a8d8d6;
    padding-top: 12px;
    padding-right: 13px;
    padding-bottom: 16px;
    padding-left: 22px;
    margin: 25px -14px 10px;
}

div#rootTitle h1 {
    font-family: Verdana;
    font-size: 3.5em;
    margin: 0px;
    color: white;
    letter-spacing: -0.04em;
}

div#rootBottom form {
    margin: 0px;
    display: inline-block;
}


div#rootTop, div#rootMap, div#rootBottom {
    margin: auto;
    width: 65%;
}

div#rootTop, div#rootBottom {
    line-height: 3em;
}


a#I4/0{

    grid-row: 3 / 4; 
}


a{
    color: #0054ff;
}


