/**
 * CSS to theme the map page.
 * @author Saravanakumar
 */
html,
body,
#map-container {
  height: 100%;
}
/*#map-container {
  margin: 0;
  width: 100%;
  overflow: hidden;
}*/
.ui-autocomplete .ui-menu-item {
  padding : 2px;
  cursor: pointer;
  border-bottom: 1px solid #f1f0ee;
}
.ui-autocomplete .ui-menu-item a {
  display: block;
  max-width: 350px;
  font-size: 0.9em;
}
.ui-widget.ui-widget-content {
  height: 75vh;
  overflow-y: scroll;
}
span.auto-address {
  white-space: normal;
  /*width: 316px;
  display: block;*/
}
.is_rtl .ui-widget.ui-widget-content {
  right: 20px;
}
.sr-only, .d-none {
  display: none;
}
.site-color,
.dir-text {
  color: #1762B8;
}
.circle-icon {
 background: #fff;
 width: 58px;
 height: 58px;
 border-radius: 50%;
 text-align: center;
 line-height: 30px;
 vertical-align: middle;
 padding: 13px;
 border: 1.4px solid #1762B8;
}
.places i {
  font-size: 1.5rem;
}

.form-control {
  border-radius: 4px !important;
}
.searchbar{
  height: 144px;
  width: 100%;
  background-image: url('/sites/default/files/images/explore-bg.png');
  background-size: 100% 100%;
  padding: 20px 20px;
}
.searchbar i,
.searchbar .explore-icon{
  position: absolute;
  left: 30px;
  top: 56px;
  color: #212529;
  z-index: 4;
  width: 15px;
}
.place-image-holder{
  width:100%;
  height: 110px;
  background-size: cover;
  background-position: center;
}
.place span{
  display: block;
}
.place span.time-accordion {
  display: unset;
}
.place-title .title{
  font-weight: 500;
  font-family:"Roboto", sans-serif;
  font-size: 1.125em;
}
.place-title{
  padding-left: 0;
}
.rating{
  padding: 0;
}
.rating a{
  padding-left: 3px;
}

.p-category,
.places_list .place-title .title, .tooltip-wrapper .title,
.places_list .description, .tooltip-wrapper .description,
.address.phone {
  font-family:"Roboto", sans-serif;
}
.p-category{
  font-size: 0.725em;
  font-weight: 400;
  line-height: 0.8em;
}
.place-list-image{
  border-radius: 7%;
}
.places_list .place-title .title, .tooltip-wrapper .title{
  font-size: 1em;
  font-weight: 500;
  line-height: 1.17em;
  margin-bottom: 4px;
}
.places_list .description, .tooltip-wrapper .description{
  font-size: 0.8125em;
  margin-top: 15px;
}
img.place-inner-image{
  padding: 2px;
}

.address, .social-links, .place-timings {
  border-bottom: 1px solid #f1f0ee;
  padding: 16px 5px 0;
}
.address, .social-links {
  line-height: 6px;
}
.address.details {
  line-height: 20px;
}
.address i, .social-links i, .place-timings i {
  padding-right: 3px;
  height: 25px;
  width: 25px;
  color: #1762B8;
}

.social-links{
  border-bottom: none;
}

.checked {
color: orange;
}
.fa-star{
  width: 12px;
  height: 12px;
}
.places_list .row{
  border-bottom: 1px solid #f1f0ee;
  padding: 10px 0;
}
.tooltip-wrapper{
  padding: 5px;
}
.places-list{
  cursor: pointer;
}
#tooltip-mousehover{
  position: absolute;
  display: none;
  z-index: 99;
  background: white;
  width: 300px;
  height: auto;
}

.direction{
  text-align: center;
  padding-top: 3px;
  font-size: 0.9em;
  cursor: pointer;
}
.direction i {
  font-size: 22px;
  vertical-align: middle;
  text-align: center;
}


.close-icon{
  position: absolute;
  right: 0;
  cursor: pointer;
}
.close-icon i{
  font-size: 25px;
  color: #fff;
}

.anv-nav{
  position: fixed;
  width: 27%;
  z-index: 95;
  top: 70px;
  height: 100%;
  overflow-y: scroll;
  bottom: 156px;
  background-color: #fff;
  box-shadow: 5px 0 5px -5px #ccc;
}

.gis-map-flex {
  display: flex;
  height: 90vh;
  background-color: #fff;
}
.gis-map-flex-left {
  flex: 25%;
}
.gis-map-flex-right {
  flex: 75%;
}

.gis-map-flex-left #results_holder {
  overflow-y: scroll;
  /*height: 66vh;*/
}
/*.gis-map-flex-left .block-ajman-search-block {
  height: 21vh;
}*/

