/* Margin clearfix in navbar ------------------------------------------------------------- */
.vb-global-search-div > form {
  margin: 0px;
}
/* Endof Margin clearfix in navbar ------------------------------------------------------- */

/* Main Containers, Columns  ------------------------------------------------------------- */
.dashboard__content {
  padding-top: 150px;
}

.dashboard__left-column {
  max-width: 755px;
}

.dashboard__right-column {
  width: 498px;
}
/* Endof Columns ------------------------------------------------------------------------  */

/* Breadcrumbs section ------------------------------------------------------------------  */
.dashboard__top-navigation {
  display: flex;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 60px;
}

.dashboard__top-navigation-link {
  display: flex;
  text-transform: capitalize;
  align-items: center;
  line-height: 1.25;
}

.dashboard__top-navigation-link > a {
  font-weight: 400;
  opacity: 0.7;
}

.dashboard__top-navigation-link:last-child > a {
  font-weight: 600;
  opacity: 1;
}

.dashboard__top-navigation-link::after {
  content: "";
  background-image: url(../images/assets/arrow.svg);
  background-position: center;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: auto 15px;
}

.dashboard__top-navigation-link:last-child::after {
  display: none;
}
/* Endof Breadcrumbs section ---------------------------------------------------------------  */

/* Title section ---------------------------------------------------------------------------- */
.dashboard__title {
  border-bottom: solid 4px rgba(0, 102, 51, 0.4);
}

.dashboard__title-name {
  margin: 0 0 20px;
  font-weight: 500;
}

.dashboard__text-wrapper {
  margin: 20px 0 0;
}

.dashboard__text {
  margin: 0;
}
/* Endof Title section ---------------------------------------------------------------------- */

/* Products section ------------------------------------------------------------------------- */
.dashboard__products-container {
  padding-top: 50px;
}

.dashboard__products-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
}

.dashboard__products-title-year {
  margin: 60px 0 20px;
}

.dashboard__products {
  display: grid;
  grid-template-columns: 255px 255px 255px 255px;
  gap: 40px;
  grid-auto-rows: 1fr;
}

.dashboard__product-all-products-link-wrapper {
  padding-top: 30px;
}

.dashboard__product-all-products-link {
  font-weight: 500;
}
/* Endof Products section ------------------------------------------------------------------- */

/* History section -------------------------------------------------------------------------- */
.dashboard__history-section {
  padding-top: 50px;
}

.dashboard__history-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 30px;
}
/* Timeline section ------------------------------------------------------------------------- */

.dashboard__timeline-card-wrapper {
  margin-bottom: 30px;
  position: relative;
}

.dashboard__timeline-card-wrapper:last-child {
  margin-bottom: 0;
}

.dashboard__timeline-card {
  margin: 0 0 0 69px;
  font-size: 16px;
  display: flex;
  flex-flow: column nowrap;
  gap: 15px;
  padding: 15px;
  border-radius: 4px;
}

.dashboard__timeline-card::before {
  content: "";
  position: absolute;
  width: 4px;
  top: 0;
  bottom: -30px;
  left: 12px;
  background-color: #c4c4c4;
  opacity: 0.4;
}

.dashboard__timeline-card-wrapper:last-child > .dashboard__timeline-card::before {
  bottom: 0;
}

.dashboard__timeline-card--failed {
  box-shadow: 0 1px 5px 0 rgba(235, 87, 87, 0.25);
  background-color: #fefafa;
}

.dashboard__timeline-card--failed::after {
  content: url(../images/assets/failed-round.svg);
  position: absolute;
  top: calc(50% - 20px);
  left: -6px;
  height: 40px;
}

.dashboard__timeline-card--checked {
  box-shadow: 0 1px 5px 0 rgba(39, 174, 96, 0.25);
  background-color: #f7fdf9;
}

.dashboard__timeline-card--checked::after {
  content: url(../images/assets/checked-round.svg);
  position: absolute;
  top: calc(50% - 20px);
  left: -6px;
  height: 40px;
}

.dashboard__timeline-card--other {
  box-shadow: 0 1px 5px 0 rgba(255, 184, 6, 0.25);
  background-color: #fefcf5;
}

.dashboard__timeline-card--other::after {
  content: url(../images/assets/change-round.svg);
  position: absolute;
  top: calc(50% - 20px);
  left: -6px;
  height: 40px;
}

.dashboard__timeline-card > p {
  margin: 0;
}

.dashboard__timeline-card-date {
  font-weight: 500;
}

.dashboard__timeline-card-status-text {
  font-weight: 300;
}

.dashboard__timeline-card-status-text--failed {
  color: #ea0000;
}

.dashboard__timeline-card-status-text--checked {
  color: #006633;
}

.dashboard__timeline-card-status {
  font-weight: 600;
}

.dashboard__timeline-card-status::after {
  position: relative;
  left: 5px;
  bottom: -3px;
}

.dashboard__timeline-card-status--failed::after {
  content: url(../images/assets/failed.svg);
}

