html {
  font-size: 7.5pt;
}

* {
  font-family: Tahoma, Calibri, Helvetica, Arial, OCR A Extended, sans-serif;
  font-size: 1.5rem;
  color: #000000;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 6.5rem;
  background-color: white;
}

#logo {
  position: absolute;
  height: 6.5rem;
  padding: 1rem;
  width: 23rem;
  left: 20rem;
}
@media all and (max-width: 62.5rem) {
  #logo {
    left: 0;
  }
}
#logo a {
  text-decoration: none;
}

@media all and (max-width: 62.5rem) {
  #pointer-to-search {
    display: none;
  }
}

#counter {
  position: absolute;
  width: 10rem;
  font-weight: bold;
  text-align: right;
  bottom: 1.25rem;
  left: 77rem;
  cursor: pointer;
}
@media all and (max-width: 62.5rem) {
  #counter {
    left: auto;
    right: 0;
    padding-right: 1rem;
  }
}

#ekg {
  position: absolute;
  width: 10rem;
  height: 6.7rem;
  bottom: -1.7rem;
  left: 58rem;
}
@media all and (max-width: 62.5rem) {
  #ekg {
    left: auto;
    right: 0;
  }
}

#navicon {
  display: none;
}
@media screen and (max-width: 62.5rem) {
  #navicon {
    display: block;
    position: absolute;
    width: 2em;
    height: 2em;
    right: 1em;
    top: 1.5em;
  }
}

main {
  position: absolute;
  top: 6.5rem;
  left: 20rem;
  width: 68rem;
  padding: 2rem 1rem 2rem;
}
@media all and (max-width: 62.5rem) {
  main {
    top: 12.5rem;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem;
  }
}

#results tr.not-codeable {
  opacity: 0.45;
}

#results td {
  vertical-align: top;
  padding: 0 1rem 0.5rem 0;
}

#results td:last-child {
  padding-right: 0;
}

#results td.text {
  white-space: pre-wrap;
}

#results td.main {
  font-weight: 600;
}

#results td.synonym {
  font-style: normal;
}

#results td.add {
  font-style: italic;
}

#results td.note {
  font-style: italic;
}

#results td.includes, #results td.excludes {
  font-style: italic;
}

#results td.includes div, #results td.excludes div {
  font-style: normal;
  height: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#results td.includes div {
  border: 1px solid black;
}

#results td.excludes div {
  background: #333333;
  color: white;
}

#results span.code-fragment {
  cursor: pointer;
}

#results span.code-fragment:hover {
  text-decoration: underline;
}

#bg {
  position: fixed;
  left: 40rem;
  bottom: 15rem;
  width: 48rem;
  height: 11.4rem;
  -webkit-background-size:100%;
  background-size: 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
}
@media all and (max-width: 62.5rem) {
  #bg {
    left: auto;
    right: 2rem;
    bottom: 20%;
    width: 70%;
  }
}

#form {
  position: fixed;
  left: 1rem;
  top: 6.5rem;
  padding: 2rem 0;
}
@media all and (max-width: 62.5rem) {
  #form {
    left: 0;
    top: 7.1rem;
    right: 0;
    width: 100%;
    padding: 1rem;
    background-color: white;
  }
}

#suche {
  display: block;
  width: 18rem;
}
@media all and (max-width: 62.5rem) {
  #suche {
    display: inline;
    width: 45%;
  }
}

#catalog {
  width: 18rem;
  margin-top: 1rem;
}
@media all and (max-width: 62.5rem) {
  #catalog {
    float: right;
    width: 45%;
    margin: 0;
  }
}

#menu_container {
  position: fixed;
  left: 1rem;
  top: 6.5rem;
  padding: 0;
}
@media all and (max-width: 62.5rem) {
  #menu_container {
    display: none;
    left: auto;
    right: 1em;
    top: 3.5em;
    background: white;
  }
}

ul#cust_area_menu {
  list-style: none;
  text-align: right;
  padding: 0;
}

ul#cust_area_menu li {
  width: 18rem;
  margin: 0;
  padding: 1rem 0;
  border-top: 0.1rem solid slategray;
}

ul#cust_area_menu li:first-of-type {
  padding-top: 2.5rem;
  border-top: none;
}

ul#cust_area_menu li a {
  text-decoration: none;
}

ul#cust_area_menu li a.active {
  color: #bb0000;
}

ul#cust_area_menu li a:hover {
  text-decoration: underline;
}

ul#cust_area_menu li a.active:hover {
  text-decoration: none;
}

#cust_faq img {
  width: 95%;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

#span_login_email {
  color: #0000a0;
}

div.extender {
  height: 5rem;
}

div.closing-row {
  display: inline-block;
  width: 100%;
  height: 1px;
  border: none;
  background: transparent;
  margin: 0;
}

footer {
  position: fixed;
  width: 100%;
  bottom: 0;
  background-color: white;
}

#footer-inner {
  position: relative;
  left: 20rem;
  width: 68rem;
  text-align: left;
  padding: 1rem;
}
@media all and (max-width: 62.5rem) {
  #footer-inner {
    left: 1rem;
    right: 1rem;
    width: auto;
    text-align: center;
    padding: 1rem 0.5rem;
  }
}

