
body {
  background-color: #1a1a1a;
  margin: 0px;
  padding: 0px;
  font-family: Verdana, sans-serif;
  font-weight: normal;
  font-size: .75em;
  color: #f29d1b;
  overflow-y: scroll;

  scrollbar-face-color: #000000;
  scrollbar-shadow-color: #FF9900;
  scrollbar-highlight-color: #FF9900;
  scrollbar-3dlight-color: #FF9900;
  scrollbar-darkshadow-color: #DD7700;
  scrollbar-track-color: #000000;
  scrollbar-arrow-color: #FF9900;
}

#siteBackground {
  background-image: url('./../media/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  opacity: 0.6;
  z-index: -20;
}

#topbar {
  background-color: rgba(0,0,0,1);
  background-image: url('./v1/topbar_arrow_down.png'), url('./v1/topbar_background.png');
  background-repeat: no-repeat, repeat-x;
  background-position: center bottom, center bottom;
  width: 100%;
  height: 15px;
  margin: 0;
  position: relative;
  top: 0;
  overflow: hidden;
  transition: height 2s;
}

#topbar_arrow_container {
  width: 100%;
  position: absolute;
  bottom: 2px;
  z-index: 10;
}

#topbar_arrow_div {
  width: 15px;
  height: 11px;
  margin: 0 auto;
}

#topbar_arrow_div:hover {
  background-image: url("./v1/topbar_arrow_down_hover.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  cursor: pointer;
}

#topbar_arrow_div.open:hover {
  background-image: url("./v1/topbar_arrow_up_hover.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  cursor: pointer;
}

#topbar.open {
  height: 200px;
  background-image: url("./v1/topbar_arrow_up.png"), url("./v1/topbar_background.png");
}
#topbarcontent {
  box-sizing: border-box;
  position: absolute;
  bottom: 0px;
  height: 200px;
  min-width: 1080px;
  padding: 20px;
  overflow: hidden;
  }

#topbarcontent div {
  float: left;
  line-height: 1.6em;
  height: 140px;
}
  
#topbarcontent>div.profile_data {
  background-color: rgba(40, 30, 10, 0.95);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
  margin: 0 20px;
  padding: 5px 15px;
  box-shadow: 0px 0px 2px rgba(242, 157, 27, 0.5);
}

#topbarcontent>div.profile_data>table>tbody>tr>td>span.rank_image, #topbarcontent>div.profile_data>table>tbody>tr>td>span.service_time_image {
  padding-left:5px;
  float:right;
}

#topbarcontent>div.profile_data>table>tbody>tr>td.parameter {
  text-align: right;
  vertical-align: baseline;
  font-style: italic;
}

#topbarcontent>div.profile_data>table>tbody>tr>td.value {
  text-align: left;
  vertical-align: baseline;
  font-size: 1.1em;
}

#topbar_avatar {
  margin-right: 20px;
}

#header {
  background-color: rgba(0,0,0,0.75);
  background-image: url('./v1/scanline.png');
  background-repeat: repeat;
  background-position: top left;
  width: 90%;
  max-width: 1340px;
  min-width: 1080px;
  height: 100px;
  margin: 30px auto 0px auto;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
  transition: width 1s, max-width 1s, margin 1s;
}

#headercontent {
  float: left;
}

#header_logo {
  float: right;
  background-image: url('./../media/headerlogo.png');
  background-repeat: no-repeat;
  background-position: top right;
  text-align: left;
  text-shadow: 3px 3px 5px black;
  padding: 10px 0px;
  margin: 0;
  line-height: 40px;
  font-size: 30px;
  font-weight: bold;
  height: 100px;
  width: 250px;
  color: #f29d1b;
}

#forum {
  display: none;
  height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
  top: 0px;
}

#main {
  background-color: rgba(0,0,0,0.9);
  background-image: url('./v1/scanline.png');
  background-repeat: repeat;
  background-position: top left;
  width: 90%;
  max-width: 1340px;
  min-width: 1080px;
  min-height: calc(100vh - 230px);
  margin: 5px auto auto auto;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
}

