@charset "utf-8";
/* CSS Document */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.m_header {
  position: -webkit-sticky;
  position: sticky /* Закрепляем элемент */;
  top: 0 /* Указывем на каком расстоянии от верха браузера будет крепиться шапка сайта */;
  z-index:6;
  background-color: aliceblue;
}
.m_header img {
	margin-top:5px;
	margin-bottom:5px;
	
}
.m_content {
	align-items:flex-start;
    text-align:left;
	position:relative;
	background-color:white;
	padding-bottom:10px;
	z-index: 5;
}
#m_content {
	align-items:center;
    text-align:center;
	position:relative;
	background-color:white;
	padding-bottom:10px;
	
	min-height:100%;
    z-index:5;

}
#m_content img {
	vertical-align:middle;
}

.m_input {
	height : 40px;
	width:80%;
	margin:10px;
	font-size: 1.4em;
	
}
.m_check {
	font-size:1.5em;
	margin:10px;
	
}
.m_actual,.m_actmes {
    padding: 10px; /* Поля вокруг текста */
    border-radius: 10px; /* Уголки */
	vertical-align:middle;
	margin:5px 5px 5px 5px;
	border: none;
	text-align: center;
}
.m_actual {
	
	background-color:#9400D3;
	color: yellow;
	font-weight:bold;
}
.m_actual:hover {
	background-color:#F164E0;
	text-decoration: underline;
    transform: scale(1.1); 
	transition: 0.3s;
}
.m_actual:not(:hover) {
	transition: 0.3s;
}
.m_actual img {
	margin-right: 3px;
}
.m_actmes {
	background-color:#ffc0cb;
}

.m_block {
  display: block;
  
  margin-left: 6px;
  position: relative;
}

.m_block input[type="text"] {
  display: inline-block;
  width: 100%;
  height: 40px;
  border-radius: 40px;
  padding-left: 10px;
  padding-right: 85px; /* ширина кноки + желаемый отступ */
  text-overflow: '..'; /* необязательно */
  border: 2px solid blue;
  box-sizing: border-box;
}

.m_block input[type="submit"] {
  display: inline-block;
  width: 75px; /* ширина кнопки фиксирована */
  height: 32px;
  border-radius: 32px;
  border: 2px solid blue;
  background: blue;
  color: #fff;
  margin: 4px;
  position: absolute;
  top: 0; right: 0;
  
}
.m_mcont  {
	background-color:white;
	padding:5px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}
.m_card {
	background-color:white;
	margin:5px;
	width:360px;
	display:inline-block;
	padding-bottom:10px;
	margin-right:10px;
	box-shadow: 0 6px 4px -4px rgba(122,122,122,0.5);
	position: relative;
}
.m_cardimg img {
	max-width:250px;
	max-height:250px;
	min-height:150px;
}
.m_kod {
	margin:5px 5px 5px 5px;
	max-width:50px;
}
.m_mark {
	width:auto;
	
	float:left;
	padding:3px 6px 3px 6px;
	border-radius:5px;
	background-color:green;
	color: white;
}
.m_kod,.m_mark {
	display:block;
	font-weight:bold;
	font-size:12px;
	
}
.m_name {
	padding:5px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size:1em;
	font-weight:bold;
}
  a.m_add, a.m_minus,a.m_plus {
	    background: rgb(47,180,36) linear-gradient(rgb(106,158,126), rgb(47,180,36) 80%);
		
  }
  a.m_del {
	    background: rgb(180,47,36) linear-gradient(rgb(160,68,72), rgb(180,47,36) 80%);
		float:left;
  }
  a.m_add {
	  float:left;
  }
  a.m_del:before{
		content: 'УДАЛИТЬ';
  }
  a.m_add:before{
		content: 'В КОРЗИНУ';
  }
  a.m_plus:before{
		content: '+';
  }
  a.m_minus:before{
		content: '-';
  }
  a.m_add, a.m_minus,a.m_plus,a.m_del, .m_send {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px rgba(0,0,0,.5);
  user-select: none;
  padding: .7em 1.5em;
  border: 1px solid rgb(80,32,0);
  border-radius: 5px;
  outline: none;
  transition: .2s;
  position: relative;
} 
.m_send {
	background: rgb(54,180,36) linear-gradient(rgb(84,255,66), rgb(54,180,36) 80%);
	
	height:50px;
	width:200px;	
	margin-left:24px;
	margin-right:24px;
  }
