* {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #3333dd;
}
a img {
  vertical-align: middle;
}
a:hover {
  text-decoration: underline;
}
option:disabled {
  background-color: lightgrey;
}

body {
  height: 100%;
  max-height: 100%;
  font-family: Arial, Verdana, sans-serif;
  font-size: 12px;
  color: #333333;
}
legend {
  font-weight: bold;
  color: #333;
  padding: 2px 5px 2px 5px;
}
.slim_neutral,
.slim_success,
.slim_error,
.slim_notice {
  padding: 0 0.8em 0 0.8em;
  margin-bottom: 1em;
  font-size: 80%;
}

.slim_success {
  background: #e6efc2;
  border-color: #c6d880;
}
.slim_error {
  background: #fbe3e4;
  border-color: #fbc2c4;
}
.slim_notice {
  background: #fff6bf;
  border-color: #ffd324;
}
.slim_neutral {
  border-color: #999;
}

.notice,
.success,
.error,
.superadmin {
  padding: 0.5em;
  margin: 0.1em 2em 0;
  background-position: 4px 4px;
  background-repeat: no-repeat;
  color: #3d3d3d;
}
.notice-smallmargin {
  padding: 0.5em;
  margin: 0.2em;
  background-position: 4px 4px;
  background-repeat: no-repeat;
  color: #3d3d3d;
}
.notice-mediummargin {
  padding: 0.5em;
  margin: 0.5em;
  background-position: 4px 4px;
  background-repeat: no-repeat;
  color: #3d3d3d;
}
.superadmin {
  border: 1px solid #666666;
  background-color: #e6e5df;
  padding-left: 10px;
  background-image: url('/images/icons/tux.png');
}
.notice,
.notice-smallmargin,
.notice-mediummargin {
  border: 1px solid #eaeac1;
  background-color: #ffffe9;
  /*  padding-left: 30px;
  background-image:url("/images/icons/information.png");*/
}
.error {
  border: 2px solid #fd7d76;
  background-color: #ffa099;
  background-image: url('/images/icons/stop.png');
  padding-left: 24px;
  margin: 0px;
}
.success {
  border: 2px solid #b0d8a6;
  background-color: #bee8b5;
  background-image: url('/images/icons/accept.png');
}
.flash {
  padding: 5px;
  border: 1px solid #999;
  /*width: 99.5%;*/
  margin: 0;
}
.flash_updated {
  background: #a7ffa7;
}
.flash_edit {
  background: #ffffc7;
}
.flash_new {
  background: #ffffc7;
}
.flash_error {
  background: #ff9f9f;
}
.flash_delete {
  background: #ffa7a7;
}
.flash_white {
  background: #ffffff;
}
.flash_image {
  vertical-align: bottom;
}
.text_italic {
  font-style: italic;
}
tr.even {
  background: #eee;
}
tr.odd {
  background: #fff;
}
tr.stacked-highlight {
  background: #e7e9ff;
  /*  background:#000;*/
}

/***************** LOGIN ***************************/
#login_childreg {
  margin: 0 auto;
  padding: 10px;
  width: 400px;
  height: 120px;
  margin-left: 20px;
  margin-bottom: 5px;
  border-left: 1px solid #999;
}
/*************** END LOGIN *************************/

