*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nav-search {
  max-width: 75rem;
  margin: 1rem auto;
  font-family: var(--font-google);

  /* // new edit  */
  overflow: auto;
  border-radius: 15px;
}

.nav-search ul {
  list-style: none;
  padding: initial;
}

/* Open/close menu button */
/* 
button {
  display: block;
  margin: 2rem auto;
  padding: 0.5em 1em;
  border: 0.25rem solid #fff;
  color: #fff;
  background-color: #22222200;
  font-family: var(--font-google);
  font-size: 1rem;
  cursor: pointer;
  transition: 250ms;
  border-radius: 1em;
} */

@media (min-width: 80rem) {
  .nav-search {
    /* // new edit  */
    overflow: initial
  }


  
  button {
    display: none;
  }
}

button:hover {
  background-color: #22222250;
}

/* Menu */

.menu {
  --color-menu-dark: #ecfcff;
  display: none;
  flex-direction: column;
  position: relative;
  /* box-shadow: 0 0 0.5rem var(--color-menu-dark); */
}

@media (min-width: 80rem) {
  .menu {
    display: flex;
    flex-direction: row;
    height: 65px;
  }
}

.menu.activated {
  display: flex;
}

.menu--background {
  background-color: var(--color-menu-dark);
  color: #38A3D1;
  border: 2px solid #d1f7ff;
  border-radius: 15px;
  font-size:14px;
}

/* Menu button */

.menu__button {
  padding: 0.75em 1em;
  cursor: pointer;
  text-align: center;
  flex: 1 0 auto;
  position: relative;
  border-right: 1px solid #d1f7ff;
}
li:last-child {
  border-right: none;
}

.menu__button:hover {
  background-color: var(--color-menu-dark);
  /* border-radius: 15px; */
}
.menu__button:last-child {
  /* background-color: var(--color-menu-dark); */
  border-radius: 0 15px 15px 0;
}
.menu__button:first-child {
  /* background-color: var(--color-menu-dark); */
  border-radius: 15px 0 0 15px;
}





html[dir='rtl'] .menu__button:last-child {
  /* background-color: var(--color-menu-dark); */
  border-radius:  15px 0 0 15px ;
}
html[dir='rtl'] .menu__button:first-child {
  /* background-color: var(--color-menu-dark); */
  border-radius: 0 15px 15px 0;
}





@media (min-width: 80rem) {
  .menu__button--arrow {
    position: relative;
  }

  .menu__button--arrow::after {
    content: "";
    color: #47deff;
    position: absolute;
    bottom: 50%;
    transform: scale(0.5, 0.3) translate(-50%);
    margin: 0 5px;
  }

  /* .menu__button--arrow:hover::after {
    display: none;
  } */
}

/* Dropdown menu */

.dropdown-container {
  display: none;
  margin-top: 1rem;
  position: relative;


}

/* .dropdown-container::after {
  content: "▼";
  transform: scale(0.7);
  position: absolute;
  color: #47deff;
  top: -2.5rem;
  right: 0;
  /* background-color: #444; */
  /* border-radius: 100%; */
  /* padding: 0.25em 0.55em; */
  /* font-size: 15px; */
  /* box-shadow: 0 0 2rem #222; */
/* } */

/* Dropdown menu - desktop */

@media (min-width: 80rem) {
  .dropdown-container {
    z-index: 99;
    width:calc(100% - 2em) ;
    min-width: 300px;
    display: block;
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    box-shadow: none;
    pointer-events: none;
    overflow: hidden;
    margin-top: 0.5rem;
    border-radius: 0 0 0.25em 0.25em;
  }

  html[dir='rtl'] .dropdown-container {
    right: 1em;
  }

  .dropdown-container::after {
    display: none;
  }
}

/* Dropdown menu content*/

.dropdown-container > ul {
  /* background-color: var(--color-menu-dark); */
  /* transition: 250ms; */
  background-color: #ffffff;
  transition: 250ms;
  outline: 1px solid #d1f7ff;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 340px; overflow: auto;
}
.dropdown-container > ul > li:last-of-type{
  border: none;
}
.dropdown-container > ul > li {
  padding-block: 0.75em;
  border-bottom: 1px solid var(--border-color);
}

#multi > label{
  border-bottom: 1px solid var(--border-color);
  padding-bottom:10px;

}
#multi > label:last-of-type{
  border: none;

}




.dropdown-container > ul > li:hover {
  background-color: #6ddff847;
  color: #222;
}

.menu__button.activated .dropdown-container {
  display: block;
}

#service_id-label,#visit_type-label,#city_id-label,#area_id-label,#location_id-label,#specialty_id-label,#gender-label,#actor_type-label {
  width: 100%;
  text-transform: capitalize;

}

/* /// */
.modal-content {
  border-radius: 1.3rem !important;
}

