@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
    }

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.in-transit {
    font-style: italic;
}

.has-conflicts{
    font-weight: bold;
    color: red;
}

/* Radzen Important Over-Rides */

.rz-textbox {
    padding: 0px 3px 0px 3px !important;
    height: 2rem !important;
    line-height: 1.25rem !important;
}

/* Text Editor Popup */

.texteditorpopup-class {
    display: flex;
    flex-direction: column;
    height: 50%;
    width: 90%;
    background-color: #afb3c9;
    border-radius: 12px;
    border: 1px solid #1c1c1c;
    padding: 0.5rem;
    z-index: 150;
    box-shadow: 0 15px 15px rgba(0,0,0,.75);
}

.texteditorpopup-position {
    position: fixed;
    top: 32px;
    height: 50%;
}


/* Floating Control Panel */
.control-panel {
    position: fixed;
    top: 50px;
    right: 20px;
    background-color: #f4f4f4; 
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensures the panel appears above other content */
}

/* LabourModal */
.labourmodal-class {
    display: flex;
    flex-direction: column;
    height: 620px;
    width: 100%;
    background-color: rgba(71, 156, 200,0.80);
    border-radius: 6px;
    border: 1px solid #1c1c1c;
    padding: 0.5rem;
    z-index: 200;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.75);
}

/* CreatePartModal */
.createpartmodal-class {
    display: flex;
    flex-direction: column;
    height: 50%;
    width: 90%;
    background-color: #afb3c9;
    border-radius: 12px;
    border: 1px solid #1c1c1c;
    padding: 0.5rem;
    z-index: 200;
    box-shadow: 0 15px 15px rgba(0,0,0,.75);
}

.createpartmodal-position {
    position: fixed;
    top: 128px;
    height: 50%;
}

@media print {

    .print-hide {
        display: none;
    }

    @page {
        /*
            size: 50mm 150mm;
        */
    }
}
