/*
Theme Name: Alfred
Author: Quackpipe.com
Author URI: http://www.quackpipe.com/
Version: 1.0
*/

/* Universal Styles */

@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Fredericka+the+Great&family=Lexend:wght@100..900&family=Limelight&family=Monoton&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Viaoda+Libre&family=Gravitas+One&family=Protest+Strike&family=Roboto:ital,wght@0,100..900;1,100..900&family=Imbue:opsz,wght@10..100,100..900&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

body {
    margin: 0;
    padding: 2vw;
    width: 100%;
    /*width: 1024px;
    height: auto;*/
    overscroll-behavior-y: none;
    height: 100dvh;
}

.headerFont {
    font-family: var(--header-font);
}

    @media (orientation: landscape) {
        .hide-landscape {
            display: none;
        }
    }

/* Default Colors */

:root {

  /* Core Theme Colors */
  --bs-primary: #252F57;
  --bs-primary-rgb: 37, 47, 87;

  --bs-secondary: #607B7D;
  --bs-secondary-rgb: 96, 123, 125;

  --bs-info: #828E82;
  --bs-info-rgb: 130, 142, 130;

  --bs-dark: #EBDBC2;
  --bs-dark-rgb: 235, 219, 194;

  --bs-light: #FFF9ED;
  --bs-light-rgb: 255, 249, 237;

  /* Body / General */
  --bs-body-bg: var(--bs-light);
  --bs-body-color: #000000;
  --bs-body-color-rgb: var(--bs-primary-rgb);

  /* Links */
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--bs-secondary);

  /* Borders */
  --bs-border-color: rgba(var(--bs-secondary-rgb), .25);

  /* Primary Buttons */
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1d2545;
  --bs-btn-hover-border-color: #1d2545;

  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #171d37;
  --bs-btn-active-border-color: #171d37;

  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);

  /* Secondary Buttons */
  --bs-secondary-color: #fff;
  --bs-secondary-bg: var(--bs-secondary);
  --bs-secondary-border-color: var(--bs-secondary);

  /* Forms */
  --bs-form-control-bg: #fff;
  --bs-form-control-color: var(--bs-primary);
  --bs-form-control-border-color: rgba(var(--bs-secondary-rgb), .45);
  --bs-form-control-focus-border-color: var(--bs-primary);
  --bs-form-control-focus-box-shadow:
    0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);

  /* Cards */
  --bs-card-bg: #fff;
  --bs-card-border-color: rgba(var(--bs-secondary-rgb), .2);
  --bs-card-cap-bg: var(--bs-dark);
  --bs-card-cap-color: var(--bs-primary);

  /* Alerts */
  --bs-info-bg-subtle: #eef1ec;
  --bs-info-border-subtle: var(--bs-info);
  --bs-info-text-emphasis: var(--bs-primary);

  /* Navbar */
  --bs-navbar-color: var(--bs-primary);
  --bs-navbar-hover-color: var(--bs-secondary);
  --bs-navbar-brand-color: var(--bs-primary);
  --bs-navbar-brand-hover-color: var(--bs-secondary);

  /* Dropdowns */
  --bs-dropdown-bg: #fff;
  --bs-dropdown-link-color: var(--bs-primary);
  --bs-dropdown-link-hover-color: #fff;
  --bs-dropdown-link-hover-bg: var(--bs-primary);

  /* Modals */
  --bs-modal-bg: #fff;
  --bs-modal-color: var(--bs-primary);
  --bs-modal-header-border-color: rgba(var(--bs-secondary-rgb), .2);
  --bs-modal-footer-border-color: rgba(var(--bs-secondary-rgb), .2);

  /* Table */
  --bs-table-bg: transparent;
  --bs-table-color: var(--bs-primary);
  --bs-table-striped-bg: rgba(var(--bs-dark-rgb), .35);
  --bs-table-hover-bg: rgba(var(--bs-secondary-rgb), .12);
}

.btn-primary {
  --bs-btn-bg: #252F57;
  --bs-btn-border-color: #252F57;
  --bs-btn-hover-bg: #1d2545;
  --bs-btn-hover-border-color: #1d2545;
  --bs-btn-active-bg: #171d37;
  --bs-btn-active-border-color: #171d37;
}

.btn-secondary {
  --bs-btn-bg: #607B7D;
  --bs-btn-border-color: #607B7D;
  --bs-btn-hover-bg: #4f6768;
  --bs-btn-hover-border-color: #4f6768;
  --bs-btn-active-bg: #435758;
  --bs-btn-active-border-color: #435758;
}

