
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

:focus {
    outline: 0;
    outline: none;
    /*outline: 0.5px solid #dddddd;*/
}

body {
    /*font-family: 'ProximaNova-Regular';*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text-color);
    --background: #ffffff;
    --text-color: #333333;
    --button-background: #efefef;
    --button-color: #333333;
    --menu-background: #ffffff;
    --menu-color: #333333;
    --topmenu-background: #fafafa;
    --topmenu-color: #333333;
    --border-color: #cccccc;
    --task-item-border-bottom: 0.5px solid #eeeeee;
    --task-item-completed-color: #aaaaaa;
    --note-item-border: 1px solid #eeeeee;
    --note-item-background: #fafafa;
    --note-item-description-color: #333333;
    --note-item-text-color: #444444;
    --filter-day-night: invert(0%);
    --filter-day-night-big-icon: invert(0%) opacity(0.6);
    --link-color: #0366d6;
    --font-size: 16px;
    --day-night-opacity-icon: 0.7;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

    body.dark {
        font-size: 16px;
        line-height: 1.6;
        --background: #333333;
        --text-color: #aaaaaa;
        --button-background: #444444;
        --button-color: #aaaaaa;
        --menu-background: #333333;
        --menu-color: #cccccc;
        --topmenu-background: #333333;
        --topmenu-color: #cccccc;
        --border-color: #444444;
        --task-item-border-bottom: 0.5px solid #444444;
        --task-item-completed-color: #555555;
        --note-item-border: 0.5px solid #444444;
        --note-item-background: #333333;
        --note-item-description-color: #aaaaaa;
        --note-item-text-color: #aaaaaa;
        --filter-day-night: invert(100);
        --filter-day-night-big-icon: invert(50%);
        --link-color: #2b95ff;
        --font-size: 16px;
        --day-night-opacity-icon: 0.5;
    }




div {
    box-sizing: border-box;
}

a, .btn-link {
    color: var(--link-color);
    cursor: pointer;
    text-decoration: none;
}
input {
    background: var(--background);
    color: var(--text-color);
    border: var(--note-item-border);
    outline: none;
    padding: 5px 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Roboto';
    font-size: 14px;
}

textarea {
    background: var(--background);
    color: var(--text-color);
    border: 1px solid #eeeeee;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Roboto';
    padding: 5px 10px;
    line-height: 1.6;
    font-weight: 400;
    font-size: 14px;
}

select {
    border: 1px solid #eeeeee;
    -moz-appearance: none !important;
    background: #ffffff !important;
}

option {
    border: 1px solid #eeeeee;
    -moz-appearance: none !important;
    background: #ffffff;
}

    select:active, select::selection {
        border: 1px solid #eeeeee;
    }

button {
    font-size: var(--font-size);
    font-size: 14px;
    cursor: pointer;
    background: var(--button-background);
    color: var(--button-color);
    padding: 10px;
    border: none;
}

    button.button-done-cancel, button.button-change-parent {
        border: var(--note-item-border);
    }

.inputselect {
    width: 100%;
    min-width: 400px;
    padding: 3px;
    font-family: 'Roboto';
    font-weight: 300;
}

    .inputselect option {
        width: 500px;
        padding: 3px;
        font-family: 'Roboto';
        font-weight: 300;
    }

    


.light-dark-opacity {
    opacity: var(--day-night-opacity-icon);
}


.c0366d6 {
    color: var(--link-color);
}


.filter-day-night {
    filter: var(--filter-day-night);  
}

.filter-day-night-big-icon {
    filter: var(--filter-day-night-big-icon);
}

.text-color {
    color: var(--note-item-text-color);
}


.top-menu-container {
    background: var(--background);
}



#topmenu {
    background: var(--topmenu-background);
    color: var(--topmenu-color);
}

#menu {
    background: var(--menu-background);
    color: var(--menu-color);
}



.edit-item-bottom-border {
    border-bottom: 0.5px solid var(--task-item-border-bottom);
}

.edit-item-hr {
    border-top: 0.5px solid var(--task-item-border-bottom);
}

.task-item {
    border-bottom: var(--task-item-border-bottom);
    border-bottom: none;
}

.task-item-completed {
    color: var(--task-item-completed-color);
}

.picture-item {
    border-bottom: var(--task-item-border-bottom);
}

.note-item {
    border: var(--note-item-border);
    background: var(--note-item-background);
    max-width: 350px;
    min-width: 350px;
    max-height: 196px;
    min-height: 196px;
    overflow: hidden;
    display: flex;
    font-size: 14px;
}

.note-item-description {
    color: var(--note-item-description-color);
    font-family: 'ProximaNova-Bold';
    margin-bottom: 20px;
}

.note-item-text {
    color: var(--note-item-text-color);
    font-size: var(--font-size);
    font-size: 14px;
}



input.input-edit-text[type="date"] {
    /* -webkit-appearance: none;
    -moz-appearance: none;*/
    padding: 0 !important;
}

