/* Убираем квадратик */
.mod-menu__toggle-sub .icon-chevron-down {
    display: none;
}

/* Скрываем стрелку */
.mod-menu__toggle-sub .icon-chevron-down {
    display: none;
}

/* Абсолютное подменю, чтобы не ломать контейнер */
.mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;           /* скрыто по умолчанию */
    background-color: #fff;  /* фон подменю */
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    min-width: 180px;
    list-style: none;        /* убираем кружочки */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* легкая тень */
}

/* Пункты подменю вертикально */
.mod-menu__sub li {
    float: none;
    width: 100%;
    position: relative;      /* для вложенных подменю */
}

/* Ссылки в подменю */
.mod-menu__sub a {
    display: block;
    padding: 5px 15px;
    line-height: 20px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    background: none;
}

/* Hover для подменю */
.mod-menu__sub li:hover > a {
    background-color: #eee;
    color: #000;
}

/* Показать подменю при hover родителя */
.mod-menu > li:hover > .mod-menu__sub {
    display: block;
}

/* Поддержка вложенных подменю */
.mod-menu__sub li:hover > .mod-menu__sub {
    display: block;
    top: 0;
    left: 100%; /* выдвигается вправо */
}

/* Сброс стилей списка для совместимости с Bootstrap 2 */
.mod-menu__sub.list-unstyled {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.9em; /* маленький шрифт */
}

.navbar-inner {
  align-content: center;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Основное меню */
.mod-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mod-menu > li {
    float: left;
    margin: 0;
    padding: 0;
    position: relative; /* для абсолютного подменю */
}

/* Ссылки меню */
.mod-menu > li > a {
    display: block;
    padding: 0 15px;
    text-decoration: none;
    color: #333;          /* основной цвет меню */
    background: none;     /* фон по умолчанию */
}

.navbar .nav > li > a {
	float: none;
	padding: 11px 15px 11px;
	color: #0088cc;
	text-decoration: none;
	text-shadow: none;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
	color: #fff;
	text-decoration: none;
	background-color: #0088cc;
	-webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,0.125);
	-moz-box-shadow: inset 0 3px 8px rgba(0,0,0,0.125);
	box-shadow: inset 0 3px 8px rgba(0,0,0,0.125);
}

.nav > li > a:hover,
.nav > li > a:focus {
	text-decoration: none !important;
	background-color: #eee !important;
}

/* Подменю */
.mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 180px;
    z-index: 1000;
}

/* Подменю пункты */
.mod-menu__sub li {
    float: none;
    width: 100%;
}

.mod-menu__sub a {
    display: block;
    padding: 5px 15px;
    line-height: 20px;
    white-space: nowrap;
    color: #333; /* цвет ссылок подменю */
}

/* Показать подменю при hover */
.mod-menu > li:hover > .mod-menu__sub {
    display: block;
}

.nav-pills > li > a {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	margin-top: 2px !important;
	margin-bottom: 2px !important;
	-webkit-border-radius: 5px !important;
	-moz-border-radius: 5px !important;
	border-radius: 5px !important;
}

.nav-pills > li > a {
	padding-right: 12px !important;
	padding-left: 12px !important;
	margin-right: 2px !important;
	line-height: 14px !important;
}

.navbar {
    margin: 0;
}

h1, h2, h3, h4, h5, h6, .site-title {
    font-family: 'Open Sans', sans-serif;
}

.navigation {
	padding: 2px 0;
}

.navigation .nav > li > .mod-menu__sub:before {
	position: absolute;
	top: -7px;
	left: 9px;
	display: inline-block;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #ccc;
	border-left: 7px solid transparent;
	border-bottom-color: rgba(0,0,0,0.2);
	content: '';
}

.navigation .nav > li > .mod-menu__sub:after {
	position: absolute;
	top: -6px;
	left: 10px;
	display: inline-block;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #ffffff;
	border-left: 6px solid transparent;
	content: '';
}

.navigation .mod-menu__sub {
	position: absolute;
	top: 95%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	list-style: none;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0,0,0,0.2);
	*border-right-width: 2px;
	*border-bottom-width: 2px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
}

.navigation .mod-menu__sub li > a:hover,
.navigation .mod-menu__sub li > a:focus,
.navigation .mod-menu__sub:hover > a {
	text-decoration: none;
	color: #fff;
	background-color: #005e8d;
	background-color: #005783;
	background-image: -moz-linear-gradient(top,#005e8d,#004d74);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#005e8d),to(#004d74));
	background-image: -webkit-linear-gradient(top,#005e8d,#004d74);
	background-image: -o-linear-gradient(top,#005e8d,#004d74);
	background-image: linear-gradient(to bottom,#005e8d,#004d74);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005e8d', endColorstr='#ff004c73', GradientType=0);
}

.nav-list > .active > a, .nav-list > .active > a:hover, .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover, .nav-pills > .active > a, .nav-pills > .active > a:hover, .btn-primary {
    background-color: #0088cc !important;
}