html, body {
    height:100%;
}

body {
    background: #737373;
}

/** main structure **/
#pl-map {
    margin:0 auto;
    height:100%;
    position:relative;
    overflow: hidden;
    background: #a0a841;
		width:100%;
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  -webkit-flex-direction:column;
  -webkit-box-orient:vertical;
  -ms-flex-direction:column;
  flex-direction:column;
}

#pl-map #map {
    background: #a0a841;
}

#pl-map .the_content h3 {
    margin: 0 0 5px 0;
    color: #161616;
    font: 16px/18px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;

    border-bottom: #EBE1C3 1px solid;
    padding-bottom: 5px;
    text-align: right;
}

#pl-map .the_content h5 {
    margin: 0;
    color: #333333;
    background: #f8f3e2;
    font: 12px/14px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    padding-bottom: 5px;
    text-align: center;
    font-weight: normal;
    font-style: italic;
    padding: 1px 3px;
}

#pl-map .the_content h4 {
    margin: 0px;
    color: #161616;
    font: 16px/18px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    padding-bottom: 5px;
    text-align: right;
}

/** header (about page) **/

#map-header {
	width:100%;
  background: #326e32;
	color:white;
	height:90px;
  margin:0px;
	font-size:12px;
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  -webkit-flex-direction:row;
  -webkit-box-orient:horizontal;
  -ms-flex-direction:row;
  flex-direction:row;
	font-family:'Quattrocento Sans', 'Helvetica Neue', Helvetica, sans-serif;
	box-shadow: 0px 2px 3px rgba(0,0,0,0.5);
	z-index:99999;
}

#map-header div {
}

#map-header .logo {
	-webkit-flex:1;
	-ms-flex:1;
	flex:1;
}

#map-header .logo img {
	position:absolute;
	height:98px;
	margin-left:20px;
	top:0;
	z-index:99999;
}

#map-container .leaflet-control-zoomslider {
	margin-top:25px;
}

#map-header .address {
	margin-top:10px;
	margin-bottom:10px;
	padding-left:20px;
	padding-right:20px;
	border-right:1px solid white;
}

#map-header .instructions {
	width:25%;
	margin-top:10px;
	margin-bottom:10px;
	padding-left:20px;
	padding-right:20px;
}

#map-header .instructions p {
	padding:0px;
	margin:0px;
}

#map-header h4 {
	padding:0px;
	margin:0px;
}

#pl-map #map-header .the_content {
    font: 13px/15px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    padding:10px 15px;
    color:#080808;
}

#pl-map #map-header .the_content h4 {
    font: 14px/16px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 0px;
    text-align: left;
    color:#080808;
}

#pl-map #map-header .the_content p {
    color:#080808;
    margin:0px;
}

/** container - holds map and detail pane **/

#map-container {
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  -webkit-flex-direction:row;
  -webkit-box-orient:horizontal;
  -ms-flex-direction:row;
  flex-direction:row;
	width:100%;
	height:100%;
}

#map {
  height:100%;
  -webkit-flex:1.0;
  -ms-flex:1.0;
  flex:1.0;
}

#map-detail {
  background: #f8f3e2;
  padding:10px;
  margin:0px;
  overflow-y:auto;
}

#map-detail .the_content ul {
    list-style: none;
    padding:0;
    margin:10px 0 0;
}

#map-detail .the_content ul li {
    font:13px/16px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    padding-bottom:5px;
}

#map-detail .the_content ul li label {
    color:#333333;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;

}

#map-detail .the_content ul li.isImage {
    padding-bottom:0px;
    background-color: #181818;
    border-radius:3px;
    position:relative;
    margin-bottom:5px;
}

#map-detail .the_content ul li.isImage img {
}

#map-detail .the_content ul li.isImage img:hover {
}

#map-detail .the_content ul li.isImage label {
    display: inline-block;
    width: 100%;
    z-index:10000;
    height: 100%;
    cursor:pointer;
}

#map-detail .the_content ul li.isImage label span {
    color: #ffffff;
    text-align: center;
    display: block;
    font-weight: normal;
    /* margin-top: 30%; */
    background: rgba(0,0,0,0.8);
    padding: 3px 0;
    font-size: 11px;
    border-bottom: 2px #CFCB98 solid;
    border-left: 2px #CFCB98 solid;
    border-right: 2px #CFCB98 solid;
}

#map-detail .the_content .isImage:hover .isImageCont {
    border-top: 2px #757356 solid;
    border-left: 2px #757356 solid;
    border-right: 2px #757356 solid;
}

#map-detail .the_content .isImage:hover label span {
    border-bottom: 2px #757356 solid;
    border-left: 2px #757356 solid;
    border-right: 2px #757356 solid;
}

#map-detail .the_content .isImageCont {
    /*height:120px;
    max-height: 120px;*/
    overflow: hidden;
    position: relative;
    border-top: 2px #CFCB98 solid;
    border-left: 2px #CFCB98 solid;
    border-right: 2px #CFCB98 solid;
    cursor: pointer;
}

#map-detail .the_content .isImageCont img {
	width:100%;
	margin-bottom: -4px;
}

#map-detail .the_content ul li label:not(.isInline) {
}

#map-detail .the_content ul li span {
    color:#6F6F6F;
    display:inline-block;
}

/** loading messages **/

#pl-loading {
    display:none;
    position: absolute;
    top:0px;
    left:0px;
    z-index:99999;
    width:100%;
    height:100%;
    background: rgba(248, 243, 226, 0.7);
    color:#181818;
    text-align: center;
    font: 18px/20px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;

}

#pl-loading.galleryMode {
		background-color:#000000;	/* for older ie */
    background: rgba(0, 0, 0, 0.85);
}

#pl-sideLoading {
    text-align: center;
    font: 13px/16px Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    color: #139713;
}

#pl-loading label {

}

#pl-loading span {
    display: inline-block;
    padding-top:5%;
    width:50px;
    text-align: left;
    margin-left:1px;
}

/** other **/

.info {
    padding: 6px 8px;
    font: 13px/15px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    text-align: left;
    line-height: 17px;
    color: #555;
}

.legend div.row {
	width:100%;
	display:block;
}

.legend div.item {
  width: 18px;
  height: 18px;
	display:inline-block;
	margin-right:8px;
	margin-bottom:-4px;
  opacity: 0.7;
}

.legend div.description {
	display:inline-block;
}

.leaflet-control-attribution.leaflet-control {
    display:none;
}


.btnType {
    color: #1400ff !important;
    font-style:italic;
    cursor:pointer;
}

.btnType.fp-no-image, .btnType.fp-no-image:hover {
    color:#6F6F6F !important;
    cursor:default !important;
}

.btnType:hover {
    color: #0d00a3 !important;
}

