.main-index {
    top: 240px;
}

.header_login {
    top: 60px;
    position: relative;
}

.header_tools {
    pointer-events: none;
}

.header_tools .header_tools_item {
    pointer-events: auto;
}

.c-logo__link {
    display: inline-block;
    line-height: 0;
}

.topnav a.icon {
    position: fixed;
    right: 0;
    top: 0;
    font-size: 24px;
    color: #a7a8ab;
}

.sp-mobile-only {
    display: none !important;
}

.sp-profile-button {
    margin-left: 200px;
}

#password-form {
    padding-left: 160px;
}

#breadcrumb.breadcrumb-profile {
    top: 115px;
    left: 20px;
}

#resetPasswordForm .sp-reset-submit {
    margin-left: 260px;
}

.btnPane[data-page] {
    cursor: pointer;
}

.DocumentsList a.filename {
    display: block;
    width: fit-content;
}

@media (max-width: 1679px) {

    .sp-advert, .leftBanner, .rightBanner {
        display: none !important;
    }
}

@media (max-width: 780px) {

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        position: relative;
        min-height: 100vh;
        min-height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding-top: 64px;
        padding-bottom: 56px;
        -webkit-text-size-adjust: 100%;
    }

    body > #footer {
        position: static;
    }

    body > #footer #footer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        z-index: 20;
        overflow: visible;
    }

    .header .container {
        left: 0;
        padding: 0 12px;
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .header_logo-container {
        height: 64px;
        align-items: center;
    }

    .header_logo img, .c-logo__image {
        width: 120px;
        height: auto;
    }

    .header_brand {
        display: none;
    }

    .header_tools, #login, .header_login {
        display: none !important;
    }

    .sp-mobile-only {
        display: none !important;
    }

    .header_nav {
        position: fixed;
        top: 0;
        right: 0;
        margin: 0;
        z-index: 21;
    }

    .topnav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: auto;
        overflow: visible;
        background: none;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .topnav a {
        display: none;
    }

    .topnav a.icon {
        display: block;
        position: static;
        float: none;
        width: 64px;
        height: 64px;
        line-height: 64px;
        text-align: center;
        font-size: 28px;
        color: #282828;
        border: none;
        background: none;
        text-decoration: none;
    }

    .topnav.responsive {
        position: fixed;
        top: 0;
        right: 0;
        width: 240px;
        max-width: 100vw;
        background-color: #282828;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .topnav.responsive a.icon {
        position: static;
        color: #ffffff;
        align-self: flex-end;
    }

    .topnav.responsive a,
    .topnav.responsive a.sp-mobile-only {
        display: block !important;
        position: static;
        top: auto;
        float: none;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 20px;
        font-size: 16px;
        text-align: left;
        color: #ffffff;
        background-color: #282828;
        border-top: 1px solid #4a4a4a;
        border-bottom: none;
    }

    .topnav.responsive a.icon {
        width: 64px;
        padding: 0;
        text-align: center;
        border-top: none;
    }

    .topnav.responsive a[style*="display: none"],
    .topnav.responsive a[style*="display:none"] {
        display: none !important;
    }

    .TopBannerLogin, .TopBannerIndex {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 90px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 12px;
        z-index: 1;
    }

    .TopBannerLoginText, .TopBannerIndexText {
        position: static;
        margin: 0;
        flex: 1 1 auto;
    }

    .TopBannerLoginText h1, .TopBannerIndexText h1 {
        font-size: 20px;
        margin: 12px 0;
    }

    .TopBannerIndexImage {
        position: static;
        margin: 0;
        width: 120px;
        flex: 0 0 120px;
        padding: 0;
    }

    .TopBannerIndexImage img {
        width: 120px;
        height: auto;
        display: block;
    }

    .main, .main-index {
        position: relative;
        top: 0 !important;
        margin: 0;
        padding: 12px;
        box-sizing: border-box;
        width: 100%;
    }

    .mainlogin {
        position: relative;
        left: 0;
        transform: none;
        margin: 0;
        width: 100%;
        height: auto;
        padding: 12px;
        box-sizing: border-box;
        overflow: visible;
    }

    .LoginContent {
        margin-top: 12px;
    }

    #LoginContent .LoginPageContent {
        display: block;
        width: 100%;
        margin: 0 0 16px 0;
    }

    #LoginContent .LoginPageContent table,
    #LoginContent .LoginPageContent tbody {
        display: block;
        width: 100%;
    }

    #LoginContent .LoginPageContent tr {
        display: grid;
        grid-template-columns: 16px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 8px;
        margin-bottom: 8px;
    }

    #LoginContent .LoginPageContent td {
        display: block;
        padding: 0;
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
    }

    #LoginContent .LoginPageContent td img {
        display: block;
        margin-top: 4px;
    }

    #LoginContent .LoginPageContent td[colspan] {
        grid-column: 1 / -1;
        text-align: center;
    }

    .LoginForm .submitbutton {
        margin-top: 12px;
    }

    #breadcrumb, .breadcrumb, #breadcrumb.breadcrumb-profile {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 30px;
        margin: 0 0 8px 0;
        align-items: center;
        flex-wrap: wrap;
        font-size: 14px;
        z-index: 2;
    }

    #Searchform, #SearchformWarranty {
        position: relative;
        width: 100%;
        height: auto;
        margin: 8px 0;
        overflow: visible;
        border-right: none;
        box-sizing: border-box;
    }

    #Content {
        position: relative;
        margin: 8px 0 24px 0;
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    #Content #version {
        margin-top: 0;
    }

    .AllBannersDiv {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
        transform: none;
    }

    div.main .AllBannersDiv ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    div.main .AllBannersDiv li {
        float: none;
        padding: 0 !important;
        min-width: 0;
    }

    div.main .AllBannersDiv li[style*="display: none"] {
        display: none;
    }

    .AllBannersDiv .btnPane {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 300 / 240;
        background-size: 100% 100%;
        background-position: center;
        box-sizing: border-box;
        pointer-events: auto;
    }

    .AllBannersDiv .Panel {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 28px;
        padding: 4px 6px;
        box-sizing: border-box;
    }

    .AllBannersDiv .Panel span {
        position: static;
        display: block;
        font-size: 13px;
        line-height: 1.3;
        text-align: left;
    }

    .OutstandingcallsPanel, .HistoriccallsPanel {
        pointer-events: auto;
    }

    .container {
        margin-top: 12px;
        padding: 0 12px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form__title {
        font-size: 1.5em;
        padding-bottom: 16px;
    }

    .form_msg {
        padding-bottom: 20px;
    }

    .password-section {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 24px 0;
    }

    body .login_button {
        width: auto;
        min-width: 130px;
        max-width: 100%;
        white-space: nowrap;
    }

    body .password-section .sp-profile-button {
        margin: 0;
        width: 100%;
        max-width: 280px;
    }

    #password-form {
        padding-left: 0;
    }

    #resetPasswordForm .sp-reset-submit {
        margin-left: 0;
    }

    .LoginFormFP .form_input {
        margin-left: 0;
    }

    .div_form {
        padding-left: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .form_input, .form_textarea, .form_select {
        max-width: 100%;
    }

    input, select, textarea {
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    input[type="checkbox"], input[type="radio"] {
        width: auto;
    }

    .login_div_button, .login_button {
        min-height: 44px;
    }

    .consumablesection, .ContactDetailssection, .MeterReadingsection, .Errordetailssection,
    .GeneralDetailstable, .TableMain, .QuantityTonerTable, #GeneralDetails, .DocumentsList,
    #outstandingcallstable, #PreviouscommentsTable {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }

    .WasteTonerRow td:first-child {
        padding-left: 4px;
    }

    .DateRangeTable tr:nth-child(2) td:nth-child(1) {
        padding-left: 0;
    }

    .search_results .tr {
        flex-wrap: wrap;
    }

    .search_results .td {
        white-space: normal;
        font-size: 13px;
    }

    .modal {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-content, .contactus-modal-content, .forgottenpassword-modal-content {
        width: calc(100% - 16px);
        max-width: 600px;
        left: 50%;
        top: 72px;
        margin: 0 0 24px 0;
        height: auto;
        padding: 12px;
        transform: translateX(-50%);
        box-sizing: border-box;
    }

    .popup {
        width: calc(100% - 16px);
        height: calc(100vh - 88px);
        top: 72px;
        margin: 0;
    }

    .CallDetailsSection {
        top: 0;
        width: 100%;
        overflow-x: auto;
    }

    .RightSection, .PartsSection, .CommentsSection, .UploadSection {
        width: 100%;
        overflow-x: auto;
    }

    .PartsCategory, .CommentCategory, .CallDetailsCategory, .GeneralDetailsCategory {
        width: 100%;
        box-sizing: border-box;
    }

    .ContactusSection, .forgottenpasswordSection {
        width: 100% !important;
        margin-left: 0;
    }

    .contactusbuttons, .forgottenpasswordbuttons {
        width: 100%;
        margin-left: 0;
    }

    body.sp-standalone {
        padding-top: 0;
        padding-bottom: 0;
    }

    .sp-standalone #wrapper, .sp-standalone #middlesectionoptions, .sp-standalone #pagecontent,
    .sp-standalone #headeroptions, .sp-standalone #innerpadding, .sp-standalone #content,
    .sp-standalone #mainsectionright, .sp-standalone #mainsectionleftoptions {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .sp-standalone #pagecontent, .sp-standalone #innerpadding {
        padding: 0 12px !important;
    }

    .sp-standalone #topleft, .sp-standalone #topright {
        float: none !important;
        width: auto !important;
    }

    .sp-standalone #topleft h1 {
        font-size: 24px;
        margin: 12px 0;
    }

    .sp-standalone .mainmenu, .sp-standalone .mainmenutop {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 62px;
        display: flex;
        align-items: center;
    }

    .sp-standalone #mainsectionleftoptions a {
        display: inline-block;
        padding: 6px 0;
    }

    #progresscontent, #progresscontentCU, #progresscontentFP {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    #footer {
        font-size: 10px;
        line-height: 12px;
        text-align: center;
    }

    #footer ul {
        margin: 6px 0;
        padding: 0 8px;
    }

    #footer .footer-rights {
        display: block;
    }
}

