*,
*:before,
*:after {
  box-sizing: border-box;
}
img {
  max-width: 100%;
}

@font-face {
  font-family: "Montserrat";
  src:
    url("../../assets/fonts/Montserrat/v1/Montserrat-Regular.ttf") format("ttf"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Regular.woff")
      format("woff"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Regular.woff2")
      format("woff2"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Regular.otf") format("otf"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Regular.eot") format("eot");
  font-weight: normal;
}
@font-face {
  font-family: "Montserrat";
  src:
    url("../../assets/fonts/Montserrat/v1/Montserrat-Light.ttf") format("ttf"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Light.woff") format("woff"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Light.woff2")
      format("woff2"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Light.otf") format("otf"),
    url("../../assets/fonts/Montserrat/v1/Montserrat-Light.eot") format("eot");
  font-weight: 300;
}
@font-face {
  font-family: "Tungsten";
  src:
    url("../../assets/fonts/Tungsten/v1/Tungsten-Semibold.ttf") format("ttf"),
    url("../../assets/fonts/Tungsten/v1/Tungsten-Semibold.woff") format("woff"),
    url("../../assets/fonts/Tungsten/v1/Tungsten-Semibold.woff2")
      format("woff2"),
    url("../../assets/fonts/Tungsten/v1/Tungsten-Semibold.otf") format("otf");
  font-weight: normal;
}

@font-face {
  font-family: "TungstenReveal";
  src:
    url("../../assets/fonts/TungstenReveal/v1/TungstenReveal.ttf") format("ttf"),
    url("../../assets/fonts/TungstenReveal/v1/TungstenReveal.woff")
      format("woff"),
    url("../../assets/fonts/TungstenReveal/v1/TungstenReveal.woff2")
      format("woff2"),
    url("../../assets/fonts/TungstenReveal/v1/TungstenReveal.otf") format("otf");
  font-weight: normal;
}

:root {
  --primary-red: #c8102e;
  --primary-blue: #5698d0;
  --primary-green: #2e9597;
}

body {
  background: white;
  color: black;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}
a {
  color: var(--primary-red);
  text-decoration: underline;
  transition:
    background-color 0.3s,
    color 0.3s;
}
a:hover {
  text-decoration: none;
}

#main {
  margin: 0 auto;
  max-width: 100%;
}

#header_text .block1 {
  background: #2c2e31;
  color: #b6b9b9;
  font-size: 11px;
  padding: 40px 25px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  align-items: center;
}
#header_text .hero {
  display: grid;
  grid-template-columns: auto 750px;
  gap: 1rem;
  align-items: center;
  max-width: 100%;
  width: 1220px;
  margin: 3.5rem auto 0 auto;
  justify-content: space-between;
}
#header_text .hero .banner { width: 750px; }
#header_text .headlines {
  display: grid;
  gap: 1rem;
}
#header_text h1 {
  font-family: "Tungsten", Arial, sans-serif;
  font-size: 56px;
  font-weight: bold;
  line-height: 0.85;
  text-transform: uppercase;
  position: relative;
  margin: 1rem 0 0 0;
}
#header_text h1 em {
  font-family: "TungstenReveal", Arial, sans-serif;
  font-weight: normal;
}
#header_text h1 > em:first-of-type {
  position: relative;
  color: transparent;
  display: inline-block;
  width: 0.9em; /* настрой според SVG */
}
#header_text p { 
  max-width: 98%;
  padding-bottom: 1rem; 
}
#header_text .block22 h1 > em:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/a-accent.svg") no-repeat center;
  background-size: contain;
}
#header_text .block22 h1 > em:first-of-type {
  left: 3px;
  bottom: 8px;
  width: 29px;
  height: 71px;
}
#header_text .block22 h1::before {
  background: var(--primary-red);
  border-radius: 4px;
  content: "";
  display: block;
  /* height: calc(100% + 30px); */
  height: 110%;
  width: 4px;
  position: absolute;
  top: -11px;
  left: 10px;
  transform: rotate(-15deg);
}
#header_text .block22 h1 .line2 {
  display: block;
  margin-left: 18px;
}
#header_text .block22 p {
  font-size: 16px;
  margin: 0 0 15px 40px;
}
#header_text .block22 p .line2 {
  display: inline-block;
  margin-left: 5px;
}
#header_text .block22 p .line3 {
  display: inline-block;
  margin-left: 10px;
}
#header_text .block22 .p2 {
  margin-left: 55px;
}
#header_text .block22 .p3 {
  margin-left: 51px;
}
#header_text .block22 p:nth-of-type(3).p3 {
  margin-left: 68px;
}
#header_text .block22 .logo {
  position: absolute;
  top: 30px;
  left: 0;
}
#header_text .block22 .products {
  margin-top: 1.75rem;
  max-width: 100%;
  width: 480px;
}
#header_text .block3 {
  padding: 50px 0 0 0;
  text-align: center;
}
#header_text .block3 a {
  background: #0071b8;
  border-radius: 30px;
  color: white;
  display: inline-block;
  margin: 0 15px;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
}
#header_text .block3 a:hover {
  background: var(--primary-green);
}

