/*--------------------------------------------------------------
## Image Box Style
--------------------------------------------------------------*/
/*Image Box Style1*/
.tb-image-box.tb-style1 .tb-image {
  height: 400px;
}

.tb-image-box .tb-bg {
  height: 100%;
  width: 100%;
}

.tb-image-box.tb-style1 h3,
.tb-image-box.tb-style4 h3 {
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.tb-image-box.tb-style1 h3 {
  padding-bottom: 5px;
}

.tb-slider.tb-style1.tb-color1 .tb-image-box.tb-style1:hover h3 {
  color: #13ce66;
}

.tb-image-box.tb-style1.tb-type1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  height: 550px;
}

.tb-image-box.tb-style1.tb-type1 .tb-image {
  width: 100%;
}

.tb-image-box.tb-style1.tb-size1 .tb-image {
  height: 390px;
}

.tb-image-box.tb-style1.tb-size2 .tb-image {
  height: 550px;
}

.tb-image-box.tb-style1.tb-size3 .tb-image {
  height: 250px;
}

.tb-image-box.tb-style1.tb-size4 .tb-image {
  height: 450px;
}

.tb-image-box.tb-style1.tb-size5 .tb-image {
  height: 300px;
}

/*Image Box Style2*/
.tb-image-box.tb-style2 .tb-image-meta {
  padding: 20px;
}

.tb-image-box.tb-style2 .tb-image-meta a:hover {
  opacity: 0.8
}

.tb-image-box.tb-style2.tb-height1 .tb-bg,
.tb-image-box.tb-style5.tb-height1 .tb-bg {
  height: 540px;
}

.tb-image-box.tb-style2.tb-height2 .tb-bg,
.tb-image-box.tb-style5.tb-height2 .tb-bg {
  height: 255px;
}

.tb-image-box.tb-style2.tb-type1.tb-height1 .tb-bg {
  height: 460px;
}

.tb-image-box.tb-style2.tb-type1.tb-height2 .tb-bg {
  height: 175px;
}

.tb-image-box.tb-style2.tb-height3 .tb-bg {
  height: 210px;
}

.tb-image-box.tb-style2.tb-height4 .tb-bg {
  height: 350px;
}

.tb-image-box.tb-style2.tb-height5 .tb-bg {
  height: 300px;
}

.tb-image-box.tb-style2.tb-height6 .tb-bg {
  height: 700px;
}

.tb-image-box.tb-style2.tb-height7 .tb-bg {
  height: 400px;
}

.tb-image-box.tb-style2.tb-height8 .tb-bg {
  height: 600px;
}

.tb-image-box.tb-style2.tb-height9 .tb-bg {
  height: 800px;
}

/*Image Box Style3*/
.tb-image-box.tb-style3 .tb-image {
  height: 155px;
  border-radius: 4px 4px 0 0;
}

.tb-image-box.tb-style3:hover a {
  color: #13ce66;
}

.tb-image-box.tb-style3 .tb-image-meta {
  padding: 30px;
  padding-bottom: 40px;
}

.tb-image-box.tb-style3 .tb-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.tb-image-box.tb-style3 .tb-list li:last-child {
  margin-bottom: 0;
}

.tb-image-box.tb-style3 .tb-list li i {
  position: absolute;
  top: 5px;
  left: 0;
  color: #00c853;
}

.tb-image-box.tb-style3 .tb-image-box-btn {
  padding: 13px 30px;
  border-top: 1px solid #eaeaea;
}

/*Image Box Style4*/
.tb-image-box.tb-style4 .tb-image {
  height: 245px;
}

.tb-image-box.tb-style4 .tb-image-meta,
.tb-image-box.tb-style4 .tb-image-box-btn {
  padding: 0 30px;
}

.tb-image-box.tb-style4 {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #fff;
}

.tb-image-box.tb-style4:hover {
  -webkit-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  transform: translateY(-8px);
  -webkit-box-shadow: 0 50px 30px -40px rgba(0, 0, 0, .1);
  box-shadow: 0 50px 30px -40px rgba(0, 0, 0, .1);
}

.tb-image-box.tb-style4:hover h3 {
  color: #5c6ac4;
}

.tb-image-box.tb-style4.tb-type1 .tb-image {
  height: 200px;
}

.tb-image-box.tb-style4.tb-type1 .tb-image-meta {
  padding: 0 15px;
}

.tb-image-box.tb-style4.tb-type1:hover h3 {
  color: #222;
}

.tb-image-box.tb-style2 .tb-image-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.tb-image-box.tb-style2 .tb-image-link:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tb-image-box.tb-style2 .tb-image-link:hover:before {
  opacity: 0.5
}

.tb-image-box.tb-style2 img {
  width: 0;
}

