﻿/*@import '_content/Ditchford.RazorClassLibrary/Ditchford.RazorClassLibrary.bundle.scp.css';*/ /* css isolation in RCL*/
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

:root {
    --df-color-red: #cc0000;
    --df-color-green: #55ac4c;
    --df-color-white: white;
    --df-color-lightgray: rgb(200,200,200); /*#C8C8C8*/
    --df-color-midgray: rgb(160,160,160);
    --df-color-darkgray: rgb(70,70,70);
    --df-theme-color-accent: rgb(70,70,70) /*rgb(115,115,115)*/
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: rgba(0, 0, 0, 0.6);
    font-size:15px;
    font-weight: 500;
}


.main {
    height: calc(100vh - 60px)
}


.df-full-width-hr {
    width: 100vw; /* Set the width to the full viewport width */
    margin: 0; /* Remove any default margins */
    position: relative; /* Ensure it is positioned relative to the viewport */
    left: 50%; /* Align it based on the viewport */
    transform: translateX(-50%); /* Move it left by 50% to center it */
}

.df-navbar {
    background-color: var(--df-theme-color-accent);
    display: flex;
    height: 50px;
    align-items: center; /* Align items vertically */
    padding-left: 20px
}

.df-like-nav-link {
    cursor: pointer;
    color: black !important;
}

    .df-like-nav-link:hover {
        color: var(--df-theme-color-accent) !important;
    }

.df-doc-heading {
    color: var(--df-color-darkgray);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.df-doc-subheading {
    color: var(--df-color-darkgray);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-top: 10px;
}

.df-doc-subheading-2 {
    color: var(--df-color-darkgray);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-top: 5px;
}

.df-doc-text {
    color: var(--df-color-darkgray);
    font-size: 14px;
    font-weight: 400;
}

.df-doc-bullet {
    list-style-type: disc; /* Set bullet style */
    padding-left: 20px; /* Add indentation for bullet points */
}

.df-doc-image-container {
    overflow: auto;
}

.df-menu-container {
    display: flex;
    align-items: center; /* Centers the items vertically */
}

.df-menu-heading-container {
    display: flex;
    flex-direction: column; /* Stacks the heading and subheading vertically */
    justify-content: center; /* Centers them vertically */
    margin-left: 10px; /* Creates space between the button and the text */
}


/* Default style */
.df-grid-height {
    height: calc(100vh - 100px);
}

.df-page-container {
    height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words wrap if necessary */
}

/* For screens smaller than 768px */
@media (max-width: 768px) {
    .df-page-container {
        padding-left: 50px;
        padding-right: 50px;
    }
}
/* For screens smaller than 576px (even smaller devices) */
@media (max-width: 576px) {
    .df-page-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}



/* Override for Safari but this ids edge on ios as well*/
/*@supports (-webkit-touch-callout: none) {
    .df-grid-height {*/
/* Adjust height for Safari or use another unit */
/*height: calc(90vh - 100px);*/ /* You might need to tweak the 90vh value */
/*}
}*/

.df-mobile-header-text {
    font-weight: 500;
    color: var(--df-theme-color-accent);
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.df-edit-form-container {
    padding: 10px;
}

/*Calendar icon content grid header form custom date search...try stop middle align*/
.e-input-group-icon.e-range-icon, *.e-control-wrapper .e-input-group-icon.e-range-icon {
    margin-bottom: -5.5px
}








/*Word Editor title Bar*/
.doc-edit-title {
    margin-bottom: 0px;
}


.e-dropdown-btn {
    font-size: 14px;
    font-weight: 400;
    color: var(--df-color-darkgray);
}

.e-dropdown-popup ul {
    font-size: 14px;
    font-weight: 400;
    color: var(--df-color-darkgray);
}

.df-menu-line-break {
    border-top: solid;
    border-width: 0.5px;
    border-color: var(--df-color-lightgray);
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 5px;
    opacity: 0.6;
    margin-bottom: 5px;
}




.df-ellipses-menu {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 12px;
    color: white;
}

    .df-ellipses-menu:hover {
        cursor: pointer;
    }

.df-menu-span {
    width: 25px;
}

.df-excel::before {
    content: '\e700';
    color: var(--df-color-darkgray);
}



.df-daily::before {
    content: '\e31b';
    color: var(--df-color-darkgray);
}

.df-hourly::before {
    content: '\e31d';
    color: var(--df-color-darkgray);
}

.df-csv::before {
    content: '\e701';
    color: var(--df-color-darkgray);
}

.df-date-time::before {
    content: '\e421';
    color: var(--df-color-darkgray);
}

.df-send::before {
    content: '\e816';
    color: var(--df-color-darkgray);
}

.df-replace::before {
    content: '\e359';
    color: var(--df-color-darkgray);
}

.df-pdf::before {
    content: '\e70d';
    color: var(--df-color-darkgray);
}

.df-reset::before {
    content: '\e340';
    color: var(--df-color-darkgray);
}

.df-reset-white::before {
    content: '\e340';
    color: white;
}

.df-send::before {
    content: '\e816';
    color: var(--df-color-darkgray);
}

.df-doc::before {
    content: '\ec2a';
    color: var(--df-color-darkgray);
}

.df-add::before {
    content: '\e7f9';
    color: var(--df-color-darkgray);
}

.df-save::before {
    content: '\e98e';
    color: var(--df-color-darkgray);
}

.df-saveas::before {
    content: '\e704';
    color: var(--df-color-darkgray);
}

.df-reload::before {
    content: '\e975';
    color: var(--df-color-darkgray);
}

.df-more::before {
    content: '\eb04';
    color: var(--df-color-darkgray);
}

.df-delete::before {
    content: '\e84e';
    color: var(--df-color-darkgray);
}

.df-refresh::before {
    content: '\e606';
    color: var(--df-color-darkgray);
}

.df-clear::before {
    content: '\eb80';
    color: var(--df-color-darkgray);
}

.df-newreport::before {
    content: '\e712';
    color: var(--df-color-darkgray);
}

.df-clone::before {
    content: '\e60d';
    color: var(--df-color-darkgray);
}


.df-view::before {
    content: '\e708';
    color: var(--df-color-darkgray);
}

.df-grid-toolbar-button-active {
    border-top-color: var(--df-theme-color-accent);
    border-top-width: 2px;
    border-top-style: solid;
}

.df-grid-toolbar-button-inactive {
}

.df-docedit-titlebar-btn, .df-docedit-titlebar-btn:hover, .df-docedit-titlebar-btn:focus {
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    border-color: transparent;
    border-radius: 2px;
    color: inherit;
    font-size: 12px;
    text-transform: capitalize;
    height: 28px;
    font-weight: 400;
    margin-top: 2px;
}

.df-docedit-titlebar-paid {
    background-color: var(--df-color-green);
    color: var(--df-color-white);
}

.df-docedit-titlebar-overdue {
    background-color: var(--df-color-red);
    color: var(--df-color-white);
}

.df-docedit-titlebar-due {
    background-color: var(--df-color-midgray);
    color: var(--df-color-white);
}


.df-grid-toolbar-buttons {
    background-color: transparent !important;
    color: var(--df-color-red) !important;
}

.df-audit-record-header {
    border-top-style: solid;
    border-top-color: var(--df-color-lightgray);
    border-top-width: thin;
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--df-color-darkgray);
    font-weight: 500;
}

.df-audit-record-detail {
    font-size: 14px;
    line-height: 1.5;
    color: var(--df-color-darkgray);
    font-weight: 200;
}



.df-audit-record-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--df-color-darkgray);
    font-weight: 200;
}


