html, body {
    height: 100%;
    margin: 0;
}
.wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.content {
    flex: 1;
}

form .required::after {
    content: " *";
    color: red;
}
.header-logo {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
}
.header-logo:hover {
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}
a {
    text-decoration: none;
}
.fs-default {
    font-size: 1rem !important;
}
.fs-14 {
    font-size: 0.875rem;
}
.fs-18 {
    font-size: 1.125rem;
}
.fs-20 {
    font-size: 1.25rem;
}
.fs-24 {
    font-size: 1.5rem;
}
.fw-500 {
    font-weight: 500;
}

.bg-primary-50 {
    background: #f9eaf1;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(243, 216, 228, 1) 100%);
}
.bg-ltgray {
    background-color: #f7f7f7;
}

.sidebar {
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.sidebar h5 {
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.sidebar .form-check {
    margin-bottom: 10px;
}
.sidebar label {
    margin-bottom: 5px;
    display: block;
}
.blur-effect {
    filter: blur(8px);
    -webkit-filter: blur(8px); /* For Safari */
}
.sm-card-profile {
    border-radius: 10px;
    border-color: #ededed;
    box-shadow: 0px 10px 18px 0px rgba(230, 230, 230, 0.19);
    height: 100%;
    overflow: hidden;
}
.sm-card-profile-img {
    text-align: center;
}
.sm-card-profile-img img {
    width: 100%;
    height: 200px;
    background-size: cover;
    object-position: top;
}
.sm-card-profile .img-thumbnail {
    height: 150px;
}
.sm-card-profile .card-footer {
    background-color: #fff;
    border-color: #ededed;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.sm-card-profile .card-footer a {
    padding: 0 5px;
}
.sm-card-profile .card-footer a img {
    width: 24px;
}
.sm-card-profile:hover {
    border: 2px solid #c14079;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.link-hover a:hover{
    text-decoration: underline;
}
.popover {
    max-width: 400px;
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    /* border: 2px solid #a0b83f; */
}
.popover-body {
    padding: 0;
}
.popover-header {
    background-color: #0d6efd;
    font-size: 1.18rem;
    color: #fff;
}
.popover-content {
    padding: 1rem;
    background-color: #eaeaea;
    font-size: 1.18rem;
}

.sm-profile-hero-card h4 {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-profile-card-lg {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
}
.sm-profile-card-lg_primary {
    border-color: #c14079;
}
.sm-profile-card-lg p:last-of-type {
    margin-bottom: 0;
}
.sm-profile-card-lg .card-body {
    padding: 25px 35px;
}
.sm-profile-card-lg_overview {
    position: sticky;
    top: 0.5rem;
}
.sm-profile-lock {
    padding: 20px 15px;
    background-color: #f9eff4;
    text-align: center;
    position: absolute;
    /* top: 50%; */
    width: calc(100% - 70px);
}
.sm-profile-lock-title {
    font-size: 16px;
}
.sm-profile-lock-title img {
    width: 20px;
    margin-right: 3px;
    margin-top: -3px;
    display: inline-block;
}
.sm-profile-card-overview-profile {
    display: flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
}
.sm-profile-card-overview-profile img {
    max-height: 180px;
}
.sm-profile-card-overview-profile .sm-desc-list {
    width: 100%;
}
.sm-profile-card-overview-profile-list dl {
    text-align: left;
    margin-bottom: 5px;
}
.sm-profile-card-overview-profile-list dl dt,
.sm-profile-card-lg_overview .sm-desc-list dt {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    line-height: normal;
}
.sm-profile-card-overview-profile-list dl dd,
.sm-profile-card-lg_overview .sm-desc-list dd {
    font-size: 15px;
    color: #262626;
    font-weight: 500;
}
.sm-profile-card-lg_overview .sm-desc-list {
    align-items: center;
    margin-bottom: 7px;
}
.sm-profile-card-lg_overview .sm-desc-list dt {
    width: 40%;
}
.sm-profile-card-lg_overview .sm-desc-list dd {
    padding-left: 15px;
}
.sm-desc-list dt {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    display: inline-block;
    width: 20%;
}
.sm-table th, .sm-table td {
    border-bottom: 0;
    padding: 10px 20px;
}
.sm-table th {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    background-color: #f6f2f4;
}
.sm-table th:first-of-type {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.sm-table th:last-of-type {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.sm-table td {
    font-size: 18px;
    font-weight: 500;
}
.sm-table-skill th,
.sm-table-skill td {
    padding: 10px 8px;
}
.sm-table-skill td {
    font-size: 14px;
}
.sm-table-skill .sm-preference-stars {
    width: 116px;
}
.sm-table-skill .sm-preference-stars img {
    width: 20px;
}
.sm-table-skill tr:last-child td {
    padding-bottom: 0;
}
.sm-table-skill th.sm-table-skill-area {
    width: 124px;
}
.sm-table-skill .sm-other-info-icon {
    width: 24px;
}
.sm-table-skill tr {
    border-top: 1px solid #ececec;
}
.sm-table-skill tr.tr-assessment td {
    font-weight: 400;
}
.sm-table-skill tr.tr-assessment td span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #515151;
    padding-right: 5px;
}
.sm-table-skill tr:first-child,
.sm-table-skill tr.tr-assessment {
    border-top: none !important;
}
.sm-table-skill .sm-other-info-icon {
    width: 24px;
}
.sm-other-info-icon {
    width: 32px;
}
.card-experience {
    overflow: hidden;
}
.card-experience-count {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-desc-list {
    display: flex;
    align-items: flex-start;
}
.sm-desc-list:last-of-type {
    margin-bottom: 0;
}
.sm-desc-list dd {
    font-size: 18px;
    display: inline-block;
    flex: 1;
    margin-bottom: 0;
}
.sm-desc-list_col {
    flex-direction: column;
}
.sm-desc-list_col dt, .sm-desc-list_col dd {
    display: block;
    width: 100%;
}
.sm-desc-list_profile {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-top: 3px;
}
.sm-desc-list_profile-title {
    font-size: 14px;
    font-weight: 500;
    color: #515151;
}
.sm-desc-list_profile-data {
    margin-left: auto;
    font-weight: 500;
}
.sm-desc-list_profile-data span {
    font-size: 16px;
    display: block;
}
.sm-desc-list_profile-data span > span {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}
.sm-td-label {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: #515151 !important;
}
.sm-yt-video,
.sm-gdrive-video {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    border-radius: 10px;
}
.sm-yt-video iframe,
.sm-gdrive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

#map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .fs-default {
        font-size: 0.875rem !important;
    }
    .fs-14 {
        font-size: 0.75rem !important;
    }
    .fs-18 {
        font-size: 1rem;
    }
    .fs-20 {
        font-size: 1rem;
    }
    .fs-24 {
        font-size: 1.125rem !important;
    }
    .sm-card-profile-img img {
        height: 200px;
    }
    .sm-profile-hero-card {
        width: 48%;
        flex-basis: 48%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .sm-profile-hero-card h4 {
        min-height: 24px;
    }
    .sm-profile-card-lg .card-body {
        padding: 15px;
    }
    .sm-profile-lock {
        width: calc(100% - 30px);
    }
    .sm-table th {
        font-size: 12px;
    }
    .sm-table td {
        font-size: 14px;
        vertical-align: middle;
    }
    .sm-table th, .sm-table td {
        padding: 8px 10px;
    }
    .sm-table-skill, .sm-table-skill thead, .sm-table-skill tbody, .sm-table-skill tr, .sm-table-skill th, .sm-table-skill td {
        display: block;
    }
    .sm-table-skill thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .sm-table-skill tr:nth-child(odd) {
        background: #ccc;
    }
    .sm-table-skill td {
        border: none;
        position: relative;
        padding-left: 45%;
        vertical-align: middle;
        text-align: left !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .sm-table-skill td:before {
        position: absolute;
        top: 7px;
        left: 5px;
        width: 30%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 500;
        text-transform: uppercase;
        color: #515151;
        display: inline-block;
        font-size: 12px;
    }
    .sm-table-skill td:nth-of-type(1):before {
        content: "Area of work";
    }
    .sm-table-skill td:nth-of-type(2):before {
        content: "Willingness";
    }
    .sm-table-skill td:nth-of-type(3):before {
        content: "Preference";
    }
    .sm-table-skill td:nth-of-type(4):before {
        content: "Experience";
    }
    .sm-table-skill td:nth-of-type(5):before {
        content: "Assessment";
    }
    .sm-table-skill tr.tr-assessment td:first-child {
        display: none;
    }
    .sm-table-skill tr.tr-assessment td span {
        display: none;
    }
    .sm-table-skill td:first-child {
        padding-top: 10px;
    }
    .sm-table-skill td:last-child {
        padding-bottom: 10px;
    }
    .sm-table-skill tr:nth-of-type(odd) td {
        background-color: #f6f2f4;
    }
    .sm-other-info-icon {
        width: 24px;
    }
    .sm-desc-list {
        flex-direction: column;
        margin-top: .5rem;
    }
    .sm-desc-list dt {
        width: 100%;
        font-size: 12px;
    }
    .sm-desc-list dd {
        font-size: 16px;
    }
    .sm-profile-card-lg_overview .sm-desc-list {
        flex-direction: row;
    }
    .sm-yt-video,
    .sm-gdrive-video {
        float: none;
        clear: both;
        width: 100%;
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 25px;
        height: 0;
        border-radius: 10px;
    }
    .sm-yt-video iframe,
    .sm-gdrive-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
    #map-container {
        padding-bottom: 112%; /* 9:16 aspect ratio */
    }
}