.location-finder{
    width: 100%;
    float: left;
    position: relative;
}
.location-finder .visually-hidden{
    display: none;
}
/*---if no locations are input, default to dummy map-----*/
.location-finder .dummy-map{
    background: url(../USA-Map.jpg) no-repeat center center;
    height: 500px;
    background-size: cover;
}
.location-finder .dummy-map #LocationFinderMap{
    display:none;
}
/*-----------------------------
 Custom Dropdown Box 
----------------------------- */
.location-finder .select {
    border: 1px solid #ccc;
    overflow: hidden;
    position: relative;
    display: block;
    margin: 5% 0%;
    border-radius: 8px;
}

.location-finder select{
    border: 0;
    font-weight: normal;
   -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.location-finder #user-rad:hover, #user-rad:focus {
    cursor: pointer;
}
.location-finder .select:hover, .select:focus{
    border: 2px solid #2376D6;
}
.location-finder #user-rad {
    width: 100%;
    padding-left: 3%;
    font-weight: normal;
    height: 50px;
    background-color: white;
}
.location-finder .select:hover:after, .location-finder .select:focus:after{
    color: #2376D6;
    font-size: 1.3rem;
}

.location-finder label.select{
    display: flex;
    align-items: center;
}

.location-finder label.select .fa-chevron-down{
    padding-right: 3%;
}


/*---------------------------------------------END CUSTOM DROPDOWN*/
/*-----------------------------
 Error Message
----------------------------- */
.location-finder .invalid-result .col-md-12 {
    background: #f1d9d9;
    border-radius: 8px;
    margin: 4% 0%;
    padding: 2% 1%;
    text-align:center;
}

.location-finder .invalid-result .col-md-12 p {
    color: #913633;
    text-transform: uppercase;
    font-weight: bold;
}
.location-finder .invalid-result .col-md-12 i, .no-results .col-md-12 i{
    margin-right: 2%;
    font-size: 1.3rem;
}

.location-finder .no-results .col-md-12 {
    background: #EDF3FF;
    border-radius: 8px;
    padding: 1% 1%;
    margin: 4% 0%;
}

.location-finder .no-results .col-md-12 p {
    color: #2323A2;
    text-transform: uppercase;
    font-weight: bold;
    text-align:center;
}
/*-----------------------------
Advanced Search Show/Hide
----------------------------- */
.location-finder .advanced-link{
    color:#757575;
    font-size: 0.8rem;
    font-weight:bold;
}
.location-finder .advanced-link:hover, .advanced-link:focus{
color: #2376D6;
text-decoration: underline;
cursor: pointer;
}

.location-finder .advanced-options{
    display:none;
    padding-top: 5px;
}
.location-finder .fancy {
    text-align: center;
  }
  .location-finder .fancy span {
    display: inline-block;
    position: relative;
  }
  .location-finder .fancy span:before,
  .location-finder .fancy span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1.7px solid #EBEBEB;
    top: 8px;
    width: 100%;
}
.location-finder .fancy span:before {
    right: 100%;
    margin-right: 10px;
  }
  .location-finder .fancy span:after {
    left: 100%;
    margin-left: 10px;
  }
/*-----------------------------
Location Result Cards
------------------------------*/
.location-finder .location-list{
    overflow: hidden;
}
/*Card header*/
.location-finder .result-header{
    background: #EDF3FF;
    padding: 1% 2%;
}
.location-finder .result-header:hover, .result-header:focus{
    cursor: pointer;
}
.location-finder .location-result .result-header p:hover, .location-finder .location-result .result-header p:focus{
    cursor: pointer;
}
.location-finder .result-header .fa-chevron-down{
    position: absolute;
    right: 2px;
    top: 15px;
    color: #232382;
    display: block;
}

.location-finder .result-header .fa-chevron-up{
    position: absolute;
    right: 2px;
    top: 15px;
    color: #232382;
    display: none;
}