#content {
  margin: 0 auto;
  max-width: 1440px;
  padding: 30px 0;
}
#content h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 30px 0;
  text-align: center;
}
#content p,
#content ul {
  margin: 0 0 15px 0;
}
#content table {
  background: #eee;
  margin: 0 0 15px 0;
  width: 100%;
}
#content td {
  border: 1px solid #ddd;
  padding: 10px;
}
#content td p {
  margin: 0;
}
.tc-box .tc-box-textarea td {
  font-size: 15px;
}

#form_holder {
  padding: 15px 0;
  max-width: 1140px;
  margin: 0 auto;
}
.field-row label {
  display: inline-block;
  padding: 10px 5px 10px 0;
}
.table-cell input[type="text"],
.table-cell select {
  border: 1px solid #b6b9b9;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  padding: 10px;
  width: 100%;
}
.table-cell select {
  padding: 10px 5px;
}
#submit-div {
  padding: 30px 0;
  text-align: center;
}
.SubmitButt {
  background: var(--primary-red);
  border: 0;
  color: white;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 15px 0;
  padding: 0.85rem 2rem;
  transition: background-color 0.3s;
}
.SubmitButt:hover {
  background: var(--primary-red);
}
#form_holder,
#info_text_holder {
  padding: 20px 1%;
}
#form_holder {
  padding-top: 0.5rem;
}

.required {
  color: var(--primary-red);
}
div.required {
  color: black;
  font-size: 18px;
  font-weight: 300;
}
div.required span {
  color: var(--primary-red);
}
#a_l_txt_title,
#i_l_txt_payment_method,
#a_l_txt_purchased_products_number,
#a_l_txt_new_productgroup_all,
#a_l_txt_bank_details_international,
#a_l_txt_bank_revolut,
#a_l_txt_new_productgroup_all1 {
  color: #000000;
  display: block;
  font-size: 36px;
  font-weight: bold;
  margin: 15px 0;
}
#a_l_txt_bank_details_international {
  margin-top: 1.5rem;
}
#country_promotion {
  display: block;
  font-weight: bold;
  padding: 10px 0;
}
#i_l_txt_payment_method .required {
  display: none;
}
#r_payment_method .table-cell,
#r_purchase_upload_file .table-cell.coll1 {
  float: none;
  width: 100%;
}
#r_payment_method .cbox_list {
  float: left;
  width: 50%;
}
#r_date_purchase .table-cell,
#r_date_birth .table-cell {
  position: relative;
}
.ui-datepicker-trigger {
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 8px;
}
#date_birth_u_info,
#date_purchase_u_info,
#bank_benficiary_individual_u_info,
#bank_beneficiary_rev_u_info,
#bank_benficiary_u_info,
#bank_benficiary_rev_individual_u_info,
div[id^="serial_number"],
div[id^="date_purchase"],
div[id^="purchase_upload_file"],
#bank_account_u_info,
#upload_barcode_u_info,
#bank_code_u_info {
  color: #b6b9b9;
  display: inline-block;
  font-size: 12px;
  padding: 5px 0;
}
#r_purchase_upload_file label,
#r_purchase_upload_file .fileinputs {
  float: left;
  width: 50%;
}
#promo_content .field-row .inputfile.inputfile__btn + label {
  background: #982171;
  float: none;
  width: 100%;
  transition: background-color 0.3s;
}
.field-row .inputfile.inputfile__btn + label span {
  display: block;
  font-size: 13px;
}
div[id^="upload_barcode"][id$="_u_info"] { 
  font-size: 0.85rem; 
  margin-top: 0.25rem;
}
#promo_content .field-row .inputfile.inputfile__btn + label:hover {
  background: var(--primary-green);
}
#r_terms_conditions_box {
  margin: 0 0 10px 0;
  padding-top: 0.75rem;
}
#promo_content,
#form_holder {
  background: #fcfcfc;
}
#form_intro {
  margin-bottom: 1rem;
}
#promo_content a.popup {
  background: var(--primary-red);
  border-radius: 50%;
  color: white;
  display: inline-block;
  height: 21px;
  line-height: 21px;
  text-align: center;
  text-decoration: none;
  width: 21px;
}
#promo_content a.popup:hover {
  background: var(--primary-green);
  color: white !important;
  text-decoration: none;
}
#add_another_product,
#remove_last_product {
  background: #7DA1C4;
  border: 0;
  border-radius: 0;
  color: white;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  margin: 0 0 5px 0;
  padding: 10px;
  width: 100%;
  transition: background-color 0.3s;
}
#add_another_product.disabled,
#remove_last_product.disabled {
  display: none;
}
#add_another_product:hover,
#remove_last_product:hover {
  background: var(--primary-green);
}
#promo_content .field-row .inputfile.inputfile__btn + label { padding-top: .5rem; }
.field-row .inputfile.inputfile__btn + label span { 
  margin-top: 0.25rem; 
  display: block; 
  padding-left: 1.85rem;
}
.inputfile + label .icon { margin-right: 0.35rem!important; }
[id^=r_date_] .dynamic_info_logo { right: 45px; }

