/* 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;
}

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

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

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

.navbar-brand {
    min-width: 160px;
}

.navbar {
    font-size: 16px;
}

.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-regional-rail-map-copy.gif');
    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-screenshot { width: 90%; }

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

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

.map-info:hover {
    cursor: pointer;
    text-decoration: none;
}

.map-info:focus {
    text-decoration: none;
    border: none;
    outline:none;
}

.panel-body {
    padding: 28px;
    padding-top: 0px;
}

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 { max-width: 840px; }

.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;
}

.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 {
    padding: .25em .6em .25em;
    display: inline-block;
}

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

.label-teal { background-color: #49A6AB; }

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

.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; }

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

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; }

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

.badge.district-badge { background-color: #3D8A8E; }

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

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

#searchOn.well { padding: 12px; }

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

/* Styles for calendar pop-up. */
#date-search .form-control { width: 50%; }

.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;
}

.btn-teal {
    background-color: #49A6AB;
    border: #49A6AB;
    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 {
    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;
    }
}

.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-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;
}
