/* info для сервисной запчасти */
#spare_part_info {
    margin: 0 3px;
    background:url(/media/unicom/images/Info.png) no-repeat; 
    background-size:16px 16px; 
	width: 16px;
	height: 16px;	 
}
/* дополнительное описание в шапке  */
#th-catalog-about, #th-catalog-category {
    margin-left: 5px;
    background:url(/media/unicom/images/what_is_it.png) no-repeat; 
    background-size:25px 25px; 
	width: 25px;
	height: 25px; 
	
}
#th-catalog-about, #th-catalog-category,#spare_part_info {
	display: inline-block; 
	vertical-align: middle; 
    cursor: pointer;   
    
}
#parts_img{
 /*   pointer-events:none; 
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;     */
    width:20px;
    height:20px;    
}


.my_class {
	border:1px solid red !important;
}


.market-parts-input {
    display: block;
    margin: 0 auto;
    margin-left: 5%;
    margin-top: 30px;
    text-align:left;
}
/*
.market-parts-input input::-ms-clear {
    display: none;
}
*/
.market-parts-input input{
	padding-left:5px;
	border-right: none; 
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.1), inset 0 1px 2px rgba(0,0,0,0.3);
	border-radius: 15px;
	background: #EEE;
	color: #555;
	outline:1px solid #666; /* Параметры рамки */
	}
.market-parts-input input:focus {
	box-shadow: inset 0 0 5px rgba(0,0,0,0.2), inset 0 1px 2px rgba(0,0,0,0.4);
	background: #E8E8E8;
	color: #333;
}
.market-parts-input label{
	margin-right: 5px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 17px;
    font-weight: 300; 
    line-height: 1.3;
}

#autocomplete{
    max-width: inherit; 
    width:30%;
}


input[type=search] {
	-webkit-appearance: none; 
	-moz-appearance: none;
	} 
input[type=search] {
	text-transform: capitalize;    
}
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
    height: 100px;
}
.ui-autocomplete-clear {
    background:url(/media/unicom/images/close_a.png);
    background-size:25px 25px; 
    background-repeat:no-repeat;	 

	display: inline-block; 
	vertical-align: middle; 
	text-align: center;
	width: 25px;
	height: 25px; 
    cursor: pointer;    
}
/* таблица */
/* div.market, #input-clear, #market-form{display:none;}	 */
div.market {
    display: flex;
    overflow-x: auto;     
/*    display:none; */
/*    width:100%;*/
}

div.market table{
	width:100%;   
	margin-top: 20px;
	padding:0; 
	border-spacing:0;  
}
div.market table tr {
    vertical-align:middle;
}
div.market table tr td{	
	font-size: 12px;
	text-align:center;
	cursor: pointer; 
/*	margin:0 -5px 0 0;  */
	text-decoration: none; 
	color: #524f4f; /*#777;*/
	font-weight:normal; 
/*	border:none; */
	border-bottom:1px outset; 	
	border-collapse:separate; 
/*	border-top: none;   */
	padding: 3px;
	
}
div.market table {
    white-space:nowrap;

	border:1px outset; 
	border-collapse:separate; 
/*	border-top: none; */

} 
div.market table tr,div.market table td, div.market table th  {border: 1px solid grey;} 
/*table, th, td, tr  {border: 1px solid grey;} */


div.market table tr th {padding: 5px;background: #f1f1f5;} 

div.market table #catalog:nth-child(even) {    background: #f1f1f5;}
div.market table #catalog:hover{ background-color: #aaaaaa;}
div.market {text-align:justify;}
div.market table th {
    vertical-align: middle;
/*    background: #3f97d6;
    color: #fff; */
	text-align: center;
}
/* дополнительное описание в шапке  */

#data_record{
   font-size: 80%; 
   margin: 12px 0 -20px 0; 
/*   padding:0 5 0 0; */
}
/* встплывающие подсказки */
.mytooltip {
	border-bottom: 1px dotted #000000; color: #000000; outline: none;
	cursor: help; text-decoration: none;
	position: relative; 
}

.mytooltip span {
	margin-left: -999em;
	position: absolute;
}
.mytooltip:hover span {
	border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
	font-family: Calibri, Tahoma, Geneva, sans-serif; 
	position: absolute; left: 1em; top: 2em; z-index: 99;
	margin-left: 0; width: 250px;
	font-size:0.8em;
	white-space: pre-wrap;
	text-align:left;
}

.mytooltip:hover img {
	border: 0; margin: -10px 0 0 -55px;
	float: left; position: absolute;
}
.mytooltip:hover em {
	font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold; 
	display: block; padding: 0.2em 0 0.6em 0;
}
.classic { padding: 0.8em 1em; }
.custom { padding: 0.5em 0.8em 0.8em 2em; }
/* * html a:hover { background: transparent; } */
.classic {background: #FFFFAA; border: 1px solid #FFAD33; }
.critical { background: #FFCCAA; border: 1px solid #FF3334;	}
.help { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.info { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.warning { background: #FFFFAA; border: 1px solid #FFAD33; }

.cap{top: 40em;}
/* встплывающие подсказки конец */

@media screen and (max-width:640px) {

    div.market-parts-input, #market-parts-button, #autocomplete{
        margin: 10px 0 10px 0;
        }
    div.market-parts-input #autocomplete{
        width: 90%; 
    }

} 