.dashboard__timeline-card-status--checked::after {
  content: url(../images/assets/checked.svg);
}

.dashboard__timeline-card-text > p {
  margin: 0;
  display: inline;
}
/* Endof Timeline section ------------------------------------------------------------------- */

/* Pagination section ----------------------------------------------------------------------- */
.dashboard__pagination {
  margin: 30px 0;
  display: flex;
  gap: 8px;
}

.dashboard__pagination-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.dashboard__pagination-button img {
  padding: 0;
}

.dashboard__pagination-button--previous img {
  transform: rotate(180deg);
}

.dashboard__pagination-button .ltgray {
  opacity: 0.3;
}

.dashboard__pagination-numbers {
  display: inline-flex;
  flex-flow: row nowrap;
  gap: 8px;
}

.dashboard__pagination-numbers :is(.numbers, .ccm-pagination-ellipses) {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.dashboard__pagination-numbers .numbers a {
  color: #212b36;
  font-weight: 500;
}

.dashboard__pagination-numbers .active {
  border-radius: 4px;
  border: solid 1px #006633;
  color: #006633;
}
/* Endof Pagination section ----------------------------------------------------------------- */
/* Endof History section -------------------------------------------------------------------- */

/* OVERWRITE "toTop" button style ----------------------------------------------------------- */
#toTop {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  bottom: 15px !important;
  right: 15px !important;
  border: none !important;
  box-shadow: 0 4px 10px 0 rgba(9, 101, 46, 0.5);
}

.glyphicon {
  top: 6px !important;
  left: 1px !important;
}
/* Endof OVERWRITE "toTop" button style------------------------------------------------------ */

/* Responsive changes betweeen the desktop and mobile views --------------------------------- */
@media screen and (max-width: 1320px) {
  .dashboard__products {
    gap: 30px;
    grid-template-columns: 30% 30% 30%;
  }

  .dashboard__product-card {
    width: auto;
  }
}

@media screen and (max-width: 992px) {
  .dashboard__products {
    grid-template-columns: 45% 45%;
  }
}

@media screen and (max-width: 600px) {
  .dashboard__top-navigation {
    top: 40px;
  }

  .dashboard__content {
    padding-top: 130px;
  }

  .dashboard__product-card {
    height: auto;
    min-height: 178px;
  }

  .dashboard__product-link-wrapper {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* Endof Responsive changes betweeen the desktop and mobile views --------------------------- */

/* Responsive design for mobile view -------------------------------------------------------- */
@media screen and (max-width: 375px) {
  /* Main Containers, Columns  ---------------------------------------------------------------- */
  .dashboard__content {
    max-width: 375px;
    margin: 0;
  }

  .dashboard__left-column {
    max-width: 375px;
    width: 100%;
  }
  /* Endof Columns ---------------------------------------------------------------------------  */

  /* Breadcrumbs section ---------------------------------------------------------------------  */
  .dashboard__top-navigation-link {
    font-size: 12px;
  }

  .dashboard__top-navigation-link::after {
    margin: auto 8px;
  }
  /* Endof Breadcrumbs section ---------------------------------------------------------------- */

  /* Title section ---------------------------------------------------------------------------- */
  .dashboard__title-name {
    margin: 10px 0;
  }

  .dashboard__text-wrapper {
    margin-top: 10px;
  }
  /* Endof Title section ---------------------------------------------------------------------- */

  /* Products section ------------------------------------------------------------------------- */
  .dashboard__products-container {
    padding-top: 40px;
  }

  .dashboard__products-title {
    margin: 0 0 40px;
  }

  .dashboard__products {
    gap: 20px;
    grid-template-columns: auto;
  }

  .dashboard__product-card {
    padding: 13px 20px;
    width: 100%;
    font-size: 16px;
    gap: 12px;
  }

  .dashboard__product-all-products-link-wrapper {
    padding-top: 40px;
  }

  .dashboard__product-all-products-link {
    font-size: 16px;
  }
  /* Endof Products section ------------------------------------------------------------------- */

  /* History section -------------------------------------------------------------------------- */
  .dashboard__history-section {
    padding-top: 40px;
  }

  .dashboard__history-title {
    font-size: 22px;
  }

  /* Timeline section ------------------------------------------------------------------------- */
  .dashboard__timeline-card-wrapper {
    margin-bottom: 40px;
    position: relative;
  }

  .dashboard__timeline-card {
    margin-left: 59px;
  }

  .dashboard__timeline-card:before {
    left: 22px;
    bottom: -40px;
  }

  .dashboard__timeline-card:after {
    left: 4px;
  }
  /* Endof Timeline section ------------------------------------------------------------------- */

  /* Pagination section ----------------------------------------------------------------------- */
  .dashboard__pagination {
    margin: 40px 0;
  }

  .dashboard__pagination:last-child {
    margin-bottom: 0;
  }
  /* Endof Pagination section ----------------------------------------------------------------- */
  /* Endof History section -------------------------------------------------------------------- */
}

