/* Timeline Container */
.timeline {
    background: var(--primary-color);
    margin: 20px auto;
    padding: 20px;
}

.outer {
    width: fit-content;
    margin: auto;
}

/* Card container */
.card-timeline {
    position: relative;
    max-width: 400px;
}

/* setting padding based on even or odd */
.card-timeline:nth-child(odd) {
    padding: 30px 0 55px 30px;
}

.card-timeline:nth-child(even) {
    padding: 50px 30px 50px 0;
}

/* Global ::before */
.card-timeline::before {
    content: "";
    position: absolute;
    width: 50%;
    border: solid #b02230;
}

/* Setting the border of top, bottom, left */
.card-timeline:nth-child(odd)::before {
    left: 0px;
    top: -5px;
    bottom: -5px;
    border-width: 5px 0 5px 5px;
    border-radius: 50px 0 0 50px;
}

/* Setting the border of top, bottom, right */
.card-timeline:nth-child(even)::before {
    right: 0;
    top: 0;
    bottom: 0;
    border-width: 5px 5px 5px 0;
    border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first card */
.card-timeline:first-child::before {
    border-top: 0;
    border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.card-timeline:last-child:nth-child(odd)::before {
    border-bottom: 0;
    border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.card-timeline:last-child:nth-child(even)::before {
    border-bottom: 0;
    border-bottom-right-radius: 0;
}

/* Information about the timeline */
.info {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: gray;
    border-radius: 10px;
    padding: 10px;
    border-radius: 35px 0;
    box-shadow: unset;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
    width: calc(100% - 30px);
}

.card-timeline:nth-child(even) .info {
    margin-right: auto;
}

/* Title of the card */
.title {
    color: #b02230;
    margin-bottom: 0;
    position: relative;
}

/* Timeline dot  */
.title::before {
    /* content: ""; */
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 999px;
    border: 3px solid #b02230;
}

/* text right if the card is even  */
.card-timeline:nth-child(even)>.info>.title {
    text-align: right;
}

/* setting dot to the left if the card is odd */
.card-timeline:nth-child(odd)>.info>.title::before {
    padding: 8px;
    left: -105px;
    bottom: -25px;
    background-image: url(http://127.0.0.1:8000/img/wheel-chair.png);
    background-size: contain;
    background-origin: content-box;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
}

/* setting dot to the right if the card is odd */
.card-timeline:nth-child(even)>.info>.title::before {
    right: -100px;
    background-image: url(http://127.0.0.1:8000/img/wheel-chair.png);
    background-size: contain;
    background-origin: content-box;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    top: -22px;
}

.card-timeline .img {
    width: 80px;
    height: 80px;
    position: absolute;
    left: -37px;
    background: #fff;
    border-radius: 100%;
    padding: 15px;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-timeline img {
    object-fit: contain;
    width: 100%;
    max-width: 100%;
}

.card-timeline:nth-child(even) .img {
    left: unset;
    right: -37px;

}

@media only screen and (max-width: 520px) {
    .timeline {
        width: 85%;
    }
}


.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    background: none;
}

.form-control:active,
.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #000;
}

.col-form-label {
    color: #000;
    font-size: 13px;
}

.btn,
.form-control,
.custom-select {
    height: 45px;
    border-radius: 0;
}

.custom-select {
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}

.custom-select:active,
.custom-select:focus {
    outline: none;
    box-shadow: none;
    border-color: #000;
}

.btn {
    border: none;
    border-radius: 0;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 30px !important;
}

.btn.btn-primary {
    border-radius: 30px;
    background: #b02230;
    color: #fff;
    box-shadow: 0 15px 30px 0 rgba(239, 67, 57, .2);
}

.btn:hover {
    color: #fff;
}

.btn:active,
.btn:focus {
    outline: none;
    box-shadow: none;
}

.contact-wrap {
    box-shadow: 0 0px 20px 0 rgba(0, 0, 0, .05);
    border: 1px solid #efefef;
}

.contact-wrap .col-form-label {
    font-size: 14px;
    color: #b3b3b3;
    margin: 0 0 10px 0;
    display: inline-block;
    padding: 0;
}

.contact-wrap .form,
.contact-wrap .contact-info {
    padding: 40px;
}

.contact-wrap .form {
    padding-bottom: 0;
}

.contact-wrap .contact-info {
    color: rgba(255, 255, 255, .5);
}

.contact-wrap .contact-info ul li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, .5);
}

.contact-wrap .contact-info ul li .wrap-icon {
    font-size: 20px;
    color: #fff;
    margin-top: 5px;
}

.contact-wrap .form {
    background: #fff;
}

.contact-wrap .form h3 {
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-wrap .contact-info {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.contact-wrap .contact-info a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.contact-wrap .contact-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
}

label.error {
    font-size: 12px;
    color: red;
}

#message {
    resize: vertical;
}

#description_medical_condition {
    resize: vertical;
    height: 100px !important;
}

#form-message-warning,
#form-message-success {
    display: none;
}

#form-message-warning {
    color: #b90b0b;
}

#form-message-success {
    color: #55a44e;
    font-size: 18px;
    font-weight: bold;
}

.submitting {
    float: left;
    width: 100%;
    padding: 10px 0;
    display: none;
    font-weight: bold;
    font-size: 12px;
    color: #000;
}