#header {
	margin-bottom: 7px
}
#map-viewer-header {
	color: #fff;
	font-size: 34px;
	line-height: 34px;
	padding: 8px 0;
	text-align:center;
}
#map-viewer-subheader {
	font-size: 16px;
	line-height: 20px
}

#MapContainerCenter {
    background: #fff;
    border: 1px solid #aaa;
    margin-top: 11px;
    padding: 10px
}

#map-viewer-title,
#map-view-choice {
    border-radius: 10px;
    box-sizing: border-box;
    display: inline-block;
}

#map-viewer-title {
    background: #a5bfdd;
    border: 1px solid #888;
    padding: 8px 8px 4px
}

#map-view-choice {
    background: #CCE8CA;
    border: 1px solid #888;
    font-size: 16px;
    vertical-align: top;
    padding: 2px 7px 8px;
	margin-top: 10px
}

.before-select-label {
    margin: 8px 0 2px 3px
}

#map-selection,
#track-selection {
    width: 100%
}

#ordiv {
    margin-top: 15px;
    border-top: 2px dashed #A5BFDD;
    margin-bottom: -4px
}

#orline {
    background: #CCE8CA;
    width: 19px;
    margin: -10px auto 0;
    color: #A5BFDD;
    padding: 0 3px
}

#map-view-choice,
#map-viewer-title {
	width: 100%
}
    
#map-viewer-panel {
	display: inline-block;
	margin-right: 10px;
	vertical-align: top;
	width: 225px;
}

#map-view-description {
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    line-height: 19px;
	padding: 12px 3px 0 5px;
}

#MapMessage {
    font-size: 22px;
	right: 23px;
	top: 266px;
	display:none;
}

#mapcontainer {
    border: 2px solid #777;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
	width:795px; 
	height:550px;
}

#map_canvas {
    box-sizing: border-box;
    height: 100%;
    padding: 0;
    width: 100%
}

#elevation_chart {
    height: 175px;
    margin: 10px 0 5px
}

.listedicon {
    display: inline-block;
    height: 32px;
    margin: -3px 5px -5px 0px;
    overflow: hidden;
    width: 32px;
}

.listicon {
    margin: -12px 3px -5px 0
}

#markerlist {
    font-size: 24px;
    padding: 20px 0 5px
}

 .theinfowindow {
        width: 330px
    }

img {
    vertical-align: middle
}


.gm-style img.trailpic,
.trailpic {
    background: #09E;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #9a9a9a;
    float: right;
    padding: 3px;
    margin: 5px 0 0 5px
}

.infowindowtitle,
.listname {
    font-size: 18px;
    line-height: 28px
}

.listname {
    display: inline
}

#results_list_title {
    background: #fff;
    border-top: 1px solid #9a9a9a;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-radius: 20px 20px 0 0;
    font-size: 30px;
    height: 24px;
    margin: -56px 0 20px;
    padding: 25px 0 7px;
    position: absolute;
    text-align: center;
    width: 234px
}

.MapResultsArea ul {
	list-style: none;
	margin: -9px -18px!important
}

.MapResultsArea ul li {
    box-sizing: border-box;
    cursor: cell;
    display: inline-block;
    height: 154px;
    overflow-y: auto;
    padding: 10px;
    vertical-align: top;
	margin: 1%;
    width: 48%;
	border: 1px solid #888;
    border-radius: 10px;
    background: #E1E1E1;
	width: 332px;
    margin: 5px;
}

.MapResultsArea ul li:hover {
    background: #F1F1F1
}

.MapResultsArea ul li ul {
    background: 0 0;
    margin: 10px 0!important
}

.MapResultsArea ul li ul li {
    border: none;
    display: block;
    height: inherit;
    margin: 0;
    padding: 0;
    width: inherit
}

.MapResultsArea ul li ul li::before,
.theinfowindow ul li::before {
    content: '— '
}

.MapResultsArea ul li ul li:hover,
.MapResultsArea ul li ul:hover {
    background: 0 0
}

.MapResultsArea .trailpic {
    display: none
}

#map-view-choice p {
    margin: 0!important
}

