/*BARRA----------------------------------------*/
#barra{
	height: 165px;
	width: 100%;
	margin: 0 auto 20px auto;
}

#logocab{
	width: 163px;
	display: block;
	padding-top: 30px;
	cursor: pointer;

}

/*#menu tr{
	padding: 0;
	margin: 0;
}*/

#menu td{
	font-weight: 300;
	font-size: 15pt;
	padding: 0 30px 0 30px; /* Поля вокруг текста */ 
    border: 20x solid #a52a2a; /* Граница вокруг ячеек */ 
    text-align: center;
	
}

#menu{
	width: 100%;
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 0.5px;
	border-bottom-color: #DCDCDC;
	border-bottom-style: solid;

}

#menu a:link, #menu a:visited{
	color: black;
	text-decoration: none;
}

#menu a:hover{
	color: #F01182;
	text-decoration: underline;

}
#imenu{
	display: none;
}
/*END BARRA-----------------------------------*/

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

	#barra{
	height: auto;
}

#logocab{
	width: 150px;
	display: block;
	padding-top: 30px;
	cursor: pointer;

}
#menu td{
	font-weight: 300;
	font-size: 15pt;
    text-align: left;
    float: left;
    width: 80%;
    margin: 5px 0 5px 0;
}

#menu{
	margin-top: 20px;
	padding-top: 15px;
	padding-bottom: 20px;
	border-bottom-width: 0.5px;
	border-bottom-color: gray;
	border-bottom-style: solid;
	background-color: grey;
	float: left;
	z-index: 2;
	display: none;

}

#menu a:link, #menu a:visited{
	color: white;
	text-decoration: none;
}

#menu a:hover{
	color: #F01182;
	text-decoration: underline;
}
#imenu{
	display: block;
	width: 35px;
	height: 30px;
	float: left;
	margin: -45px 0px 0 15px;
}
#imenu hr{
	margin: 0 0 8px 0;
	border: 2px solid black;

}
}