:root {
  --ml-ro-border: #ccc;
  --ml-ro-border-rad: 5px;
  --ml-ro-num-bg: #0c0022;
  --ml-ro-num-col: #fff;
}

.ml-roadmap {
  width: 100%;
}
.ml-roadmap-details {
  margin-bottom: 20px;
}
.ml-roadmap-overview {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.ml-roadmap-overview-stat {
  padding: 15px;
  background: #f5f5f5;
  color: #000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: 0 10px;
  width: 25%;
}
.ml-roadmap-overview-stat:first-child {
  margin-left: 0;
}
.ml-roadmap-overview-stat:last-child {
  margin-right: 0;
}

.ml-roadmap-section-description {
  margin-bottom: 20px;
}
.ml-roadmap-n-sections,
.ml-roadmap-n-items {
  font-size: 24px;
  margin-bottom: 8px;
}
.ml-roadmap-n-sections-text,
.ml-roadmap-n-items-text {
  font-size: 14px;
}
.ml-roadmap-section {
  margin-top: 80px;
}
.ml-roadmap-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    #e2e4e8,
    #e2e4e8 2px,
    transparent 2px,
    transparent 6px
  );
  margin: 20px 0;
}

.ml-roadmap-item {
  border: var(--ml-ro-border) solid 1px;
  margin-bottom: 20px;
  padding: 20px;
  width: calc(100% - 30px);
  position: relative;
  margin-left: 30px;
}
.ml-roadmap-item:last-child {
  margin-bottom: 0;
}
.ml-roadmap-item-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.ml-roadmap-item-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 20px;
}
.ml-roadmap-item-post-type {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
}
.ml-roadmap-item-title {
  font-size: 20px;
}
span.ml-roadmap-item-number {
  position: absolute;
  border-radius: 50%;
  background: var(--ml-ro-num-bg);
  color: var(--ml-ro-num-col);
  width: 50px;
  height: 50px;
  left: 0;
  top: 30px;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

span.ml-roadmap-item-completion {
  position: absolute;
  border-radius: 50%;
  background: #d3d3d3;
  color: var(--ml-ro-num-col);
  width: 50px;
  height: 50px;
  right: 10px;
  top: 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-roadmap-not-started span.ml-roadmap-item-completion {
  background: #d3d3d3;
}
.ml-roadmap-started span.ml-roadmap-item-completion {
  background: orange;
}
.ml-roadmap-complete span.ml-roadmap-item-completion {
  background: yellowgreen;
}
.ml-roadmap-section-completion {
  margin-bottom: 20px;
}
.ml-roadmap-section-num-completion {
  font-size: 24px;
}
.ml-roadmap-section-completion-bar-container {
  width: 100%;
  border-radius: 100px;
  height: 20px;
  position: relative;
  display: block;
  background: #d3d3d3;
  margin-top: 20px;
}

.ml-roadmap-section-completion-bar {
  content: "";
  height: 20px;
  border-radius: 100px;
  position: absolute;
  left: 0;
  background-color: yellowgreen;
}

.ml-roadmap-item-image {
  max-width: 300px;
  margin-left: 20px;
}
.ml-roadmap-item-image img {
  width: 100%;
  height: auto;
}

.ml-roadmap-wrapper {
  width: 100%;
  box-sizing: border-box;
  display: flex;
}
.ml-roadmap-wrapper.ml-ro-sidebar .col-8 {
  width: 100%;
  flex:67%;
  float: left;
  box-sizing: border-box;
}
.ml-roadmap-wrapper.ml-ro-sidebar .col-4 {
  width: 100%;
  flex:33%;
  float: right;
  box-sizing: border-box;
}
.ml-roadmap-wrapper .box {
  padding: 30px;
  background: #f5f5f5;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e3e3e3;
  margin-left: 40px;
}
.ml-roadmap-wrapper .detail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid #ccc;
  padding: 16px 0;
}
.ml-roadmap-wrapper .detail i {
  font-size: 42px;
  margin-right: 20px;
}
.ml-roadmap-wrapper .detail .detail-info h6 {
  margin-bottom: 5px;
  font-size: 20px;
}
.ml-roadmap-wrapper .detail .detail-info .detail-value {
  margin-bottom: 5px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ml-roadmap-wrapper span.circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 10px;
  display: none;
  background: green;
}
.ml-roadmap-wrapper .detail.skill span.circle {
  display: inline-block;
}

.ml-roadmap-wrapper div.seperator {
  content: "";
  display: block;
  width: 100%;
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    #e2e4e8,
    #e2e4e8 2px,
    transparent 2px,
    transparent 6px
  );
  margin: 40px 0;
}
.ml-roadmap-wrapper ul.learning_focus li {
  margin-bottom: 5px;
  list-style: circle;
}

.ml-roadmap-wrapper.ml-ro-above,
.ml-roadmap-wrapper.ml-ro-below {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.ml-roadmap-wrapper.ml-ro-above .col-8,
.ml-roadmap-wrapper.ml-ro-below .col-8 {
  width: 100%;
}
.ml-roadmap-wrapper.ml-ro-above .col-4,
.ml-roadmap-wrapper.ml-ro-below .col-4 {
  width: 100%;
}
.ml-roadmap-wrapper.ml-ro-above {
  flex-direction: column-reverse;
}
.ml-roadmap-wrapper.ml-ro-below {
  flex-direction: column;
}
.ml-roadmap-wrapper.ml-ro-above .box,
.ml-roadmap-wrapper.ml-ro-below .box {
  margin-left: 0;
}

.ml-roadmap-wrapper.ml-ro-above .box {
  margin-bottom: 60px;
}
.ml-roadmap-wrapper.ml-ro-below .box {
  margin-top: 60px;
}

.ml-roadmap-wrapper.ml-ro-above .all-details,
.ml-roadmap-wrapper.ml-ro-below .all-details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ml-roadmap-wrapper.ml-ro-above .all-details .detail,
.ml-roadmap-wrapper.ml-ro-below .all-details .detail {
  border-top: none;
  margin-right: 40px;
}

@media only screen and (max-width: 700px) {
  .ml-roadmap-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
  }
  .ml-roadmap-wrapper.ml-ro-sidebar .col-8 {
    width: 90%;
    margin: 0 auto 60px auto;
  }
  .ml-roadmap-wrapper.ml-ro-sidebar .col-4 {
    width: 90%;
    margin: 0 auto 60px auto;
  }
  .ml-roadmap-wrapper.ml-ro-sidebar .box {
    margin-left: 0;
  }
}
