/* CSS for The Swan Station */


/* Global styles for html/body */
html.wait,
html.wait body * {
  cursor: progress !important;
}
body {
  font-size: 14px;
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background: #000;
  color: green;
  margin: 0 0 0 0;
}
body.no-scroll {
  overflow: hidden;
}



/* ----------------------------------------------------------------- */
/* Links */
a {
  color: green;
  text-decoration: underline;
  cursor: pointer;
}
a:hover {
  text-decoration: none;
}
a:active, a.profile-link:active {
  color: #0F0;
}
a.red {
  color: #E04646;
}



/* ----------------------------------------------------------------- */
/* Hide elements to show only on print outs */
.print-show { display: none; }



/* ----------------------------------------------------------------- */
/* Float clear fix */
.clear { clear: both; }



/* ----------------------------------------------------------------- */
/* Horizontal rules */
hr {
  border-top: 1px solid #ccc;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  margin: 13px 0;
}



/* ----------------------------------------------------------------- */
/* Heading text */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}
h1 { font-size: 27px; }
h2 { font-size: 23px; }
h3 { font-size: 19px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; }
h6 { font-size: 13px; }



/* ----------------------------------------------------------------- */
/* Text styling classes */
.small, small { font-size: 90%; }
.xsmall { font-size: 70%; }

.red { color: #ED2828; }
.green { color: green; }

.em, em, i { font-style: italic; }
.b, b, strong { font-weight: bold; }
.u { text-decoration: underline; }

.text-centered { text-align: center; }



/* ----------------------------------------------------------------- */
/* Lists styling */
ol, ul { 
  margin: 10px 0 0 30px; 
}
ol li {
  list-style-type: decimal;
  padding-bottom: 3px;
}
ul li {
  list-style-type: disc;
  padding-bottom: 3px;
}



/* ----------------------------------------------------------------- */
/* Paragraphs */
p {
  margin: 8px 0 0 0;
}
p.nm { /* nm = no margin */
  margin: 0;
}
p.medium { font-size: 15px; }



/* ----------------------------------------------------------------- */
/* RSS button */
.rss-orange {
  background: url(../img/orange_feed_icon.png) 0 0 no-repeat;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-indent: -9999em;
}



/* ----------------------------------------------------------------- */
/* No script / error boxes */
noscript div, .error-box {
  color: white;
  background: #F22D18;
  border: 2px solid white;
  padding: 10px 20px;
  font-size: 14px;
  margin: 15px auto;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 504px;
}
noscript div a, .error-box a {
  color: white !important;
}



/* ----------------------------------------------------------------- */
/* Main container */
#container {
  width: 945px;
  position: relative;
  margin: 15px auto;
}



/* ----------------------------------------------------------------- */
/* Loading screen */
#loading-screen {
  background-color: black;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 20;
  text-align: center;
  font-family: "Helvetica", Arial, sans-serif;
  cursor: wait !important;
}
#loading-screen span {
  color: white;
  font-size: 30px;
  font-weight: bold;
  display: block;
  margin-top: 15px;
}
#loading-screen span.l {
  color: #aaa;
  font-size: 18px;
  font-weight: normal;
}
#loading-screen img {
  display: inline-block;
  margin-bottom: 35px;
}
#loading-screen div {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -195px;
  margin-left: -250px;
  height: 376px;
  width: 500px;
}



/* ----------------------------------------------------------------- */
/* Main Center Content */
#content {
  float: left;
  width: 575px;
}



/* ----------------------------------------------------------------- */
/* Sidebars */
.sidebar {
  float: left;
  width: 170px;
  margin-right: 15px;
}
.sidebar h3 {
  color: white;
  margin-bottom: 0;
  font-size: 16px;
  padding-left: 10px;
  border-bottom: 1px solid white;
  margin-top: 25px;
}
.sidebar h3.toggleable {
  cursor: pointer;
}

#right-sidebar {
  width: 170px;
  margin: 200px 0 0 15px;
}
#right-sidebar h3.first {
  margin-top: 0;
}



/* ----------------------------------------------------------------- */
/* Sidebar navs */
ul.nav, div.sidebar-box {
  padding: 10px;
  margin: 0;
  background: #0F0F0F;
  line-height: 16px;
}
ul.nav li {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
ul.nav li:hover, 
ul.nav li a.current, 
ul.nav li a:hover {
  color: #0F0;
}
ul.nav li a {
  text-decoration: none;
  display: block;
}
ul.nav li.link {
  cursor: default;
}
ul.nav li.not-clickable {
  cursor: text;
  color: green !important;
}
ul.nav li .new_msg {
  background: #0080F0;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 1px 2px;
  -webkit-box-shadow: 0 0 4px #0080F0;
  -moz-box-shadow: 0 0 4px #0080F0;
  box-shadow: 0 0 4px #0080F0;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
ul.nav li #sound-toggle span {
  border: 1px solid green;
  padding: 1px;
}
ul.nav li #sound-toggle span.a {
  font-weight: bold;
}
ul.nav li #sound-toggle span.off {
  border-left: none;
}
ul.nav li a.logout img {
  width: 14px;
  vertical-align: bottom;
  padding-left: 4px;
}

