/**
 * Skeleton Navigation CSS
 * Custom navigation styles for responsive menu with hamburger
 * Part of the CariadHealth Skeleton CSS Framework
 */

/* -------------------- Menu ------------------------------------------- */

/* title bar is mobile */
.title-bar{
	background: rgba(255, 255, 255, 0);
	padding: .8rem !important;
}

.top-bar{
	padding: 0 !important;
	display: flex;
	align-items: stretch;
	min-height: 45px;
	justify-content: space-between;
}

.top-bar-left{
	display: flex;
	align-items: center;
}

.top-bar-right{
	display: flex;
	align-items: center;
	margin-left: auto;
}

.top-bar a{
	text-decoration: none;
	display: flex;
	align-items: center;
	height: 100%;
}

/* top bar is desktop */
.top-bar, .top-bar, .top-bar ul {
	background: rgba(255, 255, 255, 0) !important;
}

.menu {
	display: flex;
	align-items: stretch;
	height: 100%;
}

.menu li{
	font-size: 120%;
	display: flex;
	align-items: stretch;
}

.menu li a{
	display: flex;
	align-items: center;
	padding: 0 1rem;
}

.menu li:hover{
	background-color: rgba(167, 205, 240, 0.39);  /* rgba(108, 166, 120, 0.57) = green  rgba(168, 250, 185, 0.57) = grey original */
}

.menu li.active {
	background-color: rgba(167, 205, 240, 0.39);
}

.container{
	width: 90%;
	margin: auto;
}


/* ------------------ button container hamburger ---------------------------- */
.button_container {
  position: absolute; /* change from fixed to absolute 01-29-2019 */
  top: 1.2%; /* Position from top of page */
  right: 2%; /* Position from right of page  (remove and it will move to left)*/
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity .25s ease;
  outline: none;
  background-color: rgba(255, 255, 255, 0);
}
.button_container:hover {
  opacity: .7;
}
/* ------------------ Active hamburger ---------------------------- */
.button_container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: #960808; /* 'X' color to close */
}
.button_container.active .middle {
  opacity: 0;
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #960808; /* 'X' color to close */
}
/* ------------------ End Active hamburger ---------------------------- */
.button_container span {
  background: #0d550a; /* 3 lines color */
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}
/* ------------------ End button container hamburger ---------------------------- */

.overlay-class-mobile-menu {
  position: fixed;
  background: #1a1a1a;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 5 !important;
}
.overlay-class-mobile-menu.open {
  opacity: .9;
  visibility: visible;
  height: 100%;
}
.overlay-class-mobile-menu.open li {
  animation: fadeInRight .5s ease forwards;
  animation-delay: .35s;
}
.overlay-class-mobile-menu.open li:nth-of-type(2) {
  animation-delay: .4s;
}
.overlay-class-mobile-menu.open li:nth-of-type(3) {
  animation-delay: .45s;
}
.overlay-class-mobile-menu.open li:nth-of-type(4) {
  animation-delay: .50s;
}
.overlay-class-mobile-menu nav {
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  -webkit-backface-visibility: hidden; /* Prevent flicker */
}
.overlay-class-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay-class-mobile-menu ul li {
  height: 25%;
  height: calc(100% / 3); /* Height of each li item calculated here */
  min-height: 50px;
  position: relative;
  opacity: 0;
}

.overlay-class-mobile-menu ul li a {
  position: relative;
  color: #fd7014;
  text-decoration: none;
  overflow: hidden;
}
.overlay-class-mobile-menu ul li a:hover:after, .overlay-class-mobile-menu ul li a:focus:after, .overlay-class-mobile-menu ul li a:active:after {
  width: 100%;
}
.overlay-class-mobile-menu ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  transition: .35s;
}

.overlay-class-mobile-menu .active {
  color: #ffffff;
  text-shadow: 0px 0px 10px #bdbcbc;
  font-weight: bold;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
} /* end keyframes */

ul{
	list-style-type: none;
	margin: 0;
}

.menu .menu-text {
	padding: 0 !important;
}

.logo{
	font-size: 120%;
	/* font-family: 'Rubik Mono One', sans-serif;  */
	z-index: 300;
	top: .5em;
	font-weight: 700;
	padding: 0 !important;
	margin: 0 !important;
}
.logo a{
	color: black;
	text-decoration: none;
}
.logo a span {
	color: #49beb7;
}

@media screen and (max-width: 1120px) {
	#databinder-list-contaner{
		width: 100%;
	}
}


/* -------- Remove other menu flicker ------------ */
@media screen and (max-width: 39.9375em) {
	#main-nav{
		display: none !important;
	}
	.logo{
		font-size: 100%;
	}
	.logo a{
		/* color: #0d550a; */
		text-decoration: none;
	}
	/* .logo a span {
	color: black;
	} */

	#login-container{
		width: 95%;
	}

	#search-filter-container{
		width: 100%;
	}

	#binder-list-search{
		width: 100%;
	}

	/* COMMENTED OUT ON 5/14/2024 TCW */
	/* #list{
/* 		height: calc(85vh - 95px);  OLD
		height: 71%;
/* 		max-height: 74vh;
		overflow: auto;
		width: 100%;
		margin: auto;
	} */

	#signup-form-container{
		width: 100%;
	}

} /* End (max-width: 39.9375em) for main nav display Mobile*/
@media screen and (max-width: 639px) {
	.cell{
		margin: auto !important;
	}

	.binder{
		width: 100%;
	}
}

/* Desktop below */
@media screen and (min-width: 640px) {
	.title-bar{
		display: none !important;
	}
	#overlay{
		display: none !important;
	}
} /* End (min-width: 640px) for title bar display Desktop*/

/* -------- End Remove other menu flicker ------------ */
/*--------------------- End Menu --------------------------------------- */
