/* city-specific css lives here */
/* anything in this file will override custom.css in django-councilmatic */
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar {
    font-family: 'ff-din-web', Arial, sans-serif;
}

body, body .table, .popover-body, .badge-facet, .text-body-secondary {
    color: #6B6B6B;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar, th {
    color: black;
}

h1, .h1 {
    font-size: 36px;
}

.no-wrap {
    white-space: nowrap;
}

.padding-sm {
    margin-bottom: 2em;
}

.navbar-brand {
    min-width: 160px;
    padding-top: 20px;
    line-height: 21px;
    height: 60px;
    font-size: 16px;
}

.navbar-nav {
    float: right;
}

.navbar {
    font-size: 16px;
    height: 65px;
}

.nav>li>a {
  padding: 19.5px 10px;
}

#no-sessions {
  padding-top: 3px;
}

.site-intro-search { margin-bottom: 1em; }

#section-photo {
    background-image:
        linear-gradient(
          rgba(0, 0, 0, 0.9),
          rgba(270, 270, 270, 0.6)
        ),
        url('../images/la-metro-map.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 380px;
    height: unset;
}

#section-intro {
    line-height: 1.6em;
    padding-top: 1.6em;
}

#section-events {
    background-color: #F8F8F8;
    padding-bottom: 20px;
}

#section-events h2 {
    margin-top: 20px !important;
    margin-bottom: 0px !important;
}

#upcoming-meetings {
    margin-bottom: 20px;
}

#map { margin-bottom: 2em; }

#map:focus-visible, #map-detail:focus-visible {
    outline: 2px solid #005FCC;
    border-radius: 3px;
}

#map-screenshot { width: 90%; }

.map-heading {
    display: inline-block;
    padding-right: 12px;
}

.map-info {
    display: inline-block;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}

div#collapseURL .panel-body, div#collapsePDF .panel-body {
    padding-top: 28px;
}

.infobox {
    width: 22px;
    margin: 0;
}

.popover {
    max-width: 60%;
    top: 1% !important;
}

.popover.right {
    margin-right: 1%;
    margin-top: 200px;
}

.leaflet-control-attribution { display: none; }

.info-blurb ol {
    font-size: .85em;
}

div#google_translate_element {
    padding-top: 14px;
    padding-left: 6px;
    padding-right: 6px;
    min-width: 185px;
}

.pdf-viewer {
    width:100%;
    max-width: 840px;
    border: 0;
}

.archive-link {
    font-weight: 700;
    font-size: 115%;
}

.login { margin-top: 2em; }

#ceo-table { border-top: 2px solid #dddddd; }

#ceo-table td { vertical-align: middle; }

