﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
html {
    scroll-behavior: smooth;
}

a.navbar-brand {
    text-align: center;
    white-space: normal;
    word-break: break-all;
}

.clear-both {
    clear: both;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem #000000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
    height: 100%;
    margin: 0;
    min-height: 100%;
    position: relative;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Margin bottom by footer height */
    margin-bottom: 30px;
    overflow: hidden;
}

.main-content {
    flex: 1;
    overflow: auto;
}

.center-content-vertical {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.footer {
    bottom: 0;
    /* Set the fixed height of the footer here */
    height: 30px;
    line-height: 30px; /* Vertically center the text there */
    position: absolute;
    white-space: nowrap;
    width: 100%;
}

.field-validation-error {
    color: firebrick;
}

.form-group.required .control-label, .col-form-label.required, .k-edit-label.required {
    font-weight: bold;
}

    .form-group.required .control-label:after, .col-form-label.required:after, .k-edit-label.required:after {
        color: red;
        content: "*";
        position: absolute;
    }

.k-filtercell > span > .k-button {
    display: none
}

.border-between {
    padding-bottom: 1rem;
}

@media (min-width: 992px) {
    .border-between > [class*='col']:before {
        background: #e3e3e3;
        bottom: 0;
        content: " ";
        left: 0;
        position: absolute;
        top: 0;
        width: 1px;
    }

    .border-between > [class*='col']:first-child:before {
        display: none;
    }

    .border-middle > [class*='col']:before {
        background: #e3e3e3;
        bottom: 0;
        content: " ";
        left: 0;
        position: absolute;
        top: 0;
        width: 2px;
    }

    .confs-label {
        width: -moz-min-content;
        width: -webkit-min-content;
        width: min-content;
        min-width: 75%;
    }

    .twoColumnMiddleBorder {
        border-right: #e3e3e3 solid 1px;
    }

    .border-middle > [class*='col']:first-child:before {
        display: none;
    }
}

.switch {
    display: inline-block;
    height: 20px;
    margin-bottom: 0;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    position: relative;
    width: 50px;
}

    .switch input {
        display: none;
    }

.slider {
    -moz-transition: .4s;
    -o-transition: .4s;
    -webkit-transition: .4s;
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    width: 38px;
}

    .slider:before {
        -moz-transition: .4s;
        -o-transition: .4s;
        -webkit-transition: .4s;
        background-color: white;
        bottom: 3px;
        content: "";
        height: 14px;
        left: 4px;
        position: absolute;
        transition: .4s;
        width: 14px;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -moz-transform: translateX(16px);
    -ms-transform: translateX(16px);
    -o-transform: translateX(16px);
    -webkit-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn-group:not(:last-child) > .btn {
    margin-right: 5px;
}

.k-tabstrip > .k-content {
    margin-bottom: 0;
    padding-bottom: 0;
}

#ViewComplaintStrip .border-between .row {
    padding: calc(.5rem + -1px) 0;
}

#ViewComplaintStrip .k-edit-label, #ViewComplaintStrip .k-edit-field {
    margin: 0;
    padding: calc(.5rem + -1px) 0;
}

#ViewComplaintStrip .k-edit-label {
    padding-right: 0.5rem;
    width: auto;
}

#editComplaintWindow .k-edit-label, #editComplaintWindow .k-edit-field {
    margin: 0 0 0.5rem 0;
}

.k-spreadsheet .k-tabstrip-wrapper {
    flex-grow: initial;
    height: initial;
    overflow: initial;
}

.k-tabstrip-wrapper {
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
}

.k-edit-field, .form-control {
    overflow-wrap: break-word;
    display: inline-block;
}

.k-grid {
    display: flex !important;
}

    .k-grid .k-grid-content {
        flex-grow: 1;
    }

.k-tabstrip > .k-content.k-state-active {
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    margin-left: -1px;
    margin-right: -1px;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

#tabStrip-1, #tabStrip-2, #tabStrip-3 {
    margin-left: 0;
    margin-right: 0;
}

main {
    display: flex;
    height: 100%;
}

.form-group {
    flex-grow: 1;
}

.h-15 {
    height: 15% !important;
}

.h-85 {
    flex-grow: 1;
    height: 85%;
}

.h-10 {
    height: 10% !important;
}

.h-90 {
    height: 90% !important;
}

.center-row {
    align-items: center;
    display: flex;
    position: relative;
}

.k-window-content {
    display: flex;
    flex-direction: column;
}

.k-window:not(.k-dialog):not(.k-window-maximized) {
    height: 90vh !important;
    width: 80vw !important;
}

.k-window-maximized {
    height: 100vh !important;
    width: 100vw !important;
}

.k-edit-form-container {
    font-size: 1rem;
    height: 90% !important;
    width: 100% !important;
}

.k-edit-form-container-100 {
    font-size: 1rem;
    height: 100% !important;
    width: 100% !important;
}

.saltTargetTable td {
    padding: 0.5rem !important;
}

.saltTargetTable th {
    font-weight: bold !important;
}

.attachment-links {
    color: #007bff;
    overflow: hidden;
    text-decoration: underline;
    text-overflow: ellipsis;
}

.k-loading-mask {
    z-index: 100000;
}

.k-grid-content > .k-loading-mask {
}

.k-tabstrip-items .k-link {
    padding: .25rem .5rem;
}

.k-grid th {
    padding: .5rem .5rem;
}

