@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

.fade-in-grow {
  animation: fadeIn 0.2s ease-in-out, grow 0.5s ease-in-out;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes grow {
  from {
      max-height: 0;
  }
  to {
      max-height: 900px; /* Set your desired max-height */
  }
}

.hoverOn:hover {
  border: 1px solid #008AB0;
  cursor: pointer;
  transform: scale(1.015);
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
}
.hoverOn {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: scale(1);
}

#preview-cont{
  transition: opacity .25s ease-in-out !important;
  -moz-transition: opacity .25s ease-in-out !important;
  -webkit-transition: opacity .25s ease-in-out !important;
}

#screening-profilling  .screening-container label.form-label{
  min-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
          line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* TRANSPARENT GLASS STYLING */
.glass{
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
}

.glass-white{
  background: rgba( 255, 255, 255, 0.5 );
  backdrop-filter: blur( 13px );
  -webkit-backdrop-filter: blur( 13px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.glass-img{
    background-image: url('build/images/sidebarcover.jpg');
    background-size: cover;
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
}

[x-cloak] { display: none !important; }

/* BALLOT LOADER STYLING */
@keyframes ballot {
  0% {opacity: 0; transform: translateY(-15px)}
  20% {opacity: 1; transform: translateY(0)}
  100% {opacity: 1; transform: translateY(45px)}
}
.loader ul {
  margin: 0 0 10px 0;
  margin-left:6px;
  padding: 4px;
  list-style: none;
  width: 80px;
  text-align: center;
  animation: ballot 1.5s infinite ease-in;
  animation-fill-mode: forwards;
}
.loader li {
  display: inline-block;
  background: #F0F0F0;
  height: 50px;
  width: 40px;
  border-radius: 6%;
}
.loader li:after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  background: #008AB0;
  width: 20px;
  height: 4px;
  transform: rotate(130deg);
  border-radius: 8%;
}
.loader li:before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  background: #008AB0;
  width: 20px;
  height: 4px;
  transform: rotate(45deg);
  border-radius: 8%;
}
.ballotbox {
  background: #ffffff;
  width: 90px;
  height: 10px;
  border-radius: 8%;
  position: relative;
}

.loader span {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  background: #000000;
  width: 80px;
  height: 20px;
  border-radius: 8%;
}

/* CUSTOM CSS LOADER */

.iec-loader-content {
	position: relative;
}

.iec-loader-content h2 {
	color: #fff;
	font-size: 3em;
	position: absolute;
	transform: translate(-50%, -50%);
}

.iec-loader-content h2:nth-child(1) {
	color: transparent;
	-webkit-text-stroke: 2px #ffffff;
}

.iec-loader-content h2:nth-child(2) {
	color: #ffffff;
	animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
	0%,
	100% {
		clip-path: polygon(
			0% 24%,
			16% 25%,
			33% 15%,
			54% 20%,
			70% 30%,
			84% 10%,
			100% 20%,
			100% 100%,
			0% 100%
		);
	}

	50% {
		clip-path: polygon(
			0% 100%,
			15% 100%,
			34% 100%,
			51% 100%,
			67% 100%,
			84% 100%,
			100% 100%,
			100% 100%,
			0% 100%
		);
	}
}