#footer {
  background-color: rgba(0,0,0,0.8);
  background-image: url('./v1/scanline.png');
  background-repeat: repeat;
  background-position: top left;
  width: 90%;
  max-width: 1340px;
  min-width: 1080px;
  margin: 5px auto 20px auto;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
}

#footercontent {
  margin: auto;
  height: 50px;
  line-height: 50px;
  text-align: center;
  vertical-align: middle;
}

#date {
  text-shadow: 2px 2px 4px rgb(172, 87, 22);
  box-sizing: border-box;
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
  vertical-align: middle;
  float: left;
  width: 140px;
  height: 100px;
  padding: 20px;
  margin: 0px;
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

#mainnav {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#mainnav>ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#mainnav>ul>li {
  float: left;
  position: relative;
  /*overflow: hidden;*/
  list-style-type: none;
  margin-right: 3px;
}

#mainnav>ul>li:hover {
  /*overflow: visible;*/
}

#mainnav>ul>li>a:link,
#mainnav>ul>li>a:visited,
#mainnav>ul>li>a:active {
    display: block;
    line-height: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0);
    vertical-align: middle;
    color: #f29d1b;
    font-family: Verdana;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 0 15px;
    margin: 0;
    float: left;
    white-space: nowrap;
    transition: background-color 0.5s, color 0.2s;
}

#mainnav>ul>li#loginli>a:link,
#mainnav>ul>li#loginli>a:visited,
#mainnav>ul>li#loginli>a:active {
    display: block;
    line-height: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0);
    vertical-align: middle;
    color: #f29d1b;
    font-family: Verdana;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 0 15px;
    margin: 0;
    float: left;
    white-space: nowrap;
    transition: background-color 0.5s, color 0.2s;
}

#mainnav>ul>li:hover>a {
    background-color: rgba(80, 60, 10, 0.8);
/*  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);*/
    color: #ffffff;
    text-decoration: none;
}

#mainnav>ul>li#loginli:hover>a {
    background-color: rgba(80, 60, 10, 0.8);
/*  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);*/
    color: #ffffff;
    text-decoration: none;
}

#mainnav>ul>li#loginli.opened>a {
    background-color: rgba(80, 60, 10, 0.8);
/*  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);*/
    color: #ffffff;
    text-decoration: none;
}

#mainnav>ul>li>ul {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    min-width: 140px;
    top: 100px;
    left: 0px;
    background-color: rgba(80, 60, 10, 1);
    padding: 0 3px 3px 3px;
    z-index: 300;
    list-style-type: none;
    transition: opacity 0.5s ease, visibility 0.5s step-end;
}

#mainnav>ul>li#loginli>ul {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    min-width: 140px;
    top: 100px;
    left: 0px;
    background-color: rgba(80, 60, 10, 1);
    padding: 0 3px 3px 3px;
    z-index: 300;
    list-style-type: none;
    transition: opacity 0.5s ease, visibility 0.5s step-end;
}

#mainnav>ul>li#loginli>ul {
    background-color: #0d0d0d;
    border: 1px solid #222222;
}

#mainnav>ul>li#loginli>ul>form>table {
    border-width: 0px;
}

#mainnav>ul>li#loginli>ul>form>table td {
    border-width: 0px;
}

#mainnav>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease;
}

#mainnav>ul>li#loginli:hover>ul {
    visibility: visible;
    opacity: 1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease;
}

#mainnav>ul>li#loginli.opened>ul {
	visibility: visible;
    opacity: 1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    transition: opacity 0.5s ease;
}

#mainnav>ul>li>ul>li {
    display: block;
    list-style-type: none;
}

