  /* Loca/* Local Styles */

@keyframes highlight {
    0% { background: #ffff0e; }
    100% { background: none; }
}

@-webkit-keyframes highlight {
    0% { background: #ffff0e; }
    100% { background: none; }
}
@-moz-keyframes highlight {
    0% { background: #ffff0e; }
    100% { background: none; }
}
@-o-keyframes highlight {
    0% { background: #ffff0e; }
    100% { background: none; }
}

.fadeInOut {
  -webkit-animation: highlight 2s;
  -moz-animation:    highlight 2s;
  -o-animation:      highlight 2s;
  animation:         highlight 2s;
}


@keyframes highlightRed {
    0% { background: rgba(235, 255, 0, 0.8); }
    100% { background: rgba(255, 0, 0, 0.60); }
}

@-webkit-keyframes highlightRed {
    0% { background: rgba(235, 255, 0, 0.8); }
    100% { background: rgba(255, 0, 0, 0.60); }
}
@-moz-keyframes highlightRed {
    0% { background: rgba(235, 255, 0, 0.8); }
    100% { background: rgba(255, 0, 0, 0.60); }
}
@-o-keyframes highlightRed {
    0% { background: rgba(235, 255, 0, 0.8); }
    100% { background: rgba(255, 0, 0, 0.60); }
}

#lastUpdated.fadeInOutRed {
    -webkit-animation: highlightRed 1s;
    -moz-animation:    highlightRed 1s;
    -o-animation:      highlightRed 1s;
    animation:         highlightRed 1s;
    animation-direction:alternate;
    animation-iteration-count: infinite;
}

.desktop {
    display: none;
}

#geoxml3_infowindow .infoWindowDescription{
    line-height: 1.2EM;
}

#geoxml3_infowindow .infoWindowDescription a {
    text-decoration: underline;
    font-weight: 400;
}

#geoxml3_infowindow .infoWindowDescription img {
    padding: 5px 0;
    display: none;
}

#geoxml3_infowindow .infoWindowParkingText {
    font-weight:bold;
}



h1.map-brand {
    background: url("/campusmap/assets/images/campus-map-branding.jpg") no-repeat 0 0;
    text-indent: -9999px;
    background-size: cover;
    margin: 0 0 10px 0;
    padding: 0;
}

#fetchParkingSpinner {
    margin:  150px auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: none;
}

#fetchParkingSpinner.loading {
    display: inline;
}

#map_canvas.loading {
    opacity: .25;
    transition: all 0.5s ease;
}

#mapbranding {
    display: none;
}

.page-layout {
    padding: 0 !important;
    margin: 0 !important;
}

#map_canvas {
    width: 100%;
    height: 500px;
}

div.container.map {
    padding: 0 !important;
    margin: 0 auto;
}

.header-primary {
    display: none;
}

a#homeButton {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
    background: #fff;
    padding: 5px 8px 2px 7px;
    border-radius: 5px;
    box-shadow: 1px 1px 1px #666;
    font-size: 17px;
    display: none;
}

#main {
    padding: 0 !important;
}

/* #map-tools {
    position: absolute;
    bottom: -21px;
} */

#map-tools h2 span {
	font-size: small;
	color: #737171;
}

#map-tools ul li {
	list-style-type: none;
	float: left;
	margin-right: 2px;

}

#map-tools .nav-tabs > li {
	margin-right: 3px;
}

#map-tools .nav-tabs li {
	padding: .5em;
	background: #f4f9f7;
	border: 1px solid #9ba5a2;
	border-radius: 5px 5px 0 0;
}

#map-tools .nav-tabs li:nth-of-type(1),
#map-tools .nav-tabs li:nth-of-type(5) {
  display:none
}

#map-tools .nav-tabs {
    border-bottom: none;
padding-left:0;
}




#map-tools .tab-content {
    margin-bottom: 20px;
    background-color: #f0f0f0;
    border: 1px solid #9ba5a2;
    border-top: none;
    border-radius: 0px 0px  4px 4px
    /* -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05); */
}

h3#lastUpdated {
    font-size: 13px;
}

#parkingstats ul{
    overflow: hidden;
    margin:0;
}

#parkingstats li{
    font-size:13px;
}

#parkingstats p{
    margin: 0 0 10px;
}

h3.infoWindowTitle {
    font-size: 14px;
    line-height: 1.2em;
    margin-top: 10px;
}

#park-green span {
    background: #00ff00;
}

#park-yellow span {
    background: #ffff00;
}

#park-red span {
    background: #ff0000;
}

.park-legend span {
    height: 15px;
    width: 90px;
    display: block;
}

#other-lots{

}

