@page { margin: 0; }

@media print {
    .printSpace {
        background-color: white;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        padding: 15px;
        font-size: 14px;
        line-height: 18px;
    }
}

html {
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
}
body {
	font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
}

.dropdown-item {
	white-space:normal !important;
}

.jumbotron {
	padding-top: .5rem;
	padding-bottom: .5rem;
}
.jumbotron {
	margin-bottom: 5px;
}

#custom-nav.show>.dropdown-menu {
	min-width:15rem !important;
}
#custom-nav.show>.dropdown-menu a:hover {
	background-color:#007bff;
	color:#ffffff;
	
	}
#custom-nav.show>.dropdown-menu {
	left: 50%;
	transform: translateX(-50%);
}

#custom-nav.dropdown-menu {
	margin-top: 0rem!important;
}

.card-footer-sm {
	padding: .25rem .75rem;
}

.btn-round {
padding: .4rem 2rem !important;
border-radius: 1.5rem !important;

}

.btn-white {
	background-color: #f9f9f9;
	color: #333;
}
.landscape {
	-ms-transform: rotate(90deg); /* IE 9 */
	-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
	transform: rotate(90deg);
	}
#drop{
	border:2px dashed #bbb;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	padding:25px;
	text-align:center;
	font:20pt bold,"Vollkorn";color:#bbb
}

.modal-content {
	border-radius: 0;
}

#main_modal .modal-dialog{
	overflow-y: initial !important
}
#main_modal .modal-body{
	/* height: 250px; */
	max-height: calc(100% - 12px);
	overflow-y: auto;
}

#productModal .modal-body {
	padding:0;
}

@media all and (max-width:480px) {
	.btn-block-sm { width: 100%; display:block; }
}

 .modal-full {
    min-width: 100%;
    margin: 0;
}
.productModal {
	padding-right:0px;
}
.modal-full .modal-content {
    min-height: 100vh;
}

#noticeModal .modal-body {
	padding:5px !important;

}
.modal {
	padding-right:0px !important;
}
.modal-header {
	padding:15px !important;
}

#tblproducts.table td {
	padding:3px;
}

.modal-body {
	padding:0px;
	flex:0;
}


.switch {
	font-size: 1rem;
	position: relative;
  }
  .switch input {
	position: absolute;
	height: 1px;
	width: 1px;
	background: none;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	padding: 0;
  }
  .switch input + label {
	position: relative;
	min-width: calc(calc(2.375rem * .8) * 2);
	border-radius: calc(2.375rem * .8);
	height: calc(2.375rem * .8);
	line-height: calc(2.375rem * .8);
	display: inline-block;
	cursor: pointer;
	outline: none;
	user-select: none;
	vertical-align: middle;
	text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
  }
  .switch input + label::before,
  .switch input + label::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: calc(calc(2.375rem * .8) * 2);
	bottom: 0;
	display: block;
  }
  .switch input + label::before {
	right: 0;
	background-color: #dee2e6;
	border-radius: calc(2.375rem * .8);
	transition: 0.2s all;
  }
  .switch input + label::after {
	top: 2px;
	left: 2px;
	width: calc(calc(2.375rem * .8) - calc(2px * 2));
	height: calc(calc(2.375rem * .8) - calc(2px * 2));
	border-radius: 50%;
	background-color: white;
	transition: 0.2s all;
  }
  .switch input:checked + label::before {
	background-color: #08d;
  }
  .switch input:checked + label::after {
	margin-left: calc(2.375rem * .8);
  }
  .switch input:focus + label::before {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
  }
  .switch input:disabled + label {
	color: #868e96;
	cursor: not-allowed;
  }
  .switch input:disabled + label::before {
	background-color: #e9ecef;
  }


  .switch.switch-xs {
	font-size: 0.675rem;
  }
  .switch.switch-xs input + label {
	min-width: calc(calc(1.7375rem * .8) * 2);
	height: calc(1.7375rem * .8);
	line-height: calc(1.7375rem * .8);
	text-indent: calc(calc(calc(1.7375rem * .8) * 2) + .5rem);
  }
  .switch.switch-xs input + label::before {
	width: calc(calc(1.7375rem * .8) * 2);
  }
  .switch.switch-xs input + label::after {
	width: calc(calc(1.7375rem * .8) - calc(2px * 2));
	height: calc(calc(1.7375rem * .8) - calc(2px * 2));
  }
  .switch.switch-xs input:checked + label::after {
	margin-left: calc(1.7375rem * .8);
  }


  .switch.switch-sm {
	font-size: 0.875rem;
  }
  .switch.switch-sm input + label {
	min-width: calc(calc(1.9375rem * .8) * 2);
	height: calc(1.9375rem * .8);
	line-height: calc(1.9375rem * .8);
	text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
  }
  .switch.switch-sm input + label::before {
	width: calc(calc(1.9375rem * .8) * 2);
  }
  .switch.switch-sm input + label::after {
	width: calc(calc(1.9375rem * .8) - calc(2px * 2));
	height: calc(calc(1.9375rem * .8) - calc(2px * 2));
  }
  .switch.switch-sm input:checked + label::after {
	margin-left: calc(1.9375rem * .8);
  }
  .switch.switch-lg {
	font-size: 1.25rem;
  }
  .switch.switch-lg input + label {
	min-width: calc(calc(3rem * .8) * 2);
	height: calc(3rem * .8);
	line-height: calc(3rem * .8);
	text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
  }
  .switch.switch-lg input + label::before {
	width: calc(calc(3rem * .8) * 2);
  }
  .switch.switch-lg input + label::after {
	width: calc(calc(3rem * .8) - calc(2px * 2));
	height: calc(calc(3rem * .8) - calc(2px * 2));
  }
  .switch.switch-lg input:checked + label::after {
	margin-left: calc(3rem * .8);
  }
  .switch + .switch {
	margin-left: 1rem;
  }
	

  #desc_ctr {
	  font-style: italic;
	  font-size: 12dp;
  }

  .card-body {
	  padding: 0.5rem;
  }
  .card-title {
	margin-bottom: 0rem;
  }



  
  .sm-gutters > .col,
  .sm-gutters > [class*="col-"] {
	padding-right: 2px;
	padding-left: 2px;
	
	padding-bottom: 4px;
  }

  .card-img-top {
    width: 100%;
    height: 25vw;
    object-fit: cover;
}