#footer {
  clear: both;
  color: #b6b9b9;
}
#footer p {
  font-size: 0.85rem;
}
#footer a {
  color: #939393;
  text-decoration: none;
  font-size: 0.85rem;
}
#footer a:hover {
  text-decoration: underline;
}
#footer .canon_footer {
  background: #fcfcfc;
}
#footer .block1 {
  border-top: 1px solid #939393;
  padding: 25px 1rem;
  background: #fcfcfc;
  color: #939393;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#footer .block3 {
  padding: 20px 25px;
  background: #2c2e31;
  text-align: right;
}
#footer .block1 ul {
  overflow: hidden;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}
#footer .block1 li {
  margin: 0;
}
#footer .block1 li:first-child { font-size: 0.85rem; }
#footer .block1 li.last {
  float: right;
}
#footer .block2 {
  background: #2c2e31;
  font-size: 11px;
  padding: 40px 25px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  align-items: center;
}

#main.ty #printArea,
#main.ty #printArea + p,
#main.ty #header_text .block3 {
  display: none;
}
#main.ty #form_wrapper {
  font-size: 24px;
  line-height: 1.5;
  padding: 100px 0;
  text-align: center;
}

.p19 {
  background: #fcfcfc;
}
.p19 #header_text .block4 {
  display: none;
}
.p19 #content {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.p19 a {
  word-break: break-all;
}

@media (max-width: 1280px) {
  #header_text .hero { 
    padding: 0 1rem; 
    grid-template-columns: auto 1fr;
  }
  #form_holder,
  #content {
    padding-left: 15px;
    padding-right: 15px;
  }
  #a_l_txt_title,
  #i_l_txt_payment_method,
  #a_l_txt_purchased_products_number,
  #a_l_txt_new_productgroup_all,
  #a_l_txt_bank_details_international,
  #a_l_txt_bank_revolut,
  #a_l_txt_purchased_products_number,
  #a_l_txt_new_productgroup_all1 {
    font-size: 30px;
  }
}