/* Styling for autocomplete */
.autocomplete-search {
    background-color: rgba(255,255,255,.85);
    border: 1px solid #aaaaaa!important;
    color: #777;
    box-shadow: none;
    padding: 10px;
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.select2-container--default .select2-selection--multiple {
    background-color: rgba(255,255,255,.85);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #e8e7e9;
    color: #777;
}

strong.match-group {
    font-weight: bold;
    color: #EB6864;
}

/* Labels for statues */
.label {
    display: inline;
    padding: .3em .6em;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-info {
  background-color: #C7403B;
}

.label-teal { background-color: #0E8389; }

.label-received, .label-approved, .label-adopted {
    background-color: #008027;
}

.label-active {
    background-color: #E3D626;
}

.label-failed, .label-withdrawn {
    background-color: #E00700;
}

#search-help {
  font-size: 16px;
}

/* Styles for order by options on search page */
.nav a.sort-by, .nav a.btn {
    margin-left: 1.8em;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #B82A25;
}

.nav-inline {
    margin-top: 21px;
    font-weight: normal;
}

div.order-nav { margin-top: 21px; }

.btn-district {
    background-color: #3D8A8E;
    color: #fff;
    padding: 4px 12px;
}

.btn-district:hover, .btn-district.active { background-color: #49A6AB; }

.btn-sector {
    background-color: #4D649E;
    color: #fff;
    padding: 4px 12px;
}

.btn-sector:hover, .btn-sector.active { background-color: #697EB5; }

.btn-city {
    background-color: #EB6864;
    color: #fff;
    padding: 4px 12px;
}

.btn-city:hover, .btn-city.active { background-color: #EF8481; }

.btn-caltrans {
    background-color: #E5B761;
    color: #000;
    padding: 4px 12px;
}

.btn-caltrans:hover, .btn-caltrans.active { background-color: #E8BF73; color: #000; }

div#toggleControls { margin-bottom: 1em; }

.badge.district-badge { background-color: #27777B; }

.badge.sector-badge { background-color: #4D649E; }

.badge.city-badge { background-color: #C7403B; }

.badge.caltrans-badge { background-color: #E5B761; color: #000; }

#searchOn.well { padding: 12px; }

.card-body {
    padding: 12px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
}

#agendaModal div.modal-header {
    background-color: #f5f5f5;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fff;
}

.datepicker table tr td span.active.active, .datepicker table tr td span.active:hover.active {background-color: #49A6AB !important;
}

.datepicker.datepicker-dropdown{
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 6px 12px rgba(0,0,0,0.175);
}

.btn-teal {
    background-color: #0E8389;
    border: 1px solid #0E8389;
    color: #fff;
}

.btn-teal:hover, .btn-teal.active { background-color: #70BEC2; }

.btn-salmon {
    background-color: #EB6864;
    border: #EB6864;
    color: #fff;
}

.btn-salmon:hover, .btn-salmon.active { background-color: #EF8481; }

#events-form > div.col-xs-8, #events-form > div.col-xs-2 { padding-right: 0; }

.scrollable {
    overflow: scroll;
    height: 700px;
}

.skinny-list, .small>.filter-value {
    width: 90%;
    display: inline-block;
}

/* Styles for event detail */
#pdf-check-viewer-test {
    margin-bottom: 14px;
}

/* Styles for events page */
.divider {
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: rgba(119, 119, 119);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

hr .events-line {
  margin: 10px 15px 15px 15px;
}


/* Media queries */
@media only screen and (max-width : 767px) {

    .navbar-brand {
        width: 50%;
        padding-top: 19px;
    }

    .home-header {
        font-size: 26px;
    }

    .nav a.sort-by, .nav a.btn {
        margin-left: 0.4em;
    }

    .archive-link {
        font-size: 14px;
    }

    .current-meeting-img {
        max-width: 75%;
    }
}

@media only screen and (max-width : 415px) {
    .remove-order-value {
        display: none;
    }

    .site-intro-search input {
      max-height: 30px;
      padding: 2px;
    }

    .site-intro-search .input-group-btn button {
      max-height: 30px;
      padding: 2px;
    }
    div.btn-group label.btn.btn-primary.btn-search-option.active,
    div.btn-group label.btn.btn-primary.btn-search-option {
      border-radius: 4px;
      padding: 4px 8px;
      margin-bottom: 10px;
    }

    .container-fluid-nav{
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-pills > li > a {
        font-size: 16px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .nav-pills {
        justify-content: space-between;
    }

    .sort-options > *:first-child a {
        margin-left: 0px !important;
        padding-left: 0px !important;
    }
}

@media only screen and (max-width : 767px) {
    .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }

    button.skip-main {
        line-height: normal !important;
    }
}

@media only screen and (max-width : 576px) {
    .pseudo-topic-tag {
        /* Prevent tags with long strings from distorting the page at small screen sizes */
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .remove-order-value {
        height: 38px;
    }
}

@media only screen and (min-width : 768px) {
    .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
        color: white;
        background-color: #eb6864;
    }
}

/* A couple of larger breakpoints, similar to desktop-only/non-desktop-only */
@media only screen and (min-width : 1050px) {
    .non-lg-screen-only {
        display: none
    }
}

@media only screen and (max-width : 1049px) {
    .lg-screen-only {
        display: none
    }
}

.badge-highlight {
    background-color: #d9edf7;
    font-weight: 900;
}

.hover-hand {
    cursor: pointer;
}

.tooltip-inner {
    background-color: #000000;
    max-width: 300px;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #000000;
}

/* When we link to a specific bill type on the About page,
 * the navbar blocks the top of the element. This pseudo
 * element fixes that.
 * https://css-tricks.com/hash-tag-links-padding/
 */
#legislation-types td > p::before {
	display: block;
	content: " ";
	margin-top: -100px !important;
	height: 100px;
	visibility: hidden;
	pointer-events: none;
}

.current-meeting-info {
	margin-top: 10px;
	margin-left: 5px;
}

.bio {
    white-space: pre-line
}

#id_image {
    width: 100%;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.bg-transparent-white {
    background-color: rgba(255, 255, 255, .7);
}

.h-100 {
    height: 100%;
}

.search-example {
    margin-top: 10px;
    color:black
}

#search-header {
    background-image:
        linear-gradient(
          rgba(0, 0, 0, 0.9),
          rgba(270, 270, 270, 0.4)
        ),
        url('../images/la-metro-subway.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 200px;
}

.dropdown-size {
    font-size: 15px;
}

.dropdown-menu {
    border-color: white;
}

.nav-link:hover, .nav-link:active, .nav-link:focus {
    text-decoration: none;
}

.underline{
    text-decoration: underline;
}

.navbar-collapse.collapse.show, .navbar-collapse.collapsing {
    background: white;
    margin: -4px -13px 0px;
}

.show .navbar-nav, .collapsing .navbar-nav {
    float: left;
    width: 100%;
}

.show .navbar-nav li, .collapsing .navbar-nav li {
    padding-left: 10px !important;
}

.navbar-nav>.nav-item:hover, .navbar-nav>.nav-item:active, .navbar-nav>.nav-item:focus {
    background-color: #eeeeee;
}

li .dropdown-menu {
    border-radius: unset;
}

.show .navbar-nav .dropdown-menu, .collapsing .navbar-nav .dropdown-menu {
    margin-left: -9px;
}

input[type=radio][name=search-all],
input[type=radio][name=search-reports],
input[type=radio][name=options] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.label-primary {
    background-color: #3279B7;
}

.fa-info-circle {
    color: #eb6864
}

.bg-secondary {
    background-color: #f5f5f5 !important;
}

#about-la-metro > div {
    margin-bottom: 30px;
}

/* Add top padding for About page's table of contents targets
    so the nav doesn't block them when scrolled into view */
.pt-nav {
    padding-top: 65px;
}

#toggleControls label {
    color: white;
}

.popover-header {
    color: black;
}

.popover-body p {
    font-size: inherit;
}

.remove-filter-value {
    background-color: #EB6864;
    border-radius: 0.25rem;
}

.remove-order-value {
    color: white !important;
}

#report-details .accordion-button, #report-keywords .accordion-button {
    background-color: #EEEEEE;
    padding: 8px 10px;
    font-weight: bold;
    color: #6B6B6B;
}

.order-nav a.nav-link {
    margin-left: 1.2em;
}

small.rss {
    font-size: 1em;
}

.pseudo-topic-tag {
    margin-right: 8px;
    color: var(--bs-link-color);
}

.badge-facet.ms-auto {
    height: fit-content;
}

.badge-facet {
    background-color: #EEEEEE;
}

.fw-normal {
    font-weight: normal;
}

.fw-bold {
    font-weight: bold;
}

.nav-pills .nav-link.active {
    background: none;
    color: #1E7D82;
    border-bottom: 8px solid #1E7D82;
}

.nav-pills .nav-link:focus {
    color: #114f52;
}

#map-detail {
    width: 100%;
}

input[name="headshot"] {
    width: 100%;
}

#committees tbody > tr:last-child > td {
    border-bottom: 0;
}

#committees thead th {
    border-bottom-width: 2px;
}

button.skip-main {
    height: 30px;
    left: 0%;
    padding: 8px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
    color: transparent;
    line-height: 10px;
    z-index: 99;
}

button.skip-main:focus {
    color: #eb6864;
    background-color: #fff;
    transform: translateY(0%);
}

label[for=id_type], label[for=id_description], .text-white, .text-white>table * {
    font-weight: bold;
}

textarea#id_description {
    resize: vertical;
}

textarea.alert#id_description,  select.alert#id_type {
    margin-bottom: unset;
    border-radius: unset;
    padding: 2px;
}

.alert {
    border-radius: 0px;
}

.btn-primary {
    --bs-btn-bg: #C7403B;
    --bs-btn-border-color: #C7403B;
    --bs-btn-active-bg: #8C0F0B;
    --bs-btn-active-border-color: #8C0F0B;
}

.text-muted {
    color: #424242 !important;
}

.text-success {
    color: #007D23 !important;
}

.text-secondary {
    color: #6C757D !important;
}

a, .btn-link, .page-link {
    color: #B82A25;
}

.page-link.disabled {
    color: #424242;
}

.btn-secondary {
    background-color: #6C757D;
}

.search-results {
    list-style: none;
    padding-left: 0px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 95vh;
}

footer {
    width: 100%;
    margin-top: auto !important;
    margin-bottom: 1.5rem;
    padding-bottom: 3rem;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

footer .navbar-brand {
    width: fit-content;
}

.radio-focus:focus-within {
    box-shadow: 0 0 0 0.25rem #ee7f7b;
}

caption {
    caption-side: top;
}

#logo-footer {
    height: 45px;
    float: left;
    position: relative;
    top: -14px;
}

.w-12pcnt{
    width: 12%
}

.w-22pcnt {
    width: 22%;
}

.scroll-anchor {
    scroll-margin-top: 80px;
}

.alert p:last-of-type {
    margin: unset;
}

.thumbnail-square {
    width: 75px;
    height: 75px;
}

.richtext-image {
    max-width: 100%;
    height: auto;
}

.tooltip p:last-of-type {
    margin-bottom: 0px;
}

.screenreader {
  position: absolute;
  left: -9999px;
}