.btn-info {
  --bs-btn-bg: #828E82;
  --bs-btn-border-color: #828E82;
  --bs-btn-hover-bg: #6f7a6f;
  --bs-btn-hover-border-color: #6f7a6f;
  --bs-btn-active-bg: #5f695f;
  --bs-btn-active-border-color: #5f695f;
  color: #ffffff;
}

.btn-dark {
  --bs-btn-color: #252F57;
  --bs-btn-bg: #EBDBC2;
  --bs-btn-border-color: #EBDBC2;
  --bs-btn-hover-color: #252F57;
  --bs-btn-hover-bg: #dfccb0;
  --bs-btn-hover-border-color: #dfccb0;
}

.btn-light {
  --bs-btn-color: #252F57;
  --bs-btn-bg: #FFF9ED;
  --bs-btn-border-color: #FFF9ED;
  --bs-btn-hover-color: #252F57;
  --bs-btn-hover-bg: #f2eadb;
  --bs-btn-hover-border-color: #f2eadb;
}

.table-dark {
    --bs-table-color: #000000;
    --bs-table-bg: var(--bs-dark);
    --bs-table-border-color: var(--bs-border-color);
}

/* Opacity */

.opacity-100 {
    opacity: 1;
}

.opacity-95 {
    opacity: 0.95;
}

.opacity-90 {
    opacity: 0.90;
}

.opacity-85 {
    opacity: 0.85;
}

.opacity-80 {
    opacity: 0.80;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-70 {
    opacity: 0.70;
}

.opacity-65 {
    opacity: 0.65;
}

.opacity-60 {
    opacity: 0.60;
}

.opacity-55 {
    opacity: 0.55;
}

.opacity-50 {
    opacity: 0.50;
}

.opacity-45 {
    opacity: 0.45;
}

.opacity-40 {
    opacity: 0.40;
}

.opacity-35 {
    opacity: 0.35;
}

.opacity-30 {
    opacity: 0.30;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-20 {
    opacity: 0.20;
}

.opacity-15 {
    opacity: 0.15;
}

.opacity-10 {
    opacity: 0.10;
}

.opacity-5 {
    opacity: 0.05;
}

.opacity-0 {
    opacity: 0;
}

.fs-sm {
    font-size: 0.85em;
}

.fs-xs {
    font-size: 0.7em;
}

    @media all and (max-width: 767px) {
        p {
            font-size: 12pt;
            line-height: 1.5;
        }
        .fs-sm {
            font-size: 12pt;
            line-height: 1.5;
        }

        .fs-xs {
            font-size: 9pt;
            line-height: 1.25;
        }
    }

/* Theme Colors */

h4 {
    color: #828E82;
    opacity: 0.5;
}

/* Body Fonts */

.lexend {
    font-family: "Lexend" !important;
}

.roboto {
    font-family: "Roboto" !important;
}

.open-sans {
    font-family: "Open Sans" !important;
}

/* Display Fonts */

.caprasimo {
    font-family: "Caprasimo" !important;
}

.gravitas-one {
    font-family: "Gravitas One" !important;
}

.protest-strike {
    font-family: "Protest Strike" !important;
}

/* UX/UI Styles */

body {
    font-family: var(--body-font, "Lexend"), Roboto, Open Sans, sans-serif;
}

.headerFont {
    font-family: var(--header-font);
}



select, option {
    font-family: "Lexend", Roboto, Open Sans, sans-serif !important;
}

body {
    /*font-family: "Lexend", Roboto, Open Sans, sans-serif;*/
    font-weight: 300;
    background-color: transparent;
    background-color: #000000;
    line-height: 1.5;
    font-size: 3vw;
    line-height: 4.5vw;
}

    @media all and (min-width: 768px) {
        body {
            font-size: 2.5vw;
            line-height: 3.75vw;
        }
    }

    @media (orientation: landscape) {
        body {
            font-size: 2.5vh;
            line-height: 3.75vh;
        }
    }

.noclick {
    pointer-events: none !important;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;

  > .col,
  > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
}

.vertical-align {
	position: absolute;
	height: 100%;
	width: 100%;
	display: table;
}

.vertical-align-center {
	width: 100%;
	height: 100%;
	vertical-align: middle;
	display: table-cell;
}

.vertical-align-bottom {
	width: 100%;
	height: 100%;
	vertical-align: bottom;
	display: table-cell;
}

.vertical-align-top {
	width: 100%;
	height: 100%;
	vertical-align: top;
	display: table-cell;
}

h1 {
    font-size: 2.5em;
    margin: 0;
    padding: 0 0 0.25vw 0;
    line-height: 1.25em
}

h2 {
    font-size: 2em;
    margin: 0;
    padding: 0 0 0.25vw 0;
    line-height: 1.25em
}

h3 {
    font-size: 1.75em;
    margin: 0;
    padding: 0 0 0.25vw 0;
    line-height: 1.25em
}

h4 {
    font-size: 1.5em;
    margin: 0;
    padding: 0 0 0.25vw 0;
    line-height: 1.25em
}

h5 {
    font-size: 1em;
    margin: 0;
    padding: 0 0 0.25vw 0;
    line-height: 1.25em
}

h6 {
    font-size: 1em;
    font-weight: 300;
    margin: 0;
    padding: 0 0 0.25vw 0;
    line-height: 1.25em
}

p {
    padding: 0 0 0.25vw 0;
    padding: 0;
}

ul {

}

ul li {

}

a {
    color: #607B7D !important;
    text-decoration: underline;
}

a:hover {

}

a:focus,
a:active {
    
}

.table.dataTable > :not(caption) > * > * {
    background-color: transparent;
    color: inherit;
    padding: 0.35rem;
}

.dataTable {
    font-size: 1.5vw;
    line-height: 2vw;
}

    @media all and (max-width: 767px) {
        .dataTable {
            font-size: 9pt;
            line-height: 1.35;
        }
    }

    .dataTable .thead {
        background-color: #252F57;
        color: #ffffff;
    }

        .dataTable .thead td {
            padding-left: 0.5rem;
        }

    .dataTable .tsub {
        font-weight: 700;
    }

        .dataTable .tsub td {
            border-bottom: 1px solid #607B7D;
            padding-left: 0.5rem;
        }

/* Fonts */

.widget h4 {
    font-family: "Viaoda Libre", "Antic Didone", sans-serif;
    font-size: 2.5em !important;
}

@font-face {
  font-family: 'Cross Stitch';
  src: url('fonts/GoodbyeCrewelWorldNF.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#cross-stitch {
    background-image: url(images/crosstitch/bg-cross-stitch-blank.jpg);
    width: 62.4vw;
    height: 39vw;
    top: 50%;
    margin-top: -17.7vw;
    left: 50%;
    position: fixed;
    z-index: 1000;
    background-size: cover;
    background-position: center;
    margin-left: -31.1vw;
}

    @media (orientation: landscape) {
        #cross-stitch {
            width: 62.6vh;
            height: 39.1vh;
            left: 50%;
            top: 50%;
            margin-top: -17.6vh;
            margin-left: -31.1vh;
        }
    }

#cross-stitch #myTextarea {
    background-color: transparent;
    border: none;
    text-align: center;
    width: 100%;
    font-family: 'Cross Stitch';
    font-size: 5vw;
    line-height: 6vw;
    overflow-x: hidden;
    height: 19vw;
    align-items: center;
    resize: none;
    field-sizing: content; 
}

    @media (orientation: landscape) {
        #cross-stitch #myTextarea {
            font-size: 3vw;
            line-height: 4vw;
        }
    }

    #cross-stitch #myTextarea:active,
    #cross-stitch #myTextarea:focus,
    #cross-stitch #myTextarea:hover {
        border: none;
        outline: none;
    }

