.top-block .wrap {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 13px;
}
.countdown {
  padding-top: 0;
}
.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.align-items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.user-nav .user-name {
  margin-right: 16px;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: fit-content;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1rem;
}
.nav-items {
  max-width: 220px;
  background-color: #2d3748;
  color: #fff;
  height: 64px;
  position: relative;
  margin-right: -29px;
}

.nav-items:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.nav-items:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-right: 0;
}

.nav-items.green {
  background-color: #2d3748;
  border-bottom: 5px solid #10cb6f;
}

.nav-items.red {
  border-bottom: 5px solid #fa191a;
}

.nav-items.orange {
  border-bottom: 5px solid #f37730;
}

.nav-items:before {
  content: "";
  position: absolute;
  height: 42px;
  border-width: 0 2px 2px 0;
  border-color: #fff;
  border-style: solid;
  width: 42px;
  right: 7px;
  z-index: 1;
}

.nav-items:before {
  top: 8px;
  transform: rotate(-45deg);
}

.nav-items a {
  color: #fff !important;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  z-index: 11;
}

.nav-items a span{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.nav-items.double a {
  height: 50%;
}

.nav-items.double a + a {
  position: relative;
  padding-top: 2px;
}

.nav-items.double a:first-child:before {
  display: block;
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  bottom: 0;
  left: 54%;
  transform: translateX(-50%);
  background-color: #fff;
  z-index: 2;
  max-width: 163px;
}

.nav-items a:hover {
  text-decoration: none;
}

.nav-items:last-child:before,
.nav-items:last-child:after {
  display: none;
}

.nav-items:last-child:before {
  top: -9px;
}

.nav-items:last-child a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 0;
  right: -27px;
  border-color: transparent transparent transparent #2d3748;
  border-style: solid;
  border-width: 32px 0 32px 27px;
}

.nav-items span {
  padding-left: 36px;
  padding-right: 30px;
}

.nav-items:first-child span {
  padding-left: 8px;
}

.nav-items:last-child span,
.nav-items:nth-child(3) span {
  padding-left: 30px;
  padding-right: 20px;
}

.modal-backdrop {
  z-index: 5;
}

.modal-header {
  display: none;
}

.modal-content {
  font-size: 14px;
}

.modal-text span {
  color: #f97514;
}

.modal-footer {
  text-align: center;
}

.modal-footer .btn {
  width: 160px;
  margin-left: 40px;
  margin-right: 40px;
}

@media (min-width: 1280px) {
  .nav-items:last-child {
    border-radius: 0;
  }
}

@media (max-width: 1280px) {
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
  }

  .nav-links {
    width: 100%;
  }

  .nav-items {
    max-width: 100%;
  }

  .nav-items:before {
    right: -20px;
  }

  .nav-items:nth-child(3) {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-right: 0;
  }

  .nav-items:nth-child(4) {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .nav-items:nth-child(4) span {
    padding-left: 8px;
  }

  .nav-items:last-child:before,
  .nav-items:last-child:after,
  .nav-items:last-child a:before,
  .nav-items:nth-child(3):before,
  .nav-items:nth-child(3):after,
  .nav-items:nth-child(3) a:before {
    display: none;
  }
  .nav-items:nth-child(4):before {
    display:block;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
  }

  .nav-items:first-child,
  .nav-items:nth-child(4) {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

  .nav-items:last-child,
  .nav-items:nth-child(3) {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .nav-items:last-child:before,
  .nav-items:last-child:after,
  .nav-items:last-child a:before,
  .nav-items:nth-child(3):before,
  .nav-items:nth-child(3):after,
  .nav-items:nth-child(3) a:before {
    display: none;
  }
}

@media (max-width: 400px) {
  .nav-items:nth-child(2) {
    max-width: 123px;
  }

  .nav-items span {
    padding-left: 38px;
    padding-right: 15px;
  }

  .nav-items:first-child span,
  .nav-items:nth-child(4) span {
    padding-left: 18px;
    padding-right: 14px;
  }

  .nav-items.double a:first-child:before {
    left: 63%;
  }
}

.overflow-hidden {
  overflow: hidden;
}
/* start New Nav UI */
.nav-items-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0 27px 0 0;
  margin: 0;
  list-style: none;
}

.nav-items-list-item {
  height: 64px;
  align-items: center;
  justify-content: center;
  background-color: #2d3748;
  position: relative;
}
.nav-items-list-item:before {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 30px 0 30px 32px;
  border-color: transparent transparent transparent #fff;
  z-index: 0;
  margin-top: -2px;
}
.nav-items-list-item-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-right: 32px;
  border-bottom: 4px solid transparent;
}

