html, body {
  margin: 0;
  height: 100%; }

header {
  display: block;
  height: 100px;
  width: 100%; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #033954;
  padding: 15px; }
  nav img {
    width: 5rem; }
  nav .lang-inline {
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: space-around;
    width: 188px; }
    @media (max-width: 599px) {
      nav .lang-inline {
        justify-content: flex-end; } }
    nav .lang-inline li {
      padding: 0 8px; }
    nav .lang-inline:hover {
      cursor: pointer; }

.icon-nav {
  display: none;
  width: 22px; }
  @media (max-width: 599px) {
    .icon-nav {
      display: block; } }
  @media (min-width: 1200px) {
    .icon-nav {
      display: none; } }

@media (max-width: 599px) {
  .nav-text {
    display: none; } }

@media (min-width: 1200px) {
  .nav-text {
    display: block; } }

article {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; }
  @media (max-width: 599px) {
    article {
      flex-direction: column; } }
  @media (min-width: 900px) {
    article {
      flex-direction: column; } }
  @media (min-width: 600px) {
    article {
      flex-direction: column; } }
  @media (min-width: 1200px) {
    article {
      flex-direction: row; } }
  @media (max-width: 1199px) {
    article #sidebar {
      display: none; } }
  @media (min-width: 1200px) {
    article #sidebar {
      display: block; } }

.menulmenu {
  list-style: none;
  padding: 0; }
  .menulmenu li {
    padding: 0 0 8px 20px; }
  .menulmenu a {
    color: #033954;
    font-family: Verdana;
    text-decoration: none; }

.unusual_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px; }
  @media (max-width: 1199px) {
    .unusual_block {
      flex-direction: row;
      flex-wrap: wrap;
      width: 100%; } }
  @media (min-width: 1200px) {
    .unusual_block {
      flex-direction: column; } }
  .unusual_block .double_icons {
    display: flex;
    width: 100%; }
    @media (max-width: 1199px) {
      .unusual_block .double_icons {
        width: auto; } }
    .unusual_block .double_icons:last-child {
      justify-content: center;
      margin: 10px; }
      @media (max-width: 1199px) {
        .unusual_block .double_icons:last-child {
          margin: 0;
          justify-content: flex-start; } }
      .unusual_block .double_icons:last-child div {
        margin: 10px; }
        @media (max-width: 1199px) {
          .unusual_block .double_icons:last-child div {
            margin: 0; } }
  .unusual_block .middle {
    justify-content: space-between; }
    @media (max-width: 1199px) {
      .unusual_block .middle {
        align-items: baseline;
        justify-content: flex-start; } }
  .unusual_block .latest_one_company {
    margin: 2px; }

section:first-child {
  display: flex;
  flex-basis: 30%;
  align-items: center; }

section:nth-child(2) {
  flex-basis: 40%;
  position: relative; }

section:last-child {
  height: 100%;
  flex-basis: 30%; }

section .right_sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 66vh;
  width: 80%;
  align-items: center;
  flex-basis: 30%; }
  @media (max-width: 899px) {
    section .right_sidebar {
      height: 40%; } }
  @media (max-width: 1199px) {
    section .right_sidebar {
      display: block;
      width: 100%;
      height: auto; } }

@media (min-width: 1200px) and (orientation: portrait) {
  .earth {
    width: 38vw; } }

@media (min-width: 1200px) and (orientation: landscape) {
  .earth {
    width: 70vh; } }

@media (max-width: 1199px) {
  .earth {
    width: 62%;
    margin-bottom: 20px; } }

.customeach {
  display: flex;
  justify-content: center; }

.latest_company {
  display: flex; }

.new_people {
  position: absolute;
  left: -65px;
  bottom: -10px; }
  @media (max-width: 1199px) {
    .new_people {
      position: relative;
      display: flex;
      justify-content: center; } }
  .new_people .latest_one_company:first-child {
    position: absolute;
    left: 3.5em;
    bottom: 7.3em; }
    @media (max-width: 1199px) {
      .new_people .latest_one_company:first-child {
        position: relative;
        left: 0;
        bottom: 0; } }
  .new_people .latest_one_company:nth-child(2) {
    position: absolute;
    left: 5em;
    bottom: 4em; }
    @media (max-width: 1199px) {
      .new_people .latest_one_company:nth-child(2) {
        position: relative;
        left: 0;
        bottom: 0; } }
  .new_people .latest_one_company:last-child {
    position: absolute;
    left: 7.3em;
    bottom: 1.1em; }
    @media (max-width: 1199px) {
      .new_people .latest_one_company:last-child {
        position: relative;
        left: 0;
        bottom: 0; } }

.latest_one_company, .new_articles_one {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #CCCCCC;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  margin: 10px; }
  .latest_one_company img, .new_articles_one img {
    width: 100%;
    height: 100%;
    border-radius: 50px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #033954;
  position: absolute;
  height: 60px;
  margin: 0;
  padding: 0;
  width: 100%;
  bottom: 0; }
  @media (max-width: 1199px) {
    footer {
      height: 40px;
      position: relative;
      flex-direction: column; } }
  @media (max-width: 899px) {
    footer {
      position: absolute; } }
  @media (min-width: 1200px) {
    footer {
      flex-direction: row; } }
  footer .nav-menu {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0; }
    @media (max-width: 899px) {
      footer .nav-menu {
        display: none; } }
    @media (min-width: 1200px) {
      footer .nav-menu {
        flex-direction: row; } }
    footer .nav-menu li {
      margin-left: 20px; }
    footer .nav-menu a {
      color: #033954;
      text-decoration: none; }
  footer .ff {
    margin-right: 15px; }

#custom_new_block {
  flex-direction: column; }

.custom_new_block_item {
  display: flex; }

main .main-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; }
  @media (max-width: 1199px) {
    main .main-wrap {
      flex-direction: column;
      justify-content: center; } }

.block-earth {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  justify-content: center; }
  @media (max-width: 899px) {
    .block-earth {
      display: none; } }

.block-form {
  flex-basis: 30%; }
  @media (max-width: 1199px) {
    .block-form {
      width: 40%; } }
  @media (max-width: 899px) {
    .block-form {
      width: 76%;
      margin-top: 35px; } }
  .block-form form .userdata {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    min-height: 236px;
    align-items: center; }
  .block-form form .registrationdata {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    min-height: 520px;
    align-items: center; }

.input-form {
  color: #033954; }

.control-group {
  width: 100%; }

.rememm a {
  text-decoration: none;
  color: red;
  font-size: 18px; }

.controls {
  display: flex;
  justify-content: space-around;
  align-items: center; }
  .controls .login-button, .controls .register-button {
    background: #1d6847;
    border: 1px solid #1d6847;
    color: #FFF;
    border-radius: 0;
    padding: 10px;
    width: 180px; }
  .controls input, .controls select {
    background: #fff;
    border: 1px solid #CCC;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 0;
    height: 30px;
    padding: 4px;
    color: #555;
    width: 70%; }

.controls-register {
  justify-content: space-between; }

.checkboxes {
  border: none; }

#user_country {
  width: 72.5%;
  height: 40px; }

fieldset {
  padding: 0; }
