/*custom font*/
@import url(https://fonts.googleapis.com/css?family=Montserrat); @font-face {
  font-weight: 400;
  /* Соответствует значению normal */
  font-family: AzoSans;
  src: url("https://nbs.sk/wp-content/themes/iq-theme/dist/fonts/bf64d4646fbfe0e182b90bd6cf4b6bf6.woff2");
}

/*basic reset*/
* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  /*Image only BG fallback*/
  /*background = gradient + image pattern combo*/
  background: #fff;
}

body {
  font-family: montserrat, arial, verdana;
  height: 100%;
  display: flex;
    flex-direction: column;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 120px;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

footer {
  flex: 0 0 auto;
}
.login__container {
  margin: auto !important;
  max-width: 1200px !important;
}

h1 {
  /* margin-left: 5%; */
  color: #414141;
}

@media screen and (max-width: 600px) {
  header {
      /* width: 110%; */
  }

  .logo {
      width: 120px;
      /* margin-left: 35%; */
  }
}

.fa {
  margin-left: -85%;
}

.fa-size {
  font-size: 3em;
}

/*form styles*/
#msform {
  width: 1200px;
  margin: 50px auto;
  text-align: center;
  position: relative;
  height: 50vh;
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  width: 80%;
  margin: 0 10%;
  /*stacking fieldsets above each other*/
  position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

/*inputs*/
#msform input, #msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2C3E50;
  font-size: 13px;
}

/*buttons*/
#msform .action-button {
  width: 600px;
  height: 55px;
  background: #60cd18;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px;
  margin: 25px 5px;
  text-decoration: none;
  font-size: 14px;
}

#msform .action-button:hover, #msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #0c0c38;
}

.next-button {
  width: 600px;
  height: 55px;
  background: #60cd18;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px;
  margin: 25px 5px;
  text-decoration: none;
  font-size: 14px;
}

.next-button:hover, .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #0c0c38;
}

/*headings*/
.fs-title {
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
  color: #28292a;
  margin-bottom: 44px;
  margin-top: -48px;
  margin-left: -6%;
}

.fs-title-long {
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  color: #28292a;
  margin-bottom: 44px;
  margin-top: -48px;
  margin-left: 11%;
}

.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
  margin-bottom: 30px;
  margin-top: 0px;
  margin-left: 37px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}

#progressbar li {
  list-style-type: none;
  color: #22224a;
  text-transform: uppercase;
  font-size: 9px;
  width: 16.33%;
  float: left;
  position: relative;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 20px;
  line-height: 20px;
  display: block;
  font-size: 10px;
  color: #333;
  background: #e1e1e1;
  border-radius: 15px;
  margin: 0 auto 5px auto;
}

/*progressbar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #afa7a7;
  position: absolute;
  left: -50%;
  top: 9px;
  z-index: -1;
  /*put it behind the numbers*/
}

#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
  background: #60cd18;
  color: white;
}

@media screen and (max-width: 600px) {
  #msform {
      width: 400px;
      margin: 50px auto;
      text-align: center;
      position: relative;
  }

  #msform fieldset {
      background: white;
      border: 0 none;
      border-radius: 3px;
      box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
      padding: 20px 30px;
      box-sizing: border-box;
      width: 90%;
      margin: 0;
      /*stacking fieldsets above each other*/
      position: block;
      margin-left: auto;
      margin-right: auto;
  }

  /*Hide all except first fieldset*/
  #msform fieldset:not(:first-of-type) {
      display: none;
  }

  /*inputs*/
  #msform input, #msform textarea {
      padding: 15px;
      border: 1px solid #ccc;
      border-radius: 3px;
      margin-bottom: 10px;
      width: 100%;
      box-sizing: border-box;
      font-family: montserrat;
      color: #2C3E50;
      font-size: 13px;
  }

  /*buttons*/
  #msform .action-button {
      width: 270px ;
      height: 45px;
      background: #60cd18;
      font-weight: bold;
      color: white;
      border: 0 none;
      border-radius: 1px;
      cursor: pointer;
      padding: 10px;
      margin: 10px 5px;
      text-decoration: none;
      font-size: 14px;
  }

  #msform .action-button:hover, #msform .action-button:focus {
      box-shadow: 0 0 0 2px white, 0 0 0 3px #0c0c38;
  }

  .next-button {
      width: 225px;
      height: 45px;
      background: #60cd18;
      font-weight: bold;
      color: white;
      border: 0 none;
      border-radius: 1px;
      cursor: pointer;
      padding: 10px;
      margin: 10px 5px;
      text-decoration: none;
      font-size: 14px;
  }

  .next-button:hover, .next-button:focus {
      box-shadow: 0 0 0 2px white, 0 0 0 3px #0c0c38;
  }

  /*headings*/
  .fs-title {
      font-size: 15px;
      text-transform: uppercase;
      color: #2C3E50;
      margin-bottom: 10px;
  }

  .fs-subtitle {
      font-weight: normal;
      font-size: 13px;
      color: #666;
      margin-bottom: 20px;
  }

  /*progressbar*/
  #progressbar {
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
      overflow: hidden;
      /*CSS counters to number the steps*/
      counter-reset: step;
  }

  #progressbar li {
      list-style-type: none;
      color: #60cd18;
      text-transform: uppercase;
      font-size: 9px;
      width: 16.33%;
      float: left;
      position: relative;
  }

  #progressbar li:before {
      content: counter(step);
      counter-increment: step;
      width: 20px;
      line-height: 20px;
      display: block;
      font-size: 10px;
      color: #333;
      background: #e1e1e1;
      border-radius: 15px;
      margin: 0 auto 5px auto;
  }

  /*progressbar connectors*/
  #progressbar li:after {
      content: '';
      width: 100%;
      height: 2px;
      background: #afa7a7;
      position: absolute;
      left: -50%;
      top: 9px;
      z-index: -1;
      /*put it behind the numbers*/
  }

  #progressbar li:first-child:after {
      /*connector not needed before the first step*/
      content: none;
  }

  /*marking active/completed steps green*/
  /*The number of the step and the connector before it = green*/
  #progressbar li.active:before, #progressbar li.active:after {
      background: #60cd18;
      color: white;
  }

  .fs-title {
      font-size: 17px;
      font-weight: 900;
      text-transform: uppercase;
      color: #28292a;
      margin-bottom: 27px;
      margin-top: -42px;
      margin-left: 20%;
  }

  .fs-title-long {
      font-size: 17px;
      font-weight: 900;
      text-transform: uppercase;
      color: #28292a;
      margin-bottom: 27px;
      margin-top: -42px;
      margin-left: 20%;
  }
}
