﻿/* 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. */

.col-0,
.col-xs-0,
.col-sm-0,
.col-md-0,
.col-lg-0 {
    flex: 0 0 0;
    -ms-flex: 0; /* IE */
    max-width: 0;
}
/*@media screen and (orientation:portrait) {
    .heading {
        text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
        font-size: max(1.5rem, 3vw);
        margin-right: 65px !important;
    }
}

@media screen and (orientation:landscape) {
    .heading {
        text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
        font-size: max(1.5rem, 3vw);
        margin-right: 65px !important;
    }
}*/

.bg-primary {
    background-color: #485C42 !important;
}

.modal-title {
    color: saddlebrown;
}

.custom-width-tittle {
    max-width: 70px;
    font-size: 80%;
}

.custom-tab-a {
    font-size: 90%;
    height: 100%;
    align-content: center;
}

#hrt-1.nav-link.active {
    background-color: #f4f5b4;
}
#hrt-2.nav-link.active {
    background-color: #c6f5b4;
}
#hrt-3.nav-link.active {
    background-color: #b4b7f5;
}
#hrt-4.nav-link.active {
    background-color: #f5b4b4;
}
#hrt-5.nav-link.active {
    background-color: #b4f5e8;
}
#hrt-6.nav-link.active {
    background-color: #ffd4f9;
}
#hrt-7.nav-link.active {
    background-color: #ffd6cd;
}
#hrt-8.nav-link.active {
    background-color: #e5e5e5;
}

#huller-receiving-bin-tab.nav-link.active {
    background-color: #ee94ae;
}
#huller-receiving-bulk-tab.nav-link.active {
    background-color: #c8eae4;
}
#bin-details-tab.nav-link.active {
    background-color: #9dddff;
}
#qa-tab.nav-link.active {
    background-color: #ffacb6;
}
#hash-tab.nav-link.active {
    background-color: #fcffce;
}
#dryer-tab.nav-link.active {
    background-color: #e1ae2f;
}

#KP1.nav-link.active, #DRY.nav-link.active {
    background-color: #adeb8a;
}
#KP2.nav-link.active, #MDP.nav-link.active {
    background-color: #f57474;
}
#KP3.nav-link.active {
    background-color: #96b1ff;
}
#ALL.nav-link.active {
    background-color: #c8eae4;
}

.text-danger {
    font-size: 12px;
}

.form-control-fix {
    max-width: -webkit-fill-available;
}

.heading {
    text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    font-size: max(1.5rem, 3vw);
    margin-right: 65px !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 61px;
    background-image: url(../Images/Almonds_Background_Lighter.jpg);
    background-repeat: repeat-y;
    background-size: 100%, cover;
}

    body.terminals {
        margin-bottom: 35px;
    }

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

    .footer.terminals {
        line-height: 35px;
    }

.nav-padding {
    padding-top: 100px;
}


    .nav-padding.terminals {
        padding-top: 0px;
        margin-top: -0.25rem;
    }
/* min-height calc logic is: 100vh - navbar height - footer height - (navbar margin + main margin) */
main {
    min-height: calc(100vh - 100px - 61px - 2.5rem);
}

body.terminals main {
    top: 0;
    min-height: calc(100vh - 22px - 35px - 2.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 1.1rem;
}

td[role="gridcell"] {
    white-space: nowrap;
}

#error-dialog .details,
#error-message .details {
    font-size: 11px;
}

.terminal-screen {
    background-color: #000000;
    color: #00FF00;
}

    .terminal-screen p {
        margin-bottom: 0;
    }

.terminal-buttons .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-container {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* change to be more specfic styling */
h1.larger-title {
    font-size: 6.5rem;
}

nav.navbar {
    justify-content: flex-end;
    min-height: 100px;
    max-height: 100%;
}

.terminals nav.navbar {
    min-height: inherit;
}

.navbar .container {
    z-index: 1080;
}

/*these calc calls are half the height of navbar, minus padding, minus half the height of the toggler inner element iself*/
.navbar-toggler-container {
    display: block;
    margin-top: calc(50px - 0.5rem - (35.25px / 2));
    margin-bottom: calc(50px - 0.5rem - (35.25px / 2));
}

.navbar-brand {
    font-size: 4.25rem;
}

.navbar-collapse {
    flex-grow: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.navbar .navbar-label {
    font-size: 80%;
}

.navbar-dark.bg-primary .text-primary {
    /* replace the green text with white on a green background*/
    color: white !important;
}

.navbar-dark.bg-primary .btn.dropdown-toggle {
    /* replace the default black text with an inherited colour*/
    color: inherit;
}

.slim-kendo-grid td,
.slim-kendo-grid th {
    padding: 0.2em !important;
}

.centre-header th {
    text-align: center !important;
    vertical-align: middle;
}

.k-pager-info.k-label {
    display: block !important;
}

dt {
    font-weight: normal;
}

img.huller-logo {
    /*max-height: 100%;*/
    /*height: 100px;*/
    width: 233px;
    height: 100px;
    vertical-align: top;
}

#grower-users [role="gridcell"] {
    cursor: pointer;
}

#report-viewer {
    position: absolute;
    left: 5px;
    right: 5px;
    top: 0px;
    bottom: 5px;
    overflow: hidden;
    font-family: Verdana, Arial;
}