@media (max-width: 780px) {

    #Content #filtercalls {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin: 8px 0 16px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 8px;
    }

    #Content #filtercalls input[type="text"] {
        flex: 1 1 180px;
        width: auto;
    }

    #Content #filtercalls label {
        width: 100%;
        order: -1;
        position: static;
    }

    #Content #filtercallsbutton {
        position: static;
        margin: 0;
    }

    #outstandingcallstable,
    #outstandingcallstable tbody,
    #outstandingcallstable tr,
    #outstandingcallstable td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    #outstandingcallstable {
        border: none;
    }

    #outstandingcallstable tr:first-child {
        display: none;
    }

    #outstandingcallstable tr.clickable-row {
        margin: 0 0 12px 0;
        padding: 8px 12px;
        border: 1px solid #d4d4d4;
        background: #ffffff;
    }

    #outstandingcallstable tr.clickable-row:nth-child(even) {
        background: #f2f2f2;
    }

    #outstandingcallstable tr.clickable-row td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 4px 0;
        border: none;
        text-align: right;
        font-size: 14px;
    }

    #outstandingcallstable tr.clickable-row td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        flex: 0 0 45%;
    }

    #outstandingcallstable tr.clickable-row td:first-child {
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid #d4d4d4;
        padding-bottom: 6px;
        margin-bottom: 4px;
    }

    #outstandingcallstable tr.outstandingcallsbutton {
        margin: 0;
        padding: 8px 0;
        background: #ffffff;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
    }

    #outstandingcallstable tr.outstandingcallsbutton td {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0;
        padding: 0;
        border: none;
        background: none;
    }

    #outstandingcallstable tr.outstandingcallsbutton td .login_button {
        margin: 0;
    }
}

