@charset "UTF-8";

:root {
    /*Components*/
    --global-header-color: #406882;
    /*GlobalColors*/
    --global-grey-700: #616161;
    --global-grey-500: #9e9e9e;
    --global-grey-400: #bdbdbd;
    --global-grey-300: #e0e0e0;
    --global-grey-100: #f5f5f5;
    --global-grey-50: #fafafa;
    --global-grey-0: #ffffff;
    --global-yellow-600: #FDD835;
    --global-blue-500: #2196f3;
    --global-blue-100: #bbdefb;
    --global-blue-700: #1976d2;
    --global-blue-800: #1565c0;
    --global-blue-900: #0d47a1;
    --global-bluegrey-600: #546e7a;
    --global-bluegrey-700: #455a64;
    --global-green-100: #c8e6c9;
    --global-purple-400: #ab47bc;
    --global-purple-700: #7b1fa2;
    --global-orange-300: #ffcc80;
    --global-amber-600: #ffb300;
    --global-teal-500: #4DB6AC;
    --global-indigo-400: #5c6bc0;
    /*App Specific*/
    --portal-table-header: #65A4CF;
    /*--portal-table-header: #1976d2;*/
    /*Fonts*/
    --fontFamilies: Roboto, Sans-Serif, Arial;
    --fontSize: 14px;
    --fontWeight: 400;
}

* {
    padding: 0px;
    margin: 0px;

    font-family: var(--fontFamilies);
    font-size: var(--fontSize);
    font-weight: var(--fontWeight);
}

#header-container {
    height: 60px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;

    background-color: var(--global-header-color);
}

#logo-container {
    display: flex;
    flex-flow: row;
    justify-content: center;
}
/*thead{
    position: sticky;
    top: 0;
    z-index: 1;
}*/
#msi-logo {
    width: 92px;
    height: 60px;
}

#logo-title {
    font-size: 1.3em;
    line-height: 60px;
    color: var(--global-grey-50);
}

#user-info-container {
    display:flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

#user-name-container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: right;
    margin-right: 15px;
}

#customer-name {
    color: var(--global-yellow-600);
    font-size: 1.15em;
}
#customer-number {
    color: var(--global-grey-50);
}
#user-logo-container {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    text-align: center;
    margin-right: 15px;

    background-color: lightgray;
}
#user-letter {
    line-height: 40px;
    font-size: 1.85em;
    color: var(--global-grey-700);
    font-weight: 700;
}

#page-layout {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    overflow-y: hidden;
    height: calc(100vh - 60px);
}
#nav-bar-container {
    width: 260px;
    height: 100%;
    /*box-shadow: 0px 4px 8px 0px var(--global-grey-400);*/
}

#render-body {
    width: calc(100% - 260px);
    overflow-y: auto;
}
#render-body::-webkit-scrollbar {
    width: 8px;
}
    #render-body::-webkit-scrollbar-track {
        background: var(--global-grey-100);
    }
    #render-body::-webkit-scrollbar-thumb {
        background: var(--global-grey-500);
    }
    #render-body::-webkit-scrollbar-thumb:hover {
        background: var(--global-grey-300);
    }


@media screen and (max-width: 700px) {
  #nav-bar-container {
      width: 0px;
      display: none;
  }
  #render-body {
      width: 100%;
  }
  #page-header-container {
      height: 120px;
  }
}


/*Login Page*/

.input-container {
    height: 40px;
    width: 260px;
    border-radius: 10px;
    background-color: var(--global-grey-0);
    outline: none;
    border: 1px solid var(--global-grey-300);
}
.input-container > input {
    height: 40px;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 10px;
    width: 220px;
    padding-left: 5px;
}
textarea:focus, input:focus {
    /*border: 1px solid var(--global-blue-500);
    box-shadow: 0px 4px 8px 0px var(--global-grey-400);*/
}
.input-container:focus-within {
    border: 1px solid var(--global-blue-500);
    box-shadow: 0px 4px 8px 0px var(--global-grey-400);
}
/*End of Login Page*/

/*Tables Start*/
.table-head {
    position: sticky;
    top: 0;
    z-index: 1;
}
/*Tables End*/

/*glitches fix start*/
.page-wrapper {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding: 0px 15px;
    width: calc(100% - 30px);
}

