﻿/*Client Registration*/

.client-container img.clientlogo {
    max-width: 35% !important;
}

.client-container {
    background-color: #ffffff !important;
    padding: 20px 20px !important;
    max-width: 60% !important;
    border-radius: 8px !important;
    text-align: center !important;
}

@media (max-width: 768px) {
    .client-container {
        width: 90% !important;
        height: 100% !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }

        .client-container img.clientlogo {
            max-width: 20% !important;
        }

    .clientlogo {
        max-width: 35% !important;
    }
}

/*Client Registration*/

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/ 
    /*max-width: 50%;*/
}

#tblJobOrders .custom-grid .e-rowcell {
    font-size: 18px !important;
}

#tblJobOrders .custom-grid .e-headercell {
    font-size: 18px !important;
    font-family: sans-serif;
}

.e-grid .e-gridcontent .e-rowcell {
    font-size: 15px !important;
    padding-top: 8px;
    padding-left: 15px;
    padding-right: 5px;
    padding-bottom: 8px;
    font-family: sans-serif;
}

/*Modal*/
.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

    .modal-dialog-centered::before {
        display: block;
        height: calc(100vh - (0.5rem * 2));
        content: "";
    }

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 0.3rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

    .modal-backdrop.fade {
        opacity: 0;
    }

    .modal-backdrop.show {
        opacity: 0.5;
    }

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start !important;
    -ms-flex-pack: justify;
    justify-content: space-between !important;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

    .modal-header .close {
        padding: 1rem !important;
        margin: -1rem -1rem -1rem auto !important;
    }

.modal-title {
    margin-bottom: 0;
    line-height: 1.5 !important;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

    .modal-footer > :not(:first-child) {
        margin-left: .25rem;
    }

    .modal-footer > :not(:last-child) {
        margin-right: .25rem;
    }

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }

        .modal-dialog-centered::before {
            height: calc(100vh - (1.75rem * 2));
        }

    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px;
    }
}

.btn-clientportal {
    background-color: #ef1f27;
    color: #fff;
}