@media (max-width: 780px) {

    #Content.sp-calls-grid {
        width: 100% !important;
        height: calc(100vh - 272px) !important;
        height: calc(100dvh - 272px) !important;
        min-height: 260px;
        margin: 8px 0 0 0 !important;
        padding-bottom: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #Content.sp-calls-grid #filtercalls {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 0 8px 0;
        padding-bottom: 8px;
        background: #ffffff;
    }
}

@media (min-width: 781px) {

    #Content.sp-calls-grid {
        height: calc(100vh - 410px) !important;
        min-height: 300px;
    }

    #outstandingcallstable tr:first-child th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    #Content.sp-calls-grid {
        padding-bottom: 0;
    }

    .main-index {
        min-height: 790px;
        padding-bottom: 64px;
    }

    .search_results .td {
        white-space: normal;
        overflow: visible;
        overflow-wrap: break-word;
        line-height: 1.4;
        align-items: center;
    }

    .password-section {
        justify-content: center;
        gap: 40px;
    }

    .sp-profile-button {
        margin-left: 0;
    }

    .form_textarea textarea {
        min-height: 96px;
    }

    .form_textarea label {
        top: 10px;
    }

    #breadcrumb {
        width: auto;
        max-width: 40%;
        white-space: nowrap;
    }

    #SearchformWarranty > .form_input:last-child {
        position: sticky;
        bottom: 0;
        z-index: 1;
        margin-bottom: 0;
        padding-top: 8px;
        padding-bottom: 10px;
        background: #ffffff;
        box-shadow: 0 -6px 6px -6px rgba(0, 0, 0, 0.25);
    }

    .sp-form-buttons {
        margin: 30px 0 20px;
    }

    .DocumentsList .sp-link-icon {
        display: block;
        line-height: 0;
    }

    .header .container {
        left: 0;
        box-sizing: border-box;
        padding: 0 min(195px, 14.3vw);
    }

    .header_nav {
        right: 0;
    }

    .header_tools_list {
        padding: 10px min(195px, 14.3vw);
    }
}

