#congregation_map_advanced, #congregation_map_advanced_list {
    float:left;
}

#congregation_map_advanced {
    width:70%;
}

#congregation_map_advanced_list {
    overflow:auto;
    width:30%;
    background-color:#F9F5F0;
}

#congregation_map_advanced_list.congregation-small,
#congregation_map_advanced.congregation-small {
    height:50vh;
}

#congregation_map_advanced_list.congregation-large,
#congregation_map_advanced.congregation-large {
    height:80vh;
}

#congregation_map_advanced_list .map-list-inner {
    padding:1em 2em;
    text-align:left;
    font-family:'Raleway';
    font-size:18px !important;
    background-color:#F9F5F0;
}

#congregation_map_advanced_list .map-list-header {
    padding:0 0 1.5em;
}

#congregation_map_advanced_list select {
    width: 46%;
    margin-right: 4%;
    border-radius: 3px;
    padding: 8px;
    border-width: 2px;
    border-color: #bdc3c7;
    vertical-align: middle;
    margin-bottom: 1em;
    height: 40px;
    background: #fff;
    font-family: 'Knapstack Font 1';
    font-size: 14px;
    text-indent: 5px;
}
#congregation_map_advanced_list select.fullwidth {
    width: 100%;
}
.border{ border-top: 1px solid #ccc; padding-top: 5px;}

.field-wrapper.border label{
    padding-bottom: 10px;
    width: 100%;
    float: left;}
#congregation_map_advanced_list input {

    border-radius:3px;
    vertical-align:middle;
    margin-bottom:1em;
}

#congregation_map_advanced_list button.searchbutton {
    width: 33%;
    padding: 9px 15px;
    border-style: solid;
    border-radius: 3px;
    border-width: 2px;
    border-color: #879040;
    background-color: #879040;
    color: #fff;
    vertical-align: middle;
    font-size: 14px;
    margin-top: -12px;
}

#congregation_map_advanced_list button.resetbutton {
    width: 14%;
    padding: 7px 7px;
    background-color:transparent;
    border:0;
    font-size:12px !important;
    color:#999;
    text-transform:uppercase;
    margin-left:2%;
    vertical-align:middle;
}

#congregation_map_advanced_list button.searchbutton:hover,
#congregation_map_advanced_list button.resetbutton:hover {
    cursor:pointer;
    cursor:hand;
}

#congregation_map_advanced_list button.searchbutton:hover {
    background-color:#AAB454;
}

#congregation_map_advanced_list h3 {
    font-size:24px !important;
    font-family:'Raleway';
}

#congregation_map_advanced_list .map-listings .item {
    padding:1em;
    border-top:1px solid #ECE0CA;
    font-family:'Raleway';
    font-size:14px;
}

#congregation_map_advanced_list .map-listings .item.active {
    background-color:#ECE0CA;
}

#congregation_map_advanced_list .map-listings .item a {
    color:#1379CE;
    font-weight:bold;
    text-decoration:none;
}

#congregation_map_advanced_list .congregation_pages ul {
    padding:0;
    margin:0;
    list-style-type:none;
}

#congregation_map_advanced_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_advanced_list .congregation_pages ul li:hover {
    background-color:#C9CF94;
    cursor:hand;
    cursor:pointer;
}

#congregation_map_advanced_list .congregation_pages ul li a:hover {
    cursor:hand;
    cursor:pointer;
}

#congregation_map_advanced_list .congregation_pages ul li.current {
    background-color:#889140;
}

#congregation_map_advanced_list .congregation_pages ul li.current a {
    color:#fff;
}

#congregation_map_advanced_list .congregation_pages ul li:first-child {
    border-width:1px 1px 1px 1px;
    border-radius:4px 0 0 4px;
}

#congregation_map_advanced_list .congregation_pages ul li:last-child {
    border-radius:0 4px 4px 0;
}

#congregation_map_advanced canvas {
    left:0 !important;
}

/* Marker tweaks */
.mapboxgl-popup {
    padding-bottom: 50px;
}

.mapboxgl-popup-close-button {
    display: none;
}
.mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', '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: 14px !important;
}

.mapboxgl-popup-content h4 {
    margin: 0;
    display: block;
    padding: 10px 10px 10px 10px;
    font-weight: 400;
}

.mapboxgl-popup-content div {
    padding-left: 10px;
    padding-bottom: 5px;
    padding-top:5px;
    margin-bottom: 0px;

}

.mapboxgl-container .leaflet-marker-icon {
    cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top:0px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #879040;
}
.marker {
    border: none;
    cursor: pointer;
    width: 24px;
    height: 39px;
    background-image: url(../images/cogn-marker_green.png);
    background-color: rgba(0, 0, 0, 0);
}
.mapboxgl-ctrl-geocoder {
    width: 100%;
    font-size: none;
    line-height: inherit;
    max-width: inherit;

    background: none;
    box-shadow: none;
    min-width: unset;
}
.mapboxgl-ctrl-geocoder--input
{
    width: 100%;
    border-radius: 3px;
    vertical-align: middle;
    margin-bottom: 1em;
    border-color: #e2e2e2;
    border: 2px solid #bdc3c7;
    color: #34495e;
    font-family: 'Knapstack Font 1';
    font-size: 14px;
    padding: 8px 25px;
    text-indent: 6px;
    border-radius: 2px;
    box-shadow: none;
    transition: border .25s linear, color .25s linear;
    box-sizing: border-box;
    background: #fff;
}
.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--pin-right > * {

    right: 11px;

}

@media(max-width:1200px) {
    #congregation_map_advanced_list,
    #congregation_map_advanced {
        width:100%;
        height:500px;
    }
}

@media (max-width: 1475px) and (min-width: 1200px) {
    #radius_srch {
        width: 100% !important;
    }
    #congregation_search_btns {
        display: block;
        margin-top: 9px;
        margin-bottom: 1em;
    }
    #congregation_search_adv_btn {
        width: 65% !important;
    }
    #congregation_search_reset {
        width: 30% !important;
        margin-top: -13px;
        float: right;
    }
}
