/*******************Mavigation Css****************/

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #ffe7e8;
}
::-webkit-scrollbar-thumb {
  background: #cd151d;
}
::-webkit-scrollbar-thumb:hover {
  background: #5b0307;
}
.mainNav {
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 600px;
  height: 100vh;
  position: fixed;
  transition: 0.6s;
  padding-right: 10px;
  background-color: #fff;
  background: rgb(255, 255, 255);
  transform: translateY(-100%);
  border-right: 10px solid #cd151d;
  box-shadow: -3px 0px 8px #73b399;
}
.mainNav.show {
  transform: translateY(0%);
}
.closeMenuBtn {
  right: 0;
  top: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  font-size: 30px;
  font-weight: 800;
  color: #e31837;
  line-height: 40px;
  border-radius: 50%;
  position: absolute;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}
.overlay-content {
  height: 100%;
  padding-top: 80px;
  position: relative;
  background: #0d8f5c;
  background: linear-gradient(
    90deg,
    rgba(13, 143, 92, 0.2) 0%,
    rgba(13, 143, 92, 0) 100%
  );
}
.mainNav .overlay-content .menuTitle {
}
.mainUlWrap {
  overflow-y: auto;
  height: calc(100vh - 80px);
  border-top: 1px solid #0d8f5c;
}

.mainUL li:not(:last-child) {
  margin-bottom: 15px;
}
.mainUL li {
  position: relative;
  /* width: calc(33.33% - 30px); */
}
.mainUL li a {
  display: block;
  font-size: 20px;
  color: #0d8f5c;
  font-weight: 400;
}
.toggleBtn + ul {
  display: none;
}
.eachMainUL {
  position: relative;
  padding: 20px 30px 0;
  padding-right: 50px;
}
ul.mainUL {
  display: none;
}
.menuTitle {
  position: relative;
  padding-right: 40px;
  margin-bottom: 20px;
}
.mainUL ul li {
  position: relative;
  border-left: 3px solid #0d8f5c;
}
.mainUL ul li a:after {
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  content: "";
  transition: 0.6s;
  position: absolute;
  background-color: #0d8f5c;
}
.mainUL ul li a span {
  z-index: 1;
  transition: 0.6s;
  position: relative;
}
.mainUL ul li:hover a:after {
  width: 100%;
}
.mainUL ul li:hover a span {
  color: #fff;
}

.mainUL ul li:not(:last-child) {
  margin-bottom: 3px;
}
.mainUL ul li a {
  padding: 6px 10px;
  position: relative;
  background-color: #fff;
}

.toggleBtnM,
.toggleBtn {
  top: 23px;
  right: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  cursor: pointer;
  color: #ffffff;
  /* transition: 0.6s; */
  position: absolute;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(13, 143, 92, 1) 0%,
    rgba(13, 143, 92, 0.3) 100%
  );
}
.toggleBtnM:hover,
.toggleBtn:hover {
  color: #ffffff;
}
.toggleBtn {
  top: 0;
  right: 0;
}
.toggleBtnM {
  background-color: rgb(227, 24, 55);
  background: linear-gradient(
    135deg,
    rgba(227, 24, 55, 1) 0%,
    rgba(227, 24, 55, 0.3) 100%
  );
}
.toggleBtnM.active,
.toggleBtn.active {
  transform: rotate(180deg);
}
.toggleBtnM.active,
.toggleBtnM:hover {
  background: linear-gradient(
    135deg,
    rgba(13, 143, 92, 1) 0%,
    rgba(13, 143, 92, 0.3) 100%
  );
}
.toggleBtn.active,
.toggleBtn:hover {
  background: linear-gradient(
    135deg,
    rgba(227, 24, 55, 1) 0%,
    rgba(227, 24, 55, 0.3) 100%
  );
}

.mainUlWrap .eachMainUL:not(:first-child) ul li a {
  position: relative;
  padding-right: 35px;
}

.mainUlWrap .eachMainUL:not(:first-child) ul li a::after {
  content: "\f56d";
  font-family: fontawesome;
  position: absolute;
  top: 0;
  right: 0;
  color: #0d8f5c;
  font-size: 22px;
}

/* pagination section */

.pagiSec {
  padding: 30px 50px;
}

.pagiSecUl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.pagiSecUl li {
  min-width: 200px;
  max-width: 300px;
  position: relative;
  height: 50px;
  margin: 0 !important;
}

.pagiSecUl li a,
.pagiSecUl li span {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 15px;
}

.pagiSecUl li:first-child {
  border-radius: 30px 0px 0px 30px;
  background-color: #cd151d;
}
.pagiSecUl li:nth-child(2) {
  border-radius: 0px;
  background-color: #231f20;
}
.pagiSecUl li:nth-child(3) {
  border-radius: 0px 30px 30px 0px;
  background-color: #cd151d;
}


@media (max-width: 991px) {
  .pagiSec {
    padding: 15px 15px;
    background: #efefef;
  }
  .pagiSecUl li {
    min-width: 180px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .eachMainUL {
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  /* .pagiSecUl li:nth-child(2) {
        display: none;
    } */
  /* 
    .pagiSecUl{
        justify-content: space-between;
    } */

  .pagiSecUl li a,
  .pagiSecUl li span {
    padding: 5px 8px;
  }

  .pagiSecUl li:first-child,
  .pagiSecUl li:nth-child(3) {
    min-width: 80px;
    max-width: 80px;
  }

  .pagiSecUl li a {
    position: relative;
  }

  .pagiSecUl li a span {
    opacity: 0;
  }

  .pagiSecUl li:first-child a::after {
    content: "\f100";
    font-family: fontawesome;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    animation: scrollanim 2s ease-in-out infinite;
  }

  .pagiSecUl li:nth-child(3) a::after {
    content: "\f101";
    font-family: fontawesome;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    animation: scrollanim1 2s ease-in-out infinite;
  }

  @keyframes scrollanim {
    50% {
      transform: translateX(-20px);
    }
  }

  @keyframes scrollanim1 {
    50% {
      transform: translateX(5px);
    }
  }
}

@media screen and (max-width: 580px) {
  .mainNav {
    width: 100%;
  }

  .mainUL li a {
    font-size: 18px;
  }

  .eachMainUL {
    padding-right: 15px;
  }

  .pagiSecUl li:first-child,
  .pagiSecUl li:nth-child(3) {
    min-width: 65px;
    max-width: 65px;
  }

  .pagiSecUl {
    gap: 10px;
  }
}