#mainnav>ul>li>ul>li>a:link,
#mainnav>ul>li>ul>li>a:visited,
#mainnav>ul>li>ul>li>a:active {
    display: block;
    line-height: 30px;
    height: 30px;
    background-color: transparent;
    vertical-align: middle;
    color: #f29d1b;
    font-family: Verdana;
    font-weight: normal;
    text-decoration: none;
    font-size: 1em;
    padding: 3px 10px;
    margin: 3px 0 0 0;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

#mainnav>ul>li>ul>li>a:hover
{
  color: #ffffff;
  text-decoration: none;
  background-color: rgba(110, 80, 50, 0.7);
  box-shadow: 0 0 10px rgba(110, 80, 50, 0.7);
}

iframe {
  border-style: none;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0px;
  left: 0px;
}

#overlay_bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 500;
  background-color: rgba(0, 0, 0, 0.9);
}

#overlay_msg {
  position: fixed;
  top: 40vh;
  width: 100%;
  margin: auto;
  z-index: 600;
  text-align: center;
}

a:link {
  color: #f29d1b;
  opacity: 1;
  text-decoration: none;
}
a:visited {
  color: #f29d1b;
  opacity: 1;
  text-decoration: none;
}
a:focus {
  color: #ffffff;
  opacity: 1;
  text-decoration: none;
}
a:hover {
  color: #ffffff;
  opacity: 1;
  text-decoration: none;
}
a:active {
  color: #f29d1b;
  opacity: 1;
  text-decoration: none;
}

p {
  margin: 0;
  padding: 0;
}

.error_message {
  margin: 10px;
}

.centered {
  margin-left: auto;
  margin-right: auto;
}

.border-bottom {
  border-bottom: solid 1px #2F2000; 
  padding-bottom: 5px;
  margin-bottom: 5px;  
}

#rm_inventory {
  width: 900px;
  margin: 20px auto;
}

#XML_Upload_table {
  margin-left: auto;
  margin-right: auto;
}

#terms_of_service {
  margin: 10px;
}

#terms_of_service h1 {
  text-align: center;
  text-shadow: 1px 1px 2px rgb(172, 87, 22);
  font-size: 3em;
  font-weight: bold;
  margin: 1em auto;
}

#terms_of_service>ul li {
  margin: 0px 30px 10px 30px;
}

#services {
  margin: 10px;
}

#services h1 {
  text-align: center;
  text-shadow: 1px 1px 2px rgb(172, 87, 22);
  font-size: 3em;
  font-weight: bold;
  margin: 1em auto;
}

#services h2 {
  margin: 0px 30px 5px 30px;
  text-decoration: underline;
}

#services p {
  margin: 0px 30px 40px 30px;
}

#services>table {
  margin: -20px 30px 20px 30px;
}

#services>table>tbody>tr>th, #services>table>tbody>tr>td {
  padding: 10px;
}

#services>table>caption {
  text-align: left;
  font-weight: bold;
  font-size: 1.15em;
  margin: 0px 0px 10px 0px;
}

#product_table {
  margin: 20px auto;
}

#products {
  margin: 10px;
}

#products h1 {
  text-align: center;
  text-shadow: 1px 1px 2px rgb(172, 87, 22);
  font-size: 3em;
  font-weight: bold;
  margin: 1em auto;
}

#products h2 {
  margin: 1.25em auto 0px 30px;
}

#products h3 {
  text-align: center;
  margin: 2em auto 0 auto;
}

#products p {
  margin: 0px 30px 20px 30px;
}
    
#products ul li {
  margin: 0px 30px 10px 30px;
}

#products>table>tbody>tr>th, #products>table>tbody>tr>td {
  padding: 5px 10px;
  white-space: nowrap;
}

#products>table>tbody>tr:nth-child(even) {
  background-color: #131313;
}

#products>table>tbody>tr>th.table_divide_line {
    width: 100%;
    background-color: #050505;
    height: 0.5em;
    padding: 0px;
    margin: 0px;
    }

#products>table>tbody>tr>th.table_divide_line_small {
    width: 100%;
    background-color: #050505;
    height: 0.3em;
    padding: 0px;
    margin: 0px;
    }