/* Login link on sidebar */
.login-link {
  font-weight: bold;
  font-size: 14px;
}
.sidebar-nav.sticky {
  position: fixed;
  top: 0;
  width: 170px;
  margin-top: 10px;
}
.sidebar-nav.sticky h3.first {
  margin-top: 0;
}

/* Hidden stuff */
.hide, 
.level-feature,
ul.nav li a.level-feature { 
  display: none; 
}



/* ----------------------------------------------------------------- */
/* Footer styles */
#footer {
  margin: 10px auto 30px;
  text-align: center;
  font-size: 11px;
  width: 530px;
  line-height: 1.3;
}
#footer #current_time {
  font-weight: bold;
}
#footer span#multiple_sessions {
  background: #F0CC00;
  color: black;
  padding: 4px;
  margin: 8px auto 0;
  display: block;
  width: 390px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
#footer span#multiple_sessions a {
  color: black;
  text-decoration: underline;
}


/* ----------------------------------------------------------------- */
/* Footer Ad */
#footer-ad {
  margin-top: 20px;
  opacity: 0.8;
  transition: opacity .25s ease-in-out;
}
#footer-ad:hover {
  opacity: 1;
}


/* ----------------------------------------------------------------- */
/* Site announcement bar */
.site-announcement {
  color: #bbb;
  text-align: center;
  background: #111;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #232323;
  margin: 0 0 20px;
  display: none;
}
.site-announcement a {
  color: #ccc;
}



/* ----------------------------------------------------------------- */
/* Site logo */
#logo {
  background: url(../img/sprites.png) 0 0 no-repeat;
  width: 147px;
  height: 148px;
  margin-bottom: 52px;
  margin-top: 0;
  text-indent: -999999px;
  display: block;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
#logo:hover {
  -moz-opacity: 0.6;
  opacity: 0.6;
}



/* ----------------------------------------------------------------- */
/* Message/Alert Bar */
.message-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 36;
  display: none;
  color: #02DB02;
  background: #111;
  border-bottom: 2px solid #02DB02;
  box-shadow: 0 0 10px #222;
  font-size: 21px;
  text-align: center;
  padding: 15px 0;
}
.message-bar div {
  padding: 0 20px;
}
.message-bar.orange { color: #ec8700; border-color: #ec8700; }
.message-bar.red { color: #ED1515; border-color: #ED1515; }
.message-bar a {
  color: inherit;
}
.message-bar a.close {
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
}
.message-bar a.close:hover span {
  text-decoration: underline;
}



/* ----------------------------------------------------------------- */
/* Countdown Timer */
#countdown {
  position: relative;
  width: 370px;
  height: 173px;
  margin: 0 auto 30px;
  background: url(../img/sprites.png) -152px 0 no-repeat;
  font-family: Helvetica, Arial, sans-serif;
  display: block;
  border-radius: 4px;
  border: 1px solid #111;
}
#countdown .number {
  position: absolute;
  font-size: 80px;
  font-weight: bold;
  top: 40px;
  width: 59px;
  height: 73px;
  line-height: 1;
  text-align: center;
}
#countdown .number.minute {
  color: #fff;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
#countdown .number.second {
  color: #000;
  -moz-opacity: 0.9;
  opacity: 0.9;
  width: 60px;
  padding-top: 1px;
}
#countdown #hundred { left: 18px; }
#countdown #ten { left: 84px; }
#countdown #one { left: 148px; }
#countdown #tenth { left: 229px; }
#countdown #hundredth { left: 293px; }

/* Hieroglyphs */
#countdown .number img.hg {
  position: relative;
  width: 61px;
  margin-top: -6px;
}
#hg5 { 
  left: -1px;
}

/* Strip across the numbers to simulate a flip clock */
#countdown #black-strip {
  height: 2px;
  width: 195px;
  background-color: black;
  position: absolute;
  top: 78px;
  left: 15px;
  display: block;
}




/* ----------------------------------------------------------------- */
/* Computer */

#computer_container {
  position: relative;
  width: 575px;
  margin: 20px auto;
}
#computer {
  position: relative;
  width: 568px;
  height: 373px;
  margin: 0 auto 0;
  background: url(../img/computer_background.png) no-repeat;
  z-index: 5;
}



/* ----------------------------------------------------------------- */
/* Screen background */
#screen_bg {
  background: #0C1A00;
  position: absolute;
  top: 60px;
  left: 47px;
  width: 365px;
  height: 290px;
  z-index: 3;
}

/* animated green static background (lockdown) */
#computer_container.static #screen_bg {
  background-image: url(../img/green-static.gif);
}
#computer_container.static .screen,
#computer_container.static .other_screen {
  display: none !important;
}