/***************** USER LAYOUT *********************/
#content {
  padding: 5px;
  margin: 4px;
  margin-left: 195px;
  display: block;
  background: #f6f5ef;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #e6e5df;
  -moz-box-shadow: 1px 1px 1px #999;
  -webkit-box-shadow: 1px 1px 1px #999;
  box-shadow: 1px 1px 1px #999;
}
#menu_content,
.menu_content {
  /*  padding: 5px;*/
  margin: 4px;
  display: block;
  background: #f6f5ef;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #e6e5df;
  -moz-box-shadow: 1px 1px 1px #999;
  -webkit-box-shadow: 1px 1px 1px #999;
  box-shadow: 1px 1px 1px #999;
}
.rounded {
  padding: 5px;
  margin: 4px;
  display: block;
  background: #f6f5ef;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #e6e5df;
  -moz-box-shadow: 1px 1px 1px #999;
  -webkit-box-shadow: 1px 1px 1px #999;
  box-shadow: 1px 1px 1px #999;
}
table.x-date-inner {
  background: #fff;
}
div#user {
  width: auto;
  overflow-x: auto;
  color: #454545;
}
div#user_content {
  position: absolute;
  left: 200px;
  margin: 5px;
  padding: 5px;
  width: 70%;
}
.user_content {
  display: block;
  overflow: visible;
  padding: 10px 0 0 0 !important;
  margin: 0;
  padding-top: 20px;
}
div#user_top {
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  background: #f6f5ef;
}
div#user_top_info {
  height: 6px;
  background: #fff url('/images/top_line.png') repeat-x;
  padding: 0;
  margin: 0;
}
div#userinfo {
  padding: 10px;
  vertical-align: bottom;
}
div#user_top_empty {
  height: 60px;
  background: #f6f5ef;
  margin: 0px 10px 0px 10px;
}
div#user_top_bottom {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  background: #f7f7f0;
  height: 5px;
}
div#languagebar li {
  float: left;
}
.container_top {
  width: 650px;
  height: 13px;
  padding: 0px;
  /*background: url('/images/container_thin_top.png') no-repeat;*/
}
.container_middle {
  padding: 0px;
  padding-left: 20px;
  padding-right: 20px;
  background: #fafafa;
  margin: 5px;
  padding: 5px;
  /*background: url('/images/container_thin_back.png') repeat-y;*/
}
.container_bottom {
  width: 650px;
  height: 17px;
  /*background: url('/images/container_thin_bottom.png') no-repeat;*/
}

div#user_content table {
  float: left;
  vertical-align: top;
}
div.user_menu {
  position: absolute;
  left: 0px;
  width: 190px;
  /*  margin: 5px;
  padding: 5px; */
  height: auto;
}
.user_menu_thin_top {
  width: 180px;
  height: 13px;
  padding: 0px;
  margin: 0px;
  /*background: url('/images/menu_thin_top.png') no-repeat;*/
}
.user_menu_top {
  width: 180px;
  height: 22px;
}
.user_menu_header {
  background: #e7e9ff;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-topleft: 5px;
  /*  -webkit-border-radius: 5px 10x 5px 0px;*/
  /*  border: 1px solid #E6E5DF;*/
  text-indent: 0px;
  padding: 2px;
  margin: 0;
  color: #333;
  border-bottom: 1px solid #ddd;
}
.user_menu_header img {
  vertical-align: bottom;
  padding: 2px 2px 0 2px;
}
.mottagning {
  /*background: url('/images/container_top_mottagning.png') no-repeat;*/
}
.administration {
  /*background: url('/images/container_top_admin.png') no-repeat;*/
}
.statistik {
  /*background: url('/images/container_top_statistik.png') no-repeat;*/
}
.user_menu_middle {
  width: 180px;
  padding: 5px 3px 0px 12px;
  /*background: url('/images/menu_thin_back.png') repeat-y;*/
}
.user_menu_bottom {
  width: 180px;
  height: 17px;
  /*background: url('/images/menu_thin_bottom.png') no-repeat;*/
  margin-bottom: 5px;
}
div#languagebar ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}
.user_menu input {
  /*  float: left; */
  color: #333;
  clear: left;
  padding: 1px;
  padding-bottom: 2px;
  padding-left: 5px;
  margin-bottom: 1px;
  text-align: left;
  font-size: 12px;
  width: 100%;
  border: 0 none;
  background: #f6f5ef url('/images/button_background.png') no-repeat;
}
.user_menu input:hover,
.user_menu .button-hover {
  /*  color: #0eabe2;*/
  color: #142563;
  /*  background: #333;*/
  vertical-align: top;
  cursor: pointer;
  text-decoration: underline;
  /*  background: #142563 url('/images/button_background_dark.png') no-repeat;*/
  background: url('/images/button_background_dark.png') no-repeat;
  /*
  border: expression(this.onmouseout = new Function("this.className = 'hover';"));*/
}
.user_menu li.here input {
  color: #fff;
  background: #142563 url('/images/button_background_inverted.png') no-repeat;
}
/*************** END USER LAYOUT *******************/

/*************** LISTING TABLES ********************/
.list_section {
  width: 97%;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #999;
}

