@font-face {
  font-family: "bnpp_sans";
  src: url("../fonts/bnpp_sans_v3-webfont.eot");
  src: url("../fonts/bnpp_sans_v3-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/bnpp_sans_v3-webfont.woff2") format("woff2"),
    url("../fonts/bnpp_sans_v3-webfont.woff") format("woff"),
    url("../fonts/bnpp_sans_v3-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "bnpp_sans_bold";
  src: url("../fonts/bnpp_sans_bold_v3-webfont.eot");
  src: url("../fonts/bnpp_sans_bold_v3-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/bnpp_sans_bold_v3-webfont.woff2") format("woff2"),
    url("../fonts/bnpp_sans_bold_v3-webfont.woff") format("woff"),
    url("../fonts/bnpp_sans_bold_v3-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "bnpp_sans_cond";
  src: url("../fonts/bnpp-sans-cond-v2.eot");
  src: url("../fonts/bnpp-sans-cond-v2.eot?#iefix") format("embedded-opentype"),
    url("../fonts/bnpp-sans-cond-v2.woff") format("woff"),
    url("../fonts/bnpp-sans-cond-v2.svg") format("svg"),
    url("../fonts/bnpp-sans-cond-v2.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "bnpp_sans_cond_light";
  src: url("../fonts/bnpp-sans-cond-light-v2.eot");
  src: url("../fonts/bnpp-sans-cond-light-v2.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/bnpp-sans-cond-light-v2.woff") format("woff"),
    url("../fonts/bnpp-sans-cond-light-v2.svg") format("svg"),
    url("../fonts/bnpp-sans-cond-light-v2.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "bnpp_sans_cond_bold";
  src: url("../fonts/bnpp-sans-cond-bold-v2.eot");
  src: url("../fonts/bnpp-sans-cond-bold-v2.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/bnpp-sans-cond-bold-v2.woff") format("woff"),
    url("../fonts/bnpp-sans-cond-bold-v2.svg") format("svg"),
    url("../fonts/bnpp-sans-cond-bold-v2.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "bnpp_sans_light";
  src: url("../fonts/bnpp_sans_light_v3.eot");
  src: url("../fonts/bnpp_sans_light_v3.eot?#iefix") format("embedded-opentype"),
    url("../fonts/bnpp_sans_light_v3.woff") format("woff"),
    url("../fonts/bnpp_sans_light_v3.svg") format("svg"),
    url("../fonts/bnpp_sans_light_v3.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  font-size: 12px;
  color: #fff;
  font-family: "bnpp_sans", Arial, sans-serif;
}

* {
  touch-action: auto !important;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  height: 100%;
}
.clearfix {
  clear: both;
}
#top {
  height: 80px;
  position: relative;
  border-bottom: 2px solid #00965e;
}
#top .container {
  display: flex;
}
#top .brand {
  background: url(../images/logo-bnp.png) left center no-repeat;
  text-indent: -3333em;
  margin-left: 2rem;
  flex: 0 0 45%;
}
#top .brand a {
  display: block;
  height: 90px;
}
#top .container {
  display: flex;
}
#top .topbar__right {
  color: #000;
  flex: 0 0 50%;
  display: flex;
  padding: 2rem 0;
  justify-content: flex-end;
}
#top .container img {
  position: absolute;
  top: 6px;
  right: 140px;
}
#main {
  background: url(../images/bg-desktop.jpg) no-repeat;
  background-color: #fff;
  min-height:508px;
  background-position: calc(100% - 50px) top;
  max-width: 1200px;
  margin:0 auto;
}