/* ----------------------------------------------------------------- */
/* Stats on computer */
#stats_computer {
  font: 11px Helvetica, Arial, sans-serif;
  line-height: 12px;
  position: absolute;
  top: 70px;
  right: 37px;
  width: 117px;
  color: #ddd;
  /*opacity: 0.8;*/
}
#stats_computer:hover {
  /*opacity: 1;
  cursor: default;*/
}
#stats_computer a {
  color: white;
}
#stats_computer ul {
  margin: 0;
  padding: 0;
}
#stats_computer ul li {
  list-style: none;
  margin-top: 3px;
  padding-bottom: 0;
}
#stats_computer span#online-list-link {
  display: inline;
  margin: 0;
}
#stats_computer span#online-list-link a {
  color: #ddd;
}
/* Sound toggle button */
#stats_computer #sound-toggle {
  cursor: pointer;
  width: 25px;
  height: 25px;
  display: inline-block;
  margin: 0;
  position: absolute;
  right: 5px;
  bottom: 0px;
  background-image: url(../img/sprites.png);
  background-repeat: no-repeat;
}
#stats_computer #sound-toggle.on {
  background-position: -523px -62px;
}
#stats_computer #sound-toggle.off {
  background-position: -523px -41px;
  opacity: 0.6;
}
/* see more stats button */
#stats_computer #see_more_stats {
  margin-top: 8px;
  background: rgba(124,115,102,0.81);
  color: #ddd;
  padding: 6px 11px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 4px;
}
#stats_computer #see_more_stats:hover {
  background: rgba(124,115,102,1);
  color: white;
}
#stats_computer #last_reset_by {
  margin-top: 2px;
  display: block;
  width: 117px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
}
#stats_computer #last_reset_by img {
  vertical-align: text-top;
  width: 16px;
  height: 11px;
  border: 1px solid white;
  margin-right: 3px;
}
#stats_computer #last_reset_by a {
  text-decoration: none;
  color: #ddd;
}
#stats_computer #last_reset_by a:hover {
  text-decoration: underline;
}
/* all stats modal */
#all_stats {
  font-size: 14px;
}
#all_stats div {
  margin-top: 3px;
}
#all_stats h5 {
  margin-bottom: 8px;
}



/* ----------------------------------------------------------------- */
/* Page screen styling */
.screen {
  position: absolute;
    top: 93px;
  left: 83px;
  height: 213px;
  width: 291px;
  z-index: 5;
  overflow-y: auto;
  overflow-x: hidden;
}
.screen h3 {
  font-size: 19px;
}
.screen h4 {
  font-size: 16px;
}
#screen {
  color: #02DB02;
  font-family: "Courier", fixed, monospace;
  font-size: 15px;
  line-height: 19px;
  -webkit-text-shadow: 0 0 3px;
  -moz-text-shadow: 0 0 3px;
  text-shadow: 0 0 3px;
  -moz-opacity: 0.95;
  opacity: 0.85;
  white-space: pre-wrap;
  word-wrap: break-word;
}
#screen input {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 30px;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: default;
  opacity: 0;
  color: transparent;
  display: none;
}
#screen_txt {
  padding-left: 7px;
}

#screen2 p {
  line-height: 1.2;
}

#screen-points p {
  font-size: 14px;
  margin-top: 5px;
}

.other_screen {
  color: green;
  font-size: 13px;
  display: none;
  -webkit-text-shadow: 0 0 1px;
  -moz-text-shadow: 0 0 1px;
  text-shadow: 0 0 1px;
}
.other_screen p {
  margin: 0 0 6px 0;
}

/* instructions page */
#instructions {
  -moz-opacity: 0.9;
  opacity: 0.9;
  line-height: 15px;
  padding: 5px 0 0 2px;
  top: 87px;
}



/* ----------------------------------------------------------------- */
/* Screen scrollbars */
.screen:-webkit-scrollbar-track,
.green-rounded-scrollbar:-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
  opacity: 0.4;
}

.screen::-webkit-scrollbar,
.green-rounded-scrollbar::-webkit-scrollbar
{
  width: 6px;
  background-color: none;
}

.screen::-webkit-scrollbar-thumb,
.green-rounded-scrollbar::-webkit-scrollbar-thumb
{
  background-color: #004D0E;
  border-radius: 10px;

}
.screen::-webkit-scrollbar-thumb:hover,
.green-rounded-scrollbar::-webkit-scrollbar-thumb:hover 
{
  background-color: green;
}



/* ----------------------------------------------------------------- */
/* Full Pages */
#page {
  margin: 20px auto;
  min-height: 373px;
  display: none;
}
#page #legal {
  line-height: 1.1;
}
#page #legal h3 {
  margin: 15px 0 0 0;
}



