﻿/* 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. */

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

/* 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 rgba(0, 0, 0, .05);
}

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

/* Sticky footer styles
-------------------------------------------------- */
html {
	position: relative;
	min-height: 100%;
}

body {
	/* Margin bottom by footer height */
	margin-bottom: 60px;
}

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

/*Main grid page styles*/

#store-grid .k-widget {
	font-size: 1rem !important;
	line-height: 0.8 !important;
}

#user-grid .k-auto-scrollable, #store-grid .k-auto-scrollable, #reports, #move-item-dlg {
    overflow: hidden;
}

@media only screen and (max-device-width: 1000px) {
	#store-grid .k-grid-content.k-auto-scrollable {
		overflow-x: scroll;
	}
}

#user-grid td.invisibleHeader > .k-grid > .k-grid-header, #store-grid td.invisibleHeader > .k-grid > .k-grid-header {
	display: none;
}

#user-grid .k-grid-header, #store-grid .k-grid-header {
	padding-right: 0 !important;
}

.k-grid td.checkbox-cell {
	text-align: center;
}

#toolbar img.tool-avatar {
	height: 40px;
	width: 40px;
	object-fit: cover;
	border-radius: 50%;
}
/*picture window styles*/
.item-photo {
	float: left;
	position: relative;
	width: 202px;
	height: 152px;
	margin: 0 5px;
	padding: 1px;
}

	.item-photo img {
		margin-top: 1px;
		margin-left: 1px;
		cursor: pointer;
		display: block;
		max-width: 200px;
		max-height: 150px;
		width: auto;
		height: auto;
	}

@media screen and (max-width: 576px) {
	.item-photo img {
        max-width: 120px;
	}

	.item-photo {
        width: 130px;
    }
}

.pic-wnd-title {
	display: inline-block;
}

#picture-dialog {
	max-height: 980px;
	text-align: center;
}

	#picture-dialog img {
		max-width: 720px;
		max-height: 700px;
		width: auto;
		height: auto;
	}

/*Search dialog*/
#search-input {
	width: 100%;
}

#search-dialog .k-autocomplete {
	width: 100%;
}

#search-input-list .found {
	background-color: #FF9632;
}


/*Edit dialogs*/
.k-dialog-content {
	overflow-x: hidden;
}

.k-dialog .wide-control {
	width: 548px;
	display: block;
}

.item-prices .k-dropdown {
	width: 120px;
}

.item-prices .k-numeric-wrap {
    width: 84px;
}

#group-select {
	display: block;
}


/*Validation*/
.k-input.k-invalid {
	border: 1px solid red;
}

/*arrival dialog*/
#arrival-header .form-group, #arrival-number {
	display: inline-block;
}

#arrival-header #arrival-comment, #order-header #order-comment {
	width: 574px;
}

#arrival-number {
	width: 100px;
}

#arrival-header .arrival-number-group {
	width: 150px;
	padding-left: 10px;
}

#arrival-header .arrival-defstore-group .k-dropdown {
	width: 144px;
}

#sell-dialog .k-textbox {
	width: 100px;
}

#sell-dialog .k-numeric-wrap {
	width: 80px;
}

#sell-dialog #sellTotal {
	font-weight: bold;
}

#sell-dialog input {
	text-align: right;
	padding-right: 8px;
}



/*Sell documnet dialog*/
#sell-doc-rows .k-grid-content {
   max-height: 245px;
}

.k-dialog td .k-grid-add,
.k-dialog td .k-grid-edit,
.k-dialog td .k-grid-update,
.k-dialog td .k-grid-cancel,
.k-dialog td .k-grid-delete,
.k-dialog td .k-grid-sell {
	min-width: 0;
}

.k-dialog td .k-icon
{
	margin: 0;
}

/*picture loader*/
#pic-loader {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-image: url("../picture.png");
	position: fixed;
	bottom: 70px;
	right: 30px;
	background-size: 40px;
    background-position-y: 2px;
}

#pic-loader-dlg .images-view {
	width: 97%;
    max-height: 600px;
}

#pic-loader-dlg .image-price-codes {
	width: 97%;
}

#pic-loader-dlg .tools {
    width: 97%;
    height: 28px;
}

#pic-loader-dlg .pic-selected {
	border: 2px solid greenyellow;
    transform: scale(1.2);
}

/*Move item dialog*/
#move-item-dlg .k-numeric-wrap, #move-item-dlg .k-dropdown, #book-item-dlg .k-numeric-wrap, book-item-dlg .k-dropdown {
	width: 158px;
}

#move-item-dlg #book-reason {
    width: 320px;
}

#selectStoresDlg .k-multiselect-wrap {
	width: 282px;
}
#export-items, #export-url {
	width: 510px;
}

#turnover-params-dlg {
	padding-left: 50px;
}

#ordering-remains-dlg .vendor-edt-grp {
    margin-left: 25px;
}

#ordering-remains-dlg .count-edt-grp {
	margin-left: 90px;
}

.report-buttons a.k-button {
    width: 180px;
    height: 60px;
}

#sell-doc td.table-cell .receipt-preview-button {
	width: 30px;
	min-width: 30px;
	padding: 1px;
	margin: 0;
	height: 32px;
}

#emails-to-send, #total-receipt-sum, .payment-type-control {
	width: 320px;
}

#sgroup-mass-renaming-dialog .k-textbox, #sgroup-mass-renaming-dialog .k-dropdown {
	width: 570px;
}


.form-group.checkbox-only {
	margin-bottom: 0.5em;
}

	.form-group.checkbox-only input[type=checkbox] {
		margin: 5px;
	}

#cust-edit-dialog .col-md-6 {
	padding: 0;
}

#cust-edit-dialog .row {
	padding-left: 15px;
}

#cust-edit-dialog #phone-edit {
	border-style: solid;
	border-width: 1px;
	border-color: #ccc;
	border-radius: 3px;
}


#customer-list .k-grid-toolbar .k-grid-search {
	width: 250px;
}