/*
* Styling for Happiness bundle pages
*/
/* Default style*/
.ajman-flex > .ajman-flex-items {
  padding: 10px 20px;
}
.ajman-flex > .ajman-flex-items a {
  color: #FFFFFF;
}
.flip-card {
  height: 160px;
  width: auto;
}
.flip-card-front {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flip-card-front .flip-card-back {
  border-radius: 12px;
}
.flip-card-back h4 {
  margin-top: 30px;
  font-size: 15px;
}
.list-item-with-logo .flip-card-back h4 {
  margin-top: 10px;
}
.flip-card-back {
  border-radius: 12px;
}
.flip-card-back .fa-phone {
  width: 1.9em;
  height: 1.9em;
  line-height: 1.8em;
  font-size: 1.1em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
}
.flip-card-back h5 .fa-phone {
  font-size: 0.7em;
}
.flip-card-back p.see-more,
.flip-card-back h5.see-more {
  padding: 5px;
  border: 2px solid white;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  width: 100px;
  font-size: 13px;
  margin: auto;
}

.page-node-type-list .entities-detail.popup,
.entities-listing .entities-detail.popup {
  position: fixed;
  width: 80%;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
  top: 0;
  max-width: 1100px;
  height: 80vh;
  max-height: 600px;
  z-index: 3;
  background-color: #ffffff;
  overflow-y: auto;
}

.entities-detail .left-content::before {
  position: absolute;
  left: 0;
  width: 1px;
  height: 100%;
  background: #dfdfdf;
  content: "";
  top: 0;
}
.is_rtl .entities-detail .left-content::before {
  left: auto;
}

.is_rtl .entities-detail .col-md-6 {
  float: right;
}

.is_rtl.page-node-type-list .flip-card p {
  text-align: center;
  word-wrap: break-word;
}

.popup-box-icon h3 {
  font-size: 25px;
}

.ajman-flex > .ajman-flex-items .entities-detail a {
  color: #1762B8;
}

.entities-detail .map {
  margin-bottom: 10px;
}

.page-node-type-list .entities-detail p,
.entities-listing .entities-detail p {
  font-size: 14px;
}

.contact .fa-phone, .contact .icon-icon-2, .contact .fa-envelope-square, .contact .website .fa {
  display: inline-block;
  border: 2px solid #1762B8;
  font-size: 1em;
  color: #1762B8;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  height: 2em;
  width: 2em;
  line-height: 1.9em;
  margin: 0 0 1vh;
}

.contact h4,
.contact span.contact-data {
  margin: 0;
  font-size: 15px;
}

.ajman-flex > .ajman-flex-items .entities-detail .contact a {
  display: inline-block;
}

.ajman-flex-items .social-box {
  margin-top: 30px;
}

.social-box .social-infos {
  font-size: 14px;
}

.ajman-flex-items .social-links a{
  display: inline-block;
  border: 2px solid #3b5999;
  color: #3b5999;
  font-size: 1em;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  height: 2em;
  width: 2em;
  line-height: 2em;
  margin: 0 0.3vw;
}

.entities-detail.popup .close {
  color: #1762B8;
  cursor: pointer;
  opacity: 1;
  position: absolute;
  right: 5px;
  top: 15px;
  width: 30px;
  line-height: 25px;
  font-size: 1.5em;
  height: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
  border: 2px solid #1762B8;
  z-index: 3;
}

.entities-detail.popup .item-icon-popup {
  padding: 15px;
}

.box-logo img {
  margin: auto;
  padding: 10px;
}

.ent-email {
  direction: initial;
}

/* Ajman data winners page */
.path-data-challenges-winners #entitiesListing {
  padding-top: 20px;
  box-shadow: 0px 3px 13px rgb(0 0 0 / 8%);
  border-radius: 20px;
}
.path-data-challenges-winners .container-for-content {
  box-shadow: none;
}
.path-data-challenges-winners .ajman-flex {
  margin-left: 12px;
  padding-bottom: 20px; 
}
.is_rtl.path-data-challenges-winners .ajman-flex {
  margin-right: 12px;
}

/* Large devices like iPhone5/SE */
@media (min-width: 320px) and (max-width: 568px) {

}

/* Extra small devices (iphone 6/7/8) */
@media (min-width: 375px) and (max-width: 767px) {
  .page-node-type-list .entities-detail.popup,
  .entities-listing .entities-detail.popup {
    width: 100%;
  }
}

/* Extra small devices (phones, 768px and down) */
@media (max-width: 768px) {
  .ajman-flex {
    justify-content: center;
  }
  .entities-detail.popup  .col-md-6 {
    max-width: 100%;
  }
  .is_rtl .entities-detail .col-md-6 {
    float: unset;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices like iPad */
@media (min-width: 768px) and (max-width: 1023px) {
  .ajman-flex {
    justify-content: center;
  }
  .entities-detail.popup  .col-md-6 {
    max-width: 100%;
  }
  .is_rtl .entities-detail .col-md-6 {
    float: unset;
  }
}


/* Large devices like iPad Pro */
@media (min-width: 980px) and (max-width: 1199px) {

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}