/*******************/
/* Temp styles     */

/* Should probably be in qfq-bs.css but isn't as of 20.6.2 */
.checkbox>input[type=checkbox] {
  position:absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* End temp styles*/
/******************/

#headerarea {
  background-image: url('header_custom.png');
}


@media print {
  body {
    -webkit-print-color-adjust: exact;
  }

  a[href]:after {
    content: none;
  }
  .uzh-header, uzh-top-menu, .uzh-footer-area>.col-md-3, .uzh-content-area>.col-md-3,
  .uzh-top-line .search, .uzh-footer-top {
    display: none;
  }
  /*div.uzh-top-line {
    display: none !important;
  }*/
  .uzh-content-area>.col-md-9, .uzh-footer-area>.col-md-9 {
    width: 100% !important;
  }
  .uzh-content-area>.col-md-9>h1 {
    margin-top: 0px;
  }

  p.uzh-footer-text {
    margin-bottom: 0;
  }

  .wkhtmltopdf-second-page {
    position: absolute;
    top: 800px;
  }

  .btn-info-print { color: white !important; background-color: #5bc0de !important; }
  .bg-info-print { background-color: #d9edf7 !important; }
  .bg-danger-print { background-color: #f2dede !important; }
  .text-muted-print { color: #999 !important; }
  .text-primary-print { color: #337ab7 !important; }
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #0028a5;
}

.qfq-form-pill>li>a, .qfq-form-pill>li>a:focus {
    color: #0028a5;
}

/* For tables with class table-condensed: Make Edit/New/... Buttons smaller */
table.table-condensed, table.table-condensed,
table.table-extra-condensed, table.table-extra-condensed {
  border: 0px;
  background-image: none;
  background-color: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
  padding: 0px 8px;
  height: 15px;
}

/* Makes text slightly larger */
tr.lead-tr {
  font-weight: bold;
  font-size: 1.15em;
  height: 2.5em;
}

td.left-border-bs, th.left-border-bs {
  border-left: 1px solid rgb(221, 221, 221);
}

table.table {
  table-layout: auto;
}

table.table > tbody > tr > td {
  vertical-align: middle;
}

table.table-financial td {
  text-align: right;
}

table.table-extra-condensed>tbody>tr>td, table.table-extra-condensed>tbody>tr>th {
  padding: 3px;
  font-size:0.90em;
}
@media (max-width: 767px) {
  table.table-condensed td, table.table-condensed th {
    padding: 3px;
    font-size:0.90em;
  }
}

.dashboard-tile ul {
  padding-left:20px;
}

/* Ids: small text */
td span.text-muted {
  font-size: 85%;
}
.text-muted {
  color: #999;
}

/* textarea form-control padding */
textarea.form-control {
  padding: 6px;
}

/* Logout button margin */
#views > a {
  margin-right: 10px;
}

tr:target:not(.no-highlight) {
  background-color: #d8eaff;
}
tr:target:hover:not(.no-highlight) {
  background-color: #cfe7ff !important;
}

.dashboardTask {
  padding: 10px;
  font-size: 1.2em;
  background: linear-gradient(#d3f5ff, #87cefa);
  margin-bottom: 5px;
  display: flex;
}
.dashboardTask:hover {
  background: linear-gradient(#e0f9ff, #a6e2fa)
}

.spacer {
  flex-grow: 1 !important;
}

div.well-inline {
  display: inline-block;
  margin: 5px;
}

.btn-medium {
  font-size: 13px;
  height: auto;
}
.btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
  height: auto;
}

div.alert-construction {
  background-image: url('Construction.png');
  background-size: auto 30px;
  background-repeat: space;
  height: 30px;
  width: 100%;
  margin-bottom: 10px;
}

.btn .glyphicon {
  text-shadow:none;
}

.pageSubTitle {
  font-weight: 400;
  line-height: 1;
  color: #777;
  margin-top: -20px;
  font-size: 1.25em;
}

ul.noIndentUl {
  padding-left:20px;
}

.subrecordNoEditRow a.btn, .subrecordNoEditRow button {
  display:none;
}
.bold {
  font-weight:bold;
}

table.table.table-fixed, table.table-fixed {
  table-layout: fixed;
  width: 100%;
}

/* Room Plans */
.roomPlanContainer {
  overflow-x: auto;
  padding: 0.6em;
}
.roomPlanBackground {
  position:relative;
  background: #f0f0f0;
  outline: 0.6em solid #f6f6f6;
  z-index: 0;
}
.roomBox {
  position:absolute;
  box-shadow: 0 0 0 1px black;
  border: 1px solid black;
  text-align:center;
  opacity:1;
  z-index: 10;
}
.roomBoxNeutral { background-color: #eee; }
.roomBoxLab { background-color: #e1e4d2; }
.roomBoxOffice { background-color: #eaeaff; }
.colorKeyRoomBox {
  display:inline-block;
  min-width: 200px;
  height: 5em;
  margin-bottom:5px;
  border: 2px solid black;
  text-align:center;
  padding-top: 1.5em;
}
.roomBox:hover {
  background-color:white;
}
.roomBox > div {
  padding: 0.6em 0;
}
.roomName {
  white-space:nowrap;
  font-size:0.8em;
  line-height:0.8em;
  margin-bottom:0.6em;
  font-weight:bold;
  color: #38b;
  margin-left:-0.6em;
  margin-right:-0.6em;
}
.roomName > a {
  color: #38b;
}
.roomPersonList {
  font-size:0.6em;
  line-height:1.2em;
}
.roomNote {
  font-size:0.6em;
  line-height:1.6em;
}
.roomPerson {
  margin-bottom:0.3em;
  font-weight:bold;
}
.roomLock {
  text-align:center;
  position: absolute;
  bottom: 0.5em;
  right: 0.5em;
}
.roomLock > div {
  cursor: default;
  font-size:0.7em;
  border-radius: 50%;
  border: 1px solid black;
  width: 1.8em;
  height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-orange {
  color: #d8a23f;
}
.text-green {
  color: #3f9c3d;
}
.text-brown {
  color: #a74a49;
}
.text-neutral {
  color: gray;
}

table.table-centered td, table.table-centered th {
  text-align: center;
}

tr.strike-through {
  opacity: 0.4;
  background: repeating-linear-gradient( 180deg, gray 0%, gray 100% );
  background-size: 100% 2px;
  background-position: center;
  background-repeat: no-repeat;
}

.blur-background {
  filter: blur(2px) grayscale(0.5);
}
.blur-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.65;
  z-index: 1;
  background: #b4dce8;
  color: black;
  text-shadow: 0 0 black;
  display: flex;
  font-size: 1.2em;
  align-items: center;
  justify-content: center;
}
.blur-overlay > div {
  text-align: center;
  padding: 25px;
}
.close-blur-overlay {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

.bg-light-blue, .bg-light-blue ~ .tablesorter-childRow {
  background: #b1dafd;
}

.animateBackground {
  transition: background-color 0.6s ease, height 0.6s;
}

.btn-multiLine {
  white-space: normal;
  height: auto;
}

.dropdown-menu-left + .dropdown-menu {
  right: 0;
  left: auto;
}

.line-through {
  text-decoration: line-through;
}

.list-hover li:hover { background: #eee; }
.list-hover li li:hover { background: #ddd; }
.list-hover li li li:hover { background: #ccc; }
.list-hover li li li li:hover { background: #bbb; }

.table-vertical-align-middle tbody td {
  vertical-align: middle;
}

.uzh-content-right ul {
  padding-left: 25px;
}

.menu-spacer {
  font-weight:bold;
  text-decoration:underline;
  text-align:center;
}

.noteTodoBox {
  padding-top: 12px;
  margin-bottom: 12px;
}

@media print {
  .col-print-12{width:100%; float:left;}
}

/* SPINNER */

.loader {
  border: 3px solid #f3f3f3; /* Light grey */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;

  margin-left:-10px;
  margin-top:-10px;
  position: absolute;
  top:50%;
  left:50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bg-th{
  min-width: 300px;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
  white-space: nowrap;
}

.bg-th-div{
  text-align: center;
  width: 23px;
  display: inline-block;
  padding:0;
  margin-left: 3px;
  margin-right: 3px;
  padding-top: 1px;
  padding-bottom: 1%;
}
.bg-th-div:hover{
  cursor: default;
}

.bg-employmentItem{

}
.bg-employmentItem:hover{
  background-color: #eee;
}

.bg-employmentItemAdjusted{
  background-color: #d9edf7;
}
.bg-employmentItemAdjusted:hover{
  background-color: #c8dce6;
}


.bg-employmentItemPreviousYear{
  color: #999;
  font-size: 85%;
  font-style: italic;
}
.bg-employmentItemPreviousYear:hover{
  background-color: #eee;
}


.bg-employmentEnded{
  color: #F00;
}
.bg-employmentEnded:hover{
  background-color: #eee;
}


.bg-projection{
  color: #999;
  font-size: 85%;
}
.bg-projection:hover{
  background-color: #eee;
}


.bg-employmentItemFromActual{
  font-weight: bold;
}
.bg-employmentItemFromActual:hover{
  background-color: #eee;
}

#grid-container .qfq-tablesorter-menu-wrapper .qfq-view-editor, #grid-container .qfq-tablesorter-menu-wrapper .qfq-column-selector {
 right: 1px;
}

.end-aligned-element {
  margin-left: auto;
}

.btn-group:has(> :first-child.mailtoBtn) {
  display: flex;
  margin-bottom: 5px;
}