@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0366d6;
}

p{
    font-weight: bold;
    font-size: 12px;
}

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

.mainButton {
    color: #000000;
    background-color: #FFD541;
    border-color: #FFD541;
    margin-bottom: 10px
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCki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IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }



/*Login page*/

.background {
    width: 430px;
    height: 520px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    z-index: -1;
}

    .background .shape {
        height: 200px;
        width: 200px;
        position: absolute;
        border-radius: 50%;
    }

.shape:first-child {
    background: rgb(255,213,65)80%;
    left: -80px;
    top: -80px;
}

.shape:last-child {
    background: rgba(0, 0, 0, 0.7);
    right: -30px;
    bottom: -80px;
}

.form {
    height: 520px;
    width: 400px;
    background-color: rgba(255,255,255,0.13);
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
    z-index: 1;
}

    .form * {
        font-family: 'Poppins',sans-serif;
        color: black;
        letter-spacing: 0.5px;
        outline: none;
        border: none;
    }

    .form h3 {
        font-size: 25px;
        font-weight: 500;
        line-height: 42px;
        text-align: center;
    }

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

input {
    display: block;
    height: 40px;
    width: 100%;
    background-color: lightgray;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 14px;
    font-weight: 300;
}

::placeholder {
    color: darkgrey;
}

.button-signin {
    margin-top: 30px;
    width: 100%;
    background-color: #FFD541;
    color: #080710;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.forgotPassword {
    border: none;
    background: none;
    text-align: left;
}

    .forgotPassword:hover {
        text-decoration: underline;
    }

.form-img {
    margin-left: 120px;
}

.alert-style {
    color: red;
    margin-top: 5px;
}

/*MainLayout*/

.site-title {
    font-weight: bold;
    font-size: 20px;
    text-align: left;
}