/* ----------------------------------------------------------------- */
/* Indicator light on computer */
#indicator_light {
  position: absolute;
  bottom: 114px;
  right: 79px;
  width: 6px;
  height: 6px;
  background: rgb(231, 9, 9);
  z-index: 6;
  border-radius: 40px;
  -moz-box-shadow: 0 0 2px 2px rgb(231, 9, 9);
  box-shadow: 0 0 2px 2px rgb(231, 9, 9);
}



/* ----------------------------------------------------------------- */
/* Cursor on main screen */
.cursor {
  width: 7px;
  height: 13px;
  background: #00d600;
  display: inline-block;
  margin: 0 0 -2px 4px;
  padding: 0;
  -webkit-box-shadow: 0 0 2px;
  -moz-box-shadow: 0 0 2px;
  box-shadow: 0 0 2px;
}
.cursor.blink {
  -webkit-animation: blink 1.2s step-start 0s infinite;
  animation: blink 1.2s step-start 0s infinite;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
@-webkit-keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}



/* ----------------------------------------------------------------- */
/* Screen Forms */
.screen_form {
  margin-top: 15px;
}
.screen_form label, .form label {
  width: 80px;
  margin-right: 5px;
  margin-bottom: 5px;
  text-align: right;
  display: inline-block;
  font-size: 13px;
}
.screen_form label.checkbox_label {
  width: auto;
  margin: 0;
  text-align: left;
}
.screen_form label.textarea_label {
  float: left;
}
.screen_form input, .screen_form textarea, .input {
  background: black;
  border: 1px solid green;
  color: #0F0;
  padding: 4px;
  margin: 0 0 5px 0;
  width: 135px;
  font-size: 11px;
  font-family: 'Lucida Grande', Verdana, sans-serif;
}
.screen_form input:focus, .screen_form textarea:focus, .input:focus {
  outline: none;
  border-color: #00E600;
}
.screen_form input.medium {
  font-size: 12px;
}
.screen_form input.large {
  font-size: 13px;
}
.screen_form textarea {
  margin-left: 4px;
  height: 50px;
  width: 160px;
  resize: none;
}
.screen_form .required {
  color: #FF0A0A;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  -webkit-text-shadow: none;
  -moz-text-shadow: none;
  text-shadow: none;
}
.screen_form input::-webkit-input-placeholder,
.screen_form textarea::-webkit-input-placeholder {
  color: green;
}
.screen_form textarea:-moz-placeholder,
.screen_form textarea:-moz-placeholder {
  color: green;
}
.screen_form textarea::-moz-placeholder,
.screen_form textarea::-moz-placeholder {
  color: green;
}



/* ----------------------------------------------------------------- */
/* Buttons */
.screen_form button, button.btn, a.btn {
  border: 1px solid #00B800;
  color: #00E600;
  background: none;
  outline: none;
  font-size: 11px;
  padding: 4px;
  cursor: pointer;
  margin: 0;
  text-decoration: none;
  display: inline-block;
}
.btn.medium {
  font-size: 12px;
  margin-right: 3px;
}
.btn.large {
  font-size: 13px;
  padding: 5px;
}
button .loading-arrows {
  width:13px;
  vertical-align:bottom;
  opacity: 0.5;
  padding-right:2px;
}

/* input/button states */
.screen_form button:hover, 
button.btn:hover, 
a.btn:hover, 
.btn.active {
  background: green;
  color: white;
  box-shadow: inset 0 0 7px #016E08;
}
.screen_form input:disabled, .screen_form input.disabled,
.screen_form button.disabled, .screen_form button.disabled:hover,
.btn:disabled, .btn.disabled:hover,
.btn.disabled, .btn.disabled.hover {
  color: green!important;
  border-color: green;
  background: none!important;
  cursor: default;
  box-shadow: none!important;
}
input:disabled, input.disabled {
  -moz-opacity: 1;
  opacity: 1;
}

.screen_form button::-moz-focus-inner,
.btn::-moz-focus-inner {
  border: 0; padding: 0; margin:0;
}
/* speciifc label widths */
#edit_profile label {
  width: 90px;
}
#contact label {
  width: 60px;
}



/* ----------------------------------------------------------------- */
/* Styled Checkboxes */
.checkbox {
  width: 8px;
  height: 8px;
  border: 1px solid #0F0;
  background: black;
  display: inline-block;
  cursor: pointer;
}
.checkbox.checked {
  background: #0F0 url(../img/sprites.png) -526px 0 no-repeat;
}
.checkbox-label {
  cursor: default;
}



/* ----------------------------------------------------------------- */
/* Form response messages */
.form-response {
  display: none;
  margin: 2px 0;
  font-size: 13px;
}
.form-response.error {
  color: red;
  -webkit-text-shadow: none;
  -moz-text-shadow: none;
  text-shadow: none;
}
.form-response.success {
  color: #0F0;
}



/* ----------------------------------------------------------------- */
/* Tables */

table.table {
  border-collapse: collapse;
  border: 1px solid green;
}

