body {
    margin: 0;
    padding: 0;
}

#pinnedLabel {
    display: none;
    color: #ccc;
}

#map {
    position: absolute;
    top: 287px;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -2;
}

.navbar{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    opacity: 0.95;
    /* background-color: #A4CABC; */ 
    /* background-color: #B2DBD5; */ /* Arctic */
    /* background-color: #A7D2CB; */ /* Clean */
    background-color: #92CBCC; /* Redline Blue/Green */
    z-index: 5;
    padding: 0;

}

.navbar-collapse.show {
    padding-left: 10px;
    background-color: white;
}



#filterPanel {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    top: 40px;
    opacity: 0.95;
    background-color: white;  
    padding: 10px 10px 0 10px;
}

#infoPanel {
    display: block;
    position: absolute;
    right: 0;
    width: auto;
    top: 87px;
    bottom: auto;
    height: 200px;
    left: 0;
    padding: 10px 10px 5px 10px;
    opacity: 0.95;
    background-color: white; 
    overflow: auto;
    z-index: -1;
}

body.list #infoPanel {
    display: none;
}

.nav-link{
    font-family: 'Cabin', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Cabin', sans-serif;
    font-size: 1.4em;
}

h1 {
    margin-top: 40px;
    font-size: 2em;
}



.navbar-brand {
    /*font-family: 'Lato', sans-serif;*/
    font-family: 'Cabin Sketch', cursive;
    font-weight: 900;
    font-size: .9em;
    padding-left: 5px;
}

.carousel-item .quote {
    font-style: italic;
    font-size: 1em;
}

#infoIntro a  {
    color: black;
    text-decoration: underline;
}

#infoIntro a:hover  {
    text-decoration: none;
}

.carousel-item .quoteNarrator {
    font-style: normal;
    text-align: right;
    font-size: 0.9em;
}

.carousel-item .quote p {
    margin-bottom: 5px;
}


#infoClip .col-6{
    padding-right: 5px;
    padding-left: 5px;
}

#infoIntro {
    font-size: .55em;
    margin: 10px;
}

#infoClip {
      font-size: .75em;  
}

#closeClip{
    position: absolute;
    right: 10px;
    z-index: 2;
}

#hoverTitle {
    padding-right: 45px;
}

#listClips td {
    vertical-align: top;
    padding: 10px;
}

#listClips h1 {
    font-size: 1.2em;
    margin: 0;
}

#listClips p {
    font-size: 0.8em;
}

#listClips img {
    border: 1px solid #ccc;
    max-width: 100%;
    height: auto;
    width: auto;
}

#listClips .tags, #listClips .address {
    margin: 0;
}

#listClips .narrators {
    margin: 3px 0;
}

.tab-content #list {
    margin: 15px 0;
    position: relative;
}


#infoIntro {
    display: block;
}

#infoClip {
    display: none;
    top: 0;
    bottom: 0;
}



#infoPanel .filter, #filterPanel .filter{
    display: inline;
}

.sidebarOn #infoPanel .filter{
    display: block;
    margin-bottom: 10px;
}

.sidebarOn #infoPanel .filter input{
    width:200px;
}

#myTab {
    position: relative;
    left: 0;
    width: 100%;
    height: 39px;
    top: 0;
    opacity: 0.95;
    background-color: white; 
    padding-top: 2px;
    z-index: 0; 
    /*margin: 0 15px;*/
}

.nav.nav-tabs {
    font-weight: bold;
    font-size: 0.8em;
}

.sidebarOn #myTab{
    top: 40px;
}

.sidebarOn .leaflet-control-container .leaflet-top{
    top:80px;
}

.filterLabel, .select2-container {
    font-size: 0.75em;
}

.filterButton {
    cursor: pointer;
}


.nav {
    padding-left: 15px;
    font-size: .7em;
}


#hover{
    visibility: hidden;
    position: absolute;
    width: 400px;
    height: 575px;
    background-color: white;
    opacity: 0.95;
    padding: 10px 10px;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    font-size: 0.8em;
}

#hoverSoundCloudPlayer{
    display:none;
    margin-bottom: 10px;
}

#infoClip h1 {
    margin: 0;
    font-size: 1.6em;
}

#hoverNarratorsContainer, #hoverAddress{
    margin: 0;
}

#hoverAddress{
    font-style: italic;
}

#hoverImage{
    padding: 0;
    border: 1px #eee solid;
}

#hoverErasContainer, #hoverTopicsContainer {
    padding: 0;
    margin: 0;
}

#hoverMediaPlayerContainer {
    padding-top: 30px;
    margin-bottom: 0;
}



.btn-group-sm > .btn, .btn-sm {
    padding:.15rem .3rem;
    font-size:.6rem;
    line-height:1.5;
    border-radius:.2rem;
}

.modal-content .racialCompositionLegend {
    width: 100px;
    float: right;
    margin-left: 40px;
}

.legend {
    display: none;
}


.legend, .racialCompositionLegend {
    line-height: 18px;
    font-color: white;
    background-color: #fff;
    padding: 5px;
    opacity: 0.95;
    border-radius: 5px;
}

.legend i, .racialCompositionLegend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
}

.legend .header, .racialCompositionLegend .header {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 3px;
}

