/* Reset start */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: black;
    font: 400 14px/1 'Roboto', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}
/* Reset end */

/* fonts */
.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
  }

  .roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
  }

  .roboto-black {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
  }

  .roboto-black-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
  }
  /* end fonts */

/* Default classes start */

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
  justify-content: space-around;
}

.align-items-center {
    align-items: center;
}

/* Default classes end */

  .container {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
  }

  #header {
    padding: 20px 0;
    border-top: 6px solid #01ffff;
    background-color: #ffffff;
    position: sticky;
    top: 0px;
    z-index: 99;
  }

  .header-menu {
    min-width: 65%;
    color: #737373;
  }

  .header-menu ul {
    justify-content: space-between;
  }

  .header-menu li {
    display: block;
  }

  .header-menu li a {
    padding: 10px;
  }

  /* menu dropdown */

  :root {

    --dropdown-highlight: #1e99b9;;;
    --dropdown-width: 160px;
    --dropdown-background: white;
    --dropdown-color: #5e5e5e;;
  }


  /* Boring button styles */
  a.button {
    border: 1px solid lightgrey;
    border-radius: 15px;
    padding: 8px;
    font-size: xx-large;
    color: #8e8e8e;
    margin-right: 25px;
    cursor: pointer;
  }

  a.button:active {
    filter: brightness(75%);
  }

  /* Dropdown styles */
  .dropdown {
    position: relative;
    padding: 0;
    margin-right: 1em;

    /* border: none; */
  }

  .dropdown summary {
    list-style: none;
    list-style-type: none;
  }

  .dropdown > summary::-webkit-details-marker {
    display: none;
  }

  .dropdown summary:focus {
    outline: none;
  }

  .dropdown summary:focus a.button {
    border: 2px solid lightgray;
  }

  .dropdown summary:focus {
    outline: none;
  }

  .dropdown ul {
    position: absolute;
    margin: 20px 0 0 0;
    padding: 20px 0;
    width: var(--dropdown-width);
    left: 10%;
    margin-left: calc((var(--dropdown-width) / 2)  * -1);
    box-sizing: border-box;
    z-index: 2;

    background: var(--dropdown-background);
    border-radius: 6px;
    list-style: none;
  }

  .dropdown ul li {
    padding: 0;
    margin: 0;
  }

  .dropdown ul li+li {
    border-top: 1px solid rgb(223, 223, 223);
  }

  .dropdown ul li a:link, .dropdown ul li a:visited {
    display: inline-block;
    padding: 10px 0.8rem;
    width: 100%;
    box-sizing: border-box;

    color: var(--dropdown-color);
    text-decoration: none;
    text-align: center;
  }

  .dropdown ul li a:hover {
    background-color: var(--dropdown-highlight);
    color: var(--dropdown-background);
  }

  /* Dropdown triangle */
  .dropdown ul::before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    margin-left: -10px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent var(--dropdown-background) transparent;
  }


  /* Close the dropdown with outside clicks */
  .dropdown > summary::before {
    display: none;
  }

  .dropdown[open] > summary::before {
      content: ' ';
      display: block;
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      z-index: 1;
  }

