.acf-map {
	width: 100%;
	height: 325px;

}

.addresses-block{
    margin-bottom: 25px;
}

.addresses-block .fa{
    width: 25px;
}

.ac-name{
    font-weight: bold;
    font-size: 18px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.unslider{
    position: relative;
}
.unslider-carousel{
    text-align: center;
}

.sliderRow{
    margin: 15px;
    padding-top: 15px;
    height: 325px;
    overflow: hidden;
}

.tsg-slider img{
    max-width: auto !important;
}

.searchResults{
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.unslider-arrow{
    display: block;
    width: 32px;
    height: 32px;
    top: 50%;
    right: -50px;
    left: auto;
    margin-top: -16px;
    overflow: hidden;
    background: rgba(0,0,0,.2) no-repeat 50% 50%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAQAAABuQZ3IAAAAi0lEQVR4AU3OISBEQQBAwS0AACS9NxqQgCZpkiYBVddFvWhAAUABAPQCAGC4g/0vTnrBqCfDIZl70J+kMUBPpEwT4FNXxBxz4F1HxHyr4EVTxBLb4EFNxEon4CJSlVNw9AcV9sC16h8osgke1P1ArgXwouVvdQq86ww/GQefusNf7kBviBlxpT8k+gL/Wox4r1d4MwAAAABJRU5ErkJggg==');
    background-size: 7px 11px;
    border-radius: 32px;
    text-indent: -999em;
    opacity: .6;
    transition: opacity .2s;
}

.sliderContentRight {
    margin-left: 1% !important;
    width: 42.3333333333% !important;
}

.unslider-arrow.next{
    right: 5px;
}


.unslider .prev{
    left: 5px;
    right: auto;
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.locationBlock{
    border: solid 1px #ddd;
    overflow: hidden;
    font-size: 17px;
    font-weight: normal;
    float: left;
    width: 49%;
    height:230px; 
    margin-bottom: 4%;
    position: relative;
    padding-bottom: 30px;
}

.nearme-1{
    height: 270px;
}

.single-tsg_location .locationBlock{
    width: 100%; 
    float: none;
    padding-bottom: 0px;
    height: auto;
}

.blockMargin{
    margin: 10px;
}

.locationBlock.even{
    float: right;
}

.single-tsg_location .locationBlock{
    float: none;
}

.locationBlock h3{
    margin-bottom: 1rem;
}

.mainLocationInfo img{
    float: left;
    margin: 2px 5% 2px 0px;
    width: 118px;
}

.locationIcon{
     float: left;
    font-size: 40px;
    margin: 10px 20px 10px 10px;
}

.featuresItem{
    margin-bottom: 1%;
}

.featuresItem i{
    width: 6%;
}

li{
    list-style: none;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999;
    padding-top: 5px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

.modal h2{
    margin-bottom: 1rem;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content input[type="email"], .modal-content input[type="number"], .modal-content input[type="search"], .modal-content input[type="text"], .modal-content input[type="tel"], .modal-content input[type="url"], .modal-content input[type="password"], .modal-content select{
    height: 50px;
    width: 50%;
}

.modal-content textarea{
    height: 140px;
}

.cancelModal{
    float: left;
    text-align: center;
    width:50%;
    background-color: #ccc;
    color: #555;
    font-size: 25px;
    line-height: 65px;
    cursor: pointer;
}

.submitModal{
    float: right;
    text-align: center;
    width:50%;
    font-size: 25px;
    line-height: 65px;
    background-color: #999;
    cursor: pointer;
}

.mError{
    font-size: 15px;
    color: #f00;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #17687B;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    background-color: #5cb85c;
    color: white;
    overflow: auto;
}

#locationSearchInput{
    float: left;
    width: 84%;
    height: 50px;
    line-height: 50px;
    border-radius: 0px;
    margin: 0px;
    font-size: 20px;
}

.locationSearchBtn{
    float: right;
    width: 15%;
    text-align: center;
    background-color: #ddd;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
}

.map-container{
    background-color: #1EAEDB;
}

.locationSearch{
    max-width: 500px;
    margin: 0px auto;
    padding-bottom: 5px;
    padding-top: 5px;
}

.mainLocationInfo i{
    width: 30px;
}

.iconMargin{
    margin-left: 31px;
}

.archiveBtns{
    display: table;
    margin-top: 3%;
    width: 100%;
    position: absolute;
    bottom: 0px;
    line-height: 20px;
    font-weight: normal;
}

.archiveBtns a{
    color:#555;
}

.one-third{
    background-color: #ddd;
    margin-bottom: 4%;
    margin: 1%;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    height: 50px;
}

.archiveBtn1{
    background-color: #999;
    margin-left: 1.5%;
}

.archiveBtn2{
    background-color: #ADABAB;
}

.locationSearchBtn{
    cursor: pointer;
}

.pager a, .pager .currentPage{
    font-size: 20px;
    padding: 5px 10px;
    background-color: #555;
    color: #ddd;
    margin: 2px;
}

.pager .currentPage{
    background-color: #999;
}

.distance{
    background-color: #1EAEDB;
    text-align: right;
    padding: 10px;
    color: #fff;
}

.distance a{
    color:#fff;
}

.loaderIcon{
    position: absolute;
    z-index: 9999;
    top: 40%;
    left: 50%;
    width: 70px;
    display: none;
}



@media screen and (max-width: 900px) {
    .map-container{
        background: none !important;
        margin-left: 15px;
        margin-right: 15px;
        padding-top: 15px;
    }
    
    .locationBlock{
        width: 100%;
        float: none;
        font-size: 20px;
        height: auto;
        position: relative;
        padding-bottom: 65px;
    }
    
    
    .locationBlock .archiveBtns{
        font-size: 17px;
    }
  
    .locationBlock:nth-child(2){
        float: none;
    }
    
    .mainLocationInfo img{
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .locationBlock{
        font-size: 15px;
    }
    
    .loaderIcon{
        top: 25%;
        left: 30%;
    }
}

/* Style the tab */
div.tabloca {
    margin: 1%;
    overflow: hidden;
   /* border: 1px solid #ccc; */
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
div.tabloca button {
    background-color: inherit;
    float: left;
   /* border: none; */
    outline: none;
    cursor: pointer;
    /*padding: 14px 16px;*/
    width:20%;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
div.tabloca button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tabloca button.active {
    background-color: #006b63;
    color:#fff;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
   /* border: 1px solid #ccc;*/
    border-top: none;
}