.main-content {
  position: relative;
  padding-top: 100px;
  width: calc(100% - 350px);
}
.no-wrap {
  white-space: nowrap;
}
.main-text {
  font-family: "bnpp_sans_cond_light", "sans-serif";
  font-size: 32px;
  font-weight: 200;
  margin-left: 0;
  position: absolute;
  left:40px;
  color: #000;
}
.main-text-top {
  padding-top: 0;
}
.main-text-top h2 {
  font-size: 38px;
  text-transform: uppercase;
  font-family: "bnpp_sans_cond_bold", "sans-serif";
  max-width: 330px;
  background-color: #fff;
  padding:20px;
}
.main-list {
  margin-bottom: 35px;
}
.main-list__item {
  text-align: left;
  position: relative;
}
.main-list__item p {
  background-color: #fff;
  display:inline-block;
  padding:10px 20px 10px 10px;
}
.main-list__item strong {
  font-family: "bnpp_sans_cond_bold", "sans-serif";
}

.main-list__item .bigger {
  font-size: 1.15em;
}

.main-list__item--underline {
  display:inline-block;
  border-bottom: 2px solid #00965e;
}
.main-list__item p::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #00965e;
  display: inline-block;
  margin: 5px 10px;
}

.main-list__item--bg {
  display: inline-block;
  background-color: #00965e;
  color: #fff;
  padding: 5px 10px 3px 30px;
  margin-left: -25px;
  margin-top: 5px;
}
.main-list__item--bg::before {
  background-color: #fff;
  left: 8px;
  top: 12px;
}

.main-text-rrso {
  text-align: left;
  font-family: "bnpp_sans_cond", "sans-serif";
  font-size: 48px;
  color:#fff;
}

.green {
  color: #00965e;
}
.section-under-main {
  text-align: center;
  color: #000;
  font-size: 15px;
  font-family: "bnpp_sans_light";
  font-weight: 300;
  max-width: 90%;
  margin: 12rem auto 4rem;
}
.section-under-main h2 {
  font-family: "bnpp_sans_cond", "sans-serif";
  font-size: 2.75em;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  max-width: 90%;
  margin: 2.5rem auto 3.5rem;
}
.section-under-main > p {
  font-size: 1.35em;
  margin-bottom: 2rem;
  font-family: "bnpp_sans_light";
  font-weight: 300;
}
.section-under-main > p strong {
  font-family: "bnpp_sans";
  font-weight: 600;
}
.flex-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 20px;
}
.flex-element {
  flex: 0 0 20%;
  max-width: 225px;
}
.dlaczego_warto--el {
  font-size: 1.3em;
}
.dlaczego_warto--el > img {
  height: 4rem;
  margin-bottom: 1rem;
}

.cta {
  background-color: #00965e;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  width: 80%;
  max-width: 360px;
  box-sizing: border-box;
  text-align: center;
  display: block;
  margin: 3rem auto 1rem;
  padding: 1.35rem 2rem 1rem;
  font-size: 1.75rem;
  transition: background-color 0.3s linear;
}
.cta .arr {
  display: inline-block;
  transform: scaleY(1.75) translateY(1px);
}
.cta:hover {
  background-color: #047148;
}
#footer {
  position: relative;
  padding-bottom: 50px;
  margin-top: 90px;
  color: #000;
}
#footer a,
#footer a:visited {
  text-decoration: none;
}
#footer h3 {
  margin-top: 10px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-family: "bnpp_sans_light";
}
#footer p {
  font-size: 12px;
  line-height: 13px;
}
#footer h3 a {
  text-decoration: underline;
}
#footer p.footer-smalltext {
  font-size: 14px;
  font-family: "bnpp_sans_light";
  line-height: 1.2;
  color: #3f3f3f;
}
#footer .bigger-text {
  font-size: 1.25rem;
}
#footer strong.bigger-text {
  font-size: 1.75rem;
  font-family: "bnpp_sans_cond_bold";
  margin-top: 50px;
}
#footer hr {
  background: #00965e;
  border: none;
  height: 2px;
  margin-bottom: 20px;
}

@media only screen and (max-width: 1220px) {
  #main {

  }

  .main-text {
    left: 10px;
  }
}

@media only screen and (max-width: 1130px) {
/* .main-content {
    margin-left: 37%;
} */
}

