﻿/* Style sheet that is used for formating data within the RD Pro system */

.ui-autocomplete {
    background-color: #f0f5f5;
    box-shadow: 7px 12px 10px #404040;
}

/* Some colours that Pro uses */
.proClientHistoryFromText {
    color: #7F7F7F;
    font-weight: bolder;
    font-style: italic;
}

.proClientHistoryToText {
    color: #09098c;
    font-weight: bold;
}

.proDiaryTable {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid;
}

    .proDiaryTable td, .proDiaryTable th {
        border: 1px solid;
        padding-left: 5px;
        padding-right: 5px;
    }

    .proDiaryTable thead td {
        font-weight: bold;
    }

    .proDiaryTable tbody td, .proDiaryTable tbody td div {
        min-height: 60px;
    }

    .proDiaryTable td:nth-last-child(-n+2) {
        background-color: #c0c0c0;
        width: 10%;
    }

    .proDiaryTable td:nth-child(-n+5) {
        width: 16%;
    }

.proDiaryToday {
    background-color: rgb(51, 51, 102, 70%);
    color: #ffffff;
}

.proDiaryNotThisMonth {
    background-color: rgb(192, 192, 192, 35%);
}

.proDiaryEvent {
}

.calcTitleBox {
    background-color: #f5f1f1;
}

.calcMinMaxButton {
    float: right;
    cursor: pointer;
    padding-right: 5px;
    font-size: 13px;
}

.calcAddAlterationItem {
    display: inline-block;
    color: #8ca25a;
    text-align: right;
    padding: 2px 4px 2px 0px;
}

.calcSearchForHeredDialog {
    background-color: #cccccc;
    position: fixed;
    top: 34%;
    left: 40%;
    min-width: 290px;
    min-height: 140px;
    padding: 0px;
    box-shadow: 7px 12px 10px #404040;
    z-index: 1999;
    display: none;
}

.textBoxErrorBorder {
    border: 3px solid #ff0000 !important;
}

.calcDisplayTableCol1 {
    width: 200px;
}

.calcDisplayTableCol2 {
    width: 130px;
}

.calcDisplayTableCol3 {
    width: 100px;
}

/* The Add/Edit Contact Dialog */
#divProClientAddEditContactDialog {
    background-color: #cccccc;
    position: fixed;
    width: 410px;
    padding: 0px;
    left: 360px;
    top: 180px;
    box-shadow: 7px 12px 10px #404040;
    font-size: inherit;
    z-index: 1999;
}

    /* The Add/Edit Contact Dialog items within */
    #divProClientAddEditContactDialog select {
        border-radius: .2rem;
    }

    #divProClientAddEditContactDialog input {
        border-radius: .2rem;
    }

    #divProClientAddEditContactDialog textarea {
        border-radius: .2rem;
    }

    /* The Add/Edit Contact Dialog Title Bar */
    #divProClientAddEditContactDialog #divProClientAddEditContactDialogTitle {
        background-color: #19044A;
        color: #ffffff;
        font-weight: bold;
        text-align: center;
        padding: 4px 0px;
    }

    /* The Add/Edit Contact Dialog Content */
    #divProClientAddEditContactDialog #divProClientAddEditContactDialogContent {
        padding: 10px;
    }

    /* The Add/Edit Contact Dialog Button Area */
    #divProClientAddEditContactDialog #divProClientAddEditContactDialogButtons {
    }

        /* The Add/Edit Contact Dialog Button Area Each Button DIV */
        #divProClientAddEditContactDialog #divProClientAddEditContactDialogButtons div {
            display: inline-block;
            text-align: center;
            width: 48%;
            padding: 8px 0px;
        }

/* The Add/Edit Inspector Dialog */
#divProClientAddEditInspectorDialog {
    background-color: #cccccc;
    position: fixed;
    width: 410px;
    padding: 0px;
    left: 360px;
    top: 180px;
    box-shadow: 7px 12px 10px #404040;
    font-size: inherit;
    z-index: 1999;
}

/* The Add/Edit Inspector Dialog items within */
    #divProClientAddEditInspectorDialog select {
        border-radius: .2rem;
    }

    #divProClientAddEditInspectorDialog input {
        border-radius: .2rem;
    }

    #divProClientAddEditInspectorDialog textarea {
        border-radius: .2rem;
    }

/* The Add/Edit Inspector Dialog Title Bar */
    #divProClientAddEditInspectorDialog #divProClientAddEditInspectorDialogTitle {
        background-color: #19044A;
        color: #ffffff;
        font-weight: bold;
        text-align: center;
        padding: 4px 0px;
    }

/* The Add/Edit Inspector Dialog Content */
    #divProClientAddEditInspectorDialog #divProClientAddEditInspectorDialogContent {
        padding: 10px;
    }