#cross-stitch h1 {
    font-family: 'Cross Stitch';
    font-size: 5vw;
    line-height: 6vw;
    width: 90%;
    margin: 0 auto 0 auto;
}

    @media (orientation: landscape) {
        #cross-stitch h1 {
            font-size: 3.25vw;
            line-height: 4.25vw;
        }
    }

/* AI Weather Briefing */

#aiResponse #weather {
    font-size: 0.8em;
}

#aiResponse #weather .card {
    background-color: var(--bs-dark);
    border: none;
    border-radius: 2.5vw;
}

@media all and (max-width: 600px) {
    #aiResponse #weather p {
        font-size: 1.5em;
        line-height: 1.5em;
    }
}

#aiResponse #weather .card .card-body.text-white,
#aiResponse #weather .table .current-week, {
    text-shadow: 0.05em 0.05em 0.5em rgba(0, 0, 0, 0.5);
}

#aiResponse #weather .currentTemp {
    font-size: 16vw;
    line-height: 0.8;
}

    #aiResponse #weather .currentTemp.small {
        font-size: 1em;
    }

        @media all and (max-width: 600px) {
            #aiResponse #weather .currentTemp.small {
                font-size: 1.3em;
            }
        }

    #aiResponse #weather .currentTemp .degree {
        font-size: 8vw;
        vertical-align: 5.5vw;
    }

