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: 344px;
    height: 513px;
    margin: 0;
    float: left;
    border: 0;
    overflow: hidden;
    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: 390px !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: 97% !important;
    margin-top: 8px;
    margin-left: 5px;
}

.navcontent .btn.bottom {
    font-size: 14px !important;
    width: 35px;
    padding-left: 13px;
}

#btnShowContact,
#btnPickContact {
    width: 344px;
    color: #288DC1;
    border-color: #a6aeb9;
}

#btnShowContact {
    margin-bottom: -6px;
    border-radius: 4px 4px 0px 0px;
}

#btnPickContact {
    border-radius: 0px 0px 4px 4px;
}

.btnShowContactOnly {
    border-radius: 4px 4px 4px 4px !important;
}

.navcontent .btn.bottom :hover {
    font-size: 13px !important;
    background: #aca79a;
}

.navigationbar {
    height: 60px;
    width: 344px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: -14px;
}

.navigationbar h4 {
    display: inline-block;
    font-size: 14px;
    text-rendering: optimizelegibility;
    margin-top: 12px;
    margin-left: 36px;
}

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

.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: #606060;
    border-bottom-color: #D1D5DB;
    border-width: 3px;
}

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

.pickedThisTicket {
    font-weight: 600;
}

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

.form-control {
    color: #555555;
}

.navholder {
    background: #F6F8FD;
    border-bottom: 1px solid #D1D5DB;
    height: 60px;
    width: auto;
    overflow: hidden;
}

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

.customersearchbar {
    width: 320px;
    margin-left: 14px;
}

.btnSearch {
    background-color: #237BA9;
    color: #ffffff;
    border-radius: 0px 4px 4px 0px !important;
}

.btnSearch:hover {
    background-color: #1a5c7f !important;
    color: #ffffff;
}

.save-ticket-combo {
    color: #000000;
    background-color: #ffffff
}

.save-ticket-combo:hover {
    background-color: #F6F8FD !important;
    border-color: #a6aeb9 !important;
}

.btnSaveTicket {
    border-radius: 4px 0px 0px 4px;
}

.btnSaveTicket:hover {
    background-color: #1a5c7f !important;
}

#overlay {
    margin-top: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 500px;
    z-index: 10000;
}

.table {
    table-layout: fixed;
}

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

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

.w-100 {
    width: 100%;
}

.dropdown-menu-center {
    left: 50% !important;
    right: auto !important;
    text-align: center !important;
    transform: translate(-50%, 0) !important;
    bottom: auto !important;
    padding-top: 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;
    line-height: 1.42857143;
    color: #888;
    white-space: nowrap;
    font-size: 12px;
    cursor: pointer;
}

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

.LoyallyLogo {
    background-image: url(141ab7dbcc076001a597.png);
    background-repeat: no-repeat;
    background-size: 5%;
    background-position-x: 6px;
    background-position-y: 452px;
}

.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;
}

.form-group.required .control-label:after {
    content: "*";
}

/*
* Bootstrap overrides
*/

.tooltip {
    z-index: 999 !important;
    position: absolute !important;
}

.btn {
    border-color: #D1D5DB !important;
}

/*
* Styles used across different tabs (should be in main CTI styles)
*/

.register .newTicketHolder .caret,
.register .dispositionHolder .caret,
.settingsview .caret {
    float: right;
    margin-top: 6px;
}

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

.notification.red {
    color: red;
}

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

.tb-single  {
    padding-bottom: 6px;
}

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

.newTicketHolder .inputdiv {
    width: 228px !important;
    float: left;
}

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

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

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

/*
* Phone tab specific styles
*/
.number {
    margin-left: auto;
    margin-right: auto;
    width: 214px;
    margin-bottom: 6px;
    height: 30px;
    margin-top: 6px;
}

.number .form-control {
    position: absolute;
}

#numberInput {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}