/* The Add/Edit Inspector Dialog Button Area */
    #divProClientAddEditInspectorDialog #divProClientAddEditInspectorDialogButtons {
    }

/* The Add/Edit Inspector Dialog Button Area Each Button DIV */
        #divProClientAddEditInspectorDialog #divProClientAddEditInspectorDialogButtons div {
            display: inline-block;
            text-align: center;
            width: 48%;
            padding: 8px 0px;
        }



/* The Add Hereds Dialog */
#divProClientAddHeredsDialog {
    background-color: #cccccc;
    position: fixed;
    width: 490px;
    padding: 0px;
    left: 360px;
    top: 180px;
    box-shadow: 7px 12px 10px #404040;
    font-size: inherit;
    z-index: 1999;
}

    /* The Add Hereds Dialog items within */
    #divProClientAddHeredsDialog select {
        border-radius: .2rem;
    }

    #divProClientAddHeredsDialog input {
        border-radius: .2rem;
    }

    #divProClientAddHeredsDialog textarea {
        border-radius: .2rem;
    }

    /* The Add Hereds Dialog Title Bar */
    #divProClientAddHeredsDialog #divProClientAddHeredsDialogTitle {
        background-color: #19044A;
        color: #ffffff;
        font-weight: bold;
        text-align: center;
        padding: 4px 0px;
    }

    /* The Add Hereds Dialog Content */
    #divProClientAddHeredsDialog #divProClientAddHeredsDialogContent {
        padding: 10px;
    }

    /* The Add Hereds Dialog Button Area */
    #divProClientAddHeredsDialog #divProClientAddHeredsDialogButtons {
    }

        /* The Add Hereds Dialog Button Area Each Button DIV */
        #divProClientAddHeredsDialog #divProClientAddHeredsDialogButtons div {
            display: inline-block;
            text-align: center;
            width: 48%;
            padding: 8px 0px;
        }


/* The Hered Details Screen */
.proHeredInfoDivContainer {
    min-height: 480px;
}

.proHeredAltBackGroundColour {
    background-color: #f5f1f1;
}

.clientLiabilityBreakdown {
    display: none;
    float: right;
    background-color: #cccccc;
    width: 680px;
    padding: 0px;
    font-size: inherit;
}

.clientLiabilityBreakdownOLD {
    display: none;
    position: absolute;
    background-color: #cccccc;
    width: 680px;
    padding: 5px;
    box-shadow: 7px 12px 10px #404040;
    font-size: inherit;
    z-index: 1999;
}


/* Portfolio Manager light boxes */
.proLightBox {
    background-color: #cccccc;
    position: fixed;
    left: 500px;
    top: 200px;
    width: 800px;
    height: 515px;
    padding: 0px;
    box-shadow: 7px 12px 10px #404040;
    font-size: 14px;
    z-index: 1999;
}

    .proLightBox .proLightBoxTitle {
        background-color: #19044A;
        color: #ffffff;
        font-weight: bold;
        text-align: center;
        padding: 4px 0px;
    }

    .proLightBox .proLightBoxContent {
        padding: 10px;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 440px;
        max-height: 440px;
    }

    .proLightBox .proLightBoxButtons {
    }

        .proLightBox .proLightBoxButtons div {
            display: inline-block;
            width: 48%;
            padding: 8px 8px;
        }

    /* CCA message display */
    .proLightBox .proLightBoxContent #ccaMessageContent {
    }

        .proLightBox .proLightBoxContent #ccaMessageContent #content {
            width: calc(100% - 20px);
            padding: 20px;
        }

        .proLightBox .proLightBoxContent #ccaMessageContent h1 {
            font-size: 2rem;
        }

        .proLightBox .proLightBoxContent #ccaMessageContent h2 {
            font-size: 1.5rem;
        }


/* Detailed Valuation display */
.proTreeView {
}

#divValuationTree table {
    border-bottom: none;
    border-top: none;
    color: black;
}

.divDetailedValCol1 {
    column-width: 150px;
    padding-right: 10px;
}

.divDetailedValCol2 {
    column-width: 200px;
}

.divDetailedValCol3 {
    column-width: 80px;
}

.divDetailedValCol4 {
    column-width: 80px;
}

.surveyHead {
    border-bottom: 1px solid #111;
    padding-top: 2px;
    font-weight: bold;
    border-collapse: collapse;
}

.surveyFoot {
    border-top: 1px solid #111;
    border-bottom: none;
}

.surveyDesc {
    column-width: 100px;
    text-align: left;
}

.surveyDescLong {
    column-width: 320px !important;
    text-align: left;
}

.parkingSpace {
    column-width: 60px;
    text-align: right;
}