#menuModal .modal-header{
	border:0px;
}

#menuModal .modal-body {
	
	padding-right: 5rem;
	padding-left: 5rem;
}


[data-toggle="collapse"] .fa:before {  
  content: "\f068";
}

[data-toggle="collapse"].collapsed .fa:before {
  content: "\f067";
}

#searchCard .card-header {
	padding:2px;
} 
#createCard .card-header {
	padding:2px;
} 
.table-xs th,
.table-xs td {
  padding: 0.1rem;
}

#ordercard .card-header {
	padding: .2rem .4rem;
}


.btn-order {
	padding: .5rem 1.5rem !important;
	border-radius: 1.5rem !important;
	
	}

	.btn-purple {
		color: #fff;
		background-color: #9200db;
		border-color: #9200db;
	}

	
.btn-refresh {
  color: #fff;
  background-color: #939faa;
  border-color: #939faa;
}

.btn-refresh:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

.picker__list-item small{
	float: right;
}

.picker__list-item small .badge {
	font-size: 100%;
}

.picker__day--booked {
  position: relative;
}

.picker__day--booked:before {
  content: " ";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 0;
  height: 0;
  border-top: 0.4em solid rgb(0, 185, 31);
  border-left: .4em solid transparent;
}



.custom-nav.show>.dropdown-menu {
	min-width:15rem !important;
}
.custom-nav.show>.dropdown-menu a:hover {
	background-color:#007bff;
	color:#ffffff;
	
	}
.custom-nav.show>.dropdown-menu {
	left: 50%;
	transform: translateX(-50%);
}

.dropright{
	top: 40% !important;
	left: 50% !important;
	transform: translateX(-50%);
	background-color: #eee;
}

#custom_menu_width.dropdown-menu {
	min-width:15rem !important;
}
#custom_menu_width.dropdown-menu a:hover {
	background-color:#007bff;
	color:#ffffff;
	}



.nav-tabs {
	margin-bottom: 1rem;
}


/* For list checkbox */
.state-icon {
    left: -5px;
}

.well {
	overflow-y: auto;
	min-height: 120px;
	max-height: 180px;
	min-width: 300px;
	padding: 3px;
	background-color:#F8F9FA
}

.well-no-max-height {
	overflow-y: auto;
	min-height: 120px;
	min-width: 300px;
	padding: 3px;
	background-color:#F8F9FA
}

.list-group {
	border: 1px;
}

.list-group-item {
	padding: 5px;
	margin: 1px;
	cursor: pointer;
}

.list-group input[type="checkbox"] {
	display: none;
	position:absolute;
	left:-999px;
}

.list-group input[type="checkbox"] + .list-group-item {
	cursor: pointer;
}

.list-group input[type="checkbox"] + .list-group-item:before {
	font-family: FontAwesome;
	content: "\2713";
	color: transparent;
	font-weight: bold;
	margin-right: 1em;
}

.list-group input[type="checkbox"]:checked + .list-group-item {
	content: "\f096";
	background-color: rgb(78, 163, 212);
	color: #FFF;
}

.list-group input[type="checkbox"]:checked + .list-group-item:before {
	color: inherit;
}

/*
.well .list-group {
	margin-bottom: 0px;
}
*/
/*
.modal {
	text-align: center;
	padding: 0!important;
}

.modal:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px;
}

.modal-dialog {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
}
*/