#products>table>tbody>tr>td.not_in_stock {
  background-color: rgba(255,0,0,0.7);
  color: #000000
}

#products>table>tbody>tr>td.in_stock {
  background-color: rgba(0,255,0,0.7);
  color: #000000;
}

#products>table>tbody>tr>td.on_demand {
  background-color: rgba(255,155,0,0.7);
  color: #000000;
}

#rank_structure_table {
  margin: 20px auto;
}

#rank_structure {
  margin: 10px;
}

#rank_structure h1 {
  text-align: center;
  text-shadow: 1px 1px 2px rgb(172, 87, 22);
  font-size: 3em;
  font-weight: bold;
  margin: 1em auto;
}

#rank_structure>table>tbody>tr>th, #rank_structure>table>tbody>tr>td {
  padding: 10px 30px;
  white-space: nowrap;
}

#rank_structure>table>tbody>tr:hover {
  background-color: #443300;
}

#rank_structure>table>tbody>tr>th.table_divide_line {
    width: 100%;
    background-color: #050505;
    height: 0.5em;
    padding: 0px;
    margin: 0px;
    }

#rank_structure>table>tbody>tr>th.table_divide_line_small {
    width: 100%;
    background-color: #050505;
    height: 0.3em;
    padding: 0px;
    margin: 0px;
    }

#citizen_registry_table {
  width: 100%;
}
    
#citizen_registry {
  margin: 0px 30px;
}

#citizen_registry h1 {
  text-align: center;
  text-shadow: 1px 1px 2px rgb(172, 87, 22);
  font-size: 3em;
  font-weight: bold;
  margin: 1em auto;
}

#citizen_registry>table>tbody>tr>th, #citizen_registry>table>tbody>tr>td {
  padding: 5px 5px;
  white-space: nowrap;
  vertical-align: baseline;
  font-size: 1em;
}

#citizen_registry>table>tbody>tr>th {
  text-align: left;
}

#citizen_registry>table>tbody>tr:hover {
  background-color: #443300;
}

#citizen_registry>table>tbody>tr>th.table_divide_line {
  width: 100%;
  background-color: #050505;
  height: 0.5em;
  padding: 0px;
  margin: 0px;
}

#citizen_registry>table>tbody>tr>th.table_divide_line_small {
  width: 100%;
  background-color: #050505;
  height: 0.3em;
  padding: 0px;
  margin: 0px;
}

#citizen_registry>table>tbody>tr>td.rank_image {
  text-align: left;
  border-right-width: 0px;
}

#citizen_registry>table>tbody>tr>td.rank_name {
  text-align: right;
  color: #dddddd;
  border-left-width: 0px;
}

#citizen_registry>table>tbody>tr>td.username {
  text-align: left;
  font-weight: bold;
  font-size: 1.25em;
}

#citizen_registry>table>tbody>tr>td.faction_name {
  text-align: left;
}

#citizen_registry>table>tbody>tr>td.department_name {
  text-align: left;
}

#citizen_registry>table>tbody>tr>td.last_login_stamp {
  text-align: left;
  font-style: italic;
}

#citizen_registry>table>tbody>tr>td.last_login_stamp>span.inactive_player {
  color: #ff0000;
}

#citizen_registry>table>tbody>tr>td.profile_link {
  text-align: right;
}

#profile {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 20px;
}

#profile>div#biography {
  background-color: rgba(40, 30, 10, 0.5);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
  box-shadow: 0px 0px 2px rgba(242, 157, 27, 0.5);
  margin-right: 270px;
  padding: 10px;
  height: 50vh;
  min-height: 500px;
  box-sizing: border-box;
}

#profile>div#signature {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  margin: 20px auto 0px auto;
  background-color: rgba(40, 30, 10, 0.5);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
  box-shadow: 0px 0px 2px rgba(242, 157, 27, 0.5);
}

#profile>div#signature>div#signature_image {
  width: 450px;
  margin: 0px auto;
}

