﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

aside {
    max-width: 100%;
}



.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}


body {
    margin: 0 !important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border-color: #dee2e6 !important;
}

a {
    color: #2d98da;
    text-decoration: none !important;
    background-color: transparent;
}

.btn-lg {
    border-radius: 25px !important;
}

.nav-pills .nav-link.active {
    background-color: #2d98da !important;
    border-radius: 25px;
    color: white !important;
}

.btn, .nav-link, h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: Montserrat,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif !important;
}

.mt-6 {
    margin-top: 5rem !important;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

.visible {
    opacity: 1 !important;
    transition: all 0.15s;
}

.modal-header {
    border-bottom: none !important;
}

.modal-footer {
    border-top: none !important;
}

.modal {
    background-color: rgba(0,0,0,0.4);
}

.dropdown-link:hover {
    background-color: rgba(0,0,0,0.3);
    color: #fff !important;
}

.loginbutton {
    border-radius: 25px;
    width: 200px;
}

.logindiv {
    max-width: 30rem;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}


.nav-link {
    color: rgba(0, 0, 0, 0.7) !important;
    margin-left: 0.5rem;
    transition: border-left 0.2s ease-in-out;
}

.active {
    color: rgba(0, 0, 0, 1.0) !important;
    border-left: 0.5rem solid #2d98da !important;
    margin-left: 0rem !important;
}

.navbar-brand {
    border-left: none !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, 1.0) !important;
}

.todo-item-done {
    position: absolute;
    bottom: 5px;
    right: 1rem;
}

.todo-tags-container {
    position: absolute;
    right: 0.5rem;
    top: -13px;
}

.todo-item-header {
    min-height: 55px;
    line-height: 1 !important;
}

.todo-item-description {
    line-height: 1 !important;
}

.todo-item-text {
    max-width: calc(100% - 10px) !important;
    display: inline-block;
}

.switch-todo-item {
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}

.create-todo-item {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
}

    .create-todo-item button {
        box-shadow: 0 4px 8px grey;
        border-radius: 35px;
        height: 50px;
        width: 50px;
        opacity: 0.8;
    }

        .create-todo-item button i {
            margin-top: 3px;
        }

.card {
    box-shadow: 0 0 3px -1px grey;
}

.index-button {
    width: 300px;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
}

.create-todo-item-tag {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: visibility 0s opacity 0.2s ease-in-out left 0.2s ease-in-out;
    z-index: 2;
}

.create-shopping-item {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: visibility 0s opacity 0.2s ease-in-out left 0.2s ease-in-out;
    z-index: 2;
}

.input-form-item {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: visibility 0s opacity 0.2s ease-in-out left 0.2s ease-in-out;
    z-index: 2;
}

.input-form-item-container {
    position: fixed;
    bottom: 0;
    left: -100vw;
    width: 100vw;
    height: auto;
    background-color: white;
    z-index: 99;
    transition: all 0.2s ease-in-out;
}

.v-show {
    opacity: 1 !important;
    visibility: visible !important;
}

.v-hide {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.background-drop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 80;
    background-color: rgba(0,0,0,0.4);
    transition: visibility 0s opacity 0.2s ease-in-out left 0.2s ease-in-out;
}

.create-todo-item-tag-container {
    position: fixed;
    bottom: 0;
    left: -100vw;
    width: 100vw;
    height: 300px;
    background-color: white;
    z-index: 99;
    transition: all 0.2s ease-in-out;
}

.create-shopping-item-container {
    position: fixed;
    bottom: 0;
    left: -100vw;
    width: 100vw;
    height: auto;
    background-color: white;
    z-index: 99;
    transition: all 0.2s ease-in-out;
}

.create-todo-item-container {
    position: fixed;
    bottom: 0;
    left: -100vw;
    width: 100vw;
    max-height: 100vh;
    background-color: white;
    z-index: 99;
    overflow-y: scroll;
    transition: all 0.2s ease-in-out;
}

.show-it {
    left: 0 !important;
}

.create-todo-item-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 70vh;
    width: 100vw;
    z-index: 99;
    background-color: #f8f9fa;
}

.todo-item-detail-buttons {
    display: inline-block;
    float: right;
    margin-top: -20px;
    margin-right: -7px;
}

    .todo-item-detail-buttons > button {
        width: 70px;
    }

.form-group > label {
    font-weight: 500;
}

.loading-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 98;
    transition: all 0.1s ease-in-out;
}

.loading-spinner-div {
    z-index: 99;
}

.loading-spinner-fullscreen {
    position: absolute;
    top: 50%;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-message {
    position: fixed;
    left: calc(50% - 100px);
    bottom: -100px;
    width: 200px;
    box-shadow: 0 0 5px grey;
    border-radius: 2px;
    color: white;
    padding: 10px;
    z-index: 99;
    transition: all 0.2s ease-in-out;
}

.error-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(50,0,0,0.4);
    z-index: 98;
}