#aiResponse #weather .time {
    font-size: 1em;
    white-space: nowrap;
}

    @media (orientation: landscape) {
        #aiResponse #weather .time {
            font-size: 0.8em;
        }
    }

    @media all and (max-width: 600px) {
        #aiResponse #weather .time,
        #aiResponse #weather .weatherLabel {
            font-size: 1.3em;
            font-weight: 500;
        }
    }

    #aiResponse #weather .row.hourly .card-body .row div:first-child p.time:before {
        font-weight: bold;
        width: 25px;
        height: 0.8em;
        display: inline-block;
        content: "";
        fill: #ffffff;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url(icons/sunrise.svg);
        vertical-align: -0.1em;
    }

    #aiResponse #weather .row.hourly .card-body .row div:nth-child(5) p.time:before {
        font-weight: bold;
        width: 25px;
        height: 0.8em;
        display: inline-block;
        content: "";
        fill: #ffffff;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url(icons/sunset.svg);
        vertical-align: -0.1em;
    }

#aiResponse #weather .city {
    font-size: 1.5em;
}

#aiResponse #weather .currentWeather {
    font-size: 1.2em;
}

    @media all and (max-width: 600px) {
        #aiResponse #weather .currentWeather {
            font-size: 1.5em;
        }
    }

    #aiResponse #weather .currentWeather.small {
        font-size: 0.8em;
        line-height: 1.5;
        white-space: nowrap;
    }

        @media all and (max-width: 600px) {
            #aiResponse #weather .currentWeather.small {
                font-size: 1.1em;
            }
        }

#aiResponse #weather .highLow {
    font-size: 1.1em;
}

    @media all and (max-width: 600px) {
        #aiResponse #weather .highLow {
            font-size: 1.5em;
        }
    }

#aiResponse #weather .byline {
    font-size: 0.9em;
}

    @media all and (max-width: 600px) {
        #aiResponse #weather .byline {
            font-size: 1.2em;
        }
    }

#aiResponse #weather .mph {
    font-size: 0.45em;
    margin-left: 5px;
}

#aiResponse #weather .data {
  font-size: 2em;
}

    @media all and (max-width: 600px) {
        #aiResponse #weather .data {
            font-size: 3em;
        }
    }

#aiResponse #weather .daily.icon {
    width: 30px;
    height: 30px;
    margin: 0px auto;
    background-size: contain;
    background-position: center;
}

#aiResponse #weather .hourly.image {
    width: 100%;
    height: 5vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#aiResponse #weather .daily.image {
    width: 100%;
    height: 2.5vw;
    max-height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

#aiResponse #weather .Clear,
#aiResponse #weather .clear,
#aiResponse #weather .Sunny,
#aiResponse #weather .sunny {
    background-image: url(icons/sun.svg);
}

#aiResponse #weather .Cloudy,
#aiResponse #weather .cloudy {
    background-image: url(icons/cloud.svg);
}

#aiResponse #weather .Partly.Cloudy,
#aiResponse #weather .PartlyCloudy,
#aiResponse #weather .partly.cloudy,
#aiResponse #weather .partlycloudy,
#aiResponse #weather .partly-cloudy,
#aiResponse #weather .Partly-cloudy,
#aiResponse #weather .partly-Cloudy,
#aiResponse #weather .Partly-Cloudy {
    background-image: url(icons/cloud-sun.svg);
}

#aiResponse #weather .Foggy,
#aiResponse #weather .foggy {
    background-image: url(icons/cloud-fog.svg);
}

#aiResponse #weather .Rain,
#aiResponse #weather .rain {
    background-image: url(icons/cloud-drizzle.svg);
}

#aiResponse #weather .Snow,
#aiResponse #weather .snow {
    background-image: url(icons/snow.svg);
}

#aiResponse #weather .Storm,
#aiResponse #weather .storm {
    background-image: url(icons/cloud-lighting-rain.svg);
}   

#aiResponse #weather .Sleet,
#aiResponse #weather .sleet {
    background-image: url(icons/cloud-sleet.svg);
}   




#display {
    width: 62vw;
    height: 41vw;
    top: 50%;
    margin-top: -19vw;
    left: 19vw;
    position: fixed;
    z-index: 1000;
    background-size: cover;
    background-position: center;
}

    @media (orientation: landscape) {
        #display {
            width: 63vh;
            height: 40vh;
            left: 50%;
            top: 50%;
            margin-top: -18vh;
            margin-left: -31.5vh;
        }
    }

#display #myTextarea {
    background-color: transparent;
    border: none;
    text-align: center;
    width: 100%;
    font-size: 5vw;
    line-height: 6vw;
    overflow-x: hidden;
    height: 100%;
    align-items: center;
    resize: none;
    field-sizing: content; 
}

    #display #myTextarea:active,
    #display #myTextarea:focus,
    #display #myTextarea:hover {
        border: none;
        outline: none;
    }

#display #myTextarea > div {
    margin-bottom: 2.5vw;
}

