
[data-accordion-element-content] {
  height: auto;
  overflow: hidden;
  transition: height .5s;
}
.card_telecom {
  width: 70%;
  margin: 50px auto;
  border-radius: 2px;
  background: white;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}

article {
  position: relative;
  font-family: 'Roboto', sans-serif;
  transition: all .3s;
  background: #E8EAF6;
}
  article.selected {
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(2, 2, 2, 0.4);
    z-index: 2;
  }


.telecom_header1 {
  margin:0;
  position: relative;
  background: #e20074;
  padding: 20px 30px;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  overflow: hidden;
  transition: background .3s;
}
  .telecom_header1:hover,
  .selected .telecom_header1 {
    cursor: pointer;
    background: #b01062;
  }

  .telecom_header1:before,
  .telecom_header1:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -1px;
    margin-right: 30px;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform .3s;
  }

  .telecom_header1:before {
    transform: rotate(0deg);
    animation: close-line-one-in .8s forwards;
  }
    .selected .telecom_header1:before {
      animation: close-line-one-out .8s forwards;
    }


  .telecom_header1:after {
    transform: rotate(90deg);
    animation: close-line-two-in .8s forwards;
  }
    .selected .telecom_header1:after {
      animation: close-line-two-out .8s forwards;
    }




.telecom_content {
  opacity: 0;
  transform: translateY(20px);
  transition: all ease-out .4s .1s;
}
  .selected .telecom_content {
    transform: translateY(0);
    opacity: 1;
  }

  .collapsed .telecom_content {
    display: none;
  }


.telecom_p {
  padding: 5px 5px 5px;
  background: #E8EAF6;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}


@keyframes close-line-one-out {
    0%, 50% {
      transform: translateX(0);
    }
    75% {
      transform: translateX(50px);
    }
    76% {
      transform: translateX(50px) translateY(50px);
    }
    100% {
      transform: rotate(45deg);
    }
}

@keyframes close-line-one-in {
    0%, 20% {
      transform: rotate(45deg);
    }
    60% {
      transform: translateX(50px) translateY(50px) rotate(45deg);
    }
    61% {
      transform: translateX(50px);
    }
    100% {
      transform: rotate(0deg);
    }
}

@keyframes close-line-two-out {
    0%, 50% {
      transform: rotate(90deg);
    }
    75% {
      transform: translateY(-50px) rotate(90deg);
    }
    76% {
      transform: translateY(-50px) translateX(50px) rotate(90deg);
    }
    100% {
      transform: rotate(135deg);
    }
}

@keyframes close-line-two-in {
    0% {
      transform: rotate(135deg);
    }
    50% {
      transform: translateY(-50px) translateX(50px) rotate(135deg);
    }
    51% {
      transform: translateY(-50px) rotate(90deg);
    }
    100% {
      transform: rotate(90deg);
    }
}