table.table th, td {
  text-align: left;
  padding: 5px;
  padding-right: 15px;
}

table.table th {
  font-size: 15px;
  font-weight: bold;
  background: green;
  color: white;
}

table.table th a {
  color: white;
  text-decoration: none!important;
}

table.table td {
  border-top: 1px solid green;
}

table.table tr.system_failure {
  color: #ED2828;
}

table.table tr td.taken_by {
  width: 135px;
  padding-right: 0;
  font-size: 13px;
}

table.table tr td.time {
  width: 120px;
}

table.table.border td {
  border: 1px solid green;
}

/* Pagination */
.page-nav {
  margin: 10px 0;
}



/* ----------------------------------------------------------------- */
/* Stats table styling */
#timer-history, #leaderboard {
  width: 100%;
}

#timer-history td {
  font-size: 12px;
}

#leaderboard td {
  font-size: 13px;
}
#leaderboard #first-rank td {
  font-size: 16px;
  font-weight: bold;
}

#leaderboard #second-rank td {
  font-size: 15px;
}

#leaderboard td img {
  padding-right: 3px;
}

#leaderboard #first-rank img {
  width: 18px;
  padding-right: 0;
}

#leaderboard #second-rank img {
  padding-right: 2px;
}

#page .table a, .styled-box a {
  text-decoration: none;
}
#page .table a:hover, .styled-box a:hover {
  text-decoration: underline;
}

/* Styled stats boxes */
.styled-box {
  width: 178px;
  border: 1px solid green;
  padding: 0 0 10px 0;
  margin-bottom: 15px;
  font-size: 13px;
}
.styled-box h4 {
  padding: 6px;
  color: white;
  background: green;
  font-size: 15px;
  margin-bottom: 10px;
}
.styled-box div, .styled-box p {
  margin: 4px 10px;
}

/* Columns */
.left { 
  float: left; 
  width: 385px;
}
.right { 
  float: right; 
}



/* ----------------------------------------------------------------- */
/* Chat styles */
#chat {
  overflow: hidden;
  height: 215px;
  width: 288px;
  top: 90px;
  font-size: 11px;
  font-family: Helvetica, Arial, sans-serif;
  -webkit-text-shadow: none;
  -moz-text-shadow: none;
  text-shadow: none;
  position: relative;
}
#chat #chat_messages {
  position: absolute;
  bottom: 35px;
  left: 0;
  max-height: 180px;
  width: 283px;
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 13px;

  /* Prevent chat box from getting overflowed horizontally. */
  /* from http://stackoverflow.com/a/6826298/507629 */
  white-space: -moz-pre-wrap;
  white-space: -o-pre-wrap;
  white-space: -pre-wrap;
  white-space: pre-wrap;
  word-wrap: break-word;
  
}

/* links in chat */
#chat #chat_messages a {
  text-decoration: none;
  color: green;
}
#chat #chat_messages a.custom_link {
  color: #389615;
}
#chat #chat_messages a:hover {
  text-decoration: underline;
  cursor: pointer;
}
#chat #chat_messages a:active {
  color: #0F0;
}

/* system chat messages styling */
#chat #chat_messages .message.system-message a:active {
  color: #0F0;
}
#chat #chat_messages .message.system-message {
  font-style: italic;
}
#chat #chat_messages .message.system-message .red {
  color: #E80505;
}

/* Private Messaging */
#chat #chat_pm_header {
  display: none;
}
#chat.pm-convo #chat_messages {
  max-height: 158px;
}
#chat.pm-convo #chat_pm_header {
  display: block;
  position: absolute;
  top: 0;
  z-index: 5;
  font-size: 15px;
  width: 285px;
  height: 20px;
  border-bottom: 1px solid green;
}
#chat_messages .message.pm {
  font-style: italic;
}
/* wrap brackets around names for PMs */
#chat_messages .message.pm a.sender-link::before {
  content: "[";
}
#chat_messages .message.pm a.sender-link::after {
  content: "]";
}
/* PM exit button */
#pm_exit {
  position: absolute;
  bottom: 2px;
  right: 0;
  text-decoration: none;
  font-size: 20px;
}

