@font-face {
  font-family: "borgia_proregular";
  src: url("../fonts/BorgiaPro-Regular-webfont.eot");
  src: url("../fonts/BorgiaPro-Regular-webfont.eot?#iefix") format("embedded-opentype"),
    /*url("../fonts/BorgiaPro-Regular-webfont.woff2") format("woff2"), url("../fonts/BorgiaPro-Regular-webfont.woff") format("woff"),*/
      url("../fonts/BorgiaPro-Regular-webfont.ttf") format("truetype"),
    url("../fonts/BorgiaPro-Regular-webfont.svg#borgia_proregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "borgia_capsregular";
  src: url("../fonts/BorgiaCaps-Regular-webfont.eot");
  src: url("../fonts/BorgiaCaps-Regular-webfont.eot?#iefix") format("embedded-opentype"),
    /*url("../fonts/BorgiaCaps-Regular-webfont.woff2") format("woff2"), url("../fonts/BorgiaCaps-Regular-webfont.woff") format("woff"),*/
      url("../fonts/BorgiaCaps-Regular-webfont.ttf") format("truetype"),
    url("../fonts/BorgiaCaps-Regular-webfont.svg#borgia_capsregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

body {
  position: relative;
  padding: 0;
  width: 100%;
  max-width: 1280px;
  margin: auto;

  color: #483935;
  font-family: "borgia_proregular", serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.42857143;
  background-color: #f9f2e9;
}

p {
  font-size: 1rem;
  margin: 0;
}

a {
  color: #483935;
  text-decoration: underline;
}

a:hover {
  color: #cd924b;
}

button,
.link-btn {
  background: #b18c6d;
  border: 1px solid #b18c6d;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "borgia_proregular", serif;
  font-weight: 700;
  padding: 7px 15px;
  font-size: 1.2rem;
  box-sizing: border-box;
  vertical-align: middle;
  border-radius: 3px;
  margin-bottom: 22px;
}

button:hover,
.link-btn:hover {
  background: #cd924b;
  border: 1px solid #cd924b;
  color: #fff;
}

button:disabled {
  background: #c0b7ab;
  border: 1px solid #c0b7ab;
  cursor: wait;
}

a.link-btn {
  text-decoration: none;
}

body p.err-msg {
  font-size: 1rem;
  color: red;
}

body .alert-box {
  padding: 5px;
  margin-top: 10px;
}

body .err-input {
  border: 1px solid red;
  background: #ffd5d5;
}

body .none {
  display: none;
}

.blur-content {
  filter: blur(5px);
}

.block-error {
  width: calc(100% - 44px) !important;
}

.no-margin {
  margin: 0 !important;
}

/******* PAGE ******/
/*******************/
.header-img {
  position: relative;
  background-image: url("../img/header_bg.jpg");
  background-position: center 50%;
  background-size: 100%;
  height: 245px;
}

@media only screen and (max-width: 1024px) {
  .header-img {
    height: 205px;
  }
}

.header-logo {
  position: absolute;
  top: 22px;
  left: 22px;
}

.header-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  font-family: "Quattrocento Sans", sans-serif;
  font-weight: 700;
  height: 38px;
  color: white;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 767px) {
  .header-img {
    height: 120px;
  }

  .header-logo img {
    height: 50px;
  }

  .header-title {
    height: 28px;
  }

  .header-title p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 479px) {
  .header-img {
    height: 80px;
  }

  .header-title {
    display: none;
  }
}

.container-block {
  display: grid;
  gap: 44px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 0;
}

@media only screen and (max-width: 910px) {
  .container-block {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.block {
  /* width: 100%; */
  background-color: #f2e3ce;
  padding: 22px;
}

.container-block .block:first-of-type {
  grid-row: span 2 / span 2;
}

.table-invoice {
  width: 100%;
}

.table-invoice {
  border-collapse: collapse;
}

.table-invoice td {
  border: 1px solid black;
}

.table-invoice thead td{
  font-weight: bold;
  padding: 10px 5px;
}

.table-invoice td{
  padding: 0 5px;
}

.table-invoice .no-line {
  border: 0;
  padding-top: 15px;
}

.block-title {
  text-align: center;
  color: #af4c64;
  font-family: "borgia_capsregular", serif;
  margin: 0 auto 33px;
  color: #af4c64;
  font-size: 24px;
  font-weight: 700;
}

.info-payeur {
  white-space: pre-line;
}

.for-customer-email {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.block-payeur label {
  font-weight: bold;
}

.email-payeur {
  height: 40px;
  padding: 0 5px;
  font-size: 1rem;
  font-family: "borgia_proregular", serif;
}

.subtitle-payment {
  margin: 0 0 20px;
  text-align: center;
}

.grid.payment {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* height: 100px; */
}

.overflow-hidden {
  overflow: hidden;
}

/******** MODAL ********/
/***********************/
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  /* backdrop-filter: blur(5px); */
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-modal {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(107, 114, 128, 0.75);
  backdrop-filter: blur(5px);
}

.modal-content {
  z-index: 10;
  width: 80%;
  max-width: 500px;
  margin: auto;
  background: white;
  border: 0.3px solid black;
  padding: 10px 50px;
  border-radius: 3px;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
  color: black;
}

@media only screen and (max-width: 480px) {
  .modal-content {
    padding: 10px 20px;
  }
}

.modal-content p {
  font-size: 1.2rem;
}

.input-number {
  height: 90px;
  width: 100%;
  background: ghostwhite;
  border: 1px solid black;
  font-size: 3.5rem;
  padding: 0;
  margin: 0;
  text-align: center;
}

.margin-top-modal {
  text-align: center;
  margin-top: 30px;
}

.btn-code {
  margin: auto;
  margin-top: 30px;
}

/******** MODAL OFFER ********/
/*****************************/
.w-full {
  width: 100%;
}

.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

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

.flex.items-start {
  align-items: flex-start;
}

.flex.items-end {
  align-items: flex-end;
}

.white-pre {
  white-space: pre-line;
}

.payment-type,
.payment-info {
  margin-bottom: 25px;
}

.payment-type > div:first-of-type {
  margin-bottom: 10px;
}

.payment-type h4 {
  margin: 0;
}

.payment-type label:not(.exp) {
  font-weight: bold;
}

.payment-type input {
  width: 100%;
  height: 30px;
  padding: 0 5px;
}

.for-exp {
  padding-right: 20px;
  width: 50%;
}

.for-exp-month {
  width: 50%;
  padding-right: 5px;
}

.for-exp-year {
  width: 50%;
  padding-left: 5px;
}

@media only screen and (max-width: 767px) {
  .exp-csc {
    flex-wrap: wrap;
  }
  .for-exp {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
  .for-csc {
    width: 100%;
  }
}

.pay-button-div {
  display: flex;
}

.pay-button {
  margin: auto;
}

.btn-confirmation {
  display: flex;
  gap: 10px;
  margin-top: 33px;
}

#modal-error .modal-content {
  text-align: center;
}

.err-contact {
  margin: 10px 0 20px;
}

.circle-question, .circle-cvv {
  background: black;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  font-size: 15px;
  vertical-align: super;
  position: relative;
  cursor: pointer;
}

.circle-question:hover, .circle-cvv:hover {
  background: gray;
}

.circle-question:before, .circle-cvv:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img-invoice {
  max-width: 500px;
  width: 100%;
}

.loader {
  animation: rotate-infinite 2s infinite linear;
}

@keyframes rotate-infinite {
	0% {
		transform: rotate(0deg);
  }
	50% {
		transform: rotate(280deg);
	}
	90% {
		transform: rotate(330deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

input[type="number"].noscroll::-webkit-outer-spin-button, 
input[type="number"].noscroll::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"].noscroll {
    -moz-appearance: textfield;
}