
.UpperPart {
  height: 80%;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 3;
  background-color: white;
}

.UpperPart-Img {
  padding: 50px;
}

.UpperPart-Img img {
  height: 70%;
  width: 100%;
}

.UpperPart-text {
  height: auto;
  padding: 50px 50px 50px 0px;
  text-align: left;
  line-height: 1;
}

.UpperPart-Title {
  color: #292929;
  padding: 20px;
  font-size: 20px;
  font-weight: 300;
}

.UpperPart-SubTitle {
  color: #2F2F2F;
  padding: 20px;
  font-weight: 200;
}

.UpperPart-Description {
  font-size: 15px;
  color: #7D7D7D;
  padding: 20px;
}

/******* this is the upper horizontal and vertical lines *************************************************/
.connection-line {
  height: 30vh;
  width: 50%;
  background-color: white;
  margin-top: -10vh;
  margin-left: 25%;
  margin-right: 25%;
  border-right: 1.2px solid #0E3B85;
  z-index: 3;
}
.horizontal-lines {
  display: block;
  width: 0px;
  height: 1.2px;
  margin-top: 30vh;
  position: absolute;
  background-color: #0E3B85;
  animation-name: animated-line;
  -webkit-animation-name: animated-line;
  -ms-animation-name: animated-line;
  -moz-animation-name: animated-line;
  animation-duration: 3s;
  -webkit-animation-duration: 3s;
  -ms-animation-duration: 3s;
  -moz-animation-duration: 3s;
  animation-delay: 1s;
  -ms-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  -ms-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
}

#line-left {
  left: 50%;
}

#line-right {
  right: 25%;
}

#line-center {
  margin: auto;
}

/********************************************************/

.service {
  list-style: none;
  padding-top: 30vh;
  position: relative;
  z-index: -3;
}

.service:before {
  top: 0;
  bottom: 0;
  position: fixed;
  content: " ";
  width: 1.5px;
  background-color: lightblue;
  border: 1.25px solid lightblue;
  left: 50%;
  height: 100%;
  z-index: -5;
}

.service:after {
  top: 0;
  bottom: 0;
  position: fixed;
  content: " ";
  width: 1.5px;
  background-color: #0E3B85;
  left: 50%;
  border: 1.25px solid #0E3B85;
  height: 50vh;
  z-index: -5;
}

/************************************************************************************/

.service>li {
  position: relative;
}

/************************************************************************************/

.service>li:before, .service>li:after {
  content: " ";
  display: table;
}

.service>li:after {
  clear: both;
  padding: 1rem;
  text-align: center;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 50%;
  border: 1px solid #CCC;
  background: #FFF;
  display: block;
  position: relative;
  z-index: 2;
}

/************************************************************************************/

.service-panel {
  width: 35%;
  height: 500px;
  float: left;
  padding: 50px;
  position: relative;
  text-align: justify;
  color:#000000;
  font-size: 14px;
}

/************************************************************************************/

.service-panel:before {
  position: absolute;
  top: 29%;
  right: -6vw;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid lightblue;
  content: " ";
  background-color: white;
  z-index: 99;
}

/************************************************************************************/

.service-panel-img img {
  width: 100%;
  height: 100%;
  max-width: 50vw;
  max-height: 50vh;
  left: auto;
  right: auto;
  border-radius: 50%;
}

/************************************************************************************/

.service-panel-img:before {
  position: absolute;
  top: 29%;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: lightblue;
  content: " ";
}

/************************************************************************************/

.service-panel:after {
  position: absolute;
  top: 31%;
  right: -14.25vw;
  display: inline-block;
  width: 8.3vw;
  height: 1px;
  background-color: lightblue;
  content: " ";
  z-index: -3;
}

/************************************************************************************/

