﻿/* 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;
    }
}*/
.modal-title {
	color: saddlebrown;
}

.text-danger {
	font-size: 12px;
}

.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;
	}
	.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: 16px;
	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-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: 40px;
	font-size: 16px;
}

.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-grid tbody tr {
	font-size: 16px;
}

.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: calc(100vh - 125px);
}

#crackout-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;
}

#crackout-grid .k-grid-header .k-header {
	height: 200px !important;
	font-size: 12px;
}

#worksheet-grid {
    height: calc(100vh - 125px);
}


#worksheet-grid .k-grid-header .k-header {
    font-size: 12px;
}

#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;
}

#viewallbins-grid .k-grid-header .k-header {
	height: 115px !important;
	font-size: 12px;
}

@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)
}
