/* BEGIN s-slide-3 */
.s-slide-3 .b-nslide-ratio::before {
  padding-bottom: calc(37% - 1px);
}
.s-slide-3 .s_caption {
  color: #fff;
  width: 55%;
  padding: 0 0 50px 50px;
  z-index: 999;
  position: absolute;
  top: 50%;
  left: 70px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.s-slide-3 .s_caption::before, .s-slide-3 .s_caption::after {
  content: '';
  display: block;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.s-slide-3 .s_caption::before {
  left: 30px;
  width: 1px;
  height: 100%;
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}
.s-slide-3 .s_caption::after {
  bottom: 30px;
  left: 0;
  width: 50%;
  height: 1px;
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}
.s-slide-3 .s_caption h2, .s-slide-3 .s_caption p {
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}
.s-slide-3 .s_caption h2 {
  font-size: 35px;
  margin-bottom: 5px;
  text-shadow: 1px 1px 0 #1a50b5;
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight;
}
.s-slide-3 .s_caption p {
  font-size: 19px;
  margin-bottom: 0;
  text-shadow: 1px 1px 0 #000;
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft;
}
.s-slide-3 .t-slide{
  display: none;
}
.nivoSlider .t-slide{
  display: block;
}
/* END s-slide-3 */
/* BEGIN b-card-4 */
.b-card-4 {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.12);
  height: calc(100% - 30px);
  position: relative;
}
.b-card-4 .b_thumb{
  margin: 0.55px;
}
.b-card-4 .b_thumb.ht-ratio--75::before {
    padding-bottom: calc(75% + 1.25px);
}
.b-card-4 .b_title {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding: 15px 30px;
  color: #1a50b5;
  border-bottom: 1px solid #eee;
  -webkit-transition: 0.3s color ease-in-out;
  -o-transition: 0.3s color ease-in-out;
  transition: 0.3s color ease-in-out;
}
.b-card-4 .b_desc {
  text-align: justify;
  padding: 0 30px;
  color: #797979;
  margin-bottom: 18px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.b-card-4 .b_btn {
    display: flex;
    align-items: center;
    background-color: rgb(26, 80, 181);
    padding: 8px 30px;
    color: #fff;
    margin-top: auto;
    transition: all .5s;
}
.b-card-4 .b_btn span:last-child{
  margin-left: 5px;
}
.b-card-4 .b_btn span:first-child{
  background-color: #f8f34b;
  color: #1a50b5;
}
.b-card-4:hover .b_btn{
  padding:8px 30px 8px 40px;
}
/* END b-card-4 */

.s_product{
  background-color: #eee;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding:30px 0;
  margin:30px 0;
}

/* BEGIN b-card-3 */
.b-card-3 {
  display: block;
  margin-bottom: 30px;
}
.b-card-3::after {
  content: '';
  display: table;
  clear: both;
}
.b-card-3 .b_icon {
  float: left;
  width: 70px;
  margin-right: 15px;
  text-align: center;
}
.b-card-3 .b_icon > i {
  color: #1a50b5;
  font-size: 55px;
}
.b-card-3 .b_content {
  float: left;
  width: calc(100% - 85px);
}
.b-card-3 .b_title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.125em;
  margin-bottom: 7px;
  color: #1a50b5;
  text-transform: uppercase;
}
.b-card-3 .b_desc {
  text-align: justify;
}

/* END b-card-3 */
/* BEGIN s-home-4 */
.s-home-4 {
  margin: 30px 0;
}
.s-home-4 .s_title {
  font-size: 30px;
  margin-bottom: 30px;
  opacity: 0.8;
  text-align: center;
  text-transform: uppercase;
}
.s-home-4 .fadeInUp {
  animation-name: fadeInUp;
}
.s-home-4 .ht-ratio--75{
  margin: 1.89px;
}
.s-home-4 .ht-ratio--75::before {
    padding-bottom: calc(75% + 1.25px);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.b-card-8 .b_thumb{
  margin: 1.9px;
}
/* END s-home-4 */
@media (max-width: 991px) {
  .s-home-4 .s_main > .row > div:first-child {
    display: none;
  }
  .s-slide-3 .s_caption {
    left: 30px;
    width: 70%;
  }
  .s-slide-3 .s_caption h2 {
    font-size: 30px;
    line-height: 1;
  }
  .s-slide-3 .s_caption p {
    font-size: 15px;
  }
}
@media (max-width: 575px) {
  .s-slide-3 .s_caption {
    display: none;
  }
}
@media (max-width: 479px) {
  .b-card-4 .b_title {
    font-size: 15px;
  }
}