﻿body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

#ActionPoint_Header, #ActionPoint_Footer {
    width: 100%;
    box-sizing: border-box;
}

#ActionPoint_Header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 10px;
}

.actionPointBodyContainer {
    /* display: flex;*/
    position: fixed;
    margin-top: 30px;
    left: 0;
    right: 0;
}

#ActionPoint_Footer {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    bottom: 0;
    left: 0;
    padding-right: 12px;
}
/*
#ActionPoint_Footer button {
    padding: 10px;
}
*/
#ActionPoint_Body {
    display: flex;
    /*flex-direction: column;*/
    /*justify-content: space-between;*/
    align-items: start;
    /*padding-bottom: 40px;*/ /* Adjust based on footer height */
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

#ActionPoint_HeaderTitle {
    flex-grow: 1; /* Allow the title to take up the remaining space */
    margin-right: 6px; /* Optional: Add some space between the title and OPP */
}

#ActionPoint_OPP {
    width: 120px;
    display: flex;
    justify-content: space-between; /* Distribute space evenly between items */
    align-items: center; /* Center items vertically */
    height: 32px; /* Set the height of the container */
}

    #ActionPoint_OPP > div {
        width: 32px; /* Set the width of each child div */
        height: 32px; /* Set the height of each child div */
        flex: 0 0 32px; /* Ensure each child div maintains its width */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
    }

    #ActionPoint_OPP .fa-circle-info {
        margin-top: 1px;
    }

    #ActionPoint_OPP .imgWorkflow {
        margin-left: -2px !important;
    }

    #ActionPoint_OPP .circle {
        margin-left: -3px !important;
    }

    #ActionPoint_OPP .fa-lock-keyhole, #ActionPoint_OPP .fa-unlock-keyhole {
        margin-top: 2px;
        margin-left: 2px !important;
    }

#ActionPoint_LeftLabels {
    width: 10%;
    padding: 10px;
    /* position: absolute;
    left: 0;
    top: 0;
    width: 10%;
    display: inline-block;
    vertical-align: top;*/
}

#actionPointTitleContainer, #actionPointDescContainer {
    display: flex;
}

    #actionPointTitleContainer .leftAsterisk, #actionPointDescContainer .leftAsterisk {
        width: 13px;
    }

        #actionPointTitleContainer .leftAsterisk i {
            margin-top: 15px !important;
        }

        #actionPointDescContainer .leftAsterisk i {
            margin-top: 55px !important;
        }

    #actionPointTitleContainer .actionPointTitleTextContainer {
        width: 100%;
        margin-bottom: 5px;
    }

    #actionPointDescContainer .actionPointDescTextContainer {
        width: 100%;
    }


#ActionPoint_Details {
    width: 90%;
}

#ActionPoint_RightOptions {
    top: 0;
    width: 13%;
    padding-right: 0;
    padding-top: 52px;
    display: inline-block;
    vertical-align: top;
    margin-right: -10px;
}

#ActionPoint_Label {
    padding: 0px 0px 10px 10px;
    /* position: relative;
    width: 90%;*/
}

#ActionPoint_Main {
    display: flex;
    flex-direction: row;
    width: 100%;
    /*  position: relative;
    width: 90%;
    height: 100%;
    display: inline-block;
    vertical-align: top;*/
}

#ActionPoint_LabelsAndMain {
    flex: 1;
}


#ActionPoint_Body > div {
    box-sizing: border-box;
}

.padlock, .circle, .info, .flow {
    cursor: pointer;
}

#value-display {
    margin-top: 10px;
}

.dropdown-option {
    display: flex;
    align-items: center;
}

    .dropdown-option svg {
        margin-right: 8px;
    }

.optionButton {
    width: 32px;
    height: 32px;
    margin-top: 0;
    margin-bottom: 4px;
    margin-left: 2px;
    margin-right: 2px;
}

.actionButtonContainer {
    display: flex;
}

.footerButton {
    padding: 0 !important;
}

.actionPoint_textArea {
    width: 100%;
    resize: none;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    height: 40px;
    padding: 8px 12px 8px 12px;
}

    .actionPoint_textArea :focus {
        border: 1px solid #ddd !important;
    }

.labelPanelBtn {
    position: absolute;
    left: -10px;
}

#btnClose {
    /* margin: -6px !important;*/
}

.labelBtn {
    padding: 0 !important;
}

.dateBtn {
    padding-left: 8px !important;
}