#display h1 {
    font-size: 5vw;
    line-height: 6vw;
    width: 90%;
    margin: 0 auto 0 auto;
}

    @media (orientation: landscape) {
        #display h1 {
            font-size: 3.25vw;
            line-height: 4.25vw;
        }
    }

/* App Styles

@import url(css/agenda.css);
@import url(css/art.css);
@import url(css/calendar.css);
@import url(css/clock.css);
@import url(css/fonts.css);
@import url(css/home.css);
@import url(css/swipe.css);
@import url(css/tasks.css); */

/* Layout Styles */

.container {
    position: relative;
    z-index: 1;
    max-width: 100% !important;
}

#spacer {
    height: 12.5vh;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50% auto;
    background-position: center;
    z-index: -1;
    background-image: url(images/bg-default.jpg);
}

    @media (orientation: landscape) {
        #bg {
            background-size: 30% auto;
        }
    }

#clickPanel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    visbility: 1;
    z-index: 100;
}

    #clickPanel.hidden {
        visibility: 0;
        z-index: 0;
    }

    body.settings #clickPanel {
        top: 80vh;
    }

    body.calendar.calendar #clickPanel {
        bottom: 85vh;
    }

#aiResponse .winner {
  background-color: rgba(235, 219, 194,0.5);
  font-weight: 400;
}

#clickPanel-alt {
    position: fixed;
    top: 85vh;
    left: 0;
    right: 0;
    bottom: 0;
    visbility: 1;
    z-index: 100;
    display: none;
}

    #clickPanel-alt.hidden {
        visibility: 0;
        z-index: 0;
    }

    body.calendar.calendar #clickPanel-alt {
        display: block;
    }

#displayBG {
    position: fixed;
    z-index: 1;
    width: 66vw;
    height: 50vw;
    top: 50%;
    left: 50%;
    margin-top: -23vw;
    margin-left: -33vw;
    background-color: #ffffff;
}

    @media (orientation: landscape) {
        #displayBG {
            width: 66vh;
            height: 50vh;
            margin-top: -23vh;
            margin-left: -33vh;
        }
    }

    #displayBG-inner {
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url(images/bg-default.jpg);
        opacity: 0.45;
        background-size: 50% auto;
        background-position: center;
    }

#frame {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    z-index: 1000;
}

    #frame.horizontal {
        width: 90vw; 
        height: 67.5vw;
        top: 50%;
        margin-top: -32vw;
        left: 5vw;
    }

        #frame.horizontal.gold {
            background-image: url(images/frames/frame-horizontal-gold.png);
        }

        #frame.horizontal.silver {
            background-image: url(images/frames/frame-horizontal-silver.png);
        }

        #frame.horizontal.wood {
            background-image: url(images/frames/frame-horizontal-wood.png);
        }

        #frame.horizontal.black {
            background-image: url(images/frames/frame-horizontal-black.png);
        }

        #frame.horizontal.white {
            background-image: url(images/frames/frame-horizontal-white.png);
        }

    @media (orientation: landscape) {
        #frame.horizontal {
            height: 68vh;
            width: 90vh;
            left: 50%;
            margin-top: -32vh;
            margin-left: -45vh;
        }
    }

    /*#frame.vertical {
        width: 90vw;
        height: 120vw;
        top: 50%;
        margin-top: -60vw;
        left: 5vw;
    }

        #frame.vertical.gold {
            background-image: url(images/frames/frame-vertical-gold.png);
        }

        #frame.vertical.silver {
            background-image: url(images/frames/frame-vertical-silver.png);
        }

        #frame.vertical.wood {
            background-image: url(images/frames/frame-vertical-wood.png);
        }

        #frame.vertical.black {
            background-image: url(images/frames/frame-vertical-black.png);
        }

        #frame.vertical.white {
            background-image: url(images/frames/frame-vertical-white.png);
        }*/

#photo-wrapper {
    position: fixed;
    z-index: 1;
}

    #photo-wrapper.horizontal {
        width: 90vw;
        height: 67.5vw;
        top: 50%;
        margin-top: -32vw;
        left: 5vw;
    }

        @media (orientation: landscape) {
            #photo-wrapper.horizontal {
                height: 68vh;
                width: 90vh;
                left: 50%;
                margin-top: -32vh;
                margin-left: -45vh;
            }
        }

    /*#photo-wrapper.vertical {
        width: 90vw;
        height: 120vw;
        top: 50%;
        margin-top: -60vw;
        left: 5vw;
    }*/

    #photo-wrapper.horizontal #photo {
        position: absolute;
        top: 20%;
        left: 15%;
        height: 60%;
        width: 70%;
        background-size: cover;
        background-position: center;
    }

        @media (orientation: landscape) {
            #photo-wrapper.horizontal #photo {
                
            }
        }

    /*#photo-wrapper.vertical #photo {
        position: absolute;
        left: 20%;
        top: 15%;
        width: 60%;
        height: 70%;
        background-size: cover;
        background-position: center;
    }*/

    #photo-wrapper #webcam {
        position: absolute;
        top: 10%;
        left: 5%;
        height: 80%;
        width: 90%;
        background-size: cover;
        background-position: center;
    }

    

    body.webcam.mt-fuji #photo-wrapper #webcam {
        left: 3%;
        width: 85%;
        top: 12%;
    }

    body.webcam.ny-skyline #photo-wrapper #webcam {
        top: 7%;
    }

