#store-online-tabs .inner-content-retailer {
  margin: 0 20px;
  padding: 30px 0;
}
.retailer-box-text{
    font-weight: 300;
    margin-top: 0;
}
.retailer-searchbar{
    width: 380px!important;
    height: 40px;
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;
}
.retailer-country{
    background: #fff;
    border-radius: 0;
    height: 40px;
    border-left: none;
    border-right: none;
}
.retailer-search-btn{
    height: 40px;
    padding: 10px;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.retailer-search-btn:hover{
    background-color: #EED865;
    border: 1px solid #EED865;
}
.change-country-text{
    margin-top: 5px;
    padding-right: 130px;
    margin-bottom: 10px;
}
.change-country-text a{
    text-decoration: underline;
    color: #333;
}
.retailer-sub-title{
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid #707070;
    padding-bottom: 5px;
}

.directory-results {
    display: flex;
    flex-wrap: wrap;
}


.directory-result {
    margin-bottom: 10px;
}

.search-results-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.search-mode {
    display: flex;
    justify-content: center;
    margin-top:10px;
}
.search-mode input {
    margin-right: 5px;
}

.search-mode label {
    font-weight: 300;
    padding-right: 10px;
}

.search-count {
    font-size: 12px;
    padding-top: 4px;
}
.no-results {
    width: 100%;
    text-align: center;
}

.retailer-sponsored {
    border: 1px solid #EED865;
    padding: 15px;
}

.retailer-sponsored ul, .search-box-list ul{
    list-style-type: none;
    padding: 0;
}
.retailer-location {
    text-align: left;
    margin-bottom: 10px;
}
.retailer-location a{
    color: #333;
}
.retailer-sponsored ul li{
    text-align: left;
    margin-bottom: 7px;
}
.search-box-list ul li{
    text-align: left;
    margin-bottom: 5px;
}
.sponsored-sub-title{
    text-align: left;
    border-bottom: 1px solid #707070;
    padding-bottom: 7px;
}
.sponsored-sub-title span{
    font-size: 16px;
    font-weight: 500;
    background-color: #EED865;
    border-radius: 16px;
    padding: 2px 16px;
}
.space-10{
    margin-bottom: 10px;
}
.retailer-name{
    text-align: left;
    font-weight: 500;
}
.retailer-name a{
    width: 100%;
    color: #333;
}
.retailer-name a:hover{
    text-decoration: none;
}
.retailer-img a {
    width: 100%;
}

.retailer-img img{
    position: relative;
    width: 170px;
    height: 170px;
    object-fit: cover;
}
.retailer-img:hover{
    opacity: 0.7;
}
.retailer-img div{
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 170px;
    background-color: #000;
    opacity: 0.5;
    color: #fff;
    padding: 2px 0;
}
.retailer-btn {
    width: 100%;
    border: 1px solid #707070;
    border-radius: 5px;
    padding: 5px 0;
}
.retailer-btn.retailer-btn-half {
    width: calc(50% - 5px);
}

.me-4 {
    margin-right: 10px;
}
#retailer-ad{
    display: block;
}
#shop-ad{
    display: none;
}
#retailer-ad, #shop-ad{
    text-align: center;
    margin: 20px 0 0 0;
    padding: 10px 25px;
    border-bottom: 4px solid #EED865;
    outline: 1px solid #707070;
    outline-offset: -1px;
}
.ad-text{
    text-align: center;
    font-size: 20px;
    letter-spacing: -0.5px;
    margin: 5px 0 10px 0;
}
.p-0{
    padding:0;
}
.p-10{
    padding:0 10px;
}
.p-r-0{
    padding-right: 0;
}
.location-btn{
    color: #808080;
    background-color: #fff;
    border: none;
    margin-left: -40px;
}
.location-btn:hover{
    color: #000;
    background-color: #EED865;
}
.search-filter{
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
    margin-top: 20px;
}
a.search-filter:hover, a.search-filter:active, a.search-filter:visited, a.search-filter:focus{
    background-color: #EED865!important;
    color: #000!important;
    border: 1px solid #EED865!important;
}
.scroll-box{
    height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
}
.m-r-10{
    margin-right: 10px;
}
.p-r-5{
    padding-right: 5px;
}
.m-t-10{
    margin-top: 10px;
}
.search-result-text{
    color:#909090;
    margin-top: -5px;
}
.reset-text{
    margin-top: -35px;
    text-align: left;
}
.reset-text a{
    color: #909090;
}
.filter-box{
    background-color: #EDEDED;
    border-radius: 5px;
    margin-top: 10px;
    padding: 10px;
}
.filter-service div label, .filter-opening div label, .filter-distance div label{
    font-weight: 300;
}

