  ﻿body, html {
    height:100%;
    width:100%;
    margin:0;
    padding:0;
    font-family: 'Roboto', sans-serif;
    overflow:hidden;
}

#cancel-directions{
    margin:0;
    position:absolute;
    right:0;
    z-index:9999;
    display:none;
}

/* Mobile Search Pane*/

#mobile-search{
    position:absolute;
    z-index:999;
    right:-250px;
    width:250px;
    background-color:rgba(0,0,25,0.8);
    font-size:.8em;
    color:#efefef;
    -webkit-transition: transform 0.5s; /* Safari */
    transition: all 0.5s;
    overflow-x:hidden;
    overflow-y:auto;
}

#mobile-search.opened{
}

/* Header */

#map-header span button::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    top: 0;
    left: 0;
    box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
}

#map-header{
    background-color:#002856;
    border-bottom: 2px solid #cf102d;
    z-index:100;
    padding:.5em;
}

#map-header span button {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    width: 20px;
    height: 16px;
}

#map-header img{
    max-width:80%;
}

#map-header form{
    display:inline-block;
    margin:.5em 0 0 0;
}

#map-header .button-group{
    margin-bottom: 0;
}

/* Navigation */
#map-nav{
    position:absolute;
    z-index:999;
    width:250px;
    background-color:rgba(0,0,25,0.8);
    font-size:.8em;
    color:#efefef;
    -webkit-transition: transform 0.5s; /* Safari */
    transition: all 0.5s;
    overflow-x:hidden;
    overflow-y:auto;
}

#map-nav.opened{
}

#map-nav li{
    padding:.5em;
}

#map-nav li:hover{
    background-color: #cf102d;
}

#map-nav li.is-submenu-item:hover{
    background-color:rgba(0,0,25,0.8);
}

#map-nav li a{
   color:#efefef;
}

#map-nav li ul.layers{
    border-left:1px solid #cbcbcb;
}

#map-nav > div.is-drilldown {
    height: 100%;
    overflow-y: auto;
    width:100% !important;
}

#map-nav .submenu.is-drilldown-submenu{
    background-color:#cf102d;
    height:auto;
    width:100% !important;
}

.is-drilldown-submenu-parent>a::after{
    border-color: transparent transparent transparent #efefef;
}

.js-drilldown-back>a::before{
    border-color: transparent #efefef transparent transparent;
}

/* Google Maps */

.ib-content img.loc{
    float:right;
    margin:0 0 1em .5em;
}

.ib-content h3, .ib-content h2{
    color:#002856;
    border-bottom: 1px solid #cf102d;
    font-size:1.2rem;
    margin-bottom:.5rem;
}

@media screen and (max-width: 640px){
        .ib-content img.loc{
        width:60%;
        margin:0 auto 1em auto;
        display:block;
        float:none;
    }
}

.ib-content i.fa{
    display:inline-block;
    margin:.4em .4em .4em 0;
    font-size:1.3em;
    color:#002856;
    border: 2px solid #002856;
    padding:.4em;
    border-radius: 3px;
}

.ib-content a{
    display:inline-block;
    clear:right;
    width:50%;
    text-align:center;
}

#campus-map{
    height:100%;
}


.map-lbl{
    position: relative; 
    left: -50%; 
    top: -8px;
    display:inline-block; 
    max-width:60px; 
    text-align:center;
    line-height:1.2em;
    font-size:.8em;
}

.map-lbl.sub{
    display:none;
}

/* Combo Box*/

.invisible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

#map-header #map-search-form{
    float:right;
}

#mobile-search #map-search-form{
    width:90%;
    margin:0 auto;
}

#map-header .js-combobox{
    margin-top: -.5em;
    margin-bottom: 0;
    padding: .5rem 1.5rem .5rem .5rem;
}

#mobile-search .js-combobox{
    margin: 1em auto;
    padding: .5rem 1.5rem .5rem .5rem;
}

/*Hide the default IE clear button*/
input[type=search]::-ms-clear { display: none; width: 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width: 0; height: 0; }

.combobox-container {
  position: relative;
  max-width: 250px;
}

.combobox-suggestions {
  position: absolute;
  z-index:9999;
  width:100%;
  font-size:.9em;
}
.combobox-suggestion {
  cursor: pointer;
  
  
}

#map-header .combobox-suggestion{
    background-color: #002856;
    border: 1px solid #cecece;
    border-top:none;
    padding:.25em 1.5em .25em .25em;
    color:#fff;
}

#mobile-search .combobox-suggestion{
    padding: .5em 1.5em .5em .5em;
    font-size: 1.2em;
    border-bottom: 1px solid #696969;
}


#map-header .combobox-suggestion:hover, #map-header .combobox-suggestion:active {
  background-color: #cf102d;
}

.combobox-clear-button {
  position: absolute;
  right: .5rem;
  top:.25rem;
  font-family: inherit;
  font-size: 1em;
  padding: .5em .2em;
  background: transparent;
  color:#cf102d;
}

/* Footer */

.map-footer{
    border-top: 2px solid #cf102d;
    width:100%; 
    position:absolute; 
    bottom:0; 
    z-index:9999; 
    font-size:.8em;
}

.map-footer .button-group .button{
    background-color:#cdcdcd;
    color:#333;
    font-size:.9em;
}

.map-footer .button-group .button:hover{
    background-color:#696969;
    color:#fff;
}

.popUpContent p{
    margin: .5rem 0 .5rem 0;
}

.popUpContent{
    font-size:.8rem;
}

footer{
    display:none !important;
}