.indented_option {
    padding: 5px 5px 5px 22px!important
}

.bold_option {
    font-weight: 700
}

.chosen-container {
    display: inline-block;
    font-size: 13px;
    position: relative;
    vertical-align: middle;
    zoom: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 100% !important;
}

.chosen-container * {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box
}

.chosen-container .chosen-drop {
    background: #fff;
    border: 1px solid #aaa;
    border-top: 0;
    left: -9999px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 1010
}

.chosen-container.chosen-with-drop {
	z-index: 11;
	width: 150%!important
}

.chosen-container.chosen-with-drop .chosen-drop {
    left: 0
}

.chosen-container a {
    cursor: pointer
}
.chosen-container-single .chosen-single {
	background-color:#fff;
    background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));	
	background:-webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);background:-moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	background:-o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	background:linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
    background-clip: padding-box;
    border: 1px solid #aaa;
    border-radius: 5px;
    color: #444;
    display: block;
    box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, .1);
    height: 25px;
    line-height: 24px;
    overflow: hidden;
    padding: 0 0 0 8px;
    position: relative;
    text-decoration: none;
    white-space: nowrap
}

.chosen-container-single .chosen-default {
    color: #999
}

.chosen-container-single .chosen-single span {
    display: block;
    overflow: hidden;
    margin-right: 26px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.chosen-container-single .chosen-single-with-deselect span {
    margin-right: 38px
}

.chosen-container-single .chosen-single abbr {
    background: url(https://www.hikespeak.com/map/searchselection/chosen-sprite.png) -42px 1px no-repeat;
    display: block;
    font-size: 1px;
    height: 12px;
    position: absolute;
    right: 26px;
    top: 6px;
    width: 12px
}

.chosen-container-single .chosen-single abbr:hover,
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
    background-position: -42px -10px
}

.chosen-container-single .chosen-single div {
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 18px
}

.chosen-container-single .chosen-single div b {
    background: url(https://www.hikespeak.com/map/searchselection/chosen-sprite.png) 0 2px no-repeat;
    display: block;
    height: 100%;
    width: 100%
}

.chosen-container-single .chosen-search {
    margin: 0;
    padding: 3px 4px;
    position: relative;
    white-space: nowrap;
    z-index: 1010
}

.chosen-container-single .chosen-search input[type=text] {
    background: url(https://www.hikespeak.com/map/searchselection/chosen-sprite.png) 100% -20px no-repeat;
    margin: 1px 0;
    border: 1px solid #aaa;
    border-radius: 0;
    font-size: 1em;
    font-family: sans-serif;
    height: auto;
    line-height: normal;
    outline: 0;
    padding: 4px 20px 4px 5px;
    width: 100%
}

.chosen-container-single .chosen-drop {
    background-clip: padding-box;
    border-radius: 0 0 4px 4px;
    margin-top: -1px
}

.chosen-container-single.chosen-container-single-nosearch .chosen-search {
    left: -9999px;
    position: absolute
}

.chosen-container .chosen-results {
    color: #444;
    margin: 0 4px 4px 0;
    max-height: 293px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 0 4px;
    position: relative;
    -webkit-overflow-scrolling: touch
}

.chosen-container .chosen-results li {
    display: none;
    list-style: none;
    line-height: 15px;
    margin: 0;
    padding: 5px 6px;
    word-wrap: break-word;
    -webkit-touch-callout: none
}

.chosen-container .chosen-results li.active-result {
    cursor: pointer;
    display: list-item
}

.chosen-container .chosen-results li.highlighted {
    background-color: #09E;
    background-image: linear-gradient(#08C 20%, #09E 90%);
    color: #fff
}

.chosen-container .chosen-results li.group-result {
    cursor: default;
    display: list-item;
    font-weight: 700
}

.chosen-container .chosen-results li.group-option {
    padding-left: 15px
}

.chosen-container .chosen-results li em {
    font-style: normal;
    text-decoration: underline
}

.chosen-container .chosen-results li.no-results {
    background: #f1f1f1;
    color: #666;
    display: list-item
}

.chosen-container-active .chosen-single {
    border: 1px solid #093;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border: 1px solid #aaa;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-image: linear-gradient(#eee 20%, #fff 80%);
    box-shadow: 0 1px 0 #fff inset
}

.chosen-container-active.chosen-with-drop .chosen-single div {
    border-left: none;
    background: 0 0
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -18px 2px
}

.chosen-container-active .chosen-choices {
    border: 1px solid #5897fb;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.chosen-container-active .chosen-choices li.search-field input[type=text] {
    color: #222!important
}

.showprofilelink{margin:8px 4px 0 8px;font-weight:700;font-style:italic;color:#376a4f;font-size:110%;display:block}
#ProfilePlotWrap{position:absolute;background:#fff;width:795px;height:200px;margin:348px -2px -2px;border:2px solid #777;padding:5px 5px 4px;z-index:10;display:none;box-sizing:border-box;}
#ProfilePlot{height:100%;width:762px;display:inline-block}
tspan.titlespan{font-weight:bold} 
#ProfileCloser{float:right;font-size:18px;cursor:pointer}
#ProfileCloser a{color:#777} 
#ProfileCloser a:hover{color:#555}

/* Just Tablet */
@media screen and (min-width:699px) and (max-width:1050px) {
	#map-viewer-panel{width:100%}
    #map-view-choice,
    #map-viewer-title {
        min-height: 140px;
        width: 30%;
        margin-right: 2%
    }

	#map-view-choice{
		margin-top: 0px;
	}
	
    #map-view-description {
        display: inline-block;
        padding: 5px 0 0;
        vertical-align: top;
        width: 35%
    }
    #mapcontainer {
        margin-top: 10px;
        width: 100%
    }
	#MapMessage {
        margin: 55px 0 0 10px;
		right: auto;
		top: auto;
	}
}

