﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
}

tbody > tr > td > div {
    justify-content: center !important;
    display: flex;
}

a, .btn-link {
    color: #00B3AA;
}

.control-label {
    margin-top: 6px;
    text-align: right;
}

.oi {
    line-height: inherit !important;
}

.table-bordered thead th {
    border-bottom-width: 1px;
    /*    min-width: 200px;*/
}

.table td {
    vertical-align: middle;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

::-webkit-input-placeholder {
    text-align: center;
}

.main {
    flex: 1;
}


    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/*.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}*/
.sidebar {
    background: #00B3AA !important;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #eee;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            font-weight: 800;
        }

            .sidebar .nav-item a.active {
                /* background-color: rgba(255,255,255,0.25);
                color: white;*/
                background-color: #ddd;
                color: #00B3AA;
            }

            .sidebar .nav-item a:hover {
                /* background-color: rgba(255,255,255,0.1);
                color: white;*/
                background-color: #ddd;
                color: #00B3AA;
            }

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}


.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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        /*  padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/*custom css */
.heading {
    text-align: center;
    background: #00B3AA;
    padding: 14px 0px;
}

    .heading h3 {
        text-shadow: 0px 0px 10px #00000030;
        text-align: center;
        background: #00B3AA;
        font-weight: 500;
        color: #fff !important;
        text-align: center;
    }

.main .top-row {
    background-color: #ddd;
    border-bottom: 3px solid #00B3AA;
    padding: 20px;
}

.ReceivingBtns a {
    text-align: center;
    margin: 10px;
    background: #ddd;
    padding: 40px 100px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 20px;
}

    .ReceivingBtns a:hover {
        text-decoration: none;
        background: #00B3AA;
        color: #fff;
    }

.MainRow {
    text-align: center;
}

    .MainRow .col-md-6 {
        margin-top: 10%;
    }

@media (min-width: 280px) and (max-width: 480px) {

    .ReceivingBtns {
        margin: 10px 2px;
    }

        .ReceivingBtns a {
            padding: 20px 60px;
        }
}

@media (min-width: 481px) and (max-width: 768px) {

    .ReceivingBtns {
        margin: 5px 1px;
    }

        .ReceivingBtns a {
            padding: 25px 50px;
        }
}

.MainContent {
    padding: 10px 20px;
    background: #eee;
    border-radius: 1px;
    margin-left: -15px;
    margin-right: -15px;
    /*height: 100vh;*/
}

.main-form {
    padding: 20px;
    background: #f7f7f7;
    font-weight: 700;
    text-align: center;
}

.main-form > h4 {
    text-align: center;
}

table {
    text-align: left;
}

.main-btn {
    border: 1px solid #fff;
    border-radius: 5px;
    font-weight: 600;
    background: #00B3AA;
    color: #fff;
    padding: 5px 10px;
}
    .col-lg-4 .main-btn, col-1 .main-btn, .col-lg-2 .main-btn {
        border: 1px solid #fff;
        border-radius: 5px;
        font-weight: 600;
        background: #00B3AA;
        color: #fff;
        padding: 5px 10px;
        margin-right: 10px;
    }

.mb-2 .main-btn {
    margin-right: 15px;
}

.main-btn:hover, .main-btn:active, .main-btn:focus {
    background: #fff;
    color: #00B3AA;
    border: 1px solid #00B3AA;
}

table.additem {
    width: 100%;
}

.add-item input {
}

p.summary {
    color: #00B3AA;
}
/*table tr th.resized{
    width: 100px;
}
table tr td.resized {
    width: 50px;
}*/
#sig-canvas {
    border: 2px dotted #CCCCCC;
    border-radius: 15px;
    cursor: crosshair;
}

.item-wrapper {
    background: #fff;
    padding: 5px;
    border: 3px solid #00B3AA;
    /*min-height: 220px;*/
    margin: 10px 5px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}

    .item-wrapper:hover {
        border: 3px solid #212529;
    }