.nav-items-list-item a {
  color: #fff;
  text-decoration: none;
}

.nav-items-list-item-content:hover,
.nav-items-list-item a:hover {
  color: #fff;
  text-decoration: none;
}

.nav-items-list-item-content:after {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 30px 0 30px 32px;
  border-color: transparent transparent transparent #2d3748;
  z-index: 10;
  margin-top: -2px;
}

.nav-items-list-item:last-child .nav-items-list-item-content:after {
  border-width: 32px 0 32px 32px;
  margin-top: 0;
}

.nav-items-list-item:last-child .nav-items-list-item-content:after {
  right: -32px;
}

.nav-items-list-item:first-child,
.nav-items-list-item:first-child .nav-items-list-item-content {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.nav-items-list-item:first-child:before {
  border-color: transparent;
}

.nav-items-list-item-content-item {
  position: relative;
  z-index: 11;
  display: block;
  padding: 0 10px;
  width: 100%;
  text-align: center;
}

.nav-items-list-item.green .nav-items-list-item-content {
  border-color: #10cb6f;
}

.nav-items-list-item.green .nav-items-list-item-content:before {
  content: '';
  background: #10cb6f;
  height: 4px;
  width: 100%;
  position: absolute;
  left: -32px;
  bottom: 0;
  z-index: 10;
}
.nav-items-list-item.green:first-child .nav-items-list-item-content:before {
  display: none;
}

.nav-items-list-item.red .nav-items-list-item-content {
  border-color: #fa191a;
}

.nav-items-list-item.red .nav-items-list-item-content:before {
  content: '';
  background: #fa191a;
  height: 4px;
  width: 100%;
  position: absolute;
  left: -32px;
  bottom: 0;
  z-index: 10;
}

.nav-items-list-item.double .nav-items-list-item-content-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.nav-items-list-item.double .nav-items-list-item-content-items a {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px 0;
}

.nav-items-list-item.double .nav-items-list-item-content-items a:first-child:before {
  content: '';
  background: #fff;
  height: 2px;
  width: 90%;
  position: absolute;
  left: 5%;
  bottom: 0;
  z-index: 10;
}
@media (max-width: 1400px) {
  .nav-items-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
  }

  .nav-items-list-item {
    margin-bottom: 10px;
  }
  .nav-items-list-item:last-child,
  .nav-items-list-item:nth-child(3) {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .nav-items-list-item:nth-child(4) {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }
  .nav-items-list-item:last-child .nav-items-list-item-content:after {
    border-color: transparent;
  }
  .nav-items-list-item:nth-child(4) .nav-items-list-item-content {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }
  .nav-items-list-item:nth-child(4) .nav-items-list-item-content:before,
  .nav-items-list-item:nth-child(4):before,
  .nav-items-list-item:nth-child(3) .nav-items-list-item-content:after{
    display: none;
  }
  .nav-items-list-item:nth-child(3) .nav-items-list-item-content:before {
    width: auto;
    right: 0;
    border-bottom-right-radius: 4px;
  }
}
@media (max-width: 768px) {
  .nav-items-list-item:before {
    left: -13px;
  }
  .nav-items-list-item-content:after {
    right: -15px;
  }
  .nav-items-list-item-content {
    margin-right: 0px;
  }
  .nav-items-list-item-content-item {
    padding: 0 20px;
  }
  .nav-items-list-item.green .nav-items-list-item-content:before,
  .nav-items-list-item.red .nav-items-list-item-content:before {
    left: -13px;
  }
  .nav-items-list-item:last-child .nav-items-list-item-content:before {
    content: '';
    background: #2d3748;
    height: 4px;
    width: 100%;
    position: absolute;
    left: -13px;
    bottom: 0;
    z-index: 10;
  }
  .nav-items-list-item.red:first-child .nav-items-list-item-content:before {
    display: none;
  }
  .nav-items-list-item:last-child .nav-items-list-item-content-item,
  .nav-items-list-item:nth-child(2) .nav-items-list-item-content-item {
    padding-left: 27px;
  }
  .nav-items-list-item.double .nav-items-list-item-content-items a:first-child:before {
    width: 56%;
    left: 25%;
  }
}
/* end New Nav UI */