@media print {
    body .nav { display: none; } 
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #424242;
}

img {
      max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: normal;
}

header,
section,
div {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}

.center_text {
  text-align: center;
}

/*
* Media query to avoid excessive width on large screens
* which makes things look stupid.
*
*/
@media screen and (min-width: 850px) {

  body {
   	width: 850px;
  	margin-left: auto;
    margin-right: auto;
  }

  body .header_name {
    font-size: 2em;
  }

  body .header_metier {
    font-size: 1em;
    font-weight: 300;
  }


}


@media screen and (max-width: 849px) {

 body .ptable {
    overflow-x: auto;
  }

}

@media screen and (max-width: 374px) {

 body .header_name {
  font-size: 1.0em;
  font-weight: 100;
  text-transform: uppercase;
  color: #00008B;
  }

 body .displayTable {
    font-size: 12px;
  }

 body .pairtable {
    font-size: 11px;
    width: 290px;
    white-space: nowrap;  
    height: 330px;
    display: block;
    overflow-y: scroll;
  }

}

.nav {
  display: flex;
  flex-wrap: nowrap;
  position: fixed;
  top: 0;
  z-index: 1;
  width: inherit;
  background-color: #191970;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
}

.nav a {
  color: #FFFFFF;  
}

.nav a:hover {
  text-decoration: underline;
  color: yellow;
}


.nav_div {
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 2px;
  padding-top: 2px;
  line-height: 18px;
}


/*
* Header
*
*/
.header {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
 /* height: 85px; */
  background-color: rgba(255, 255, 255, 0.0);
  background-blend-mode: lighten; 
  margin-top: 15px;
}

.header_streamer {
  margin-right: auto;
}
.header_streamer a {
  margin-left: auto;
  font-size: 12px;
}
.header_logo {
  text-align: left;
  max-height: 75px;
  padding-top: 10px;
  padding-bottom: 0;
}

.header_text {
    text-align: right;
    padding-top: 10px;
    padding-bottom: 0;
    margin-left: auto;
}

.header_name {
  font-size: 1.5em;
  font-weight: 100;
  text-transform: uppercase;
/*  text-shadow: 0px 0px 6px rgba(255,255,255,0.9); */
  color: #00008B;
}

.header_metier {
  font-size: .75em;
  font-weight: 300;
/*  text-shadow: 0px 0px 6px rgba(255,255,255,0.9); */
  color: #00008B;
}

.header_link {
/*  text-shadow: 0px 0px 6px rgba(255,255,255,0.9); */
  color: #00008B;
}

.header_hr {
  padding-bottom: 0;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: red;
}

footer {
  text-align: center;
  font-size: .9em;
  color: black;
  margin-bottom: 20px;
}

footer a {
  color: blue;
}


.displayTable {
    border-collapse: collapse;
    border: 1px solid black;
    width: auto;
    font-size: 14px;
}

.ptable {
    font-size: 11px;
    display: block;
    border-collapse: separate;  
    border-spacing: 0;
    empty-cells: hide;
    max-width: 850px;
    text-align: right;
    border: none;

}

.ptable tfoot {
    background-color: pink;
    font-weight: bold;
    text-align: center;
}

.pairtable {
    font-size: 14px;
    width: 350px; 
    white-space: nowrap;  
    height: 330px;  
    display: block;
    overflow-y: scroll;
}
.pairTable td:first-child  {
    text-align: right;
}

.quotetable {
    border-collapse: collapse;
    border: 1px solid black;
    font-size: 14px;
    padding: 8px;
    width: 80%
    display: block;
    text-align: left;
}
.quotetable td {
    padding: 8px;
    text-align: left;
}

.displayTable td {
    border: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
    text-align: right;
    empty-cells: hide;
 /*   white-space: nowrap; */
}


.displayTable th {
    border: 1px solid black;
    padding-left: 3px;
    border-spacing: 3px;
    width:20%;
    background-color: pink;
    vertical-align: middle;
}

.displayTable tfoot {
    background-color: pink;
    font-weight: bold;
    text-align: left;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
    content: " \25B4\25BE" 
}

.p1 {
    background-color: violet; 
}

.p2 {
    background-color: lavender; 
}

.center_text {
  text-align: center;
}