/*DateRangePicker for grids - start*/
/*.df-custom-drp .e-input-group, .e-input-group.e-control-wrapper {
    margin-bottom: -8px !important;
}*/
.df-custom-drp .e-daterangepicker {
    display: none;
    padding: 0px;
    margin: 0px;
}

.df-custom-drp.e-input-group:not(.e-float-icon-left),
.df-custom-drp.e-input-group.e-control-wrapper:not(.e-float-icon-left),
.df-custom-drp.e-input-group.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error),
.df-custom-drp.e-input-group.e-control-wrapper.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error) {
    border: none;
    border-width: 0;
}

.df-custom-drp.e-input-group:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left),
.df-custom-drp.e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left),
.df-custom-drp.e-input-group.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error),
.df-custom-drp.e-input-group.e-control-wrapper.e-input-focus:not(.e-float-icon-left):not(.e-success):not(.e-warning):not(.e-error) {
    border-color: none;
}

.df-custom-drp.e-input-group:not(.e-float-icon-left):not(.e-float-input)::before,
.df-custom-drp.e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input)::before,
.df-custom-drp.e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input)::after,
.df-custom-drp.e-input-group:not(.e-float-icon-left):not(.e-float-input)::after {
    background: none;
}

/*DateRangePicker form Grids - end*/


/*Fix twitchy toolbar - start*/
.e-toolbar .e-toolbar-items {
    min-height: 45px;
}
/*Fix twitchy toolbar - end*/

a:link {
    color: var(--df-theme-color-accent);
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: var(--df-theme-color-accent);
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: var(--df-theme-color-accent);
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: var(--df-theme-color-accent);
    background-color: transparent;
    text-decoration: underline;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid red;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {

    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