.listing {
  margin-top: 5px;
  text-align: left;
  border-spacing: 0em;
  width: 95%;
}
.listing th {
  font-weight: bold;
  border-bottom: 1px solid #0eabe2;
  text-align: left;
}
.listing td {
  border-bottom: 1px solid #ddd;
}
.listing th,
.listing td {
  padding: 1px 3px 1px 3px;
}
.listing tr.even:hover,
.listing tr.odd:hover,
.listing-hover td {
  background: #bfeaff;
  cursor: pointer;
}

.form_div_fields {
  height: 424px;
  overflow: auto;
}
.form_div_fields fieldset {
  width: 97%;
}
.form_div_fields td {
  line-height: 20px;
  vertical-align: middle;
}
/**************** END LISTING TABLES ************************/

/**************** INPUT TABLE ********************************/
.holdertable {
  margin: 0px;
  padding: 0px;
  height: 100px;
  width: 98%;
}
.holdertable td,
.holdertable th {
  text-align: left;
  vertical-align: top;
  padding: 1px;
}
.section,
.subsection {
  margin-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  border-top: 1px solid #333;
  text-align: left;
}
.section_header {
  text-align: left;
  vertical-align: top;
  font-size: 110%;
  padding: 5px;
  background: #ffffff;
}
.section legend {
}
.section table {
  /*margin-left: 10px;*/
}
.section td {
  vertical-align: top;
}

.subsection {
  margin-left: 20px;
}

.visit_section,
#current_treatment_strategy,
#visit_bout_since_last_visit,
#list_patient_diagnosis_course {
  padding: 5px;
  margin-bottom: 5px;
  border: 1px solid #aaa;
  background: #fafce4;
}
.inline_treatment {
  padding: 0px;
  margin-bottom: 0px;
  background: #ffffff !important;
  border: none !important;
}

.visit_section,
#current_treatment_strategy td,
#visit_bout_since_last_visit td,
#list_patient_diagnosis_course td {
  padding: 2px 5px 2px 0px;
}

/************ END INPUT TABLE ********************************/

/******************************* registration form as fieldset  *******************************/
.marginform fieldset {
  background: transparent;
  display: block;
  margin: 0 0 0 0;
  border: 0 solid #ffffff;
  border-top: 1px solid #000000;
  padding: 0 1em 1em 1em;
}
.patient_data_expand {
  margin-right: 2px;
}
.marginform fieldset.radio {
  margin: 0 0 0 -1em;
  border: 0 solid #ffffff;
}

.marginform fieldset.radio input {
  position: static;
  clear: both;
  float: left;
}

.marginform fieldset.radio label {
  position: relative;
  top: -1.25em;
  display: inline;
  width: auto;
  margin: 0 0 0 8em;
  font-weight: bold;
  font-weight: normal;
}

.marginform fieldset.radio legend {
  float: left;
  font-weight: bold;
}

.marginform input {
  position: relative;
  top: -1.4em;
  left: 8em;
  display: block;
}

.marginform input.submit {
  clear: both;
  top: 0;
}

.marginform label {
  clear: both;
  float: left;
  display: block;
  width: 8em;
  margin-top: -1em;
  font-weight: bold;
}

.marginform label.first {
  margin-top: 1em;
}

.marginform select {
  position: relative;
  top: -1.4em;
  left: 8em;
  display: block;
}
/************************* END ************************************/

/************************** form menu *************************************************/
.form_menu {
  clear: both;
  height: 25px;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #dddddd;
  background-color: #ededed;
  vertical-align: middle;
  padding: 5px;
  margin: 0;
  text-align: right;
  /*
padding: 5px;
  margin: 0px;
  background: white;
  border: 1px solid #DDD;
  border-top: 2px solid #0EABE2;
  width: 95%;
  background: #FAFAFA;
  display: table;
  float: left;
*/
  /*  position: absolute; */
}
.form_menu_left {
  float: left;
  text-align: left;
}
.form_menu_right {
  float: right;
  text-align: right;
}
.embeddedform {
  padding-left: 10px;
  border-top: 1px solid #333;
  text-align: left;
  margin-bottom: 10px;
}
.embeddedform legend {
  padding-left: 5px;
  padding-right: 5px;
}
.embeddedform th {
  text-align: left;
}