input.input-edit-text[type="number"] {
    /* -webkit-appearance: none;
    -moz-appearance: none;*/
    padding: 0 !important;
}



.app-container {
   padding: 0;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



.monthes-bar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /*border-top: 0.5px solid var(--border-color);*/
    flex-wrap: wrap;
    
}

/*.monthes-bar::-webkit-scrollbar {
        display: none;
    }*/


.month-bar-item {
    /*width: 16.65%;
    max-width: 16.65%;
    width: 20%;
    max-width: 20%;*/
    display: flex;
    justify-content: start;
    align-items: center;
    height: 30px;
    border: none;
    /*border-right: 0.5px solid var(--border-color) !important;
    border-bottom: 0.5px solid var(--border-color) !important;
    border-top: 0.5px solid var(--border-color) !important;*/
    font-size: 12px;
    color: var(--text-color);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background: var(--background);
    font-size: var(--font-size);
    padding-left:0;
    cursor: pointer;
}

    .month-bar-item:first-child {
        /*border-left: 0.5px solid var(--border-color) !important;*/
    }

.years-bar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /*background: #fcfcfc;*/
}

.year-bar-item {
    /*width: 70px;*/
    display: flex;
    justify-content: start;
    align-items: center;
    height: 30px;
    border: none;
    /*border-top: 0.5px solid var(--border-color) !important;
    border-right: 0.5px solid var(--border-color) !important;*/
    font-size: var(--font-size);
    color: var(--text-color);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background: var(--background);
    padding-left: 0;
    cursor: pointer;
}


    .year-bar-item:first-child {
        /*border-left: 0.5px solid var(--border-color) !important;*/
    }


    /*Swiper slider*/
    .swiper {
        width: 100%;
        height: 100%;
    }


.swiper-slide {
    text-align: center;
    font-size: 18px;
    /*background: #fff;*/
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    /*border-bottom: 1px solid #eeeeee*/
    /*background: #fcfcfc;*/
}

.swiper-scrollbar {
    display: none;
}
/*.swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
}*/


.button-reload {
    padding: 15px 20px;
    font-weight: 300;
    border: 1px solid #eeeeee;
    border-radius: 100px;
    text-decoration: unset;
    color: #333333;
    font-size: 12px;
}

.button-switch-type {
    border: 1px solid #cccccc;
   
}

.grid {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(100px, 150px));
    /*gap: 10px; minmax(50px, 100px)*/
    /*width: 100%;*/
}

.grid-item {
    /*padding: 10px;*/
    padding-bottom:10px;
    /*min-width: 100px;
    max-width: 150px;*/
    /*height: 40px;*/
}


@media screen and (max-width:767px) {
    .note-item {
        border: var(--note-item-border);
        background: var(--note-item-background);
        max-width: 92vw;
        min-width: 92vw;
        max-height: 196px;
        min-height: 100%;
        overflow: hidden;
        display: flex;
        font-size: 14px;
    }

    .inputselect {
        width: 150px;
        min-width: 100px;
        padding: 3px;
        font-family: 'Roboto';
        font-weight: 300;
    }

        .inputselect option {
            width: 150px;
            min-width:100px;
            padding: 3px;
            font-family: 'Roboto';
            font-weight: 300;
        }
}