/**
 * Stylesheet for front end of Careers Resources
 *
 * This file is in version control:
 * https://github.com/uofa/careers-resources/
 *
 * Created 20 May 2014
 * Updated 23 Jun 2025
 *
 * Last update: enable default focus outline to shine (MikeP said so), AB
 *
 * @author Colin Denholm
 * @author Allan A Beattie
 */

.full_width .careers_resources_heading {
    text-align: center;
}

.full_width .careers_resources_heading h2::after {
    border-bottom: 0.16em solid #f4c900;
    content: '';
    display: block;
    margin: 0 auto;
    padding: 0.5em 0 0;
    width: 4em;
}

.careers_resources_heading h2 {
    margin-top: 0;
}

.careers_resources * {
    box-sizing: border-box;
}

.careers_resources.multiple {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

.careers_resources ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.careers_resources li {
    display: block;
}

.careers_resources form {
    padding: 0.4em 1em 1em;
    margin-bottom: 1em;
    background-color: #354b8c;
}

.careers_resources label {
    color: #fff;
    font-weight: 700;
}

.careers_resources select,
.careers_resources input {
    background: #fff;
    margin: 0.4em 0;
    padding: 0.2em;
    border: 1px solid;
    border-color: #fff;
    width: 100%; /* calc(100% - 5em); */
}

.careers_resources option.group {
    font-weight: bold;
}

.careers_resources input {
    padding: 0.2em;
}

.careers_resources input[type=submit],
.careers_resources button[type=submit] {
    width: 4em;
    background-color: #f4c900;
    border: 1px solid;
    border-color: #f4c900;
}

.careers_resources input[type=text],
.careers_resources select {
    border: 1px solid #ccc;
    width: calc(100% - 4.25em);
    padding-left: 0.5em;
}

.careers_resources select:hover,
.careers_resources input[type=text]:hover,
.careers_resources input[type=submit]:hover,
.careers_resources button[type=submit]:hover,
.careers_resources select:focus,
.careers_resources input[type=text]:focus,
.careers_resources input[type=submit]:focus,
.careers_resources button[type=submit]:focus {
    background: #fdffce;
    border-color: #fdffce;
}

.search_again {
    margin: 1em 0;
    text-align:  right;
}

.search_again a::before {
    font-family: FontAwesome;
    display: inline-block;
    margin: 0 0.3em 0 0;
    content: '\f002';
}

.search_again .feature_more {
    margin: 0;
}

.faq_table .feature_star {
    margin-right: 0.5em;
}

.feature_star {
    color: #F4C900;
}

.single_resource_div {
    position: relative;
    height: 300px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (min-width: 740px) {
    .full_width .careers_resources_heading {
        margin: 0 auto;
    }

    .careers_resources.multiple {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 5.5%; /* Chrome, Safari, Opera */
        -moz-column-gap: 5.5%; /* Firefox */
        column-gap: 5.5%;
    }
}