@media (max-width: 780px) {

    #outstandingcallstable tr.clickable-row td:not([data-label="Call Reference"]):not([data-label="Model Code"]):not([data-label="Serial Number"]):not([data-label="Location Name"]):not([data-label="Post Code"]) {
        display: none;
    }
}

@media (max-width: 780px) {

    #CallDetailsSection,
    #CallDetailsTable,
    #CallDetailsTable > tbody,
    #CallDetailsTable > tbody > tr,
    #CallDetailsTable > tbody > tr > td {
        display: block;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }

    #GeneralDetailstable,
    #GeneralDetailstable > tbody {
        display: block;
        width: 100% !important;
    }

    #GeneralDetailstable tr.DetailsSectionRow {
        display: grid;
        grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 4px;
        margin-bottom: 4px;
    }

    #GeneralDetailstable tr.DetailsSectionRow td {
        display: block;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        text-align: left !important;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

    #GeneralDetailstable tr.DetailsSectionRow td:nth-child(odd) {
        font-weight: bold;
    }

    #GeneralDetailstable tr.DetailsSectionRow td:empty {
        display: none;
    }

    #CallDetailsTable .uploadfilestable,
    #CallDetailsTable .uploadfilestable tbody,
    #CallDetailsTable .uploadfilestable tr,
    #CallDetailsTable .uploadfilestable td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    #AllCommentsTableDiv, #AllPartsTableDiv {
        width: 100%;
        overflow-x: auto;
    }

    #CallDetailsTable .AllCommentsTable,
    #CallDetailsTable .AllPartsTable {
        width: 100% !important;
        font-size: 13px;
    }

    #CallDetailsTable .AllCommentsTable td,
    #CallDetailsTable .AllPartsTable td {
        overflow-wrap: break-word;
        line-height: 1.4;
    }

    #CallDetailsTable #CallComments {
        width: 100% !important;
    }

    #CallDetailsTable #SaveComment {
        margin: 8px 0 0 0;
    }

    .modal-content.popup .GeneralDetailsCategory {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 780px) {

    #CallDetailsTable td {
        height: auto !important;
    }

    #CallDetailsTable td td {
        width: auto !important;
    }
}