/* Chat send message form styling */
#chat_send {
  position: absolute;
  bottom: 0;
  left: 0;
}
#chat_form {
  position: relative;
  margin: 0;
}
#chat_form button {
  margin-left: 2px;
  height: 23px;
}
#chat_form button:disabled, #chat_form button:disabled:hover {
  color: #888;
  border-color: #888;
  background: none;
}
/* PM button */
/* hidden by default;
JS shows it when user is on sufficient level */
#chat_form #pm_btn {
  display: none;
}
#chat_form.pm #pm_btn {
  display: inline-block;
}
#chat.pm-convo #pm_btn {
  background: green;
  color: white;
}
#chat_form input {
  width: 220px;
  max-width: 220px;
  border-color: #00B800;
  padding-left: 20px;

}
#chat_form.pm input {
  width: 185px;
  max-width: 190px;
}
/* the ">:" symbol in chat box */
#chat_form #chat_prompt_symbol { 
  position: absolute;
  top: 5px;
  left: 4px;
  color: #0F0;
  font-family: 'Courier', Helvetica, Arial, sans-serif;
  font-size: 12px;
}
/* style for message displayed to guests */
#chat-not-logged-in {
  font-size: 12px;
  font-style: italic;
  border-top: 1px solid green;
  padding: 4px 0;
  width: 287px;
}
#chat_messages_loading {
  font-size: 17px;
  color: #0F0;
  text-align: center;
  margin: 0 auto 75px auto;
  background: url(../img/screen-loading.gif) no-repeat top center;
  padding-top: 60px;
}

/* Private Message Chooser */
#pm_to {
  margin: 15px 0 0 0;
}



/* ----------------------------------------------------------------- */
/* Chat History */

#chat-history header,
#chat-history footer {
  background: #0F0F0F;
  border: 1px solid white;
  padding: 10px;
  margin: 36px 0 20px;
  font-size: 13px;
  color: white;
}
#chat-history h2 {
  margin-bottom: 7px;
}
#chat-history label {
  color: white;
}
#chat-history .actions {
  float: right;
  text-align: right;
}
#chat-history #chat-history-hide-pm {
  color: #0f0;
  font-size: 12px;
  opacity: 0.7;
  display: block;
  margin-top: 10px;
}
#chat-history .message {
  padding: 7px 0;
  font-family: Courier, monospace;
  border-bottom: 1px solid green;
  display: block;
  word-wrap: break-word;
  line-height: 1.4;
}
#chat-history .message:not([style*="display: none"]):last-of-type {
  border-bottom: 0;
}
#chat-history .message.private {
  font-style: italic;
}
#chat-history .message a {
  font-weight: bold;
  text-decoration: none;
}
#chat-history .message a:hover {
  text-decoration: underline;
}



/* ----------------------------------------------------------------- */
/* Flags */
.flag {
  width: 16px;
  height: 11px;
}

.flag-whiteborder {
  border: 1px solid white;
  vertical-align: top;
}



/* Loading Text (on computer screen) */
.loading {
  font-size: 17px;
  color: #0F0;
  text-align: center;
  margin-top: 20px;
  background: url(../img/screen-loading.gif) no-repeat top center;
  padding-top: 60px;

}
.loading-page {
  color: white;
  text-align: center;
  margin-top: 35px;
}



/* ----------------------------------------------------------------- */
/* Orientation Video */
#orien-video-container {
  position: fixed;
  top: 0;
  left: 0;
  background: black;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 100;
  display: none;
}
#orien-video-container a.close {
  position: fixed;
  top: 10px;
  right: 10px;
  background: url(../img/sprites.png) -551px 0 no-repeat;
  width: 40px;
  height: 40px;
  display: block;
  text-indent: -99999em;
}
#orien-video-container object {
  position: fixed;
  border: 0;
}
#projector {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 130px;
  height: 130px;
  background: white;
  border-radius: 100%;
  opacity: 0.6;
  padding: 15px;
  box-shadow: 4px 4px 6px #333;
}



/* ----------------------------------------------------------------- */
/* FAQ */
#faq {
  margin-top: 10px;
}
#faq div {
  margin-bottom: 10px;
}
#faq h3 {
  font-size: 17px;
  color: green;
}
#faq p {
  margin-top: 5px;
  line-height: 1.2;
}
#faq .highlight {
  color: #1F9C1F;
  font-weight: bold;
}
#points-info td {
  font-size: 15px;
}



/* ----------------------------------------------------------------- */
/* Profiles */

#profile {
  font-size: 14px;
}

#profile h2 {
  font-size: 19px;
  margin-bottom: 4px;
}

#profile #profile-img-container {
  float: left;
  margin-right: 10px;
  position: relative;
}

#profile #profile-img-container a {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: black;
  width: 65px;
  text-align: center;
  color: white;
  opacity: 0;
  padding: 6px 0;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: opacity .2s ease-out;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 0 2px black;
}

#profile #profile-img-container a:hover {
  text-decoration: underline;
}

#profile.my-profile #profile-img-container:hover a {
  opacity: 0.85;
}

#profile #profile-img-container img {
  border: 1px solid white;
  width: 80px;
  height: 80px;
  background: #040204 url(../img/loading-black-bg.gif) center center no-repeat;
  -webkit-box-shadow: 0 0 3px #fff;
  -moz-box-shadow: 0 0 3px #fff;
  box-shadow: 0 0 3px #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  transition: opacity .7s ease-out;
}

#profile.my-profile #profile-img-container:hover img {
  opacity: 0.6;
}

#profile p {
  margin: 3px 0 0 0;
  font-size: 14px;
}