#toast-container {
    position: fixed;
    height: 0 !important;
    top: 0;
    right: 0;
    z-index: 2000;
}

    #toast-container .toast {
        margin: 1rem;
    }

#sidebar-dropdown-container {
    position: fixed;
    height: 0 !important;
    top: 0;
    left: 0;
}

.toast {
    max-width: 1000px;
}

.k-icon.k-i-close {
    top: 50% !important;
}

.form-group {
    margin-bottom: 7px;
}

.fieldset {
    padding: 10px;
    border: 1px groove #80808026 !important;
    border-radius: 5px;
}

.system-criteria {
    color: darkolivegreen;
}

.grower-criteria-cropyear {
    /*pointer-events: none;
    opacity: 0.4;*/
}

.system-criteria-cropyear {
    /*pointer-events: none;
    opacity: 0.4;*/
}

.handler-criteria-cropyear {
    /*pointer-events: none;
    opacity: 0.4;*/
}

[data-tip] {
    position: relative;
}

    [data-tip]:before {
        content: '';
        /* hides the tooltip when not hovered */
        display: none;
        content: '';
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #1a1a1a;
        position: absolute;
        top: 30px;
        left: 35px;
        z-index: 8;
        font-size: 0;
        line-height: 0;
        width: 0;
        height: 0;
    }

    [data-tip]:after {
        display: none;
        content: attr(data-tip);
        position: absolute;
        top: 35px;
        left: 10px;
        padding: 5px 8px;
        background: #1a1a1a;
        color: #fff;
        z-index: 9;
        font-size: 0.85em;
        height: 30px;
        line-height: 18px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        white-space: nowrap;
        word-wrap: normal;
    }

    [data-tip]:hover:before,
    [data-tip]:hover:after {
        display: block;
    }

.topManuBar {
    /*height: 50px;*/
    padding: 5px 10px 5px 25px;
}

/* Landscape */
@media screen and (orientation:landscape) {
    .terminal-buttons .btn {
        height: 60px;
        font-size: 16px;
    }

    .dispActiveLotPort {
        visibility: hidden;
        color: white;
        height: 0;
    }

    .lastTktDetails {
        margin-left: 50px;
        margin-top: -10px;
    }

    .tanksGridLand {
        visibility: visible;
    }

    .tanksGridPort {
        visibility: hidden;
        height: 0;
    }

    .receivingGridLand {
        visibility: visible;
    }

    .receivingGridPort {
        visibility: hidden;
        height: 0;
    }

    .terminal-screen {
        height: 280px;
        font-size: 110%;
    }

    .term-butns {
        height: 280px;
    }

    .navbar-brand-term {
        font-size: 1.4rem;
        color: white;
    }

    .toastPopup {
        top: 0;
        left: 50%;
        margin: 0;
        transform: translate(50%, 0px);
        width: 450px;
    }
}