#outstandingcallstable tr.outstandingcallsbutton {
    position: sticky;
    bottom: 0;
    z-index: 2;
}

#outstandingcallstable tr.outstandingcallsbutton td {
    background: #ffffff;
}

.sp-back-to-top {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 64px;
    z-index: 15;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: #282828;
    color: #ffffff;
    line-height: 0;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sp-back-to-top.sp-show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-back-to-top:hover,
.sp-back-to-top:focus-visible {
    background: #0a9bcd;
    outline: none;
}

@media (max-width: 780px) {

    .sp-back-to-top {
        right: 12px;
        bottom: 126px;
    }
}

@media (max-width: 780px) {

    html {
        overflow-x: hidden;
    }

    body {
        overflow: visible !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    body > #footer {
        margin-top: auto;
    }

    body > #footer #footer {
        position: relative;
        bottom: auto;
        display: flow-root;
    }
}

@media (max-width: 780px) {

    #Content .ConsumablesTable,
    #Content .ConsumablesTable > tbody {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    #Content .ConsumablesTable > tbody > tr {
        display: block;
        width: auto;
        margin: 0;
        padding: 0;
        position: static;
        top: auto;
        left: auto;
        border: none;
    }

    #Content .ConsumablesTable > tbody > tr:nth-child(2) {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
        margin: 16px 0 20px 0;
        padding: 0 10px;
    }

    #Content .ConsumablesTable > tbody > tr > td {
        display: block;
        width: auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    #Content .ConsumablesTable > tbody > tr:nth-child(2) > td {
        padding: 0;
    }

    #Content .ConsumablesTable .QuantityTonerTable,
    #Content .ConsumablesTable .QuantityTonerTable > tbody {
        display: block;
        width: 100%;
    }

    #Content .ConsumablesTable .QuantityTonerTable > tbody > tr {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
        padding: 0 10px;
    }

    #Content .ConsumablesTable .QuantityTonerTable > tbody > tr > td {
        display: block;
        padding: 0;
    }

    #Content .ConsumablesTable .quantity input[type=number] {
        box-sizing: content-box;
        max-width: none;
    }

    #Content .ConsumablesTable .consumablesection, #Content .ConsumablesTable .ContactDetailssection,
    #Content .ConsumablesTable .MeterReadingsection, #Content .ConsumablesTable .Errordetailssection {
        width: 100%;
        height: auto;
        min-height: 25px;
        padding: 8px 10px;
        margin: 10px 0;
        box-sizing: border-box;
    }

    #Content .ConsumablesTable .div_form {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    #Content .ConsumablesTable .form_input input {
        width: 100%;
        box-sizing: border-box;
    }

    #Content .ConsumablesTable .login_div_button {
        width: 100%;
        margin: 0 0 12px 0;
        box-sizing: border-box;
    }
}

@media (max-width: 780px) {

    #UploadFilesDiv {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #UploadFilesDiv #files {
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }
}

@media (max-width: 780px) {

    #footer {
        font-size: 9px;
    }

    #footer .footer-rights {
        display: inline;
    }

    #footer li {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 379px) {

    #footer .footer-rights {
        display: none;
    }
}