.ActionPoint_btn_cls {
    width: 32px;
    /*padding: 4px;*/
    padding-top: 4px;
    padding-left: 7px;
    background-image: -webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);
    background-image: -o-linear-gradient(top,#d9534f 0,#c12e2a 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));
    background-image: linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
    /*filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);*/
    background-repeat: repeat-x;
    border-color: #b92c28;
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
    color: #fff !important;
}

    .ActionPoint_btn_cls:hover,
    .ActionPoint_btn_cls:focus,
    .ActionPoint_btn_cls:active,
    .ActionPoint_btn_cls.active {
        width: 32px;
        /*padding: 4px;*/
        padding-top: 4px;
        padding-left: 7px;
        background-image: -webkit-linear-gradient(top,#c12e2a 0,#c12e2a 100%);
        background-image: -o-linear-gradient(top,#c12e2a 0,#c12e2a 100%);
        background-image: -webkit-gradient(linear,left top,left bottom,from(#c12e2a),to(#c12e2a));
        background-image: linear-gradient(to bottom,#c12e2a 0,#c12e2a 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc12e2a', endColorstr='#ffc12e2a', GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        background-repeat: repeat-x;
        border-color: #b92c28;
        text-shadow: 0 -1px 0 rgba(0,0,0,.2);
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
        color: #fff !important;
    }

    .ActionPoint_btn_cls:disabled {
        width: 32px;
        padding: 4px;
        background-image: -webkit-linear-gradient(top, #d3d3d3 0%, #a9a9a9 100%);
        background-image: -o-linear-gradient(top, #d3d3d3 0%, #a9a9a9 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#d3d3d3), to(#a9a9a9));
        background-image: linear-gradient(to bottom, #d3d3d3 0%, #a9a9a9 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd3d3d3', endColorstr='#ffa9a9a9', GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        background-repeat: repeat-x;
        border-color: #a9a9a9;
        text-shadow: 0 -1px 0 rgba(0,0,0,.2);
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
        color: #fff !important;
    }

.hidden {
    display: none;
}
/*.circle {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6e2e7;
}

.mask, .fill {
    width: 32px;
    height: 32px;
    position: absolute;
    border-radius: 50%;
}

.mask {
    clip: rect(0px, 32px, 32px, 16px);
}

    .mask.full, .fill {
        clip: rect(0px, 16px, 32px, 0px);
    }

.fill {
    background-color: #3498db;
    transform: rotate(0deg);
    transition: transform 1s linear;
}

.mask.half .fill {
    transform: rotate(180deg);
}

.inside-circle {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    top: 4px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}*/
.circle {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: conic-gradient(#3498db 0% 0%, #e6e2e7 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inside-circle {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    user-select: none;
}

.checkbox {
    flex-grow: 0 !important;
    /*width: 30px;*/
    margin-left: 12px;
    margin-top: -8px;
}

.label-text {
    line-height: 28px;
}

#colorpicker {
    margin-left: 10px;
    display: inline-block;
    vertical-align: top;
    height: 40px;
}

.labeltooltip {
    position: absolute;
    background-color: #FFF;
    font-size: 11px;
    color: #333;
    padding: 5px 10px;
    border: 1px solid #333;
    z-index: 1000; /* Ensure it appears above other elements */
    display: none; /* Initially hidden */
    white-space: nowrap; /* Prevent text from wrapping */
}

.custom-htmleditor .dx-toolbar .dx-button {
    font-size: 12px; /* Reduce font size of toolbar buttons */
    padding: 4px 8px; /* Reduce padding of toolbar buttons */
}

.custom-htmleditor .dx-htmleditor-content {
    font-size: 14px; /* Reduce text size in the editor */
}

.custom-htmleditor .dx-dropdowneditor-button {
    font-size: 12px; /* Reduce font size of dropdown items */
    padding: 4px 8px; /* Reduce padding of dropdown items */
}

.dx-htmleditor.dx-htmleditor-outlined.dx-state-active, .dx-htmleditor.dx-htmleditor-outlined.dx-state-focused {
    border-color: #000;
}

.percentage-slider {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

    .percentage-slider .percentage-text {
        display: flex;
        align-items: center;
        margin: 10px 0;
    }

        .percentage-slider .percentage-text .dx-button {
            width: 30px;
            height: 30px;
        }

        .percentage-slider .percentage-text .dx-numberbox {
            flex: 1;
            margin: 0 10px;
        }

    .percentage-slider .buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }

.mandatory {
    color: red;
}

.mandatoryasterisk {
    margin-top: 10px;
}

.errorField {
    border: solid 2px red !important;
}

.right-button {
    float: right;
}

.option-list-item {
    display: flex;
    align-items: center;
}

.option-list-item-start {
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.option-list-item-center {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.option-button {
    flex: 0 0 auto;
    padding-left: 5px;
    padding-right: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

.option-button-new {
    flex-shrink: 0 !important;
    margin-right: 4px !important
}

.option-select {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.option-select-new {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-right: 4px !important;
}

.input-container {
    display: flex;
    align-items: center;
}

.textbox-container {
    display: flex;
    flex-grow: 1;
}

.option_ele {
    flex-grow: 1;
}


.clear-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-button-new {
    flex-shrink: 0 !important;
    visibility: hidden !important;
}

.option_lst_item {
    display: flex;
}

.customElementContainer {
    width: 240px;
}

.listHeaderContainer {
    display: flex;
    justify-content: space-between; /* Pushes the left child left, and the right child right */
    align-items: center; /* Vertically centers the text with the counter */
    width: 100%; /* Ensures flex expands to full width */
}

    .listHeaderContainer .dx-texteditor-input {
        padding: 1px 2px 0px 2px !important;
        min-height: 16px !important;
        text-align: right;
    }

    .listHeaderContainer .txtCounterContainer {
        margin-left: auto;
        margin-right: 5px;
        flex-shrink: 0 !important;
    }

.listHeaderContainer1 .labelContainer {
    float: left;
}

.listHeaderContainer1 .txtCounterContainer {
    float: right;
}

.listHeaderContainer1 .dx-texteditor-input {
    padding: 1px 2px 0px 2px !important;
    min-height: 16px !important;
    text-align: right;
}


.option_gauge {
    height: 10px;
}

.dxg-linear-gauge {
    border: 1px solid lightgray;
    border-radius: 6px;
}


.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#commonPopup2 .dx-popup-content .custom-header {
    overflow-y: auto;
    height: 100%;
}

.custom-buttons {
    display: flex;
    gap: 10px; /* Adjust the gap between buttons if needed */
}

.remove-gap {
    gap: 0px !important;
}

.custom-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Adjust padding if needed */
    border: none;
    background: none;
    cursor: pointer;
}

.custom-option-button-removeFlex {
    display: inline-flex !important;
}

.custom-label {
    width: 100%;
    padding: 5px;
    /*box-sizing: border-box;*/
}

.custom-textbox, .custom-selectbox {
    width: 100%;
    padding: 5px;
    /*box-sizing: border-box;*/
}

.custom-textbox-container {
    display: flex;
    align-items: center;
}

    .custom-textbox-container .custom-textbox {
        flex: 1;
    }

    .custom-textbox-container .custom-button {
        margin-left: 10px;
    }

.list-item {
    display: flex;
    align-items: center;
}

    .list-item .custom-option-button {
        flex-shrink: 0;
    }

    .list-item .item-text {
        flex-grow: 1;
        margin: 0 10px;
    }

    .list-item .dx-list-item-content {
        background-color: #e6e2e7;
        padding: 4px 0 0 0 !important;
        margin-top: 4px !important;
    }

.dashed-line {
    border: 1px dashed #000;
}


@media (max-width: 768px) {
}

/*ActionPoint Dealer Popup*/
#btnClearActionPointDealer {
    height: 34px;
}

#btnGoToActionHubRedirect {
    visibility: hidden;
}

.dx-popup-wrapper .dx-state-focused.dx-overlay-content {
    border: 1px solid #ddd !important;
}

.dx-texteditor.dx-state-active.dx-editor-filled, .dx-texteditor.dx-state-active.dx-editor-outlined, .dx-texteditor.dx-state-active.dx-editor-underlined, .dx-texteditor.dx-state-focused.dx-editor-filled, .dx-texteditor.dx-state-focused.dx-editor-outlined, .dx-texteditor.dx-state-focused.dx-editor-underlined, .dx-texteditor.dx-state-hover {
    border-color: #ddd !important;
}

.dx-toolbar-menu-section.dx-toolbar-menu-last-section {
    height: 310px !important;
}

#ActionPoint_Description .dx-toolbar .dx-toolbar-item {
    padding: 0 2px !important;
}

#ActionPoint_Description .dx-button-has-icon .dx-icon {
    width: 10px !important;
    height: 10px !important;
}

.actionPointBodyContainerCreateAP {
    margin-left: -8px;
    margin-right: -3px;
}

.ActionPoint_DetailsCreateAP {
    width: 91% !important;
}

.ActionPoint_LeftLabelsCreateAP {
    width: 9% !important;
}

.ActionPoint_FooterCreateAP {
    padding-right: 8px !important;
}

.ActionPoint_HeaderCreateAP {
    padding-right: 6px !important;
}

.dx-htmleditor-toolbar .dx-texteditor-input {
    padding: 7px 2px 8px !important;
}

.dx-toolbar .dx-toolbar-before {
    padding-inline-end: 0px !important;
}

.dx-toolbar .dx-toolbar-after {
    padding-inline-start: 0px !important;
}

#actionPointDealerGrid .dx-datagrid-focus-overlay {
    border: none !important;
}

#optionButtonContainer_attachments .fa-paperclip-vertical {
    margin-left: 2px !important;
}

#optionButtonContainer_checklists .fa-clipboard-list-check {
    margin-left: 2px !important;
}
/* Applies a strikethrough to the text of selected list items */
.lst_ele .dx-list-item-selected .dx-list-item-content,
.custom_lst_ele .dx-list-item-selected .dx-list-item-content,
.ap_custom_lst_ele .dx-list-item-selected .dx-list-item-content {
    text-decoration: line-through !important;
}

.strikeThrough {
    text-decoration: line-through !important;
}

.listHeaderContainer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

    .listHeaderContainer .labelContainer {
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal;
        word-wrap: break-word;
        padding-right: 8px;
    }

.dx-list .dx-list-item.dx-state-focused,
.dx-list .dx-list-item.dx-state-active {
    background-color: #fff !important;
    color: #333333 !important;
}

.dx-list .dx-list-item.dx-list-item-selected {
    background-color: #fff !important;
    color: #333333 !important;
}

.dx-list .dx-list-item.dx-state-hover {
    background-color: #fff !important;
}

.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-hover {
    background-color: #fff !important;
}

.dx-list .dx-list-item.dx-list-item-selected.dx-state-hover {
    background-color: #fff !important;
}