#profile>div#profile_right {
  box-sizing: border-box;
  width: 250px;
  height: 50vh;
  min-height: 500px;
  float: right;
  overflow: hidden;
  background-color: rgba(40, 30, 10, 0.5);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(242, 157, 27, 0.5);
  box-shadow: 0px 0px 2px rgba(242, 157, 27, 0.5);
}

#profile>div#profile_right>div#profile_avatar {
  width: 150px;
  margin: 20px auto 0px auto;
}

#profile>div#profile_right>div.profile_data {
  margin: 10px auto;
  padding: 0px 10px;
}

#profile>div#profile_right>div.profile_data>table>tbody>tr>td.parameter {
  text-align: right;
  vertical-align: baseline;
  font-style: italic;
}

#profile>div#profile_right>div.profile_data>table>tbody>tr>td.value {
  text-align: left;
  vertical-align: baseline;
  font-size: 1.1em;
}
   
#main_page {
  margin: 10px 30px;
}

#main_page>h1 {
  margin: 30px auto;
  text-align: center;
}

#main_page>div#main_page_banner {
  width: 168px;
  float: left;
  margin: 0px 30px 20px 0px;
}

#main_page>div#main_page_text {
  line-height: 1.25em;
  font-size: 1.25em;
  margin-right: 10px;
  min-height: 400px;
}

#main_page>div#main_page_text>h2 {
  font-size: 1.5em;
  font-weight: bold;
}
    
input, textarea, button, select
{
    background-color: black;
    color: #aaaaaa;
    border: 1px solid #222222;
    border-radius: 3px 3px 3px 3px;
}
input[type="button"], input[type="submit"], input[type="reset"] {
    cursor: pointer;
}
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
    border-color: #999999;
}
input[type="text"]:hover, input[type="password"]:hover, select:hover, input[type="text"]:focus, input[type="password"]:focus {
    color: white;
}

button[type="submit"], button[name="subject"], button[name="add_line"] {
    cursor: pointer;
}
button[type="submit"]:hover , button[name="subject"]:hover, button[name="add_line"]:hover{
    border-color: #999999;
}


.login_field {
    vertical-align: middle;
    height: 1.2em;
    width: 90px;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    }

/*
.galactic_position {
    background-color: #000000;
    text-align: center;
    vertical-align: middle;
    color: #dddddd;
    border: 0px;
    height: 1em;
    width: 40%;
    }

.galactic_system {
    background-color: #000000;
    vertical-align: middle;
    color: #dddddd;
    border: 0px;
    height: 1.2em;
    width: 100%;
    font-size: 1em;
    }

.scan_time_stamp {
    background-color: #000000;
    text-align: center;
    vertical-align: middle;
    color: #dddddd;
    border: 0px;
    height: 1em;
    width: 70%;
    }

.scan_field {
    background-color: #222222;
    vertical-align: middle;
    color: #ffffff;
    border: 0px;
    height: 1.2em;
    width: 100%;
    }

.scan_field_centered {
    background-color: #222222;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    border: 0px;
    height: 1.2em;
    width: 100%;
    }
*/



table.standard_table {
    background-color: #0d0d0d;
    border: 1px solid #000000;
    border-collapse: collapse;
    }

table.standard_table th {
    border: 1px solid #000000;
    background-color: #1f1f1f;
    font-size: 1em;
    text-align: center;
    vertical-align: middle;
    overflow:hidden;
    padding: 0.3em;
    }

table.standard_table th.table_divide_line {
    width: 100%;
    background-color: #050505;
    height: 0.5em;
    padding: 0px;
    margin: 0px;
    }

table.standard_table th.table_divide_line_small {
    width: 100%;
    background-color: #050505;
    height: 0.3em;
    padding: 0px;
    margin: 0px;
    }

table.standard_table td {
    border: 1px solid #000000;
    font-size: 1em;
    text-align: center;
    vertical-align: middle;
    overflow:hidden;
    padding: 0.3em;
    }

.second_line {
  background-color: #131313;
}