#ab-slide-tabs {
  position: fixed;
  top: 30%;
  right: 0;
  width: 60px;
  z-index: 10;
}

.tab {
  position: relative;
  margin-bottom: 10px;
}

.tab-header {
  cursor: pointer;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  transition: background-color 0.3s;
  z-index: 2;
  position:relative;
}
.tab-header:hover {
  background-color: #F76420;
}

.tab-content {
  display: none;
  position: fixed;
  top: 30%;
  right: -290px;
  width: 350px;
  height: auto;
  min-height:400px;
  background-color: #f1f1f1;
  padding: 20px;
  padding-right:80px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 1;
  color:#6f6e6e;
}

.tab-content.active {
  display: block;
}

.tab-content.slide-out {
  animation: slideOut 0.3s forwards;
}

.tab-content.slide-in {
  animation: slideIn 0.3s forwards;
}

@keyframes slideOut {
  from {right: -290px;}
  to {right: 0px;}
}

@keyframes slideIn {
  from {right: 0px;}
  to {right: -290px;}
}


/** forms in tab **/
.tab-content .wpforms-container {
  margin: 0px!important;
}
.tab-content .wpforms-container .wpforms-field-label{
  margin-bottom: 5px;;
}
.tab-content .wpforms-container .wpforms-field{
  padding-top: 0px;;
}
.tab-content .wpforms-container .wpforms-field input{
  height: 35px;
}
.tab-content .wpforms-container .wpforms-submit{
  width:100%;
}
/** end forms in tab **/