@media screen and (orientation:portrait) {
    /* Portrait styles */
    .col-lg-4 {
        padding-right: 12px;
        padding-left: 12px;
    }

    .terminal-buttons .btn {
        height: 50px;
        margin-top: 5px;
        font-size: 14px;
    }

    .dispActiveLotLand {
        visibility: hidden;
        color: white;
        height: 0;
    }

    .tanksGridLand {
        visibility: hidden;
        height: 0;
    }

    .tanksGridPort {
        visibility: visible;
    }

    .position-below {
        flex-direction: column-reverse;
    }
    /*.fixed-save-button {
		position: fixed;
		bottom: 2px;
		right: 0;
	}

	.fixed-back-button {
		position: fixed;
		top: 0;
		right: 2px;
	}*/
    /*.position-below {
		order: 0 !important;
	}
	.position-top {
		order: 1 !important;
	}*/
    .receivingGridLand {
        visibility: hidden;
        height: 0;
    }

    .receivingGridPort {
        visibility: visible;
    }

    .terminal-screen {
        min-height: 75px;
        height: auto;
        font-size: 110%;
    }

    .navbar-brand-term {
        font-size: 16px;
        color: white;
    }

    .displayBtn {
        display: none;
    }

    .activeDisDetails {
        display: none;
    }

    .lastTktDetails {
        margin-left: 0;
    }

    .toastPopup {
        top: 0;
        left: 50%;
        margin: 150px 0 0 0;
        transform: translate(-50%, 0px);
        width: 1000px;
    }

    .toggleBtn {
        visibility: hidden
    }

    .toastPopup {
        top: 0;
        left: 50%;
        margin: 150px 0 0 0;
        transform: translate(112%, -80px);
        width: 300px;
    }

    .port-img {
        height: 75px;
        width: 75px;
    }
}

/**Kendo Grid Styles*/
.k-grid .k-grid-header .k-header {
    border-bottom: none;
    background-color: #8D6755;
    font-size: 12px;
    height: auto;
    color: white;
}

    .k-grid .k-grid-header .k-header a {
        color: white;
    }

.k-pager-wrap {
    /*background-color: gray;*/
    color: saddlebrown;
}

.k-grid-header .k-header .k-link .k-icon {
    position: absolute;
    color: white
}

.k-grid .k-grid-header .k-header {
    white-space: normal !important;
}

.k-grid tbody td {
    padding: 3px;
}

.k-grid tbody tr {
    font-size: 11px;
}

.medium-grid .k-grid-header .k-header {
    font-size: 14px !important;
}

.medium-grid tbody tr {
    font-size: 14px !important;
}

.large-grid .k-grid-header .k-header {
    font-size: 16px !important;
}

.large-grid tbody tr {
    font-size: 16px !important;
}

.k-list-container > .k-footer {
    padding: 10px;
}

#customers-list .k-item {
    line-height: 1em;
    min-width: 300px;
}

/* Material Theme padding adjustment*/

.k-material #searchTruckRegistrationNo-list .k-item,
.k-material #searchTruckRegistrationNo-list .k-item.k-state-hover,
.k-materialblack #searchTruckRegistrationNo-list .k-item,
.k-materialblack #searchTruckRegistrationNo-list .k-item.k-state-hover {
    padding-left: 5px;
    border-left: 0;
}

#searchTruckRegistrationNo-list .k-item > span {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin: 20px 10px 10px 5px;
}

    #searchTruckRegistrationNo-list .k-item > span:first-child {
        -moz-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        margin: 10px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-size: 100%;
        background-repeat: no-repeat;
    }

#searchTruckRegistrationNo-list h3 {
    font-size: 1.2em;
    font-weight: normal;
    margin: 0 0 1px 0;
    padding: 0;
}

#searchTruckRegistrationNo-list p {
    margin: 0;
    padding: 0;
    font-size: .8em;
}

.card-header {
    background-color: #148B9E;
    color: white;
    height: 30px;
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
}

.red {
    color: red;
}

.col-form-label {
    line-height: 1rem;
    font-size: 14px;
}

/*.col-form-label {
    line-height: 2rem;
    font-size: 16px;
}*/

/*.form-control {
    line-height: 2rem;
    font-size: 16px;
    font-weight: 600;
}*/


.k-widget.form-control .k-input {
    padding: 0;
}

.leaflet-tooltip.stockpile-detail {
    background-color: transparent;
    border: transparent;
    box-shadow: none;
    font-size: 16px;
}

.leaflet-tooltip.warehouse-row-detail {
    background-color: transparent;
    border: transparent;
    box-shadow: none;
    font-size: 20px;
    font-weight: bold;
}

.map-load {
    height: calc(100vh - 500px);
    width: 100%;
}

.map {
    height: calc(100vh - 140px);
    width: 100%;
}

.warehouse-map {
    height: calc(100vh - 310px);
    width: 100%;
    z-index: 1;
    position: relative;
}

.map-label-wrapper {
    background: white;
    padding: 5px;
}

.map-label {
    font-size: 1rem;
    font-weight: 400;
    color: #495057;
    background-color: #fff;
    padding-left: 5px;
    padding-right: 5px;
}

.map-checkbox {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
}

.map-button {
    background: #fff url(fullscreen.png) no-repeat 0 0;
    background-size: 26px 52px;
}

/*.k-switch-on .k-switch-handle {
	background-color:  !important;
}*/

