@charset "utf-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  height: 100%;
  margin-bottom: 1px;
}

body {
  background-color: #e9f2f5;
  /*background-color: #cfdde4;*/
  font-family: Segoe UI, "Lucida Grande", Tahoma, sans-serif;
  font-size: 10px;
  line-height: 1.5em;
  color: #333333;
    zoom: 1.1;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1em;
  font-weight: normal;
}

img {
  border: 0 none;
}

/* links */
a:link, a:visited {
  color: #14456e;
  text-decoration: none;
  outline:0;
}

a:hover {
  text-decoration: underline;
}

/* icon links */
a.icon {
  padding: 2px 0 2px 14px;
  background-image: none;
  background-position: 0 50%;
  background-repeat: no-repeat;
}
/*a.icon-user {
  background-image: url("../images/icon-user.png");
}*/

/* page wrapper */
#wrap {
  width: 1500px;
  margin: 2em auto -1px auto;
}

/* header */
#header {
  width: 49%;
  float: left;
}
#header h1 {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 2.4em;
  font-weight: bold;
  font-style: italic;
    margin-top: 10px;
}
#header span {
  color: #006ab2;
}
#header h1 a:link, #header h1 a:visited {
  padding-left: 35px;
  background: url("../images/Logo-PC-CYMK-Transparent.svg") no-repeat left/10%;
  color: #222222;
  text-decoration: none;
}

/* user-info */
#user-info {
  width: 49%;
  float: right;
  text-align: right;
}
#user-info strong {
  font-size: 1.1em;
}
#user-info a {
  margin-left: 6px;
}

/* main and side content */
#main-content {
  width: 79%;
  float: left;
  /*background-color: #d5e7f0;*/
  border-radius: 8px;
}

#side-content {
  padding-top: 15px;
  width: 20%;
  float: right;
}

/* page */
#page {
  /*margin: 0 3px 3px;*/
  padding: 18px 10px 10px;
  background-color: #ffffff;
  border: 1px solid #b4c8d2;
  border-radius: 6px;
}
#page-content {
  color: #444444;
}

/* inner page layout */
h1.pagetitle {
  margin-bottom: 0.6em;
  font-size: 2.2em;
  font-weight: bold;
  color: #32576b;
}

#page-content h2 {
  margin: 1.2em 0 0.4em;
  font-size: 1.6em;
  font-weight: bold;
}

#page-content p, #page-content form, #page-content div.text {
  margin-bottom: 0.8em;
  font-size: 1.2em;
  line-height: 1.4;
}

/* page footer */
#page-footer {
  margin: 10px 10px 6px;
  color: #666;
}
#footer-logo, #footer-logo a {
  display: block;
  width: 124px;
  height: 17px;
}
#footer-logo {
  margin: 6px 28px 0 0;
  float: left;
  text-indent: -9999em;
}
#footer-logo a {
  background: url("../images/eh-panel.png") no-repeat;
}

/* page history */
div.page-history {
  padding: 6px 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  color: #666666;
  font-size: 1.1em;
}

div.page-history span {
  padding: 0 23px;
  float:right
}

/* navigation */
#navigation ul {
  margin: 3px 0 0 3px;
  list-style: none;
  clear: both;
}
#navigation li {
  float: left;
  margin-right: 6px;
}
#navigation li a {
  display: block;
  padding-left: 14px;
  font-size: 1.1em;
  font-weight: bold;
  color: #14456e;
  text-transform: uppercase;
}
#navigation li a span {
  display: block;
  width: auto;
  height: 16px;
  padding: 6px 22px 2px 0;
}
#navigation li a#activemenu {
  background: url("../images/bg-tabs1.gif") no-repeat left top;
  color: #333333;
}
#navigation li a#activemenu span {
  background: url("../images/bg-tabs2.gif") no-repeat right top;
}

/* side content layout */
.sidebox {
  margin: 0 18px 12px 0;
}

/* tools */
ul#tools {
  list-style: none;
}
ul#tools li {
  line-height: 18px;
  font-size: 1.1em;
}

