/*custom font*/
@import url('https://db.onlinewebfonts.com/c/9a32923a93758d21bf312cf2f6e643d6?family=Helvetica+Neue+LT+Pro+75+Bold');

@import url(https://fonts.googleapis.com/css?family=Montserrat); /*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: #f9f9f9;
}

body {
    font-family: 'Helvetica Neue LT Pro 75 Bold';
    overflow-x: hidden;
    height: 100vh;
    color: #103769;
    display: flex;
    flex-direction: column;
}

header {
  height: 80px;
  width: 100%;
}

span {
    font-size: 0.875rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
  }

.icon {
    list-style: none;
  }
  
  .icon::before {
    content: "";
    float: left;
    margin-right: 5px;
    display: block;
    width: 26px;
    height: 24px;
    mask: url(../bea_svg_sprite.svg);
    mask-position: left -82px;
    -webkit-mask-position: left -82px;
    background: #fff;
  }

  .logo {
    width: 150px;
  }
.left_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80px;
  }
  .left_block > h2 {
    font-size: 0.875rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-left: 10px;
  }
   .items {
    display: flex;
    max-width: 762px;
    width: 100%;
    margin: auto;
    justify-content: space-between;
    align-items: center;
  }
 


footer {
    display: flex;
    flex-direction: column;
    background-color: #eeeeee;
  }
  
  .footer_block {
    max-width: 762px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer_block > p {
    color: #787878;
    text-align: center;
    margin: 37px 0 0 0;
    font-size: 16px;
    margin-top: 0;
    font-weight: 400;
  }
  
  footer > span {
    width: inherit;
    color: #A1B0CB;
    height: 52px;
    border-top: 1px solid #d9d9d9;
    text-align: center;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
  }

  a {
    color: #354052;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
  }

  .nav_block {
    display: flex;
    max-width: 470px;
    width: 100%;
    justify-content: space-around;
  }

  @media screen and (max-width: 660px) {
    .left_block > h2 {
      font-size: 0.665rem;
    }
    .icon > span {
      font-size: 0.665rem;
    }
  
    .nav_block {
      flex-direction: column;
    }
}
.fa {
    margin-left: -85%;
}

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

.col-ffff-6 {
    width: 100%;
}

/*form styles*/
#msform {
    width: 1200px;
    margin: auto;
    text-align: center;
    position: relative;
    margin-top: 30px;
    flex: 1 0 auto;
}

#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: #0000fd;
    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: #0092e1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px;
    margin: 75px 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;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    margin-top: 270px;
    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: 19.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: #fff;
    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: #5656ff;
    color: white;
}

@media screen and (max-width: 600px) {
    #msform {
        width: 100%;
        text-align: center;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

    #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: 85%;
        /*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: 270px ;
        height: 45px;
        background: #0000fd;
        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: #0092e1;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 1px;
        cursor: pointer;
        padding: 10px;
        margin: 40px 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-bottom: 30px;
        margin-top: 270px;
        margin-left: 6px;
        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: 19.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: #fff;
        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: #5656ff;
        color: white;
    }

    .fs-title {
        font-size: 17px;
        font-weight: 900;
        text-transform: uppercase;
        color: #28292a;
        margin-bottom: 27px;
    }
}