@media (max-width: 780px) {

    .TopBannerLogin, .TopBannerIndex {
        position: sticky;
        top: 64px;
        z-index: 15;
        background-color: #f2f2f2;
        transition: min-height 0.2s ease;
    }

    .TopBannerLogin.sp-banner-compact, .TopBannerIndex.sp-banner-compact {
        min-height: 0;
    }

    .sp-banner-compact .TopBannerIndexImage {
        display: none;
    }

    .sp-banner-compact .TopBannerLoginText h1, .sp-banner-compact .TopBannerIndexText h1 {
        font-size: 16px;
        margin: 10px 0;
    }

    body {
        padding-bottom: 34px;
    }

    body > #footer #footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 14;
    }
}

.sp-field-error {
    color: var(--colour-status__error, #c8102e) !important;
}

.sp-label-error {
    color: var(--colour-status__error, #c8102e) !important;
}

.WarrantyList .tr {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(100px, 0.9fr) minmax(170px, 1.3fr) 2.4fr 70px;
    align-items: center;
    border-bottom: 1px solid #d0d0d0;
}

.WarrantyList .th {
    display: grid;
    font-weight: 700;
    background-color: #f2f2f2;
}

.WarrantyList .td {
    display: block;
    padding: 0.5em;
    border-bottom: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

.WarrantyList .wl-label {
    display: none;
}

.WarrantyList .wl-delete a {
    color: #0a9bcd;
}

.Terms {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.Terms input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex: none;
}

.Terms label {
    position: static;
    pointer-events: auto;
    cursor: pointer;
}

.UploadHeadersection {
    width: auto;
    max-width: 800px;
    height: auto;
    padding: 8px 10px;
    background-color: #f2f2f2;
    box-shadow: none;
    color: #282828;
    font-weight: 700;
}

.sp-upload {
    margin: 12px 0 16px;
}

#UploadFilesDiv .sp-upload-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0;
    overflow: hidden;
}

.sp-upload-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#UploadFilesDiv .sp-upload-button {
    position: static;
    pointer-events: auto;
    display: inline-block;
    padding: 8px 16px;
    margin: 0;
    background-color: #0a9bcd;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    cursor: pointer;
}

.sp-upload-hint {
    color: #595959;
    font-size: 13px;
}

#UploadFilesDiv #fileList {
    width: 100%;
}

#UploadFilesDiv #fileList ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

#UploadFilesDiv #fileList li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 6px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 14px;
}

.sp-file-name {
    overflow-wrap: anywhere;
}

.sp-file-size {
    margin-left: 8px;
    color: #595959;
    font-size: 13px;
    white-space: nowrap;
}

#UploadFilesDiv #fileList a {
    color: #0a9bcd;
    white-space: nowrap;
}

.sp-upload-clear {
    text-align: right;
    font-size: 13px;
}

@media screen and (max-width: 780px) {
    .WarrantyList {
        border-bottom: 0;
    }

    .WarrantyList .th {
        display: none;
    }

    .WarrantyList .tr,
    .WarrantyList .tr:nth-of-type(even),
    .WarrantyList .tr:nth-of-type(odd) {
        grid-template-columns: auto auto 1fr auto;
        grid-template-areas: "serial model date delete" "address address address address" "ext ext ext ext";
        column-gap: 12px;
        padding: 8px 10px;
        margin-bottom: 8px;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        background-color: #ffffff;
    }

    .WarrantyList .td {
        padding: 2px 0;
        font-size: 13px;
    }

    .WarrantyList .wl-serial { grid-area: serial; font-weight: 700; }
    .WarrantyList .wl-model { grid-area: model; }
    .WarrantyList .wl-date { grid-area: date; }
    .WarrantyList .wl-delete { grid-area: delete; text-align: right; }
    .WarrantyList .wl-address { grid-area: address; }
    .WarrantyList .wl-ext { grid-area: ext; }
    .WarrantyList .wl-ext:empty { display: none; }
    .WarrantyList .wl-label { display: inline; }
}