.service-badge.active {
  color: rgb(47,12,114);
  animation-name: lines;
  -webkit-animation-name: lines;
  -ms-animation-name: lines;
  -moz-animation-name: lines;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-delay: 0s;
  -ms-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  -ms-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.service-panel-body {
  opacity: 1;
}

/************************************************************************************/

.service-panel.active:after {
  animation-name: lines2;
  -webkit-animation-name: lines2;
  -ms-animation-name: lines2;
  -moz-animation-name: lines2;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-delay: 0.5s;
  -ms-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  -ms-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.service-panel.active:before {
  animation-name: lines3;
  -webkit-animation-name: lines3;
  -ms-animation-name: lines3;
  -moz-animation-name: lines3;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-delay: 1s;
  -ms-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  -ms-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.service-panel-img.active:before {
  animation-name: ani-img;
  -webkit-animation-name: ani-img;
  -ms-animation-name: ani-img;
  -moz-animation-name: ani-img;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-delay: 1s;
  -ms-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  -ms-animation-iteration-count: 1;
  -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.service-badge {
  color: lightblue;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  line-height: 100px;
  font-size: 2em;
  text-align: center;
  position: absolute;
  top: 20%;
  left: 50%;
  margin-left: -60px;
  background-color: white;
  border: 1px solid lightblue;
  z-index: 100;
  font-size: 10px;
}

/************************************************************************************/

.service-body p {
  font-size: 1.2em;
  line-height: 2;
  text-align: justify;
}



/************************************************************************************/

.service-panel.service-inverted, .service-inverted>.service-panel {
  float: right;
}

.service-panel.service-inverted:before, .service-inverted>.service-panel:before {
  left: -6vw;
  right: auto;
}

.service-panel.service-inverted:after, .service-inverted>.service-panel:after {
  background-color: lightblue;
  left: -15.2vw;
  right: auto;
  width: 10vw;
}
.service-title{
  font-size: 2em;
  line-height: 1.5;
  text-align: center;
  font-weight: 600;
}


/************************************************************************************/
@keyframes animated-line {
  0% {
    width: 0px;
  }
  100% {
    width: 25%;
  }
}

@keyframes ani-img {
  0% {
    background-color: lightblue;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
  }
  50% {
    background-color: #7390BF;
    transform: scale(2, 2);
    -ms-transform: scale(2, 2);
    -webkit-transform: scale(2, 2);
    -moz-transform: scale(2, 2);
  }
  100% {
    background-color: rgb(47,12,114);;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
  }
}

@keyframes ani-panel {
  0% {
    color: #7390BF;
    ;
    opacity: 0;
  }
  50% {
    color: #7390BF;
    opacity: 0.5;
  }
  100% {
    color: #7390BF;
    opacity: 1;
  }
}

@keyframes ani-body {
  0% {
    color: lightblue;
  }
  50% {
    color: #7390BF;
  }
  100% {
    color: rgb(47,12,114);;
  }
}

@keyframes lines3 {
  0% {
    border: 1px solid lightblue;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
  }
  50% {
    border: 1.25px solid #7390BF;
    transform: scale(2, 2);
    -ms-transform: scale(2, 2);
    -webkit-transform: scale(2, 2);
    -moz-transform: scale(2, 2);
  }
  100% {
    border: 1.5px solid rgb(47,12,114);;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
  }
}

@keyframes lines {
  0% {
    border: 1px solid lightblue;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
  }
  50% {
    border: 1.25px solid #7390BF;
    transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
    -webkit-transform: scale(1.5, 1.5);
    -moz-transform: scale(1.5, 1.5);
  }
  100% {
    border: 1.5px solid rgb(47,12,114);;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
  }
}

@keyframes lines2 {
  0% {
    height: 1px;
  }
  50% {
    height: 1.25px;
    background-color: #7390BF;
  }
  100% {
    height: 1.5px;
    background-color: rgb(47,12,114);;
  }
}
@media (max-width: 1023px)
and (-webkit-min-device-pixel-ratio:1)
  {
  .connection-line {
    display: none;
  }
  .service {
    padding-top: 50px;
    margin-left: 0;
  }
  .service:before {
    left: 50%;
    display: none;
  }
  .service:after {
    left: 50%;
    display: none;
  }
  .service>li {
    padding-bottom: 10%;
  }
  .service>li>.service-badge {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    line-height: 125px;
    font-size: 2em;
    left: 50%;
    top: 0;
    margin-bottom: 50px;
    position: relative;
  }
  .service-badge.active {
    color: rgb(47,12,114);;
    animation-name: lines-mob;
    -webkit-animation-name: lines-mob;
    -ms-animation-name: lines-mob;
    -moz-animation-name: lines-mob;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-delay: 0s;
    -ms-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
  }
  .service>li>.service-panel {
    width: 100vw;
    height: 35vh;
    float: none;
    left: 0%;
    background-color: white;
    z-index: 5;
    display: block;
    padding: 5%;
    height: auto;
    text-align: justify;
  }
  .service>li>.service-panel.service-inverted, .service>li.service-inverted>.service-panel {
    float: none;
  }
  .service>li>.service-panel::before {
    display: none;
  }
  .service>li>.service-panel::after {
    display: none;
  }
  .service>li>.service-panel-img::before {
    display: none;
  }
  .service>li>.service-panel-img::after {
    display: none;
  }
  .service-body p {
    font-size: 90%;
    line-height: 1.25;
  }
  .service-title {
    text-align: center;
    font-size: 1.5em;
  }
  .service-panel-img img {
    width: 100%;
    height: auto;
    max-width: 90vw;
    left: auto;
    right: auto;
  }


  @keyframes lines-mob {
    0% {
      border: 1px solid lightblue;
      transform: scale(1, 1);
      -ms-transform: scale(1, 1);
      -webkit-transform: scale(1, 1);
      -moz-transform: scale(1, 1);
    }
    50% {
      border: 1.25px solid #7390BF;
      transform: scale(1.2, 1.2);
      -ms-transform: scale(1.2, 1.2);
      -webkit-transform: scale(1.2, 1.2);
      -moz-transform: scale(1.2, 1.2);
    }
    100% {
      border: 1.5px solid rgb(47,12,114);;
      transform: scale(1, 1);
      -ms-transform: scale(1, 1);
      -webkit-transform: scale(1, 1);
      -moz-transform: scale(1, 1);
    }
  }
  .service-body p {
    font-size: 1em;
    line-height: 1.4;
    text-align: justify;
  }

}