/* HTML: <div class="loader"></div> */
.dot-loader {
  height: 20px;
  aspect-ratio: 2.5;
  --_g: no-repeat radial-gradient(farthest-side,#008AB0 90%,#0000);
  background:var(--_g), var(--_g), var(--_g), var(--_g);
  background-size: 20% 50%;
  animation: l43 1s infinite linear;
}
@keyframes l43 {
  0%     {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
  16.67% {background-position: calc(0*100%/3) 0   ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
  33.33% {background-position: calc(0*100%/3) 100%,calc(1*100%/3) 0   ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
  50%    {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 100%,calc(2*100%/3) 0   ,calc(3*100%/3) 50% }
  66.67% {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 100%,calc(3*100%/3) 0   }
  83.33% {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 100%}
  100%   {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
}

/* SIDEBAR CUSTOM STYLING */

:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm"] .navbar-brand-box {
  background-color: rgba(255, 0, 0, 0) !important;
}

:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-item:hover > a.menu-link {
  background:  #008AB0 !important;
}

.mega-dropdown-menu {
  background: #008AB0 !important;
  border-radius:10px;
}


.sidebar-bg{
    background-image: linear-gradient(to top, rgb(68, 90, 99) 0%, #008AB0 100%);
}
.sidebarnav .nav-link {
    color: rgb(235, 235, 235) !important;
    font-weight:500;
    transition: ease-in-out 0.3s;
}

.bg-white .nav-link {
    color: rgb(0, 0, 0) !important;
    transition: ease-in-out 0.3s;
}
.sidebarnav .active {
    /* background:rgba(255, 255, 255, 0.062); */
    /* background:rgba(0, 138, 176, .2); */
    background:rgba(255, 255, 255, 0.2);
    border-radius:10px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.459); */
}
.sidebarnav .nav-link:hover {
    color: rgb(255, 255, 255) !important;
    font-weight:900;
    border-radius:10px;
    transition: ease-in-out 0.3s;
    margin-top:5px;
    margin-bottom:5px;
    background-color: #0000000a;
}

.sidebar-title{
    font-family: 'Dancing Script', cursive;
    line-height:0;
    font-size:20px;
}


/* LINEAR LOADER STYLING */

.stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px 0;
  overflow: hidden;
}

.dot-floating {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #000000;
  color: #000000;
  animation: dotFloating 3s infinite cubic-bezier(0.15, 0.6, 0.9, 0.1);
}

.dot-floating::before, .dot-floating::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-floating::before {
  left: -12px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #000000;
  color: #000000;
  animation: dotFloatingBefore 3s infinite ease-in-out;
}

.dot-floating::after {
  left: -24px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #000000;
  color: #000000;
  animation: dotFloatingAfter 3s infinite cubic-bezier(0.4, 0, 1, 1);
}

@keyframes dotFloating {
  0% {
    left: calc(-50% - 5px);
    background-color: #2e2e2e;
    color: #2e2e2e;
  }
  75% {
    left: calc(50% + 105px);
  }
  100% {
    left: calc(50% + 105px);
    background-color: #000000;
    color: #000000;
  }
}

@keyframes dotFloatingBefore {
  0% {
    left: -50px;
    background-color: #000000;
    color: #000000;
  }
  50% {
    left: -12px;
  }
  75% {
    left: -50px;
  }
  100% {
    left: -50px;
    background-color: #000000;
    color: #000000;
  }
}

@keyframes dotFloatingAfter {
  0% {
    left: -100px;
    background-color: #1d1d1d;
    color: #252525;
  }
  50% {
    left: -24px;
  }
  75% {
    left: -100px;
  }
  100% {
    left: -100px;
    background-color: #2e2e2e;
    color: #2c2c2c;
  }
}

.dot-floating-white {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  color: #ffffff;
  animation: dotFloatingWhite 3s infinite cubic-bezier(0.15, 0.6, 0.9, 0.1);
}

.dot-floating-white::before, .dot-floating-white::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-floating-white::before {
  left: -12px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  color: #ffffff;
  animation: dotFloatingBeforeWhite 3s infinite ease-in-out;
}

.dot-floating-white::after {
  left: -24px;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  color: #ffffff;
  animation: dotFloatingAfterWhite 3s infinite cubic-bezier(0.4, 0, 1, 1);
}

@keyframes dotFloatingWhite {
  0% {
    left: calc(-50% - 5px);
    background-color: #efefef;
    color: #ebebeb;
  }
  75% {
    left: calc(50% + 105px);
  }
  100% {
    left: calc(50% + 105px);
    background-color: #ffffff;
    color: #ffffff;
  }
}

@keyframes dotFloatingBeforeWhite {
  0% {
    left: -50px;
    background-color: #ffffff;
    color: #ffffff;
  }
  50% {
    left: -12px;
  }
  75% {
    left: -50px;
  }
  100% {
    left: -50px;
    background-color: #ffffff;
    color: #ffffff;
  }
}

@keyframes dotFloatingAfterWhite {
  0% {
    left: -100px;
    background-color: #f1f1f1;
    color: #f2f2f2;
  }
  50% {
    left: -24px;
  }
  75% {
    left: -100px;
  }
  100% {
    left: -100px;
    background-color: #e9e9e9;
    color: #ebebeb;
  }
}


