@font-face {
  font-family: Drugsther;
  src: url('fonts/Drugsther.otf') format("opentype");
}

.digit {
  font-family: Drugsther;
}

body:before {
  content: '';
  height: 10px;
  width: 100%;
  display: block;
}

body.itbp:before {
  background-color: #3476B3;
}

body.sevtware:before {
  background-color: #5AEEE8;
}

*:focus, *:active { box-shadow: none !important; }
.anim { transition: all 300ms ease; }
ul { list-style: none; }
.btn { cursor: pointer; }
.outline-danger { border-color: #F00; }
header { position: relative; }
header:before { content: ''; display: block; width: 100%; height: 1px; background: #DDD; position: absolute; z-index: -1; bottom: 0; left: 0; }
.alerts { background: rgba(255, 255, 255, 0.9); position: fixed; top:0; right:0; bottom:0; left:0; transition: all 300ms ease;
  line-height: 100vh; text-align: center; visibility: hidden; opacity: 0; z-index: -1; }
.alerts.show { z-index: 10001; visibility: visible; opacity: 1; }
.alerts > * { display: inline-block; vertical-align: middle; min-width: 40%; max-width: 60%; line-height: normal; }
.alerts .alert { width: 100%; }
.list-group-item label { margin: 0; display: block; }
.icon { display: block; text-align: center; font-size: 18px; }
.icon.icon-inline { display: inline-block; vertical-align: middle; }
.form-signin { max-width: 500px;padding: 15px;margin: 0 auto;}
.form-signin .form-signin-heading,
.form-signin .checkbox {margin-bottom: 10px;}
.form-signin .checkbox {font-weight: normal;}
.form-signin .form-control {position: relative;height: auto;-webkit-box-sizing: border-box;box-sizing: border-box;
                            padding: 10px;font-size: 16px;}
.form-signin .form-control:focus {z-index: 2;}
.form-signin:not(.change-password) input[type="text"], .form-signin.change-password input[type="password"]:first-of-type {margin-bottom: -1px;border-bottom-right-radius: 0;border-bottom-left-radius: 0;}
.form-signin:not(.change-password) input[type="password"], .form-signin.change-password input[type="password"] + input[type="password"] {margin-bottom: 10px;border-top-left-radius: 0;border-top-right-radius: 0;}
td.filter { padding: 0; }
td.filter input, td.filter select { width: 100%; padding: 3px 5px; border: none; background-color: #F3F3F3; border-radius: 0; }
td.filter button.btn { border-radius: 0; }
form.filters { float: right; }

tbody.content td { position: relative; height: 30px; padding-left: 5px; padding-right: 5px; }
tbody.content input[type=text] { border: none; background: inherit; position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; text-indent: 10px; }
.comments { font-size: 1em; width: 250px; overflow: hidden; height: 200px; position: relative; }
.comments ul { margin-bottom: 0; }
.comments ul li + li { margin-top: 5px; }
.comments .scroll { height: 80%; overflow-y: auto; width: 100%; }
.comments .new-comment { position: absolute; bottom: 0; }
.comments .card { width: 100%; position: relative; }
.comments .card-body { padding: 5px; }
.comments .show-all { padding: 0; }
.comments .card-subtitle { display: none; position: absolute; background: rgba(0,0,0,0.6); padding: 2px 4px; color: #FFF;
                           font-size: 12px; border-radius: 4px; top: 10px; right: 1px; border-radius: 3px; }
.comments .card:hover .card-subtitle { display: block; }
#tasks { font-size: 14px; }
#tasks span.status { padding: 3px 5px; border-radius: 4px; }
.modal .scroll-comments li + li { margin-top: 10px; } 
.modal .scroll-comments .card { width: 90%; }
.modal .card-subtitle { display: none; position: absolute; background: rgba(0,0,0,0.6); padding: 2px 4px; color: #FFF;
                           font-size: 12px; border-radius: 4px; top: 11px; left: 7px; border-radius: 3px; }
.modal .card:hover .card-subtitle { display: block; }
.modal .card.bg-dark:hover .card-subtitle { background: rgba(255,255,255,0.5); }
.copy-on-click { position: relative; }
.copy-on-click input { cursor: pointer; }
.copy-on-click.password { line-height: 30px; text-align: center }
.border-2 { border: 2px solid transparent; border-radius: 5px; }
.temp-txt {
  cursor: default;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: block;
  background: rgba(255, 255, 255, 1);
  font-weight: bold;
  color: #218838;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perms-holder { width: 33%; }
.perms-holder + .perms-holder { margin-left: 0.5%; }
.perms-holder .form-control-input { vertical-align: -1px; }
.add-host, .save-host { cursor: pointer; }
input.small-input { display: inline-block; width: 92px; padding: 2px; font-size: 12px; }
.flexContainer { display: flex; }
.tasks_fieldset  {  border: 1px solid #ddd !important; margin: 0; min-width: 0; padding: 10px; position: relative; 
                border-radius:4px; padding-left:10px!important; }
.tasks_fieldset legend { font-size:14px; font-weight:bold; margin-bottom: 0px; width: 35%; border: 1px solid #ddd;
			border-radius: 4px; padding: 5px 5px 5px 10px; }
.white-space-preline { white-space: pre-line; }
.white-space-nowrap { white-space: nowrap; }

.priority_chkbox {
  display: block;
  margin-bottom: 15px;
}

.priority_chkbox input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.priority_chkbox label {
  position: relative;
  cursor: pointer;
}

.priority_chkbox label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #0079bf;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 15px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
}

.priority_chkbox input:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 8px;
    left: 15px;
    width: 6px;
    height: 14px;
    border: solid #0079bf;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.favorite { width: 100%; cursor: pointer; text-align: center; }
.favorite input[type=checkbox] { opacity: 0.01; position: absolute; z-index: -1; }
.favorite input[type=checkbox] + .fa-bookmark { color: #CCC; font-size: 20px; }
.favorite input[type=checkbox]:checked + .fa-bookmark { color: rgb(255, 196, 2); }
.task-red { width: 15px; height: 15px; margin: 5px; border: 1px solid rgba(0, 0, 0, .2); background: #dc3545; }
.task-orange { width: 15px; height: 15px; margin: 5px; border: 1px solid rgba(0, 0, 0, .2); background: #ffc107; }
.task-green { width: 15px; height: 15px; margin: 5px; border: 1px solid rgba(0, 0, 0, .2); background: #28a745; }
.task-purple { width: 15px; height: 15px; margin: 5px; border: 1px solid rgba(0, 0, 0, .2); background: #800080; }
.task-brown { width: 15px; height: 15px; margin: 5px; border: 1px solid rgba(0, 0, 0, .2); background: #9f6934; }
.download-taskfile { cursor: pointer; -webkit-appearance: none; color: #007bff; border: none; background: none; margin: 0 auto; }
.download-taskfile:active, .download-taskfile:focus { outline:none; }
.download-taskfile:hover { color: #0056b3; text-decoration: underline; }

.text-decor-none:hover {
  text-decoration: none;
}


.text-oneline { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 200px; display: inline-block; vertical-align: middle; }
.text-oneline + a { display: inline-block; vertical-align: middle; font-size: 20px; margin-left: 20px; }

#tasks .content tr td:first-child { padding-left: 15px; }
#tasks .content tr td:first-child:before { content: ''; position: absolute; top: 0; left: -1px; bottom: 0; width: 10px; transition: all 300ms ease; }
#tasks .content tr.statusColor-1 td:before { background: #dc3545; }
#tasks .content tr.statusColor-2 td:before { background: #ffc107; }
#tasks .content tr.statusColor-3 td:before { background: #28a745; }
#tasks .content tr.statusColor-4 td:before { background: #800080; }
#tasks .content tr.statusColor-6 td:before { background: #9f6934; }

body > .loader { display: none; width: 100%; height: 100%; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.5); z-index: 10000; }
.loader > *, .alternative-loader > * { position: absolute; top: 50%; left: 50%; margin: -32px; }

#modal .files-uploaded li a { display: inline-block; max-width: 300px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
#modal a.deleteFile { font-size: 20px; display: inline-block; vertical-align: top; line-height: 24px; }
.alerts { background: rgba(255, 255, 255, 0.9); position: fixed; top:0; right:0; bottom:0; left:0; transition: all 300ms ease;
  line-height: 100vh; text-align: center; visibility: hidden; opacity: 0; z-index: -1; }
.alerts.show { z-index: 10001; visibility: visible; opacity: 1; }
.alerts > * { display: inline-block; vertical-align: middle; min-width: 40%; max-width: 60%; line-height: normal; }
.alerts .alert { width: 100%; }

.input-timing { font-size: 0; position: relative; display: inline-block; }
.input-timing:after { content: ':'; font-size: 20px; color: #AAA; position: absolute; top: 0; bottom: 0; width: 20px; left: 50%; margin-left: -10px; text-align: center; }
.input-timing input { display: inline-block; width: 100px; font-size: 16px; text-align:center; }
.input-timing input:focus { outline: 0 !important; border-color: #222 }
.input-timing .input-timing-hours { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-timing .input-timing-minutes { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }

.number-input { width: 140px; position: relative; }
.number-input .btn { position: absolute; top: 1px; bottom: 1px; font-size: 18px; }
.number-input .btn.plus { right: 1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.number-input .btn.minus { left: 1px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.number-input input { text-align: center; }
.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.number-input input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.custom-switch, .custom-switch * { cursor: pointer; }
.custom-switch > label { padding: 0 1rem 0 0; }

.editor-preview img {
  max-width: 100%;
}

/* Markdown styles */
.markeditor-preview.white-space-preline {
  white-space: pre-line;
}
.markeditor-preview.white-space-preline > *,
.markeditor-preview.white-space-preline ul {
  white-space: normal;
}
.markeditor-preview.white-space-preline > * {
  white-space: pre-line;
  margin-bottom: 0;
}
.markeditor-preview.white-space-preline > * + *:not(ul) {
  margin-top: 1rem;
}

.markeditor-preview {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border-left: 2px solid #ededed;
}
.markeditor-preview ul {
  padding-left: 20px;
  list-style: initial;
}
.markeditor-preview img {
  max-width: 100%;
}
.markeditor-preview code,
.editor-preview code {
  margin-left: 5px;
  margin-right: 5px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 3px;
  background: rgba(0,0,0,0.7);
  color: #ff9900;
  font-size: 90%;
  display: inline-block;
}

.text-inline { display: inline-block; max-width: 400px; white-space: pre-line; }
.text-inline .icon { display: inline-block; margin-left: 10px; }

.collapse:not(.show) { display: block; height: 0; visibility: hidden; }

.card .card-body:not(.markeditor-preview) { white-space: pre-line; }

.nav-link {
  padding-top: 1.1em;
  padding-bottom: 1.1em;
}

.nav-item.logout .nav-link:hover { border-color: transparent; }

.nav-link.active.view-bonus-today { border: none; border-radius: 0; border-left: 1px solid #DDD; }
.nav-link.active.view-bonus-today:hover { opacity: 0.8; }
.view-bonus-today-holder { position: absolute; top: 100%; right: 0; min-width: 100%; display: none; background: #FFF; border: 1px solid #DDD; border-top: none; z-index: 10; 
                          padding: 20px 10px; max-height: 50vh; overflow-y: auto; }
.view-bonus-today-holder .list-group-item { white-space: nowrap; }
.view-bonus-today-holder .list-group-item > div + div { margin-left: 20px; }
.view-bonus-today-holder .ttl { max-width: 300px; text-overflow: ellipsis; overflow: hidden; }

.view-bonus-today.role {
  width: 320px;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}

.view-bonus-today.role .name {
  font-weight: 600;
}

.view-bonus-today.role .position {
  width: 100%;
  margin: 0;
  font-size: 12px;
}

.dz-message { border: 1px solid #444; padding: 20px 40px; margin-top: 20px; border-radius: 5px; cursor: pointer; }
.dz-preview { margin-top: 10px; padding: 10px 0; border: 2px solid #444; border-radius: 5px; }
.dz-preview.dz-processing { border-color: #E74C3C; }
.dz-preview.dz-processing.dz-success, .dz-preview.dz-processing.dz-complete { border-color: #28a745; }
.dz-preview .dz-success-mark, .dz-preview .dz-error-mark { display: none; }
.dz-preview .dz-image { display: flex; justify-content: center; }
.dz-preview .dz-image > img { max-width: 100%; }
.dz-preview .dz-details { padding: 10px; }
.dz-preview .dz-details > * { text-align: center; }
.dz-preview .dz-details .dz-filename { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

nav.pages { position: fixed; bottom: 2%; right: 2%; z-index: 100; opacity: 0.8; }

.modal-open .modal {
  background: rgba(0,0,0,0.5);
}

.vac-progress {
  position: relative;
}

.vac-progress .vac-progress-bar {
  content: '';
  height: 100%;
  background-color: #FFF;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.vac-progress .vac-progress-bar:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #28a745;
  opacity: 0.3;
  top: 0;
  left: 0;
}

.vac-progress .vac-progress-bar ~ * {
  z-index: 1;
  position: relative;
}

.table-vacations tr.highlight td {
  background-color: rgba(0,0,0,.1);
}

.vac-check-for-new {
  cursor: pointer;
}

.vac_id {
  position: relative;
}

.datetimepicker {
  padding: 0.5rem;
}

.fade {
  -webkit-transition: opacity 0.05s linear;
  transition: opacity 0.05s linear;
}

.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.efficiency {
  display: inline-block;
  width: 50px;
  text-align: left;
}

[tooltip] {
  position: relative;
}

[tooltip]:after {
  content: attr(tooltip);
  display: none;
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  background: rgba(255,255,255, 1);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  padding: 5px 5px;
  white-space: normal;
  border-radius: 5px;
  z-index: 10;
  cursor: pointer;
}

[tooltip]:hover:after {
  display: block;
}

.request-info .estimated {
  min-width: 105px;
}

.request-info .worked {
  min-width: 95px;
}

img {
  image-rendering: -webkit-optimize-contrast;
}

.badge.jira-issue {
  width: 110px;
  text-align: left;
}

.badge.github-issue {
  width: 92px;
}

.badge.worked {
  width: 110px;
  text-align: left;
}

td.password {
  padding: 0;
}

td.password .btn {
  width: 100%;
  height: 54px;
  line-height: 54px;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

header.v2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 100vh;
  background-color: inherit;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0,0,0.4);
  transition: all 200ms ease;
  overflow: hidden;
}

header.v2.hovered {
  width: 260px;
}

header.v2.hovered .view-bonus-today {
  max-width: 100%;
  min-width: 240px;
}

header.v2 ~ main {
  padding-left: 60px;
}

header.v2 ~ .view-bonus-today-holder {
  left: 0;
  right: auto;
}

header.v2 .dropdown-menu {
  width: 100%;
}

.modal .view-bonus-today-holder {
  display: block;
  position: static;
  overflow: visible;
}

header.v2 > ul {
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 100%;
  padding-right: 17px;
  width: calc(100% + 17px);
}

header.v2 .nav-link {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 55px;
  padding-right: 0;
  white-space: nowrap;
  position: relative;
  transition: all 100ms ease;
  transition: border 500ms ease;
  border-left: 5px solid transparent;
  line-height: 30px;
  height: 46px;
  line-height: 30px;
}

header.v2 .nav-link.view-bonus-today {
  height: auto;
  line-height: 14px;
}

header.v2 .nav-link.view-bonus-today.role .position {
  margin-top: 8px;
  white-space: pre-wrap;
}

header.v2 .nav-item.divider .nav-link,
header.v2 .nav-item.divider .nav-link:hover {
  border: none !important;
}

header.v2 .nav-link:hover {
  border-color: #00bc8c;
}

header.v2 .nav-link .icon {
  position: absolute;
  top: 0;
  left: -5px;
  width: 60px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  font-size: 1.5em;
}

header.v2 .nav-link.active.view-bonus-today {
  border: none;
  border-left: 5px solid transparent;
}
header.v2 .nav-link.active.view-bonus-today:hover {
  border-color: #00bc8c;
}

.badge.badge-purple {
  background-color: #8777D9;
  color: white;
}

.badge.badge-purple:hover {
  background-color: #7062b1;
}

.text-muted-opacity {
  opacity: 0.4;
}