﻿.description-text {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    overflow-wrap: break-word;
}

    .description-text p {
        margin-bottom: 1em;
        line-height: 1.7;
        font-size: inherit;
    }

    .description-text ul {
        margin: 1em 0;
        padding-left: 1.5rem;
    }

    .description-text li {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 0.5em;
        list-style-type: disc;
    }

    .description-text h1,
    .description-text h2,
    .description-text h3 {
        font-weight: 600;
        color: #1e3a8a; /* Tailwind blue-900 for academic tone */
        margin-top: 1.5em;
        margin-bottom: 0.5em;
    }

    .description-text a {
        color: #2563eb; /* Tailwind blue-600 */
        text-decoration: underline;
    }

        .description-text a:hover {
            color: #1d4ed8; /* Tailwind blue-700 */
        }

.img-siz {
    background-size: cover;
    width: 8em;
    height: 8em;
    margin-left: 10px;
    border-radius: 50%;
    object-fit: cover;
}


.img-mobsize {
    background-size: cover;
    width: 4em;
    height: 4em;
    margin-left: 1px;
    border-radius: 62px;
}

.img-circle {
    border-radius: 50%;
}

img.img-circle {
    background: black;
}

.btn-rounded.btn-md {
    padding: 12px 35px;
    font-size: 16px;
}

.tutornameRow {
    display:flex;
    flex-direction: row;
}

.tutornameRowMobile {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    margin-left: 10px;
}


.tutorAvailCol {
    display: flex;
    flex-direction: row;
}

.location {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rate {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.rating {
    display: flex;
    flex-direction: row;
    align-items: center;
}


hr.dashed {
    border-top: 3px dashed #EBECF1;
    margin-left: 19px;
    margin-right: 19px;
}

.tutorAvailability {
    background-color: dodgerblue !important;
    color: white !important;
}

#availabilityCalendar td {
    border-radius: 10px;
    padding: 5px;
}

#availabilityCalendar table {
    border-spacing: 5px;
}

@media only screen and (max-width: 1919px) {
    .img-circle {
        object-fit: cover;
        width: 155px;
        height: 155px;
    }
}
@media screen and (min-width: 1920px) {
    .img-circle {
        object-fit: cover;
        width: 200px;
        height: 200px;
    }
}

.div {
    font-family: Roboto;
}

h4.card-title {
    color: black;
    font-family: Roboto;
}

.h4 {
    color: black;
    font-family: Roboto;
}

/* Mobile-first styles: Smaller margins suitable for smaller screens */
.main-raised {
    margin-top: -450px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

/* Desktop styles: Larger margins for larger screens */
@media (min-width: 992px) {
    .main-raised {
        margin-top: -430px !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}