#profile .flag {
  margin-top: 1px;
  margin-right: 2px;
}

#profile #user-label {
  font-size: 14px;
  font-weight: normal;
  color: #1BC231;
}

#profile .bio {
  font-style: italic;
  margin-top: 10px;
}

#profile .buttons {
  margin-bottom: 0;
  margin-top: 12px;
}



/* ----------------------------------------------------------------- */
/* Modal Box */
#modal {
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 35;
  display: none;
  box-shadow: 0 0 5px #030;
  min-width: 200px;
  border: 1px solid #006800;
  color: #090;
  font-family: 'Courier New', Courier, monospace;
}
#modal-title {
  border-bottom: 1px solid #006800;
  font-weight: bold;
  font-size: 16px;
  padding: 15px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
#modal-content {
  position: relative;
  padding: 15px;
  max-height: 380px;
  overflow-y: auto;
}
#modal .close {
  position: absolute;
  top: -24px;
  right: -1px;
  display: none;
  background: #006800;
  padding: 5px;
  color: #020;
}
#modal-overlay {
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 34;
  opacity: 0.8;
  display: none;
}
#modal-content table {
  color: #222;
  border-color: #222;
  font-size: 14px;
}
#modal-content table tr th {
  background: #222;
  color: white;
  padding: 5px;
  font-weight: bold;
}
#modal-content table tr td {
  border-color: #222;
}
#modal-content a {
  color: #0c0;
  font-size: 13px;
  text-decoration: none;
}
#modal-content a:hover {
  text-decoration: underline;
}
#modal-content p:first-child {
  margin-top: 0;
}
#modal-content select {
  font-size: 14px;
  display: block;
  background: #0A0;
  border: 0;
  outline: none;
  height: 30px;
  width: 180px;
  margin: 10px 0 0 0;
}


/* ----------------------------------------------------------------- */
/* Forms & buttons in modals */
#modal button.medium {
  padding: 7px 9px;
}
#modal .btn.danger {
  color: #ED2828;
  border-color: #ED2828;
}
#modal .btn.danger:hover {
  color: #fff;
  background: #ED2828;
}
#modal .btn.good {
  color: green;
  border-color: green;
  background: white;
}
#modal .btn.good:hover {
  color: white;
  background: green;
}

#modal input[type="text"], 
#modal input[type="email"], 
#modal input[type="number"], 
#modal input[type="password"], 
#modal textarea {
  border: 1px solid #aaa;
  padding: 5px;
  font-size: 12px;
}
#modal input[type="text"]:focus, 
#modal input[type="email"]:focus, 
#modal input[type="number"]:focus, 
#modal input[type="password"]:focus, 
#modal textarea:focus {
  border-color: #222;
  outline: none;
}
#modal label {
  font-size: 12px;
}
#modal p.medium {
  font-size: 15px;
}



/* ----------------------------------------------------------------- */
/* User profile picture changer styling */

#picture-changer {
  padding: 0;
  margin: 0;
}
#picture-changer li {
  padding: 6px;
  font-size: 17px;
  list-style: none;
  cursor: pointer;
  height: 54px;
}
#picture-changer li:hover {
  background: #040;
}
#picture-changer li img.picture {
  float: right;
  width: 50px;
  height: 50px;
  border: 1px solid #999;
  padding: 1px;
  background: url(../img/modal-loading.gif) center no-repeat;
}
#picture-changer li span {
  float: left;
  line-height: 20px;
}
#picture-changer li.active span {
  font-weight: bold;
}
#picture-changer li#uploaded-picture {
  display: none;
}
#picture-changer li#uploaded-picture.show  {
  display: block;
}

#picture-changer li span img {
  display: none;
  vertical-align: bottom;
}
#picture-changer li.active span img {
  display: inline-block;
}

#picture-changer li a {
  font-weight: normal;
  color: inherit;
  text-decoration: underline;
}
#picture-changer li a:hover {
  text-decoration: none;
}

#picture-changer hr {
  margin: 8px 0;
  border-color: #080;
}
/* upload button */
#upload-picture {
  display: none;
}
#upload-form input {
  width: 197px;
  border:0;
  padding:0;
  margin: 8px 0 0 0;
}
#upload-response {
  display: none;
  font-size: 12px;
  margin-top: 8px;
  font-weight: bold;
}



/* ----------------------------------------------------------------- */
/* Lockdowns */

#lockdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  background: #201ea5;
  opacity: 0.6;
  display: none;
}
#lockdown-blastdoor {
  background: url(../img/blastdoor.jpg) 0 0 no-repeat;
  width: 960px;
  height: 536px;
  position: fixed;
  top: -539px;
  left: 50%;
  margin-left: -484px;
  z-index: 41;
  border: 3px solid black;
  border-top: none;
  display: none;
  -webkit-box-shadow: 0 0 10px #111;
  -moz-box-shadow: 0 0 10px #111;
  box-shadow: 0 0 10px #111;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}