.number #btnRefuse {
    float: right;
    z-index: 2;
    font-size: 18px !important;
    position: absolute;
    left: 179px;
    padding-top: 3px;
    height: 30px;
    width: 35px;
    padding-left: 8px;
}

.agentstatus {
    text-align: left;
    margin-left: 2px;
    margin-bottom: 5px;
}

.agentstatus a {
    text-decoration: none;
    font-size: 12px;
}

.agentstatus .dropdown-menu {
    min-width: 86px;
}

.agentstatus ul .wrapup {
    cursor: not-allowed;
}

@keyframes blink {
    from {
        color: #FFF;
    }

    to {
        color: #78A300;
    }
}

@keyframes lineblink {
    from {
        background-color: #FFF;
    }

    to {
        background-color: #FF7F00;
    }
}

#btnRefuse {
    color: red;
}

.linestate {
    float: right;
    font-size: 12px;
    padding-top: 2px;
    text-transform: lowercase;
}

.panel-body {
    margin: auto;
    padding: 0;
    width: 360px;
    height: 313px;
}

.panel-body.default {
    padding-top: 7px !important;
    height: 500px;
}

.panel-body {
    padding: 0px !important;
}

.panel-body.withRecording {
    padding-top: 5px;
    height: 220px;
}

.queue-container {
    text-align: left;
    height: 20px;
}

.queue-container span {
    font-size: 12px;
}

#callThisCustomer {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}

#dismiss-c2d {
    z-index: 10000000;
    position: relative;
    border: none;
    float: right;
    height: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    margin-right: 10px;
    margin-top: 4px;
    background-color: transparent;
}

#dismiss-c2d :hover {
    background-color: transparent !important;
}

#dismiss-c2d:hover {
    background-color: transparent !important;
}

#dismiss-c2d span {
    float: left;
    font-size: 20px;
    background-color: transparent;
}

#dismiss-c2d span:hover {
    color: #E82A2A;
}

.c2d-holder .dropdownblock {
    display: block !important;
    position: absolute;
    width: 100%;
}

.call-option {
    margin-top: 10px;
    font-size: 10px;
    padding-top: 5px;
    padding-left: 150px;
}

.call-option label {
    float: left;
}

.call-option label:nth-child(1) {
    width: 182px;
    text-align: left;
    padding-left: 2px;
    margin-top: 1px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 29px;
    height: 14px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .15s;
    transition: .15s;
}

input:checked+.slider {
    background-color: #016064;
}

input:focus+.slider {
    box-shadow: 0 0 1px #016064;
}

input:checked+.slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

.dropdown-clid {
    top: -26px !important;
    bottom: auto !important;
}

.dropdown-clid li a {
    height: 27px !important;
}

.pre-scrollable-clid {
    max-height: 254px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    width: 232px;
    margin-left: 8px !important;
}

.phone .dropdown ul.pre-scrollable {
    max-height: 407px !important;
}

.dropdown-header {
    background-color: rgb(105, 123, 136);
    color: #FFF !important;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    padding: 5px 11px !important;
    margin-bottom: 3px;
}

.dropdown-header .glyphicon-remove {
    font-size: 12px;
    float: right;
    width: 20px;
    text-align: center;
    cursor: pointer;
}

.lineOneButtonRadius {
    border-bottom-left-radius: 2px !important;
    border-top-left-radius: 2px !important;
}

.lineTwoButtonRadius {
    border-bottom-right-radius: 2px !important;
    border-top-right-radius: 2px !important;
}

.holdButtonRadius {
    border-bottom-left-radius: 2px !important;
}

.transferButtonRadius {
    border-bottom-right-radius: 2px !important;
}

.holdCallTransferPossition {
    width: 100%;
}

.phone .dropdown-menu {
    overflow-x: hidden;
    max-height: 446px;
    min-height: 446px;
    overflow-y: auto;
    padding-top: 0px;
    top: 0;
    margin-top: 0;
}

/*
* Searchresults / NewContact tab specific styles
*/

