.tabs {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  width: 100%;
  /* height: 100vh; */
  height: auto;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.tabs_tab {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.tabs_link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 2.3em 1.5em;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  /* align-items: flex-end; */
  align-items: center;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  border-right: 2px solid transparent;
  border-left: 2px solid #42497e;
  background:  #1767a3;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;

  border-radius: 20px 0 0 20px;
}

.tabs_link.activating {
  border-right-color: #42497e;
  background:linear-gradient(#4b50d7, #1a2e74);
}

.tabs_content {
  position: relative;
  overflow: hidden;
  width: 0%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 auto;
  -ms-flex: 0 auto;
  flex: 0 auto;
  /* background-color: #465d12; */
  background: #fff;
  -webkit-transition: height 400ms ease, width 400ms ease;
  transition: height 400ms ease, width 400ms ease;
  display: none;
  border-radius: 0 20px 20px 0;
}

.tabs_content.activating {
  width: 100%;
  display: block;
}

.tab_wrap {
  position: relative; /*absolute*/
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  /* height: 85vh; */
  height: auto;
  /* padding: 2.8em; */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.tab_contain {
  /* width: 48em; */
  width: auto;
}

.tabs_heading {
  margin-right: 0px;
  margin-left: 0px;
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .tab_wrap {
    height: fit-content;
  }
  .tabs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .tabs_link {
    border-width: 2px 0px;
    border-top-style: solid;
    border-top-color: #000;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    border-radius: 20px 20px 0 0;
  }

  .tabs_link.activating {    
    border-bottom-color: #000;
    background:linear-gradient(#4b50d7, #1a2e74);
  }

  .tabs_content {
    width: 100%;
    height: 0%;
    border-radius: 0 0 20px 20px;
    position: relative;
    bottom: 2px;
  }

  .tabs_content.activating {
    height: 100%;
  }

  .tab_contain {
    width: 100%;
    max-width: 43em;
  }

  .tabs_heading {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@media screen and (max-width: 479px) {
  .tab_wrap {
    height: fit-content;
  }
  .tabs_link {
    padding-right: 0.9em;
    padding-left: 0.9em;
  }

  .tabs_heading {
    font-size: 1.5em;
  }
}
