.n-body {
  margin: 0;
  padding: 0;
}

.n-body td,
.n-body th,
.n-body div,
.n-body span,
.n-body input,
.n-body p,
.n-body select,
.n-body textarea,
.n-body button {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif !important;
  font-size: 12px;
  line-height: 16px;
  color: black;
}

.n-body * {
  box-sizing: border-box;
}

.n-body .background {
  position: fixed;
  top: 0;
  bottom: -10px;
  left: 0;
  right: 0;
  z-index: -1;
}
.n-body .background img {
  width: 100%;
  height: 100%;
}

.n-page {
  display: flex;
  flex-direction: column;
}
.n-header {
  background: #4697de;
  height: 56px;

  display: flex;
}
.n-header-title {
  flex: 1 1 auto;
  padding: 0 16px;
  cursor:pointer;
  display: flex;
  align-items: center;

  color: white;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
}
.n-header-menu {
  flex: 0 1 auto;
  padding: 8px 16px;

  display: flex;
  align-items: center;
}

.n-body .n-header-menu-item {
  display: flex;
  align-items: center;

  color: white;
  font-weight: normal;
  font-size: 14px;
  line-height: 19px;
}

.n-header-menu-item .n-language-selector {
  padding-right: 16px;
}

.n-header-menu-item .n-language-selector a.lang-link {
  color: white;
  font-weight: normal;
  text-decoration: underline;
}
.n-header-menu-item .n-language-selector a.lang-link.selected {
  font-weight: bold;
}

.n-header-menu-item .n-language-selector a + a {
  padding-top: 2px;
  margin-left: 16px;
}
.n-header-menu-item + .n-header-menu-item {
  margin-left: 16px;
}
.n-header-menu-item .logout-button {
  margin-left: 16px;
  min-width: 98px;
  border: 2px solid white;
  padding: 0px 16px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 16px;
  color: white;
  font-weight: normal;
}

.n-content {
  flex: 1 1 auto;
  display: grid;
  grid-template-areas: "main" "left" "right";
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-column-gap: 16px;
  grid-row-gap: 16px;

  padding: 16px;
  width: 100%;
  max-width: 1696px;
  margin-left: auto;
  margin-right: auto;
}

.n-content-main {
  grid-area: main;
}
.n-content-main .mod-timereg {
  width: 100%;
}
.n-content-left {
  grid-area: left;
}
.n-content-right {
  grid-area: right;
}
.n-content-left,
.n-content-right {
  display: flex;
  flex-direction: column;
  margin: 0;
}


.n-content-left .block, 
.n-content-right .block {
  width: 100%;
}
.n-content-left .block:not(:first-child),
.n-content-right .block:not(:first-child) {
  margin-top: 16px;
}




@media only screen and (max-width: 688px) {
  .n-datepicker {
    flex-wrap: wrap;
  }

  .n-content .issue .issuesummary {
    white-space:normal !important;
  }
  .n-header-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .n-content{
    padding:0;
  }

  .n-datepicker a {
    margin-bottom: 8px;
    min-width: 10px !important;
  }

  .n-content .form_frame .body table.n-registration-table tr td:nth-of-type(3) {
    display: none;
  }

  .n-content .form_frame .body table.n-registration-table tr td div.n-registration-table-buttons input:nth-of-type(1) {
    display: none;
  }

  .n-content .form_frame .body table.n-registration-table tr td div.n-registration-table-buttons input.assignToMe {
    display: none;
  }
}

@media only screen and (min-width: 688px) {
  .n-content {
    display: grid;
    grid-template-areas: "main main" "left right";
    grid-template-rows: auto 1fr;
    grid-template-columns: calc(50% - 8px) calc(50% - 8px);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
  }
}

@media only screen and (min-width: 1024px) {
  .n-content {
    display: grid;
    grid-template-areas: "left main" "left right";
    grid-template-rows: auto 1fr;
    grid-template-columns: 450px 1fr;
    grid-column-gap: 16px;
  }

  .n-content-right {
    display: grid;
    align-items: flex-start;
    grid-template-rows: min-content;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
  }
  .n-content-right .block:not(:first-child) {
    margin-top: 0;
  }
}

