.cases-table-content .alert {
    padding: 6px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
}


/*================================== new-css ==================================== */
.bestilling-container .bestilling-box .form-control {
    border-radius: 70px;
    border: 1px solid #D1D1D1;
    -webkit-border-radius: 70px;
    -moz-border-radius: 70px;
    -ms-border-radius: 70px;
    -o-border-radius: 70px;
    padding: 10px 20px;
}

.bestilling-container .bestilling-box .form-control:focus {
    outline: none;
}

.bestilling-container .bestilling-box label,
.form-label {
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 10px;
}

.tasklist-container {
    border-radius: 8px;
    border: 1px dashed #D1D1D1;
    background: #FFF;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    position: relative;
}

.form-input-file {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.tasklist-container h2 {
    color: #0B0B0B;
    font-size: 14px;
    font-weight: 400;
}

.tasklist-container h2 span {
    color: #DE1A1A;
    font-weight: 600;
}

.tasklist-container p {
    color: #6D6D6D;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: normal;
}

.tasklistPdf-container {
    border-radius: 12px;
    border: 1px solid #E7E7E7;
    background: #FFF;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    padding: 16px 30px;
}

.tasklistPdf-container h2 {
    color: #0B0B0B;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    max-width: 350px;
    word-break: break-word;
}

.tasklistPdf-container p {
    color: #6D6D6D;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: normal;
}

.progress {
    border-radius: 100px;
    height: 8px;
    background-color: #FAFAFA;
    width: 100%;
}

.progress-bar {
    background-color: #DE1A1A;
    border-radius: 100px;
}

.tasklistPdf-container h6 {
    color: #6D6D6D;
    text-align: right;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
}

.tasklistPdf-container h5 {
    color: #FF3636;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
}

/* The container */
.container-check {
    display: block;
    position: relative;
    padding-left: 38px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 25px;
}

/* Hide the browser's default checkbox */
.container-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border: 1px solid #D1D1D1;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}



/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-check input:checked~.checkmark:after {
    display: block;
    border-color: #DE1A1A;
}

/* Style the checkmark/indicator */
.container-check .checkmark:after {
    left: 9px;
    top: 5px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.date-picker-box .date-box {
    position: relative;
}

.date-picker-box .date-box .form-control {
    border-radius: 10px !important;
    border: 1px solid #D1D1D1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    box-shadow: none;
    padding-left: 45px;
    max-width: 100%;
    color: #0B0B0B;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0px;
}

.date-picker-box .date-box img {
    position: absolute;
    left: 10px;
    z-index: 99;
    top: 9px;
}

.date-picker-box .date-box h6 {
    color: #0B0B0B;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
}

.form-textarea {
    resize: none;
    border-radius: 10px;
    border: 1px solid #D1D1D1;
    padding: 10px 20px;
    width: 100%;
}

.form-textarea:focus {
    outline: none;
}

.tilleggsinformasjon-container p {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}

.submit-btn {
    border: 0;
    display: block;
    padding: 10px 50px;
    background-color: #de1a1a;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
}

.message-box {
    background-color: #EBF7F8;
    padding: 15px;
    width: fit-content;
    border-bottom: 3px solid #A7C1DC;
    word-break: break-word;
    white-space: normal;
    max-width: 415px;

}

.signature {
    font-size: 14px;
    margin-top: 10px;
}

.response-box-main {
    background-color: #F7F8F8;
    padding: 15px;
    word-break: break-word;
    white-space: normal;
    max-width: 415px;
    margin-left: auto;
}

.single-chat-box {
    margin-bottom: 20px;
}

.icons img {
    width: 24px;
    margin-right: 10px;
}

.response-box p,
.response-box-main p {
    margin: 0;
}

.chat-text {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 17px;
}

.chat-text h2 {
    color: #474747;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.chat-text p {
    color: #474747;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    position: relative;
    padding-left: 25px;

}

.chatbox-height {
    height: 550px;
    /* IMPORTANT: please don't change it if you change it then you need to change in JS - https://prnt.sc/X5LYzpZmfOvl - otherwise functionlity will be stoped*/
    overflow: auto;
    overflow-x: hidden;
}

/* width */
.chatbox-height::-webkit-scrollbar {
    width: 4px;
}

/* Handle */
.chatbox-height::-webkit-scrollbar-thumb,
.chatbox-textarea textarea::-webkit-scrollbar-thumb {
    background: #DE1A1A;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.chat-text p::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #D5D5D5;
    position: absolute;
    left: 0;
    border-radius: 50%;
    top: 11px;
}

.chat-text-right p {
    padding-right: 25px;
    padding-left: 0;
}

.chat-text-right p::after {
    left: unset;
    right: 0;
}

.chatbox-textarea textarea {
    height: 203px;
    resize: none;
    border-radius: 10px;
    background: #FFF;
    padding: 30px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    border: 0;
}

.chatbox-textarea {
    position: relative;
    border-radius: 10px;
    background: #FFF;
}

.chatbox-textarea textarea::placeholder {
    color: rgba(71, 71, 71, 0.60);
}



.chatbox-textarea textarea:focus,
.chatbox-textarea textarea:focus-visible {
    outline: 0;
    border: 0;
}

.file-btn {
    display: block;
    padding: 6px 20px;
    border: 1px solid #de1a1a;
    border-radius: 50px;
    color: #de1a1a;
    font-weight: 500;
    font-size: 18px;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.form-submit-btn {
    display: flex;
    gap: 20px;
    bottom: 18px;
    right: 19px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
}

@media screen and (max-width:400px) {
    .tasklistPdf-container h2 {
        max-width: 130px;
    }

    .chatbox-textarea textarea {
        height: 315px;
    }
}


.table__content.mobile.cases-table-content .hdo-pb-5 {
    padding-bottom: 5px;
}

.table__content.mobile.cases-table-content .hdo-zendesk-mobile-arrow-div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.chat-text-right {
    justify-content: flex-end;
}

.chatbox-main-tr {
    padding: 0;
}

.chatbox-main-tr td {
    background: #f7f7f7;
    padding: 0;
}

.chatbox-main-div {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.deskstop-td {
    background: #ececec;
    padding: 0 !important;
}

.counter-box {
    padding: 4px 9px;
    background: #de1a1a;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: normal;
}

.counter-padding {
    padding-right: 27px !important;
}



.menu__list .sd__li .counter-box {
    transform: translateY(-98%);
}

.counter-active .counter-padding{
    padding-right: 40px !important;
}

.counter-active .counter-box{
    right: 10px;
}



.mobile-list-menu-counter #toggle__dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-list-menu-counter .counter-box {
    position: unset;
    transform: unset;
}

.chat-box-loader {
    width: 100%;
    height: 600px;
}

.no-message-div {
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.no-message-div .no-chat-box-image {
    width: 560px;
    margin-bottom: 15px;
}

.chat-box-profile-photo {
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    height: 45px;
}

.hdo-btn-disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
}

.attachments-div {
    flex-wrap: wrap;
    display: flex;
    gap: 20px;
}

.attachments-box {
    background-color: #e9ebed;
    border: 1px solid #d8dcde;
    width: 100%;
    max-width: 180px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    overflow: hidden;
}

.attachments-box a {
    display: inline-block;
    width: 100%;
}

.attachments-box h4 {
    font-size: 14px;
    margin-bottom: 0;
    padding: 15px;
    font-weight: 500;
}

.attachments-box img {
    width: 100%;
    height: auto;
}

.attachments-image {
    width: 100%;
    height: 115px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-image {
    width: 40px !important;
}

.full_spinner_chat {
    margin-top: 10px;
}

.full_spinner_chat img {
    width: 80px;
    height: auto;
}

.pagecontent-main-container .container.utilizator .cont__sec .inner--section .table__content .dataTables_wrapper table.ordre-table.table-compare tbody tr.child td.child ul li table.table-bordered.none__style {
    border-collapse: separate;
}

.pagecontent-main-container table.dataTable tbody td.child {
    padding: 24px;
}

.pagecontent-main-container table.dataTable tbody td,
.pagecontent-main-container table.dataTable thead th {
    padding: 12px 30px 12px 17px;
}

.chat-box-file-name {
    width: 100%;
    max-width: 170px;
    font-size: 14px;
    text-align: left;
    word-break: break-all;
    white-space: normal;
}

.select2-container-main .select2-container .select2-selection--single {
    height: 45px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 44px !important;
    line-height: 44px;
}

.select2-container-main .select2-selection__arrow {
    display: none;
}

.select2-container-main .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-results__option--selected, .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #de1a1a !important;
    color: #fff !important;
}

.select2-container-main .select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
    background: #DE1A1A;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.select2-results__option {
    border-bottom: 1px solid #c1c1c1 !important;
}

.select2-container--open .select2-dropdown--above, .select2-dropdown {
    border: 1px solid #d1d1d1 !important;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 450px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
}

.input-group.date{
    max-width: 144px;
}

.input-group.date-2{
    max-width: 172px;
}

@media screen and (max-width:768px) {
    .chatbox-main-div {
        padding: 0;
        border-radius: 10px;
    }

    .pagecontent-main-container .container.utilizator .cont__sec .inner--section .table__content.mobile table.mobile.table tbody tr td .inner__table span.dtr-data table.none__style tbody tr {
        padding: 0;
    }

    .chatbox-main-div {
        padding: 20px;
    }

    .counter-active .counter-box {
        background-color: #fff;
        color: #de1a1a;
        border: 1px solid #de1a1a;
        transform: translate(7%, -17%);
    }
}

@media screen and (max-width:576px) {


    .chat-text p {
        font-size: 12px;
        padding-left: 20px;
    }

    .chat-text p::after {
        top: 8px
    }

    .chat-text {
        gap: 0;
        display: block;
        margin-bottom: 0;
    }
}

@media screen and (max-width:375px) {
    .send-message {
        flex-direction: column-reverse;
        align-items: flex-end !important;
    }

    .datepicker-dropdown {
        left: 0 !important;
    }

}

.fail-upload-error {
    color: #e22b2b !important;
}

.trash-icon-div, .cross-icon-div {
    cursor: pointer;
}

.picture-preview {
    width: 48px;
    height: 40px;
    object-fit: cover;
}

.disabled-chk .checkmark {
    background: #D1D1D180;
}

.create_a_case {
    margin-left: 5px;
}

.cases-table-content table .alert {
    font-size: .85rem;
    text-wrap: wrap;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.cases-table-content table .alert.alert-new {
    color: #C0931E;
    background-color: #FFC10747;
}

.alert.alert-pocessing {
    color: #FFFFFF;
    background-color: #383838;
}

.cases-table-content table .alert.alert-waiting-for-response {
    color: #DC3545;
    background-color: #F9DDDF;
}

.alert.alert-open {
    color: #3091EC;
    background-color: #DCECFC;
}

.alert.alert-closed {
    color: #1E1E1E;
    background-color: #E7E7E7;
}

.saker-custom-md {
    width: fit-content;
}

.saker-custom-md .order__view input.mine_btn, .saker-custom-md .order__view {
    height: auto !important;
}

.sakstype-select2 {
    width: 270px;
    margin-top: 15px;
}

.sakstype-form-status {
    border-color: #DE1A1A !important;
    color: #DE1A1A;
    padding: 8px;
}

.delivery-warning {
    color: red;
    margin: 0;
 }
 
/* Change password page CSS - VJ */
 form.primary_form {
      width: 80%;
      margin: 10px auto;

      .form-group {
        margin-bottom: 20px;
        font-size: 1rem;
        position: relative;

        .password--show {
          position: absolute;
          right: 0;
          top: 0;
          transform: translate(-0.5rem, 0.5rem);
          width: 1.5rem;
          text-align: center;
          cursor: pointer;
        }

        .form-control {
          &:focus {
            box-shadow: 0 0 15px rgb(204 204 204 / 59%);
            border-color: #ccc;
          }
        }
      }
      input#remember_me {
        padding: 10px 0;
        margin-top: 15px;
      }
      .error__class__1 {
        font-size: 12px;
        color: $globalcolor;
        margin-bottom: 10px;
      }
      .custom--btn {
        transition: none;
        margin: 10px 0;
        border: 1px solid #de1a1a;
        border: 1px solid $globalcolor;
        border-radius: 50px;
        width: -webkit-fill-available;
        background-color: #de1a1a;
        background-color: $globalcolor;
        letter-spacing: 0;
        font-size: 1rem;
        padding: 10px;

        &:hover {
          transition: 0.3s;
          color: $globalcolor;
          border: 1px solid $globalcolor;
          border-radius: 50px;
          text-shadow: none;
          font-weight: 400;
          background-color: $white;
          letter-spacing: 0;
          font-size: 1rem;
        }
      }

      .custom--btn.bg--dark {
        border-color: #f0eeef;
        background: #f0eeef;
        color: #1e1e1e;
        font-weight: 500;
      }
      .signup__section a {
        font-size: 17px;
        color: $globalcolor;
      }
}