@font-face {
  font-family: 'serifa_bt_roman';
  src: url('../fonts/serifa_bt_roman.eot');
  src: url('../fonts/serifa_bt_roman.eot?#iefix') format('embedded-opentype'),
       url('../fonts/serifa_bt_roman.woff2') format('woff2'),
       url('../fonts/serifa_bt_roman.woff') format('woff');
        font-display: swap;
}

@font-face {
  font-family: 'serifa_bold_bt';
  src: url('../fonts/serifa_bold_bt.eot');
  src: url('../fonts/serifa_bold_bt.eot?#iefix') format('embedded-opentype'),
       url('../fonts/serifa_bold_bt.woff2') format('woff2'),
       url('../fonts/serifa_bold_bt.woff') format('woff');
        font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

body {
  min-height: 100vh;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'serifa_bt_roman';
  font-weight: 100;
}

main {
  overflow: hidden;
}

a {
  text-decoration: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

h3,h4 {
  font-weight: 100;
  color: #fff;
  line-height: 1;
}

h3 {
  font-family: 'serifa_bold_bt';
  font-size: 25px;
}

h4 {
  font-family: 'serifa_bt_roman';
  font-size: 23px;
}

p {
  font-family: 'serifa_bt_roman';
  font-size: 15px;
  line-height: 1.1;
  color: #fff;
  margin-top: 5px;
}

p:first-child {
  margin-top: 0;
}

.fs-18 {
  font-size: 18px;
}

.fs-16 {
  font-size: 16px;
  line-height: 1.05;
}

.banner {
  position: relative;
  width: 300px;
  height: 250px;
  background-color: #173f62;
  padding: 0 13px;
  overflow: hidden;
}

.first {
  opacity: 0;
  animation: first 0.2s linear;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
}

.second {
  display: none;
  opacity: 0;
}

.second-block {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0 13px;
}

.show .second {
  display: block;
  animation: first 0.2s linear;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
}

@keyframes first {
 0% {
  opacity: 0;
 }

 100% { 
  opacity: 1;
 }
}

.show .hide-first, .show .btn1 {
  animation: hide_first 0.2s linear;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
}

@keyframes hide_first {
 0% {
  opacity: 1;
  display: block;
 }

 100% { 
  opacity: 0;
  display: none;
 }
}

.line {
  position: relative;
  z-index: 1000;
}

.lines {
  position: absolute;
  z-index: 200;
  left: 0;
  width: 100%;
}

.lblue, .dblue {
  position: absolute;
}

.lblue {
  width: 276px;
  height: 36px;
  top: 59px;
  background: rgba(0,72,134,0.9);
}

.show .lines {
  opacity: 1;
  left: 0;
  top: 0;
}

.lblue:after {
  content: '';
  position: absolute;
  left: 276px;
  top: 0;
  width: 0; 
  height: 0; 
  border-bottom: 36px solid rgba(0,72,134,0.9);
  border-right: 11px solid transparent;
}

.dblue {
  width: 300px;
  height: 123px;
  top: 56px;
  right: 0;
  background: rgba(0,27,51,0.9);
}

.second .dblue {
  top: 96px;
  opacity: 1;
  height: 89px;
  right: -39px;
}

.dblue:after {
  content: '';
  position: absolute;
  right: 300px;
  width: 2px; 
  height: 0;
  border-top: 99px solid rgba(0,27,51,0.9);
  border-left: 20px solid transparent;
}

.second .dblue:after {
  border-top: 89px solid rgba(0,27,51,0.9);
}

.fl {
  display: flex;
}

.jc {
  justify-content: center;
}

.col1, .col2 {
  position: relative;
  z-index: 500;
}

.col1 {
  width: 52%;
}

.col2 {
  width: 48%;
}

.book {
  padding-right: 10px;
}

.book img {
  width: 100%;
  position: relative;
  top: 13px;
  box-shadow: 0 0 5px rgba(0,0,0,0.7);
}

.second .book img {
  width: 58%;
}

.btncl {
  display: block;
  font-family: 'serifa_bold_bt';
  font-size: 20px;
  line-height: 1;
  background: #dd4900;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  padding: 12px 10px 10px 10px;
}

.btn-block {
  position: absolute;
  z-index: 3000;
  bottom: -45px;
  width: 100%;
  left: 0;
  padding: 0 13px;
}

.btncl:hover {
  color: #dd4900;
  background: #fff;
}

.btn1 .btncl {
  position: relative;
  width: 100%;
  animation: pulse 1.2s infinite;
  animation-delay: 0.45s;
}

.btn1 {
  animation: btn1 0.17s linear;
  animation-fill-mode: forwards;
  animation-delay: 0.45s;
}

.show .btn2 {
  animation: btn1 0.17s linear;
  animation-fill-mode: forwards;
  animation-delay: 0.75s;
}

@keyframes btn1 {
  0% {
    opacity: 0;
    bottom: -45px;
  }
  100% { 
    opacity: 1;
    bottom: 13px;
  }
} 


.show .btn1 {
  opacity: 1;
  bottom: 13px;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255,255,255, 0.6);
  }
  70% {
      -webkit-box-shadow: 0 0 0 10px rgba(255,255,255, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba(255,255,255, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(255,255,255, 0.6);
    box-shadow: 0 0 0 0 rgba(255,255,255, 0.6);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(255,255,255, 0);
      box-shadow: 0 0 0 10px rgba(255,255,255, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(255,255,255, 0);
      box-shadow: 0 0 0 0 rgba(255,255,255, 0);
  }
}

.title1 {
  position: relative;
  padding-top: 13px;
}

.second .title1 {
  opacity: 1;
  top: 0;
  left: -53px;
}

.title2 {
  padding-top: 20px;
  padding-bottom: 15px;
}

.show .title2 {
  opacity: 1;
  filter: blur(0);
}

/*form*/
.privacy {
  display: inline-block;
  position: relative;
  z-index: 5000;
  font-family: 'serifa_bt_roman';
  color: #fff;
  font-size: 11px;
  text-decoration: underline;
  padding-left: 45px;
  margin-top: 8px;
}

.privacy:hover {
  color: #f7c7b0;
}

input {
  font-family: 'serifa_bt_roman';
  font-size: 16px;
  color: #000;
  background: #fff;
  border: 1px solid #c9e4f2;
  padding: 0 13px;
  box-sizing: border-box;
    outline: none;
   -webkit-appearance: default-button;
   -webkit-appearance: none;
   -webkit-tap-highlight-color: transparent;
}

input {
  width: 100%;
  height: 40px;
  flex: 1 1;
}

input:placeholder {
  font-family: 'serifa_bt_roman';
  font-size: 16px;
  color: #454545;
}

input::-webkit-input-placeholder {
  font-family: 'serifa_bt_roman';
  font-size: 16px;
  color: #454545;
}
input:-moz-placeholder {
  font-family: 'serifa_bt_roman';
  font-size: 16px;
  color: #454545;
}
input::-moz-placeholder {
  font-family: 'serifa_bt_roman';
  font-size: 16px;
  color: #454545;
}
input:-ms-input-placeholder {
 font-family: 'serifa_bt_roman';
 font-size: 16px;
 color: #454545;
}

.field {
  position: relative;
  z-index: 5000;
  padding-right: 13px;
  /*margin-top: 9px;*/
}

.field:first-child {
  margin-top: 0;
}

.field {
  display: flex;
  align-items: center;
}

.icon {
  margin-right: 12px;
}

.icon img {
  margin: 0 auto;
}

.form-content {
  position: absolute;
  z-index: 5000;
  width: 100%;
  left: 0;
  top: 0;
  padding-left: 70px;
  padding-top: 68px;
}

.show .title3 {
  position: relative;
  top: 0;
  padding-left: 32px;
}

form {
  /*position: relative;
  margin-top: 26px;
  left: 0;*/
  position: absolute;
  width: 300px;
  height: 250px;
  top: 0;
  left: 0;
  padding-top: 112px;
  padding-left: 69px;
  margin-top: 0;
}

.show .btn2 {
  opacity: 1;
}

.show .btn2 .btncl {
  animation: pulse 1.3s infinite;
  animation-delay: 4.2s;
}

input[type="submit"] {
  width: 100%;
  font-size: 20px;
  height: auto;
  border: 0;
  cursor: pointer;
}

input[type="submit"]:hover {
  color: #dd4900;
  background: #fff;
}

.show .form-block {
  z-index: 5000;
}

.logo-bg {
  position: absolute;
  z-index: 100;
  top: -28px;
  right: -28px;
}

/*results*/
#subscribe-result-block {
  display: none;
  position: absolute;
  z-index: 55000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  background-color: rgba(23,63,98,0.9);
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
}

#subscribe-result {
  font-size: 16px;
  color: #fff;
  line-height: 1.45;
  padding: 0 20px;
  text-align: center;
}

#subscribe-result p {
  color: #fff;
}