/***************************** END *****************************/

/*********************** EXTJS OVERRIDES ***********************/
#content-anchor-tip ul {
  float: left;
  width: 200px;
  list-style-type: disc;
  margin-left: 15px;
}

.ext-ie #content-anchor-tip ul {
  margin: 0;
  padding-left: 15px;
}

#content-anchor-tip .thumb {
  float: right;
}

#content-anchor-tip .status-icon {
  position: absolute;
  top: 4px;
  right: 50px;
  padding: 0;
  line-height: 0;
}

#content-anchor-tip a:link,
#content-anchor-tip a:visited {
  color: #339;
}
.create-btn {
  background-image: url('/images/icons/page_white_add.png') !important;
}
.edit-btn {
  background-image: url('/images/icons/page_edit.png') !important;
}
.refresh-btn {
  background-image: url('/images/icons/database_refresh.png') !important;
}
.accept-btn {
  background-image: url('/images/icons/accept.png') !important;
}
.msg-create-btn {
  background-image: url('/images/icons/email_add.png') !important;
}
.msg-new-btn {
  background-image: url('/images/icons/email.png') !important;
}
.msg-read-btn {
  background-image: url('/images/icons/email_open.png') !important;
}
.msg-sent-btn {
  background-image: url('/images/icons/email_go.png') !important;
}
.help-btn {
  background-image: url('/images/icons/help.png') !important;
}
.pdf-btn {
  background-image: url('/images/icons/page_white_acrobat.png') !important;
}
.zoom-btn {
  background-image: url('/images/icons/zoom.png') !important;
}

.x-grid3-row td {
  cursor: pointer !important;
  border-left: 1px solid #ddd !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.x-tab-strip-top .x-tab-left {
  padding-right: 4px;
}
.x-tab-strip-top .x-tab-right {
  padding-left: 3px;
}

/*
.x-tab-strip-top .x-tab-right, .x-tab-strip-top .x-tab-left, .x-tab-strip-top .x-tab-strip-inner {
  background-image:url("/extjs/images/default/tabs/tabs-sprite.gif");
}
*/

/*.x-tool-help {
  background-image: url("/images/icons/cog.png");
  background-position: 0;
}
.x-tool-help-over {
  background-image: url("/images/icons/cog_go.png");
  background-position: 0;
}*/
.x-date-menu {
  width: 175px !important;
}
td.ux-grid-hd-group-cell {
  background: url('/extjs/images/default/grid/grid3-hrow.gif') repeat-x bottom;
}
.compos_logo_small {
  background: url('/images/logos/compos-logo-16.png') no-repeat bottom;
}
.msg .x-box-mc {
  font-size: 14px;
}
#msg-div {
  visibility: hidden;
  position: absolute;
  right: 5%;
  top: 10px;
  width: 300px;
  z-index: 20000;
}
#msg-div .msg {
  border-radius: 8px;
  -moz-border-radius: 8px;
  background: #f6f6f6;
  border: 2px solid #ccc;
  margin-top: 2px;
  padding: 10px 15px;
  color: #555;
}
#msg-div .msg h3 {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 15px;
}
#msg-div .msg p {
  margin: 0;
}

/******************* END EXTJS OVERRIDES ***********************/

.tab_number {
  vertical-align: top;
  font-size: 9px;
  display: inline !important;
  color: gray;
  font-family: arial;
}

/********** for swfobject insertions ***********/
.flash_container {
  width: 100%;
  height: 100%;
}

.pager_image {
  margin: 0px;
}
.pager_table {
  margin: 0px;
  width: 100%;
  border: none;
  cursor: default;
}
.pager_table_links {
  margin: 0px;
  width: 100px;
  border: none;
  cursor: default;
}
.pager_table_cells {
  margin: 0px;
  border: none;
  cursor: default;
}

.table_for_display_content th {
  background: #ededed;
  text-align: left;
  width: 150px;
  border-bottom: solid 1px white;
  padding: 2px;
}
.table_for_display_content td {
  padding: 2px;
}

.dose_explain_frequency {
  color: blue;
}