.k-switch-on .k-switch-container {
    background-color: rgb(97,129,69) !important;
    border-color: rgb(97,129,69) !important;
}

.k-switch *:hover {
    filter: brightness(110%);
}

.small-text {
    font-size: 12px !important;
}

.crackout-grid-height {
    height: calc(100vh - 200px);
}

.qa-grid-height {
    height: calc(100vh - 120px);
}

.sp-grid {
    height: 150px !important;
}

.sp-grid-height {
    /*height: calc(100vh - 350px);*/
    height: 70vh;
    overflow-y: auto;
}

.tickets-grid {
    /*height: 150px !important;*/
    height: 25vh;
    overflow-y: auto;
}

.tickets-grid-height {
    /* Adjust height as needed */
    height: auto; /* Allow content to define height */
}

.qa-grid .k-grid-header .k-header .vertical-text {
    display: inline-block;
    white-space: nowrap;
    transform: translate(0,100%) rotate(-90deg);
    transform-origin: 0 0;
    position: absolute;
    top: 180px;
}

.qa-grid .k-grid-header .k-header {
    height: 200px !important;
}

#worksheet-grid {
    height: calc(100vh - 125px);
}

#viewallbins-grid .k-grid-header .k-header .vertical-text {
    display: inline-block;
    white-space: nowrap;
    transform: translate(0,100%) rotate(-90deg);
    transform-origin: 0 0;
    position: absolute;
    top: 95px;
}

.detail-grid {
    padding-left: 85px;
    font-size: 16px;
}

@media (min-width: 1000px) {
    .modal-xxl {
        max-width: 940px;
    }
}

@media (min-width: 1100px) {
    .modal-xxl {
        max-width: 1040px;
    }
}

@media (min-width: 1200px) {
    .modal-xxl {
        max-width: 1140px;
    }
}

@media (min-width: 1300px) {
    .modal-xxl {
        max-width: 1240px;
    }
}

@media (min-width: 1400px) {
    .modal-xxl {
        max-width: 1340px;
    }
}

/*.k-button.k-state-focused:hover {
	background-color: blue;
}
.k-grid .k-state-selected {
	background-color: #ffffff !important;
	color: #000000;
}*/
/*.k-grid-header .k-header .k-link th a.k-state-active {
	background-color: #f1f1f1 !important;
	color: #000000;
}*/
/*.k-grid thead .k-state-active {
	background-color: crimson;
}*/
.k-multicheck-wrap .k-item {
    line-height: 1.5em;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 5px;
}

.marketing-worksheet-sub-grid {
    width: calc(100vw - 200px)
}

.btn-print-tag {
    background-color: rgb(47 124 255);
    color: white;
}

.text-small {
    font-size: 11px;
}

.input-invalid {
    border: 1px solid red !important;
}

.k-prompt .k-window-title {
    font-size: 15px;
}

.k-dialog .k-window-title {
    font-size: 15px;
}

.k-prompt .k-dialog-content {
    text-align: center;
}

@media (max-width: 767px) {
    .fixed-save-button {
        position: fixed;
        bottom: 2px;
        right: 0;
    }

    .fixed-back-button {
        position: fixed;
        top: 0;
        right: 2px;
    }

    .padding-grid {
        padding-left: 1% !important;
        padding-right: 1% !important;
    }

    .card .card-body {
        padding-left: 1% !important;
        padding-right: 1% !important;
    }

    .k-grid .k-grid-header .k-header {
        font-size: 14px !important;
    }

    .k-grid tbody tr {
        font-size: 14px !important;
    }

    .small-text {
        font-size: 14px !important;
    }

    .hide-on-mobile {
        display: none;
    }

    body {
        margin-bottom: 0;
    }

    .body-container {
        height: 100vh;
        padding-top: 90px !important;
        padding-bottom: 0;
    }

    .full-height-row {
        height: 100vh;
        margin: 0;
    }

    #sidebar {
        margin-top: 50px;
    }
}

.scroll-fit {
    overflow-y: scroll;
}

    .scroll-fit::-webkit-scrollbar {
        width: 9px;
    }

    .scroll-fit::-webkit-scrollbar-thumb {
        background-color: #D6D8DA !important;
        border-radius: 5px;
        min-height: 100px;
    }

        .scroll-fit::-webkit-scrollbar-thumb:hover {
            background-color: #CACACB !important;
        }

    .scroll-fit::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.09);
        border-radius: 2px;
        background-color: #F5F5F5;
    }
