@font-face {  
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTeY5mlVXtdNkpsMpKkrDXP4.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/u-WUoqrET9fUeobQW7jkRbO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/MTP_ySUJH_bn48VBG8sNSuY5mlVXtdNkpsMpKkrDXP4.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans Extrabold';
  font-style: normal;
  font-weight: 800;
  src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v8/EInbV5DfGHOiMmvb1Xr-huY5mlVXtdNkpsMpKkrDXP4.woff) format('woff');
}

* {
  box-sizing: border-box;
}

.main-image {
  content: url('/images/lahjakortti_mobiiliin.jpg');
}

.container{
  padding: 0 15px !important;
}

body {
  font-family: "Open Sans";
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.alert {
  padding: 8px;
  font-weight: 300;
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: .36px;
  line-height: 20px;
  padding: 1rem 1rem;
  background-color: #fbcecf;
  margin-top: 20px;
}

.alert .error-message {
  background-color: #fbcecf;
}

.title{
  color: #000;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
}
.desc_regular{
  color: #000;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

b, strong {
  font-weight: bolder;
  color: black;
  font-family: 'Open Sans';
}

.b18{
  font-family: "Open Sans";
  font-size: 18px;
  font-weight: bold;
  color: #000;
}
span.sign_link {
  font-weight: 400;
  margin-left: 4px;
  text-decoration: underline;
  cursor: pointer;
}

#sign_in_contact{
  cursor: pointer;
}

#customInput {
  width: 60%;
  padding: 8px 8px 0 8px;
  font-size: 18px;
  color: #000;
  border: none;
  border-bottom: 1px solid black;
  outline: none;
  text-align: left;
  border-radius: 0;
}

#customInput:focus {
  border-bottom: 2px solid blue; /* Change the bottom border color on focus */
  box-shadow: none; /* Remove the default shadow on focus */
}

.link_texts {
  cursor: pointer;
  font-weight: 400;
  text-decoration: underline;
}

.checkbox_options_container {
  display: flex;
  flex-direction: row;
  margin: 20px 0;
  width: 100%;
}

.form_wrapper span.checkbox_span {
  display: inline;
  flex: 1.8 1;
  font-family: open sans;
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 8px;
}

.checkbox_real {
  border: 1px solid #000;
  height: 30px;
  margin-right: 3%;
  margin-top: 4px;
  text-align: left;
  vertical-align: top;
  width: 25px;
}

#content .form_wrapper span.checkbox_span {
  display: inline;
  flex: 1.8 1;
  font-family: open sans;
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 8px;
}

.registration_text {
  font-size: 18px;
  margin: 7px 0 5px 0;
}
.signup_link_wrapper {
  font-size: 16px;
  padding-bottom: 5px;
  padding-top: 5px;
}

/* sender form */

.form_wrapper span:not(.checkbox_span) {
  display: block;
  font-family: open sans;
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 8px;
  margin-right: 5px;
  margin-left: 5px;
}


.form_wrapper{
  height: auto;
  max-width: 640px;
  margin: auto;
}
.form_error:empty, .general_error_informer:empty {
  display: none;
}
.input_container {
  margin-bottom: 12px;
}
.form_wrapper input:not(.checkbox_real) {
  display: block;
  font-size: 16px;
  height: 38px;
  width: 100%;
}

input.invalid {
  border: 2px solid #c1282d;
  outline: none;
}
.form_error {
  background-color: #fbcecf;
  margin-top: 3px;
  padding: 8px 0 8px 8px;
  vertical-align: middle;
}

#amount{
  width: 80%;
}
#chooseCustomAmount {
  width: 50%;
}
/* end: sender form */
.otherAmountContainer{
  display: flex;
  margin-bottom: 7%;
}
#customInput{
  margin-right: 5px;
}
/* steps */


.stepper {
  display: flex;
  align-items: center;
}

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

.circle-g {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #000;
  color: #000000;
  font-family: 'Open Sans';
}

.green {
  background-color: #528400;
  color: white;
}

.line {
  width: 100%;
  height: 6px;
  background-color: #ddd;
  border-radius: 5px;
}

.step p {
  font-size: 14px;
  color: #333;
  font-weight: 400;
  position: absolute;
  margin-top: -24px;
  font-family: 'Open Sans';
}

.step.active .circle-g { 
  background-color: #528400;
  color: white;
  border: none;
}