.parkingAdoptedAmt {
    column-width: 80px;
    text-align: right;
}

.surveyValue {
    column-width: 80px;
    text-align: right;
}

.surveyDate {
    column-width: 105px;
    text-align: right;
}

.surveyLineNo {
    column-width: 40px;
    text-align: left;
}

.surveyLineId {
    column-width: 100px !important;
    text-align: left;
}

.surveyLineSize {
    column-width: 100px !important;
    text-align: right;
}

.surveyLinePrice {
    column-width: 60px;
    text-align: right;
}

.surveyLineRelativity {
    column-width: 60px;
    text-align: right;
}

.surveyLineAdjustment {
    column-width: 80px;
    text-align: right;
}

.ccaHeading {
    padding-top: 20px;
}

.ccaAddTableRow {
    color: #8ca25a;
    text-align: right;
    padding: 2px 4px 2px 0px;
}

.ccaProposedChange {
    background-color: rgb(232, 240, 254);
}


/* Alert box */
.proAlertBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 7px 12px 10px #404040;
    font-size: 12px;
    z-index: 1999;
}

.proAlertTitle {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
}

.proAlertContent {
    margin-bottom: 20px;
}


/* Allocation Rules Lightbox */
.proRuleBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 650px;
    height: 400px;
    box-shadow: 7px 12px 10px #404040;
    font-size: 12px;
    z-index: 1997;
}

.proRuleBoxContent {
    margin-bottom: 20px;
}


/* Multi column valuation select list */
.multi-col-valhist {
    display: flex;
    justify-content: space-between;
}

.col-valuationId {
    width: 70px !important;
    font-weight: bold;
}

.col-address {
    width: 350px !important;
}

.col-effDate {
    width: 80px !important;
}

.col-rv {
    width: 75px !important;
}

.col-altDate {
    width: 80px !important;
}

/* Multi column UARN select list */
.multi-col-uarnlist {
    display: flex;
    justify-content: space-between;
}

.col-uarn {
    width: 65px !important;
    font-weight: bold;
}

.col-scatDesc {
    width: 200px !important;
}

/* Drag and drop zone */
.pro-dz-cca-zone {
    cursor: pointer;
    padding: 1rem;
    text-align: center;
    position: relative !important;
    background-color: #f8f9fa;
    min-width: 300px;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid #6c757d !important;
    border-radius: 0.25rem;
}

.pro-dz-ten-files {
    height: 290px;
}

.pro-dz-single-file {
    height:110px;
}

.pro-dz-large-prompt {
    color: #6c757d !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

.pro-dz-small-prompt {
    color: #6c757d !important;
    font-size: 80%;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.pro-dz-dragover {
    background-color: #aed884;  
}

.pro-dz-file-list li {
    text-align: left;  
    list-style: none; 
    margin-bottom: 4px;
}

.pro-dz-file-list li::before {
    content: "";
    display: inline-block;
    width: 14px; 
    height: 14px; 
    margin-right: 0.5em;
    vertical-align: -0.15em; 
    background-image: url('../res/images/file-icon14.png');
    background-size: contain;
    background-repeat: no-repeat;
}


/* Check Case Screen */
.proCheckCaseContainer {
    min-height: 480px;
}

.pro-cca-status select {
    width: 130px;
    height: 30px;
    padding: 5px;
    overflow: hidden;
    border: none;
    border-radius: 5px; 
    background-color: #aed884;
    font-weight: 700;
    -moz-appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.pro-cca-status select::-ms-expand {
    display:none;
}

.pro-cca-no-further-action {
    display: inline-block;
    width: 130px;
    height: 30px !important;
    padding: 8px;    
    border: none;
    border-radius: 5px;
    color: #fff !important;
    background-color: #dc3545;
    font-weight: 700;   
}

.date-expired {    
    color: red;
    font-weight: bolder;
}

.date-critical {    
    border: 3px solid darkorange;
}

#progressContainer {
    width: 300px;
    height: 20px;
    border: 1px solid #ccc;
    margin-top: 10px;
    position: relative;
}

#progressBar {
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    text-align: center;
    color: white;
    font-size: 12px;
}

input:disabled {
    background-color: transparent;
    border: none;
    padding: 0;
    outline: none;
    box-shadow: none;
    cursor: default;
    color: inherit; 
    font-family: inherit; 
    font-size: inherit;
}

.pro-remove-btn {
    width: 16px;
    height: 16px;
    background-color: transparent;
    background-image: url('../res/images/trash.png');
    background-size: contain;
    background-position: center;
    border: none;
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: -0.25em; /* Finely tunes the vertical alignment */
    background-repeat: no-repeat;
}

.pro-container input:invalid {
    border: 3px solid #ff0000 !important;
}


