﻿html {
    font-size: 20px;
    font-family: opensans;
}
#blazor-error-ui {
    position: fixed;
    display: none;
    width: 300px;
    left: 0;
    right: 0;
    top: 15%;
    margin: auto;
}


/*#region rounded div with headline*/
.rounded-border-with-headline {
    margin: 20px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 20px;
    position: relative;
    font-size: .7rem;
}

    .rounded-border-with-headline h3 {
        position: absolute;
        top: -.7rem;
        left: 5%;
        background: #f7f7f7;
        padding: 0 10px;
        font-size: 1rem;
        background: white;
    }

/*#endregion RegionName*/
/*#region form-wrapper*/
.form-wrapper {
    display: flex;
    flex-direction: column;
}

    .form-wrapper > label {
        margin: 10px;
        display: grid;
        grid-template-columns: 3fr 5fr 1fr;
    }

.form-wrapper2 {
    display: flex;
    flex-direction: column;
}

    .form-wrapper2 > label {
        margin: 10px;
        display: flex;
        flex-direction: column;
        font-size:.8rem;
        font-weight:500;
    }

/*#endregion form-wrapper*/
.validation-errors {
    list-style-type: disc;
    margin: 20px;
}
.validation-message {
    color: red;
}
.validField {
    border-color: lawngreen;
}

.invalidField {
    background-color: tomato;
}





.main > div:last-child {
    width: 100%;
    min-height: calc(100vh - var(--footer-height) - var(--navmenu-height) - var(--redstripe-height) - 1px);
}





/*file cabinet folder*/
.foldername {
    color: #787878;
}
.activeLink {
    color: black;
}
.activeLink {
    letter-spacing:1px;
    font-weight:500;
}



.accept-drop {
    outline-color: gray;
    background: #dbdbdb!important;
}


.create-folder > * {
    display: inline;
}



.drag-none {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


a{
    color:inherit;
    text-decoration:inherit;
}
a:hover{
    color:inherit;
}
a:focus{
    background:inherit;
}


.heading {
    font-size: 1.4rem;
    letter-spacing: .1rem;
    text-shadow: 0px 4px 3px #dddd, 0px 8px 13px #dddd, 0px 18px 23px #dddd;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (min-width: 370px) {
    .heading {
        font-size: 1.6rem;
    }
}
@media only screen and (min-width: 440px) {
    .heading {
        letter-spacing: .2rem;
        font-size: 1.8rem;
    }
}
@media only screen and (min-width: 580px) {
    .heading {
        letter-spacing: .3rem;
        font-size: 2rem;
    }
}
@media only screen and (min-width: 800px) {
    .heading {
        margin-left: 60px;
        font-size: 2.2rem;
    }
}
input[type=text], input[type=password], textarea {
    border-radius: 4px;
    border-width: 1px;
}



.filcabmenufol-name:hover {
    color: black;
    text-decoration: underline;
}
.filcabmenufol-name {
    text-overflow: ellipsis;
    color: black;
    text-decoration: none;
    overflow: hidden;
}

.filcabmenufol-name-active {
    color: #ce161e;
    text-shadow: 2px 6px 6px rgb(206 22 30 / 18%);
}


.blink-greenColor {
    animation: blinker-greenColor 3.5s 1;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
}
.blink-redColor {
    animation: blinker-redColor 3.5s 1;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
}
.blink-greenOutline {
    animation: blinker-greenOutline 3.5s 1;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
}
.blink-redOutline {
    animation: blinker-redOutline 3.5s 1;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
}
.blink-green {
    animation: blinker-greenOutline 3.5s 1, blinker-greenColor 3.5s 1;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
}
.blink-red {
    animation: blinker-redOutline 3.5s 1, blinker-redColor 3.5s 1;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
}

@keyframes blinker-greenColor {
    100% {
        color: #02bc02;
    }
}
@keyframes blinker-redColor {
    100% {
        color: red;
    }
}
@keyframes blinker-greenOutline {
    100% {
        outline: #02bc02 solid 2px;
    }
}
@keyframes blinker-redOutline {
    100% {
        outline: red solid 2px;
    }
}


.info {
    background: #d9edf7!important;
    border-color: #bce8f1;
    color: #31708f;
    padding: 8px 12px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 25%);
}
.error {
    color: #ac2925;
    background-color: #f2dede!important;
    border-color: #ebccd1!important;
    padding: 8px 12px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 25%);
}