﻿/* Proximity Theme Overrides*/

h3 {
    font-size: 1rem;
}

.text-small {
    font-size: smaller;
}

.crmBG_Cover4 {
    background-image: url(../../App_Theme/assets/img/icons/spot-illustrations/corner-4.png);
    background-position: right;
    background-size: cover;
}

.dropdown-menu {
    color: inherit !important;
}

/* -------- ROOT OVERRIDES --------  */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn {
    border: none !important;
    border-radius: 5px;
}

.form-control {
    background-clip: inherit !important;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input[type=checkbox] {
    margin-right: 5px;
}

.crmMinHeight {
    min-height: 70vh !important;
    max-height: 75vh !important;
    overflow-y: auto;
    overflow-x: hidden;
}

/* -------- THEME OVERRIDES --------  */

#navbarVerticalNav li li {
    margin-left: 10px;
    font-weight: 100;
}

#navbarVerticalNav .navPill {
    background-color: red;
    padding: 1px 9px;
    border-radius: 50%;
    color: white;
}

.crmHeaderSpacer {
    width: 1px;
    height: 10px;
    background-color: black !important;
    margin: 0px 4px 0px 4px;
}

a.flags {
    height: 1rem;
    display: inline-flex;
    font-size: smaller;
    min-width: 20%;
    text-decoration: none;
}

.accordion-button:focus {
    box-shadow: inherit;
}

/* Field BG Colours */
.dot {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    border: solid 1px black;
}

.scrollbar-overlay {
    overflow: auto !important;
}



/* Field BG Colours */
.dot {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    border: solid 1px black;
}

    .crmBG-A input[type="text"], .dot.crmBG-A, .crmBG-A {
        background-color: inherit !important;
        padding: 5px;
    }

        .crmBG-A label {
            color: #2c7be5 !important;
        }

    .crmBG-B input[type="text"], .dot.crmBG-B, .crmBG-B {
        background-color: orange !important;
        padding: 5px;
    }

        .crmBG-B label {
            color: black !important;
        }

    .crmBG-C input[type="text"], .dot.crmBG-C, .crmBG-C {
        background-color: lime !important;
        padding: 5px;
    }

        .crmBG-C label {
            color: black !important;
        }

    .crmBG-D input[type="text"], .dot.crmBG-D, .crmBG-D {
        background-color: red !important;
        color: white !important;
        padding: 5px;
    }

        .crmBG-D label {
            color: black !important;
        }

    .crmBG-E input[type="text"], .dot.crmBG-E, .crmBG_E {
        background-color: lightslategrey !important;
        padding: 5px;
    }

.crmBG-E label {
    color: inherit !important;
}

.phNewCustomField {
    width: 100%;
    padding: 5px;
    background-color: #efefef;
    color: black;
    margin-top: 5px;
    text-align: center;
    border: solid 1px #343434;
    font-size: .9rem;
}

/* Comms History */
.btn-reveal-trigger {
    padding: 5px;
    margin-bottom: 5px;
    /*    position: absolute;
    z-index: 5;*/
}

    .btn-reveal-trigger:hover {
        color: var(--falcon-primary) !important;
    }



/* Buttons */
.btnAddNote {
    color: #2c7be5 !important;
    border: solid 1px #2c7be5 !important;
    border-radius: 100% !important;
    padding-left: 5px;
    width: 26px;
    margin-left: 5px;
    margin-top: 4px;
    float: right !important;
    background-color: transparent !important;
}

    .btnAddNote:hover {
        color: inherit !important;
    }

/* Nav Tabs */
.nav-item.nav-tools {
    flex: auto;
}

    .nav-item.nav-tools .btn-group {
        float: right !important;
    }

.nav-link-tool {
    color: #2c7be5 !important;
    border: solid 2px #2c7be5 !important;
    border-radius: 100% !important;
    padding: 0px;
    width: 42px;
    height: 42px;
    margin: 5px 10px 5px 0px;
}



    .nav-link-tool:hover {
        color: inherit !important;
    }

.nav-link-close {
    color: #ff0000 !important;
    border: solid 1px #ff0000 !important;
    background-color: #ff0000;
    border-radius: 100% !important;
    padding: 5px;
    /*! width: 32px; */
    margin-right: 5px;
}

    .nav-link-close:hover {
        color: inherit !important;
        border: solid 1px inherit !important;
    }