/* error box */
.error {
  color: #D8000C;
  background-color: #FFBABA;
  border: 1px solid red;
  text-align: left;
  padding: 2px;
  width: 93%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  background-image: url('../images/error.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  text-indent: 40px;
}

.error ul {
  list-style-position: inside;
}

/* warning box */
.warning {
  color: #D8000C;
  background-color: #FFEABA;
  border: 1px solid red;
  text-align: left;
  padding: 2px;
  width: 93%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  background-image: url('../images/warning.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  text-indent: 40px;
}

/* content module */
.content-module {
  padding: 2px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px #cadbe4;
  font-family: Segoe UI, "Lucida Grande", Arial, sans-serif;
  color: #444444;
    border: 1px solid #b4c8d2;
}
.content-module .header {
  padding: 5px 2px 2px 17px;
  height: 20px;
  background-color: #d6ec9f;
  border-radius: 7px 7px 0 0;
    margin-top: -2px;
    margin-left: -2px;
    margin-right: -2px;
}
.content-module .header h3 {
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  color: #3c4e10;
}
.content-module .content {
  padding: 8px;
  font-size: 1.1em;
}

/* shortcuts */
div.shortcuts .scfolder {
  line-height: 25px;
  background-color: #ffffff;
  background-image: url(data:image/gif;base64,R0lGODlhBQAIAIAAAH19ff///yH5BAEHAAEALAAAAAAFAAgAAAILDIKgaJuuTmwnsQIAOw==);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: 97% 50%;
}
div.shortcuts .sclist {
  position: relative;
  clear: both;
  overflow: auto;
  overflow-x: hidden;
}
div.shortcuts .sclist, div.shortcuts .scpage {
  width: 100%;
  line-height: 25px;
}
div.shortcuts .scfile a, div.shortcuts .scpage a {
  /*height: 25px;*/
  line-height: 25px;
  display: block;
  padding: 0 5px 0 5px;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 1px 0;
  background-position: 5px 50%;
    font-size: 1em;
}
div.shortcuts .alternate {
  background-color: #f7f7f7;
  border: 0 none;
  line-height: 27px;
  height: 27px;
}

div.shortcuts .scpage a::before {
    content: "›";
    font-size: 1.4em;
    color: #32576b;
    margin-right: 6px;
    /*margin-top: 1px;*/
    display: inline-block;
    width: 1em;
    text-align: center;
}
div.shortcuts .scfolder:hover, div.shortcuts .scfile a:hover, div.shortcuts .scpage a:hover {
  text-decoration: none;
  background-color: #f0f7ff;
}

/* recent activity */
ul#recentactivity {
  list-style: none;
}
ul#recentactivity li {
  margin-bottom: 9px;
  padding: 0 0 9px 22px;
  border-bottom: 1px solid #eee;
  background-position: 0 2px;
  background-repeat: no-repeat;
}
ul#recentactivity li a {
  font-weight: bold;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul#recentactivity li a.user {
  font-weight: normal;
  display: inline;
}
ul#recentactivity li a:hover {
  text-decoration: underline;
}

.icon-addcustomer {
  background-image: url("../images/icon-add-customer.png");
}
.icon-delcustomer {
  background-image: url("../images/icon-delete-customer.png");
}
.icon-addproject {
  background-image: url("../images/icon-add-project.png");
}
.icon-delproject {
  background-image: url("../images/icon-delete-project.png");
}
.icon-addcontact {
  background-image: url("../images/icon-add-contact.png");
}
.icon-delcontact {
  background-image: url("../images/icon-delete-contact.png");
}

.ellipses {
  display:block;
}

/* tweaks */
/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above)
   From http://www.positioniseverything.net/easyclearing.html */
#page-header:after, #page-footer:after, #navigation:after, .clear {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

div.line {
  padding: 6px 0;
  border-top: 1px solid #eeeeee;
  color: #666666;
  font-size: 1.1em;
}

#centeredtable,.centeredtable {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  left: auto;
  right: auto;
  border-collapse: collapse;
  background-color: #fff;
  table-layout: auto;
  font-family: Segoe UI, "Lucida Grande", Arial, sans-serif;
  font-size: 11px;
  color: #444;
  text-align:left;
}

#centeredtable  th, .centeredtable th {
  color: #14456e;
  border-bottom: 1px solid #14456e;
  border-width: 70%;
  padding: 10px 8px;
}

#centeredtable  td, .centeredtable td {
  padding: 6px 8px;
}

#centeredtable  tbody tr:hover td, .centeredtable tbody tr:hover td {
  color: #14456e;
  background: #f7f7f7;
}

#centeredtable  tfoot .footer, .centeredtable tfoot .footer {
  color: #14456e;
  border-top: 1px solid #14456e;
  border-width: 70%;
  padding:10px 8px;
}

.incomestable td:nth-child(3) span > div:first-of-type {
  padding: 3px;
}

.incomestable td:nth-child(4) span, .incomestable th:nth-child(4) a {
  width: 60px;
  display: inline-block;
  text-align: right;
  padding: 3px;
}

.incomestable td:nth-child(4) .toggle_r span {
  padding: 0 0 0 1px;
}

.incomestable1 td:nth-child(4) span > div:first-of-type {
  padding: 3px;
}