.WarrantyList.WarrantyConfirm .tr {
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(100px, 0.9fr) minmax(170px, 1.3fr) 1.6fr;
}

.sp-warranty-result {
    margin: 12px 0;
}

@media screen and (max-width: 780px) {
    .WarrantyList.WarrantyConfirm .tr,
    .WarrantyList.WarrantyConfirm .tr:nth-of-type(even),
    .WarrantyList.WarrantyConfirm .tr:nth-of-type(odd) {
        grid-template-columns: auto auto 1fr;
        grid-template-areas: "serial model date" "status status status" "ext ext ext";
    }

    .WarrantyList .wl-status { grid-area: status; }
}

.sp-cd-cell {
    padding: 0 !important;
}

.sp-cd-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 12px;
    text-align: left;
}

.sp-cd-sect + .sp-cd-sect {
    margin-top: 20px;
}

.sp-cd-head {
    background-color: #f2f2f2;
    color: #282828;
    font-weight: 700;
    padding: 8px 10px;
    margin-bottom: 12px;
}

.sp-cd-count {
    font-weight: 400;
    color: #595959;
}

.sp-cd-sect h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sp-cd-add {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 12px;
}

.sp-cd-save {
    text-align: right;
    margin-top: 10px;
}

.sp-cd-save input {
    margin: 0;
}

.sp-cd-hist {
    margin-top: 18px;
}

.sp-cd-comment {
    border-left: 3px solid #0a9bcd;
    padding: 6px 0 6px 12px;
    margin-bottom: 10px;
}

.sp-cd-comment.sp-cd-raised {
    border-left-color: #bdbdbd;
}

.sp-cd-meta {
    font-size: 13px;
    color: #595959;
}

.sp-cd-meta b {
    color: #282828;
    overflow-wrap: anywhere;
}

.sp-cd-text {
    margin-top: 2px;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.sp-cd-files {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
}

.sp-cd-files li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-bottom: 1px solid #e6e6e6;
}

.sp-cd-files li:last-child {
    border-bottom: 0;
}

div.main .sp-cd-files a {
    display: inline;
    padding: 0;
    text-align: left;
    color: #0a7fa8;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.sp-cd-date {
    color: #595959;
    font-size: 13px;
    white-space: nowrap;
}

.sp-cd-empty {
    color: #595959;
    margin: 0;
}

table.sp-cd-parts {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d0d0d0;
    font-size: 13px;
}

.sp-cd-parts th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 6px 8px;
    font-weight: 700;
}

.sp-cd-parts td {
    padding: 6px 8px;
    border-top: 1px solid #e6e6e6;
    vertical-align: top;
    text-align: left;
}

.sp-cd-parts .sp-cd-n {
    text-align: right;
    white-space: nowrap;
}

.sp-cd-parts .sp-cd-code {
    white-space: nowrap;
}

.CallDetailsTable .sp-cd-add .form_textarea {
    width: auto;
    max-width: 100%;
}

.CallDetailsTable .sp-cd-add .form_textarea textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.CallDetailsTable table.sp-cd-parts tr th,
.CallDetailsTable table.sp-cd-parts tr td {
    width: auto;
    height: auto;
    padding: 6px 8px;
    text-align: left;
    font-weight: normal;
}

.CallDetailsTable table.sp-cd-parts tr th {
    font-weight: 700;
}

.CallDetailsTable table.sp-cd-parts tr .sp-cd-n {
    width: 1%;
    text-align: right;
    white-space: nowrap;
}

@media screen and (max-width: 780px) {
    .sp-cd-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-cd-parts .sp-cd-code {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 781px) {

    body > #header {
        position: fixed;
        top: 0;
        left: 0;
    }
}
