/* Add Samson IT logo */
.navbar-brand {
  background: 15px center url('/samson-it/logo_Samson_IT_white.png') no-repeat;
  background-size: 111px 20px;
  padding-left: 135px;
}

/* Give "placeholder" links the same styling as "real" links. */
a:hover {
    cursor: pointer;
}

/* Move bug jump form (visually) to the page header. */
#nav-search {
    left: 240px;
    position: fixed;
    top: 8px;
    width: 120px;
    z-index: 99999;
}
#breadcrumbs {
    position: revert;
}
#breadcrumbs > .nav-recent {
    float: right;
    padding-top: 13px;
    position: revert;
}

#logo-image {
    display: inline-block;
    height: 20px;
}

#buglist .column-project-id {
    text-align: left;
}

/* Customize textareas sizes. */
textarea#description {
    height: 22em;
}
textarea#steps_to_reproduce {
    height: 2em;
}
textarea#additional_information,
textarea#bugnote_text {
    height: 8em;
}
#report_bug_form > .widget-box > .widget-body > .widget-main > div > table > tbody > tr:nth-child(7) {
    display: none;
}
#report_bug_form textarea#description {
    height: 5em;
}
#report_bug_form textarea#steps_to_reproduce,
#report_bug_form textarea#additional_info {
    height: 2em;
}

/* Customize textarea size on bugnote edit. */
form[action="bugnote_update.php"] textarea#bugnote_text {
    height: 40em;
}

/* Search box styling. */
.jumpBox {
    float: left;
    margin-top: 5px;
}
.jumpBox .jump-search-input {
    border-radius: 4px;
    width: 120px;
}
.nav-recent {
    right: 12px;
}
/* Do not display search box on small screens. */
@media screen and (max-width: 600px) {
    .jumpBox {
        display: none;
        visibility: hidden;
    }
}

/* Do not display paste zone, as pasting in comment textarea works better. */
#pasteZone {
    display: none;
}

/* Select2 should not be hidden behind the sidebar. */
.chosen-container div.chosen-drop {
    z-index: 9999;
}

/* Class used to highlight required form elements upon submit if not filled. */
.fill-out {
    border: 1px solid orange;
}

/* Prevent bug description from growing beyond the table. */
.bug-description {
    overflow-wrap: anywhere;
}

/* Timetracking helper. */
#timetrack-container {
    background: #e1e1e1;
    border: 1px solid #d1d1d1;
    border-radius: 1em;
    bottom: 1em;
    box-shadow: 0.3em 0.3em 1em rgba(0, 0 ,0 , 0.3);
    font-size: 1.3em;
    padding: 1em;
    position: fixed;
    right: 1em;
    text-align: justify;
    transition: .5s ease;
    transition-property: background-color, border-color;
}
#timetrack-container.active {
    background: #ada;
    border-color: #7a7;
}
#timetrack-container.inactive {
    background: #daa;
    border-color: #a77;
}

#timetrack-time {
    float: right;
}

#timetrack-log {
    background: white;
    box-shadow: 0px 5px 30px 2px rgba(26, 23, 24, 0.3);
    border: 1px solid #d8d5d6;
    min-width: 10%;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}
#timetrack-log .head {
    background: #ebe9eb;
    padding: 5px;
    position: relative;
}
#timetrack-log .head button {
    background: transparent;
    border: 0;
    bottom: 0;
    position: absolute;
    right: 2px;
    top: 0;
    width: 2rem;
}
#timetrack-log .head button:hover {
    font-size: 1.5em;
}
#timetrack-log .body {
    max-height: 70vh;
    overflow-y: scroll;
    padding: 5px 20px 20px;
}

/* Hide certain URLs from the main navigation. */
.nav-list > li > a[href="/changelog_page.php"],
.nav-list > li > a[href="/roadmap_page.php"] {
    display: none;
}
