/*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;
}

@font-face {
  font-family: 'ApercuPro-Regular';
  src: url('../fonts/ApercuPro-Regular.eot');
  src: url('../fonts/ApercuPro-Regular.woff') format('woff'), url('../fonts/ApercuPro-Regular.ttf') format('truetype'), url('../fonts/ApercuPro-Regular.otf') format('opentype'), url('../images/ApercuPro-Regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ApercuPro-Bold';
  src: url('../fonts/ApercuPro-Bold.eot');
  src: url('../fonts/ApercuPro-Bold.woff') format('woff'), url('../fonts/ApercuPro-Bold.ttf') format('truetype'), url('../fonts/ApercuPro-Bold.otf') format('opentype'), url('../images/ApercuPro-Bold.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
  /*Image only BG fallback*/
  /*background = gradient + image pattern combo*/
  background: #fff;
}

body {
  font-family: montserrat, arial, verdana;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80px;
  background: #fff;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}

footer > p {
  font-size: medium;
  font-family: ApercuPro-Regular;
  color: #481335;
  text-align: center;
  margin-top: 10px;
}

.logo {
  width: 140px;
  display: flex;
  align-items: center;
}


footer {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
  border-top: 1px solid #d5d5d5;
  height: 45px;
  align-items: center;
}

.left_side {
}

.left_side > span {
  color: #a7a7a7;
  font-size: .725rem;
}

.right_side {
}

.right_side > span {
  color: #a7a7a7;
  font-size: .725rem;
  margin-left: 10px;
}


h1 {
  /* margin-left: 5%; */
  color: #414141;
}

@media screen and (max-width: 600px) {
  header {
      /* width: 110%; */
  }

  .logo {
      width: 320px;
      /* margin-left: 35%; */
  }
}

.fa {
  margin-left: -85%;
}

.fa-size {
  font-size: 3em;
}

/*form styles*/
#msform {
  max-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: #004bc5;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px;
  margin: 25px 5px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 23px;
}

#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: #004bc5;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px;
  margin: 25px 5px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 23px;
}

.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: #004bc5;
  color: white;
}

@media screen and (max-width: 600px) {
  #msform {
      max-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: #004bc5;
      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: #004bc5;
      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: #004bc5;
      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: #004bc5;
      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%;
  }
}

.footer-main {
  background-color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  padding: 80px 50px;
  margin-top: 40px;
  justify-content: space-between
}

.text {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.footer-main .luminor-icon {
  width: 210px;
  height: 349px;
  position: absolute;
  left: 0;
  bottom: 0
}

.footer-main .luminor-icon svg {
  position: absolute;
  top: 0;
  bottom: 0
}

@media only screen and (max-width: 1023px) {
  .footer-main .luminor-icon {
      height:233px;
      width: 140px
  }
}

.footer-main .container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

.footer-main .container>DIV.primary {
  flex: 0 0 auto;
  margin-bottom: 30px
}

.footer-main .container>DIV.secondary {
  flex: 0 1 auto;
  padding-left: 5px
}

.footer-main .container>DIV.terms {
  flex: 0 0 100%
}

.footer-main .container .primary UL {
  display: flex;
  padding: 0;
  margin-right: 10px
}

.footer-main .container .primary UL LI {
  margin-right: 20px
}

.footer-main .container .primary UL LI A {
  text-transform: uppercase;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px
}

.footer-main .container .columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap
}

.footer-main .container .columns>LI {
  flex: 0 0 auto;
  margin: 0 40px 40px 0
}

.footer-main .container .columns>LI:last-of-type {
  margin-right: 0
}

.footer-main .container .columns>LI>P {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0;
  letter-spacing: 1px
}

.footer-main .container .columns>LI UL {
  padding: 0;
  margin: 50px 0 0;
  list-style: none
}

.footer-main .container .columns>LI UL.download LI:not(:first-child) {
  margin-top: 30px
}

.footer-main .container .columns>LI UL.download A:focus:after {
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px)
}

.footer-main .container .columns>LI UL LI {
  padding-left: 0;
  color: #fff;
  margin: 0
}

.footer-main .container .columns>LI UL LI DIV {
  display: flex;
  align-items: center;
  margin-bottom: 10px
}

.footer-main .container .columns>LI UL LI DIV SPAN {
  font-weight: 800;
  margin-left: 7.5px;
  line-height: 1;
  letter-spacing: 1px
}

.footer-main .container .columns>LI UL LI SPAN {
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  line-height: 30px
}

.footer-main .container .columns>LI UL LI:before {
  content: none
}

.footer-main .container .columns>LI UL LI A {
  font-size: 14px;
  font-weight: 800;
  line-height: 26px;
  letter-spacing: 1px;
  display: block
}

.footer-main .container .columns>LI UL LI A:focus:after {
  left: -5px;
  width: calc(100% + 10px);
  height: 100%
}

@media only screen and (max-width: 1023px) {
  .footer-main .container .columns>LI UL {
      margin:0
  }
}

.footer-main .container .columns UL {
  padding: 0;
  margin: 0
}

@media only screen and (max-width: 1023px) {
  .footer-main .container .columns {
      margin-top:0
  }
}

.footer-main .container .terms {
  padding-top: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
  color: #cbcbcb;
  text-align: right
}

.footer-main .container .terms-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  color: #fff;
  width: 100%;
  justify-content: flex-end
}

.footer-main .container .terms-links LI {
  margin: 20px 0 0 20px
}

.footer-main .container .terms-links A {
  color: inherit
}

.footer-main .container .terms-links A:focus:after {
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px)
}

.footer-main .container .terms-text {
  max-width: 900px
}

@media only screen and (max-width: 759px) and (orientation:portrait),only screen and (max-width:869px) and (orientation:landscape) {
  .footer-main {
      padding:50px 20px
  }

  .footer-main .container {
      flex-direction: column
  }

  .footer-main .container .columns {
      flex-wrap: wrap;
      justify-content: flex-start;
      margin-left: 0;
      margin-top: 0
  }

  .footer-main .container .columns>LI {
      flex: 0 0 50%;
      margin: 30px 0 0!important;
      order: 2
  }

  .footer-main .container .columns>LI.download {
      order: 1
  }

  .footer-main .container .columns>LI.download UL.download>LI {
      flex: 0 0 50%;
      margin: 0;
      padding: 20px 20px 0 0;
      box-sizing: border-box
  }

  .footer-main .container .columns>LI.download UL.download>LI SPAN {
      font-size: 12px;
      line-height: 16px;
      display: block
  }

  .footer-main .container>DIV.primary {
      margin-bottom: 0
  }

  .footer-main .container>DIV.primary UL {
      margin-right: 0
  }

  .footer-main .container>DIV.terms {
      padding: 50px 0 0;
      display: block;
      position: relative;
      z-index: 1;
      text-align: right
  }

  .footer-main .container>DIV.terms-links {
      display: block
  }

  .footer-main .container>DIV.terms-links>LI {
      margin: 5px 0 0!important
  }

  .footer-main .container>DIV.terms-text {
      margin: 0;
      padding: 20px 0 0 50px;
      font-size: 12px
  }
}