.closebtn {
  display: block;
  font-size: 35px;
  color: #fff;
  opacity: 1;
  line-height: 0.8;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  transition: .2s;
}

.sidenav .closebtn:hover {
  color: #dd4900;
  opacity: 0.9;
  transition: .2s;
}

.zind-top {
  position: relative;
  z-index: 57000;
}

.thankyou-page .col2 {
  width: 56%;
}

.thankyou-page .col1 {
  width: 44%;
}

.thankyou-page .book {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 0;
  padding-top: 29px;
}

.thankyou-page .book img {
  max-height: 160px;
  width: auto;
  top: auto;
}

.dblue2 {
  position: absolute;
  width: 148px;
  height: 50px;
  top: 56px;
  left: -15px;
  background: rgba(0,27,51,0.9);
}

.lblue2 {
  position: absolute;
  width: 280px;
  height: 66px;
  top: 113px;
  right: -15px;
  background: rgba(0, 72, 134, 0.9);
}


.dblue2:after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 0; 
  height: 0; 
  border-bottom: 50px solid rgba(0,27,51,0.9);
  border-right: 15px solid transparent;
}

.lblue2:after {
  content: '';
  position: absolute;
  right: 100%;
  top: 0;
  width: 0; 
  height: 0;
  border-top: 66px solid rgba(0, 72, 134, 0.9);
  border-left: 15px solid transparent;
}

.title-thankyou {
  padding-top: 20px;
}

.subtitle-thankyou {
  padding-top: 30px;
  padding-left: 30px;
}