.searchresults .name {
    width: 30%;
}

.searchresults .email {
    width: 45%;
}

.contact-table-holder-header {
    margin-top: 10px;
    height: 28px;
    border-bottom: 1px solid #ddd;
}

.contact-table-header-subject {
    display: inline-block;
    font-weight: 700;
    width: 136px;
    margin-left: 8px;
}

.contact-table-header-status {
    display: inline-block;
    font-weight: 700;
}

.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: 600;
    background-color: #F6F8FD;
}

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

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

/*
* Recent tab specific styles
*/

.recent .table-holder.pre-scrollable {
    max-height: 379px !important;
}

.recent .subject {
    width: 255px;
}

.ticket-table-holder-header {
    margin-top: 10px;
    height: 28px;
    border-bottom: 1px solid #ddd;
}

.ticket-table-header-subject {
    display: inline-block;
    font-weight: 700;
    width: 255px;
    margin-left: 7px;
}

.ticket-table-header-status {
    display: inline-block;
    font-weight: 700;
}

/*
* Register / Notes tab specific styles
*/
.register .dropup button:first-of-type {
    width: 310px;
}

#to-new-notes-btn {
    width: 120px;
    font-weight: 600;
    border-radius: 4px 0px 0px 4px;
}

#append-notes-btn {
    width: 130px;
    font-weight: 600;
}

#clear-notes-btn {
    width: 96px;
    background-color: #D63E5C;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0px 4px 4px 0px;
}

#clear-notes-btn:hover {
    background-color: #C3163F !important;
}

#save-ticket-btn {
    width: 120px;
    /* background-color: #89B32B; */
    background-color: #337ab7;
    color: #ffffff;
    font-weight: 600;
}

#save-ticket-btn:hover {
    /* background-color: #6a8a21 !important; */
    background-color: #286090 !important;
}

#edit-notes-btn {
    width: 130px;
    background-color: #337ab7;
    color: #ffffff;
    font-weight: 600;
}

#edit-notes-btn:hover {
    background-color: #286090 !important;
}

#cancel-ticket-btn {
    width: 96px;
    background-color: #D63E5C;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0px 4px 4px 0px;
}

#cancel-ticket-btn:hover {
    background-color: #C3163F !important;
}

#notes-btn-group {
    margin-top: 8px;
}

#ticket-btn-group {
    margin-top: 8px;
}

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

.register .dispositionHolder .dropdown button {
    width: 100%;
}

.register .dropdown-toggle {
    text-align: left;
}

.register.navcontent {
    height: 471px;
}

.register .newTicketHolder {
    height: 390px;
}

.lower {
    position: absolute;
    top: 460px;
}

.customerSearchNotification,
.recentTicketsNotification,
.ticketNotesNotification {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 2px;
    padding-right: 2px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: #D63E5C;
    border-radius: 12px;
}

.ticketNotesNotification {
    margin-top: -5px;
}

.ticketsNotificationHover {
    background-color: #6a8a21 !important;
}

.clickable {
    color: #ffffff;
    cursor: pointer;
}

.clickable:hover {
    color: #ffffff;
    text-decoration: none;
}

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

.register textarea {
    min-width: 344px;
    max-width: 344px;
    position: relative;
    margin-left: 15px;
}

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

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

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

#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;
}

.dispositionHolder .dropdown .dropdown-menu {
    max-height: 354px;
    overflow-y: scroll;
}

/*
* Settings tab specific styles
*/

.settingsview .save {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
}

.settingsview #btnDefaultClid {
    width: 100%;
    text-align: left;
}

.settingsview .notification {
    padding-top: 13px;
}

.show-clid-choice {
    padding-top: 4px;
}

.settingsViewContainer .form-group-sm {
    margin-bottom: 10px !important;
}

.settingsViewContainer #cbShowCLIDChoice {
    margin: 0px 2px 0;
}

#btnChangeLogin {
    cursor: pointer;
}
