You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

281 lines
5.8 KiB

@font-face {
font-family: TheAntiquaB;
src: url(../fonts/TheAntiquaB-C2sOT/TheAntiquaB-W7Bold.otf);
font-weight: 500;
}
.payment {
max-width: 800px;
margin: 5px auto 0 auto;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 10px;
}
/* Titles */
.mc-block-title {
font-size: 1.6rem;
font-weight: 500;
margin-bottom: 32px;
color: #2a2a2a;
text-align: center;
text-transform: uppercase;
font-family: TheAntiquaB;
border-bottom: 1px solid #E2E4E9;
padding-bottom: 8px;
}
/* Structure de la section principale */
.payment-section {
display: flex;
flex-wrap: wrap; /* Permet aux éléments de passer à la ligne suivante si l'espace est insuffisant */
gap: 20px;
margin-top: 20px;
}
/* Formulaire à gauche (civilité, nom, prénom, mail) */
.first-section-form {
display: flex;
flex-direction: column;
gap: 12px;
flex: 1; /* Prend toute la place disponible */
max-width: 48%; /* Limite la largeur pour permettre à la seconde section de s'aligner à côté */
}
/* Formulaire à droite (autres champs) */
.second-section-form {
display: flex;
flex-direction: column;
gap: 12px;
flex: 1; /* Prend toute la place disponible */
max-width: 48%; /* Limite la largeur pour permettre à la première section de s'aligner à côté */
}
/* Correction spécifique pour .font-weight-bold */
.font-weight-bold {
margin-top: 7pxpx; /* Ajout d'une marge supérieure pour espacer du haut de la page */
padding: 10px 0; /* Ajuste le padding pour plus d'espace autour du texte */
text-align: center; /* Centrer le texte */
}
.font-weight-bold p {
font-size: 14px;
margin-top: 10px; /* Ajout de marges pour espacer les paragraphes */
margin-bottom: 5px;
}
/* Form Elements */
.form-group {
margin-bottom: 20px;
}
.control-label {
font-size: 12px;font-family: Verdana, Geneva, Tahoma, sans-serif;
color: #3a305e;
}
.select-control {
border: 1px solid #2A303B!important;
border-radius: 5px;
padding: 7px;
font-size: 12px;
transition: border 0.3s;
background: #c7c8cab4!important;
color: #4d4c52;
}
.form-control {
border: 1px solid #2A303B!important;
border-radius: 5px;
padding: 10px;
font-size: 12px;
height: 37px;
width: 90%;
transition: border 0.3s;
background: rgba(247, 246, 246, 0.733)!important;
color: #0b081b;
}
.form-control:focus {
border-color: #026B9C!important;
background: transparent!important;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.form-label-group {
position: relative;
margin-bottom: 15px;
}
/* Error messages */
.error {
color: #e74c3c;
font-size: 0.875rem;
display: none;
}
/* Form Submit Button */
.btn-primary {
background-color: #007bff;
border: none;
padding: 7px;
font-size: 1rem;
border-radius: 5px;
color: white;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
align-items: center;
width: 100px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.btn-primary:hover {
background-color: #0056b3;
}
.btn-primary:disabled {
background-color: #c0c0c0;
cursor: not-allowed;
}
.btn-container {
text-align: center;
}
/* Checkbox Styles */
.form-check-label {
font-size: 0.9rem;
color: #333;
line-height: 22px;
}
.form-check-input {
margin-top: 2px;
}
/* Stripe Form Styles */
.stripeCards {
background-color: #f4f6f9;
padding: 20px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: space-between;
border: 1px solid #e6ebf1;
margin: 16px 16px 0 16px;
}
.stripeCards img {
max-width: 100px;
}
.stripeDetails {
margin-top: 20px;
padding: 16px;
border-top: 0;
margin: 0 16px 16px 16px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
.stripeBtn {
margin: 16px 16px 0 16px;
padding: 16px 0;
}
.stripeBtn button {
background: #0048e5!important;
text-transform: uppercase;
border-radius: 8px;
font-size: 14px;
padding: 10px;
outline: 0!important;
box-shadow: none!important;
transition: background-color 0.3s;
}
.stripeBtn button:hover {
background-color: #218838;
}
.stripeForm-note p, .payment-note p {
font-family: "Marr Sans";
font-size: 14px;
line-height: 22px;
color: #464F5F;
}
/* Responsive Design */
/* Large Devices (Laptops, Desktops) */
@media (min-width: 1200px) {
.container {
padding: 40px;
}
.mc-block-title {
font-size: 2rem;
}
}
/* Medium Devices (Tablets) */
@media (max-width: 1199px) and (min-width: 768px) {
.stripeCards {
flex-direction: column;
align-items: stretch;
}
.stripeBtn button {
font-size: 1rem;
}
}
/* Small Devices (Phones) */
@media (max-width: 767px) {
.mc-block-title {
font-size: 1.4rem;
}
.form-control {
padding: 10px;
}
.stripeBtn button {
font-size: 1rem;
padding: 12px;
}
.stripeCards img {
max-width: 80px;
}
}
/* Extra Small Devices (Very Small Phones) */
@media (max-width: 480px) {
.mc-block-title {
font-size: 1.2rem;
}
.container {
padding: 15px;
}
.form-control {
font-size: 0.9rem;
}
.stripeCards img {
max-width: 60px;
}
/* Pour les petits écrans, ajuster l'orientation */
@media (max-width: 767px) {
.payment_section, .first_section_form, .second_section_form {
flex-direction: column;
}
.form-control {
width: 100%; /* Ajuste la largeur des champs de formulaire */
}
.font-weight-bold {
margin-top: 20px; /* Moins d'espace sur petits écrans */
padding: 8px 0; /* Ajuste le padding pour les petits écrans */
}
}
}