/*
Theme Name: Indaweb
Theme URI: https://indaweb.it/
Author: Indaweb
Author URI: https://indaweb.it/
Description: Theme created for the Tonello Payment Platform
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indaweb
*/
html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}
  body {
    margin: 0;
  }

  main {
    display: block;
  }
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  a {
    background-color: transparent;
  }
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  img {
    border-style: none;
  }
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  button,
  input { /* 1 */
    overflow: visible;
  }
  button,
  select { /* 1 */
    text-transform: none;
  }
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  progress {
    vertical-align: baseline;
  }
  textarea {
    overflow: auto;
  }
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  details {
    display: block;
  }
  summary {
    display: list-item;
  }
  template {
    display: none;
  }
  [hidden] {
    display: none;
  }


*{
 box-sizing: border-box;   
}
body {
    font-family: "Noto Sans", serif;
    margin: 0;
    padding: 0;
}
header {
    background-color: #102c73;
    color: #fff;
    padding: 10px;
    text-align: center;
}
.container{
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 20px;
    text-align: center;
}
h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-top: 0;
	font-family: "Sora";
	font-weight: 700;
}
.main-payment-page{
    background-color: #082161;
    padding: 4% 0;
    min-height: 80vh;
}
.main-payment-page h1{
    color:#fff;
    text-align: center;
}
.payment-form{
    max-width: 500px;
    margin: 60px auto 0;
    display: block;
}
.payment-form #step-1 input{
    margin-bottom: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    letter-spacing: .025em;
    width: 100%;
	border-radius: 5px;
    padding-top: 10px !important;
    padding-right: 15px !important;
    padding-bottom: 10px !important;
    padding-left: 15px !important;
    color: #2d303c;
    background-color: #fff;
    line-height: 1.25;
    border:none;
    outline: none;
}
.payment-form #step-1 label{
    color: #fff;
    padding-bottom: .25rem;
    display: block;
}
.payment-form button,
.backhome-btn{
    color: #082161;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding: .5rem 1.25rem;
    background-color: #5BFACA;
    cursor: pointer;
    display: inline-block;
    border: none;
    text-decoration: none;
	border-radius: 50px;
}
.step-number{
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    border-radius: 9999px;
    height: 24px;
    width: 24px;
    border-width: 2px;
    border-color: #fff;
    color: #fff;
    font-weight: 700;
    border-style: solid;
}
.step-name{
    margin-left: .5rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
	font-family: "Sora", serif;
}
.single-step hr{
    color: #fff;
    margin-left: .75rem;
    margin-right: .75rem;
    border-top-width: 1px;
    width: 100%;
}
.single-step{
    display: inline-flex;
    width: 100%;
    -webkit-box-align: center;
    align-items: center;
    color: #fff;
    padding-left: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.single-step.active .step-number{
    border-color: #58b7e7;
}
.s-number{
    width: 24px;
    text-align: center;
}
.payment-aborted, .payment-confirmed{
  padding: 1.25rem .75rem;
  background-color: #102c73;
}
.aborted, .confirmed{
  color: #fff;
  font-weight: 600;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}
.aborted-cta{
  text-align: center;
  font-style: italic;
  color: rgba(255,255,255,0.8);
}
.payment-failed{
  text-align: center;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}
.backhome{
  text-align: center;
  padding: 30px 0;
}
.aborted-cta a{
  color: #fff;
  text-decoration: underline;
}
.failed-message{
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.confirmed-icon,.aborted-icon{
  text-align: center;
}
.aborted-icon img, .confirmed-icon img{
  margin-bottom: 10px;
  max-width: 75px;
  margin-left: auto;
  margin-right: auto;
}
#cpp-error-message-inside{
  color: #fff;
  font-weight: 600;
  padding: 10px;
  background-color: #ff0000;
}
.main-logo{
  max-height: 40px;
  margin: 0 auto;
}
#step-2{
  padding: 10px;
  background-color: #f5f5f5;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#step-2 h3{
  text-align: center;
}

.payment-methods {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
}

.payment-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  width: 150px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 95px;
}
@media screen and (max-width: 768px){
	.payment-content{
		width: 130px;
	}
}
.payment-box input[type="radio"] {
  display: none; /* Hide the actual radio button */
}

.payment-box .payment-content {
  font-size: 16px;
  font-weight: bold;
}

.payment-box .paypal-logo {
  max-width: 80%;
  height: auto;
}

.payment-content:hover {
  border-color: #0070ba; /* PayPal's blue */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.payment-box input[type="radio"]:checked + .payment-content {
  border-color: #0070ba;
  font-weight: bold;
  color: #0070ba;
  border-width: 2px;
}
#paypal-button-container{
  margin-top: 30px;
  width: 80%;
}