@media (max-width: 1120px) {
  #header_text .hero { margin-top: 2.5rem; }
  #header_text .hero .banner { width: 570px; }
  #header_text p { width: 100%; }
  .hero .products { width: 240px; }
  .field-row .inputfile.inputfile__btn + label span {
    margin-top: 0rem;
    padding-left: 0rem;
  }
  #promo_content .field-row .inputfile.inputfile__btn + label { 
    padding-top: 0.7rem;
    font-size: 0.875rem; 
  }
}
@media (max-width: 920px) {
  #header_text .hero .banner { width: 440px; }
  .first_row.startcol1,
  .first_row.startcol,
  .first_row.startgroup1,
  .second_row {
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  #promo_content .field-row .inputfile.inputfile__btn + label { 
    padding-top: 0.5rem; 
    font-size: 1rem;
  }
  .field-row .inputfile.inputfile__btn + label span { margin-top: 0.15rem; }
  #a_l_txt_bank_details_international,
  #a_l_txt_purchased_products_number {
    margin-top: 1.5rem;
  }
}
@media (max-width: 799px) {
  #header_text .hero .banner { width: 420px; }
  #header_text h1 { font-size: 46px; }
  #form_holder {
    width: 100%;
  }
  #form_holder {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 720px) {
  #header_text .hero { 
    grid-template-columns: 1fr; 
    padding: 0;
    gap: 1.5rem;
  }
  .hero .headlines { padding: 0 1rem; }
  .hero .products { width: auto; }
  #header_text h1 { font-size: 56px; }
  #header_text .hero .banner, #header_text .hero .banner img { width: 100%; }
  #header_text p { 
    font-size: 1.25rem;
    max-width: 95%;
  }
}
@media (max-width: 680px) {
  #header_text .block22 h1 {
    font-size: 70px;
  }
  #header_text .block22 h1 > em:first-of-type {
    left: 5px;
    width: 23px;
    height: 61px;
  }
  #header_text .block22 h1::before {
    left: 9px;
  }
  #header_text .block22 .products {
    width: 290px;
    margin-top: 1.5rem;
  }
}
@media (max-width: 620px) {
  #header_text .block22 .products {
    width: 220px;
  }
  #header_text .block22 h1 {
    font-size: 60px;
  }
  #header_text .block22 h1 > em:first-of-type {
    height: 54px;
  }
}
@media (max-width: 520px) {
  #header_text p { font-size: 0.875rem; }
}
@media (max-width: 480px) {
  #header_text .block22 {
    padding-top: 30px;
  }
  #header_text .block22 .logo {
    display: inline-block;
    margin: 0 15px 0 0;
    max-width: 40%;
    padding: 0;
    vertical-align: middle;
  }
  #header_text .block22 p,
  #header_text .block22 .p2,
  #header_text .block22 .p3,
  #header_text .block22 p:nth-of-type(3).p3 {
    margin-left: 0;
  }
  #footer .block1 li,
  #footer .block1 li.last { float: none; }
  .field-row .table-cell.coll1,
  .field-row .table-cell,
  #l_purchase_upload_file,
  #r_purchase_upload_file label,
  #r_purchase_upload_file .fileinputs {
    float: none;
    width: 100%;
  }
  #a_l_txt_title,
  #i_l_txt_payment_method,
  #a_l_txt_new_productgroup_all,
  #a_l_txt_bank_details_international,
  #a_l_txt_bank_revolut,
  #a_l_txt_new_productgroup_all1 {
    font-size: 30px;
  }
  #l_purchase_upload_file,
  #l_upload_barcode {
    padding-right: 30px;
  }
  .dynamic_info_logo {
    right: 0;
  }
  #header_text .block22 p,
  #header_text .block22 .p2,
  #header_text .block22 .p3,
  #header_text .block22 p .line2,
  #header_text .block22 p .line3 {
    line-height: 1.2;
    margin-left: 0;
  }
  .ui-datepicker-trigger { 
    top: auto; 
    bottom: 32px;
  }
}
@media (max-width: 460px) {
  #header_text .block2 {
    background-size: unset;
    padding-bottom: 1rem;
  }
  #header_text .block22 .products {
    width: 280px;
  }
}

@media (max-width: 420px) {
  #header_text .block2 {
    padding-bottom: 0;
    background-size: 110%;
  }
  #header_text .block21 {
    height: 42%;
  }
  #header_text .block22 {
    padding-bottom: 380px;
  }
  #header_text .block3 {
    padding: 2rem 1rem 0 1rem;
  }
}

@media (max-width: 380px) {
  #header_text .block22 {
    padding-bottom: 330px;
  }
  #header_text .block22 h1 {
    font-size: 70px;
  }
  #header_text .block22 h1 > em:first-of-type {
    bottom: 8px;
    width: 25px;
    height: 62px;
    left: 4px;
  }
}

@media (max-width: 350px) {
  #header_text .block2 {
    background-size: 120%;
  }
  #header_text .block22 {
    padding-bottom: 290px;
    margin-left: 1rem;
  }
  #header_text .block22 p {
    font-size: 0.925rem;
  }
}