/********************* icon classes ***********************/
.icon-drugs {
  background-image: url(/images/icons/pill.png);
}
.icon-modules {
  background-image: url(/images/icons/tag_yellow.png);
}
.icon-diagnoses {
  background-image: url(/images/icons/tag_red.png);
}
.icon-projects {
  background-image: url(/images/icons/box.png);
}
.icon-doctors {
  background-image: url(/images/icons/user_gray.png);
}
.icon-tree {
  background-image: url(/images/icons/sitemap.png);
}
.icon-supertab {
  background-image: url(/images/icons/tab.png);
}

.text-bold {
  font-weight: bold;
}
.grouped_header {
  font-weight: bold;
  font-size: medium;
}

/******************* ticket module ***********************************/

.ticket-list {
  border-collapse: collapse;
  border-spacing: 0;
}
.ticket-list tr td {
  vertical-align: top;
  padding: 2px;
}
.ticket-list thead th {
  text-align: left;
  font-weight: bold;
  border-bottom: 1px solid #666;
  padding: 2px;
}
.ticket-comment {
  margin-bottom: 10px;
}

.ticket_even td {
  background: #ffffff;
}
.ticket_odd td {
  background: #daeaea;
}
.comment-text {
  padding: 2px;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 5px;
  background: white;
  margin-left: 35px;
  clear: both;
}
.comment-bullet {
  position: absolute;
  left: 20px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 100px;
  margin: 0 0 0 -6px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(0, 0, 0, 0.1);
  background: #ccc;
}
.comment-attribution {
  clear: both;
  float: right;
  margin-right: 55px;
  color: #999;
}

#msg-div {
  margin-top: 20px;
}
#msg-div .msg.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}

#msg-div .msg.alert-yearly-visit {
  background-color: #EBF8FF;
  border-color: #4299E1;
  color: #2B6CB7;
}

.x-supertab .x-tab-right,
.x-supertab .x-tab-left,
.x-supertab .x-tab-strip-inner {
  /*background-image: none !important;*/
  background-image: url('/images/tabs/supertabs-sprite.gif') !important;
}
.x-supertab ul.x-tab-strip-top {
  background-color: #c5c4c1;
  background-image: url('/images/tabs/supertab-strip-bg.gif') !important;
}
.x-supertab span.x-tab-strip-text {
  color: #333333 !important;
}

/******************* superboxselect overrides ***********************************/
/*
.ext-strict .ext-webkit .x-small-editor .x-form-text {position:relative; height: 25px !important; margin: 0px; overflow: hidden; padding:2px; display:block; outline: none !important;}
.x-form-field-wrap.x-form-field-trigger-wrap, .x-form-text.x-superboxselect.x-superboxselect-display-btns, .x-form-text.x-superboxselect.x-superboxselect-display-btns ul {
  width: auto !important;
  min-width: 200px;
}
.x-form-field-wrap.x-form-field-trigger-wrap, .x-form-text.x-superboxselect.x-superboxselect-display-btns, .x-form-text.x-superboxselect.x-superboxselect-display-btns ul li {
  float: none;
  display: inline-block;
}
*/

.borish1 {
  font-size: 150%;
  font-weight: bold;
  padding-top: 7px;
  padding-bottom: 5px;
}
.borish2 {
  font-size: 130%;
  font-weight: bold;
  padding-top: 7px;
  padding-bottom: 5px;
}
.borish3 {
  font-size: 120%;
  font-weight: bold;
  padding-top: 7px;
  padding-bottom: 5px;
}
.borish4 {
  font-size: 110%;
  font-weight: bold;
  padding-top: 7px;
  padding-bottom: 5px;
}
.borish5 {
  font-size: 100%;
  font-weight: bold;
  padding-top: 7px;
  padding-bottom: 5px;
}
.form_menu input[type='button'],
.form_menu input[type='submit'],
.form_menu button {
  margin-left: 2px;
}
.form_menu input[type='button']:focus,
.form_menu input[type='submit']:focus,
.form_menu button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(21, 56, 118, 0.4) !important;
}
.invisible {
  display: none;
}
.x-date-picker {
  z-index: 2;
}
.notice-small-margin {
  margin: 2px;
}

.addi-imported:read-only {
  background-color: #edfa94;
}