.m_del:active { 
  background: rgb(120,63,25) linear-gradient(rgb(120,63,25) 20%, rgb(167,91,41));
}
.m_add:active, .m_plus:active, .m_minus:active { 
  background: rgb(63,120,25) linear-gradient(rgb(63,120,25) 20%, rgb(91,167,41));
}
.m_add:active, .m_plus:active, .m_minus:active, .m_del:active {
  box-shadow:
   0 2px rgb(86,38,6),
   0 1px 6px rgba(0,0,0,.4),
   inset 0 1px rgba(255,255,255,.3),
   inset 0 0 3px rgba(255,255,255,.5);
  -webkit-transform: translate(0, 4px);
  transform: translate(0, 4px);

}
.m_inv_cont {
   visibility: hidden;
}
.m_buy {
	position:relative;
	float:left;
}
.m_cardinput  {
	width:50px;
	height:40px;
	text-align:center;
    font-size:1.2em;
	font-weight:bold;	
}
.m_cbasket {
  position: relative;
  display: inline-block;
}
.m_cbasket span {
  position: absolute;
  right: 0.1rem;
  top: 0;
  background: tomato;
  color: white;
  border-radius: 50%;
  font-size: 60%;
  padding: 0.2rem;
  min-width:1.1rem;
}
.btn-group button {
    background-color: #4CAF50; /* Green background */
    border: 1px solid green; /* Green border */
	border-radius: 3px;
    color: white; /* White text */
    padding: 12px 6px 12px 6px; /* Some padding */
    cursor: pointer; /* Pointer/hand icon */
	margin-top: 5px;
	margin-right: 5px;
 /*   float: left;  Float the buttons side by side */
}

/* Clear floats (clearfix hack) */
.btn-groupold:after {
    content: "";
    clear: both;
    display: table;
}
.btn-group {
	align-items:center;
    text-align:center;
	position:relative;
	background-color:white;
	padding-bottom:10px;
	
	min-height:100%;
    z-index:5;

}

.btn-group button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}

/* Add a background color on hover */
.btn-group button:hover {
    background-color: #3e8e41;
}
.m_row {
	overflow: hidden;
	text-align:left;
	border-width:2px;
	border-color:red;
	border-style:solid;
	padding:5px 10px 5px 5px;
	margin-bottom:10px;
}
.m_row img {
	align-content:center;
	max-width:100px;
	max-height:100px;
}
.m_inblock {
	border-width:2px;
	border-color:green;
	border-style:solid;
	float: left;
	display:inline-block;
	min-height:260px;
    max-width:220px;
}
.m_info {
	border-width:2px;
	border-color:blue;
	border-style:solid;
	float: left;
	border:solid;
	border-width:2px;
	display:inline-block;
    max-width:100px;
	height:100%;
}
.m_price {
	font-size:1.6em;
	font-weight:bold;
	color:#EC933B;
}
.m_comment {
	font-size:1.2em;
	margin:0;
	height: 5rem;
	width:100%;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius: 10px; 
}
.m_orders {
	border-color:black;
	border-style:solid;
	border-width: 1px;
	position:relative;
	float:none;
	margin: 5px;
	display:inline-block;
	width:100%;
	max-width: 320px;
}
.m_orders input {
	margin: 5px;
	font-size:1.2em;
	font-weight:bold;
    font-family: Geneva, Arial, Helvetica, sans-serif;	
	background: rgb(54,180,36) linear-gradient(rgb(84,255,66), rgb(54,180,36) 80%);
	height: 50px;
	color: white;
	border-radius: 5px;
	border: hidden;
}
.m_summa {
	/*display:inline-block;*/
	float:none;
	
	margin: 10px;
	font-size:1.6em;
	font-weight:bold;
    font-family: Geneva, Arial, Helvetica, sans-serif;	
	color:#EC933B;
}
.m_data {
	border-color:black;
	border-style:solid;
	border-width: 1px;
	
	padding: 8px;
	margin: 5px;
	border-radius: 5px;
	background-color: #97F2D6;
	display:inline-block;
    float:left;
}
.m_orders .m_trash {
	float:right;
  position:absolute;
	font-size: 1.6em;
	color: gray;
  right: 10px;
  bottom: 0px;
}
.m_star {
	top: 50px;
	right: 0px;
}
.m_video {
	top: 80px;
	right:0px;
}
.f_video {
	top: 15px;
	right:110px;
}
.m_star, .m_video, .f_video {
	display: block;
	position: absolute;
	
	min-height: 28px;
}
.m_star img, .m_video img, .f_video img {
	height: 28px;
	width: 28px;
}
.sp_green, .sp_red 
{
	position: absolute;
	top: 5px;
	left:0;
	bottom: 0;
	right: 0;
	margin: auto;
}
.sp_green 
{
	color:#187A2D;	
}
.sp_red 
{
	color:#88181A;	
}
.sp_gray 
{
	position: absolute;
	top: 18px;
	right:98px;
	margin: auto;
	color:gray;	
	display: none;
}



