@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100&display=swap');
* {
    font-family: 'Lato', sans-serif;
}
input:focus:not(:focus-visible) {
    outline: none;
  }
  
  input:focus-visible {
    box-shadow: 0 0 3px 2px rgba(0, 123, 255, .5);
  }
.img-logo {
    width: 400px;
}
.btn:not(:disabled):not(.disabled) {
    color: white;
}
.navbarr {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: rgb(255, 255, 255);
    padding-top: 1rem;
}
.main-class {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.container-title {
    background-color: #DF0401;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 26rem;
    margin-top: 1rem;
}
.text-title {
    color: #fff;
    text-align: center;
    font-weight: 700;
}
.program-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 26rem;
}
.text-program-title {
    text-align: center;
    font-size: 26px;
    color:rgb(103, 100, 99);
    font-weight: bold;
}
.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 50%;
}
.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  
    @media (max-width: 768px) {
      font-size: 12px;
    }
}
.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 10px;
    left: -50%;
    z-index: 2;
}
.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 10px;
    left: 50%;
    z-index: 2;
}
.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgb(140, 152, 293); 
    border: 3px solid rgb(207, 216, 244);
    margin-bottom: 6px;
}
.stepper-item.active {
    font-weight: bold;
}
.stepper-item.completed .step-counter {
    background-color: rgb(58, 80, 153);
    border: 3px solid rgb(159, 174, 228);
}
.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid rgb(58, 80, 153);;
    width: 100%;
    top: 10px;
    left: 50%;
    z-index: 3;
}
.stepper-item:first-child::before {
    content: none;
}
.stepper-item:last-child::after {
    content: none;
}
.form-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.step {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.row {
    margin: 15px 15px auto;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-controll {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-date{
    display: block;
    width: 32%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-secondary {
    color: #000!important;
    background-color: rgb(245, 191, 76);
    border: none;
    height: 55px;
    font-size: 25px;
    width: 97%;
    border-radius: 5px;
    margin-bottom: 2rem;
}
.form-header-text {
    text-align: center;
}
.date-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-tertiary {
    color: #000!important;
    background-color: rgb(245, 191, 76);
    border: none;
    height: 45px;
    font-size: 18px;
    width: 100%;
    border-radius: 5px;
}
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
label {
    text-align: center;
    font-weight: bold;
}
.form-container {
    padding-top: 1rem;
    margin-bottom: 1rem;
}
.img-bottom {
    width: 100rem;
}
.card-component {
    /* border: 1px solid rgb(219, 223, 226); */
    border-radius: 5px;
    width: 100%;
}
.step:not(.active){display: none;}

/* credit card style */
.input-group-append {
    margin-left: 2px;
}
.input-group-text {
    background-color: #fff;
    border: none;
}
.input-group>.form-control {
    border: none;
}
#errorMsg {
  color:#DF0401;
  margin-top: .4rem;
}
#card-element {
    height: 40px;
    margin-bottom: 15px;
    margin-top: 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    padding: 5px 5px 0px 5px;
}

/* success box */
#card {
    position: relative;
    width: 320px;
    display: block;
    margin: 40px auto;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
#upper-side {
    padding: 2em;
    background-color: #3B4F9A;
    display: block;
    color: #fff;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
#checkmark {
    font-weight: lighter;
    fill: #fff;
    margin: -3.5em auto auto 20px;
}
#status {
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1em;
    margin-top: -.2em;
    margin-bottom: 0;
}
#lower-side {
    padding: 2em 2em 5em 2em;
    background: #fff;
    display: block;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
#message {
    margin-top: -.5em;
    color: #757575;
    letter-spacing: 1px;
}
#contBtn {
    position: relative;
    top: 1.5em;
    text-decoration: none;
    background: #3B4F9A;
    color: #fff;
    margin: auto;
    padding: .8em 3em;
    -webkit-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.21);
    -moz-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.21);
    box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.21);
    border-radius: 25px;
    -webkit-transition: all .4s ease;
          -moz-transition: all .4s ease;
          -o-transition: all .4s ease;
          transition: all .4s ease;
  }
#contBtn:hover {
    -webkit-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.41);
    -moz-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.41);
    box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.41);
    -webkit-transition: all .4s ease;
          -moz-transition: all .4s ease;
          -o-transition: all .4s ease;
          transition: all .4s ease;
  }
.card-infos-wrapper {
    border: 1px solid #ced4da;
    border-radius: 5px;
    height: 2rem;
    padding-left: 1rem;
}
.card-cvv-wrapper {
    border: 1px solid #ced4da;
    border-radius: 5px;
    height: 2rem;
    margin-top: .5rem;
    padding-top: 6px;
    padding-left: 1rem;
    width: 49%;
}
.card-expiry-fields {
    border: 1px solid #ced4da;
    border-radius: 5px;
    height: 2rem;
    margin-top: .5rem;
    padding-top: 6px;
    padding-left: 1rem;
    width: 49%;
}
.card-img {
    width: 12rem;
    margin-top: -1rem;
}
#subscrFrm {
    padding:2rem;
}
.step3 {
    width: 60%;
}

@media (max-width: 1441px) {
    .img-bottom {
        width: 90rem;
    }
}
@media (max-width: 1025px) {
    .img-bottom {
        width: 64rem;
    }
    .container-title {
        padding: 1rem 12rem;
    }
    .program-title {
        padding: 1rem 10rem;
    }
     .step3 {
        width: 80%;
    }
}
@media (max-width: 769px) {
    .img-bottom {
        width: 48rem;
    }
    .container-title {
        padding: 1rem 5rem;
    }
    .program-title {
        padding: 1rem 3rem;
    }
    .stepper-wrapper {
        width: 80%;
    }
    .form-content{
        max-width: 70%;
    }
     #subscrFrm {
        padding:0rem;
    }
    .step3 {
        width: 100%;
    }
}
@media (max-width: 426px) {
    .img-bottom {
        width: 24rem;
    }
    .container-title {
        padding: 1rem 0.5rem;
    }
    .program-title {
        padding: 1rem 0rem;
    }
    .stepper-wrapper {
        width: 100%;
    }
    .form-content {
        max-width: 98%;
    }
    h2 {
        font-size: 1.5rem;
    }
    .row {
        flex-wrap: nowrap;
    }
    .dob-container {
        flex-wrap: wrap;
    }
    .img-logo {
        width: 385px;
    }
    label {
        margin-top: 0.5rem;
    }
}
@media (max-width: 376px) {
    .img-bottom {
        width: 23.3rem;
    }
    .img-logo {
        width: 370px;
    }
    .btn-tertiary {
    font-size: 16px;
}
}
@media (max-width: 321px) {
    .img-bottom {
        width: 20rem;
    }
    .img-logo {
        width: 320px;
    }
    .btn-tertiary {
    font-size: 12px;
}
}
.error {
    color: red;
    font-size: 9px;
}