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


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.content {
    padding-top: 1.1rem;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 45%;
    position: absolute;
}
@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* ---- standard Colours ---- */
a, .btn-link {
    color: #0366d6;
}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    margin:26px 0;
}
.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;
    }

/*---- Front Page ----*/
.frontpage-rounded-box {
    padding: 50px 10px 10px 10px; 
    min-height: 450px;
    height: auto;
}
.frontpage-rounded-text-box {
    font-size: 80px; 
    width: 150px; 
    height: 150px;
    border-radius:100px; 
    margin: auto; 
    padding-top: 17px;
}

.custom-switch {
    padding: 10px 0 10px 36px;
}

.bannerTitle span {
    padding-right: 30px;
}

.timeSelectRow {
    margin:10px 0;
    padding: 0;
    width: 100%;
}

.pickupCommentsTxtArea {
    overflow:hidden; 
    resize:none; 
    width:450px;
    margin: 15px;
    height: 180px!important;
}

/* Inputs */
input {
    height: 36px !important;
    padding:6px!important;
}

    /* ---- required input fields ---- */
    .field-width{
        width: 90%;
    }
    .notRequiredField {
        margin-right: 66px;
    }
    .requiredField {
        margin: 0;
        padding:0 20px 0 0;
    }
        .fa-exclamation-circle{
            color:#1b6ec2;
            padding-top: 40px;
            margin: 0;
            display: flex;
        }
    .timeSelectExclamationIcon{
        padding-top: 12px;
    }
    abbr[data-original-title], abbr[title]{
        text-decoration: none;
    }
    
    /* ---- Labels in input ---- */
    .form-group > input{
        height: 36px !important;
        padding:6px!important;
    }
    .measure-label {
        height: 36px!important;
        border-bottom-left-radius: 0!important;
        border-top-left-radius: 0!important;
    }
    
    /* ---- Validation ---- */
    .form-control.is-valid {
        border-color: #28a745!important;
    }
    .valid.modified:not([type=checkbox]){
        outline:1px solid white;        
    }
    .form-control.is-invalid{
        border-color: #ced4da;
        background-image: none;
    }

/*!*--- Menu ---*!*/
    .fa-caret-down {
        float: right;
        padding-right: 8px;
    }

/* ---- Overviews ---- */
.overview-header {
    display:flex;
}
.btn-create{
    margin-left:15px; 
    height: 38px;
    padding:0 50px;
}
.search-field{
    width:350px;
    margin-left: auto;
}
.input-search {
    width:151px; 
    height: 38px!important; 
    margin-top: 26px;
}
.btn-search {
    margin-right:15px;
}
.table td {
    padding: 5px;
    vertical-align: middle;
}
.table td .btn {
    width: 40px;
    height: 30px;
    padding:0;
}
.overview-check {
    width:15px;
    height: 15px;
    position:unset;
    margin-left:15px;
}

/* ---- Card ---- */
.card-size {
    width: 100%;
}
.card-row-spacing {
    margin-bottom: 5px;
}

/* ---- Modal ---- */
.btn-modal {
    margin:0;
}

.display-modal {
    display:block; 
    background-color: rgba(10,10,10,.8);
}
.display-modal-dimension {
    width: 350%; 
    margin-left: -130%; 
    padding: 20px;
}

.display-modal-scroll {
    height: 700px; 
    overflow-y: scroll;
}

/* ---- CreateOrUpdateUser ---- */
.role-container
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.user-card-body
{
    display: grid;
    gap: 1rem;
}

.mud-expand-panel-header{
    background-color: #3A4A65 !important;
    color: #fff;
    border-radius: 3px;
    font-family: 'Work Sans';
}

.mud-expand-panel-content{
    padding: 24px 16px !important;
}

.btn-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.btn {
    text-wrap: nowrap;
}

.btn > span{
    gap: 10px;
}

.btn-container {
    min-height: 100%;
    display: flex;
    align-items: center;
}

.mud-button-icon-start{
    margin: 0 !important;
}

.centered-popover {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* ---- Loading ---- */
.loader-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.loader {
    width: 90px;
    height: 14px;
    box-shadow: 0 3px 0 #fff;
    position: relative;
    clip-path: inset(-40px 0 -5px)
}
.loader:before {
    content: "";
    position: absolute;
    inset: auto calc(50% - 17px) 0;
    height: 50px;
    --g:no-repeat linear-gradient(#3A4A65 0 0);
    background: var(--g),var(--g),var(--g),var(--g);
    background-size: 16px 14px;
    animation:
            l7-1 2s infinite linear,
            l7-2 2s infinite linear;
}
@keyframes l7-1 {
    0%,
    100%  {background-position: 0 -50px,100% -50px}
    17.5% {background-position: 0 100%,100% -50px,0 -50px,100% -50px}
    35%   {background-position: 0 100%,100% 100% ,0 -50px,100% -50px}
    52.5% {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% -50px}
    70%,
    98%  {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% calc(100% - 16px)}
}
@keyframes l7-2 {
    0%,70% {transform:translate(0)}
    100%  {transform:translate(200%)}
}
