/*
Theme Name: NIIAE
Theme URI: http://niiae.ru/
Author: AlexFreelance
Author URI: http://alexfreelance.ru
Version: 2.0
Description: ФГУП НИИАЭ специализируется на разработке современных электротехнических, электронных систем, компонентов и технологий для предприятий автостроения, тракторного и сельскохозяйственного машиностроения, автомобильного транспорта, оборонного комплекса и др. На сегодняшний день находится в составе МИНПРОМТОРГ РФ. Институт представляет собой современный научно-исследовательский комплекс, который решает сложные технические и технологические задачи.
Text Domain: theme
*/
html {
  line-height: 1.15;
 /* 1 */
  -webkit-text-size-adjust: 100%;
 /* 2 */;
}

body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  background: #f5f4f9;
}

main {
  display: block;
}

h1 {
  font-size:32px;
  margin: 1rem 0;
}

h2 {
  font-size: 26px;
  margin: 1rem 0;
}
.content h2 {
	font-size: 22px;
}
h3 {
  font-size: 18px;
}

hr {
  box-sizing: content-box;
 /* 1 */
  height: 0;
 /* 1 */
  overflow: visible;
 /* 2 */;
}

pre {
  font-family: monospace, monospace;
 /* 1 */
  font-size: 1em;
 /* 2 */;
}

a {
  background-color: transparent;
  text-decoration: none;
}

abbr[title] {
  border-bottom: none;
 /* 1 */
  text-decoration: underline;
 /* 2 */
  text-decoration: underline dotted;
 /* 2 */;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
 /* 1 */
  font-size: 1em;
 /* 2 */;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
 /* 1 */
  font-size: 100%;
 /* 1 */
  line-height: 1.15;
 /* 1 */
  margin: 0;
 /* 2 */
  outline: none;
}

button,
input {
 /* 1 */
  overflow: visible;
  outline: none;
}

