﻿input.date {width:7em; text-align:right;}
input.error {width:7em; text-align:right; border-color:red;}

.mm {position:absolute; padding:.2em; border:1px solid #ccc; background-color:#fff; z-index:2;}
.mm table {border-collapse:separate; table-layout:fixed; text-align:center; font-family:arial, tahoma; font-size:11px;}
.mm col {width:2em; }
.mm col.red {background-color:#ffffcc;}
.mm td {padding:0; vertical-align:middle; height:1.5em; }
.mm td div {padding: .1em 0 0 0; border:1px solid #999; border-color:#ddd #777 #777 #ddd; cursor:default;}
.mm td div:hover, .mm td .hover {background-color:#eee; border-color:#777 #ddd #ddd #777 ;}
.mm div.red {color:#c00;}
.mm select {margin-right:0;}
.mm .ri {text-align:right;}
.mm p {margin:0;}
.disnone {display:none;}

ol {text-align:left; width:40em; font-size:.75em; margin:0 auto; font-family:verdana;}

.metka {background-image:url(img/metka.gif);  background-repeat:no-repeat; background-position:right bottom; }

.prim {
	color: #aaa; font-style: italic;
}
@media print  {
	.noprint {display: none !important;}
	div.yashare-auto-init {display: none !important;}
}
/*---------Оформление подсказок. Общие стили---------*/
.support {
	display: inline-block;
	position: relative;
	text-decoration: none;
	cursor: pointer;
}
.support em {
	background: #FFFFFF;
	border-radius: 10px;
	border: 1px solid #999;
	text-align: center;
	color: #999;
 	font: normal bold 11px Arial;
 	padding: 0 3px;
}
.tip { 
  	display: none;
  	position: absolute;
  	z-index: 9998;
  	top: 0;
  	left: 100%;
  	background: #EDEDED;
  	border-radius: 3px;
  	border: 1px solid #ccc;
  	box-shadow: 5px 5px 0.5em -0.1em rgba(0,0,6,0.5);
  	text-align: left;
  	color: #000;
  	font: normal 500 14px Times New Roman;
//  	opacity: .9;
  	cursor: default;
  	padding: 5px;
  	margin: -30px 0 0 0;
  	width: auto;
	min-width: 220px;
  	min-height: 32px; 
 	height: auto;
}
.tip:before {
 	border-width: 9px 8px 9px 0;
 	border-color: transparent #cccccc transparent transparent;
 	top: 13px;
 	left: -9px;
}
.tip:after {
 	border-width: 7px 7px 7px 0;
 	border-color: transparent #ededed transparent transparent;
 	top: 15px;
 	left: -7px;
}
.tip:before,
.tip:after {
 	content:"";
 	position:absolute;
 	width: 0px;
 	height: 0px;
 	border-style: solid;
}
.tip-block {
 	display: inline-block;
 	position: relative;
 	background: transparent;
 	margin: 0;
 	padding: 0;
 	border: 0;
 	height: 0;
 	width: 1px;
}
#tip1:checked ~ .support em, #tip2:checked ~ .support em, #tip3:checked ~ .support em, #tip4:checked ~ .support em, #tip5:checked ~ .support em {
 	background: #79B9D3;
	color: #fff;
	border: 1px solid #79B9D3; // #999;
}
/*----------Использование тега 'INPUT'--------------*/
#tip1:checked ~ * .tip, #tip2:checked ~ * .tip, #tip3:checked ~ * .tip, #tip4:checked ~ * .tip, #tip5:checked ~ * .tip {
    	display: block;
}
.tip-checkbox {
  	display: none;
}
.tip-close {
 	display: inline-block;
  	position: absolute;
 	background: #79B9D3; // #333;
 	border-radius: 20px;
 	border: 2px solid #FFF;
 	top: -9px;
 	right: -12px;
 	font: normal bold 13px Comic Sans MS;
 	text-align: center;
 	color: #fff;
 	cursor: pointer;
 	padding: 0 4px;
}
/*---- /подсказки -----*/