/* Mobile */
@media screen and (max-width:698px) {
	#map-viewer-panel{width:100%}
    #map-viewer-title {
        min-height: 110px;
        width: 45%
    }
    #map-viewer-header {
        font-size: 30px;
		padding: 2px 0;
    }
    #map-viewer-subheader {
        font-size: 16px;
        line-height: 20px
    }
    #map-view-choice {
        margin: 0 0 0 2%;
        min-height: 110px;
        width: 51%
    }
    #map-view-description {
        padding: 5px 0 0;
        vertical-align: top
    }
    #MapMessage {
        margin: 55px 0 0 10px;
		right: auto;
		top: auto;
    }
    #mapcontainer {
        margin-top: 10px;
        width: 100%
    }
    .MapResultsArea ul {
        list-style: none;
        margin: 5px 5px 0!important
    }
    .MapResultsArea ul li {
        margin-bottom: 10px;
        width: 100%
    }
    .theinfowindow {
        width: 250px
    }
    #latest-post {
        display: none;
    }
	#results_list_title{border-radius:0;position:relative;margin:0 0 -1px;position:relative;width:100%;box-sizing:border-box;}
}
@media screen and (max-width:500px) {
	/*Hide the profile title for small screens*/
	#ProfilePlot .Titlebox {display:none;}
}

@media screen and (max-width:1050px) {
#ProfilePlotWrap {
	margin:349px -1px -1px;
	width: 90%;
	width: calc(100% - 24px);
}
#ProfilePlot{width:97%;width:calc(100% - 20px);}
#results_list_title{border-radius:0;position:relative;margin:0 0 -1px;position:relative;width:100%;box-sizing:border-box;}
}

@media only screen and (-webkit-min-device-pixel-ratio:2),
only screen and (min-resolution:144dpi) {
    .chosen-container .chosen-results-scroll-down span,
    .chosen-container .chosen-results-scroll-up span,
    .chosen-container-single .chosen-search input[type=text],
    .chosen-container-single .chosen-single abbr,
    .chosen-container-single .chosen-single div b {
        background-image: url(https://www.hikespeak.com/map/searchselection/chosen-sprite2X.png)!important;
        background-size: 52px 37px!important;
        background-repeat: no-repeat!important
    }
}