
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/open-sans-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('fonts/open-sans-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v15-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('fonts/open-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v15-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

* {
  padding: 0;
  margin: 0;
}

html, body {
  border: 0;
  font-size: 14px;
  line-height: 20px;
  font-family: 'Open Sans', sans-serif, arial, Helvetica;
  font-weight: 400;
  color: #4a4a4a;
  background-color: #fff;
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif, arial, Helvetica, sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

a, a:hover, a:active, a:focus, a:visited {
  color: #000;
  text-decoration: none;
  outline: none;
}

.clearfix:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.uppercase {
  text-transform: uppercase;
}

.jarallax {
  position: relative;
  z-index: 0;
}

.jarallax > .jarallax-img {
  position: absolute;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.button {
  display: inline-block;
  background-color: #e40613;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 15px 25px;
  margin: 15px 0;
  border-radius: 30px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.32);
  -webkit-transition: background-color .2s ease-out;
  -moz-transition: background-color .2s ease-out;
  -o-transition: background-color .2s ease-out;
  transition: background-color .2s ease-out;
}

.button:hover, .button:active, .button:focus, .button:visited {
  color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

header {
  position: relative;
  background-image: url('img/top-bg.jpg');
  background-position: right 50%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

header .logo {
  position: absolute;
  top: 30px;
  left: 60px;
  z-index: 3;
}

header nav {
  display: flex;
  justify-content: flex-end;
  padding-right: 58px;
  float: right;
  z-index: 2;
}

header nav a, header nav a:hover, header nav a:active, header nav a:focus, header nav a:visited, header nav span {
  text-transform: uppercase;
  margin: 25px 7px 0;
  font-size: 14px;
  font-weight: 400;
  color: #4a4a4a;
}

header nav span {
  font-weight: 700;
}

header .content {
  background-color: #005c9c;
  padding: 200px 0 100px 60px;
  width: 430px;
  position: relative;
  z-index: 1;  
}

header .content:after {
  background: inherit;
  content: '';
  height: 100%;
  position: absolute;
  top: 0;
  left: 1px;
  right: 0;
  transform: skewX(13deg);
  transform-origin: 100% 0;
  z-index: -1;
}

header h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

header h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin: 15px 0 50px;
  white-space: nowrap;
}

header .cashfree {
  display: none;
}

section .container {
  width: 1100px;
  margin: 60px auto 0;
  font-weight: 300;
  color: #4a4a4a;
}

section .content.intro {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

section .intro h2 {
  font-size: 34px;
  margin-bottom: 30px;
  font-weight: 400;
}

section.ribbon {
  position: relative;
  height: 80px;
}

section.ribbon div {
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.28);
  text-align: center;
  z-index: 50;
}

section.ribbon div.fixed {
  position: fixed;
  top: auto;
  -webkit-transition: bottom 500ms ease;
  -moz-transition: bottom 500ms ease;
  -o-transition: bottom 500ms ease;
  transition: bottom 500ms ease;
}

section.ribbon div.sticky {
  background-color: #f7f7f7;
  box-shadow: none;
  -webkit-transition: unset;
  -moz-transition: unset;
  -o-transition: unset;
  transition: unset;
}

section.details .icon {
  display: none;
  margin-bottom: 7px;
}

section.details h2 {
  color: #e40613;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

section.details .content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  background-image: url('img/circle-cc.jpg');
  background-position: center 135px;
  background-repeat: no-repeat;
}

.de section.details .content {
  background-position: center 135px;
}

.fr section.details .content {
  background-position: center 134px;
}

section.details .content > div {
  width: 33%;
  margin-top: 20px;
  text-align: center;
}

section.details .content > div:first-child {
  text-align: right;
}

section.details .content > div:first-child > div:first-child {
  margin-top: 60px;
  margin-bottom: 187px;
}

.de section.details .content > div:first-child > div:first-child {
  margin-top: 63px;
  margin-bottom: 187px;
}

.fr section.details .content > div:first-child > div:first-child {
  margin-top: 59px;
  margin-bottom: 193px;
}

section.details .content > div:first-child + div > div:first-child {
  margin-bottom: 448px;
}

.de section.details .content > div:first-child + div > div:first-child,
.fr section.details .content > div:first-child + div > div:first-child {
  margin-bottom: 445px;
}

section.details .content > div:last-child {
  text-align: left;
}

section.details .content > div:last-child > div:first-child {
  margin-top: 102px;
  margin-bottom: 188px;
}

.de section.details .content > div:last-child > div:first-child {
  margin-top: 84px;
}

.fr section.details .content > div:last-child > div:first-child {
  margin-top: 81px;
  margin-bottom: 193px;
}

section.details .content > div > div {
  margin: 0 20px;
}

section.steps {
  background-color: #0059a5;
  margin-top: 70px;
  padding-bottom: 60px;
}

section.steps .container {
  margin-top: 0;
}

section.steps .content {
  color: #fff;
}

section.steps .content > div {
  display: flex;
}

section.steps .content > h3 {
  font-size: 24px;
  font-weight: 300;
  text-align: center;
  padding: 50px 30px 40px;
}

section.steps .content > div > div {
  width: 33%;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 185px 5px 0;
  background-position: center top;
  background-repeat: no-repeat;
  margin-bottom: 70px;
}

section.steps .step1 {
  background-image: url('img/step1-icon.png');
  margin-right: 15px;
}

section.steps .step2 {
  background-image: url('img/step2-icon.png');
  margin-right: 15px;
}

section.steps .step3 {
  background-image: url('img/step3-icon.png');
}

.btm-banner {
  width: 100%;
}

footer {
  color: #9b9b9b;
  font-weight: 300;
  padding: 30px;
}

footer .footer-menu {
  float: left;
}

footer .footer-menu a {
  color: #4a90e2;
  margin-right: 20px;
  display: inline-block;
}

footer .footer-menu a:hover {
  text-decoration: underline;
}

footer .copyright {
  text-align: right;
}

.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: hidden;
  outline: 0;
  cursor: pointer;
  margin: 0 5px;
  z-index: 1001;
}

.popup-dialog {
  position: relative;
  top: 50%;
  transform: translateY(-50.1%);
  width: 650px;
  margin: 0 auto;
}

.popup-content {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: .3rem;
  padding: 40px;
  outline: 0;
  box-shadow: 0 0 5px 1px #4c4c4c;
  cursor: default;
}

.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  display: none;
  opacity: 0;
  z-index: 1000;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.popup h2 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 40px;
  text-align: center;
}

.popup .btn-holder {
  text-align: center;
}

.popup .button {
  padding: 15px 40px;
  margin: 7px 15px;
}

.popup .steps {
  display: flex;
  text-align: center;
}

.popup .step {
  flex: 1;
  line-height: 1.2;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 75px;
  margin-bottom: 15px;
}

.popup .step1 {
  background-image: url(img/cc-form.svg);
}

.popup .step2 {
  background-image: url(img/cc-card.svg);
}

.popup .step3 {
  background-image: url(img/cc-idea.svg);
}

.popup .next {
  margin: 20px 10px 0;
}

.popup h3 {
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.popup h3 span {
  color: #e40613;
}

.popup .info {
  color: #e40613;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 1350px) {
  
  header .content {
    padding: 150px 0 60px 60px;
  }
  
}

@media (max-width: 1200px) {
  
  header .logo {
    left: 40px;
  }
  
  header .logo img {
    width: 130px;
  }
  
  header .content {
    padding: 85px 0 30px 40px;
    width: 208px;
  }
  
  header h1 {
    font-size: 28px;
    line-height: 1;
    white-space: normal;
  }
  
  header h2 {
    font-size: 20px;
    margin: 15px 0 28px;
    white-space: normal;
  }
  
  header .cards {
    width: 230px;
    visibility: hidden;
  }
  
  section .container {
    width: 100%;
  }
  
  section.details .container {
    width: 750px;
  }
  
  section.details .content {
    background-position: center 175px;
    background-image: url(img/circle-cc-md.jpg);
  }
  
  .de section.details .content {
    background-position: center 173px;
  }
  
  .fr section.details .content {
    background-position: center 191px;
  }
  
  section.details .content > div:first-child > div {
    margin-left: 0;
  }
  
  section.details .content > div:last-child > div {
    margin-right: 0;
  }
  
  section.details .content > div:first-child > div:first-child {
    margin-top: 12px;
    margin-bottom: 131px;
  }
  
  .de section.details .content > div:first-child > div:first-child {
    margin-top: 10px;
    margin-bottom: 133px;
  }
  
  .fr section.details .content > div:first-child > div:first-child {
    margin-top: 8px;
    margin-bottom: 136px;
  }
  
  section.details .content > div:first-child + div > div:first-child {
    margin-bottom: 332px;
  }
  
  .de section.details .content > div:first-child + div > div:first-child,
  .fr section.details .content > div:first-child + div > div:first-child {
    margin-bottom: 330px;
  }
  
  section.details .content > div:last-child > div:first-child {
    margin-top: 51px;
    margin-bottom: 134px;
  }
  
  .de section.details .content > div:last-child > div:first-child {
    margin-top: 50px;
  }
  
  .fr section.details .content > div:last-child > div:first-child {
    margin-top: 45px;
    margin-bottom: 141px;
  }
  
  footer .footer-menu {
    float: none;
    display: block;
    text-align: center;
  }
  
  footer .copyright {
    text-align: center;
    padding-top: 5px;
    font-size: 13px;
  }
  
}

@media (max-width: 767px) {
  
  .button {
    font-size: 16px;
    padding: 12px 25px;
    margin: 13px 15px;
  }
  
  header {
    background-image: none;
    background-color: #005c9c;
    overflow: visible;
  }
  
  header .logo {
    top: 26px;
    left: 25px;
    max-width: 45%;
  }
  
  header .logo img {
    width: auto;
    max-width: 100%;
  }
  
  header nav {
    padding-right: 23px;
  }
  
  header nav a, header nav a:hover, header nav a:active, header nav a:focus, header nav a:visited, header nav span {
    color: #fff;
  }
  
  header .content {
    padding: 100px 25px 30px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  header .content:after {
    transform: skewY(-4deg);
  }
  
  header h1 {
    display: none;
  }
  
  header h2 {
    font-size: 24px;
    width: 100%;
  }
  
  header .cards {
    width: auto;
    max-width: 100%;
    margin: 10px auto;
    display: block;
  }
  
  header .cashfree {
    display: block;
    max-width: 100%;
  }
  
  section .intro h2 {
    font-size: 26px;
    line-height: 1.1;
  }
  
  section.details .icon {
    display: block;
  }
  
  section.details h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  section.details .container {
    width: 100%;
    margin: 25px 0 70px;
  }
  
  section.details .content, 
  .de section.details .content, 
  .fr section.details .content {
    background-image: url('img/cc.jpg');
    background-position: center 30px;
    flex-direction: column;
  }
  
  section.details .content > div {
    margin-top: 0;
    width: 100%;
  }
  
  section.details .content > div:first-child {
    margin-top: 190px;
  }
  
  section.details .content > div > div, 
  section.details .content > div:first-child > div, 
  section.details .content > div:first-child > div:first-child,
  section.details .content > div:first-child + div > div:first-child,
  section.details .content > div:last-child > div,
  section.details .content > div:last-child > div:first-child {
    text-align: left !important;
    margin: 30px 20px 0 !important;
  }
  
  section.details h3 {
    font-size: 18px;
  }

  section.steps .container {
    margin-top: 0;
    padding-bottom: 30px;
  }

  section.steps .content > div {
    flex-direction: column;
  }

  section.steps .content > h3 {
    font-size: 24px;
    font-weight: 300;
    text-align: left;
    padding: 30px 20px 20px;
  }

  section.steps .content > div > div {
    width: auto;
    text-align: left;
    padding: 0 25px 0 80px;
    background-position: left center;
    margin: 0 0 0 20px;
    height: 80px;
    line-height: 80px;
  }
  
  section.steps .content > div > div span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
  }
  
  section.steps .step1 {
    background-image: url(img/step1-icon-sm.png);
  }
  
  section.steps .step2 {
    background-image: url(img/step2-icon-sm.png);
  }
  
  section.steps .step3 {
    background-image: url(img/step3-icon-sm.png);
  }
  
  .popup-dialog {
    width: 100%;
  }
  
  .popup-content {
    border-radius: 0;
    padding: 25px;
  }
  
  .popup h2 {
    font-size: 28px;
    text-align: left;
    margin-right: 30px;
  }
  
  .popup .steps {
    flex-direction: column;
    text-align: left;
  }
  
  .popup .step {
    background-position: left top;
    padding-top: 0;
    padding-left: 50px;
    margin-bottom: 30px;
    background-size: 40px 40px;
    flex: none;
  }
  
  .popup .step2 {
    background-size: 40px 30px;
  }
  
  .popup .step3 {
    background-size: 33px 40px;
  }

  .popup h3 br, .popup .next {
    display: none;
  }
  
}