.bi-box-arrow-right {
    width: 25px;
    height: 25px;
    color: black
}

    .bi-box-arrow-right:hover {
        color: black;
        text-decoration: none;
    }

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    transition: margin-left 0.3s ease;
}

    .main .top-row {
        background-color: #FFD541;
        z-index: 1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

.logged-in-user {
    font-weight: bold;
    margin-right: 10px;
    margin-top: 18px;
}

.right-section {
    display: flex;
    flex-direction: row;
    align-items: center;
}



/*Index*/

.row-12 {
    display: flex;
    flex-wrap: wrap;
}

.col-4{
    text-align: left;
    width: 100%;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-bottom: 15px;
}

.dropdown{
    width: 60px;
}

.upload-container {
    color: #0d0f21;
    background-color: #ededed;
    padding: 10px;
    text-align: center;
}

.upload-form {
    width: 90%;
    max-width: 500px;
    margin-left: auto;
    margin-right: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #FFF;
    border-radius: .5rem;
    box-shadow: 0 5px 15px gray;
    padding: 20px;
}

.upload-select {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 700px;
    background-color: #FFF;
    border-radius: .5rem;
    box-shadow: 0 5px 15px gray;
}

.full-width-label {
    width: 100%;
}

.logo-circle {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #FFD541;
}
.logo-circle svg {
    max-width: 1.5rem;
}

.upload-area {
    margin-top: 10px;
    border-top: solid gray 0.1rem;
    background-color: transparent;
    padding: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-area:hover{
    color:#FFD541;
}

.upload-area-icon {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
}

.upload-area-icon svg {
    max-height: 100%;
    max-width: 100%;
    color: #FFD541;
}

.upload-area-title {
    margin-top: 1rem;
    display: block;
    font-weight: 700;
    color: black;
}

.modal-title {
    font-weight: 700;
}

.modal-description {
    color: #6a6b76;
}

.file-upload-button{
    align-items: center;
}

.upload-input {
    background-color: #f6f6f6;
    height: 30px;
    margin-top: 10px;
}

.upload-heading {
    color: black;
}

.upload-files-list {
    color: black;
    list-style-type: none;
    padding: 0;
    margin-top: 3px;
}

    .upload-files-list li {
        margin-bottom: 5px;
    }

.delete-button {
    background-color: transparent;
    color: black;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
}

.btn-primary {
    color: black;
    font-weight: bold;
    background-color: #FFD541;
    border-color: #FFD541;
    padding: 4px;
    border-radius: 5px;
    width: 50%;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    color: white;
}
    .btn-primary:disabled {
        background-color: #cecece;
        border-color: #cecece;
    }

.upload-form-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}

.message-display{
    font-weight: bold;
    color: black;
    background-color: #FFD541;
    font-size: 15px;
    white-space: pre-wrap;
}

/*Loading screen Index page*/
.center {
    height: 50px;
    width: 40px;
    margin-bottom: 50px;
    margin: auto;
}

    .center::after {
        color: #FFD541;
        font-weight: 700;
        position: absolute;
        bottom: -50px;
        left: -10px;
    }

.box {
    position: relative;
    height: 50px;
    width: 40px;
    animation: box 5s infinite linear;
}

.border {
    background: #FFD541;
    position: absolute;
}

    .border.one {
        height: 4px;
        top: 0;
        left: 0;
        animation: border-one 5s infinite linear;
    }

    .border.two {
        top: 0;
        right: 0;
        height: 100%;
        width: 4px;
        animation: border-two 5s infinite linear;
    }

    .border.three {
        bottom: 0;
        right: 0;
        height: 4px;
        width: 100%;
        animation: border-three 5s infinite linear;
    }

    .border.four {
        bottom: 0;
        left: 0;
        height: 100%;
        width: 4px;
        animation: border-four 5s infinite linear;
    }

.line {
    height: 4px;
    background: #FFD541;
    position: absolute;
    width: 0%;
    left: 25%;
}

    .line.one {
        top: 25%;
        width: 0%;
        animation: line-one 5s infinite linear;
    }

    .line.two {
        top: 45%;
        animation: line-two 5s infinite linear;
    }

    .line.three {
        top: 65%;
        animation: line-three 5s infinite linear;
    }

@keyframes border-one {
    0% {
        width: 0;
    }

    10% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes border-two {
    0% {
        height: 0;
    }

    10% {
        height: 0%;
    }

    20% {
        height: 100%;
    }

    100% {
        height: 100%;
    }
}

@keyframes border-three {
    0% {
        width: 0;
    }

    20% {
        width: 0%;
    }

    30% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes border-four {
    0% {
        height: 0;
    }

    30% {
        height: 0%;
    }

    40% {
        height: 100%;
    }

    100% {
        height: 100%;
    }
}

@keyframes line-one {
    0% {
        left: 25%;
        width: 0;
    }

    40% {
        left: 25%;
        width: 0%;
    }

    43% {
        left: 25%;
        width: 50%;
    }

    52% {
        left: 25%;
        width: 50%;
    }

    54% {
        left: 25%;
        width: 0%
    }

    55% {
        right: 25%;
        left: auto;
    }

    63% {
        width: 10%;
        right: 25%;
        left: auto;
    }

    100% {
        width: 10%;
        right: 25%;
        left: auto;
    }
}

@keyframes line-two {
    0% {
        width: 0;
    }

    42% {
        width: 0%;
    }

    45% {
        width: 50%;
    }

    53% {
        width: 50%;
    }

    54% {
        width: 0%
    }

    60% {
        width: 50%
    }

    100% {
        width: 50%;
    }
}

@keyframes line-three {
    0% {
        width: 0;
    }

    45% {
        width: 0%;
    }

    48% {
        width: 50%;
    }

    51% {
        width: 50%;
    }

    52% {
        width: 0%
    }

    100% {
        width: 0%;
    }
}

@keyframes box {
    0% {
        opacity: 1;
        margin-left: 0px;
        height: 50px;
        width: 40px;
    }

    55% {
        margin-left: 0px;
        height: 50px;
        width: 40px;
    }

    60% {
        margin-left: 0px;
        height: 35px;
        width: 50px;
    }

    74% {
        margin-left: 0;
    }

    80% {
        margin-left: -50px;
        opacity: 1;
    }

    90% {
        height: 35px;
        width: 50px;
        margin-left: 50px;
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}