#congregation_map, #congregation_map_list {
	float:left;
}

#congregation_map {
  width:70%;
}

#congregation_map_list {
  overflow:auto;
  width:30%; 
  background-color:#F9F5F0;
}

#congregation_map_list.congregation-small,
#congregation_map.congregation-small {
  height:50vh;
}

#congregation_map_list.congregation-large,
#congregation_map.congregation-large {
  height:80vh;
}

#congregation_map_list .map-list-inner {
	padding:1em 2em;
	text-align:left;
	font-family:'Raleway';
	font-size:18px !important;
  background-color:#F9F5F0;
}

#congregation_map_list .map-list-header {
  padding:0 0 1.5em;
}

.map-list-header select[name=congregation_search_church] {
  width:45%;
  margin-right:5%;
  border-radius:3px;
  padding:8px;
  border-width:2px;
  border-color: #e2e2e2;
  vertical-align:middle;
  margin-bottom:1em;
}

.map-list-header input[name=congregation_search_kw] {
  width:45%;
  border-radius:3px;
  vertical-align:middle;
  margin-bottom:1em;
}

.map-list-header button[name=congregation_search_btn] {
  width:75%;
  padding: 9px 15px;
  border-style:solid;
  border-radius: 3px;
  border-width: 2px;
  border-color: #879040;
  background-color:#879040;
  color:#fff;
  vertical-align:middle;
}

.map-list-header button[name=congregation_search_reset] {
  width:23%;
  padding: 12px 10px;
  background-color:transparent;
  border:0;
  font-size:12px !important;
  color:#999;
  text-transform:uppercase;
  margin-left:2%;
  vertical-align:middle;
}

.map-list-header button[name=congregation_search_btn]:hover,
.map-list-header button[name=congregation_search_reset]:hover {
  cursor:pointer;
  cursor:hand;
}

.map-list-header button[name=congregation_search_btn]:hover {
  background-color:#AAB454;
}

#congregation_map_list h3 {
	font-size:24px !important;
	font-family:'Raleway';
}

#congregation_map_list .map-listings .listings-item {
	padding:1em;
	border-top:1px solid #ECE0CA;
	font-family:'Raleway';
  font-size:14px;
}

#congregation_map_list .map-listings .listings-item.active {
  background-color:#ECE0CA;
}

#congregation_map_list .map-listings .listings-item a {
	color:#1379CE;
	font-weight:bold;
  text-decoration:none;
}

#congregation_map_list .congregation_pages ul {
  padding:0;
  margin:0;
  list-style-type:none;
}

#congregation_map_list .congregation_pages ul li {
  float:left;
  padding:5px;
  min-width:15px;
  border-width:1px 1px 1px 0;
  border-style:solid;
  border-color:#ccc;
  text-align:center;
  background-color:#fff;
}

#congregation_map_list .congregation_pages ul li:hover {
  background-color:#C9CF94;
  cursor:hand;
  cursor:pointer;
}

#congregation_map_list .congregation_pages ul li a:hover {
  cursor:hand;
  cursor:pointer;
}

#congregation_map_list .congregation_pages ul li.current {
  background-color:#889140;
}

#congregation_map_list .congregation_pages ul li.current a {
  color:#fff;
}

#congregation_map_list .congregation_pages ul li:first-child {
  border-width:1px 1px 1px 1px;
  border-radius:4px 0 0 4px;
}

#congregation_map_list .congregation_pages ul li:last-child {
  border-radius:0 4px 4px 0;
}

#congregation_map canvas {
	left:0 !important;
}

/* Marker tweaks */
.mapboxgl-popup-close-button {
  display: none;
}

.mapboxgl-popup-content {
  font: 400 14px/22px 'Raleway', 'Helvetica Neue', Sans-serif;
  padding: 0;
  width: 250px;
}

.mapboxgl-popup-content-wrapper {
  padding: 1%;
}

.mapboxgl-popup-content h3 {
  background: #879040;
  color: #fff;
  margin: 0;
  display: block;
  line-height:1.4em !important;
  padding: 10px;
  border-radius: 3px 3px 0 0;
  font-weight: 700 !important;
  margin-top: 0 !important;
  font-size:18px !important;
}

.mapboxgl-popup-content h3 a {
  color:#fff;
}

.mapboxgl-popup-content > div {
  font-size:12px !important;
  font-size:1.4em;
  margin-bottom:1em;
  padding: 0 0.5em;
  text-align:left;
  line-height:1.4em;
}

.mapboxgl-popup-content > div strong {
  color:#1379CE;
}

.mapboxgl-popup-content > div strong {
  font-size:12px !important;
  display:block;
}

.mapboxgl-container .leaflet-marker-icon {
  cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
  margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
  border-bottom-color: #91c949;
}

.marker {
  border: none;
  cursor: pointer;
  width: 24px;
  height: 39px;
  background-image: url(../img/cogn-marker.png);
  background-color: rgba(0, 0, 0, 0);
}

@media(max-width:1200px) {
  #congregation_map_list,
  #congregation_map {
    width:100%;
    height:500px;
  }
}