.item-icon {
    background: #00B3AA;
    /* margin: 10% 28%; */
    /*    padding: 30px;
    padding-top: 20px;
    padding-bottom: 20px;*/
    padding: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    /*max-width: 100px;*/
    /*float: none;*/
    margin: 0 auto;
    display: table;
}

.home-icon {
    /*font-size: 50px;*/
    font-size: 20px;
    color: #fff;
}

.item-title {
    font-size: 1.375em;
    font-family: 'Poppins';
    color: #3D3D3D !important;
    letter-spacing: 0;
    font-weight: 600;
    margin-top: 0.2em;
    text-rendering: optimizeSpeed;
    line-height: 1;
}

.item-text {
    padding-top: 1.25em;
    padding-bottom: 0px;
}

.item-content {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.item-button {
    background-color: #00B3AA;
    color: white;
    border-radius: 5px;
    padding: 12px 23px;
    font-size: 0.75em;
    font-weight: 500;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
    position: relative;
    line-height: 100%;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 450ms;
}

    .item-button:hover {
        background-color: #3D3D3D;
        color: #fff;
        text-decoration: none;
    }

.resized input {
    width: 60px;
}

    .resized input:focus {
        /*border: 2px solid #00B3AA !important;*/
        outline: none;
    }
/*td.descr {
    min-width: 900px;
}*/
th, tr, td {
    border: 1px solid #00b3aa8c !important;
}

.table-center {
    text-align: center
}

.sidebar {
    display: none !important;
}

.col-md-6 .col-md-6 {
    background: #fff;
}

input[type=checkbox] {
    transform: scale(1.5);
}

.file-input-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    /*    background-color: blue;*/
    /*  color: white;*/
    cursor: pointer;
    position: relative;
    /* width: 120px;
    height: 30px;*/
}

    /* .file-input-zone:hover {
        background-color: lightblue;
    }*/

    .file-input-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }
/*#signature-pad {
    max-width: 100% !important;
}*/
.nextJob, .addstaff {
    width: 150px;
    border: 1px solid #ced4da;
    border-radius: 1px;
    font-weight: 800;
    background: #00B3AA;
    font-size: 18px;
    line-height: 1.9;
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}
/*
sticky header
*/
.main .top-row {
    position: sticky;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 10;
}

@media (min-width: 576px) {
    .position-topright {
        top: 4.5rem;
        right: 1rem;
    }
}

.top-row a:hover {
    color: #00B3AA;
}

.form-check-input:disabled ~ .form-check-label {
    margin-left: 10px;
}

.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    height: 100vh;
    font-family: "Segoe UI",Roboto,"Helvetica Neue","-apple-system",BlinkMacSystemFont,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

    .splash-screen .spinner-border {
        border: .2em solid;
        border-color: #00B3AA #bfbfbf #bfbfbf;
        border-radius: 60px;
        width: 120px;
        height: 120px;
    }

.splash-screen-caption {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.splash-screen-text {
    color: #a1a1a1;
    margin-top: .5rem;
}

.appHr {
    border-top: 5px solid #00B3AA !important;
}
input[type=checkbox]:checked {
    background: #00B3AA;
    color: white;
}

input[type=checkbox] {
    cursor: pointer;
    outline: 0;
    background: lightgray;
    border: 1px solid white;
    color: white;
}

    input[type=checkbox]:after {
        content: ' ';
        position: relative;
        left: 40%;
        top: 20%;
        width: 15%;
        height: 40%;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(50deg);
        display: none;
    }

/*    input[type=checkbox]:checked:after {
        display: block;
    }*/

@media (max-width: 640.98px) {
    .signature-pad {
        max-width: 300px !important;
        max-height: 150px !important;
    }

    .signature-pad-image {
        max-width: 300px !important;
        max-height: 150px !important;
    }
}

@media (min-width: 641px) {
}