.my-primary {
	color: white;
	background-color: #033280;
}

.my-btn-primary {
	color: white;
	background-color: #1060C8;
}

.my-btn-accept {
	color: white;
	background-color: teal;
}

.my-btn-paid {
	color: white;
	background-color: blueviolet;
}

.my-btn-ready {
	color: white;
	background-color: darkgreen;
}

.my-btn-deliver {
	color: white;
	background-color: chocolate;
}

.my-btn-cancel {
	color: white;
	background-color: maroon;
}

.my-btn-cancel:hover , .my-btn-cancel:focus {
	color: white !important;
}


.my-btn-complete {
	color: white;
	background-color: gray;
}

.my-btn-send {
	color: white;
	background-color: steelblue;
}

.modal-header-success {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
	background-color: #5cb85c;
	-webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-warning {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
	background-color: #f0ad4e;
	-webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-danger {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
	background-color: #d9534f;
	-webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-info {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
	background-color: #5bc0de;
	-webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.modal-header-primary {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
	background-color: #428bca;
	-webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-content { 
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.modal-dialog {
    border: 5px !important;
}

.my-cursor {cursor: default;}

.navbar-brand>img {
	max-height: 100%;
	height: 40px;
	width: 40px;
	margin: 0 auto; 
 
	/* probably not needed anymore, but doesn't hurt */
	-o-object-fit: contain;
	object-fit: contain;  
 }

 .my-btn-group {
    margin: 0 auto; 
    text-align: center;
    font-size:0 !important;
}

.btn-circle {
    width: 35px;
    height: 35px;
    padding: 6px 0px;
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

.btn-circle-sm {
    width: 45px;
    height: 25px;
    padding: 4px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

.btn-circle-md {
    width: 65px;
    height: 45px;
    padding: 8px 0px;
    border-radius: 25px;
    text-align: center;
    font-size: 16px;
    line-height: 1.42857;
}

.btn-circle-lg {
    width: 75px;
    height: 55px;
    padding: 10px 0px;
    border-radius: 35px;
    text-align: center;
    font-size: 18px;
    line-height: 1.42857;
}


.btn-export {
	border: 2px !important;
	width: 45px !important;
    height: 45px !important;
	padding: 6px 0px !important;
	font-size: 12px !important;
	border-radius: 15px !important;
	background-size: 100% !important;
	background-color: #fff !important;
	background-image: url("/images/export-spreadsheet.png") !important;
}
#selectCsName{
	text-align: center;
	text-align-last: center;
}
#csNames
{
	text-align: center;
	text-align-last: center;
}

/* custom checkbox */
/* .checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} */

/* hide the browser's default checkbox */
/* .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
} */
    
/* ul,li { margin:0; padding:0; list-style:none; }
.label { color:#000; font-size:16px;}
.combo-label {margin-bottom:.5em;} */

/* Hiding the checkbox, but allowing it to be focused */
.badgebox
{
    opacity: 0;
}

.badgebox + .badge
{
    /* Move the check mark away when unchecked */
    text-indent: -999999px;
    /* Makes the badge's width stay the same checked and unchecked */
	width: 27px;
}

.badgebox:focus + .badge
{
    /* Set something to make the badge looks focused */
    /* This really depends on the application, in my case it was: */
    
    /* Adding a light border */
    box-shadow: inset 0px 0px 5px;
    /* Taking the difference out of the padding */
}

.badgebox:checked + .badge
{
    /* Move the check mark back when checked */
	text-indent: 0;
}

#trigger-item {
	z-index: 1080 !important;
}

#reward-item {
	z-index: 1080 !important;
}

#suboption-item {
	z-index: 1080 !important;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
}
  
/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
  
/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}
  
.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
  
input:checked + .slider {
	background-color: #2196F3;
}
  
input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(16px);
	-ms-transform: translateX(16px);
	transform: translateX(16px);
}
  
/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}
  
.slider.round:before {
	border-radius: 50%;
}

.strike {
	display: block;
	text-align: center;
	overflow: hidden;
	white-space: nowrap; 
}

.strike > span {
	position: relative;
	display: inline-block;
}

.strike > span:before,
.strike > span:after {
	content: "";
	position: absolute;
	top: 50%;
	width: 9999px;
	height: 1px;
	background: darkgray;
}

.strike > span:before {
	right: 100%;
	margin-right: 15px;
}

.strike > span:after {
	left: 100%;
	margin-left: 15px;
}

/*Trigger Image List*/
/* ul.images {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	width: 900px;
	overflow-x: auto;
}

ul.images li {
	flex: 0 0 auto;
	width: 150px;
	height: 150px;
} */

.overlay {
	position: absolute; 
	bottom: 0; 
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.5); /* Black see-through */
	color: #f1f1f1; 
	width: 100%;
	transition: .5s ease;
	opacity:0;
	color: white;
	font-size: 11px;
	padding: 2px;
	text-align: center;
}

