﻿
#tabs-menu details {
  width: 75%;
  min-height: 5px;
  max-width: 700px;
  padding: 5px 5px 5px 5px;
  margin: 0 auto;
  position: relative;
  font-size: 15px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 15px;
  box-sizing: border-box;
  transition: all .3s;
}

#tabs-menu details + details {
  margin-top: 4px;
}

#tabs-menu details[open] {
  min-height: 50px;
  background-color: #f6f7f8;
  box-shadow: 2px 2px 20px rgba(0,0,0,.2);
}

#tabs-menu details p {
  color: #96999d;
  font-weight: 300;
}

#tabs-menu summary {
  font-weight: 500;
  cursor: pointer;
}

#tabs-menu summary:focus {
  outline: none;
}

#tabs-menu summary::-webkit-details-marker {
  display: none
}

#tabs-menu summary::after {
  padding: 20px;
  position: absolute;
  top: 50%;
  right: 0;
  color: #009341;
  font-family: "Font Awesome 5 Free";
  font-size: 15px;
  font-style: normal;
  font-variant-caps: normal;
  -webkit-font-variant-ligatures: normal;
          font-variant-ligatures: normal;
  font-weight: 900;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\25bc";
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  transition: .3s ease;
}

#tabs-menu details[open] summary::after {
  content: "\25b2";
  font-size: 30px;
  top: 0;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  transition: .3s ease;
}

#tabs-menu details[open] summary:hover::after {
  -webkit-animation: pulse 1s ease;
          animation: pulse 1s ease;
}

@-webkit-keyframes pulse {
  25% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  75% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes pulse {
  25% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  75% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}