.nowrap {
    white-space: nowrap;
}

.widget {
    position: fixed;
    opacity: 1;
    transition: opacity 0.4s ease;
}

    .widget.top {
        top: 5vw;
    }

    .widget.right {
        right: 5vw;
    }

    .widget.middle {
        left: 0;
        right: 0;
        text-align: center;
    }

    .widget.bottom {
        bottom: 5vw;
        opacity: 1;
        transition: opacity 0.4s ease;
    }

        .widget.hidden {
            opacity: 0;
            pointer-events: none;
        }

    .widget.left {
        left: 5vw;
    }

    /*@media all and (max-width: 767px) {
        .widget.top {
            top: 10vh;
        }
        .widget.bottom {
            bottom: 7vh;
        }
    }

    @supports (-webkit-touch-callout: none) {
        .widget.top {
            top: 10vh;
        }
        .widget.bottom {
            bottom: 7vh;
        }
    }*/

.form-floating > label {
  padding: 0;
  margin: 0;
  top: -20px;
  font-size: 0.8em;
}

.form-floating > .form-control {
    height: 39px;
    min-height: 0;
}

.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 10px;
}

#pageMenu,
#pageMenuShow {
    position: fixed;
    padding-top: 5vw;
    top: 0;
    left: 2vw;
    width: 96vw;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

    @meia all and (min-width: 768px) {
            body.webcam #pageMenu {
            width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    @media all and (max-width: 600px) {
        #pageMenu,
        #pageMenuShow {
            padding-top: 8.5vh;
        }
    }

    /*@media all and (max-width: 600px) {
        #pageMenu,
        #pageMenuShow {
            padding-top: 5vw;
        }
    }

    @supports (-webkit-touch-callout: none) {
        #pageMenu,
        #pageMenuShow {
            padding-top: 8.5vh;
        }
    }*/

    /*body.webcam #pageMenu {
        left: 5vw;
        width: 90vw;
        padding-top: 3vw;
        padding-bottom: 3vw;
        border-radius: 1.5vw;
    }*/
    #pageMenu {
        opacity: 0;
        pointer-events: none;
    }

    #pageMenuShow {
        opacity: 1;
        pointer-events: none;
    }

    #pageMenu .icons a {
        pointer-events: none;
    }

    #pageMenu .icons.no-icons {
        line-height: 1.5;
    }

    #pageMenu.visible .icons a,
    #pageMenuShow .icons a {
        pointer-events: all;
    }

    #pageMenu.visible {
        opacity: 1;
        pointer-events: all;
        z-index: 1000;
    }

    #pageMenuShow.visible {
        pointer-events: all;
        z-index: 1000;
    }

    #pageMenu .icons > div,
    #pageMenuShow .icons > div {
        text-align: center;
    }

    #pageMenu .icons .block,
    #pageMenuShow .icons .block {
        display: block;
        width: 100%;
    }

    #pageMenu .icons a,
    #pageMenuShow .icons a {
        text-decoration: none;
        font-size: 0.65em;
        display: block;
        width: 100%;
    }

.links-black a {
    color: #000000 !important;
    text-decoration: none !important;
}

    .links-black a:hover {
        text-decoration: underline !important;
    }

body.page .multi-column-text {
    column-gap: 30px;
    column-rule: 1px solid rgba(0,0,0,0.1)
}

    body.page .multi-column-text p {
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
    }

@media all and (max-width: 480px) {
    body.page .multi-column-text {
        column-count: 1;
    }
}

@media all and (min-width: 481px) and (max-width: 767px) {
    body.page .multi-column-text {
        column-count: 2;
    }
}

@media all and (min-width: 768px) {
    body.page .multi-column-text {
        column-count: 3;
    }
}

body.page h1 {
    text-transform: lowercase;
}

body.page h2 {
    font-size: 1.25em;
}

body.page h3 {
    font-size: 1.15em;
}

body.page h4 {
    font-size: 1em;
}

body.page h5 {
    font-size: 1em;
}

body.page h6 {
    font-size: 1em;
}

body.page p {
    font-size: 0.8em;
}

