﻿.portrait {
    height: 40vh; /* Adjust based on your needs */
    width: auto; /* This ensures the width adjusts to maintain the image's aspect ratio */
    object-fit: contain; /* This will make sure the image is scaled to maintain its aspect ratio while fitting within the element's box */
    aspect-ratio: 2 / 3; /* Sets a preferred aspect ratio for the image */
    display: block; /* To remove any extra space below the image */
    margin: 0 auto; /* Center the image horizontally if it's within a container */
}


/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}


/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}



/* https://bootsnipp.com/snippets/NDgPQ */
.frb-group {
    margin: 15px 0;
}

.frb ~ .frb {
    margin-top: 15px;
}

.frb input[type="radio"]:empty,
.frb input[type="checkbox"]:empty {
    display: none;
}

.frb input[type="radio"] ~ label:before,
.frb input[type="checkbox"] ~ label:before {
    font-family: FontAwesome;
    content: '\f096';
    position: absolute;
    top: 50%;
    margin-top: -11px;
    left: 15px;
    font-size: 22px;
}

.frb input[type="radio"]:checked ~ label:before,
.frb input[type="checkbox"]:checked ~ label:before {
    content: '\f046';
}

.frb input[type="radio"] ~ label,
.frb input[type="checkbox"] ~ label {
    position: relative;
    cursor: pointer;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f2f2f2;
}

.frb input[type="radio"] ~ label:focus,
.frb input[type="radio"] ~ label:hover,
.frb input[type="checkbox"] ~ label:focus,
.frb input[type="checkbox"] ~ label:hover {
    box-shadow: 0px 0px 3px #333;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    color: #fafafa;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    background-color: #f2f2f2;
}

.frb.frb-default input[type="radio"]:checked ~ label,
.frb.frb-default input[type="checkbox"]:checked ~ label {
    color: #333;
}

.frb.frb-primary input[type="radio"]:checked ~ label,
.frb.frb-primary input[type="checkbox"]:checked ~ label {
    background-color: #337ab7;
}

.frb.frb-success input[type="radio"]:checked ~ label,
.frb.frb-success input[type="checkbox"]:checked ~ label {
    background-color: #5cb85c;
}

.frb.frb-info input[type="radio"]:checked ~ label,
.frb.frb-info input[type="checkbox"]:checked ~ label {
    background-color: #5bc0de;
}

.frb.frb-warning input[type="radio"]:checked ~ label,
.frb.frb-warning input[type="checkbox"]:checked ~ label {
    background-color: #f0ad4e;
}

.frb.frb-danger input[type="radio"]:checked ~ label,
.frb.frb-danger input[type="checkbox"]:checked ~ label {
    background-color: #d9534f;
}

.frb input[type="radio"]:empty ~ label span,
.frb input[type="checkbox"]:empty ~ label span {
    display: inline-block;
}

.frb input[type="radio"]:empty ~ label span.frb-title,
.frb input[type="checkbox"]:empty ~ label span.frb-title {
    font-size: 16px;
    font-weight: 700;
    margin: 5px 5px 5px 50px;
}

.frb input[type="radio"]:empty ~ label span.frb-description,
.frb input[type="checkbox"]:empty ~ label span.frb-description {
    font-weight: normal;
    font-style: italic;
    color: #999;
    margin: 5px 5px 5px 50px;
}

.frb input[type="radio"]:empty:checked ~ label span.frb-description,
.frb input[type="checkbox"]:empty:checked ~ label span.frb-description {
    color: #fafafa;
}

.frb.frb-default input[type="radio"]:empty:checked ~ label span.frb-description,
.frb.frb-default input[type="checkbox"]:empty:checked ~ label span.frb-description {
    color: #999;
}

.input-validation-error {
    border-color: red;
}

.validation-summary-errors ul li {
    list-style: none;
}