/* end: steps */

.checkout-container {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* width: 100%; */
  /* max-width: 800px; */
  /* margin: 0 auto; */
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  width: 100%;
  width: 70%;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 40px;
}

.step {
  font-weight: bold;
  padding: 10px;
  flex: 1;
  text-align: center;
  width: 33%;
}



.step.active {
  color: white;
}

.step-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-image {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

input,
select {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 25px 0;
}

.mb20{
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  background: #6ab04c;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

button:disabled {
  cursor: not-allowed;
  background-color: #fff;
  text-decoration: none !important;
  text-align: center;
  color: #528400 !important;
  border: 1px solid #528400;
  padding: 5px;
  border-radius: 7px;
  width: 260px;
}

/* step 1*/

.container-step-1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.image-container-mobile {
  display: none;
  position: relative;
  width: 100%;
}

.main-image {
  width: 100%; /* Ensures the main image fits the container */
  height: auto;
}

.corner-image {
  position: absolute;
  bottom: 15px;  /* Adjust the distance from the bottom */
  right: 15px;   /* Adjust the distance from the right */
  width: 50px;   /* Adjust the size of the corner image */
  height: auto;  /* Maintain aspect ratio */
}


.image-container {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
}

#custom-amount{
  width: 80%;
  margin-top: 10px;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
  height: 100%;
}
.general_error_informer {
  background-color: #fbcecf;
  margin: 8px 0;
  padding: 8px 0 8px 8px;
  vertical-align: middle;
}

#receiver_message_txt_holder{  
  height: 140px;
}

#receiver_message{
  border: 1px solid #000000;
  border-radius: 0;
}

.info-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.info-container h2 {
  margin-bottom: 10px;
}


.info-container select, 
.info-container input, 
.info-container button {
  margin-top: 10px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #000000;
  border-radius: 5px;
}

#prev-btn, #sign_in_contact{
  background-color: #fff;
  text-decoration: none !important;
  text-align: center;
  color: #528400 !important;
  border: 1px solid #528400;
  padding: 5px;
  border-radius: 7px;
  width: 260px;
}

#prev-btn:hover {
  color: #fff !important;
  background-color: #528400;
}

#chooseCustomAmount {
  width: 40%;
}

#next-btn, #chooseCustomAmount{
  cursor: pointer;
  background-color: #528400;
  text-decoration: none !important;
  text-align: center;
  color: #fff;
  border: 1px solid #528400;
  padding: 5px;
  border-radius: 7px;
}


#next-btn{
  width: 260px;
}

button {
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
}

button:hover, #sign_in_contact:hover {
  color: #fff !important;
  background-color: #528400;
}

.hidden {
  visibility: hidden;
}
/* end: step 1*/




/* layout */


@media (max-width: 998px) {
  #amount{
    width: 100%;
  } 
  #custom-amount{
    width: 100%;
  }
  #customInput {
    width: 40%;
  }
  #chooseCustomAmount {
    width: 60%;
  }
  .container-step-1 {
      flex-direction: column;
      align-items: center;
  }

  .image-container-mobile{
    display: block;
    width: 100%;
  }

  .image-container-mobile .main{
    width: 100%;
  }

  .image-container-mobile .corner-image{
    width: 80px;
    height: auto;
  }

  .image-container {
      display: none;
  } 
  .image-container img {
      width: 100%;
      /* max-width: 400px; */
  }

  #prev-btn,
  #next-btn {
    width: 45%;
  }
  .mobileHide{
    display: none;
  }
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  .main-image {
    width: 100%;
    max-width: 1000px;
    height: 210px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    content: url('/images/lahjakortti_tabletille.jpg'); /* Add your tablet image here */
  }
}

@media (max-width: 640px) {
  .title{
    font-size: 16px;
  }
  #customInput {
    width: 60%;
  }
  .otherAmountContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 7%;
  }
  .step-indicator {
    width: 85%;
  }
  .image-container-mobile .corner-image{
    width: 60px;
    height: auto;
  }
  .main-image {
    width: 100%;
    max-width: 640px;
    height: 210px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
  }

}


@media (max-width: 460px) {
  p{
    font-size: 16px !important;
  }
  #customInput {
    width: 70%;
  }
  .step-indicator {
    width: 85%;
  }
  .image-container-mobile .corner-image{
    width: 60px;
    height: auto;
  }
}
/* end: layout */