﻿
@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;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    /*direction:ltr;*/
    font-size: 17px;
}


        .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 .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        margin:auto;
    }

    .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: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    /*padding-top: 1.1rem;*/
    padding-top: 0px;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.background-front-page {
    /*position: fixed;*/
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
}

.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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: table;
    }

    .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: 300px;
        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;
    }
}


.tdLabelField {
    /* font-weight: bold; */
    padding: 5px;
    padding-left: 0px;
    width: 200px;
    border-bottom: solid 1px #ccc;
}

.tdContentField {
    padding: 4px;
    min-width: 120px;
    border-bottom: solid 1px #ccc;
}


.tableEditorFields {
    width: 800px;
}

/* ------------------------------------------------------------------ Sabaza */

input .input-login {
    width: 230px;
}

.stylebody {
    /*font-size: 18.0pt;*/
    /*font-family: 'David Libre';*/
    font-family: 'David';
    /*font-family: 'helvetica';
            font-family: Arial;*/
}

.contentPreview {
    max-width: 1350px;
    margin: auto;
    background-color: white; /*should come from generated file*/
}

.content {
    min-height: 800px;
    max-width: 1350px;
    /*margin: auto;*/
    background-color: #DCE8EA; /*should come from generated file*/
}


.textboxLong {
    min-width: 500px;
}

table {
    border-collapse: collapse;
    max-width: 1100px;
    width:100%;
}

.styleJobActivityPreviewItemsTable {
    width: 950px;
    border: 1px solid #ddd;
}

table .styleTableImages {
    border-collapse: collapse;
    width: 945px;
    margin: auto;
}

.divReportPreviewsAndSummary {
    padding-top: 20px;
    padding-bottom: 20px;
}

.divJobPreviewsAndSummary {
    padding-top: 20px;
    padding-bottom: 5px;
}

.divAllActivities {
    padding-top: 5px;
    padding-bottom: 5px;
}

.divRecommendation {
    padding-left: 30px;
    padding-right: 30px;
}

.tdPreviewRecommendation {
  
    border-bottom: 1px solid black;
}

.tdPreviewRecommendationSummaryTotal_NoVat {
  
    font-weight: bold;
    /*border-top: 1px solid black;
            border-left: 2px solid black;
            border-right: 2px solid black;
            border-bottom: 2px solid black;*/
}

.tdPreviewRecommendationSummaryTotal_FullBorder {
  
    font-weight: bold;
    /*border: 2px solid black;*/
    /*border-bottom: 2px solid black;*/
}


.divSpacer {
    height: 10px;
}

.divPageBreakBefore {
    page-break-before: always;
}

.divPageBreakAfter {
    page-break-after: always;
}

.divPurposeOfVisitTitle {
    font-weight: bold;
    font-size: x-large;
    padding: 2px;
    align-content: center;
    text-align: center;
}


.textHighlightRed {
    color: red;
    font-weight: bold;
}

.textHighlightGreen {
    color: #00A310;
    font-weight: bold;
}

.textHighlightBlue {
    color: #0000FF;
    font-weight: bold;
}

.textHighlightOrange {
    color: #FF6A00;
    font-weight: bold;
}

.tdCellContentRed {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: red;
    font-weight: bold;
}

.tdCellContentGreen {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: #00A310;
    font-weight: bold;
}


.tdCellContentBlue {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: #0000FF;
    font-weight: bold;
}


.tdCellContentOrange {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: #FF6A00;
    font-weight: bold;
}

.divCategoryTitle {
    direction: rtl;
    background-color: #2d5986;
    color: white;
    font-weight: bold;
    font-size: x-large;
    padding: 2px;
}
.divDateTitle {
    font-weight: bold;
    font-size: x-large;
    padding: 2px;
    text-align: center;
}

.styleTableAroundActivity {
    border: 1px solid black;
    border-bottom: 5px solid black;
    margin-bottom: 10px;
}

.styleTableFirstPage {
    border: 1px solid #ddd;
    width:500px;
}

.tdMultipleGroupSeperation {
    border-bottom: 2px solid #606060;
    padding-bottom: 2px;
}

.styleTableRecommendations {
    border: 1px solid #ddd;
    page-break-inside: avoid;
}

