@white: #ffffff;
@accent_color: #f2b64e;
@overlay: rgba(70, 70, 70, 0.7);
@padding-default: 4%;
@margin-default: 4%;
@margin-bottom-default: 2em;
@padding-bottom-default: 2em;

@import '_shortcode.less';
@import '_widget.less';
@import '_menu-item-single.less';
@import '_mp-menu-taxonomy.less';
@import '_plugin-mode.less';
@import '_shop.less';
@import '_loader.less';
@import '_grid.less';
@import '_resposive.less';

.mprm-clear {
  *zoom: 1;
  &:before,
  &:after {
	display: table;
	content: "";
	line-height: 0;
  }
  &:after {
	clear: both;
  }
}

.mprm-hidden {
  display: none;
  opacity: 0;
}

.mprm-required {
  &:after {
	content: " *";
	color: red;
  }
}

.mprm-display-inline {
  display: inline-block;
  max-width: 100%;
}

.mprm-container-preloader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 160;
  margin-left: -5px;
}

.mprm_purchase_submit_wrapper {
  .mprm-content-container {
	margin: 8px 0;
  }
}

.mprm-content-container {
  &.mprm-ingredients {
	margin: 0 0 4px 0;
  }
  &.mprm-nutrition {
	margin: 0 0 4px 0;
  }
  &.mprm-tags-wrapper {
	margin: 0 0 4px 0;
  }
  &.mprm-title-big {
	margin: 8px 0;
  }
}

.hentry {
  .mprm-content-container {
	.mprm-nutrition-item {
	  display: block;
	}
  }
}

.mprm-main-wrapper, .mprm-container {
  a.mprm-link {
	text-decoration: none;
	outline: none;
	box-shadow: none;
	border: none;
	color: inherit;
	&:focus,
	&:visited,
	&:hover {
	  text-decoration: none;
	  outline: none;
	  box-shadow: none;
	  border: none;
	  color: inherit;
	}
  }

  .mprm-title {
	word-wrap: break-word;
  }
  .mprm-taxonomy-title {
	font-weight: bold;
	margin: 1.5em 0;
	font-size: 120%;
  }
  .mprm-content-container {
	margin: 0 0 4px 0;
	&.mprm-title-big {
	  &:first-child {
		margin-top: 0;
	  }
	}
	&.mprm-add-topping {
	  margin: 8px 0;
	}
	.mprm-price-container {
	  margin: 8px 0;
	}
  }
  .mprm_menu_item_buy_button {

	form {
	  a {
		&.mprm-btn {
		  text-decoration: none;
		  outline: none;
		  box-shadow: none;
		  border: none;
		  &:focus,
		  &:visited,
		  &:hover {
			text-decoration: none;
			outline: none;
			box-shadow: none;
			border: none;
		  }
		}
	  }
	}
  }
}

.mprm-container {
  &.mprm-view-list {
	.mprm_menu_item_buy_button {
	  &.mprm-with-image {
		form {
		  margin: 0;
		  &.mprm_purchase_form {
			.mprm_purchase_submit_wrapper, .mprm-section {
			  margin-left: 2rem;
			}
		  }
		}
	  }
	}
  }
}

.mprm_widget {

  .mprm-main-wrapper, .mprm-container {
	a.mprm-link {
	  text-decoration: none;
	  outline: none;
	  box-shadow: none;
	  border: none;

	  &:focus,
	  &:visited,
	  &:hover {
		text-decoration: none;
		outline: none;
		box-shadow: none;
		border: none;
	  }
	}

	.mprm-content-container {
	  &.mprm-title {
		a {
		  font-weight: bold;
		}
	  }
	}

	.mprm_menu_item_buy_button {
	  form {
		a {
		  &.mprm-btn {
			text-decoration: none;
			outline: none;
			box-shadow: none;
			border: none;
			&:focus,
			&:visited,
			&:hover {
			  text-decoration: none;
			  outline: none;
			  box-shadow: none;
			  border: none;
			}
		  }
		}
	  }
	}
  }
}

.mprm-container {
  &.mprm-view-simple-list {
	> div[class^="mprm-columns-count-"] {
	  &.mprm-all-items {
		column-gap: 2em;
		&.mprm-columns-count-1 {
		  columns: 1;
		}
		&.mprm-columns-count-2 {
		  columns: 2;
		}
		&.mprm-columns-count-3 {
		  columns: 3;
		}
		&.mprm-columns-count-4 {
		  columns: 4;
		}
		&.mprm-columns-count-6 {
		  columns: 6;
		}
		.mprm-simple-view-column {
		  display: inline-block;
		  width: 100%;
		  .mp_menu_item {
			& > div {
			  &:last-child {
				margin-bottom: 1.5em;
			  }
			}
		  }
		  .mprm-columns {
			width: 100%;
		  }
		  &.mprm-last {
			.mp_menu_item {
			  & > div {
				&:last-child {
				  margin-bottom: 0;
				}
			  }
			}
		  }
		}
	  }
	}
	.mprm-flex-item {
	  &.mprm-title {
		a {
		  font-weight: bold;
		}
	  }
	}
  }
  &.mprm-taxonomy-items-simple-list, &.mprm-taxonomy-items-grid, &.mprm-taxonomy-items-list {
	.mprm-header-content {
	  background-color: rgba(70, 70, 70, 0.5);
	}
  }
}

.mprm-form-error {
/*  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
*/
}

.mprm-container {
  margin: 0;
  padding: 0;
  position: relative;
  .mprm-row {
	.hentry {
	  margin: 0;
	  padding: 0;
	}
	padding-bottom: @padding-bottom-default;
  }
}

.type-mp_menu_item {
  &.hentry {
	.mprm-related-items {
	  > a {
		display: inline-block;
	  }
	}
  }
}

.mprm-ingredients {
  .mprm-ingredients-delimiter {
	&:last-child {
	  display: none !important;
	}
  }
}

.mprm-main-wrapper, .mprm-container {
  .mprm-taxonomy-title {
	font-size: 120%;
	font-weight: bold;
	margin: 0 0 1.5em 0;
  }
  .mprm-plugin-mode {
	.mprm-price-box, .mprm-tags-wrapper, .mprm-proportions, .mprm_menu_item_buy_button, .mprm-ingredients, .mprm-nutrition, .mprm-related-items, .mprm-price-container {
	  margin-bottom: 0.5em;
	}
	.mprm-list {
	  &.mprm-flex-container-simple-view {
		list-style: none inside none !important;
		> li {
		  list-style: none inside none !important;
		}
	  }
	  padding: 0;
	  margin: 0;
	  list-style-position: inside;
	}
  }
  .mprm-theme-mode {
	.mprm-list {
	  list-style: none inside none !important;
	  > li {
		list-style: none inside none !important;
	  }
	}
  }
  .mprm-list {
	&.mprm-flex-container-simple-view {
	  margin: 0;
	  padding: 0;
	  &:first-child {
		margin: 0 0 8px 0;
	  }
	}
	li.mprm-tag {
	  display: inline-block;
	}
	.mprm-ingredient, .mprm-ingredients-delimiter {
	  margin: 0;
	  display: inline-block;
	}
	.mprm-proportion {
	  display: list-item;
	  margin: 0;
	}
	.mprm-ingredients-delimiter {
	  margin: 0;
	}

  }
  .mprm-tags {
	.mprm-tag {
	  border: 1px solid #606060;
	  padding: 0 0.5em;
	  display: inline-block;
	  margin-top: 0.5em;
	}
  }
}