#footer-inner a {
  text-decoration: none;
}

#footer-inner a:hover {
  text-decoration: underline;
}

#ops_link {
  color: #0000a0;
}
#icd_link {
  color: #bb0000;
}
#drg_link {
  color: #227922;
}

#job_ad_carousel, #job_ad_preview, #skyscraper {
  position: absolute;
  left: 90rem;
  top: 6.5rem;
  padding: 1rem;
}
@media all and (max-width: 79rem) {
  #job_ad_carousel, #job_ad_preview, #skyscraper {
    display: none;
  }
}

#job_ad_preview {
  position: fixed;
  top: 20rem;
}

#ad_toggle_control {
  width: 30rem;
  text-align: right;
  font-size: 1rem;
  cursor: pointer;
  padding-bottom: 1rem;
  text-decoration: underline;
}

#preview_label {
  font-size: 1.2rem;
  width: 100%;
  margin-top: -1rem;
  text-align: right;
}

.job_ad {
  width: 30rem;
  vertical-align: middle;
  border: 1px solid slategrey;
  padding: 1rem;
  margin-bottom: 2rem;
  text-align: center;
  cursor: pointer;
}

#all_job_ads .job_ad {
  display: inline-block;
}

#all_job_ads section {
  text-align: justify;
}

@media all and (max-width: 40rem) {
  #all_job_ads section {
    text-align: center;
  }
}

#job_ad_for_deactivation_wrapper {
  width: 100%;
  margin: 2rem 0;
  text-align: left;
}

#job_ad_for_deactivation {
  display: inline-block;
}

#sort_control {
  border-top: 0.1rem solid lightgrey;
  border-bottom: 0.1rem solid lightgrey;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

#no_ads {
  margin-top: 5rem;
  font-style: italic;
}

.job_ad p {
  margin-bottom: 1rem;
  overflow: hidden;
}

.job_ad_who, .job_ad_who span {
  font-size: 1.7rem;
}

span.company {
  color: #bb0000;
  font-size: 1.7rem;
}

.job_ad_when {
  font-size: 1.4rem;
}

.job_ad_job {
  font-size: 1.7rem;
}

.job_ad_where, .job_ad_where span {
  font-size: 1.4rem;
}

.wide_form_table {
  width: 100%;
}

.wide_form_table .td_small {
  width: 9rem;
}

.wide_form_table .td_medium {
  width: 23rem;
}

.wide_form_table .td_50 {
  width: 50%;
}

#setup_job_ad h2,
#manage_credentials h2 {
  margin-top: 4rem;
}

#setup_job_ad h2:first-of-type,
#manage_credentials h2:first-of-type {
  margin-top: 2.2rem;
}

#fe_article, #fe_company, #fe_job, #fe_when, #fe_where, #fe_time, #fe_zip_code, #fe_url, #fe_ref_no,
#fe_form_of_address, #fe_title, #fe_first_name, #fe_last_name, #fe_email, #fe_phone,
#fe_billing_company, #fe_billing_dept, #fe_billing_attn, #fe_billing_street,
#fe_billing_town, #fe_billing_zip, #fe_billing_country {
  width: 100%;
}

#fe_new_email {
  min-width: 30rem;
}

#fe_activation_date, #fe_deactivation_date {
  margin-right: 0.5rem;
}

#fe_invoice_transfer_mode {
  margin-top: 1rem;
}

#address_selection_panel,
#contact_selection_panel {
  border: 1px solid #0000a0;
  padding: 0;
  margin-bottom: 0.5rem;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

#select_address_caption,
#select_contact_caption {
  margin: 0;
  padding: 0.3rem;
  background: linear-gradient(to top left, #f0f0f0, #f8f8f8);
}

img#address_dropdown,
img#contact_dropdown {
  width: 2rem;
  height: 2rem;
  float: right;
}

#address_list,
#contact_list {
  padding:0.3rem;
  border-top: 0.1rem solid #0000a0;
}

#address_selection_panel .address,
#contact_selection_panel .contact {
  position: relative;
  display: inline-block;
  width: calc(50% - 2rem);
  margin: 1rem;
  padding: 0.5rem;
  border: 0.1rem solid #0000a0;
  font-size: 1.2rem;
  overflow: hidden;
  cursor: pointer;
}

#address_selection_panel .address {
  height: 10rem;
}

#contact_selection_panel .contact {
  height: 5.5rem;
}

#address_selection_panel .address p,
#contact_selection_panel .contact p {
  font-size: 1.2rem;
  margin: 0 0.3rem;
  line-height: 125%;
}

#address_selection_panel .address.hovered,
#contact_selection_panel .contact.hovered {
  background: linear-gradient(to top left, #f0f0f0, #f8f8f8);
}

img.delete-address,
img.delete-contact {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}
/* ------------------------------------------------------------------------------------------------------------------ */
/* Manage ads */
/* ------------------------------------------------------------------------------------------------------------------ */

