/* scrollbar css */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: rgb(241, 240, 240);
}

::-webkit-scrollbar-thumb {
  background: rgb(155, 155, 155);
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(70, 69, 69);
}






/* ##################### */

.l-tooltip-box:hover .l-tooltipbox-text,
.u-tooltip-box:hover .u-tooltipbox-text {
  visibility: visible;
  opacity: 1;
  /*background-color: rgb(218, 214, 214);*/
  background-color: rgb(255, 255, 204);
  border: 0.05rem solid rgb(185, 185, 185);
  box-shadow: 0 0 2px rgb(218, 214, 214);
  transition: 0s ease-in-out 0s;

}

.l-tooltip-box:hover .l-tooltipbox-text .l-tooltip-heading,
.u-tooltip-box:hover .u-tooltipbox-text .u-tooltip-heading {
  font-size: 1.25rem;
  color: rgb(70, 68, 68);
  font-weight: bold;
  padding-top: 10px;
  margin-bottom: 0;
  font-family: 'montserratlight','Bree Serif', 'Times New Roman', Times, serif;

}

.l-tooltip-box:hover .l-tooltipbox-text p,
.u-tooltip-box:hover .u-tooltipbox-text p {
  padding-top: 10px;
/*  color: rgb(71, 71, 71);   */
  color: rgb(0, 0, 0);
  font-size: 0.9rem;
  font-family: 'montserratlight',-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

@media screen and (min-width: 801px) {
  /* tooltip for upper rows items */

  .l-tooltip-box {
    position: relative;
    display: inline-block;
    /* width: 200px; */
  }

  .l-tooltip-box .l-tooltipbox-text {
    visibility: hidden;
    width: 350px;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
    position: absolute;
    z-index: 1;
    top: 140%;
    left: 0%;
    margin-left: -23px;
    opacity: 0;
    transition: all 0.4s ease-out 0s;
  }

  .l-tooltip-box .l-tooltipbox-text::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 10%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgb(218, 214, 214);
    ;
  }

  /* tooltip for lower row */
  .u-tooltip-box {
    position: relative;
    display: inline-block;
  }

  .u-tooltip-box .u-tooltipbox-text {
    visibility: hidden;
    width: 350px;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 140%;
    left: 0%;
    margin-left: -60px;
    opacity: 0;
    transition: 0.2s ease-in-out 0s;

  }

  .u-tooltip-box .u-tooltipbox-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgb(218, 214, 214);
    margin-left: 25px;
  }

  .l-tooltip-box .l-tooltipbox-text .l-tooltip-heading,
  .u-tooltip-box .u-tooltipbox-text .u-tooltip-heading {
    font-size: 1.25rem;
    color: rgb(70, 68, 68);
    font-weight: bold;
    padding-top: 10px;
    margin-bottom: 0;
    font-family: 'Bree Serif', 'Times New Roman', Times, serif;
  }

  .l-tooltip-box .l-tooltipbox-text p,
  .u-tooltip-box .u-tooltipbox-text p {
    padding-top: 10px;
    color: rgb(71, 71, 71);
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  }

  /* timeline css */
  .timeline-body {
    width: 100%;
    margin: auto;
    margin-top: 10px;
    background-color: white;
  /*  border-radius: 5px;
    box-shadow: 0 0 5px 2px #999;*/

  }

  .line {
    width: 53rem;
    background: rgb(191, 191, 204);
    margin: 50px 0;
    margin-right: 3rem;
    height: 5px;
  }

  .top,
  .bottom {
    display: flex;
    flex-direction: row;
  }

  .bottom {
    padding-left: 50px;
  }

  .top .top-element>h5,
  .bottom .bottom-element>h5 {
    font-weight: bold;
    font-family: 'Bree Serif', 'Times New Roman', Times, serif;
  }

  .top .top-element,
  .bottom .bottom-element {
    padding: 0px 25px;
    position: relative;
  }

  .top-element:before,
  .bottom-element:before {
    content: "";
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: right;
    border-radius: 50%;
    background: rgb(42, 53, 85);
    color: white;
    position: absolute;
    left: 0;
  }

  .top-element:before {
    bottom: -62px;
  }

  .bottom-element:before {
    top: -62px;
  }

  .top-element:after,
  .bottom-element:after {
    content: "";
    height: 150px;
    width: 2px;
    background: rgb(26, 49, 47);
    position: absolute;
  }

  .top-element:after {
    left: 10px;
    bottom: -40px;
  }

  .bottom-element:after {
    left: 10px;
    top: -40px;
  }

  .mobileview {
    display: none
  }

  
}

/* ################################## */
/* mobile view */
@media screen and (max-width:800px) {
  .timeline-body {
    display: none;
  }

  .header .ccmb-logo {
    width: 20%;
    margin: 1rem;
    /* padding: 1vh */
  }

  .header h1 {
    /* color: white;
    position: relative; */
    margin-left: 20%;
    margin-top: 20px;
    font-size: 1rem
  }

  /* The actual timeline (the vertical ruler) */
  .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* The actual timeline (the vertical ruler) */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }

  /* Container around content */
  .timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }

  /* The circles on the timeline */
  .timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: rgb(42, 53, 85);
    /* border: 4px solid #FF9F55; */
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }

  /* Place the container to the left */
  .left {
    left: -4px;
  }

  /* Place the container to the right */
  .right {
    left: 50.5%;
  }

  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }

  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Fix the circle for containers on the right side */
  .right::after {
    left: -16px;
  }

  /* The actual content */
  .content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    color:#000;
  }

  
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .timeline-body {
    display: none;
  }

  .header .ccmb-logo {
    display: none;
  }

  .header h1 {
    margin-left: 30%;
    margin-top: 10px;
    padding: 10px;
    font-size: 1rem
  }

  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline-container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 1%;
  }

  .left {
    left: 4px;
  }

 
}