button,
select {
 /* 1 */
  text-transform: none;
  outline: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  border: none;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  outline: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: none;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
 /* 1 */
  color: inherit;
 /* 2 */
  display: table;
 /* 1 */
  max-width: 100%;
 /* 1 */
  padding: 0;
 /* 3 */
  white-space: normal;
 /* 1 */;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
  outline: none;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
 /* 1 */
  padding: 0;
 /* 2 */;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
 /* 1 */
  outline-offset: -2px;
 /* 2 */;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
 /* 1 */
  font: inherit;
 /* 2 */;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

ul,li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alignleft {
	float: left;
	margin: 1rem 1rem 1rem 0;
}
.alignright {
	float: right;
	margin: 1rem 0 1rem 1rem;
}
.pagination {
	display: flex;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.pagination span.page-numbers {
	
}
.pagination span.page-numbers.current {
	background: #dde6f7;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #1d6bd8;
    cursor: auto;
}
.pagination a.page-numbers {
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #909398;
	transition: 0.5s all;
}
.pagination a.page-numbers .arrow_prev,.pagination a.page-numbers .arrow_next {
	color: #1d6bd8;
}
.pagination a:hover {
	transition: 0.5s all;
    opacity: 0.8;
}
section {
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.item .link_post {
	display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.pre_title {
  color: #1d6bd8;
}

.pre_title:before {
  content: '\2014';
  margin-right: 6px;
}

.subtitle {
  color: #909398;
  font-size: 16px;
  margin: 1rem 0 2rem 0;
}

.button {
  height: 50px;
  line-height: 50px;
  background: #1d6bd8;
  color: #fff;
  font-weight: 300;
  display: inline-block;
  padding: 0 25px;
  border-radius: 4px;
  margin: 1rem 0;
  transition: 0.5s all;
  cursor: pointer;
}

.button:hover {
  transition: 0.5s all;
  opacity: 0.8;
}

.divider_top {
  background: #fff;
  color: white;
  clip-path: polygon(0 0, 100% 0%, 100% 50%, 0 100%);
  height: 400px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.divider_bottom {
  background: #fff;
  color: white;
  clip-path: polygon(0 50%, 0% 100%, 100% 100%);
  height: 300px;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 0;
}

.breadcrumbs {
  padding: 2rem 0;
  color: #909398;
  background: #fff;
}
.breadcrumbs a {
  color: #909398;
}

header {
  box-shadow: 0 0 10px #ccc;
  z-index: 2;
  position: relative;
}
.home header {
	box-shadow: none;
}
header .top .container {
  display: flex;
  flex-wrap: wrap;
}

header .top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 0;
  background: #f5f4f9;
}

header .top span {
  color: #828191;
  padding-left: 30px;
  margin-right: 1rem;
  position: relative;
  line-height: 20px;
  font-size: 14px;
}
header .top span a {
	color: #1d6bd8;
}
header .top span:last-child {
  margin: 0;
}

header .info_left, header .info_right {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

header .info_left .phone:before,header .info_left .letter:before,header .info_right .address:before,header .info_right .time:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: url(/wp-content/uploads/theme/icons.png) no-repeat;
  left: 0;
  background-size: 80px;
}

header .info_left {
}

header .info_left .phone {
}

header .info_left .phone:before {
  background-position: -3px -3px;
}

header .info_left .letter {
}

header .info_left .letter:before {
  background-position: -3px -28px;
}

header .info_right {
  justify-content: flex-end;
}

header .info_right .address {
}

header .info_right .address:before {
  background-position: -28px -28px;
}

header .info_right .time {
}

header .info_right .time:before {
  background-position: -28px -2px;
}

header .bottom {
  background: #fff;
}

header .bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

header .logo {
  width: 210px;
  height: 60px;
  background: url('/wp-content/uploads/theme/niiae_logo.png') no-repeat;
  background-size: cover;
  margin-right: 10px;
}

.menu_primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 80px;
  line-height: 80px;
  justify-content: flex-end;
  width: calc(100% - 220px);
}

.menu_primary .menu-primary-container {
}

.menu_primary ul.menu {
  display: flex;
  flex-wrap: wrap;
}

.menu_primary ul.menu li {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.menu_primary ul.menu li.current-menu-item {
  background: #f5f4f9;
  transition: 0.3s all;
}

.menu_primary ul.menu li:first-child {
  margin-left: 0px;
}

.menu_primary ul.menu li:last-child {
  margin-right: 0px;
}

.menu_primary ul.menu li a {
  height: 100%;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  padding: 0 1rem;
}

.menu_primary ul.menu li.current-menu-item:after, .menu_primary ul.menu li:hover:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  background: #1d6bd8;
  height: 2px;
  bottom: 0;
  transition: 0.3s all;
}

.menu_primary ul.menu li.current-menu-item a {
  transition: 0.3s all;
}

.menu_primary ul.menu li a:hover {
  color: #1d6bd8;
  transition: 0.3s all;
}

.bc_home {
  width: 20px;
  height: 20px;
  background: url(/wp-content/uploads/theme/icons.png) no-repeat;
  background-position: -44px -20px;
  background-size: 70px;
  position: relative;
  display: inline-block;
}

.footer_top {
  color: #5b5f7c;
  background: #0b0f2a;
  padding: 2rem 0;
}

.footer_top .container {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.footer_top .widget {
  width: 24%;
  margin-right: 1.33%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer_top .widget:first-child {
}

.footer_top .widget:last-child {
  margin: 0px;
}

.footer_top .widget p {
  margin: 10px 0 0 0;
}

.footer_top .widget span {
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.footer_top .widget a {
  color: #5b5f7c;
  transition: 0.5s all;
}

.footer_top .widget a:hover {
  transition: 0.5s all;
  color: #f5f4f9;
}
.footer_top .phone,.footer_top .letter {
	
}
.footer_top .phone:before,.footer_top .letter:before {
	content: '';
    position: relative;
    width: 20px;
    height: 20px;
    background: url(/wp-content/uploads/theme/icons.png) no-repeat;
    left: 0;
    background-size: 80px;
    display: inline-block;
	margin-right: 10px;
}
.footer_top .phone:before {
	background-position: -3px -3px;
}
.footer_top .letter:before {
	background-position: -3px -28px;
}
.footer_bottom {
  color: #5b5f7c;
  background: #050622;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}
@media (max-width: 1200px) and (min-width: 998px) {
	.container, section .container, footer .container {
		width: calc(100% - 4rem);
		padding: 0 2rem;
	}
	.feedback_form .left_half .image {
		background-position: top center;
	}
	.menu_primary ul.menu li a {
		padding: 0 10px;
		font-size: 14px;
	}
	.banner {
		padding: 4rem 0;
	}
	.banner:before {
		background: -moz-linear-gradient(1deg, rgba(2,0,36,1) 35%, rgba(8,12,41,0.2) 100%);
    background: -webkit-linear-gradient(1deg, rgba(2,0,36,1) 35%, rgba(8,12,41,0.2) 100%);
    background: linear-gradient(1deg, rgba(2,0,36,1) 35%, rgba(8,12,41,0.2) 100%);
	}
	.banner .container {
		padding: 0;
	}
	.banner .content {
		width: 100%;
    text-align: center;
	}
	.banner .content h1 {
		font-size: 26px;
	}
	.we_better {
		min-height: unset;
	}
	.we_better .left_half {
		width: 50%;
	}
	.we_better .right_half {
		width: 50%;
	}
	.we_better .left_half .one, .we_better .left_half .two {
		height: 240px;
	}
	.we_better .left_half .two {
		right: 50px;
	}
	.home .divider_bottom, .home .divider_top,.page-template-about .divider_top, .page-template-about .divider_bottom {
		height: 200px;
	}
	.about .container {
		align-items: inherit;
	}
	.about .left_half {
		width: 40%;
    height: unset;
    margin: 0;
	}
	.about .left_half .image {
		    width: 100%;
    height: 100%;
    position: relative;
	}
	.about .right_half {
		width: calc(60% - 2rem);
		margin-left: 2rem;
	}
	.about .right_half .button {
		margin: 0;
	}
}