.k-grid td {
    padding: .25rem .25rem;
}

.k-grid .k-hierarchy-cell > .k-icon {
    padding: .25rem .25rem;
}
/*
.k-grid tbody tr {
    line-height: 14px;
}
.k-grid tbody td {
        padding: 0;
      }*/
.remove-attachment-btn {
    color: red;
    cursor: pointer;
    display: inline;
}

.legend-block {
    display: inline-block;
    height: 10px;
    margin: 0 10px;
    width: 10px;
}

.toggleDisplayButton {
    color: red;
    float: right;
    line-height: 1;
}

.toggleDisplayButtonShow {
    color: green;
}

.form-padding {
    padding: calc(.5rem + -1px) 0;
}

    .form-padding span[class^="col-"] {
        padding: calc(.5rem + -1px) .5rem;
    }

#formDiv {
    overflow-x: hidden;
    overflow-y: auto;
}

    #formDiv .k-edit-label, #formDiv .k-edit-field {
        margin: 0;
    }

.label-margin {
    -ms-flex-align: start;
    align-items: flex-start;
    display: -ms-inline-flexbox;
    display: inline-flex;
    line-height: 15px;
    margin-top: calc(.375rem + 1px);
    min-height: 16px;
    vertical-align: text-top;
}

#quickSummaryWindow {
    height: 85vh;
}

.k-dropdown .k-dropdown-wrap, .k-listbox .k-list-scroller {
    background-color: transparent !important;
}

.tab-title {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 101;
}

.k-edit-field-radio {
    padding: calc(.5rem + -1px) 0;
}

.validation-summary-errors, .complaintError {
    color: red;
}

.k-tabstrip-top > .k-tabstrip-items .k-item + .k-item {
    margin-left: 10px;
}

.k-tabstrip > .k-content {
    border-color: #212529;
    border-color: rgba(33, 37, 41, .25);
}

.k-tabstrip-items .k-item.k-state-active, .k-tabstrip-items .k-item.k-state-selected {
    background-color: #EDF0F3;
    border-color: #212529;
    border-color: rgba(33, 37, 41, .25);
}

.k-tabstrip-items {
    border-color: #212529;
    border-color: rgba(33, 37, 41, .25);
}

    .k-tabstrip-items .k-item {
        border-color: #212529;
        border-color: rgba(33, 37, 41, .125);
    }

.row {
    margin-right: 0;
    margin-left: 0;
}

.btn {
    border-bottom-left-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

.col-label-padding {
    padding-top: calc(0.5rem + 1px);
    padding-bottom: calc(0.5rem + 1px);
}

.tab-title .k-dropdown-wrap .k-input {
    height: auto;
}

.k-grid-header .k-header-column-menu {
    bottom: 0;
}

#editComplaintWindow .k-tabstrip > .k-content.k-state-active {
    margin-left: 0;
    margin-right: 0;
}

.form-radio-span span {
    margin-right: 1.5rem;
}

.k-grid td.k-state-selected, .k-grid th.k-state-selected, .k-grid tr.k-state-selected > td {
    color: inherit;
}

.ajax-popup > .k-loading-mask {
    display: none;
}

.companyDetails-border div[class*='col'] {
    padding-top: calc(.5rem + -1px);
    padding-bottom: calc(.5rem + -1px);
}

#approvalAuditDetails .row {
    padding-top: calc(.5rem + -1px);
    padding-bottom: calc(.5rem + -1px);
}

#approvalAuditDetails label {
    margin-bottom: 0;
}

#approvalAuditDetails .k-upload-button {
    height: 1.5em;
}

.selected-target {
    background-color: #cbe6ef !important;
}

.allergensTable .k-radio-label {
    margin-left: 0.5em;
}

.pop {
    display: flex !important;
    justify-content: center;
    flex-direction: column;
    min-height: 5rem;
}

.sub-row {
    -ms-flex-wrap: wrap;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.childIngredient-0 {
    margin-left: 0;
}

.childIngredient-1 {
    margin-left: 2%;
}

.childIngredient-2 {
    margin-left: 4%;
}

.childIngredient-3 {
    margin-left: 6%;
}

.childIngredient-4 {
    margin-left: 8%;
}

.childIngredient-5 {
    margin-left: 10%;
}

.childIngredient-6 {
    margin-left: 12%;
}

.childIngredient-1, .childIngredient-2, .childIngredient-3, .childIngredient-4, .childIngredient-5, .childIngredient-6 {
    float: left;
}

.childIngredient-1:after, .childIngredient-2:after, .childIngredient-3:after, .childIngredient-4:after, .childIngredient-5:after, .childIngredient-6:after {
    background: url('/images/C1.png');
    content: '';
    display: block;
    float: left;
    height: 24px;
    width: 16px;
}

.user-pref-allergen::before {
    box-shadow: 0 0 0 4px #007bff, 0 0 2px 8px #FFD800;
}

#Product_PrepState_listbox li {
    white-space: nowrap;
    padding-right: 25px;
}

.w-90 {
    width: 90% !important;
}

.sticky-top {
    background: white;
}


/* Dropdown Button */
.dropbtn {    
    cursor: pointer;
}

    /* Dropdown button on hover & focus */
    .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    }

/* 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;
}

    .dropdown-content.righthand {
        right: 0;
        left: auto;
    }

    /* Links inside the dropdown */
    .dropdown-content a {
        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;
}