/*Style6*/
.tb-image-box6-wrap {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  overflow: hidden;
}

.tb-image-box.tb-style6 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 20px;
  border-bottom: 1px solid #eaeaea;
}

.tb-image-box6-wrap .tb-image-box.tb-style6:last-child {
  border-bottom: none;
}

.tb-image-box.tb-style6:hover {
  background-color: #fbfbfb;
}

.tb-image-box.tb-style6 .tb-image {
  width: 160px;
  height: 160px;
  overflow: hidden;
  margin-right: 20px;
}

.tb-image-box.tb-style6 .tb-image-in {
  width: 100%;
  min-height: 125px;
  height: 100%;
}

.tb-image-box.tb-style6 .tb-image-box-meta {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0;
}

.tb-image-box.tb-style6:first-child .tb-image-box-meta {
  border-top: none;
}

.tb-image-box.tb-style6 .tb-image-box-text-in {
  padding-right: 20px;
  max-width: 700px;
}

.tb-image-box.tb-style6 .tb-image-box-info {
  width: 100%;
}

.tb-image-box.tb-style6 .tb-image-box-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.tb-image-box.tb-style6 .tb-btn {
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.tb-image-box.tb-style6:hover .tb-btn {
  background-color: #1db954;
  border-color: #1db954;
  color: #fff;
}

.tb-image-box.tb-style7,
.tb-image-box.tb-style8 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.tb-image-box.tb-style7 img,
.tb-image-box.tb-style8 img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.tb-image-box.tb-style7 .tb-image-box-img,
.tb-image-box.tb-style8 .tb-image-box-img {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}

.tb-image-box.tb-style8 .tb-play-btn.tb-style1 {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.tb-image-box.tb-style7 .tb-image-box-text,
.tb-image-box.tb-style8 .tb-image-box-text {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fafafa;
}

.tb-image-box.tb-style7 .tb-image-box-text-in,
.tb-image-box.tb-style8 .tb-image-box-text-in {
  padding: 40px 100px;
  width: 100%;
}

.tb-image-box.tb-style8 .tb-image-box-text-in {
  padding: 0 20%;
}

.tb-image-box.tb-style7 .tb-image-box-title,
.tb-image-box.tb-style8 .tb-image-box-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 18px;
}

.tb-image-box.tb-style7 .tb-image-box-subtitle,
.tb-image-box.tb-style8 .tb-image-box-subtitle {
  font-size: 16px;
  line-height: 1.6em;
  margin-bottom: 35px;
  max-width: 560px;
}

@media screen and (max-width: 1500px) {
  .tb-image-box.tb-style8 .tb-image-box-text-in {
    padding: 40px 100px;
  }
}

@media screen and (max-width: 1199px) {

  .tb-image-box.tb-style7 .tb-image-box-text-in,
  .tb-image-box.tb-style8 .tb-image-box-text-in {
    padding: 40px 50px;
  }
}

@media screen and (max-width: 991px) {

  .tb-image-box.tb-style7 .tb-image-box-title,
  .tb-image-box.tb-style8 .tb-image-box-title {
    font-size: 35px;
  }

  .tb-image-box.tb-style7 .tb-image-box-subtitle,
  .tb-image-box.tb-style8 .tb-image-box-subtitle {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {

  .tb-image-box.tb-style6 {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .tb-image-box.tb-style6 .tb-image-box-meta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    padding-top: 15px;
  }

  .tb-image-box.tb-style6 .tb-image-box-text {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .tb-image-box.tb-style6 .tb-image-box-btn {
    margin-top: 20px;
  }

  .tb-image-box.tb-style6 .tb-image-box-info {
    padding-right: 0;
  }

  .tb-image-box.tb-style7 .tb-image-box-text-in,
  .tb-image-box.tb-style8 .tb-image-box-text-in {
    padding: 30px 30px 40px;
  }
}

@media screen and (max-width: 575px) {

  .tb-image-box.tb-style1.tb-type1 {
    height: 400px;
  }

  .tb-image-box.tb-style1.tb-size1 .tb-image,
  .tb-image-box.tb-style1.tb-size2 .tb-image,
  .tb-image-box.tb-style1.tb-size3 .tb-image,
  .tb-image-box.tb-style1.tb-size4 .tb-image,
  .tb-image-box.tb-style1.tb-size5 .tb-image {
    height: 100%;
  }

  .tb-image-box.tb-style8,
  .tb-image-box.tb-style7 {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .tb-image-box.tb-style8 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .tb-image-box.tb-style7 .tb-image-box-img,
  .tb-image-box.tb-style8 .tb-image-box-img,
  .tb-image-box.tb-style7 .tb-image-box-text,
  .tb-image-box.tb-style8 .tb-image-box-text {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
  }
}