.tdCellContent {
    /*border: 1px solid black;*/
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    width: 250px;
    background-color: white;
    word-wrap:break-word;
}

.tdCellContentOnlyBottomBorder {
    /*border: 1px solid black;*/
    border-bottom: 1px solid #ddd;
    padding: 4px;
    background-color: white;
}

.tdSecondaryTitleCellContent {
    font-size: large;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding: 4px;
    background-color: white;
}

.tdCellContentRecommendation {
    /*border: 1px solid black;*/
    border-bottom: 2px solid black;
    border-right: 1px solid #ddd;
    padding: 4px;
    background-color: white;
}

.tdCellTitle {
    font-weight: bold;
    border: 1px solid #f0f4f5;
    background-color: #e1e9ea;
    color: #344a4b;
    padding: 3px;
    padding-left: 3px;
}

.tdHeader {
    font-weight: bold;
    border: 1px solid #f0f4f5;
    background-color: #e1e9ea;
    color: #344a4b;
    padding: 3px;
    padding-left: 0px;
}

.tdHeaderHeadingPage {
    border: 1px solid #f0f4f5;
    background-color: #e1e9ea;
    color: #344a4b;
    font-weight:bold;
    align-content: center;
    text-align: center;
}

.tableHorizontalTableCustomFields {
    font-family: 'DejaVuSans';
    font-size: 18px;
    width: 100%;
}

.tdHeaderHorizontalTableCustomFields {
    font-weight: bold;
    font-family: 'DejaVuSans';
    border: 1px solid #f0f4f5;
    background-color: #e1e9ea;
    color: #344a4b;
    padding: 3px;
    padding-left: 0px;
    font-size: 18px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}


.ShortHorizontalTableColumn {
    /*width: 60px;*/
    width: 60px;
}

.SameHorizontalTableColumn {
    width: 100px;
}

div .divImgAttachment {
    display: block;
    float: right;
    padding-left: 3px;
    padding-right: 3px;
    max-width: 300px;
    max-height: 330px;
}


td .divMainImgAttachment {
    display: block;
    float: right;
    padding-right: 5px;
    width: 650px;
    max-height: 650px;
}

.tdAttachment {
    width: 300px;
    max-height: 330px;
    padding: 2px;
}

