/* HOME TITLE */

.intro {
  margin: 20px;
  text-align: center;
}

.intro h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid #2A3E52;
  margin-top: 20px;
}

/* HOME COURSE CARD */

.course-container {
  display: flex;
  flex-direction: row;
  min-height: 220px;
  margin: 20px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px 0 #7696aa;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.course-img {
  height: 100%;
  background-size: cover;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: none;
  opacity: 0.7;
}

.img-1 {
  background: url("../img/conventioncollective.jpg") no-repeat center;
  background-size: cover;
}

.course-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  height: 100%;
  padding: 25px;
}

.course-infos h3 {
  height: 100%;
  border-bottom: 1px solid #2A3E52;
  padding-bottom: 5px;
  margin-bottom: 2.5px !important;
  margin-right: 15px;
}

.course-infos a {
  text-decoration: none;
}

.course-price {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-width: 20%;
  text-align: end;
  font-size: 25px;
  font-weight: bold;
}

.badge-info {
  background-color: #2A3E52 !important;
}

.badge {
  padding: 2.5px 15px !important;
  margin: 0 3px !important;
}

.btn-info {
  background-color: #2A3E52;
  border-color: #2A3E52;
}

.btn-grp {
  font-size: 10px !important;
}

.payment-logo {
  color: #2b415a;
  font-size: 28px;
  text-align: end;
}

/* COURSE MODAL */

#course-modal .modal-dialog {
  max-width: 40%;
}

#course-modal .modal-content {
  border-radius: 10px;
  border: none;
}

#course-modal .modal-header {
  height: 200px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border: none;
  opacity: 0.7;
}

#course-modal h3 {
  text-align: center;
  border-bottom: 1px solid #2A3E52;
}

#course-modal .modal-right {
  border-left: 1px solid #dee2e6;
}

/* FORM PAYMENT */

.display-address{
  display: none;
}

.cart-box {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  margin: 20px;
  padding: 30px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px 0 #7696aa;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.form-container {
  width: 45%;
}

.form-title {
  text-align: center;
  border-bottom: 1px solid #2A3E52;
  padding-bottom: 5px;
  margin-bottom: 2.5px !important;
  margin-right: 15px;
}

.required-fields {
  text-align: right;
  font-size: 12px;
  margin-top: 15px;
}

.cart-container {
  width: 45%;
}

.cart {
  width: 100%;
  height: 500px;
  margin: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px 0 #93b9cd;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.cart-img {
  width: 100%;
  height: 30%;
  background: url("../img/conventioncollective.jpg") no-repeat center;
  background-size: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  opacity: 0.7;
}

.cart-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 52%;
  padding: 20px;
}

.cart-price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 18%;
  background-color: #f0f0f0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 20px;
}

.price p:first-of-type {
  margin-bottom: 0;
}

.price p:nth-of-type(2) {
  font-size: 18px;
  border-bottom: 2px solid #2A3E52;
  margin-bottom: 0;
}

.cart-content h3 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2A3E52;
}

.topay-btn {
  margin-left: 20px;
}

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

.lined-price {
  text-decoration: line-through;
  color: grey;
}

.hidden {
  display: none;
}

/* STRIPE PAGE */

.recap-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 600px;
  margin: 20px;
  padding: 30px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px 0 #7696aa;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.recap-item {
  height: 500px;
  width: 100%;
  padding: 20px;
}

.recap-item button, .recap-item a {
  font-size: 1rem!important;
}

.recap-item h4 {
  text-align: center;
  margin-bottom: 30px;
}

.recap-item p {
  margin-bottom: 10px;
  color: #2A3E52;
}

.recap-item p strong {
  font-weight: bold;
  color: #2b415a;
}

.guest {
  border-left: 1px solid #2A3E52;
  border-right: 1px solid #2A3E52;
}

.guest .scroll-box, .client .scroll-box {
  height: 300px;
  width: 100%;
  overflow: auto;
}


.guest p {
  text-align: center;
}

#card-stripe {
  width: 100%;
  font-weight: 400;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  margin-bottom: 15px;
}

.StripeElement--focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff !important;
  outline: 0!important;
  box-shadow: 0 0 0 .2rem rgba(0,123,255,.25) !important;
}

.StripeElement {
  background-color: white;
  height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}


/* ---- RESPONSIVE ---- */


@media screen and (max-width: 770px) {

  /* HOME - COURSE CARD */

  .iv-adress,.iv-details,.iv-info,.iv-header{
    margin: 0 5px 0 5px;
  }
  .iv-adress, .iv-info{
    margin-top: 20px;
  }
  .course-container {
    margin: 0;
  }

  .course-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }

  .course-infos {
    width: 100% !important;
    flex: none;
    max-width: none;
  }

  .course-infos h3 {
    font-size: 1.25rem;
    height: inherit;
    margin-bottom: 15px !important;
  }

  .course-infos p:first-of-type {
    display: none;
  }

  .course-price {
    width: 100% !important;
    max-width: none;
  }

  /* ORDER FORM */

  form.cart-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .cart-box div.form-container, .cart-box div.cart-container {
    width: 100%;
  }

  .cart-box div.cart {
    height: auto;
    margin: 0;
  }

  .cart-box div.cart-img {
    height: 100px;
  }

  .cart-box div.cart-content {
    padding: 8px;
  }

  .cart-box div.cart-content h3 {
    font-size: 16px;
  }

  .cart-box .topay-btn {
    margin-left: 0;
  }

  .cart-box .price {
    margin-right: 0;
  }

  .cart-box .cart-price {
    padding-bottom: 15px;
  }

  /* STRIPE PAGE */

  .recap-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 10px;
  }


  .recap-box .recap-item {
    height: auto;
    padding: 0;
    margin-bottom: 15px;
  }

  .recap-box .guest {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #2A3E52;
    padding-bottom: 20px;
  }

  .recap-box .client {
    border-bottom: 1px solid #2A3E52;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .recap-box .guest .scroll-box {
    height: 0;
    min-height: 150px;
  }
}

/* NOUVELLE FACTURE */

.bar_facture{
  width: 100%;
  /*height: 15px;*/
  background-color: #2A3E52;
  text-align: center;
  color: white;
}

.text-align-right{
  text-align: right;
}

.text-align-center{
  text-align: center;
}

#txt-middle-bar{
  background-color: #2A3E52;
  color: white;
}

#course_name_facture{
  color: #2A3E52;
  text-align: center;
  width: 100%;
  text-decoration: #2A3E52 underline;
}

.table-bottom-facture{
  background-color: #2A3E52;
  color: white;
  text-align: center;
}

.footer_facture{
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 40px;
}

.footer_facture p {
  margin: 0;
  padding-left: 10px;
}


.div_footer_facture{
  border-left: 1px solid #2A3E52;
}

.bill_to p, .bill_to h2{
  margin: 0;
  text-align: end;
}
.bill_to{
  margin-bottom: 25px;
}