@media (max-width: 1200px) {

.header-menu {
  display: none;
}

.dropdown {
  width: 70%;
}

.dropdown summary {
  direction: rtl;
}

.dropdown ul {
  width: 90%;
  margin-left: 0px;
  font-size: inherit;
  border: solid 1px black;
}

.dropdown ul li {
  padding: 25px;
}


.dropdown ul li:hover {
  background-color: #1e99b9;
}

.dropdown ul::before {
  display: none;
}

}

  /* end menu dropdown */

  /* Index page */

  .index-page-first-line-wrapper {
    background-color: black;
    color: white;
    justify-content: space-between;
    font-size: xx-large;
    line-height: 1.1;
    padding-left: 7%;
    padding-right: 10%;
    margin-bottom: 40px;
  }

  .index-page-first-line-wrapper-block-left {
    max-width: 454px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .index-page-first-line-wrapper-block-left-title {
    color: #7BE3FE;
    display: block;
    margin-bottom: 25px;
  }

  .index-page-first-line-wrapper-block-left-button > a:nth-child(1) {
    padding: 3px 15px;
    border: 1px solid white;
  }

  .index-page-first-line-wrapper-block-right {
    min-width: 256px;
    align-self: center;
  }

@media (max-width: 1200px) {

.index-page-first-line-wrapper {
  display: none;
}

.adv-cash-free-2-main-block-line-block-textblock-card-name {
  font-size: x-large;
}

.adv-cash-free-2-main-block-line-block-textblock-bank-name {
  font-size: xx-large;
}

.adv-cash-free-2-main-block-line-block-textblock-description {
  font-size: large;
}

}


  /* end index page */

  .description-box-1 {
    background-color: black;
    color: white;
    padding: 25px 40px;
    margin-bottom: 25px;
  }

  .description-box-1-text-1 {
    padding-bottom: 25px;
    font-size: x-large;
  }

  .description-box-1-text-2 {
    padding-bottom: 25px;
    display: block;
    font-size: xx-large;
  }

  .description-box-2-3-wrapper {
    min-height: 260px;
    margin-bottom: 30px;
  }

  .description-box-2 {
    background-color: #7be3fe;
    min-height: 100%;
    width: 49%;
    border-radius: 6px;
    padding: 25px;
  }

.description-box-2-text {
  width: 55%;
}

.description-box-2-title {
  font-size: x-large;
  padding-bottom: 25px;
}

.description-box-2-text-1 {
  font-size: 18px;
  padding-bottom: 25px;
}

.description-box-2-text-2 {
  font-size: 18px;
  padding-bottom: 25px;
}

.description-box-2-image {
  height: fit-content;
  align-self: flex-end;
  max-width: 45%;
}

.additional-information-wrapper {
  margin-bottom: 10px;
}

.additional-information-title {
  padding: 25px 0px;
  width: 50%;
}

.additional-information-title-text {
  font-size: xx-large;
}

.additional-information-title-button {
  font-size: large;
  margin: auto;
  width: 167px;
  line-height: 1.3;
  background-color: red;
  color: white;
  text-align: center;
  border-radius: 6px;
}

.additional-information-title-button a {
  display: inline-block;
  padding: 10px;
}

.additional-information-body-wrapper {
  margin-bottom: 45px;
}

.additional-information-body-line {
  padding: 10px 0px;
}

.additional-information-body-line-title {
  background-color: #eeeeee;
  width: 50%;
  padding: 10px;
  display: table;
}

.additional-information-body-line-title span {
  display: table-cell;
  vertical-align: middle;
}

.additional-information-body-line-text {
  background-color: #eeeeee;
  width: 50%;
  padding: 10px;
  font-size: larger;
}

@media (max-width: 1200px) {

  .description-box-1-text-2 {
    font-size: large;
  }

  .description-box-2-3-wrapper {
    flex-direction: column;
  }

  .description-box-2 {
    width: unset;
  }

  .description-box-2-3-wrapper > div+div {
    margin-top: 20px;
  }

  .additional-information-title-text {
    font-size: large;
  }
}

/* advert cash back block */
.adv-cash-back-wrapper {
  background-color: #fafafa;
  border: 1px solid;
  border-color: #e7dede;
  justify-content: space-evenly;
  padding: 15px 25px 15px 50px;
  margin-bottom: 50px;
}

.adv-cash-back-wrapper > div {
  width: 25%;
}

.adv-cash-back-1-block img {
  display: block;
  margin: auto;
}

.adv-cash-back-1-block-title {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.adv-cash-back-2-block {
  position: relative;
  padding-left: 30px;
}

.adv-cash-back-2-block-button {
  border: 1px solid;
  font-size: xx-large;
  width: fit-content;
  position: absolute;
  top: 50%;
}

.adv-cash-back-2-block-button a {
  padding: 5px 20px;
  display: inline-block;
}

.adv-cash-back-3-block {
	display: flex;
	align-items: center;
	justify-content: right;
	padding-right: 40px;
}

.adv-cash-back-3-block img {
  width: fit-content;
  height: fit-content;
}

.adv-cash-back-4-block {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 25px 0px;
  font-size: large;
}

.adv-cash-back-4-block span {
  display: block;
}

@media (max-width: 1200px) {
  .adv-cash-back-wrapper {
    flex-flow: column;
  }

  .adv-cash-back-wrapper > div {
    width: 100%;
  }

  .adv-cash-back-1-block {
    margin-bottom: 30px;
  }

  .adv-cash-back-2-block {
    padding-left: 0px;
  }

  .adv-cash-back-2-block-button {
    position: relative;
    margin: auto;
  }

  .adv-cash-back-3-block, .adv-cash-back-4-block {
    display: none;
  }


}

/* end advert cash back block */

/* news detail */
.news-block-wrapper {
  margin-bottom: 50px;
}

.news-block-image-1 > img {
  border-radius: 10px;
  min-width: 100%;
  margin-bottom: 10px;
}

.news-block-image-2 > img {
  border-radius: 10px;
  width: 100%;
}

.news-block-image-4 > img {
  border-radius: 10px;
  width: 100%;
}

.mews-block-link-under-picture_1 {
  color: gray;
  margin-bottom: 10px;
}

.news-block-title-wrapper {
  background-color: #f8f8f8;
  text-align: center;
  padding: 50px 50px 15px 50px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.news-block-title {
  margin: auto;
  max-width: 60%;
}

.news-block-title > h1 {
  margin-bottom: 35px;
}

.news-block-data {
  color: gray;
  margin-bottom: 10px;
}

.news-block-author {
  color: gray;
  margin-bottom: 20px;
}

.news-block-body {
  font-size: large;
  text-align: justify;
  line-height: 150%;
  letter-spacing: 0.1ex;
}

.news-block-body div+div {
  margin-top: 20px;
}

.news-block-body a {
  color: blue;
}

@media (max-width: 1200px) {

  .news-block-title {
    max-width: unset;
  }
}

/* adv-news */

.adv-news-wrapper img {
  margin-bottom: 25px;
}

.adv-news-title {
  margin-bottom: 40px;
  font-size: xx-large;
}

.adv-news-wrapper {
  text-align: justify;
}

.adv-news-wrapper span {
  display: block;
}

.adv-news-wrapper hr {
  color: #e7dede;
}

.adv-news-line {
  justify-content: space-between;
  margin-bottom: 15px;
}

.adv-news-line > div {
  width: 25%;
}

.adv-news-line-block-1 {
  cursor: pointer;
}

.adv-news-line-block-news {
  height: 50%;
  cursor: pointer;
}

.adv-news-block-title {
  font-size: large;
  line-height: 1.2;
  letter-spacing: 1.1px;
  margin-bottom: 15px;
}

.adv-news-block-data {
  margin-bottom: 25px;
}

@media (max-width: 1200px) {

  .adv-news-line {
    flex-flow: column;
  }

  .adv-news-line > div {
    width: 100%;
  }

  .adv-news-wrapper img {
    width: 100%;
  }

  .adv-news-wrapper hr {
   display: none;
  }

}

/* end adv-news */

/* adv_cash_free_2 */

.adv-cash-free-2-wrapper {
  margin-bottom: 40px;
}

.adv-cash-free-2-wrapper > h2 {
  margin-bottom: 25px;
}

.adv-cash-free-2-main-block-wrapper > div+div {
  margin-top: 15px;
}

.adv-cash-free-2-main-block-line {
  justify-content: space-between;
}

.adv-cash-free-2-main-block-line-block {
  position: relative;
  border: 1px solid #E7DEDE;
  width: 49%;
  border-radius: 10px;
  justify-content: space-between;
  padding: 20px 30px;
  cursor: pointer;
}

.adv-cash-free-2-main-block-line-block-textblock{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-right: 35px;
}

.adv-cash-free-2-main-block-line-block-textblock-card-name {
  font-size: large;
}

.adv-cash-free-2-main-block-line-block-textblock-bank-name {
  font-size: x-large;
}

.adv-cash-free-2-main-block-line-block-image {
  min-width: fit-content;
}

@media (max-width: 1200px) {

  .adv-cash-free-2-main-block-line {
    flex-wrap: wrap;
  }

  .adv-cash-free-2-main-block-line-block {
    min-width: 100%;
    margin-bottom: 15px;
  }

  .adv-cash-free-2-main-block-line-block-textblock {
    margin-right: 15px;
  }

  .adv-cash-free-2-main-block-line-block-textblock p {
    margin-bottom: 20px;
  }

  .adv-cash-free-2-main-block-line-block-image {
    max-width: 25%;
    min-width: 25%;
  }

  }

/* end adv_cash_free_2 */

/* credit-card-list */

.credit-card-list-page-first-line-wrapper {
  background-color: black;
  color: white;
  justify-content: space-between;
  font-size: xx-large;
  line-height: 1.1;
  padding-left: 7%;
  padding-right: 10%;
  margin-bottom: 40px;
}

.credit-card-list-page-first-line-wrapper-block-left {
  max-width: 640px;
  padding-top: 30px;
}

.credit-card-list-page-first-line-wrapper-block-left-title {
  color: #7BE3FE;
  display: block;
  margin-bottom: 45px;
}

.credit-card-list-page-first-line-wrapper-block-left-description {
  font-size: large;
  margin-bottom: 30px;
}

.credit-card-list-page-first-line-wrapper-block-right {
  min-width: 256px;
  align-self: center;
}

.credit-card-list-page-main-block-wrapper {
  margin-bottom: 30px;
}

.credit-card-list-page-main-block-wrapper > span {
  border: 1px solid;
  background-color: #D9D9D9;
  border-radius: 10px;
  padding: 2px 10px;
  margin-bottom: 30px;
  display: inline-block;
  margin-right: 20px;
}

.credit-card-list-page-main-block-line {
  border: 1px solid;
  background-color: #F9FFFF;
  justify-content: space-between;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
}

.credit-card-list-page-main-block-line > div {
  width: 30%;
}

.credit-card-list-page-main-block-line > div+div {
  margin-left: 30px;
}

.credit-card-list-page-main-block-line p {
  margin: auto;
  width: fit-content;
  text-align: center;
}

.credit-card-list-page-main-block-line p+p {
  margin-top: 10px;
}

.credit-card-list-page-main-block-line-block-left-card-name {
  font-size: x-large;
}

.credit-card-list-page-main-block-line-block-left-bank-name {
  font-size: 21px;
}

.credit-card-list-page-main-block-line-block-title {
  font-weight: bold;
}

.credit-card-list-page-main-block-button {
  display: block;
  width: max-content;
  margin: 0 25px 25px auto;
  padding: 5px 15px;
  font-size: larger;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
}

@media (max-width: 1200px) {

  .credit-card-list-page-main-block-line {
    flex-direction: column;
  }

  .credit-card-list-page-main-block-line > div {
    width: 100%;
  }

  .credit-card-list-page-main-block-line > div+div {
    margin-left: 0px;
    margin-top: 20px;
  }

  .credit-card-list-page-first-line-wrapper {
    display: none;
  }

  .credit-card-list-page-main-block-line-block-description {
    font-size: larger;
  }


}


/* end Credit card list */

/* news list */

.news-list-page-first-line-wrapper{
  background-color: #F8F8F8;
  min-height: 141px;
  margin-bottom: 20px;
}

.news-list-page-first-line-title {
  margin: auto;
  font-size: x-large;
  letter-spacing: 1px;
}

.news-list-page-main-block-wrapper > div+div {
  margin-top: 20px;
}

.news-list-page-main-block-news {
  cursor: pointer;
}

.news-list-page-main-block-news-data {
  font-size: smaller;
  color: #9D9D9D;
  margin-bottom: 10px;
}

.news-list-page-main-block-news > img {
  margin-right: 5px;
}

.news-list-page-main-block-news-title {
  display: inline-block;
  font-size: large;
}

.news-list-page-main-block-news-title::before {
  content: '>>';
  margin-right: 20px;
}

@media (max-width: 1200px) {
  .news-list-page-main-block-news-data {
    font-size: larger;
  }

  .news-list-page-main-block-news-title {
    font-size: x-large;
  }
}

/* Pagination */

.pagination-wrapper {
  margin-bottom: 100px;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border-radius: 15px;
}
.pagination a.active {
  background-color: #7be3fe;
}
.pagination a:hover:not(.active) {background-color: #ddd;}
/* End pagination */

/* footer */

.footer-wrapper {
  margin-bottom: 30px;
}

.footer-wrapper p {
  margin: auto;
  text-align: center;
  color: rgb(94, 93, 93);
}

.footer-wrapper p+p {
  margin-top: 25px;
}

/* end footer */

/* about page */
.about-page-main-block-wrapper {
  margin-bottom: 50px;
}

.about-page-main-block-1, .about-page-main-block-2, .about-page-main-block-3 {
  background-color: #f83a3a;
  color: white;
  font-size: x-large;
  justify-content: space-between;
  position: relative;
}

.about-page-main-block-2 {
  background-color: white;
  color: black;
}

.about-page-main-block-1-title, .about-page-main-block-2 p, .about-page-main-block-3 p {
  margin: auto 35px;
  max-width: 50%;
  line-height: 1.4;
  padding: 65px 0px;
}

.about-page-main-block-1-image {
  position: absolute;
  right: 0px;
  top: 35%;
  z-index: 1;

}

@media (max-width: 1200px) {
  .about-page-main-block-1-image {
    max-width: 40%;
  }
}


/* end about page */

/* feedback page */
.feedback-page-main-block-wrapper {
  background-color: #f8f8f8;
  padding: 25px;
  margin-bottom: 40px;
}

.feedback-page-main-block-1-title {
  font-size: x-large;
  padding: 20px;
}

.feedback-page-main-block-1-text {
  max-width: 70%;
  font-size: large;
  padding: 20px;
  line-height: 1.3;
}

/* end feedback page */