input.button-save {
    background-image: url(http://www.sabaza.com/images/approve2.png);
    background-repeat: no-repeat;
    font-weight: bold;
    cursor: pointer;
    padding-bottom: 2px;
    width: 130px;
    height: 60px;
    background-size: 25px;
    background-position-y: 10px;
    text-align: center;
    margin: auto;
    background-position-x: center;
    line-height: 80px;
    color: black;
}

input.button-gallery {
    background-image: url(http://www.sabaza.com/images/gallery.png);
    background-repeat: no-repeat;
    font-weight: bold;
    cursor: pointer;
    padding-bottom: 2px;
    width: 130px;
    height: 130px;
    background-size: 75px;
    background-position-y: 10px;
    text-align: center;
    margin: auto;
    background-position-x: center;
    line-height: 80px;
    color: black;
}

.icon-edit {
    background-image: url(http://www.sabaza.com/images/pen2.png);
    background-repeat: no-repeat;
    font-weight: bold;
    cursor: pointer;
    padding-bottom: 2px;
    width: 130px;
    height: 130px;
    background-size: 75px;
    background-position-y: 10px;
    text-align: center;
    margin: auto;
    background-position-x: center;
    line-height: 80px;
    color: black;
}

.Icon-button-image {
    width: auto;
    height: 30px;
}

.Icon-button-image-horizontal {
    width: 25px;
    height: 25px;
    margin: auto;
}

.hidden {
    height: 0px;
    width: 1px;
    overflow: hidden
}

.tableJobList {
    max-width: 950px;
    margin: auto;

}

.tdJobList {
    border-top: 1px solid #ddd;
    padding: 5px;
    background-color: #f0f2e3;
    /*background-color: #E8EDE0;*/
}

.tableImageControl {   
    margin: auto;
}


.tableInitPriceAndQuantity {
    border-collapse: collapse;
    width: 400px;
}

.spanDisplayOrder {
    vertical-align: top;
    display: inline-block;
    width: 20px;
}

.spinnerContainer {
    background-color: #0000ff20;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left:300px;
    right:300px;
}

.spinner-middle-container {
    /* top: 40%;
    left: 55%;
    position: absolute;*/
    top: 50%;
    left: 45%;
    position: fixed;
    z-index: 500;
    text-align: center;
    min-width: 250px;
}
.spinner {
    border: 16px solid blue;
    border-top: 16px solid navy;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    margin: auto;
}

.spinner-progress-text {
    font-size:16px;
    font-weight: bold;
    padding-top: 20px;
    background-color: #ffffffdd;
    min-width: 200px
}

/*.e-item .e-menu-icon {
    margin-inline-start: 0px;
}*/

/*.e-dropdown-popup ul .e-item .e-menu-icon {
    float: left;
    font-size: 18px;
    line-height: 36px;*/
    /* margin-right: 11px; */
    /*vertical-align: middle;
    width: 1em;
}*/
.e-item .mni-delete {
    width: 20px;
    background: url(../../images/delete-bin.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: center;
    margin-inline-end: 10px;
}

.popup-menu-image-control {
    top: 5%;
    left: 50%;
    position: absolute;
    z-index: 500;
}

.image-list-control-top-end-placeholder {
    width: fit-content;
    padding-inline-end: 10px;
}

.image-list-control-multi-select-buttons {
    width: fit-content;
    padding-inline-end: 10px;
    padding-bottom:10px;
}
/*.mni-delete::after {
    content: "xxx";   
}
*/
/*.e-menu-icon .e-icons .mni-delete::after {
    content: ' xx';
}
*/
@keyframes spin {
    0%{
        transform:rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/*.e-input-group.e-corner {
    border-radius: 4px;
}*/

/* To change the border-color of the textbox when focused*/
/*.form-group .e-input:focus:not(.e-success):not(.e-warning):not(.e-error) {
    border-color: lightseagreen;
}
*/
/*not working...*/
/*.e-input:hover {
    border-color: lightseagreen;
}

.e-input:focus {
    border-color: lightseagreen;
}

.e-control:hover {
    border-color: lightseagreen;
}

.e-control:focus {
    border-color: lightseagreen;
}
*/



/*
.e-input-group.e-corner-local {
    border-radius: 4px;
    height: 160px;
}*/

.e-card {
    border-radius: 10px;
}

.e-card .e-card-content {
     color: rgba(0, 0, 0, 0.9); 
    font-size: 17px;
}

.elem-outer-width {
    width: 1145px;
}

.list-auto-complete-item {
    height: inherit;
    position: relative;
    /*padding: 14px 12px 14px 78px;*/
    /*  border-bottom:1px;
        border-color:black;*/
}


    .list-auto-complete-item .description {
        display: block;
        margin: 0;
        padding-bottom: 3px;
        white-space: normal;
        border: 1px solid #ddd;
        font-size: 17px;
        font-weight: 500;
        word-wrap:normal;
    }

.form-control
{
    font-size:17px;
}
.e-control .e-input {
    font-size: 50px;
}

.e-card .e-card-header .e-card-header-caption .e-card-header-title {
    font-size: 18px;
    font-weight: bold;
    line-height: normal;
}

.e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input {
    border-color: rgba(0, 0, 0, 0.42);
    font-size: 17px;
}

.div-recommendations-previewelement {
    box-shadow: -1px 1px 5px 5px rgb(0 0 0 / 16%);
    border-radius: 5px;
    margin-top:17px;
}


/* ------------------------------------------------------------------ Sabaza signature */


.div-signature-saved {
    font-weight: bold;
    font-size:xx-large;  
    align-content: center;
    text-align: center;
    margin:auto
}

.img-preview-summary {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;

}

.content-signature {
    max-width: 1000px;
    min-width: 550px;
    padding-top: 1.1rem;
    margin:auto;
}


.header-details-signature {
    text-align: start;
    font-weight: bold;
}

.styleTableFirstPage-signature {
    border: 1px solid #ddd;
    width: 100%;
    max-width: 1000px;
}

.styleTable-signature {
    border-collapse: collapse;
    table-layout: fixed;
    max-width: 1000px;
    width:100%;
}

table .styleJobActivityPreviewItemsTable-signature {
    width: 100%;
    table-layout: fixed;
    border: 1px solid #ddd;
    max-width: 1000px;
}

.textHighlightRed-signature {
    color: red;
    font-weight: bold;
}

.textHighlightGreen-signature {
    color: #00A310;
    font-weight: bold;
}

.textHighlightBlue-signature {
    color: #0000FF;
    font-weight: bold;
}

.textHighlightOrange-signature {
    color: #FF6A00;
    font-weight: bold;
}

td .tdCellContentRed-signature {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: red;
    font-weight: bold;
}

td .tdCellContentGreen-signature {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: #00A310;
    font-weight: bold;
}


td .tdCellContentBlue-signature {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: #0000FF;
    font-weight: bold;
}


td .tdCellContentOrange-signature {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;
    color: #FF6A00;
    font-weight: bold;
}

.divCategoryTitle-signature {
    direction: rtl;
    background-color: #2d5986;
    color: white;
    font-weight: bold;
    font-size: x-large;
    padding: 2px;
}

.divDateTitle-signature {
    font-weight: bold;
    font-size: x-large;
    padding: 2px;
    text-align: center;
}


td .tdCellContent-signature {
    /*border: 1px solid black;*/
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px;   
    background-color: white;
    word-wrap: break-word;
    width:86%;
    font-size:larger;
}

td .tdSecondaryTitleCellContent-signature {
    font-size: large;
    font-weight: bold;
    /*border-bottom: 1px solid #ddd;*/
    padding: 4px;
    background-color: white;
    font-size: larger;
}

td .tdCellContentRecommendation-signature {
    /*border: 1px solid black;*/
    border-bottom: 2px solid black;
    border-right: 1px solid #ddd;
    padding: 4px;
    background-color: white;
    font-size: larger;
}

td .tdCellTitle-signature {
    font-weight: bold;
    border: 1px solid #f0f4f5;
    background-color: #e1e9ea;
    color: #344a4b;
    padding: 3px;
    padding-left: 3px;
}

td .tdHeader-signature {
    font-weight: bold;
    border: 1px solid #f0f4f5;
    background-color: #e1e9ea;
    color: #344a4b;
    padding: 3px;
    padding-left: 0px;
}


div .divImgAttachment-signature {
    display: block;
    float: right;
    padding-left: 3px;
    padding-right: 3px;
    max-width: 300px;
    max-height: 330px;
}


td .divMainImgAttachment-signature {
    display: block;
    float: right;
    padding-right: 5px;
    width: 650px;
    max-height: 650px;
}

td .tdAttachment-signature {
    width: 50%;
    padding: 2px;
}

.signer-comments {
    font-style: italic;
}

.signer-details {
    font-style: italic;
    font-size: small;
}

.styleTableAroundSignature {
    background-color: #f0fff0
}

.td-professional-contact {
    text-align: center;   
    border-bottom: 1px solid #ddd;
    height: 32px;
}

.styleTableAroundSignature-header-comments {
    width: 98%;
    margin: auto;
    font-weight:bold;
}

.styleTableAroundSignature-comments {
    border: 1px solid black;
    width: 96%;
    margin: auto;
    margin-top: 10px;
    background-color: white;
}

input.button-gallery-signature {
    background-image: url(http://www.sabaza.com/images/gallery.png);
    background-repeat: no-repeat;
    font-weight: bold;
    cursor: pointer;
    padding-bottom: 2px;
    width: 130px;
    height: 130px;
    background-size: 75px;
    background-position-y: 10px;
    text-align: center;
    margin: auto;
    background-position-x: center;
    line-height: 80px;
    color: black;
}

.spinnerContainer-signature {
    background-color: #0000ff20;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    max-width: 950px;
}

.spinner-middle-container-signature {
    top: 50%;
    width: 14%;
    left: 43%;
    position: fixed;
    z-index: 500;
    text-align: center;
}

.spinner-progress-text-signature {
    font-size: 16px;
    font-weight: bold;
    padding-top: 20px;
    background-color: #ffffffdd;
}

