
/* Main Tabs */
label {
  background-color: #7f63ab;
  color: #ffffff;
  display: inline-block;
  cursor: pointer;
  padding: 10px;
  font-size: 16px;
  width: 33.2%;
  text-align: center;
}
label:hover {
  background-color: #4e3476;
}
/* Just to give indication that it's being clicked */
label:active {
  color: #7f63ab;
}
.sub-tabs-container label {
  font-size: 12px;
}
.tab-radio {
  display: none;
}
.sub-tabs-container label {
  /* background: #000; */
  background: rgba(0,0,0,0.8);
  color: #fff;
}

/* Tabs behaviour, hidden if not checked/clicked */
.sub-tab-content,
.tab-content {
  display: none;
}

.tab-radio:checked + .tab-content,
.tab-radio:checked + .sub-tab-content {
  display: block;
}

/* Sub-tabs */
.sub-tabs-container label {
  color: #c8c8c8;
 width: 20%;
  text-align: center;
  /* background-color: #ff8a65; */
  /* box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3); */
  border-right: 1px solid #9F9F9F;
}
.sub-tabs-container label:last-child{
  border-right: none;
}
.sub-tabs-container label:active {
  color: #37474f;
  box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.3);
}
/* 
.sub-tabs-container label:first-child {
  background-color: #cddc39;
} */
/* 
.sub-tabs-container label:hover {
  background-color: #ffccbc;
}

.sub-tabs-container label:first-child:hover {
  background-color: #e6ee9c;
} */

/* Tabs Content */
.tab-content {
  padding: 0;
  background-color: #ffffff;
  /* border: 1px solid #ddd; */
  /* box-shadow: 2px 10px 6px -3px rgba(0, 0, 0, 0.5); */
}

section.tablsallnew {
  /* position: absolute;
  width: 100%;
  top: 77%;
  z-index: 99; */
  margin-top: -82.2px;
  position: relative;
  z-index: 999;
  margin-bottom: 50px;
}
.innerbannerBlog {
  height: 600px;
  height: 450px;
}
.sub-tabs-container {
  display: flex;
  justify-content: space-between;
}
.subtab_flex {
  display: flex;
  gap: 25px;
  max-width: 100%;
  margin: 25px auto;
  position: relative;
  flex-wrap: wrap;
}
.subtab_flex figure {
  position: relative;
  float: left;
  overflow: hidden;
  /* margin: 10px 1%;
  min-width: 320px;
  max-width: 480px; */
  max-height: 420px;
  /* width: 48%; */
  background: #000;
  text-align: center;
  cursor: pointer;
  width: 23.4%;
}
.subtab_flex figure img.blog-img {
  position: relative;
  display: block;
  /* min-height: 100%;
  max-width: 100%; */
  opacity: 0.8;
  object-fit: cover;
  height: 356px;
}
figure.effect-lily:hover {
  /* box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px; */
}
figure.effect-lily img.blog-img {
  max-width: none;
  width: -webkit-calc(100% + 50px);
  width: calc(100% + 50px);
  opacity: 0.7;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
}

figure.effect-lily figcaption {
  text-align: left;
}
.subtab_flex figure figcaption, .subtab_flex figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.subtab_flex figure figcaption {
  padding: 30px 15px;
  color: #fff;
  /* text-transform: uppercase; */
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
figure.effect-lily h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}
/* figure.effect-lily h2, figure.effect-lily p {
  -webkit-transform: translate3d(0, 40px, 0);
  transform: translate3d(0, 40px, 0);
} */
figure.effect-lily p {
  color: rgba(255, 255, 255, 0.8);
  opacity: 9;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
  transition: opacity 0.2s, transform 0.35s;
}
.subtab_flex figure p {
  /* letter-spacing: 1px; */
  font-size: 68.5%;
  text-transform: initial;
}
.subtab_flex figure h2, .subtab_flex figure p {
  margin: 0 8px 6px;
  font-size: 17px;
  font-weight: normal;
}
.subtab_flex figure:hover p {
  transform: scale(1.03);
}
.subtab_flex figure figcaption, .subtab_flex figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.subtab_flex figure figcaption > a {
  position: absolute;
  top: 0;
  color: #000;
}
figure.effect-lily:hover img.blog-img,  figure.effect-lily:hover p, figure.effect-lily:hover h2 {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  /* transition: all 0.5s ease 0.5s; */
  color: #000;
}

.subtab_flex figure h6 {
  /* -webkit-transform: translate3d(300px, 0, 0);
  transform: translate3d(300px, 0, 0); */
  color: #000;
  /* transition: all 0.5s ease 0.5s; */
  font-size: 13px;
  position: relative;
  -webkit-transition-duration: 350ms;
  transition-duration:350ms;
  -webkit-transition-property: left;
  transition-property: left;
  -webkit-transition-timing-function: cubic-bezier(0.85,0,0,1);
  transition-timing-function: cubic-bezier(0.85,0,0,1);
  left: -100%;
  padding: 0 9px;
}
.subtab_flex figure:hover h6 {
 left: 0px;
}



/* figure.effect-lily:hover img.blog-img, figure.effect-lily:hover h2, figure.effect-lily:hover p {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
} */
figure.effect-lily:hover img.blog-img {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0px, 100px, 0);
  scale: 1.04;
  /* background-color: #000; */
  transition: all 0.3s ease 0s;
}
.subtab_flex figure:hover figcaption {
  background: #f9f9f9;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all 0.2s ease 0s;
}
.subtab_flex figure h2 span {
  font-weight: 800;
}
figure.effect-lily:hover p {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
  -webkit-transition-duration: 0.35s;
  transition-duration: 0.35s;
}
figure.effect-lily:hover img.blog-img, figure.effect-lily:hover p {
  opacity: 1;
}
.subtab_flex figure figcaption > a {
  position: absolute;
  top: 85%;
  color: #000;
  left: -100%;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.5s ease 0s;
  text-transform: capitalize;
}
.subtab_flex figure.effect-lily:hover a{
  /* transition: all 0.5s ease 0s; */
  left: 25px;
}
img.blog__arow {
  width: 13px;
  position: relative;
  top: 0px;
  left: 2px;
  height: 9px;
}
.top-tabs-container {
  display: flex;
  justify-content: space-between;
}
.sub-tab-content {
  background: #fff;
  /* border: 1px solid #eeeeee; */
}