.incomestable1 td:nth-child(5) span, .incomestable1 th:nth-child(5) a {
  width: 60px;
  display: inline-block;
  text-align: right;
  padding: 3px;
}

.incomestable1 td:nth-child(5) .toggle_r span {
  padding: 0 0 0 1px;
}

.incomestable2 td span, .incomestable2 th:nth-child(5) span {
    float: right;
    width: 60px;
    display: inline-block;
    text-align: right;
    padding: 3px;
}

.incomestable2 tbody tr:hover td, .incomestable2 tbody tr:hover td {
    background: inherit !important;
}

.incomestable2 tbody .even_entry {
    background: #fafafa;
}

.incomestable2 .new_searchentry {
    border-top: 1px solid #eee;
}

/*.incomestable2 tbody td, .incomestable2 tbody th {
    padding: 2px 2px;
}*/

.hide {
  display: none;
}

.magnify {
  background-image: url(../images/application_form_magnify.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.edit {
  background-image: url(../images/application_form_edit.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.delete {
  background-image: url(../images/application_form_delete.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.lock {
  background-image: url(../images/lock_open.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
}

.lockednormal {
  background-image: url(../images/status_normal.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
}

.lockedimg {
  background-image: url(../images/status_locked.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
}

.editincome {
  background-image: url(../images/application_form_edit.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
}

.addincome {
  background-image: url(../images/add.png);
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
}

.pdfimg {
  /*background-image: url(../images/pdf.gif);*/
    background-image: url('../images/pdf.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* or "16px 16px" if you want exact fit */
  display: block;
  float: left;
  text-indent: -9999px;
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.toggle_l, .toggle_r {
  background-color: #FFEABA;
  padding: 2px;
  border-bottom: 1px dashed #D8000C;
}

.toggle_l {
  margin-top: 3px;
  border-left: 1px dashed #D8000C;
}

.toggle_r {
  margin-top: 3px;
  border-right: 1px dashed #D8000C;
}

tr.austria td {
  background: #ffdada;
}

.badge {
    display: inline-block;
    min-width: 1em; /* em unit */
    padding: .3em; /* em unit */
    border-radius: 50%;
    font-size: 15px;
    text-align: center;
    background: #1779ba;
    color: #fefefe;
}

.centeredtable1 table {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    background: #fff;
    text-align: center;
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.08);*/
    border-radius: 6px;
    overflow: hidden;
}

.money {
    text-align: right;
}

.centeredtable1 thead th {
    background: #14456e;
    color: #fff;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.centeredtable1 tbody td, .centeredtable1 tbody th {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
}

.centeredtable1 tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Sticky year column */
.centeredtable1 tbody th {
    position: sticky;
    left: 0;
    background: #fff;
    text-align: left;
    font-weight: bold;
    border-right: 1px solid #eee;
    z-index: 1;
}

/* Month links */
.centeredtable1 td a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Badge for counts */
.centeredtable1 .count {
    display: inline-block;
    background: #e0ecf9;
    color: #14456e;
    font-size: 10px;
    padding: 1px 1px;
    border-radius: 2px;
    min-width: 20px;
    text-align: center;
}

/* Style text inputs */
input[type="text"], input[type="password"], textarea {
    width: 70%;
    padding: 6px 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    /*font-size: 13px;*/
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    border-color: #14456e;
    box-shadow: 0 0 4px rgba(20,69,110,0.3);
    outline: none;
}

.number {
    width: 25% !important;
}

/* Style buttons */
input[type="submit"],
input[type="reset"],
input[type="button"] {
    background: #14456e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 7px;
    margin: 2px;
    /*font-size: 13px;*/
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background: #0f3656;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
    transform: scale(0.97);
}

/* Reset button with lighter color */
input[type="reset"] {
    background: #ccc;
    color: #333;
}

input[type="reset"]:hover {
    background: #bbb;
}

/* Select */
select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none; /* remove native OS arrow */
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 28px; /* space for arrow */
}

select:focus {
    border-color: #14456e;
    box-shadow: 0 0 4px rgba(20,69,110,0.3);
    outline: none;
}

/* Radio group container */
.radio-group {
    display: flex;
    gap: 15px;
}

/* Make each label a flex container */
.radio-group label {
    display: inline-flex;
    align-items: center; /* vertical alignment */
    gap: 6px; /* space between circle and text */
    cursor: pointer;
    /*font-size: 13px;*/
}

/* Custom radio styling */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: inline-block;
    vertical-align: middle;
}

/* Checked state */
input[type="radio"]:checked {
    border-color: #14456e;
    background-color: #14456e;
    box-shadow: inset 0 0 0 3px #fff;
}