#toolGroup_DesignerEditor {
    position: absolute;
    z-index: 1000;
    border: solid 3px #dfdfdf;
    top: 280px;
    right: -200px;
    padding-bottom: 10px;
    transform: rotate(90deg);
}



    #toolGroup_DesignerEditor button {
        height: 42px;
        margin-left: 10px;
        transform: rotate(-90deg);
    }

        #toolGroup_DesignerEditor button svg {
            display: block;
            margin: 10px 0px 0px 11px
        }

        #toolGroup_DesignerEditor button:nth-last-child(1):after {
            content: 'View';
            line-height: 50px;
            font-size: .7em;
        }

        #toolGroup_DesignerEditor button:nth-last-child(2):after {
            content: 'Edit';
            line-height: 50px;
            font-size: .7em;
        }

        #toolGroup_DesignerEditor button:nth-last-child(3):after {
            content: 'Layout';
            line-height: 50px;
            font-size: .7em;
        }

        #toolGroup_DesignerEditor button:nth-last-child(4):after {
            content: 'Avatar';
            line-height: 50px;
            font-size: .7em;
        }

        #toolGroup_DesignerEditor button:nth-last-child(5):after {
            content: ' SAVE ';
            line-height: 50px;
            font-size: .7em;
        }

#toolGroup_Chat .nav-link-tool,
#toolGroup_Comms .nav-link-tool {
    width: 32px !important;
    height: 32px !important;
}


/* Calendar */

.fc table {
    font-size: .9em !important;
}

.fc .fc-daygrid-event {
    font-size: .8em !important;
}

.calendar-outline {
    border: solid 1px #cdcdcd;
}

.fc-daygrid-day.fc-day-sat,
.fc-daygrid-day.fc-day-sun {
    background-color: rgba(0,0,0,0.05)
}

.datetimepicker {
    font-size: smaller;
}

/* Accordians */
.accordion-body {
    background-color: white;
}


/* Tables - Pagination */
.pagination li {
    width: 30px;
    height: 30px;
    text-align: center;
}

    .pagination li.active {
        width: 30px;
        height: 30px;
        text-align: center;
        font-weight: bolder;
    }

    .pagination li a:hover {
        text-decoration: none;
    }

    .pagination li:hover {
        color: var(--falcon-primary);
        border: solid 1px var(--falcon-primary);
        border-radius: 50%;
        text-decoration: none;
    }

.table-striped td:first-child {
    border-left: solid 2px var(--falcon-body-bg) !important;
}

.table-striped > tbody > tr:hover td:first-child {
    border-left: solid 2px var(--falcon-primary) !important;
}

/* Keban Hovers */
.hover-actions-trigger:hover {
    background-color: rgba(0,0,0,.05);
}

/* Fixes the fixedheight issue on text areas with floating labels */
.form-floating textarea {
    height: inherit !important;
}

/* Layout Zones */
.form-control-labelTitle, .form-control-labelTitleInline {
    padding: 5px 0px;
    color: black;
}

.form-control-labelTitle {
    display: block;
    width: 100%;
    border-bottom: solid 1px #efefef;
}

.form-control-dataEntry {
    display: block;
    /*    padding-bottom: 5px;*/
}

.bg-holder {
    background-position: center;
    background-size: cover;
}

.bg-zoneheader {
    background-color: #3d3d3d;
}

    .bg-zoneheader label.form-check-label {
        color: white;
    }

/* Chat */
.external-message {
    border-right: solid 5px red;
}

.pnlChatListEmpty {
    padding: 20px;
    font-size: smaller;
}

.chatImgTmb {
    max-width: 150px;
    border: solid 1px #efefef;
    margin-top: 10px;
    margin: 0px 5px 0px 5px;
}

.chat-content-header {
    min-height: 75px !important;
}

li a.chatUserSelected {
    background-color: red;
    color: white;
}

/* Comms */
.crmComms_DetailHeader {
    padding-top: 2px;
}

.crmComms_DetailBody {
    margin-top: 20px;
    min-height: 20%;
}

.crmComms_DetailFooter {
    margin-top: 20px;
    font-weight: bold;
}

.btn-reveal-trigger:hover {
    cursor: pointer;
}

/* Email */
.crmEmail_SummaryPanels {
    height: 70vh;
}

@keyframes commsSelectedBorder {
    from {
        border-color: white;
    }

    to {
        border-color: var(--falcon-primary);
    }
}

.btn-reveal-trigger.active {
    /* background-color: #efefef;*/
    border: solid 1px var(--falcon-primary);
    border-radius: 10px;
    animation-name: commsSelectedBorder;
    animation-duration: 2s;
    animation-direction: normal;
}

/* User Profile */
#PHPostBackArea_crmEmailContent {
    background-color: white;
}

.crmProfile_EditableField {
    background-color: white;
    color: black;
}

.pnlProfileButtons {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

/* Settings - Ligatures */
.dark .ligatureHeader {
    background-color: white !important;
}

.ligatureHeader {
    background-color: #efefef;
    padding: 10px 10px 5px 10px;
    margin-bottom: 10px;
}

    .ligatureHeader p {
        font-size: smaller;
    }


    /* GANTT Overrides */
.gantt .bar-label {
    fill: #fff;
    dominant-baseline: central;
    text-anchor: middle;
    font-size: 12px;
    font-weight: lighter;
    color: black !important;
}