/* ----------------------------------------------------------------- */
/* Feedback Tab */
#feedback-tab {
  position: fixed;
  left: 10px;
  bottom: 10px;
  overflow: hidden;
  background: #333;
  padding: 8px 11px;
  color: white;
  font-size: 14px;
  text-decoration: none;
  z-index: 10;
  border-radius: 3px;
}
#feedback-tab:hover {
  background: green;
  box-shadow: 0 0 5px green;
}



/* ----------------------------------------------------------------- */
/* Online List styling */
#online_list {
  position: fixed;
  bottom: 0;
  right: 20px;
  box-shadow: 0 0 10px #111;
  border-bottom: 0;
  min-width: 230px;
  z-index: 25;
}
#online_list_header {
  padding: 10px;
  background: #222;
  border-bottom: 1px solid #111;
  box-shadow: 0 0 10px #0f0f0f;
  font-weight: bold;
  color: white;
  font-size: 15px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#online_list_header .toggle {
  cursor: pointer;
  font-size: 15px;
  color: #333;
  background-color: #eee;
  width: 17px;
  height: 17px;
  text-align: center;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 9px;
  border-radius: 3px;
  text-decoration: none;
}
#online_list_header .toggle:hover {
  background-color: #777;
  color: white;
}
#online_list_header .online_header_updating {
  display: none;
}
#online_list .container {
  background: #0F0F0F;
  min-height: 150px;
  overflow-x: hidden;
  overflow-y: auto;
  word-wrap: break-word;
}
#online_list_content {
  max-height: 220px;
}
#online_list .container::-webkit-scrollbar {
  width: 6px;
}
#online_list .container::-webkit-scrollbar-thumb {
  background-color: #333;
}
#online_list .container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
#online_list .status-text {
  text-align: center;
  font-style: italic;
  color: white;
  padding-top: 30px;
}
#online_list ul {
  margin: 0;
}
#online_list ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
#online_list ul li a {
  text-decoration: none;
  display: block;
  padding: 10px;
  border-bottom: 1px solid #1f1f1f;
}
#online_list ul li a:hover {
  background: green;
  color: white;
}
#online_list ul li a .current-page {
  display: block;
  font-size: 11px;
  padding-top: 3px;
  font-style: italic;
}
#online_list ul li a .info {
  float: left;
}
#online_list ul li a .last-active {
  float: right;
  font-size: 12px;
}
#online_list ul li a .user-link:hover {
  text-decoration: underline;
}
#online_list .small {
  font-size: 10px;
}

#online_list ul li a .current-page:empty,
#online_list ul li a .last-active:empty {
  display: none;
}

/* advanced online list extra info styling */
#online_list_info {
  display: none;
  padding: 10px;
  width: 350px;
  height: 200px;
}
#online_list_info_back {
  color: white;
  font-size: 13px;
}
#online_list_info_content {
  margin-top: 8px;
  padding-top: 4px;
  border-top: 1px solid #222;
}
#online_list_info h3 {
  margin: 0 0 5px;
}
#online_list_info table {
  width: 100%;
  margin: 7px 0 10px;
}
#online_list_info table th,
#online_list_info table tr,
#online_list_info table td {
  border: 1px dashed green;
  padding: 5px;
}
#online_list_info table th {
  text-align: left;
}
#online_list_info table td.ip {
   width: 90px;
}



/* ----------------------------------------------------------------- */
/* Level Information Page */
.expand-level-desc {
  text-decoration: none;
}
.expand-level-desc.expanded {
  text-decoration: underline;
}
.level-desc {
  font-style: italic;
  display: none;
  padding: 4px 0;
}



/* ----------------------------------------------------------------- */
/* Preferences */
.preferences-link {
  position: fixed;
  left: 8px;
  bottom: 8px;
  padding: 10px;
  background: #0F0F0F;
  color: #aaa;
  border-radius: 3px;
  cursor: pointer;
}
.preferences-link:hover {
  color: #ccc;
}



/* ----------------------------------------------------------------- */
/* Selection Color */

::selection {
  background: green;
  color: white;
}
::-moz-selection {
  background: white;
  color: black;
}



/* ----------------------------------------------------------------- */
/* Misc */

/* Ellipsis for long usernames that don't fit */
.username-ellip {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  max-width: 103px;
}

/* Circular level badges */
.level-badge {
  background: #ccc;
  padding: 1px 3px;
  font-size: 11px;
  color: black;
  border-radius: 100%;
  text-align: center;
  display: inline-block;
  vertical-align: top;
}

/* Icons under "want to help?" */
#social-help-icons {
  margin-top: 5px;
  line-height: 0;
}
#social-help-icons a {
  display: inline-block;
  margin: 0;
  opacity: 0.7;
}
#social-help-icons a:hover {
  opacity: 1;
}

/* Underlined help text */
.help-text {
  border-bottom: dotted 1px;
  cursor: help;
}
