﻿/* 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 */
}

.hidden {
    display: none;
}

/* 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;
}

.requirements input {
    width: 50px;
}

.talent-package-results-container {
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.remove-filter {
    cursor: pointer;
    color: #888
}

    .remove-filter:hover {
        color: black;
    }

/* Table responsive fixes for talent pages */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Fix horizontal overflow in talent communication and activity tables */
#talent-communication-table, #log-table {
    table-layout: fixed;
    width: 100%;
}

/* Message column styling for text wrapping */
#talent-communication-table td:nth-child(3),
#log-table td:nth-child(2),
.text-wrap {
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    max-width: 300px;
    overflow-wrap: break-word;
}

/* Ensure other columns have appropriate widths */
#talent-communication-table th:nth-child(1),
#talent-communication-table td:nth-child(1) {
    width: 130px;
    min-width: 130px;
}

#talent-communication-table th:nth-child(2),
#talent-communication-table td:nth-child(2) {
    width: 100px;
    min-width: 100px;
}

#talent-communication-table th:nth-child(4),
#talent-communication-table td:nth-child(4) {
    width: 80px;
    min-width: 80px;
}

#talent-communication-table th:nth-child(5),
#talent-communication-table td:nth-child(5) {
    width: 80px;
    min-width: 80px;
}

#talent-communication-table th:nth-child(6),
#talent-communication-table td:nth-child(6) {
    width: 150px;
    min-width: 150px;
}

/* Activity table (log-table) column widths */
#log-table th:nth-child(1),
#log-table td:nth-child(1) {
    width: 130px;
    min-width: 130px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    #talent-communication-table td:nth-child(3),
    #log-table td:nth-child(2) {
        max-width: 200px;
    }
    
    #talent-communication-table th:nth-child(6),
    #talent-communication-table td:nth-child(6) {
        width: 120px;
        min-width: 120px;
    }
}
