﻿/* Стили */

#top {
  background: #0e2a46;
  border-bottom: 4px solid #f0c310;
}

#top .inner {
  position: relative;
  width: 980px;
  margin: 0 auto;
  padding: 20px 0;
}

#top .inner #logo {
  padding: 1px 0 4px 28px;
}

#top .inner #logo span,
#top .inner #logo a {
	font-family: Segoe, Arial, Helvetica;
	color: #74b1fc;
  display: block;
  text-transform: uppercase;
  width: 200px;
  text-decoration: none;
	font-size: 14px;
	line-height: 1.2em;
	font-weight: bold;
}

#top .inner #motto {
  position: absolute;
  top: 20px;
  left: 280px;
  width: 350px;
  font-size: 18px;
  line-height: 1.2em;
	font-weight: lighter;
  color: #f0c310;
  text-transform: uppercase;
	font-family: Segoe, Arial, Helvetica;
}

#top .inner #top-menu {
	font-size: 16px;
  position: absolute;
  top: auto;
  right: 30px;
  bottom: 20px;
  left: auto;
  width: 672px;
  font-family: helios-bold, sans-serif;
  text-transform: uppercase;
  color: white;
}

#top .inner #top-menu td {
  vertical-align: bottom;
  width: 0;
  white-space: nowrap;
}

#top .inner #top-menu td.spacer {
  width: 15%;
}

#top .inner #top-menu td.active a {
  color: white;
}

#top .inner #top-menu a {
  color: #3da4fc;
  text-decoration: none;
}

#top .inner #top-menu a:hover {
  text-decoration: underline;
}

#top .inner .contacts {
	font-family: Segoe, Arial, Helvetica;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  text-align: right;
  color: #f0c310;
	font-weight: lighter;
}
#top .inner .contacts .Mail {
	font-size: 20px;
	line-height: 1.5em;
}

#top .inner .top-menu,
#top .inner .top-menu * {
  box-sizing: border-box;
}

#top .inner .top-menu {
  position: absolute;
  right: 30px;
  bottom: 20px;
  font-size: 16px;
  font-family: helios-bold, sans-serif;
  text-transform: uppercase;
  color: white;
}

#top .inner .top-menu .top-menu__end {
  clear: right;
}

#top .inner .top-menu > .menu-item {
  position: relative;
  float: right;
  margin: 0;
}

#top .inner .top-menu > .menu-item+.menu-item {
  margin-right: 0.8em;
  cursor: pointer;
}

#top .inner .top-menu > .menu-item > .menu-item-content {
  position: relative;
  color: #3da4fc;
  text-decoration: none;
}

#top .inner .top-menu > .menu-item.active > .menu-item-content {
  color: #3da4fc;
}

#top .inner .top-menu > .menu-item.menu-item--link > .menu-item-content:hover {
  text-decoration: underline;
}

#top .inner .top-menu > .menu-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -40px;
  right: -40px;
  padding: 5px 15px 0;
  background-color: #0e2a46;
  z-index: 100;
}

#top .inner .top-menu > .menu-item.menu-item--sub-menu:hover > .menu-item-content .sub-menu {
  display: block;
}

#top .inner .top-menu .sub-menu > .menu-item {
  padding: 0.6em 0;
}

#top .inner .top-menu .sub-menu > .menu-item+.menu-item {
  border-top: 1px solid rgba(255,255,255, 0.15);
}

#top .inner .top-menu .sub-menu > .menu-item > .menu-item-content {
  position: relative;
  color: #3da4fc;
  text-decoration: none;
}

#top .inner .top-menu .sub-menu > .menu-item.menu-item--link > .menu-item-content:hover {
  text-decoration: underline;
}