/* Program Browser: the few rules osprey's browsers had beyond the shared
   /wellesley/css/course_browser.css (which supplies everything else). */
.iconavailable_with_gap { display: block; float: left; padding: 3px; margin-top: 1.5px; }
.img_row { display: flex; }
.img_column { flex: 45%; padding: 5px; }
/* PROGRAM PHOTOS ARE UNCAPPED, as they were on osprey -- and osprey's own rule
   is why. It reads `sa_img { max-width:200px; max-height:200px; }` with NO
   leading dot, so it selects an element type that does not exist and never
   applied: every image rendered at its natural size. Porting it as `.sa_img`
   made the cap real for the first time, halving each dimension and so showing
   about a quarter of the area. Reported by the Internships and Fellowships
   testers via Kristy Liu, 2026-10-15. Kept responsive so a large photo cannot
   overflow its column. */
.sa_img { max-width: 100%; height: auto; }
.vspace { margin-top: 50px; margin-bottom: 10px; }
.pb-rule { height: 5px; border-top-width: 10px; border-bottom-width: 10px; border-color: #002776; }
.college-title { color: #fff; font-family: "Vollkorn", serif; font-size: 14px; margin-top: 7px; }
.app-title { color: #fff; font-family: "Droid Sans", sans-serif; font-size: 24px; font-weight: 700; }
.app-title:hover, .app-title:focus { color: #fff; }
.container-fluid { padding-left: 5%; }
#filters label.formlabel { display: block; margin: 8px 0 2px; }
.keyword-help { margin-top: 4px; color: #555; line-height: 1.5; font-size: .92em; }
.keyword-help summary { cursor: pointer; font-weight: bold; color: #002776; }
.keyword-help ul { margin: 4px 0 0 1.1em; padding: 0; }
.keyword-help li { margin: 2px 0; }
.keyword-help code { background: #f3f4f6; padding: 0 3px; border-radius: 3px; }

/* THE FILTER DROPDOWNS HAVE TO LOOK LIKE DROPDOWNS. The shared stylesheet's
   `.filter_selecter` strips the border (`border: 0 solid black`) and paints the
   control `#f3f3f3`, which leaves a flat pale strip sitting directly under its
   label. Worse, an author-set background-color on a <select> suppresses the
   native control chrome in WebKit, so on Safari the chevron goes too and there
   is nothing left to say the thing can be opened -- which is exactly what the
   Internships and Fellowships testers reported as "Opportunity Type has no
   dropdown" (via Kristy Liu, 2026-10-15). The markup was never the problem; the
   control was simply invisible.

   So the arrow is drawn here rather than left to the browser: `appearance:none`
   on all three engines and our own chevron, which is the only way the control
   looks the same everywhere. The border and radius match the Keywords box above
   it, which gets them from `.formsection input[type="text"]` -- the selects are
   direct children of `.row` with no `.formsection` wrapper (as on osprey), so
   that rule never reaches them. */
#filters .filter_selecter {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 32px;
    padding: 4px 28px 4px 8px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    /* Chevron, 10x6, drawn at the right-hand end. */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
}
#filters .filter_selecter:focus {
    border-color: #002776;
    outline: 2px solid rgba(0, 39, 118, .25);
    outline-offset: 0;
}

/* THIS IS WHY "OPPORTUNITY TYPE HAS NO DROPDOWN". The shared
   /wellesley/css/course_browser.css carries an osprey-era hack:

       | hides blank space where subject filter was
       #filters>.row:nth-child(4) { display: none; }

   On osprey that landed on a leftover empty row, because its filter loop
   printed a bare `<div></div>` spacer before every filter -- so the count was
   padded. This port emits no spacers, so the children of `#filters` are:
   1 the title, 2 Keywords, 3 the Opportunity Type LABEL, 4 the Opportunity Type
   SELECT. The rule therefore hides the first filter's control outright, on both
   browsers, while leaving its label in place -- which is exactly what was
   reported (Internships and Fellowships testers via Kristy Liu, 2026-10-15) and
   why the markup looked perfectly correct in the page source.

   Not fixed in the shared file: the main course browser loads it too, and the
   blank row it was written for may still be there. Overriding here keeps the
   fix to the pages that are actually wrong.

   A positional rule in a shared stylesheet is a trap for any future filter
   reorder, so if a filter is ever added or removed above Opportunity Type,
   check what `nth-child(4)` has become. */
#filters > .row:nth-child(4) {
    display: block;
}