.racialCompositionLegend {
    font-size: .7em;
}

.racialCompositionLegend .header {
    font-size: 1.2em;
}

.caption.leaflet-control{
    font-size: 3em;
    font-weight: bold;
    bottom: 0;
}

.caption.x1970.leaflet-control{
    text-align: right;
}

.caption.leaflet-control .highlightedFeature{
    font-size: 0.4em;
    font-weight: normal;
    bottom: 0;
}



/* from http://brianshim.com/webtricks/style-the-wordpress-3-6-media-player/ */
/* change the color of the background */
.mejs__controls,
.mejs__mediaelement,
.mejs__container {
    background: url('') !important;
    background-color: #ddd !important;
}

.mejs__controls {
    padding: 0;
}

.mejs__button {
    background: url('') !important;
    background-color: #ddd !important;
}

/* from http://brianshim.com/webtricks/style-the-wordpress-3-6-media-player/ */
/* change the color of the background */
.mejs-responsive .mejs__controls,
.mejs-responsive .mejs__mediaelement,
.mejs-responsive .mejs__container {
    background: url('') !important;
    background-color: #fff !important;
}

.mejs-responsive .mejs__button {
    background: url('') !important;
    background-color: #fff !important;
}

.mejs-responsive .mejs__button button {
    color: black !important;
    /*outline: solid 1px black;*/
    background-image: url('../img/mejs-controls-dark.svg') !important;
}

/* change the color of the lettering */
.mejs__currenttime,
.mejs__duration {
    color: black !important;
}

/* use a sprite file with darker transport icons */
/*.mejs-controls .mejs-button button {
    background-image: url('your-images-directory/controls-dark.svg') !important;
}*/
 
/* change the color of the progress bar */
.mejs__controls .mejs__time-rail .mejs__time-total {
    background: #ccc !important;
}
 
.mejs__controls .mejs__time-rail .mejs__time-current {
    background-color: rgb(240, 240, 240) !important;
}

.mejs__horizontal-volume-current {
    background: #bbb !important;
}

.mejs__horizontal-volume-current {
    background-color: rgb(240, 240, 240);
}

/*Responsive Styles */
.mejs__time-rail, .mejs__horizontal-volume-slider, .mejs__duration-container
{
    display: none !important;
}

div#layerControls {
    display: none;
    position: absolute;
    right: 10px;
    z-index: 9999;
    background-color: #fff;
    padding: 10px;
    opacity: 0.95;
    border-radius: 5px;
    font: 14px/1.7 "Helvetica Neue", Arial, Helvetica, sans-serif;
    border: 1px solid black;
}

.layer-control-label {
    display: none;
}

.info.layers button {
    opacity: 0.9;
    background-color: white;
}

.info.layers button:hover {
    background-color: black;
}

div#layerControls p {
    margin-bottom: 5px;
}


.interview{
    background-color: #eee;
    margin: 0 10px 20px 10px;
    padding: 10px;
    font-size: .9em;
}

.custom-control-label:before{
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before{
  background-color: black;
}

#filterLabelContainer {
    visibility: hidden;
    border: none;
}
 
#filterLabel {
    display: inline;
}

a#removeFilters {
    color: black;
}

blockquote{
  font-size: 1.2em;
  margin:10px auto;
  font-family:Open Sans;
  font-style:italic;
  color: #555555;
  padding:1.2em 30px 1.2em 75px;
  border-left:4px solid #92CBCC ;
  line-height:1.6;
  position: relative;
  background:#EDEDED;
}

blockquote::before{
  font-family:Arial;
  content: "\201C";
  color:#92CBCC;
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

.col-image {
    padding-right: 0;
    padding-left: 0;
}

.col-image img {
    border: 1px solid lightgray;
}

@media only screen and (min-width: 600px) {
    
    #infoIntro {
        font-size: 0.75em;
        margin: 5px;
    }
}

@media only screen and (min-width: 768px) {


    /*Responsive Styles */
    .col-image {
        padding-right: 15px;
        padding-left: 15px;
    }

    .mejs__time-rail, .mejs__horizontal-volume-slider, .mejs__duration-container
    {
        display: block !important;
    }

    .legend {
        display: block;
    }

    #listClips img {
        max-width: 300px;
    }

    #listClips td {
        padding: 25px;
    }

    .navbar-brand {
        font-size: 1.75em;
    }

    #infoPanel {
        width: 400px;
        top: 87px;
        bottom: 0;
        height: auto;
        left: auto;
        padding: 10px 10px 5px 10px;

    }

    #map {
        right: 400px;
        width: auto;
        top: 0;
        height: 100%;
    }

    .leaflet-control-container .leaflet-top{
        top:85px;
    }

    #infoClip .col-6{
    padding-right: 15px;
    padding-left: 15px;
    }

    #infoIntro {
        font-size: 1em;
        margin: 0;
    }

    #infoClip {
          font-size: .85em;  
    }

    #hoverImage{
        margin-top: 25px;
    }

    #closeClip{
        right: 35px;
    }

    #hoverTitle {
        padding-right: 0;
    }

    #carouselQuote {
        padding-top: 10px;
    }

    .layer-control-label {
        display: inline;
    }

}