#other-lots li{
    float: left;
    line-height: 1.1;
}

#park-grey span {
    background: #aaa7a4;
    height: 15px;
    width: 20px;
    display: block;
}

.nav>li>a {
    padding: 10px 10px;
}


#collapseSlidePanel {
    background-color : #fff;
    border : 2px solid #fff;
    border-radius : 3px;
    box-shadow : 0 2px 6px rgba(0,0,0,.3);
    cursor : pointer;
    margin-bottom : 22px;
    text-align : center;
}

/*copied from Google map controls*/
.mobile-side-menu {
    direction: ltr;
    overflow: hidden;
    text-align: center;
    position: relative;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    user-select: none;
    font-size: 11px;
    background-color: rgb(255, 255, 255);
    padding: 11px;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    border-left: 0px;
    min-width: 40px;
}

.panel ul {
    list-style-type: none;
	padding-left: 0;
}

.panel ul li {
	padding: 0 0 5px 0;
}

.layout-callout {
    padding: 20px;
    margin: 20px 0;
}

.input-group.search {
    margin-bottom: 10px;
    width: 100%;
}

.input-group.search input[type="text"] {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}


#slide-panel {
    position: absolute;
    top: 0;
    left: -2800px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 3px #666;
    z-index: 20;
    padding: 0;
    height: 100%;
    width: 70%;
    overflow: scroll;
    transition: all 0.5s ease-out;
}

#slide-panel.show {
    left: 0;
}

#slide-panel p a,
#slide-panel li a{
	color: #00573d;
    text-decoration: underline;
}

#slide-panel p a:hover,
#slide-panel li a:hover{
	color: #333;
}

#slide-panel > .panel-default {
    border: none;
    padding: 10px;
    box-shadow: none;
}

#slide-panel .panel-title,
#desktop-slide-panel .panel-title {
    display: inline;
}

#slide-panel .cb,
#desktop-slide-panel .cb {
    float: right;
}

.panel-group {
   margin-bottom: 5px; 
}

.panel .panel{
    margin-bottom: 5px;
}

.layout-callout {
    padding: 20px;
    margin: 5px 0;
}

h5.meta-help{
    font-size: 13px;
}

h5.meta-help a{
    text-decoration: underline;
}

/****Overrides****/
#csus-global-navbar.navbar {
    padding: 10px 0;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

#map-tools .nav-tabs li:nth-of-type(1),
#map-tools .nav-tabs li:nth-of-type(5) {
  display:block
}

    .header-primary {
        display: block;
    }

    a#homeButton {
        display: none;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    #mapbranding {
        display: block;
    }

    #map_canvas {
        height: 590px;
        border: 1px solid #ddd;
    }

    div.container.map {
        margin: 0 auto;
    }

    #map-tools {
    bottom: 0;
}

    #map-tools .tab-content {
        padding: 0px 10px 5px 10px;
    }

    .desktop {
        margin-top: 20px;
        display: block;
    }

    #map-container {
        margin-top: 20px;
    }

    #desktop-slide-panel > .panel {
        padding: 10px 10px 0 10px;
        overflow-y: hidden;
        /*
        overflow: auto;
        overflow-x:none;
        max-height: 573px;
        */
    }

    #sp {
        display: none;
    }



    h3#lastUpdated {
        font-size: 14px;
        margin: 5px 0;
    }

    #slide-panel {
        left: -2800px;
        padding: 10px 10px 0 10px;
        width: 30%;
    }

    #geoxml3_infowindow .infoWindowDescription img {
        display: block;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {
    #map-tools {
    bottom: -21px;
}

    #geoxml3_infowindow .infoWindowDescription img {
        display: block;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {


#geoxml3_infowindow .infoWindowDescription img {
        display: block;
    }

    #map-tools {
    bottom: 0;
   }

#slide-panel {
    /*
    max-height: 400px;
    width: 100%;
    */
    width: fit-content;
    background-color: white;
    overflow: auto;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding-left: 6px;
}

.ui-menu-item {
    list-style-type: none;
    overflow-x: hidden;
}
.ui-autocomplete {
    background-color: white;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    /*overflow-x: no-display;*/
    width: auto;
}
.ui-autocomplete > ul {
    max-height: 100px;
}

.ui-autocomplete > li {
    list-style-type: none;
}

}

/*Only the iPhone 5*/
/*@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 320px) 
and (min-device-height : 568px) 
and (max-device-height : 568px) 
and (orientation : portrait) { 
    #map-tools {
        bottom: 20px;
    }

    .nav>li>a {
        padding: 5px 5px;
    }

    .park-legend span {
        width: 80px;
    }
}*/
