
@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;
}

header {
  background-color: #3f464c;
  position: relative;
  overflow: hidden;
}

header .logo {
  position: absolute;
  top: 0;
  left: 60px;  
  width: 177px;
  height: 60px;
  background-image: url('img/cc-logo.png');
  background-position: left top;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 11;
}

header nav {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 60px;
  top: 15px;
  z-index: 10;
}

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: 14px 7px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

header nav a:last-child, header nav span:last-child {
  margin-right: 0;
}

header nav span {
  font-weight: 700;
}

header .waypay {
  position: absolute;
  top: 85px;
  right: 60px;  
  width: 220px;
  height: 135px;
  background-image: url('img/way-pay.png');
  background-position: right top;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 8;
}

header .cards, header .cards-sm {
  position: absolute;
  bottom: -50px;
  left: 0;
  z-index: 9;
}

header .himg, header .himg-sm {
  width: 100%;
  display: block;
  margin: 0 auto;
}

header .himg {
  margin-bottom: -110px;
}

header .cards-sm, header .himg-sm {
  display: none;
}

section .container {
  width: 1100px;
  margin: 16px auto 0;
  font-weight: 300;
  color: #4a4a4a;
}

section h2 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 400;
}

section .content.intro {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

#dbg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

section.ribbon {
  position: fixed;
  bottom: -6px;
  left: 0;
  right: 0;
  z-index: 50;
}

section.ribbon .content {
  background-color: #e40613;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 0 15px;
  position: relative;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.5);
}

section.ribbon.flat .content {
  box-shadow: none;
  background-color: #0059a5;
}

section.ribbon .button {
  background-color: #fff;
  color: #e40613;
  padding: 15px 25px;
  border-radius: 30px;
  text-align: center;
  -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;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.32);
}

section.ribbon .button:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

section.details .icon {
  display: none;
  margin-bottom: 5px;
}

section.details h2 {
  color: #e40613;
  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: 25px 30px 25px;
}

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

@media (max-width: 1650px) {

  header .waypay {
    top: 70px;
    width: 150px;
    height: 88px;
    background-image: url('img/way-pay-md.png');
  }

}

@media (max-width: 1450px) {

  header .himg {
    margin-bottom: 0;
  }

}

@media (max-width: 1200px) {
  
  header .waypay {
    top: 70px;
    width: 100px;
    height: 61px;
    background-image: url('img/way-pay-sm.png');
  }
  
  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;
  }
  
}

@media (max-width: 1050px) {
  
  header .waypay {
    top: auto;
    bottom: 20px;
  }
  
}

@media (max-width: 900px) { 
  
  header .logo {
    left: 30px;
  }
  
  header nav,
  header .waypay {
    right: 40px;
  }
  
  header .waypay {
    bottom: 10px;
  }
  
  header .cards {
    display: none;
  }
  
  header .cards-sm {
    display: block;
    bottom: 0;
  }
  
  footer .footer-menu {
    float: none;
    text-align: center;
    margin-bottom: 10px;
  }

  footer .copyright {
    text-align: center;
  }
  
}

@media (max-width: 780px) {
    
  header nav {
    top: 5px;
  }
  
  section.details .icon {
    display: block;
  }
  
  section.details h2 {
    font-size: 18px;
  }
  
  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: 50px;
  }

  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);
  }
  
}

@media (max-width: 735px) {
  
  header .himg {
    display: none;
  }
  
  header .himg-sm {
    display: block;
  }
  
  header .waypay {
    top: 70px;
    width: 100px;
    height: 61px;
    background-image: url('img/way-pay-sm.png');
  }
  
}

@media (max-width: 576px) {
  
  header .logo {
    left: 10px;
  }
  
  header nav {
    right: 20px;
  }
  
  header .waypay {
    top: 75px;
    right: 20px;
  }
  
  main .content.intro {
    font-size: 14px;
    text-align: left;
  }
  
  section h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  footer {
    padding: 25px 20px;
  }
  
  footer .footer-menu,
  footer .copyright {
    text-align: left;
  }
  
}

@media (max-width: 480px) { 
  
  header .waypay {
    top: 60px;
  }
  
}