.gis-map-flex-left #results_holder .field--name-body {
  margin-top: unset;
}

.views-element-container.form-group {
  margin-bottom: 0;
}

/* Search form alignment */
.custom-search-gis-form .input-group {
  margin-top: 4px;
}

.custom-search-gis-form .input-group .form-control {
  padding-left: 29px;
}
.custom-search-gis-form .input-group .form-control:focus {
  background-color: #fff;
}
.custom-search-gis-form .form-required:after {
  background-image: none;
}
.p-2 {
  padding: .5em !important;
  font-size: 0.5rem;
}
.category-name span {
  display: block;
  overflow-wrap: break-word;
  font-size: 0.75rem;
}

.places_list .col-lg-4,
.places_list .col-lg-8 {
  padding: 5px;
}
.places_list .place-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#results_holder {
  padding: 24px 24px 0px 24px;
}

.view-search-categories .view-content {
  padding: 5px;
}
.cat-back {
  margin-left: 10px;
  color: #1762B8;
  font-weight: 600;
  cursor: pointer;
}

.place-timings span.time-accordion i {
  padding-left: 5px;
}
.place .contact-info {
  font-size: 0.8125em;
}
.timing-holder {
  padding-left: 20px;
}
.time-wrap .day {
  flex: 10;
}
.time-wrap .timing {
  flex: 90;
}
.place-title-block .place-title {
  flex: 70;
}
.place-title-block .rating {
  flex: 30;
}

.rating-wrapper .rating-star,
.rating-wrapper .rating-value {
  font-size: 0.8125em;
}
.rating-wrapper .rating-star i {
  margin-top: 3px;
}

.direction .dir-text {
  font-size: 0.75em;
}

.place .social-links .col-sm-6 {
  padding: 0;
}
/* Hide the mobile category slider */
.mobile-category {
  display:none;
}

/* Override loader style */
.ajax-progress-fullscreen {
  width: 50px;
  height: 50px;
  left: 45%;
  background-color: unset;
  background-image: url('/sites/default/files/images/ajman-loader-100.gif');
}

/* Arabic alignment*/
.is_rtl .custom-search-gis-form .input-group .form-control {
  padding-right: 29px;
}
.is_rtl .custom-search-gis-form .input-group {
  width: 100%;
}
.is_rtl .searchbar i,
.is_rtl .searchbar .explore-icon {
  right: 30px;
  left: unset;
}
.is-rtl .view-search-categories .view-content {
  padding: 24px;
}
.is_rtl .cat-back {
  margin-right: 10px;
  text-align: right;
}

.is_rtl .p-category,
.is_rtl .places_list .place-title .title, .is_rtl .tooltip-wrapper .title,
.is_rtl .places_list .description, .is_rtl .tooltip-wrapper .description {
  text-align: right;
  font-family: 'AtrissiGhad',Arial,sans-serif;
}

.is_rtl #place_individual_holder .place {
  text-align: right;
}

.is_rtl .timing-holder {
  padding-right: 20px;
}

.is_rtl .rating-value {
  padding-right: 5px;
}
.is_rtl .close-icon {
  left: 0;
}

.path-explore footer {
  display: none;
}

.path-explore .container-fluid {
  padding: 0;
}

/* Media query for tab and above screens */
@media (min-width: 768px) {
  .gis-map-flex-right #mob_results_holder {
    display: none;
  }
}

/* Media query for tab and above screens */
@media (max-width: 768px) {
  .category-name span {
    font-size: 0.5rem;
  }
}

/* Media query for big laptop */
@media (min-width: 1441px) {
  /*.gis-map-flex {
    height: 800px;
  }
  .gis-map-flex-left #results_holder {
    height: 550px;
  }*/
  .gis-map-flex-left {
    flex: 20%;
  }
  .gis-map-flex-right {
    flex: 80%;
  }
  .place-image img.place-list-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /*width: 100px;
    height: 100px;*/
  }
  .anv-nav{
    width: 20%;
  }
  /*.gis-map-flex-left .block-ajman-search-block {
    height: 13vh;
  }
  .gis-map-flex-left #results_holder {
    height: 74vh;
  }*/
}