.product-image:hover .overlay {
	opacity: 1;
}

div.product-image {
	position: relative;
	text-align: center;
	color: black;
    width: 100%;
	overflow-x: scroll;
	font-size: 12px;
}

.img-unselected {
	width: 85px;
	height: 85px;
	border: 3px solid darkgray;
	margin: 1px;
	cursor: pointer;
	border-radius: 10px;
}

.img-selected {
	width: 85px;
	height: 85px;
	border: 6px solid lightgreen;
	margin: 1px;
	cursor: pointer;
	border-radius: 10px;
}

.span-checkbox {
	text-align: center;
	cursor: pointer;
	background-color: darkgray;
	padding: 3px;
	width: 85px;
	margin-top: 10px;
	border-radius: 2px
}

.text-block {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background-color: black;
	color: white;
	padding-left: 20px;
	padding-right: 20px;
  }

#scroller li {
    display: table-cell;
    float: none;
	list-style-type: none;
}

#scroller ul {
	margin: 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}


/* .media
{
    width: 90%; 
    height: 170px; 
    float: left;
    display: inline-block;
    overflow-x: auto;
    -ms-overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-y: hidden;
    white-space: nowrap;
}

.image
{
    float: left;
    height: 150px;
    width: 150px;
    margin: 1;
    text-align:center;
    border: 1px solid white;
}

.imageContainer
{
    float:left;
} */

/* ul {
	list-style-type: none;
  }
  
  li {
	display: inline-block;
  }
  
  input[type="checkbox"][id^="myCheckbox"] {
	display: none;
  }
  
  label {
	border: 1px solid #fff;
	padding: 10px;
	display: block;
	position: relative;
	margin: 10px;
	cursor: pointer;
  }
  
  label:before {
	background-color: white;
	color: white;
	content: " ";
	display: block;
	border-radius: 50%;
	border: 1px solid grey;
	position: absolute;
	top: -5px;
	left: -5px;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 28px;
	transition-duration: 0.4s;
	transform: scale(0);
  }
  
  label img {
	height: 100px;
	width: 100px;
	transition-duration: 0.2s;
	transform-origin: 50% 50%;
  }
  
  :checked + label {
	border-color: #ddd;
  }
  
  :checked + label:before {
	content: "✓";
	background-color: grey;
	transform: scale(1);
  }
  
  :checked + label img {
	transform: scale(0.9);
	z-index: -1;
  } */

.form-group-no-bottom-margin {
     margin-bottom: 0rem !important; 
}
.form-group-bottom-margin-sm {
	margin-bottom: 0.5rem !important; 
}



/* Remove default bullets */
ul, .myUL {
	list-style-type: none;
  }
  
  /* Remove margins and padding from the parent ul */
  .myUL {
	margin: 0;
	padding: 0;
  }
  
  /* Style the caret/arrow */
  .caret {
	cursor: pointer;
	user-select: none; /* Prevent text selection */
  }
  
  /* Create the caret/arrow with a unicode, and style it */
  .caret::before {
	content: "\25B6";
	color: black;
	display: inline-block;
	margin-right: 6px;

	
  }
  
  /* Rotate the caret/arrow icon when clicked on (using JavaScript) */
  .caret-down::before {
	transform: rotate(90deg);
  }
  
	/* Hide the nested list
	square for list-style
	*/
  .nested {
		display: none;
		list-style-type: none; 
		margin-left:15px;
		}
		
		.square {
			list-style-type: square; 
			}
			
  /* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
  .active {
	display: block;
  }

  .btn-group-xs > .btn, .btn-xs {
	padding: .25rem .4rem;
	font-size: .875rem;
	line-height: .5;
	border-radius: .2rem;
  }

  /* .modal-open{
	padding-right: 0 !important;
	overflow-y: auto;
   } */

	.modal-open[style] {
		padding-right: 0px !important;
	}

	.panel-footer span{
		width: calc(100%/2);
		float: left;
		text-align: center;
	}

	.panel-footer span:first-child{
	text-align: right;
	}

	.panel-footer span:last-child{
	text-align: right;
	}

	.hightlight_tr{
		background-color : #ffffc1 !important
	}

	.big-checkbox {width: 20px; height: 20px;}


	.select-checkbox::before{
		border: 1px solid transparent !important;
		/* content: "\f095" !important; */

	}
	.select-checkbox::after{
		border: 1px solid transparent !important
		/* content: "\f095" !important; */
	}
	
	.promo-search{
		width:100%;
		float: left !important;
	}

	div.dataTables_wrapper div.dataTables_filter input {
			width: 100%; 
	}

	.mo_button {
		background-color: #1060C8 !important;
	}