.nav-type{
/* font:normal normal normal 15px/22px 'Poppins'; */
text-transform: capitalize;
color: #0B5E9A;

} 
.nav-type-selected{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  /* color: #000000; */
  /* font-family:'Font Awesome 5 Brands',sans-serif; */
  max-width: 150px;

  color: #38A3D1;
text-transform: capitalize;
/* font:normal normal normal 15px/22px 'Poppins'; */

}
/* Dropdown menu content - desktop */

@media (min-width: 80rem) {
  .menu__button[data-display='block']:last-child > .dropdown-container {
    left:calc(100% - 320px);  
}
  .menu__button[data-position='last'] > .dropdown-container {
    /* left:calc(100% - 320px);   */
    left: unset;
    right: 1em;
}
html[dir='rtl'] .menu__button[data-position='last'] > .dropdown-container {
  /* right:calc(100% - 320px);   */
  left: 1em;
    right: unset;
}


/* 
html[dir='rtl'] .menu__button:last-child > .dropdown-container {
  right:calc(100% - 320px);  
} */
  .dropdown-container > ul {
    transform: translate(0, -100%);
  }

  .menu__button:hover > .dropdown-container {
    pointer-events: initial;

    /* margin-right: 10px;
    margin-left: 10px; */
    box-sizing: border-box;
    /* width: calc(100% - 20px); */
    
  }

  .menu__button:hover > .dropdown-container > ul {
    transform: translate(0, 0);
    padding: 5px 15px ;
  }

  #service_id-label,#visit_type-label,#city_id-label,#area_id-label,#location_id-label,#specialty_id-label,#gender-label,#actor_type-label {
    width: 90px;
    text-transform: capitalize;
    min-height: 18px;
  }
  .menu__button.multi:hover > .dropdown-container {
    pointer-events: initial;
   
    box-sizing: border-box;
    /* width: calc(180% - 0px); */
  }
  .menu__button:hover > .dropdown-container {
    pointer-events: initial;

    box-sizing: border-box;
    /* width: calc(180% - 0px); */
    box-shadow: 0px 2px 5px -1px #5255569c;
    border-radius: 0 0 15px 15px;
    transition: .5s;
    transition-property: box-shadow;
  }

  /* .menu__button:last-child:hover > .dropdown-container {
    left: -100%;  } */
}
/* img{
  width: 100%;
}
.modal-dialog{
  display: flex;
  justify-content: center;
  width: 100%;
} */

/* cheakbox  */
section {
  display: grid;
  place-items: center;
  padding:0 20px;
}

/* radio  */

:root {
  --accent-color: #38a3d1;
  --dark-color: #202124;
  --light-color: #ffffff;
}

.color1 {
  --accent-color: #38a3d1;
}
.color2 {
  --accent-color: #ff6f00;
}
.color3 {
  --accent-color: #a3f307;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1em;
  position: relative;
}
.radio-group .bullet {
  position: absolute;
  width: 1.5em;
  height: 1.5em;
  background: radial-gradient(var(--accent-color) 0.4em, rgba(0, 0, 0, 0) 0);
  border-radius: 50%;
  top: 0;
  left: 0;
  transition: 0.5s top ease;
}
.radio-group input {
  display: none;
}
.radio-group label {
  display: flex;
  gap: 0.5em;
  align-items: center;
  transition: 0.5s color ease;
  white-space: nowrap;
  cursor: pointer;
}
.radio-group label::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  border: 0.125em solid var(--accent-color);
  border-radius: 50%;
}
.radio-group input:checked + label {
  color: var(--accent-color);
}

/* checkbox */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.checkbox-group input {
  display: none;
}
.checkbox-group label {
  display: flex;
  gap: 0.5em;
  align-items: center;
  /* transition: 0.5s color ease; */
  white-space: pre-wrap;
  cursor: pointer;
  position: relative;
}
.checkbox-group label::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  border: 0.125em solid var(--accent-color);
  border-radius: 0.25em;
}
.checkbox-group input:checked + label {
  color: var(--accent-color);
}

.checkbox-group label::after {
  content: "";
  width: 0.75em;
  height: 0.75em;
  top: auto;
  left: 4px;
  border-radius: 0.05em;
  background-color: var(--accent-color);
  position: absolute;
  transform: scale(0);
  /* transition: 0.5s transform ease; */
}
.checkbox-group input:checked + label::after {
  transform: scale(1);
}
.margin-reset{
  margin-top: 0 !important;
}


/* loading filter in result page */
#result-loader {
display: flex;
justify-content: center;
align-items: center;
position: relative;
/* bottom:150px; */
}

#filter-loading  {
display: flex;
justify-content: center;
position: relative;
bottom:150px;
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #3dc9f3;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}




/* validate animation 
 */
 .required{
  animation: myAnim 2s ease 0s 1 normal forwards;

 }
 @keyframes myAnim {
  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60% {
    transform: translateX(10px);
  }

  80% {
    transform: translateX(8px);
  }

  90% {
    transform: translateX(-8px);
  }
}
@media (max-width: 40rem) {
  .item.slide{
  width: 250px !important;
  }
}