body.page p.fs-sm {
    font-size: 0.7em;
}

body.page p.fs-xs {
    font-size: 0.6em;
}


footer#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

    @media all and (max-width: 600px) {
        footer#footer {
            padding-bottom: 4vh;
        }
    }

    /*@supports (-webkit-touch-callout: none) {
        footer#footer {
            padding-bottom: 4vh;
        }
    }*/

    .menuBG {
        background-color: #EBDBC2;
    }


    .menuBG.first {
        border-top-left-radius: 1.5vw;
        border-bottom-left-radius: 1.5vw;
    }

    .menuBG.last {
        border-top-right-radius: 1.5vw;
        border-bottom-right-radius: 1.5vw;
    }

    footer#footer .icons {
        padding-bottom: 3vw;
    }

    footer#footer .icons a {
        pointer-events: none;
    }

    footer#footer.visible .icons a {
        pointer-events: all;
        transition: pointer-events 2s ease;
    }

    footer#footer.visible {
        opacity: 1;
        pointer-events: auto;
        z-index: 1000;
    }

    footer#footer .icons > div {
        text-align: center;
    }

    footer#footer .icons .block {
        display: block;
        width: 100%;
    }

    footer#footer .icons a {
        text-decoration: none;
        font-size: 0.65em;
    }

    footer#footer ul#menu-alfred {
        display: inline;
    }

.form-control:disabled {
    background-color: rgba(var(--bs-dark-rgb), 1);
}

#hiddenPanel {
    position: fixed;
    z-index: 1000;
    perspective: 1200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in;
    text-align: center;
    background-image: url(images/bg-dark.jpg);
    background-size: 50% auto;
}

#hiddenPanel.show {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s ease-out;
}

    .hiddenPanel-title img {
        height: 4vw;
        width: auto;
        max-height: 30px;
        vertical-align: -0.5vw;
    }

.offcanvas.offcanvas-left {
    --bs-offcanvas-height: 100vh;
    --bs-offcanvas-width: 60vw;
    min-width: 60vw;
    min-height: 100vh;
    left: 0;
}

.offcanvas.offcanvas-bottom {
    --bs-offcanvas-width: 94vw;
    --bs-offcanvas-height: 96vh;
}

    .offcanvas.offcanvas-bottom {
        margin-right: 3vw;
        margin-left: 3vw;
        margin-top: 3vh;
    }

    #hasEvents {
        width: 90%;
    }

    #noEvents {
        width: 95%;
    }

    .aiPoem {
        font-size: 4vw;
        line-height: 5vw;
        font-weight: 400;
    }

    /*.aiJoke {
        background-color: #EBDBC2;
        padding: 5vw;
        border-radius: 2.5vw;
        color: #828E82;
        position: relative;
    }

        .aiJoke::after {
            content: " ";
            display: block;
            width: 0;
            height: 0;
            border-top: 5vw solid #EBDBC2;
            border-right: 5vw solid #EBDBC2;
            border-left: 5vw solid transparent;
            border-bottom: 5vw solid transparent;
            position: absolute;
            bottom: -7.5vw;
            right: 17.5vw;
        }*/

        .aiJoke .joke {
            font-size: 6vw;
            line-height: 7vw;
        }

        .aiJoke .punchline {
            font-size: 5vw;
            line-height: 6vw;
        }

        .jokeDisclaimer {
            position: absolute;
            bottom: 20px;
            font-size: 10pt;
        }

/* THE FLIP OBJECT */
#hiddenPanel .inner {
    width: 100%;
    height: 100%;

    /*background-color: #000;*/

    transform-origin: 50% 50%;
    transform: rotateY(90deg);

    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* OPEN STATE */
#hiddenPanel.show .inner {
    transform: rotateY(0deg);
}

    #hiddenPanel .padding {
        padding: 2.5vw;
        color: #ffffff;
    }

    #hiddenPanel.horizontal {
        width: 63vw;
        height: 40vw;
        top: 50%;
        margin-top: -18vw;
        left: 18.5vw;
    }

        @media (orientation: landscape) {
            #hiddenPanel.horizontal {
                width: 63vh;
                height: 40vh;
                top: 50%;
                margin-top: -18vh;
                left: 50%;
                margin-left: -32vh;
            }
        }

    /*#hiddenPanel.vertical {
        width: 53vw;
        height: 84vw;
        top: 50%;
        margin-top: -42vw;
        left: 23.5vw;
    }*/


/*.form-check.form-switch {
    width: 100%;
    padding-left: 0 !important;
}

.form-check-input {
    width: 10vw !important;
    margin: 0 auto !important;
    float: none !important;
    height: 1.5rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #4caf50;
    border-color: #4caf50;
}*/

