﻿input:-webkit-autofill, textarea:-webkit-autofill
input:-webkit-autofill:hover, textarea:-webkit-autofill:hover
input:-webkit-autofill:focus, textarea:-webkit-autofill:focus
input:-webkit-autofill:active, textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

@media(min-height:500px) {
    .div-center-main {
        position: relative;
        display: block;
    }

    .div-center-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .div-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
    }
}


.form {
    padding: 20px 15px;
    border-radius: 8px;
    /*margin: 20px 0;*/
    position: relative;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);
    background-color: #fff;
}

.or {
    position: relative;
    padding: 5px 50px;
}

    .or hr {
        border-top: 1px solid rgba(0,0,0,.39);
    }

    .or p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: #fff;
        padding: 5px;
        font-weight: 500;
        color: #42484e;
    }

.form-group label.required:after {
    content: "*";
    padding-left: 2px;
    color: red;
    font-weight: 500;
}

.error-message {
    color: red;
}

label {
    margin-bottom: .2rem;
}

input.has-error, select.has-error, textarea.has-error, .select2-container.has-error {
    border-color: #ff8080;
    box-shadow: 0 0 0 0.2rem rgba(255,0,0,.25);
}

    .select2-container.has-error .select2-container--default, .select2-container.has-error .select2-selection--multiple {
        border-color: #ff8080;
    }

    input.has-error + .custom-file-label {
        border-color: #ff8080;
        box-shadow: 0 0 0 0.2rem rgba(255,0,0,.25);
    }

        input.has-error + .custom-file-label::after {
            border-left: inherit;
        }

.form-error {
    display: none;
}

.alert p {
    margin-bottom: 0;
}

.loading {
    height: 100%;
    width: 100%;
    position: fixed;
    display: block;
    background-color: #007bff21;
    z-index: 9999999;
}

    .loading .loading-icon {
        margin: 0 auto;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        padding: 10px;
        background-color: white;
        border-color: #90c6ff;
        border-width: 1px;
        border-style: solid;
        border-radius: 5px;
        box-shadow: 1px 1px 10px 0px #e1f0ff;
        color: #007bff;
        font-weight: 600;
        font-size: 16px;
        user-select: none;
    }

.sidepanel {
    height: 100%;
    width: 260px;
    position: fixed;
    z-index: 1050;
    top: 59px;
    top: 0;
    right: -245px;
    background-color: #ffffff;
    transition: right 0.4s ease-in-out;
    border: 1px solid #e8e8e8;
    box-shadow: 2px 2px 3px 0px #7d7d7d;
}

    .sidepanel.panel-open {
        right: 0;
    }

    .sidepanel .open-btn {
        position: absolute;
        top: 60px;
        top: 118px;
        left: -16px;
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 1.2rem;
        background-color: orangered;
        background-color: #0077d3;
        color: white;
        transition: transform .4s ease-in;
        transition-delay: .2s;
        box-shadow: 0 0 5px 0 #ffffff;
        z-index: 1;
    }

    .sidepanel .filter {
        padding: 1rem;
        background: linear-gradient( 45deg, #0077d3, #187295);
    }

        .sidepanel .filter h6 {
            color: white;
            text-shadow: 1px 1px 2px #000000;
        }

.transactions {
    position: absolute;
    right: 10px;
    bottom: 25px;
}

.sidepanel .notification-list {
    padding: 1rem;
    background: linear-gradient( 45deg, #1153e775, #9ab0e1);
    height: 100%;
}

.transactions a {
    color: black;
    text-decoration: underline;
}