/* Media query for tablet and small laptop */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .gis-map-flex-left,
  .gis-map-flex-right {
    flex: unset;
  }
  #results_holder {
    padding: 10px 5px;
  }
  .places_list .col-sm-3,
  .places_list .col-md-3,
  .places_list .col-sm-9,
  .places_list .col-md-9 {
    padding: 5px;
  }
  .places_list .place-image img {
    width: 60px;
    height: 60px;
  }
  .anv-nav {
    width: 35%;
  }
  /*.gis-map-flex-left .block-ajman-search-block {
    height: 25vh;
  }
  .gis-map-flex-left #results_holder {
    height: 62vh;
  }*/
  .circle-icon {
    width: 40px;
    height: 40px;
    padding: 4.5px;
  }
}

/* Media query for tablet and small laptop */
@media screen and (max-width: 1024px) {
  .category-name span {
    font-size: 0.6rem;
  }
  .view-search-categories .p-2 {
    padding: .23em !important;
  }
}

/* Media query for tablet and large tablet */
@media screen and (min-width: 768px) and (max-width: 992px) {
  .gis-map-flex-left {
    width: 35%;
  }
  .gis-map-flex-right {
    width: 65%;
  }
  .anv-nav {
    top: 62px;
  }
  .is_rtl .anv-nav {
    top: 70px;
  }
  /*.gis-map-flex-left .block-ajman-search-block {
    height: 15vh;
  }*/
}

/* Media query for small laptop */
@media screen and (min-width: 993px) and (max-width: 1024px) {
  .gis-map-flex-left {
    width: 30%;
  }
  .gis-map-flex-right {
    width: 70%;
  }
  .anv-nav {
    top: 61px;
  }
  .is_rtl .anv-nav {
    top: 70px;
  }
}


/* Media query for mobile and small devices */
@media (max-width: 767px) {
  .mobile-category .view-content {
    display: none;
  }
  .mobile-category .view-content.slick-initialized {
    display: block;
  }
  .path-explore .container-fluid {
    padding: 0;
  }
  .gis-map-flex {
    display: block;
  }
  .gis-map-flex-left {
    position: absolute;
    z-index: 1;
  }
  .gis-map-flex-left #results_holder {
    display: none;
  }
  .custom-search-gis-form {
    height: 65px;
  }
  .searchbar i,
  .searchbar .explore-icon {
    top: 27px;
    left: 30px;
    right: unset;
  }
  .is_rtl .searchbar i,
  .is_rtl .searchbar .explore-icon {
    right: 30px;
  }
  .searchbar {
    background-image: none;
  }
  .gis-map-flex-right #mob_results_holder {
    height: 200px;
    bottom: 0;
    position: absolute;
    overflow-y: scroll;
    background-color: #fff;
    width: 100%;
    z-index: 50;
  }
  /*.gis-map-flex-left .block-ajman-search-block {
    height: 10vh;
  }*/
  .gis-map-flex-right {
    height: 95vh;
  }
  .custom-search-gis-form label {
    display: none;
  }
  .places_list .row {
    display: flex;
  }
  .places_list .place-image {
    flex: 30;
  }
  .places_list .place-title {
    flex: 70;
  }
  .path-explore footer {
    display: none;
  }
  .path-explore .anv-nav {
    height: 100%;
    width: 100%;
    top: 56px;
  }
  /* Display mobile category slider */
  .mobile-category {
    display:block;
    width: 95vw;
  }
  .mobile-category .views-row {
    margin: 0px 3px;
  }
  .gis-map-flex-left .teaser-category {
    border: 1px solid;
    border-radius: 15px;
    border-color: #1762B8;
    background-color: #1762B8;
    text-align: center;
    padding: 5px;
    margin: 0px 3px;
  }
  .gis-map-flex-left .teaser-category a,
  .gis-map-flex-left .teaser-category a:hover {
    color: #fff;
  }
  .gis-map-flex-left .teaser-category a .ajax-throbber {
    display: none;
  }
  .custom-search-gis-form .input-group .form-control {
    padding-left: 35px;
  }
  .is_rtl .custom-search-gis-form .input-group .form-control {
    padding-right: 35px;
  }
  .view-display-id-block_2,
  .mobile-category button.slick-prev,
  .mobile-category button.slick-next {
    display: none;
  }

  #place_individual_holder {
    position: absolute;
    top: unset;
    bottom: -300px;
    width: 100%;
    z-index: 100;
    height: 300px;
    overflow-y: scroll;
  }

}

/* Media query for small mobile */
@media screen and (min-width: 320px) and (max-width: 374px) {
  .gis-map-flex-right #mob_results_holder {
    height: 150px;
  }
  .mobile-category {
    width: 90vw;
  }  
  .category-name span {
    font-size: 0.65rem;
  }
}
/* Media query for small mobile */
@media screen and (min-width: 374px) and (max-width: 410) {

}
/* Media query for small mobile */
@media screen and (min-width: 540px) and (max-width: 767px) {

}