.confirmation-message > h5 {
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

.confirmation-ok-signal {
    position: fixed;
    left: calc(50% - 15px);
    bottom: 10px;
    width: 30px;
    height: 30px;
    box-shadow: 0 0 5px grey;
    border-radius: 25px;
    color: white;
    padding-left: 7px;
    padding-top: 5px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease-in-out;
}

.confirmation-ok-signal-show {
    opacity: 1 !important;
    visibility: visible !important;
}

.confirmation-message-show {
    bottom: 10px !important;
}

.todo-createcategory-grid {
    display: grid;
    grid-template-columns: 2rem auto 2rem;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .todo-item-detail-buttons > button {
        width: 85px !important;
    }

    .todo-item-text {
        max-width: calc(100% - 30px) !important;
    }
}

@media (min-width: 992px) {
    .create-todo-item-container {
        bottom: 30%;
        width: 40%;
        margin-left: 30%;
        margin-right: 30%;
        overflow-y: auto;
        border-radius: 15px;
    }

    .create-todo-item-tag-container {
        bottom: 30%;
        width: 40%;
        margin-left: 30%;
        margin-right: 30%;
        overflow-y: auto;
        height: auto;
        border-radius: 15px;
    }

        .create-todo-item-tag-container > .max-height-div {
            height: auto !important;
            overflow-y: auto !important;
            max-height: 40vh !important;
        }

    aside {
        max-width: 300px !important;
    }
}

/* CALENDAR CSS HERE */
.calendar-month-container {
    display: grid;
    grid-template-columns: 2rem repeat(7, 1fr);
    margin-top: 0.5rem;
}

    .calendar-month-container div {
    }

.calender-month-header {
    font-weight: 300;
}

.calendar-day {
    cursor: pointer !important;
    border-top: 1px solid #dee2e6;
}

.weekend-day {
    color: #dc3545;
}

.calendar-day-inner {
    border: 3px solid rgba(0,0,0,0);
    transition: all 0.1s ease-in-out;
    height: 100px;
    padding: 5px;
    overflow: hidden;
}

    .calendar-day-inner:hover {
        border: 3px solid white;
    }

.selected-day {
    border: 3px solid #2d98da !important;
}


.today {
    background-color: #2d98da;
    color: white;
}

    .today .selected-day {
        border: 3px solid black !important;
    }


.disabled-day {
    color: lightgrey;
}

.text-faded {
}

.cursor-pointer {
    cursor: pointer;
}

.calendar-header-row {
    text-align: left;
    padding-left: 0.5rem;
}

.has-events {
    text-decoration: underline;
}

.event {
    width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shadow-hover {
    transition: all 0.1s ease-in-out;
}

    .shadow-hover:hover {
        box-shadow: 0 0 5px -1px black;
    }

.create-float-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
}

    .create-float-button button {
        box-shadow: 0 4px 8px grey;
        border-radius: 35px;
        height: 60px;
        width: 60px;
    }

        .create-float-button button i {
            margin-top: 3px;
        }

.month-navigation {
}

.today-link {
}

@media (max-width: 600px) {

    .calendar-swipe-container {
        --n: 1;
        display: flex;
        align-items: top;
        overflow-y: hidden;
        width: 100%;
        width: calc(var(--n)*100%);
        max-height: 100vh;
        transform: translate(calc(var(--tx, 0px) + var(--i, 0)/var(--n)*-100%));
    }

    .swipe-target {
        width: 100%;
        width: calc(100%/var(--n));
        padding-left: 15px;
        padding-right: 15px;
    }

    .smooth {
        transition: transform calc(var(--f, 1)*.35s) cubic-bezier(1, 1.59, .61, .74)
    }

    .mobile-hidden {
        display: none;
    }

    .calendar-day-inner {
        border: 3px solid rgba(0,0,0,0);
        transition: all 0.1s ease-in-out;
        height: 10vh;
        padding: 5px;
        padding-left: 3px;
        padding-right: 3px;
        text-align: center;
    }

    .calendar-header-row {
        text-align: center;
        padding-left: 0;
    }

    .event-description {
    }

    .event{
        width: auto;
        text-align: left;
        max-width: 9.4vw;
        text-overflow: initial;
    }

    .calendar-month-header {
        font-size: 120%;
        position: relative;
        bottom: -5px;
    }

    .today-link {
        font-size: 50% !important;
        position: relative;
        bottom: 5px;
    }

    .month-navigation {
        position: relative;
        bottom: 13px;
        font-size: 200%;
    }

    .calendar-month-container {
        grid-template-columns: 1.25rem repeat(7, 1fr);
        margin-top: 0;
    }

    .header-text {
        display: none;
    }
}

.categories-result-container {
    position: absolute;
    width: 300px;

}

.bg-color-body {
    background-color: #f8f9fa !important;
}

.custom-collapse{
    max-height: 0px;
    overflow-y: hidden;
}

.custom-show{
    max-height: max-content !important;
}

.voice-command-overlay{
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

.pulse-green {
    background: rgba(51, 217, 178, 1) !important;
    box-shadow: 0 0 0 0 rgba(51, 217, 178, 1) !important;
    animation: pulse-green 1s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
    }
}