.widget-wrapper {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background-color: var(--global-grey-100);
    display: flex;
    flex-flow: column;
    justify-content: center;
    box-shadow: 0px 4px 8px 0px var(--global-grey-400);
}
.navbar-component-container {
    height: 100%;
    width: calc(100% - 15px);
    background-color: #ECEFF1;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding-top: 60px;
    padding-left: 15px;
    box-shadow: 0px 4px 8px 0px var(--global-grey-400);
}
.validation-summary-errors {
    color: red;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .validation-summary-errors > ul {
        list-style-type: none;
    }

.check-box {
    margin-right: 5px;
}
/*glitches fix end*/


 /*The container <div> - needed to position the dropdown content*/ 
/*.dropdown {
    position: relative;
    display: inline-block;
}*/

 /*Dropdown Content (Hidden by Default)*/ 
/*.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

     Links inside the dropdown 
    .dropdown-content button {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

         Change color of dropdown links on hover 
        .dropdown-content a:hover {
            background-color: #ddd;
        }*/

 /*Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button)*/ 
/*.show {
    display: block;
}*/
#flyout-menu-container {
    display: none;
    width: 200px;
    height: 100px;
    background-color: #ECEFF1;
    box-shadow: 0px 4px 8px 0px var(--global-grey-400);
    border: 2px solid var(--global-grey-300);
    border-radius: 5px;
    position: relative;
    top: 10px;
    left: -150px;
    z-index: 10;
}
.show-element {
    display: block !important;
}
/*CAR/PAR Form-Controls*/
.primary-button {
    height: 40px;
    width: 100px;
    background-color: var(--global-purple-400);
    color: var(--global-grey-50);
    font-weight: 500;
    font-size: 1.4em;
    border-style: none;
    border-radius: 5px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}
.primary-button:hover {
    background-color: var(--global-purple-700);
}

.widget-icon {
    height: 28px;
    width: 28px;
}
/*#mod-msilogo {
    width: 120px;
    height: fit-content;
}*/
#icon-logo {
    width: 100%;
    height: 90%;
}

/*Receipts Overview Fix Start*/

.receipt-overview-header-container, .service-shipment-header-container {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
}

.receipt-overview-form, .service-shipment-form {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.receipt-overview-search-container, .service-shipment-search-container {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.receipt-overview-search-icon, .service-shipment-search-icon {
    height: 28px;
    width: 28px;
    z-index: 1;
    /* position: relative;
    left: 30px;*/
}

.receipt-overview-search-box, .service-shipment-search-box {
    width: 180px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid var(--global-grey-300);
    padding-left: 30px;
    margin-right: 15px;
    position: relative;
    left: -30px;
}

.receipt-overview-date-container {
}

.receipt-overview-date-box, .service-shipment-date-box {
    width: 100px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid var(--global-grey-300);
}

.receipt-overview-submit, .service-shipment-submit {
    height: 30px;
    width: 50px;
    margin-left: 8px;
    border-radius: 5px;
    border: none;
    background-color: var(--global-purple-400);
    color: var(--global-grey-100);
}
/*Receipts Overview End*/

/*Receipts Details Start*/
.serial-overview-header-container {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    margin-top: 30px;
}

.serial-overview-form {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.serial-overview-search-container {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.serial-overview-search-icon {
    height: 28px;
    width: 28px;
    z-index: 1;
    /* position: relative;
    left: 30px;*/
}

.serial-overview-search-box {
    width: 180px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid var(--global-grey-300);
    padding-left: 30px;
    margin-right: 15px;
    position: relative;
    left: -30px;
}

.serial-overview-submit {
    height: 30px;
    width: 50px;
    margin-left: 8px;
    border-radius: 5px;
    border: none;
    background-color: var(--global-purple-400);
    color: var(--global-grey-100);
    position: relative;
    left: -40px;
}
/*Receipts Details End*/

/*Overlay Start*/
.overlay-button {
    width: fit-content;
    min-width: 35px;
    height: 35px;
    border-style: none;
    border-radius: 10px;
    margin-right: 15px;
    padding: 0px 3px;
    color: var(--global-grey-0);
    background-color: var(--global-indigo-400);
}
.overlay-container {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}
.show-modal {
    display: block;
}
/*Overlay End*/

/*Syncfusion mods Start*/
[aria-expanded*="false"] {
    background-color: #f1fafc;
}
[aria-expanded*="true"] {
    background-color: #c9e4eb;
}
/*Syncfusion mods End*/