/* -------------------------------------------v3d tabs slider---------------------------------------------- */
.v3d-tab {
  position: relative;
}

.v3d-tab__inner {
  margin: 10px auto;
  width: 67%;
}

.v3d-tab__header-item {
  width: calc(100% / 3);
  background-color: #e16627;
  border-radius: 30px 30px 0 0;
  padding: 15px;
  text-align: center;
  position: relative;
  height: 60px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.v3d-tab__header-item:nth-child(2) {
  background-color: #29a9e1;
}

.v3d-tab__header-item:nth-child(3) {
  background-color: #54595f;
}

.v3d-tab__header {
  list-style: none;
  display: flex;
  justify-content: stretch;
  padding: 0;
  margin: 0;
}

.v3d-tab__header-shape {
  position: absolute;
  left: -20px;
  top: 0;
}

.v3d-tab__header-shape svg {
  height: 60px;
  transform: scale3d(-1, 1, 1);
  width: 2.8rem;
}

.v3d-tab__header-item:nth-child(2) .v3d-tab__header-shape svg {
  fill: #29a9e1;
}

.v3d-tab__header-item:nth-child(3) .v3d-tab__header-shape svg {
  fill: #54595f;
}

.v3d-tab__contents-item {
  padding: 15px;
  border-radius: 0 0 10px 10px;
  background-color: rgb(255, 243, 231);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #54595f;
  display: none;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 25px 20px -12px;
}

.v3d-tab__contents-item:nth-child(2) {
  background-color: rgb(235, 249, 253);
}

.v3d-tab__contents-item:nth-child(3) {
  background-color: rgb(217, 217, 217);
}

.v3d-tab__contents-item.v3d-tab-active {
  display: block;
}

.v3d-tab__contents-item-img {
  margin-bottom: 10px;
}

.v3d-tab__contents-item-img img {
  width: 100%;
  height: auto;
}

.btn.v3d-tab__nav {
  --size: 40px;
  width: var(--size);
  height: var(--size);
  background-color: skyblue;
  color: #fff;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  font-size: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.btn.v3d-tab__nav:hover {
  background-color: #2aa9e1;
  color: #fff;
}

.btn.v3d-tab__nav:focus {
  outline: none;
  box-shadow: none;
}

.v3d-tab__nav--left {
  left: 0;
}

.v3d-tab__nav--right {
  right: 0;
}

/* multi support common css */

.v3d-tab.v3d-tab--sm-accordion .v3d-tab__contents-item {
  text-align: left;
}

.v3d-tab.v3d-tab--sm-accordion + .v3d-accordion {
  display: none;
}

.v3d-tab.v3d-tab--user-sm-accordion + .v3d-accordion {
  display: none;
}

.v3d-tab.v3d-tab--user-sm-accordion .v3d-tab__header-item {
  width: calc(100% / 2);
}

.v3d-tab-slider--sm-accordion.v3d-tab__inner + .v3d-accordion {
    display: none;
}

/* responsive */
@media (max-width: 768px) {
	.v3d-tab-slider--sm-accordion.v3d-tab__inner + .v3d-accordion {
		display: block;
	}
	
  .v3d-tab-slider--sm-accordion.v3d-tab__inner,
  .v3d-tab.v3d-tab--sm-accordion,
  .v3d-tab.v3d-tab--user-sm-accordion {
    display: none;
  }

  .v3d-tab.v3d-tab--sm-accordion + .v3d-accordion {
    display: block;
  }

  .v3d-tab.v3d-tab--user-sm-accordion + .v3d-accordion {
    display: block;
  }
}

@media (max-width: 480px) {
  .v3d-tab__inner {
    width: 80%;
  }
  .v3d-tab__header {
    flex-direction: column;
  }

  .v3d-tab__header-item {
    width: 100%;
    height: 70px;
    align-items: flex-start;
    margin-top: -27px;
  }
  .v3d-tab__contents-item {
    font-size: 15px;
  }

  .v3d-tab__header-shape {
    display: none;
  }

  .v3d-tab__header-item:nth-child(3) {
    height: 55px;
  }
}

/* user card--------------------------------- */
.v3d-tab__user-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
}

.v3d-tab__user-card-img {
  --size: 120px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  margin-right: 35px;
}

.v3d-tab__user-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3d-tab__user-card-contents {
  text-align: left;
}
.v3d-tab__user-card-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #54595f;
  text-transform: capitalize;
}

.v3d-tab__user-card-info {
  font-size: 16px;
  font-weight: 400;
  color: #54595f;
  line-height: 1.5;
  margin-bottom: 15px;
}

.v3d-tab__user-card-btn {
  background: rgb(225, 102, 39);
  color: rgb(255, 255, 255);
  padding: 20px 25px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease 0s;

  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  border-radius: 35px;
  border: 2px solid rgb(225, 102, 39);
  min-width: 180px;
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
}

.v3d-tab__user-card-btn:hover {
  background-color: #54595f;
  color: #fff;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
	.v3d-tab__inner {
    	width: 75%;
	}
  .v3d-tab__user-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .v3d-tab__user-card-img {
    margin-bottom: 15px;
  }
  .v3d-tab__user-card-name {
    font-size: 22px;
  }
  .v3d-tab__user-card-info {
    font-size: 15px;
  }
  .v3d-tab__user-card-btn {
    font-size: 15px;
    padding: 15px 20px;
    min-width: 155px;
  }
}

/* accordion --------------------------------- */
.v3d-accordion__item {
  border: none;
  margin-bottom: 5px;
}

.v3d-accordion__item-btn:not(.collapsed) {
  border-bottom: 4px solid rgb(127, 202, 235);
  color: rgb(255, 255, 255);
  background-color: rgb(84, 89, 95);
}

.v3d-accordion__item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px;
  background-color: rgb(42, 169, 225);
}

.v3d-accordion__item-btn:focus {
  box-shadow: none;
  outline: none;
}

.v3d-accordion__item-btn p {
  margin-bottom: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.v3d-accordion__item-icon {
  color: #fff;
  font-size: 20px;
  display: none;
}

.v3d-accordion__item-btn .v3d-accordion__item-icon--opened {
  display: block;
  animation: springLeft 0.6s;
}

.v3d-accordion__item-btn.collapsed .v3d-accordion__item-icon--opened {
  display: none;
}

.v3d-accordion__item-btn.collapsed .v3d-accordion__item-icon--closed {
  display: block;
  animation: springRight 0.6s;
}

.v3d-accordion__item-body {
  background-color: rgb(235, 249, 253);
  padding: 1rem;
  border-radius: 15px;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 500;
  list-style: 1.5;
}

@keyframes springLeft {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}

@keyframes springRight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
