
/* ----------------------- Global Properties Section ------------------------ */

:root {

    --mainbackground    : #D3D3D3;
    --headerbackground  : #FFFFFF;
    --footerbackground  : #151515;
    --primarydark       : #0B3A78;
    --primarymid        : #4075BC;
    --primarylight      : #CFDDEE;
    --secondarydark     : #76111E;
    --secondarymid      : #EB213B;
    --secondarylight    : #F7A6B1;
    --navbartext        : #FFFFFF;
    --border            : #838383;
    --tableheadertext   : #FFFFFF;
    --oddrow       		: #FFFFFF;
    --buttontext        : #000000;
    --errortext    		: #FF0000;
    --errorbackground   : #FFFFFF;
    
    color       : var(--primarydark);
    background  : var(--mainbackground);
    font-size   : 16px;
}



/* ------------------------- Flex Container Section ------------------------- */

/* Flexible / Responsive Tag */

* {
   box-sizing  : border-box;
   margin      : 0;
}

/* Flex Container Properties */

.flex-container{
    display         : flex;
    flex-direction  : row;
    justify-content : center;
}

/* Flex Container Layout Properties */

@media (max-width: 1000px) {
  .flex-container {
    flex-direction: column;
  }
}



/* ----------------------------- Layout Section ----------------------------- */

/* Overall Body Properties */

body {
   font-family : Arial;
   font-weight : bold;
   font-size   : 0.875em;
   text-align  : center;
   text-wrap   : balance;
   margin      : 0px
}


/* Header Properties */

.header {
   position          : sticky;
   width		         : 100%;
   top               : 0px;
   left              : 0px;
   padding           : 0em;
   z-index           : 1;
   background        : var(--headerbackground);
   background-repeat : repeat-x;
   background-image  : url("../img/line.png");
   font-size         : 0.75em;
   overflow          : hidden;
}

.header p {
   padding     : 0em 0.5em 0.25em; /* Top Sides Bottom */
}


/* Footer Properties */

.footer {
   position    : fixed;
   width       : 100%;
   height      : 2.5em;
   bottom      : 0px;
   padding     : 0.625em 0em;
   z-index     : 1;
   background  : var(--footerbackground);
   color       : var(--primarylight);
   font-size   : 0.75em;
}


/* Page Content Properties */

.content {
   position       : relative;
   width          : 100%;
   padding-bottom : 2.5em;
   overflow       : hidden;
}


/* DVSwitch Dashboard Properties */

.dvswitch-container {
   position: inherit;
   width: 100%;
   height: auto;
   max-width: 920px;
}


/* ---------------------- Hyperlink Properties Section ---------------------- */

a {
   color             : var(--secondarymid);
   text-decoration   : none;
}

a.img {
   border	         : 0;
}

a.tip {
   text-decoration   : none;
}

a.tip:hover {
   position          : relative;
}

a.tip span {
   display           : none;
}

a.tip:hover span {
   background        : var(--primarylight);
   opacity           : 1;
   border            : 0.0625em var(--border) solid;
   border-radius     : 0.3125em;
   font-family       : calibri, verdana, arial, comic sans;
   font-size         : 0.75em;
   text-decoration   : none;
   white-space       : nowrap;
   color             : var(--primarydark);
   padding           : 0.375em;
   margin            : 0.625em;
   display           : block;
   z-index           : 50; 
   position          : absolute;
   top               : 0.625em;
}



/* ----------------------- Navbar Properties Section ------------------------ */

.navbar {
   color       : var(--navbartext);
   background  : var(--primarydark);
   font-size   : 1em;
}

.navbar a {
  color   : var(--navbartext);
  padding : 0.6875em 0.875em;
  display : table-cell;
  vertical-align : middle;
}

.navbar a:hover {
   background : var(--primarylight);
   color      : var(--primarydark);
}

.navbarlink {
   background : var(--primarydark);
   color      : var(--navbartext);
}

.navbarlinkactive {
   background : var(--secondarymid);
   color      : var(--navbartext);
}



/* ---------------------------- Filters Section ----------------------------- */

.FilterField, .FilterSubmit {
   font-weight: normal;
   font-size      : 0.875em;
   height         : 1.5em;
   padding        : 0.1875em 0.3125em;
   border         : 0.0625em var(--border) solid;
   border-radius  : 0.3125em;
}

.FilterField {
   background     : var(--oddrow);
   color          : var(--primarydark);
   width          : 6em;
}

.FilterSubmit {
   background     : var(--primarylight);
   color          : var(--buttontext);
   width          : 3.75em;
}

.FilterSubmit:hover {
   background     : var(--secondarylight);
}




/* ------------------------ Table Properties Section ------------------------ */

/* Table Basic Structure */
.listingtable {
   font-size   : 0.75em;
   font-weight : normal;
   border      : 1px var(--border) solid;
   margin      : 0.625em;
}
  
/* Table Header */
.listingtable th {
   height      : 2.1875em;
   padding      : 0em 0.3125em;
   color		   : var(--tableheadertext);
   background  : var(--primarydark);
}

/* Table Rows */
.listingtable tr {
   height         : 1.875em;
}      

/* Table Data */
.listingtable td {
   padding     : 0em 0.3125em;
   overflow-wrap  : anywhere;
}      

/* Table Hyperlink */
.listingtable a {
   color		         : var(--primarydark);
}



/* -------------------- Other Custom Properties Section --------------------- */

h1 {
   font-size   : 1.5em;
}

mark {
   background  : inherit;
   color       : var(--secondarymid);
}



/* --------------------------- Responsive Section --------------------------- */

/* Phone Screen Settings */

@media only screen and (max-width: 620px) {
   body {
      font-size: 14px;
   }
   .header {
      background-image: none;
   }
   img {
      max-width: 100%;
      height: auto;
   }
   hide {
      display: none;
   }
   .listingtable {
     font-weight: bold;
   }
}


/* Tablet Screen Settings */

@media only screen and (min-width: 620px){
   body {
      font-size: 18px;
   }
   img {
      max-width: 100%;
      height: auto
   }
}


/* PC Screen Settings */

@media only screen and (min-width: 1000px) {
   body {
      font-size: 20px;
   }
}



/* ------------------------- Error Message Section -------------------------- */

.error {
   font-size         : 0.75em;
   text-decoration   : none;
   font-weight       : bold;
   color             : var(--errortext);
   background        : var(--errorbackground);
   width             : 90%;
   padding           : 0.9375em;
   margin            : 0.3125em;
}
