﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
a {
    color: #17884d;
}

.nav-link {
    color: #17884d;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.appDashboard {
    font-size: 14px;
}

.yellow_background {
    background-color: #fff37e;
}

.orange_background {
    background-color: #ffbd7e;
}

.content {
    /* padding-top: 1.1rem;*/
    padding-left: 5px;
    padding-right: 5px;
}

.dropdown-menu{

    width: 280px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.h-70 {
    height: 70% !important;
}

.h-60 {
    height: 60% !important;
}

.h-40 {
    height: 40% !important;
}

.h-30 {
    height: 70% !important;
}

.loadingspinner {
    border: 16px solid silver;
    border-top: 16px solid #2f2f2f !important;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1000ms linear infinite;
    top: 40%;
}

.blazored-modal-scrollable {
    height: 700px;
    overflow-y: auto;
}


#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;
    }

.card {
    border-radius: 4px;
    background-color: #fff;
    /*  margin-bottom: 30px;*/
}

#dashboard_screen > .row {
    min-height: 100vh;
}

.flex-fill {
    flex: 1 1 auto;
}

/*.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
}*/

.table-responsive {
    font-size: small;
}

.table td {
    vertical-align: middle !important;
}

.table td, .table th {
    padding: .25rem;
}

.tableFixHead {
    overflow: auto;
    height: 100px;
}

    .tableFixHead thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

.card-header {
    font-weight: bold;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}



.searchInput {
    margin-right: 5px;
}



.success-alert-bottom {
    position: fixed;
    bottom: 5px;
    left: 2%;
    width: 96%;
}

.success-alert-top {
    position: fixed;
    top: 5px;
    left: 2%;
    width: 96%;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.wrapper.loadReveal {
    transition: .5s;
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    transition-delay: 0s;
    opacity: 1;
}

.wrapper {
    z-index: 1;
    position: relative;
    display: block;
    min-height: 100%;
    opacity: 0;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading .bg-image.loadReveal {
        transform: scale(1);
    }

.loading .bg-image {
        /* transition: 20s ease-out;*/
        -webkit-animation: zoom 35s; /* Chrome, Safari, Opera */
        animation: zoom 35s;
        opacity: 1;
        transform: scale(1.5);
        transform-origin: 50% 60%;
        position: absolute;
        height: 100%;
        width: 100%;
        display: block;
        top: 0;
        left: 0;
        background-color: #262729;
        background-size: cover;
        background-position: center;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.showMobile {
    display: block;
}

.showDesktop {
    display: none;
}

.table td, .table th {
    padding: .1rem;
}

@keyframes boldFlash {
    0% {
        font-weight: normal;
        
        background-color: transparent;
    }

    20% {
        font-weight: bold;
       
        background-color: #cce5ff;
    }

    80% {
        font-weight: bold;
        
        background-color: #cce5ff;
    }

    100% {
        font-weight: normal;
        
        background-color: transparent;
    }
}

.bold-flash td {
    animation: boldFlash 3s ease-in-out;
}



#legend {
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 0px solid #000;
    border-radius: 10px;
}

    #legend h3 {
        margin-top: 0;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-weight: bold;
        font-size: 1rem;
    }

    #legend img {
        vertical-align: middle;
    }

.formspacer {
    height: 20px;
}

.dailyReportLabel {
    margin-bottom: 0.1rem;
}

.dashboardBottomRow {
    height: 340px;
}

.monthlyHaulageChart {
    height: 320px;
}
/* .label{
        margin-bottom: 0.1rem;
    }

.form-control {
    margin-bottom: 1.1rem;
}*/
/* Chrome, Safari, Opera */
@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1,1);
    }

    to {
        -webkit-transform: scale(1.5,1.5);
    }
}

/* Standard syntax */
@keyframes zoom {
    from {
        transform: scale(1,1);
    }

    to {
        transform: scale(1.5,1.5);
    }
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.bg {
    /* The image used */
    background-image: url("../images/paradisebeef_background.jpg");
    /* Full height */
    /* width: 100%;
    height: 100%;*/
    width: 100vw;
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;

    /*position: absolute;*/
    /* Center and scale the image nicely */
    /*background-position: center;
    background-repeat: no-repeat;*/
    background-size: cover;
}

.zoomImage {
    -webkit-animation: zoom 50s; /* Chrome, Safari, Opera */
    animation: zoom 50s;
    height: 100%;
    object-fit: cover;
}

.loadingspinner {
    border: 16px solid silver;
    border-top: 16px solid #17884d !important;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1000ms linear infinite;
    top: 40%;
}




.zoomImage {
    -webkit-animation: zoom 50s; /* Chrome, Safari, Opera */
    animation: zoom 50s;
    height: 100%;
    object-fit: cover;
}


@media only screen and (min-device-width: 1400px) {
    .showMobile {
        display: none;
    }

    .blazored-modal-scrollable {
        height: 850px;
        overflow-y: auto;
    }

    .showDesktop {
        display: block;
    }


    .table td, .table th {
        padding: .25rem;
    }

   
}