  /* Local Styles */
#kml-file{display:none;}


.geoxml3_infowindow div{
    line-height: 1.2EM;
	word-wrap:break-word;
}

.geoxml3_infowindow div a {
    text-decoration: underline;
	color: #004e38;
	cursor: pointer;
	font-weight:400;
}

.geoxml3_infowindow div a:hover {
	cursor: pointer;
	color: #333;
    text-decoration-color: #008554;
}

.geoxml3_infowindow div img {
	max-width:100%;
}

.geoxml3_infowindow img {
    max-width: 100%;
    height: auto;
}

.page-layout {
    padding: 0 !important;
    margin: 0 !important;
}

#main {
    padding: 0 !important;
}

#map{
    margin-bottom: 2em;
}

#map_canvas {
    width: 100%;
    height: 500px;
	position: sticky !important;
	overflow:hidden;
    top: 0;
}

#map_canvas.loading {
    opacity: .25;
    transition: all 0.5s ease;
}

#mapbranding {
    display: none;
    margin-bottom: 1em;
}

h1.map-brand {
    background: url("/newcsus2019-global-assets/_internal/images/campus-map-branding.jpg") no-repeat 0 0;
    text-indent: -9999px;
    background-size: cover;
    margin: 0 0 10px 0;
    padding: 0;
}

#map-tools {
    position: absolute;
}

#map-tools h2 span {
	font-size: small;
	color: #737171;
}

#map-tools ul{
	margin-bottom:1.5em;
	border-bottom: none;
}

#map-tools ul > li {
	list-style-type: none;
	float: left;
	margin-right: 3px;
	padding-bottom:0;
}

#map-tools ul li button,
#map-tools ul li #search-panel{
	padding: .5em 1em;
	background: #f4f9f7;
	border: 1px solid #9ba5a2;
	border-radius: 5px 5px 0 0;
	display:block;
	color: #00573d;
	text-decoration:underline;

}

#map-tools .tab-content {
    background: #fff;
    padding: 0px 10px 5px 10px;
    overflow: hidden;
}

h3.infoWindowTitle,
.geoxml3_infowindow h3 {
    font-size: 14px;
    line-height: 1.2em;
    margin-top: 10px;
}

#collapse-side-panel {
    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*/

.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;
		width: 100%;
}

input[type=checkbox] {
	margin: 4px 0 0;
	margin-top: 1px\9;
	line-height: normal;
}


#side-panel .panel-title {
    display: inline;
}

#side-panel .cb {
    float: right;
}

.panel-default>.panel-heading {
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
}

.panel {
	margin-bottom: 5px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
	box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.panel ul {
    list-style-type: none;
	padding-left: 0;
}

.panel ul li {
    padding-bottom: 0 !important;
}

.panel-group {
   margin-bottom: 5px; 
}

.panel-group .panel {
		border-radius: 4px;
	}

.panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body {
	border-top: 1px solid #ddd;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
	border-top-color: #ddd;
}
.panel-heading {
	padding: 10px 15px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.panel-title {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 16px;
}

.panel-title > a{
	color: #000;
}

.panel-body {
	padding: 15px;
}

.layout-callout {
    padding: 20px;
    margin: 5px 0;
}

#search-result-list-wrapper{
	background:#eee;
	padding-top:1em;
	/* overflow-y:scroll; 	
    top: 93px;
	*/
}

/****Overrides****/
.bg-image-full{
	display:none;
}

.t5.one-column article > section{
	padding-top:5%;
}

#map_canvas img{
	margin: unset;
}

#csus-global-navbar.navbar {
    padding: 10px 0;
}

#side-panel > .panel {
	padding: 10px 10px 0 10px;
	overflow-y: hidden;
}

/* Small devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
	/*.bg-image-full{
		display:flex;
	}*/
	
	#map-tools ul li {
	  display:none;
	}

}

/* Medium devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {

    #mapbranding {
        display: block;
    }

    #map_canvas {
        height: 590px;
        border: 1px solid #ddd;
    }
	
    #map-tools .tab-content {
        padding: 0px 10px 5px 10px;
    }

    h3#lastUpdated {
        font-size: 14px;
        margin: 5px 0;
    }

    .geoxml3_infowindow div img {
        display: block;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
	.geoxml3_infowindow div img {
			display: block;
		}

	#map-tools {
		bottom: 0;
	}

	.ui-menu-item {
		list-style-type: none;
		overflow-x: hidden;
	}
	.ui-autocomplete {
		overflow-y: auto;
		width: auto;
	}
	.ui-autocomplete > ul {
		max-height: 100px;
	}

	.ui-autocomplete > li {
		list-style-type: none;
	}

}

@media screen and (max-width: 819px)
{
	#side-panel {
		overflow-y: scroll;
		height: 100%;
		width: 100%;
		position: fixed;
		z-index: 99;
		left: 0;
		top: 0;
		background-color: rgb(4 57 39 / 90%);
		/* padding-top: 60px; */
		transition: 0.5s;
		padding: 0 10%;
	}

	#side-panel.resultNavOpen {
		height: 100%;
	}
	
	#side-panel.resultNavClose {
		height: 0;
	}
	
	.panel{
		flex-direction: column;
		align-content: center;
		justify-content: center;
	}
}


@media screen and (min-width:819px) {
	#hide-menu-wrapper{
		display:none;
	}
}

@media screen and (max-width: 767px){
    .t5.one-column article {
    	z-index:0;
    }
    .t5.one-column.map #map-tools {
    	margin-top:-40px;
    }
}