.filter-box input[type="checkbox"] {
    margin-right: 5px;
}

.filter-title label{
    font-weight: 500!important;
}
.filter-distance div label span{
    color: #707070;
    font-size: 12px;
}
.linked-text{
    color: #333;
    text-decoration: underline;
}
.m-b-10{
    margin-bottom: 10px;
}
.result-box-left, .result-box-right{
    width: 49%;
    border: 1px solid #EED865;
    padding: 20px 10px 10px 10px;
    margin-bottom: 15px;
}
.result-box-left{
    margin-right: 2%;
}
.distance-text{
    font-size: 12px;
}
.sponsored-text{
    position: absolute;
    color: #EED865;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    right: 15px;
    top: -15px;
}
.sponsored-text-m{
    display: none;
}

.show-more-results {
    margin-top: 15px;
}

/* pagination */
.pagination-box {
  display: inline-block;
}
.pagination-box a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}
.pagination-box a.active {
  background-color: #EED865;
  color: #444444;
}
.pagination-box a:hover:not(.active) {
    background-color: #ddd;
}
.text-success, .text-danger{
    font-weight: 500;
}

/*POPUP CSS*/
.modal-directory{
    padding-top: 0;
}
.modal-directory-radius{
    border-radius: 5px;
}
.popup-image{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}
.popup-top{
    width: 100%;
    height: 85px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #efd95c;
    display: block;
}
.popup-circle{
    width: 30px;
    height: auto;
    position: relative;
    margin-top: 20px;
}
.popup-circle-div{
    width: 84px;
    height: 84px;
    background-color: #fff;
    position: absolute;
    left: 40px;
    top: 165px;
    border-radius: 42px;
}
.delivery-icon{
    top: 45px;
}
.popup-btn{
    position: absolute;
    right: 12px;
    top: 155px;
}
.popup-btn a{
    padding: 5px 15px;
}
.delivery-btn{
    margin-top: 20px;
    margin-bottom: 10px;
}
.delivery-div{
    padding: 0 20px 0 40px;
}
.popup-btn button, .delivery-btn button, .delivery-btn a{
    padding: 5px 15px;
}
.popup-btn ul, .delivery-btn ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.popup-btn li, .delivery-btn li{
    display: inline-block;
}
.popup-btn li:not(:last-child){
    margin-right: 5px;
}
.delivery-btn li:not(:last-child a){
    margin-right: 5px;
    color: #333;
}
.delivery-area-img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.popup-description{
    height: 375px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 40px;
    position: relative;
    margin-top: 30px;
}
.popup-description a{
    color: #333;
}
.delivery-info{
    height: 468px;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 0;
}
.directory-close{
    opacity: .8!important;
    right: 15px;
    top: 15px;
    background-color: #fff!important;
    width: 48px;
    height: 48px;
    border-radius: 24px;
}
.country-select-close{
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
}
.country-select-title{
    margin-top: 20px;
}
a.popup-more, a.popup-more:hover, a.popup-more:active, a.popup-more:visited, a.popup-more:focus{
    background: none;
    border: none;
    color: #333;
    text-decoration: underline;
    padding: 0;
    margin-top: -5px;
}
#collapseIntro{
    margin: 20px 0;
}
ul.popup-list{
    margin-top: 20px;
}
ul.popup-list li{
    border: none;
    padding-left: 0;
}
.popup-list-text{
    font-weight: 500;
}
.pop-up-time{
    margin-left: 60px;
    margin-bottom: 0;
}
.pop-up-time>tbody>tr>td{
    border: none!important;
}
.pop-up-time tr td:nth-child(1){
    width: 100px;
}
.map-block-show, .delivery-block-show{
        display: none;
}

.modal-service {
    margin-left: 15px;
}

.hideable-field {
  min-width: 100px;
}

.width-100 {
  width: 100%;
}

/*popup shop hours*/
.shop-hours{
    position: relative;
    margin-top: -28px;
}

