html {
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #555555 !important;
}

/*
* Main CTI styles
*/
#ticket-notes-container {
    width: 360px;
    height: 500px;
    margin: 0;
    float: left;
    border: 0;
    overflow: hidden;
    background-color: #f9f9f9;
    border-style: inset;
    border-color: initial;
    border-image: initial;
}

/* prevent default blue border higlight of input and buttons */
.form-control:focus,
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover {
    border-color: #109ad7;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0px !important;
}

.navcontent,
.navcontent btn,
.navcontent a,
.navcontent input,
.navcontent textarea,
.navcontent button {
    font-size: 12px !important;
}

.navcontent,
.navcontent textarea {
    font-size: 12px;
}

.navcontent textarea {
    height: 361px !important;
}

.navcontent th {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.25px;
}

.navcontent td {
    font-size: 12px;
    cursor: pointer;
}

.navcontent .form-group {
    margin-bottom: 4px;
    padding-top: 6px;
}

.navcontent .dropdown-menu {
    min-width: auto !important;
    width: 200px !important;
    margin-top: 10px;
    margin-left: 160px;

    border: none;
    border-radius: 0px;
    background-color: #E9E2D0;
}

.navcontent .btn.bottom {
    font-size: 13px !important;
    color: #555555;
    font-weight: 500;
    background: #d4cebd;
    border: none;
    height: 35px;
}

.navcontent .btn.bottom:hover {
    background-color: #c4bfaf;
}

.navigationbar {
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 42px;
    width: 360px;
}

.navigationbar h4 {
    display: inline-block;
    font-size: 14px;
    text-rendering: optimizelegibility;
    /* cursor: pointer; */
    margin-top: 7px;
    margin-left: 8px;
}

.navigationbar a {
    margin-right: 9px;
    padding: 0;
    text-align: center;
    height: 17px;
}

.navigation-item {
    border-bottom: 3px transparent solid;
    color: #191919;
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 400;
    font-family: 'roboto', sans-serif;
}

.navigation-item:hover {
    text-decoration: none;
    color: #E0E0E0;
    border-bottom-color: #E0E0E0;
    border-width: 3px;
}

.navigation-item.active {
    border-bottom-color: #E6E6E6;
    font-weight: bold;
}

.dropdown-toggle {
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.form-control {
    color: #555555;
}

.navholder {
    background: #d4cebd;
    border-bottom: 1px solid #ddd;
    height: 40px;
    width: auto;
    overflow: hidden;
}

.navholder .settings {
    float: right;
    padding-top: 5px;
    padding-bottom: 2px;
    margin-right: 16px;
    cursor: pointer;
}

.table {
    table-layout: fixed;
    width: 95%;
    margin-left: 8px;
}

.table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel {
    border-radius: 0 !important;
}

.dropup .dropdown-menu li {
    height: 26px;
    text-align: left;
}

.dropdown-menu li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    font-size: 14px !important;
    line-height: 1.4;
    color: #123;
    white-space: nowrap;
    font-size: 12px;
    cursor: pointer;
}

.dropup-icon {
    margin-left: -10px;
    margin-right: 8px;
}

.dropdown-menu li a:hover {
    background-color: #d4cebd;
}

.pre-scrollable {
    max-height: 359px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

.btn.disabled,
.btn[disabled] {
    cursor: not-allowed !important;
}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
    cursor: not-allowed !important;
}

/*
* Bootstrap overrides
*/
.tooltip {
    z-index: 999 !important;
    position: absolute !important;
}

.btn {
    border-color: rgb(218, 223, 227) !important;
    border-radius: 2px !important;
}

/*
* Styles used across different tabs (should be in main CTI styles)
*/
.register .newTicketHolder .caret {
    float: right;
    margin-top: 6px;
}

.notification {
    font-weight: normal;
    font-size: 12px;
    padding-left: 2px;
    text-align: left;
}

.notification.red {
    color: red;
}

.table-and-buttons .btn-grouped,
.new-contact-buttons .btn-grouped {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
}

.newTicketHolder .control-label,
.newContactHolder .control-label {
    float: left !important;
    width: 116px;
    padding-top: 8px;
}

.newTicketHolder .inputdiv,
.newContactHolder .inputdiv {
    width: 243px !important;
    float: left;
}

.newTicketHolder .dropdown-menu,
.newContactHolder .dropdown-menu {
    position: absolute;
    width: 245px !important;
    margin: 0;
    margin-top: 2px;
    left: -1px;
}

.newTicketHolder .form-group,
.newContactHolder .form-group {
    margin-left: 0 !important;
}

.newTicketHolder .status,
.newTicketHolder .priority,
.newTicketHolder .ticketgroup,
.newTicketHolder .tickettype {
    overflow-y: scroll;
    max-height: 100px;
    overflow-x: hidden;
}

.customerTicketSearchbar {
    margin-left: 10px;
    width: 340px;
}

/*
* Searchresults / NewContact tab specific styles
*/
.searchresults .name {
    width: 30%;
}

.searchresults .email {
    width: 45%;
}

.searchresults .address {
    width: 25%;
    height: 39px;
}

.searchresults .table>thead>tr>th:nth-of-type(4) {
    width: 12px !important;
}

.searchresults tr td:nth-of-type(4) {
    padding: 0;
    padding-top: 5px;
    margin: 0;
    width: 12px;
}

.searchresults tr .addticket {
    float: right;
    background-color: transparent;
    z-index: 10000;
}

.linkedThisContact {
    font-weight: 500;
}

.linkedThisContact .addticket {
    float: right;
    background-color: #FFF;
    color: #555555;
    padding: 4px;
}

.searchresults .table-holder.pre-scrollable {
    max-height: 339px !important;
    margin-bottom: 4px;
    overflow-y: scroll;
}

.tip {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.searchresults .newContactHolder {
    max-height: 405px;
    padding-top: 10px;
}

/*
* Recent tab specific styles
*/
.recent .table-holder.pre-scrollable {
    max-height: 431px !important;
}

/*
* Register / Notes tab specific styles
*/
.register .register-options {
    height: 87px !important;
    position: fixed !important;
    top: 72% !important;
}

.register .dropup button:first-of-type {
    width: 335px;
}

.register .newTicketHolder button,
.searchresults .newTicketHolder button {
    width: 100%;
}

.register .wrapup-submit,
.register .wrapup-submit button {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.register .dropdown-toggle {
    text-align: left;
    margin-left: 1px !important;
}

.register.navcontent {
    height: 471px;
}

.register .newTicketHolder {
    height: 361px;
}

.register .with-error {
    height: 330px;
}

.register textarea {
    width: 346px;
    position: relative;
    margin-left: 22px;
}

.register .invalid {
    border: 1px solid red !important;
}

.register .notification {
    margin-top: 4px;
    height: 17px;
}

.register-holder {
    position: absolute;
    bottom: 0;
}

.edit-notes-container {
    width: 100%;
    height: 24px;
}

.btn-edit-notes {
    float: right;
}

.btn-block+.btn-block {
    margin-top: 2px;
}

#ticketNotes.largest {
    height: 465px !important;
}

.ticketgroup input[type="text"],
.tickettype input[type="text"] {
    border: none;
    border-bottom: 1px solid lightgray;
    width: 215px;
    margin-left: 5px;
    margin-bottom: 5px;
}