/* Apps */

.apps {
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

/*ul.apps li {
	list-style: none;
	display: inline-block;
	margin: 0 3vw 3vw 0px;
	padding: 0 0 0 0;
	height: 10vw;
	width: 10vw;
	text-align: center;
	background-color: #333333;
	font-size: 10pt;
	border-radius: 15px;
	border-radius: 1.5vw;
}

    @media all and (max-width: 767px) {
        ul.apps li {
            margin: 0 2vw 2vw 0px;
            height: 11vw;
            width: 11vw;
	        border-radius: 5px;
	        border-radius: 2vw;
        }
    }

    @media (orientation: landscape) {
        ul.apps li {
            height: 6.5vw;
	        width: 6.5vw;
	        margin: 0 1.5vw 1.5vw 0px;
        }
    }*/

#spiral {position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden;}
#spiral canvas {position: absolute; left: 50%; top: 50%; width: 500px; height: 500px; margin: -250px 0 0 -250px; }

.apps a.icon {
	/*display: block;
	height: 10vw;
	width: 10vw;
	overflow: hidden;
	background-size: cover;
	background-position: center;
    cursor: pointer;*/
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

    .apps a.icon img {
        width: 65%;
        height: auto;
	    border-radius: 1.5vw;
    }

    @media (orientation: landscape) {
        .apps a.icon img {
            border-radius: 0.75vw;
        }
    }

    @media all and (max-width: 767px) {
        .apps a.icon {
	        border-radius: 2vw;
        }
    }

.apps a.icon span {
    display: block;
    font-size: 7pt;
    white-space: nowrap;
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 2vw;
}

    @media all and (max-width: 600px) {
        .apps a.icon span {
	        display: none;
        }
        .apps a.icon img {
            width: 65%;
            margin-bottom: 15px;
        }
    }

    @media (orientation: landscape) {
        .apps a.icon span {
            margin-bottom: 1vw;
        }
    }

.toast.tour > * {
    line-height: 1.75 !important;
  font-size: 1.25em !important;
}

.newspaperFont {
    font-family: Imbue;
    font-style: italic;
    font-weight: 900;
    color: #000;
    opacity: 1;
}

.newspaperFont.headline {
    font-size: 3em;
    text-transform: uppercase;
}

.newspaperFont.subheadline {
    font-size: 2em;
}

    @media all and (max-width: 600px) {
        .newspaperFont.headline {
            font-size: 2.25em;
        }

        .newspaperFont.subheadline {
            font-size: 1.5em;
        }
    }

/*.table.font-monospace .location {
  display: block;
  width: 100%;
  font-size: 0.8em;
}*/

.scores {
  left: 0.5vw;
  position: relative;
}

.lede {
  padding: 2.5vw;
  margin: auto 4vw 2.5vw 2.5vw;
  background-color: rgba(0,0,0,0.05);
}

.lede p {
    font-family: "EB Garamond";
    font-size: 1.15em;
    line-height: 1.35em;
}

.summary p {
  margin: auto 4vw 2.5vw 2.5vw;
}

    @media all and (max-width: 767px) {
        .lede,
        .lede p,
        .summary p {
            font-size: 14pt;
            line-height: 1.5;
        }
    }

/*.apps a.history {
	background-image: url('images/apps/history.jpg');
}

.apps a.briefing {
	background-image: url('images/apps/briefing.jpg');
}

.apps a.news {
	background-image: url('images/apps/news.jpg');
}

.apps a.calendar {
	background-image: url('images/apps/calendar.jpg');
}

.apps a.weather {
	background-image: url('images/apps/weather.jpg');
}

.apps a.sports {
	background-image: url('images/apps/sports.jpg');
}*/

/*ul.apps li a.kutx {
	background-image: url('images/logos/kutx.png');
}

ul.apps li a.wxpn {
	background-image: url('images/logos/wxpn.png');
}

ul.apps li a.msnow {
	background-image: url('images/logos/msnow.png');
}

ul.apps li a.fireplace {
	background-image: url('images/logos/fireplace.png');
}

ul.apps li a.music {
	background-image: url('images/logos/music.png');
}

ul.apps li a.tv {
	background-image: url('images/logos/tv.png');
}

ul.apps li a.briefing {
	background-image: url('images/logos/brief.jpg');
	border: 1px solid #333333;
}

ul.apps li a.nintendo {
	background-image: url('images/logos/nintendo.jpg');
}

ul.apps li a.webcam {
	background-image: url('images/logos/webcam.jpg');
}

ul.apps li a.waldo {
	background-image: url('images/logos/waldo.png');
}

ul.apps li a.spotify {
	background-image: url('images/logos/spotify.png');
	border: 1px solid #333333;
}*/