@media only screen and (min-width: 1360px) {
  .n-content-right {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media only screen and (min-width: 1696px) {
  .n-content-right {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* reset form_frame & block styles */
.n-content .form_frame .head {
  padding: 0;
  border: 0;
}
.n-content .form_frame table {
  width: 100%;
}

.n-content .form_frame .head td,
.n-content .form_frame .topbuttons td,
.n-content .form_frame .body td,
.n-content .form_frame .buttons td,
.n-content .block-content {
  padding: 0;
  height: auto;
  background-image: none;
  background-color: #fff;
}

.n-content .form_frame .body .errorBox td {
  background-color: #FDBCBC;
}
.n-content .form_frame .head td > div {
  top: 0;
  left: 0;
  padding: 0;
}
.n-content .form_frame .left,
.n-content .form_frame .right {
  width: 0;
}
.n-content .form_frame .topbuttons,
.n-content .form_frame .body,
.n-content .form_frame .buttons {
  padding: 0 16px;
  margin: 0;
}
.n-content .form_frame > div:nth-of-type(2) {
  padding-top: 8px;
}
.n-content .form_frame .topbuttons {
  height: auto;
  padding-bottom: 16px;
}
.n-content .form_frame .topbuttons td.center {
  height: auto;
  line-height: 16px;
}
.n-content .form_frame .body .content {
  padding: 0;
}
.n-content .form_frame .buttons {
  padding-top: 16px;
  padding-bottom: 8px;
}

.n-content .mod-timereg > div > div:nth-of-type(2) {
  margin-top: 16px;
}

.n-content .block,
.n-content .form_frame {
  margin: 0;
  min-width: 300px;
  background: #ffffff;
  border: 2px solid #E1E1E1;

  display: flex;
  flex-direction: column;
}
.n-content .panel {
  margin-top: 8px;
  padding: 16px 24px;
  background: #ffffff;
  border: 2px solid #E1E1E1;
}

.n-content .form_frame {
  width: auto;
}
.n-content .form_frame .body tr {
  height: 24px;
}


.n-content .form_frame .head td {
  background: #F1F1F1;
  height: 35px;
}

.n-content div.n-box-header,
.n-content .form_frame .head td.center > div,
.n-content div.block-header {
  background: #F1F1F1;
  color: black;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;

  flex: 0 0 35px;
  padding: 0 16px;

  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 29px;
}

.n-content .form_frame .topbuttons a {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  line-height: 16px;
  color: #1e70b3;
}

.n-content .form_frame input.submit {
  border: none;
  padding: 6px 16px;
  min-width: 100px;

  text-align: center;
  background: #c5c5c5;
  color: black;
  font-size: 12px;
  font-weight: normal;
  line-height: 16px;
  border-radius: 0;
  cursor: pointer;
}
.n-content .form_frame input.submit:hover {
  background: #ABABAB;
}
.n-content .form_frame .buttons input + input {
  margin-left: 18px;
}

.n-content .form_frame img.img {
  display: none; /* arrow img which doesnt do anything*/
}
.n-content .form_frame span.log-image img.img {
  display: inline; /* add/clock inside n-registration table */
}
.n-content .form_frame span.date {
  display: inline-flex;
  align-items: center;
  border: 2px solid #999;
  padding: 1px 10px;
}

.n-content .form_frame div.n-datepicker-input span.date {
  border: none;
  padding: 0;
}

.n-content .form_frame div.n-date-status
{
  display: inline;
  float: left;
}

.n-content .form_frame div.n-date-status span.n-date-statusTotal {
  font-weight: bold;
}

.n-content .form_frame div.n-datepicker-input {
  border: 2px solid rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  padding: 0px 10px;
  height: 28px;
}
.n-content .form_frame .date input.date {
  border: none;
  font-size: 12px;
  line-height: 16px;
  height: auto;
  outline: none;
}
.n-content .form_frame .date img {
  top: 0;
  vertical-align: auto;
  cursor: pointer;
}


/* Main datepicker*/
.n-datepicker {
  display: flex;
  align-items: center;
}

.n-datepicker-prev,
.n-datepicker-next {
  height: 28px;
  width: 28px;
  padding: 6px;
}
.n-datepicker-prev:hover,
.n-datepicker-next:hover {
  background:#E6F1FB;
}

.n-datepicker-next {
  transform: rotate(180deg);
}

.n-datepicker-input {
  display: flex;
  margin-right: 8px;
}

.n-datepicker a {
  margin-left: 8px;
  padding: 0px 10px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align:center;

  min-width: 100px;
  background: #ececec;
  color: black;
  font-size: 12px;
  font-weight: normal;
  line-height: 16px;
  border-radius: 0;
  cursor: pointer;
}
.n-datepicker a:hover {
  background:#C5C5C5;
}

/* Main time registration table */
/* Reset old styles */
.n-content .form_frame .body table.spreadsheet td, 
.n-content .form_frame .body table.spreadsheet td div, 
.n-content .form_frame .body table.spreadsheet tr.header td, 
.n-content .form_frame .body table.spreadsheet tr.header td span{
  background: transparent;
  height: auto;
  padding: 0;
  color: black;
  font-weight: normal;
  border: none;
}

.n-content .form_frame .body table.n-registration-table {
  flex: 1 1 auto;
  margin-top: 16px;
}

.n-content .form_frame .body table.n-registration-table td {
  padding: 4px 8px;
}
.n-content .form_frame .body table.n-registration-table td input {
  line-height: 16px;
  padding: 0 0px;
}
.n-content .form_frame .body table.n-registration-table tr {
  border-bottom: 1px solid #ccc;
}
.n-content .form_frame .body table.n-registration-table tr:not(.header):hover {
  background: #e6f1fb;
}
.n-content .form_frame .body table.n-registration-table tr.header td {
  padding: 6px 8px;
}
.n-content .form_frame .body table.n-registration-table tr.header td span {
  font-size: 12px;
  line-height: 16px;
}
.n-content .form_frame .body table.n-registration-table tr.header td:not(:first-child) {
  border-left: 1px solid #ccc;
}
.n-content .form_frame .body table.n-registration-table input[type=text] {
  border: 1px solid transparent;
  outline: none;
}
.n-content .form_frame .body table.n-registration-table input[type=text]:focus {
  border: 1px solid #cccccc;
  box-sizing: border-box;
}
.issuecolumn img {
  display: none;
}
.n-content .form_frame .body table.spreadsheet td input,
.n-content .form_frame .body table.spreadsheet td input:focus {
  border: none;
  background: transparent;
}
.n-registration-table-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.n-content .form_frame .spreadsheet .log-image {
  top: 0;
}

.n-content .form_frame .body table.n-registration-table td span,
.n-content .form_frame .body table.n-registration-table td input.img {
  padding: 0;
  margin-left: 8px;
}
.n-content .form_frame .body table.n-registration-table td span:first-child,
.n-content .form_frame .body table.n-registration-table td input.img:first-child {
  margin-left: 0;
}

/* block-content */

.n-content .block-header,
.n-content .block-content {
  border: 0;
}

.n-content .block-content {
  flex: 1 1 auto;
  padding: 8px 16px 0;
}
.n-content .block-content .closed * {
  color:#DE3300;
}

.n-content .block-bottom {
  background: none;
  height: auto;
  padding: 0;
  padding-bottom: 8px;
}
.n-content .block-bottom > * {
  margin-top: 16px;
}
.n-content .block-bottom a,
.n-content .block-bottom div.showmore,
.n-content .block-bottom div.showless {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  line-height: 16px;
  color: #1e70b3;
}

.n-content .block .issuegroup {
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;
  padding: 0;
}
.n-content .block .issuegroup:not(:first-child) {
  margin-top: 12px;
}
.n-content .block .issuegroup img {
  margin: 0 4px 0 0;
}

.n-content .issue {
  display: flex;
  font-size: 12px;
  line-height: 16px;
  margin-top: 8px;
}
.n-content .issue .issuekey {
  flex: 0 0 100px;
}
.n-content .issue .issuesummary {
  margin: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n-content .issuebuttons {
  display: flex;
  align-items: center;
}

.n-content .issuebuttons span,
.n-content .issuebuttons input {
  margin-left: 8px; 
}

.n-content .block .tag-cloud-item {
  color: black;
}

/* Registration graph */
.n-graphs {
  background: none;
  display: flex;
  flex-direction: column;
}
.n-graph {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-height: 66px;
  margin-top: 8px;
}
.n-graph + .n-graph-title {
  margin-top: 8px;
}
.n-graph .item {
  position: relative;
  height: auto;
  width: 22px;
  margin-right: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.n-graphs .amount {
  width: 100%;
  text-align: center;
  overflow: visible;
  font-size: 12px;
}

.n-graphs .bar {
  background: #4697de;
  border: 1px solid #4697de;
  width: 22px;
  bottom: 15px;
}

.n-graphs .date {
  bottom: 0;
  width: 100%;
  text-align: center;
  overflow: visible;
}

.timeregstatus-block tr.title td {
  padding-top: 0;
}
.timeregstatus-block tr.title:not(:first-child) td {
  padding-top: 8px;
}
.n-box-content,
.n-content .block-content {
  color: black;
}

/**/

.n-content .loggingwarning-block .loggingwarning-link {
  margin-top: 8px;
}

.n-content .loggingwarning-block .block-content a,
.n-content .loggingwarning-block .block-content a:link,
.n-content .loggingwarning-block .block-content a:visited,
.n-content .loggingwarning-block .block-content a:active {
  font-weight: normal;
  color:#DE3300;
  text-decoration: underline;
}
.n-content .loggingwarning-block .block-content .daysetting {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.n-content .loggingwarning-block .block-content .daysetting label,
.n-content .loggingwarning-block .block-content .daysetting a {
  font-size: 12px;
}

.loggingwarning-block .block-content .daysetting input.int {
  height: auto;
  font-size: 12px;
  width: 24px;
  margin: 0 3px;
}
.n-content .loggingwarning-block .block-content .daysetting a {
  color:#0078d7;
  text-decoration: none; 
}

/* Login page */
.n-login-page {
  margin: 140px auto 0 auto;
  padding: 0 32px;
}
.n-login-content {
  max-width: 500px;
  display: flex;
}
.n-login-content .mod-startpage {
  width: 100%;
}

.n-login-page .n-login-content .form_frame .head td.center > div {
  background: #4697de;
}
.n-login-content h1 {
  display: flex;
  align-items: center;
  text-align: center;

  height: 56px;
  margin: 0;
  color: white;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
}

.n-login-content h2 {
  margin: 0;

  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  /* identical to box height */

  display: flex;
  align-items: center;

  color: #000000;
}

.n-login-content .form_frame .body,
.n-login-content .form_frame .buttons {
  padding-left: 24px;
  padding-right: 24px;
}
.n-login-content .form_frame > div.body {
  padding-top: 16px;
}
.n-login-content .form_frame .buttons {
  padding-top: 16px;
  padding-bottom: 24px;
}
.n-login-form {
  display: flex;
  flex-direction: column;
}
.n-login-form-input {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}
.n-login-form-input label {
  font-size: 14px;
  line-height: 20px;
}
.n-login-form-input input {
  margin-top: 4px;
}

.n-login-form-input:last-child {
  flex-direction: row;
}

.remember-me {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.forgot-password {
  flex: 0 1 auto;
  margin-left: auto;
}
.forgot-password a {
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  line-height: 20px;
  color: #0078d7;
}

