body {
	color: #8f8f8f;
	font: 12px Tahoma, sans-serif;
	border-top: 0px solid #7e7e7e;
	margin: 0;
	width: 100%;
}

img {
	border: 0;
	
}

p {
	margin: 20px 0;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.input {
	background-color: #f3f3f3;
	border: 1px solid #e7e7e7;
	height: 30px;
	color: #b2b2b2;
	padding: 0 10px;
	vertical-align: top;
}

.button {
	color: #fff;
	background-color: #29c5e6;
	border: none;
	height: 32px;
	font-family: 'Oswald', sans-serif;
}

.image {
	border: 1px solid #fff;
	outline: 1px solid #c9c9c9;
}

figure img {
	display: block;
}

.wrapper {
	max-width: 960px;
	margin: auto;
}

header {
	padding: 0px 0;
}

.main-container {width:100%;max-width:100%}


.main-heading {
	width: 100%;
	margin: 30px 0;
	padding-left: 20px;
}

.main-heading h1 {
	display: inline-block;
	color: #7e7e7e;
	font: 40px/40px 'Oswald', sans-serif;
	background: url(images/bg.png);
	margin: 0;
	padding: 0 10px;
	text-transform: uppercase;
}

aside {
	float: left;
	width: 250px;
}

aside + section {
	margin-left: 280px;
	padding-bottom: 50px;
}

footer {
	clear: both;
	background: #222222;
	color: #ffffff;
	font-size: 13px;
	padding: 0 10px;
} 

.search-form {
	float: right;
	padding-top: 10px;
}

/* Стили для МЕНЮ */
#main_menu_top {
    background: #ffffff; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#FFFFFF, #FFFFFF);
    background: -o-linear-gradient(#FFFFFF, #FFFFFF);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#FFFFFF)); /* older webkit syntax */
    background: -webkit-linear-gradient(#FFFFFF, #FFFFFF); /* ФОН МЕНЮ */
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px; /* Рамка вокруг меню */
    clear: both;
    display: block;
    float: left;
    margin: 20px; /* Отступ сверху */
    width: 100%;
}

main_menu_top ul {
    font-size: 13px;
    list-style: none;
    margin: 0 0 0 -0.8125em;
    padding-left: 0;
	color: black;
	 
}
#main_menu_top li {
    float: left;
	color: black;
    position: relative;
	list-style: none; 
}
#main_menu_top a {
    color: #000000; /* Цвет шрифта пункта меню */
    display: block;
    line-height: 3.333em;
    padding: 0 1.2125em;
    text-decoration: none;
}
#main_menu_top ul ul {
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    margin: 0;
    position: absolute;
    top: 3.333em;
    left: 0;
    width: 188px;
    z-index: 99999;
}
#main_menu_top ul ul ul {
    left: 100%;
    top: 0;
}
#main_menu_top ul ul a {
    background: #f9f9f9;
    border-bottom: 1px dotted #ddd;
    color: #444;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 1.4em;
    padding: 10px 10px;
    width: 168px;
}
#main_menu_top li:hover > a,
#amain_menu_top ul ul :hover > a,
#main_menu_top a:focus {
    background: #efefef;
	list-style: none; 
}
#main_menu_top li:hover > a,
#main_menu_top a:focus {
    background: #f9f9f9; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
    background: -o-linear-gradient(#f9f9f9, #e5e5e5);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
    background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
    color: #000000; /* Цвет пункта меню при наведении */
}
#main_menu_top ul li:hover > ul {
    display: block;
	list-style: none; 
}

/* Для текущего пункта меню */
#main_menu_top .current-menu-item > a, 
#main_menu_top .current-menu-ancestor > a,
#main_menu_top .current_page_item > a,
#main_menu_top .current_page_ancestor > a {
    font-weight: normal;
}

/* Эффекты для картинок */
.zoom-effect {
  transition: transform 1s;
}

.zoom-effect:hover {
  transform: scale(1.07);
}

