.obshee {
margin:0 auto;
width: 800px;
box-shadow:1px 0px 16px 1px rgba(0,0,0,1);
-webkit-box-shadow:1px 0px 16px 1px rgba(0,0,0,1);
-moz-box-shadow:1px 0px 16px 1px rgba(0,0,0,1);
}     
.hed {
width: 800px;
height: 120px;
background-image: url(img/logo.jpg);
}
.txt1 {
width: 50%;
float: left;
}
.t1 {
padding-top: 25px;
margin-left: 15px;
color: #000080; 
font-size: 22px;
text-shadow: #5dc8e5 0 0 10px;
}
.t2 {
padding-top: 35px;
margin-left: 15px;
color: #000080; 
font-size: 16px;
text-shadow: #5dc8e5 0 0 10px;
}
.t3 {
color: #000080; 
font-size: 20px;
text-shadow: #5dc8e5 0 0 10px;
margin:0 auto;
padding: 10px;
}

#menu  {
	background: #3d404e linear-gradient(to bottom, #0d53c7 0%, #4e8cf4 100%);
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(236, 237, 237, 0.1) inset, 0 1px 2px rgba(0, 0, 0, 0.1);
    display: table;
    list-style: outside none none;
    margin: 0 auto;
    padding: 0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    visibility:visible;
width: 100%;
}

#menu li {
	display:block;
	float: left;
	position:relative;
}

#menu li a {
	display:table;
	padding: 0 20px;
	height: 50px;
	text-align: center;
	font:600 13px/50px arial;
	color: #fff;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.4);
	text-decoration: none;
	transition: 0.5s;
	-webkit-transition:0.5s;
	text-shadow: 0px 0px 13px rgba(150, 150, 150, 1);
}
#kdds {
	display:table;
	padding: 0 20px;
	height: 50px;
	text-align: center;
	font:600 13px/50px arial;
	color: #fff;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.4);
	text-decoration: none;
	transition: 0.5s;
	-webkit-transition:0.5s;
	text-shadow: 0px 0px 13px rgba(150, 150, 150, 1);
}

#menu li:first-child a {
    border-left: medium none;
}
#menu li:last-child a {
    border-right: medium none;
}

#menu li:hover a {
    background: #df4706;
    box-shadow: 0 0 5px rgba(0,0,0,0.3)inset;
}
#menu li:hover .sub-menu a {
    background: #f3f3f3;
    color: #2f3036;
    height: 40px;
    line-height: 40px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}

#menu li:hover .sub-menu a:hover {
    color: #df4706;
}

/* стили для выпадающего списка */

.sub-menu {
  visibility:hidden;
  opacity:0;
  position:absolute;
  z-index:-1;
  transition:visibility 0s linear 0.5s, opacity 0.5s linear;
  left: 0;
}

#menu li:hover > ul{
   visibility:visible;
   opacity:1;
   transition-delay:0s;
   z-index:1;
}

#menu .sub-menu li {
    float:none ;
	border-top:1px solid #dddddd;
}

#menu .sub-menu li a {
	width: auto;
	min-width: 100%;
	padding: 0 11px;
	white-space:nowrap;
	text-align:center;
	border:none;
	box-shadow:none;
}

#menu li a:hover + .sub-menu, .sub-menu:hover {
	display: block;
}
.cont {
padding: 15px;
}
.foot {
height: 50px;
background-color: #B0C4DE;
width: 100%;
}
a:link {
  color: #497DDD; 
  text-decoration: none;
}
a:visited {
  color: #EF7D55;
}
a:hover {
  color: #154088; 
  border-bottom: .07em solid;
}
a:active {
  color: #497DDD; 
  border-bottom: 1px dashed;
}
@media screen and (max-width: 500px){
#menu  {
width: 100%;
}
.memkas {
width: 330px;
}
.sub-menu {
	position: static;
	display: none;
}

.sub-menu li {
	margin-bottom: 1px;
}

#menu li, #menu li a {
	width: 100%;
	border:none;
	padding:0px;
}

#menu .sub-menu li a {
	padding:0px;
}

#menu  {
    width: 100%;
    }
.obshee {
margin:0 auto;
width: 350px;
}     
.hed {
width: 350px;
height: 120px;
background-image: url(img/logo.jpg);
}
.t1 {
padding-top: 5px;
margin-left: 5px;
font-size: 16px;
text-shadow: #5dc8e5 0 0 10px;
}
.t2 {
padding-top: 5px;
margin-left: 10px;
font-size: 14px;
text-shadow: #5dc8e5 0 0 10px;
}
img {
width: 320px;
}
.t3 {
color: #000080; 
font-size: 16px;
text-shadow: #5dc8e5 0 0 10px;
margin:0 auto;
padding: 8px;
}	
}