div.manage_ad_container {
  margin: 1rem 0;
  border-bottom: 0.1rem solid #0000a0;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

div.manage_ad_container:last-child {
  border-bottom: none;
}

div.manage_ad_container > div {
  display: inline-block;
  vertical-align: top;
}

div.manage_ad_container.inactive p {
  color: #aaaaaa !important;
}

div.manage_ad_container.inactive span.company {
  color: #bb7c7c;
}

div.manage_ad_top_right,
div.manage_ad_bottom_right {
  position: relative;
  margin-left: 3rem;
  width: 30rem;
  overflow: hidden;
}

div.manage_ad_bottom_left {
  position: relative;
  width: 30rem;
}

div.manage_ad_bottom_left .runtime {
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 0.3rem;
}

div.manage_ad_bottom_left .job-ad-id {
  position: absolute;
  right: 0;
  top: 0;
  text-align: right;
  padding-top: 0.3rem;
}

div.manage_ad_bottom_right button {
  margin-right: 1rem;
  cursor: pointer;
}

div.manage_ad_bottom_right button:disabled {
  color: #aaaaaa;
  cursor: default;
}

div.manage_ad_contact,
div.manage_ad_billing_address {
  position: absolute;
  margin-bottom: 0.5rem;
}

div.manage_ad_contact {
  top: 0;
  left: 0;
}

div.manage_ad_billing_address {
  bottom: 0;
  left: 0;
}

p.contact-header,
p.billing-address-header {
  text-decoration: underline;
  font-style: italic;
  margin-bottom: 0.3rem !important;
}

div.manage_ad_contact p,
div.manage_ad_billing_address p,
div.manage_ad_runtime p {
  font-size: 1.2rem;
  margin: 0;
}

.login-form-table {
  margin: 10rem auto;
  width: 27rem;
}

.login-form-table h1 {
  color: black;
  background-color: transparent;
  text-align: center;
}

@media all and (max-width: 62.5rem) {
  .login-form-table {
    margin: 1rem auto;
  }
}

.login-form-table #error_cell {
  font-size: 1.4rem;
  line-height: 1.5;
  padding: 0;
}

.login-form-table #error_cell a {
  font-size: 1.4rem;
  text-decoration: underline;
}

.login-form-table #error_cell.active {
  border-left: 0.5rem solid #bb0000;
  padding-left: 0.8rem;
}

.login-form-table input {
  width: 100%;
  margin-bottom: 1rem;
}

.login-form-table td#link_cell {
  padding-top: 1.5rem;
  text-align: justify;
}

.login-form-table td#link_cell, #login_table td#link_cell a {
  font-size: 1.4rem;
}

.login-form-table a {
  text-decoration: none;
}

.login-form-table a:hover {
  text-decoration: underline;
}

.login-form-table #spacer_cell {
  padding: 0;
  font-size: 0.5rem;
}

#new_email_message_cell, #new_password_message_cell {
  padding-top: 2rem !important;
}

#new_email_message_cell.error, #new_password_message_cell.error {
  color: #bb0000;
}

h1 {
  width: 100%;
  font-size: 1.8rem;
  font-weight: 500;
  color: #bb0000;
  padding-right: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-bottom: 2rem;
  text-align: right;
  background-color: #f0f0f0;
}

h2 {
  width: 100%;
  font-size: 1.7rem;
  font-weight: 500;
  border-bottom: 0.1rem solid slategray;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.2rem;
  color: #0000a0;
}

p, ul {
  margin: 0 0 1.7rem 0;
}

p.subtitle {
  margin: 0.5rem 0 2rem 0;
  text-align: center;
}

label {
  font-size: 1.2rem;
}

label.radio-label {
  font-size: 100%;
}

select, input[type=text], input[type=password],
input[type=url], input[type=email], input[type=tel] {
  padding: 0.3rem;
  background: linear-gradient(to top left, #f0f0f0, #f8f8f8);
}

button {
  padding: 0.2rem 0.5rem;
}

fieldset {
  border: 0;
}

ul {
  padding-left: 3rem;
  list-style: outside square;
}

li {
  margin: 0.5rem 0;
}

dt {
  font-weight: bold;
  margin-bottom: 1rem;
}

dd {
  margin-bottom: 3rem;
  margin-left: 3rem;
}

tt {
  font-family: monospace;
}

span.site {
  font-weight: bold
}

.code {
  white-space: nowrap;
}

tr.not-codeable td.code {
  cursor: pointer;
}

.main {
  font-weight: bold;
}

.unofficial {
  font-style: italic;
}

.hover {
  text-decoration: underline;
}

.pointer {
  cursor: pointer;
}

.button-cell {
  text-align: right;
}

.form-element-annotation {
  font-size: 1.2rem;
}

.image-subtitle {
  font-size: 1.2rem;
}

input.small {
  width: 8rem;
}

input.error  {
  border: 0.2rem solid #bb0000 !important;
}

.icd-color {
  color: #bb0000;
}

.ops-color {
  color: #0000a0;
}

.drg-color {
  color: #227922;
}