/*search bar input*/
.form-control{
    font-size: 12px!important;
}

/* RESPONSIVE CODES */
@media only screen and (max-width: 1199px) {
    .retailer-sponsored{
        margin-bottom: 10px;
    }
    .retailer-img{
        padding-right: 0;
    }
    .retailer-img img{
        width: 100%;
    }
    .retailer-img div{
        width: -webkit-calc(100% - 15px);
        width:    -moz-calc(100% - 15px);
        width:         calc(100% - 15px);
    }
    .retailer-btn.retailer-btn-half {
        width: 100%;
        margin-bottom: 7px;
    }
    .change-country-text {
        text-align: center;
        padding-right: 0;
    }
    #retailer-ad img, #shop-ad img{
        width: 70px;
    }
    .ad-text{
        font-size: 19px;
    }
    .ad-btn{
        margin-top: 20px;
    }
    .ad-text-left{
        padding-right: 0;
    }
    .m-location{
        margin-top: -62px;
    }
}
@media only screen and (max-width: 991px) {
    .retailer-img div{
        width: -webkit-calc(100% - 30px);
        width:    -moz-calc(100% - 30px);
        width:         calc(100% - 30px);
    }
    .retailer-searchbar {
        width: 240px!important;
    }
    #retailer-ad img, #shop-ad img{
        margin-top: 20px;
    }
    .ad-btn{
        margin-top: 0;
    }
    .ad-text-left{
        padding: 0;
    }
    .popup-description{
        padding: 0 20px 0 40px;
    }
    .map-block{
        display: none;
    }
    .map-block-show, .delivery-block-show{
        display: block;
    }
    .delivery-block-show{
        position: absolute;
        right: 70px;
        top: -100px;
    }
    .m-location{
        display: none;
    }
    .result-box-left{
        width: 100%;
        margin-right: 0;
    }
    .result-box-right{
        width: 100%;
    }
    .retailer-img{
        padding-right:15px;
    }
    .btn-0{
        padding: 0;
    }
    .search-btn-list div:nth-child(1) button, .search-btn-list div:nth-child(1) a, .search-btn-list div:nth-child(2) a{
        margin-bottom: 8px;
    }
    .result-box-left p.retailer-name, .result-box-right p.retailer-name{
        margin-top: 10px;
    }
    .sponsored-text{
        display: none;
    }
    .sponsored-text-m{
        display: block;
        color: #EED865!important;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-align: right;
        padding: 0 15px 5px 15px;
    }
}
@media only screen and (max-width: 767px) {
    .form-inline div.form-group  {
        display: inline-table;
        vertical-align: middle;
        margin-bottom: 0;
    }
    #retailer-ad img, #shop-ad img{
        margin-top: 0;
    }
    .inner-img img{
        max-width: 100%!important;
        margin-bottom: 0!important;
    }
    .popup-description{
        background-color: #fff;
    }
}

@media only screen and (max-width: 991px) {
    .search-mode {
        display: block;
        padding-left: 30px;
        text-align: left;
    }
}

@media only screen and (max-width: 767px) {
    .directory-result, .shops-sell-w {
        width: 100%;
    }
    .retailer-searchbar, .retailer-country{
        float: left;
    }
    .retailer-country{
        width: 150px;
    }
    .search-mode {
        padding-left: 135px;
      }

}

@media only screen and (max-width: 520px) {
    .form-inline div.form-group {
        display: block;
    }
    .retailer-searchbar {
        width: 100%!important;
        border-top-right-radius: 5px!important;
        border-bottom-right-radius: 5px!important;
    }
    .retailer-country{
        /* Firefox */
        width: -moz-calc(100% - 40px);
        /* WebKit */
        width: -webkit-calc(100% - 40px);
        /* Opera */
        width: -o-calc(100% - 40px);
        /* Standard */
        width: calc(100% - 40px);
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-top-left-radius: 5px!important;
        border-bottom-left-radius: 5px!important;
        margin-top: 10px;
    }
    .retailer-search-btn{
        margin-top: 10px;
    }
    .search-mode {
        padding-left: 0;
    }
    .search-results-title, .search-results-title span {
        display: block;
    }
}
@media only screen and (max-width: 410px) {
    #store-online-tabs ul li {
        width: 100%;
    }
}