.location-finder .location-result {
    border: 1px solid #ccc;
    margin: 3% 0%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/*card header style*/
.location-finder .location-result .result-header p, .location-finder .location-result .col-md-4 h6{
    text-transform: uppercase;
    color: #232382;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: bold;
}

.location-finder .location-result .result-header .fa-map-marker{
    font-size:2rem;
    color:#2376D6;
    width: 3%;
    margin-right: 2%;
}
.location-finder .location-result .result-header p:hover, .location-finder .location-result .result-header p:focus{
    color: #232382;
    cursor: auto;
}
.location-finder .location-result .link p {
    text-decoration: underline;
    color: #2376D6;
}

.location-finder .location-result .result-info {
    padding: 3%;
    display:block;
}
/*make the addresses behave as links*/
.location-finder .location-result .link p:hover, .location-finder .location-result .link p:focus {
    text-decoration: none;
    color: #000000;
    cursor: pointer;
}

/*----------------------------------------------end location result cards*/

.location-finder .location-finderdiv.map-panel.slide-left{
    overflow-y: auto;
}

/*user input address*/
.location-finder #userAddress{
    width: 78%;
    height: 60px;
    padding: 2%;
    background: #EBEBEB;
    color: black;
    margin-right: 2%;
    font-weight: bold;
    border: 15px solid transparent;
    border-radius: 8px;
}

/*custom checkboxes - branch locations*/
.location-finder .location-types input {
    position: absolute;
    opacity: 0;
/*   cursor: pointer;*/
    height: 0;
    width: 0;
  }
  .location-finder .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        margin: 0% 3%;
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 8px;
    }
    .location-finder .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  .location-finder .location-types input:checked + .checkmark:after,
  .location-finder .location-types input[checked="checked"] + .checkmark:after{
    display: block;
  }
  .location-finder .location-types{
    display: block;
    font-weight: normal;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .location-finder .location-types:hover .checkmark, .location-finder .location-types:focus .checkmark{
      border: 2px solid #2376D6;
  }
  .location-finder .location-types input:checked + .checkmark,
  .location-finder .location-types input[checked="checked"] + .checkmark{
    background-color: #2376D6;
}
.location-finder .select-types{
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 3%;
}
.location-finder .select-types legend{
    font-weight: bold;
    text-align: center;
    margin: 4% 0%;
}

.location-finder .select-types .child-terms{
    margin-left:20%;
    display:none;
}

.location-finder .child-terms .title{
    font-size: 0.8rem;
    color: #6B6B6B;
}

/* Style the checkmark/indicator */
.location-finder .location-types .checkmark:after{
    left: 7px;
    top: 2px;
    width: 9px;
    height: 15px;
    border: solid #FFFFFF;
    border-width: 0 3px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*use my current location button*/
.location-finder #findMeButton{
    background:transparent;
    border:none;
    text-decoration: none;
    color:#2376D6;
    margin: 5% 0%;
}
.location-finder #findMeButton p{
    font-weight: bold;
    color:#2376D6;
}
.location-finder #findMeButton:hover, #findMeButton:focus{

    text-decoration: underline;
}
.location-finder #submitButton {
width: 17%;
    background: #2376D6;
    color: white;
    border: none;
    border-radius: 8px;
    height: 60px;
}
.location-finder #submitButton:hover, #submitButton:focus {
    background: white;
    color: #2376D6;
}
.location-finder #checkArray legend{
    border:none;
    font-size: 1rem;

}
.location-finder #info-panel{
    display: none;
    width:0%;
    height: 545px;
    background-color: rgba(0,0,0,0.8);
    border: solid#2376D6 1px;
    position: absolute;
    margin-top: 20px;
    z-index:1;
    overflow-y: auto;
}

.location-finder #mobile-content{
    background-color: rgba(0,0,0,0.8);
    display:none;
    padding: 20px;
}

.location-finder #mobile-content h3{
color:#2376D6;
text-transform: uppercase;
}
.location-finder #mobile-content h4{
    color:white;
    }
    .location-finder .close-button{
    float:right;
}
.location-finder .close-button button{
    border: 1px solid transparent;
    color: white;
    font-weight: bold;
    height: 35px;
    width: 35px;
    background:transparent;
}
.location-finder .close-button button:hover, .location-finder .close-button button:focus{
    color: black;
    background: white;
}
.location-finder #panel-content{
    padding: 10%;
}
.location-finder #panel-content p, #panel-content li,
.location-finder #mobile-content p, #mobile-content li {
    color:white;
}

