@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNext-Bold.eot');
    src: local('Avenir Next Bold'), local('AvenirNext-Bold'),
        url('../fonts/AvenirNext-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/AvenirNext-Bold.woff2') format('woff2'),
        url('../fonts/AvenirNext-Bold.woff') format('woff'),
        url('../fonts/AvenirNext-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNext-Medium.eot');
    src: local('Avenir Next Medium'), local('AvenirNext-Medium'),
        url('../fonts/AvenirNext-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/AvenirNext-Medium.woff2') format('woff2'),
        url('../fonts/AvenirNext-Medium.woff') format('woff'),
        url('../fonts/AvenirNext-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNext-Regular.eot');
    src: local('Avenir Next Regular'), local('AvenirNext-Regular'),
        url('../fonts/AvenirNext-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/AvenirNext-Regular.woff2') format('woff2'),
        url('../fonts/AvenirNext-Regular.woff') format('woff'),
        url('../fonts/AvenirNext-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


/*[hidden] {*/
/*    display: none;*/
/*}*/



html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}




button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}



textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}


img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

h2 {
    font-family: 'Avenir Next';
    font-weight: normal;
    font-size: 32px;
    color: #0F1526;
    letter-spacing: 0;
    line-height: 42px;
    margin: 45px 0 30px 0;
}

h3 {
    font-family: 'Avenir Next';
    font-weight: normal;
    font-size: 28px;
    color: #0F1526;
    letter-spacing: 0;
    line-height: 42px;
    margin: 20px 0 15px 0;
}

h4 {
    font-family: 'Avenir Next';
    font-weight: normal;
    font-size: 24px;
    color: #0F1526;
    letter-spacing: 0;
    line-height: 42px;
    margin: 20px 0 15px 0;
}

h4 {
    font-family: 'Avenir Next';
    font-weight: normal;
    font-size: 20px;
    color: #0F1526;
    letter-spacing: 0;
    line-height: 42px;
    margin: 20px 0 15px 0;
}

h6 {
    font-family: 'Avenir Next';
    font-weight: normal;
    text-transform: uppercase;
    font-size: 16px;
    color: #0F1526;
    letter-spacing: 0;
    line-height: 42px;
    margin: 20px 0 15px 0;
}

a {
   color: #0F1526;
}

a:hover {
    color:#f4225b;
    text-decoration: none;
}

html, body {
  padding:0;
  margin:0;
  height: 100%;
  box-sizing: border-box;
  font-family: 'Avenir Next';
  font-weight: 500;
  width: 100%;
}

#sapper {
  height: 100%;
  overflow-x: hidden;
}

input {
  width:100%;
  border:none;
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 16px;
  color: #0F1627;
  letter-spacing: 0;
  line-height: 26px;
  padding: 5px 0;
  outline: none;
  background: transparent;
  caret-color: #07DFB3;
}

@media only screen and (min-width: 2000px) {
    input {
        font-size: 20px;
    }
}


div.errors {
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 14px;
  color: #FF225B;
  letter-spacing: 0;
  line-height: 26px;
  box-sizing: border-box;
}

.wrap-input {
  position: relative;
  padding-top: 35px;
  box-sizing: border-box;
  border-bottom: 1px solid #CACED4;
  overflow: hidden;
}

.wrap-input.filled label {
    transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    font-size: 13px;
    line-height: 26px;
}


.wrap-input:after {
    height:1px;
    bottom: 0;
    left:0;
    background: #07DFB3;
    width:100%;
    transition: all 0.3s;
    transform: scaleX(0);
    -ms-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -webkit-transform: scaleX(0);
    content:'';
    position: absolute;
    transform-origin: 0 0;
    display: none;
}

.wrap-input.filled {
    border-bottom-color: #07DFB3;
}

.wrap-input.filled:after{
    transform: scaleX(1);
    -ms-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

@media only screen and (min-width: 768px) {
    .wrap-input.filled {
       border-bottom-color: #CACED4;
    }
   .wrap-input:after {
       display: block;
   }
}

.wrap-input  label {
  position: absolute;
  box-sizing: border-box;
  left:0;
  top: 35px;
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 16px;
  color: #748497;
  letter-spacing: 0;
  line-height: 26px;
  padding: 6px 0;
  outline: none;
  z-index:3;
  transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transform: translate3d(0px, 0px, 1px);
}

@media only screen and (min-width: 2000px) {
    .wrap-input  label {
        font-size: 20px;
    }
}

@media only screen and (max-height: 760px) {
    .wrap-input {
      padding-top: 25px;
    }
    .wrap-input  label {
        top: 25px;
    }
    .wrap-input.filled label {
        transform: translateY(-22px);
        -ms-transform: translateY(-22px);
        -moz-transform: translateY(-22px);
        -webkit-transform: translateY(-22px);
    }
}


.button {
  background: #0F1526;
  box-sizing: border-box;
  border-radius: 35px;
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 1.33px;
  text-align: center;
  line-height: 24px;
  width:100%;
  box-shadow: none;
  padding: 20px 0;
  text-transform: uppercase;
  outline:none;
  border:none;
  transition: all 0.3s;
  cursor: pointer;
    text-decoration: none;
  display: inline-block;

}


.button:hover {
  background: #4adfb4;
  color: #0F1526;
}

@media only screen and (min-width: 2000px) {
    .button {
        font-size: 20px;
        padding: 23px 0;
    }
}

@media only screen and (max-height: 760px) {
    .button {
        padding: 15px 0;
         font-size: 15px;
    }
}

.button.button-green {
    background: #08DFB4;
    border-radius: 25px;
    font-size: 16px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
    line-height: 22px;
    padding: 14px 70px;
    text-transform: none;
    width:auto
}

.button.button-green:hover {
    background: #0F1526;
    color: #FFFFFF;
}

.hide {
    display: none !important;
}

.wrap-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wrap-page .main {
  flex: 1 0 auto;
  padding:60px 0;
  background: url("../image/bg-1.png") no-repeat;
  background-position: bottom center;
  background-size:100% auto;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-height: 840px) {
    .wrap-page .main {
        padding:20px 0 30px;
    }
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

@media only screen and (min-width: 1500px) {
    .container {
        max-width: 1100px;
    }
}

@media only screen and (min-width: 2000px) {
    .container {
        max-width: 1240px;
    }
}

h1 {
    font-family: 'Avenir Next';
    font-weight: bold;
    font-size: 46px;
    color: #0F1526;
    letter-spacing: 0;
    line-height: 60px;
    margin: 0 0 20px 0;
}


p {
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 16px;
  color: #0F1526;
  letter-spacing: 0;
  line-height: 30px;
}


@media only screen and (min-width: 2000px) {
    h1 {
        font-size: 60px;
        line-height: 80px;
        margin-bottom: 35px;
    }
    p {
       font-size: 20px;
    }
}

@media only screen and (max-height: 760px) {
    h1 {
       line-height: 50px;
        font-size: 44px;
    }
    p {
       line-height: 24px;
        font-size: 15px;
    }
}

.flat-page-container h1 {
 margin-bottom: 60px;
}

.flat-page-container .content > div {
 margin-top: 60px;
}