.btn-xs {
    padding: .20rem .4rem;
    font-size: .675rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.profile-pic {
    width: 150px; /* adjust this to the size you want */
    height: 150px; /* adjust this to the size you want */
    border-radius: 50%; /* this makes it circular */
    display: flex;
    justify-content: center; /* centers image horizontally */
    align-items: center; /* centers image vertically */
    margin: 0 auto; /* horizontally centers the circular image within its container */

}

.profile-pic img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 50%; /* add this line to make the image circular */
}

.thumb-nail {
    max-width: 50px;
    max-height: 50px;
    width: 50px; /* set width and height to the same value to make a perfect circle */
    height: 50px; /* set width and height to the same value to make a perfect circle */
    object-fit: cover; /* this ensures the image covers the entire container */
    border-radius: 50%; /* add this line to make the image circular */
}

.thumb-nail img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* this ensures the image covers the entire container */
    border-radius: 50%; /* add this line to make the image circular */
}

.full-width-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.selected {
    border: 3px solid blue;
}

/* Position the submenu relative to its parent */
.dropdown-submenu {
    position: relative;
}

/* Position the submenu to the left */
.dropdown-menu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu {
    z-index: 1001;
}

/* Style the caret to be on the left */
.dropdown-submenu-left .dropdown-toggle::after {
    margin-right: .255em;
    margin-left: 0;
    float: left;
    border-right: .3em solid transparent;
    border-left: .3em solid;
    border-top: .3em solid transparent;
    border-bottom: 0;
}

/* Ensure the submenu opens to the left */
.dropdown-submenu .dropdown-menu {
    top: 0;
    right: 100%;
    margin-top: -1px;
}

/* Style for disabled dropdown items */
.dropdown-item.disabled {
    opacity: 0.6;
}

.disabled-item {
    opacity: 0.5; /* Adjust the opacity as needed */
    pointer-events: none; /* Prevent interaction */
}

#searchResults {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    gap: 15px; /* Adjust the gap between items as needed */
}

.talent-card-container {
    margin: 10px;
    padding: 0;
}

.selected-card {
    border: 2px solid #007bff; /* Add a blue border for selected cards */
    background-color: rgba(0, 123, 255, 0.1); /* Light blue background for selected cards */
}

.floating-header {
    position: fixed;
    top:70px ; /* Initially, we will set top to 0 */
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: top 0.0s; /* Smooth transition */
}
.content {
    margin-top: 150px; /* Adjust this value based on the height of your header */
}

.centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; /* Center text */
}

.fixed-header {
    position: sticky;
    top: 0;
    background-color: white; /* Match the modal background */
    z-index: 1000; /* Ensure it stays above the content */
    border-bottom: 1px solid #dee2e6; /* Optional: Add a bottom border */
    padding: 15px;
    box-shadow: 0 2px 2px -2px rgba(0,0,0,.2); /* Optional: Add a shadow for better separation */
}

.carousel-item {
    transition: transform 0.5s ease;
}
.carousel-caption {
    bottom: 20px;
}

.toggle-switch-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 120px; /* Adjust width based on label lengths */
    height: 34px;
}

.toggle-checkbox {
    display: none; /* Hide the checkbox */
}

.toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 25px;
    padding: 5px;
    position: relative;
    transition: background-color 0.3s;
    height: 100%;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 50%;
    height: 28px;
    border-radius: 20px;
    background-color: #4CAF50;
    transition: left 0.3s;
    z-index: 0;
}

.toggle-label .left,
.toggle-label .right {
    flex: 1;
    text-align: center;
    z-index: 1; /* Ensures text is above the slider */
    color: #333; /* Default text color */
    transition: color 0.3s;
    padding: 5px 10px;
}

.toggle-checkbox:checked + .toggle-label .toggle-slider {
    left: 55%; /* Adjust to align the slider with the labels */
}

.toggle-checkbox:checked + .toggle-label .right {
    color: white; /* Highlight active choice */
}

.toggle-checkbox:not(:checked) + .toggle-label .left {
    color: white; /* Highlight active choice */
}


.background-action.is-processing {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}