.location-finder #panel-content h6, #panel-content h3{
    color: #619FE5;
    font-size:1rem;
    text-transform: uppercase;
}
.location-finder #panel-content h4{
    color: #FFFFFF;
}
.location-finder .slide-left {
    animation: slide_left .7s ease forwards;
    -webkit-animation: slide_left .7s ease forwards;
    }

    @keyframes slide_left {
    0% {
        opacity: 0;
        left: -190px;
    }
    100% {
        left: 0;
        opacity: 1;
    }
    }
    .location-finder #LocationFinderMap{
    width: 100%;
    height: 545px;
    margin: 20px 0;
    }

    .location-finder .acf-map {
    width: 600px;
    height: 400px;
    margin: 20px 0;
}
.location-finder .acf-map img {
    max-width: inherit !important;
}
.location-finder .map-panel {
    position: absolute;
    z-index: 1;
    background: #fff;
    height: 545px;
    overflow-y: hidden;
    font-size: .75rem !important;
    padding-top: 2%;
    padding-right: 2%;
    opacity: 0;
    display: none;
    margin-top: 76px;
}

.location-finder .showAll{
    display: inline-block;
}

.location-finder .inline{
    display: inline-block;
}

.location-finder .show{
    display: none;
    opacity: 0;
}

.location-finder .hide{
    display: block;
    opacity: .8;
}

.location-finder #submitButton .fa-search{
    font-size: 1.2rem;
}

.location-finder #submitButton:hover, #submitButton:focus{
    background-color: #0E2B4C;
    color: white;
}

.location-finder #info-panel{
    width: 35%;
}

.location-finder #panel-content h3, #panel-content h6{
    font-size: .9rem;
    letter-spacing: .04rem;
    font-weight: bold;
}

.location-finder #panel-content h4{
    font-size: 1.6rem;
    font-weight: bold;
}

.location-finder .link h3{
    font-weight: bold;
}

.location-finder .location-result .col-md-4{
    text-align: left;
}

.location-finder .fancy span .fa-chevron-up {
    display: none;
}

.location-finder #legend{
    margin: 0px;
}

.location-finder #legend p{
    padding-top: 10px;
}

.location-finder .location-marker-box,
.location-finder .active-marker-box,
.location-finder .searched-marker-box{
    padding-top: 10px;
    float: left;
    width: 25%;
    position: relative;
    white-space: nowrap;
} 

.location-finder .location-marker-box .fa,
.location-finder .active-marker-box .fa,
.location-finder .searched-marker-box .fa{
    padding-right: 10px;
    padding-top: 6px;
    float: left;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}


/****************************************************
          MEDIA QUERIES
****************************************************/
@media (max-width: 992px){
    .location-finder #info-panel {
        height:500px;
    }

    .location-finder .miles-within-sect {
    margin: 0;
    background-color: white;
  }

  .location-finder #LocationFinderMap{
      height: 500px;
  }

  .location-finder #info-panel {
    margin-top: 0;
  }
  .location-finder .col-md-8.link{
    text-align: center;
}
.location-finder .result-info .col-md-4 {
    text-align:center;
}
.location-finder .result-header .fa-chevron-down{
    top: -25px;
    right: 16px;
    font-size: 1rem;
    position: absolute;
}

.location-finder .result-header .fa-chevron-up{
    top: -25px;
    right: 16px;
    font-size: 1rem;
    position: absolute;
}
}

@media (max-width: 768px){
    .location-finder #info-panel{
        display: none !important;
    }
    .location-finder #mobile-content{
        display:block;
        max-height: 150px;
        overflow: scroll;
    }
    .location-finder#LocationFinderMap{
        margin: 0;
    }
    .location-finder .result-header .fa-chevron-down{
        font-size: .7rem;
    }

    .location-finder .result-header .fa-chevron-up{
        font-size: .7rem;
    }
}
@media (max-width: 361px){

    .location-finder #LocationFinderMap {
    height: 400px;
  }
}
