/**
 *  MyHome Custom Stylesheet
 *  
 *  Update this stylesheet to replace the default
 *  logos, colours, theming etc. for MyHome.
*/


/* Custom fonts */
@font-face {
    font-family: 'New Hero Light';
    src: url('./assets/New Hero Light.otf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'New Hero SemiBold';
    src: url('./assets/New Hero SemiBold.otf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'New Hero Regular';
    src: url('./assets/New Hero Regular.otf');
    font-weight: 400;
    font-style: normal;
}

html body {
    /* Colour Variables (R, G, B) */

    /* Main theme colour for nav bar, icons, action buttons, links, highlights etc. */
    --primary: 73, 169, 66;
    --primary-contrast: 255, 255, 255;

     /* Secondary colour for smaller highlights */
    --accent: 180, 190, 167;
    --accent-contrast: 255, 255, 255;

    /* Colour for basic actions and minor buttons */
    --default: 230, 233, 237;
    --default-contrast: 0, 0, 0;

    /* Colour used for Success Messages, loading bars/spinners, and Approve, Confirm, Save etc. actions */
    --save: 38, 194, 128;
    --save-contrast: 255, 255, 255;

    /* Colour used for Error Messages, and Reject, Delete, etc. actions */
    --delete: 194, 38, 28;
    --delete-contrast: 255, 255, 255;

    --done: 13, 185, 61; /* Highlight colour for completed tasks, icons, etc. */
    --incomplete: 255, 209, 26; /* Highlight colour for incomplete tasks, icons, etc. */

    /* Background/Foreground Colours */
    --ch-bg: 255, 255, 255; /* Lightest background colour, usually white */
    --ch-bg-1: 244, 246, 251;
    --ch-bg-2: 238, 240, 245;
    --ch-bg-3: 227, 230, 236;
    --ch-bg-4: 197, 200, 206; /* Darkest background colour */
    --ch-fg: 0, 0, 0; /* Darkest text colour, usually black */
    --ch-fg-1: 75, 75, 75;
    --ch-fg-2: 120, 130, 140;
    --ch-fg-3: 160, 170, 180; /* Lightest text colour */

    /* Appointment Calender Event Colours*/
    --appointment-confirmed: 10, 90, 159;  
    --appointment-pending: 165, 165, 165;
    --appointment-alternate: 158, 214, 237; /* Alternate Time proposed */
    --appointment-complete: 73, 183, 65; /* Appointment has already occurred */

    /* Font Variables - uncomment to override */
    --font-headers: 'New Hero SemiBold', arial, sans-serif;
    --font-default: 'New Hero Light', arial, sans-serif;

    /* Default Logo & Splash Image - uncomment to use */
    /* --splash-url: url('your splash url here'); */ /* background image on login page */
    --logo-url: url('./assets/New-Living-Homes-G&W-Stacked_No-Tag_SQ.png'); /* logo URL, should blend nicely with white background */

    /* Miscellaneous Variables */
    --border-radius: 4px; /* How rounded buttons, lists, divs etc. should typically be. 0px = hard square */
    --shadow: 1px 1px 10px rgba(0, 0, 0, 0.1); /* Shadow style, you can set this to none for no shadow at all */
}

html.theme-dark body {
    --primary: 73, 169, 66;
    --primary-contrast: 255, 255, 255;

    --accent: 180, 190, 167;
    --accent-contrast: 0, 0, 0;

    --default: 27, 28, 53;
    --default-contrast: 255, 255, 255;

    --save: 70, 165, 100; 
    --save-contrast: 255, 255, 255;
    
    --delete: 195, 78, 70;
    --delete-contrast: 255, 255, 255;

    --done: 69, 187, 104;
    --incomplete: 230, 203, 92;

    --ch-bg: 45, 45, 60;
    --ch-bg-1: 35, 35, 65;
    --ch-bg-2: 25, 25, 55;
    --ch-bg-3: 20, 20, 50;
    --ch-bg-4: 15, 15, 45;
    --ch-fg: 221, 221, 221;
    --ch-fg-1: 201, 201, 201;
    --ch-fg-2: 181, 181, 181;
    --ch-fg-3: 161, 161, 180;

    /* --logo-url: url('your logo url here'); */ /* logo url, should blend nicely on black background */
}

/* Hide the broken House Type dashboard tile and remove its reserved mobile grid row. */
html body.myhome > main > div.dashboard > .dashboard-grid .dashboard-tile.housetype {
    display: none;
}

@media screen and (max-width: 800px) {
    html body.myhome > main > div.dashboard > .dashboard-grid {
        grid: "progress" auto
              "contact" auto
              "photos" auto
              "appointments" auto
              "docs" auto
              "notes" auto / 1fr;
    }
}
