html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

/* navbar hide on scroll down */
.nav-up {
    top: -80px;
}
.navbar{
   transition: top 0.4s ease-in-out;
}
.sidebar,
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
}
.sidebar {
  max-width: 220px;
  transition: all ease 0.25s;
  overflow-y: auto;
  z-index: 1032;
  right: -100%;
}
.overlay {
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.50);
  visibility: hidden;
  z-index: 1031;
}
.main-navigation.active .sidebar {
  right: 0;
}
.main-navigation.active .overlay {
  visibility: visible;
}
@media (min-width: 992px) {
  .sidebar {
    position: relative;
    top: auto;
    bottom: auto;
    /*left: auto;*/
    right: 0;
    flex-direction: row;
    max-width: 100%;
    transform: none;
    transition: none;
    overflow-y: visible;
    z-index: auto;
  }

}
.main-heading {
  position: relative;
  z-index: 100;
}

.innerAddDiv {
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 3px #a79f9f;
  height: 100%;
  padding: 10px;
}

.innerAddDiv:hover {
  background-color: #a1dcf7;
}

.sessionTitle {
  text-align: left;
  padding: 5px;
  margin-bottom: 0px;
  color: #474546;
  font-size: 14px;
  font-weight: bold;
}

.sessionContent {
  padding: 5px;
  margin-bottom: 0px;
  color: #474546;
  font-size: 14px;
  font-weight: 400;
}

.verticalListDiv {
  margin: 25px -5px 0px 5px;
  color: #474546;
}

.eleDiv {
  padding: 19px 12px 19px 7px;
}

/* Index page */

#zipCodeLength, #notInputZipCode, #orgNameLength, #notInputOrgName, #invalidEmail, #enterYourEmail, #invalidTLD {
  font-size: .875rem;
}

/* Phone country code */

#phone_code {
  position: absolute;
  z-index: 5;
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 -1px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  background-color: white;
  border: 1px solid #CCC;
  white-space: nowrap;
  max-height: 200px;
  width: 200px;
  line-height: 1;
}

#phone_code_parent {
  position: absolute;
  z-index: 5;
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 -1px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  background-color: white;
  border: 1px solid #CCC;
  white-space: nowrap;
  max-height: 200px;
  width: 200px;
  line-height: 1;
}

.countryFlag {
  display: flex;
}

.countryFlag:hover {
  background-color: rgba(0,0,0,0.05);
  cursor: pointer;
}

.countryFlag span {
  padding: 5px;
}

.countryFlag div {
  margin: 5px;
}

.flagDiv {
  width: 25px;
  height: 19px;
}

#selected_phone_code {
  display: flex;
  width: 120px;
}

/* #selected_phone_code div {
  margin-top: 2.5px;
} */
  
#selected_phone_code span {
  padding-left: 10px;
}

#selected_phone_code:hover {
  background-color: rgba(0,0,0,0.05);
  cursor: pointer;
}

#selected_phone_code_parent {
  display: flex;
  width: 120px;
}

/* #selected_phone_code_parent div {
  margin-top: 2.5px;
} */
  
#selected_phone_code_parent span {
  padding-left: 10px;
}

#selected_phone_code_parent:hover {
  background-color: rgba(0,0,0,0.05);
  cursor: pointer;
}

/* Position list */

#position_list {
  position: absolute;
  z-index: 5;
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 -1px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  background-color: white;
  border: 1px solid #CCC;
  white-space: nowrap;
  max-height: 300px;
  width: 100%;
  line-height: 1;
  overflow-y: auto;
}

#selected_position {
  cursor: pointer;
}

.positionDiv:hover {
  background-color: rgba(0,0,0,0.05);
  cursor: pointer;
}

#position_search {
  width: 100%;
}

/* buttons in Find participant staff or student */
#staffBtn, #studentBtn {
  border: 1px solid #0094D9;
  color: #0094D9;
}

#staffBtn:hover {
  background: #0094D9;
  color: white;
}

#studentBtn:hover {
  background: #0094D9;
  color: white;
}

/* buttons in Find participant id checking */
#yesBtn, #noBtn {
  border: 1px solid #0094D9;
  color: #0094D9;
}

#yesBtn:hover {
  background: #0094D9;
  color: white;
}

#noBtn:hover {
  background: #0094D9;
  color: white;
}

@media screen and (max-width: 768px) {
  .eleDiv {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
	  .navbar-nav {
	  padding-top: 5rem;
	  padding-left: 1.5rem;
  }
}
@media (min-width: 1084px) {
  .order-lg-2 svg {
    display: none;
  }
}

@media screen and (min-width: 600px) {
  #navbar_top {
    padding: 8px 52px 8px 38px;
    box-shadow: 0 2px 18px -7px rgb(0 0 0 / 30%);
    background-color: var(--white);
    border-spacing: 0;
  }
}