@media only screen and (max-width: 1060px) {
  #main {
    /* background-position: 104% top; */
  }

  .main-text {
    right: 20px;
}
}



@media only screen and (max-width: 1023px) {
  #main {
    background: url(../images/bg-tablet.jpg) no-repeat;
    background-position: calc(100% - 300px) top;
    background-size: cover;
    min-height: 700px;
  }
  .main-content {
    padding-top: 670px;
    margin-left: 15px;
  }

  .main-list__item {
    padding-top:2px;
  }

  #top .topbar__right {
    display: none;
  }

  #top {
    height: 60px;
  }
  #top .brand {
    margin: 0 5px;
    background-size: contain;
  }

  #top .brand a {
    display: block;
    height: 60px;
  }

  #top .container img {
    display: none;
  }

  .main-text {
    font-size: 24px;
    bottom:-15px;
    right:unset;
    margin-left:50%;
    transform: translateX(-50%);
  }
  .main-text-top {
    position: static;
    padding-top: 10px;
  }
  .main-text-top > h2 {
    font-size: 1.25em;
  }

  .main-text-rrso {
    text-align: left;
    font-size: 33px;
  }

  .main-list  {
    margin-bottom: 9px;
  }

  .main-list__item .bigger {
    font-size: 1.2em;
  }
  
  .main-list__item::before {
    transform: scale(0.8);
    top: 10px;
  }
  .section-under-main {
    margin-top: 8rem;
  }

  #footer {
    margin-top:60px;
  }
}

@media only screen and (max-width: 767px) {
  #main {
    background-image: url(../images/bg-mobile.jpg);
    background-color: #000;
    background-repeat: no-repeat;
    background-size: 545px auto;
    background-position: top center;
    max-width: 445px;
    margin: 0 auto;
  }
  
  .main-text-rrso {
	  top: -44px;
    left: 40px;
	  font-size: 1.5em;
  }
  
  .not-mobile {
    display: none;
  }
  .container {
    padding: 0;
  }
  .main-content {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    height: 100%;
    margin: 0 auto;
    padding-top: 660px;
  }
  .main-text {
    left:0;
  }
  .main-text-top {
    padding-top: 0px;
  }

  .main-list {
    margin-bottom: 15px;
  }

  .main-list__item {
    padding-top: 0;
  }

  .main-list__item--bg::before {
    top: 11px;
  }

  .main-text-rrso {
    padding-bottom: 35px;
  }

  .dlaczego_warto--el {
    font-size: 1.2em;
  }
  .dlaczego_warto--el > img {
    height: 3rem;
  }
  .flex-element {
    flex: 0 0 45%;
    max-width: 175px;
  }
  
    .section-under-main {
    margin-top: 4rem;
  }

  #footer {
    padding: 0 20px;
    max-width: 445px;
    margin: 40px auto 0;
  }
}

@media only screen and (max-width: 600px) {
	  #main {

  }
	
  #top .brand {
    background: rgba(0, 0, 0, 0) url("../images/logo-bnp_mob.webp") no-repeat
      scroll left 3px / contain;
    margin: 0 5px;
  }

}

@media only screen and (max-width: 480px) {
	 #main {

  }
	
  #top .brand {
    background-position-y: 10px;
  }
  .container {
    max-width: 480px;
    padding: 0 0;
    margin: 0 auto;
  }

	.main-text-top {
		
		padding-top: 116px;
	}

  .main-list__item::before {
    transform: scale(0.6);
    top: 7px;
    left: -18px;
  }


  #list-item.list {
    padding-top: 6px;
  }

  #footer {
    padding: 0 4% 30px;
  }
  
}


@media only screen and (max-width: 360px) {
  /* .main-list {
    margin-left: 15px;
  }

  .main-text {
    margin-top: 66vw;
  }
  
    .contact-form {
	  margin-top: -13% !important;
  }

  .main-list__item--bg {
    padding-left: 25px;
    margin-left: -20px;
  }
  .main-list__item--bg:before {
    top: 8px;
    left: 5px;
  } */
}
