h3 {
    color: #333;
}

#sidebar #current-user {
}

#sidebar #current-user .panel-title {
    font-size: 1em;
}

.page-content {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 15px;
}

#page-content {
    text-align: center;
}

a.disabled,
a.disabled:hover {
    color: #777;
    cursor: not-allowed;
    text-decoration: none;
}

.tickets-table {
    font-size: 0.85em;
    background-color: #fff;
}

.tickets-table > thead {
    border-top: 3px solid #f9a300;
}

.tickets-table > thead > tr > th {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: none;
}

.tickets-table td:nth-child(3) {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.tickets-table .action-links {
    white-space: nowrap;
}

.tickets-table thead th:last-child,
.tickets-table tr td:last-child {
    text-align: center;
}

/* Hide the "Representative" column in the closed tickets table */
#tickets-closed.tickets-table thead th:nth-child(5),
#tickets-closed.tickets-table tr td:nth-child(5) {
    display: none;
}

.tickets-table tr.row-blue,
.tickets-table-legend tr.row-blue {
    background-color: #d9edf7 !important;
}

.tickets-table tr.row-green,
.tickets-table-legend tr.row-green {
    background-color: #dff0d8 !important;
}

.tickets-table tr.row-red,
.tickets-table-legend tr.row-red {
    background-color: #f2dede !important;
}

.tickets-table tr.row-yellow,
.tickets-table-legend tr.row-yellow {
    background-color: #fcf8e3 !important;
}

.tickets-table .btn-close-ticket,
.tickets-table .btn-reopen-ticket,
.tickets-table .btn-upgrade-ticket {
    font-weight: bold;
    cursor: pointer;
}

.tickets-table .dataTables_empty {
    font-weight: bold;
    color: #777;
}

.tickets-table-legend {
    font-size: 0.8em;
}

.tickets-table-legend tr.legend-marker {
    border: 1px solid #ddd;
}

.panel.panel-orange {
    border-color: #bd5c00;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    transition: all 500ms linear;
}

.panel.panel-orange .panel-heading {
    background-color: #f07200;
    color: #fff;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    transition: all 500ms linear;
}

.panel.panel-orange .odometer,
.panel.panel-orange .odometer-value {
    color: #f07200;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    transition: all 500ms linear;
}

.modal-blue .modal-header {
    background-color: #337ab7;
    color: #fff;
}

.modal-orange .modal-header {
    background-color: #f07200;
    color: #fff;
}

.btn.btn-orange {
    background-color: #f07200;
    border: 1px solid #bd5c00;
    font-weight: bold;
    color: #fff;
}

.btn.btn-orange:hover {
    background-color: #c06005;
}

#request-state {
    text-transform: uppercase;
    margin-top: -20px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.cp-ticket-response-logo {
    margin-top: -4px;
}

.ticket-attachment {
    margin-right: 10px;
    display: inline;
    font-size: 0.9em;
}

.ticket-attachment a {
    border-bottom: 1px dashed;
}

.ticket-attachment a:hover {
    border-bottom: 1px solid;
    text-decoration: none;
}

#btn-add-reply {
    margin-top: -8px;
    margin-bottom: 15px;
}

.panel-ticket-response {
    word-wrap: break-word;
}

.panel-cpanel-als .panel-heading {
    padding: 5px 15px;
    font-size: 0.85em;
}

.panel-cpanel-als .panel-body {
    background-color: #d9edf7;
    color: #31708f;
    font-size: 0.85em;
    padding: 10px 15px;
}

#upgrade-queue-information #current-queue-position .panel-body h1 {
    color: #3a79bc;
}

.panel-dashboard > .panel-heading {
    padding: 5px 10px;
}

.panel-dashboard > .panel-body > h1 {
    margin-top: 10px;
    font-size: 3.5em;
}

form#form-upgrade-ticket input {
    font-size: 0.8em;
}

.feedback-rating-emoticon {
    font-size: 2.5em;
    cursor: pointer;
}

.feedback-rating-emoticon.feedback-emoticon-red {
    color: #d9534f;
}

.feedback-rating-emoticon.feedback-emoticon-yellow {
    color: #f0ad4e;
}

.feedback-rating-emoticon.feedback-emoticon-green {
    color: #5cb85c;
}

.feedback-emoticon-label {
    margin: 5px 0 10px 0;
    color: rgb(51, 51, 51);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.feedback-emoticon-label.first {
    margin-left: -2px;
}

.feedback-emoticon-label.last {
    margin-right: -2px;
}

.feedback-variation-button {
    color: #666;
    font-size: 4.5em;
    cursor: pointer;
    margin: 0;
}

.feedback-variation-button.selected {
    cursor: pointer;
}

.feedback-variation-button.selected[data-rating='negative'] {
    border-color: #f1c7cb;
    color: #6e2027;
    background-color: #f6d7da;
}

.feedback-variation-button.selected[data-rating='positive'] {
    border-color: #c7e4cd;
    color: #225528;
    background-color: #d6ebdc;
}

.feedback-variation-button {
    margin-top: 10px;
}

.feedback-variation-button[data-rating='neutral'] .panel-body {
    padding: 5px;
}

.feedback-variation-button.selected[data-rating='neutral'] {
    border-color: #c2e5e9;
    color: #1b545e;
    background-color: #d3ecf1;
    cursor: auto;
}

.noUi-base:hover,
.noUi-value:hover {
    cursor: pointer;
}

.noUi-handle:hover {
    cursor: -webkit-grab;
    cursor: -moz-grab;
}

.noUi-handle:active {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
}

.emergency-ticket-actions a {
    color: #d44950;
}

/* From styleguide.cpanel.net */
.alert {
    border-radius: 2px;
}

.alert {
    position: relative;
    border-radius: 2px;
    margin-bottom: 5px;
    padding: 10px 30px 10px 50px;
}

.alert-info {
    background-color: #d7edf9;
    border: 1px solid #179bd7;
    box-shadow: inset 41px 0 #179bd7;
}

.alert-success {
    background-color: #dff2d5;
    border: 1px solid #83b655;
    box-shadow: inset 41px 0 #83b655;
}

.alert-warning {
    background-color: #fcf8e1;
    border: 1px solid #f6c342;
    box-shadow: inset 41px 0 #f6c342;
}

.alert-danger {
    background-color: #f2dede;
    border: 1px solid #d03f00;
    box-shadow: inset 41px 0 #d03f00;
}

.alert > .glyphicon {
    left: 10px;
    top: 9px;
    position: absolute;
    font-size: 20px;
}

.alert-info > .glyphicon {
    color: #d7edf9;
}

.alert-success > .glyphicon {
    color: #dff2d5;
}

.alert-warning > .glyphicon {
    color: #fcf8e1;
}

.alert-danger > .glyphicon {
    color: #f2dede;
}

.alert-message {
    color: #333333;
    display: table;
    vertical-align: middle;
}

#modal-upgrade-ticket .queue-position .panel-title {
    font-size: 14px;
}

/* loader graphics between native form - server info and expedite modals */
#loader-container {
    text-align: center;
}
#loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
#loader div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #293a4a;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
#loader div:nth-child(1) {
    left: 8px;
    animation: loader-1 0.6s infinite;
}
#loader div:nth-child(2) {
    left: 8px;
    animation: loader-2 0.6s infinite;
}
#loader div:nth-child(3) {
    left: 32px;
    animation: loader-2 0.6s infinite;
}
#loader div:nth-child(4) {
    left: 56px;
    animation: loader-3 0.6s infinite;
}
@keyframes loader-1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes loader-3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes loader-2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}
