/*
    WebUI.Slideshow's look for the shared Fault page (Error/Fault.aspx, copied from /Shared).
    This file belongs to the site and is not copied by Tools/Shared/Sync-SharedFiles.ps1.

    Plain CSS only: the Calibri font from Themes/main.css and the default theme's golf course wallpaper
    (Themes/default), with the message on a dark panel so it reads on a screen across the room.
*/
@font-face {
    font-family: Calibri;
    src: local("Calibri"), url("/Themes/fonts/calibri/CALIBRI.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body.fault-page { margin: 0; min-height: 100vh; background: #1c3a1c url(/Themes/default/golfcourse_wallpaper_standard_1920x1080.jpg) no-repeat center center fixed; background-size: cover; color: #ffffff; font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif; font-size: 18px; }

.fault-header { display: none; }

.fault { max-width: 760px; margin: 0 auto; position: relative; top: 15vh; padding: 40px; background: rgba(0, 0, 0, 0.72); border: none; border-radius: 6px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
.fault h1 { font-size: 40px; font-weight: normal; text-transform: uppercase; }
.fault p { line-height: 1.4; }
.fault .reference { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); }
.fault .reference span { color: #cccccc; font-size: 14px; }
.fault .reference code { font-size: 20px; color: #ffffff; }

.fault .fault-button { background: #ffffff; color: #1c3a1c; }
.fault .fault-link { color: #ffffff; }

@media (max-width: 800px) {
    .fault { top: 0; margin: 10px; padding: 20px; }
    .fault h1 { font-size: 26px; }
}
