.ip-banner {
  margin-top: 0;
}

.ip-banner::before {
  background: rgba(0, 0, 0, 0.2);
}

.ip-banner .container {
  padding-top: 95px;
  text-align: center;
}

.ip-banner canvas {
  min-height: 655px;
}

.ip-banner h1 {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 63.16px;
  letter-spacing: 0.02em;
}
.ip-banner h1::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: -45px;
  width: calc(100% + 90px);
  height: 46px;
  background: #0e7983;
  z-index: -1;
}

#breadcrumbs {
  position: relative;
  top: -64px !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
#breadcrumbs .breadcrumb_last {
  font-weight: 700;
}

#inner-page-wrapper::before, #inner-page-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 506px;
  z-index: -1;
  pointer-events: none;
}
#inner-page-wrapper::before {
  background: url(../../images/blog/bg-blog.jpg) no-repeat center center;
  background-size: cover;
  filter: grayscale(1);
  opacity: 0.08;
}
#inner-page-wrapper::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.02) 11%, rgba(255, 255, 255, 0.07) 21%, rgba(255, 255, 255, 0.11) 23%, rgba(255, 255, 255, 0.14) 28%, rgba(255, 255, 255, 0.2) 32%, rgba(255, 255, 255, 0.2) 33%, rgba(255, 255, 255, 0.28) 39%, rgba(255, 255, 255, 0.39) 47%, rgba(255, 255, 255, 0.73) 72%, rgba(255, 255, 255, 0.9) 90%, rgba(255, 255, 255, 0.94) 99%, rgba(255, 255, 255, 0.94) 100%);
}

.ip-container .footer-contact,
.ip-container .footer-bottom-inner > .textwidget {
  display: block;
}

.sg-btn span {
  max-width: 224px;
  height: 65px;
  border: 1px solid #adadad;
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  line-height: 54px;
  transition: all 0.325s ease-in-out;
}

.sg-btn span:hover {
  background: #d4547e;
  line-height: 65px;
  color: #fff;
  border: 1px solid #d4547e;
}

.sg-btn span::after {
  content: "";
  border: 1px solid #adadad;
  position: absolute;
  top: -8px;
  left: -7px;
  width: 101%;
  height: 102%;
  z-index: -1;
}

#ip-blog {
  padding-top: 40px;
}

.ipblog-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  margin: 0 !important;
}
.ipblog-tabs li {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  width: 235px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  height: 60px;
  margin-left: -15px;
  margin-right: -35px;
}
.ipblog-tabs li:first-child, .ipblog-tabs li:last-child {
  width: 200px;
  margin: 0;
}
.ipblog-tabs li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  padding: 20px 50px 10px 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: #0d747d;
  border-bottom: 4px solid #0d747d;
  width: 100%;
  height: calc(100% - 10px);
  transition: all 0.4s ease;
}
.ipblog-tabs li a::after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 33.6%;
  height: calc(100% + 4px);
  background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.03) 21%,rgba(0,0,0,0.2) 85%,rgba(0,0,0,0.23) 100%);
  pointer-events: none;
  border-top-right-radius: 20px;
}
.ipblog-tabs li:last-child a::after{
  display: none;
}
.ipblog-tabs li.theme-pink a {
  background: #d4547e;
  border-color: #d4547e;
}
.ipblog-tabs li.theme-yellow a {
  background: #f7ca39;
  border-color: #f7ca39;
}
.ipblog-tabs li:first-child a {
  padding-right: 25px;
}
.ipblog-tabs li:last-child a {
  padding-right: 10px;
}
.ipblog-tabs li:nth-last-child(2) a {
  padding-right: 30px;
}
.ipblog-tabs li.active a {
  height: 100%;
}
.ipblog-tabs li a:hover {
  background: #fff;
  color: #000;
}

.ipblog-tab-content {
  margin-top: 65px;
}

.ipblog-list {
  
}

.ipblog-list:not(.slick-initialized) {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.ipblog-list:not(.slick-initialized) .ipblog-itemwrap{
  width: 33.3333333333%;
}

.ipblog-list:not(.slick-initialized) .ipblog-itemwrap:nth-child(n+7){
  display: none;
}

.ipblog-list .slick-list{
  margin: 0 -15px;
}

.ipblog-list .slick-slide > div{
  display: flex;
}

.ipblog-itemwrap {
  /* width: 33.3333333333%; */
  padding: 15px;
  margin-bottom: 40px;
}

.ipblog-item {
  display: block;
}

.ipblog-image {
  position: relative;
  display: block;
}
.ipblog-image::before, .ipblog-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.ipblog-image::before {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: #0d747d;
  z-index: 1;
}
.ipblog-image::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ipblog-image canvas {
  display: block;
  width: 100%;
}
.ipblog-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.theme-yellow .ipblog-image::before {
  background: #f7ca39;
}

.theme-pink .ipblog-image::before {
  background: #d4547e;
}

.ipblog-readmore.sg-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.ipblog-readmore.sg-btn span {
  width: 100%;
  max-width: 181px;
  color: #fff;
  background: transparent !important;
  border-color: #adadad !important;
}

.ipblog-title {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  color: #121212;
  margin-top: 30px;
}

.ipblog-item:hover .ipblog-image::after, .ipblog-item:focus .ipblog-image::after {
  opacity: 0.7;
}
.ipblog-item:hover .ipblog-readmore, .ipblog-item:focus .ipblog-readmore {
  opacity: 1;
}

.ipblog-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.ipblog-arrow .fl-arrows {
  margin: 5px 12px;
}

.ip-container footer.footer {
  margin-top: 75px;
}


.ipblog-tab-content ul.slick-dots {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-left: 0 !important;
  list-style-type: none !important;
}

.ipblog-tab-content ul.slick-dots li {
      margin: 5px 12px;
  width: 68px;
  height: 65px;
  border: 1px solid #adadad;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  -webkit-transition: all .325s ease-in-out;
  -moz-transition: all .325s ease-in-out;
  -ms-transition: all .325s ease-in-out;
  transition: all .325s ease-in-out;
}

.ipblog-tab-content ul.slick-dots li.slick-active {
  background: #d4547e;
  border-color: #d4547e;
  color: #ffffff;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 1200px) {
  .ipblog-tabs li.active a {
    font-size: 14px;
  }
}
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  .ipblog-tabs li a {
    font-size: 11px;
  }

  .ipblog-title {
    font-size: 22px;
  }
}
/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  .ip-banner {
    margin-top: 0;
  }
  .ip-banner canvas {
    min-height: 250px;
  }

  .ip-banner .container {
    padding-top: 0;
  }

  .ip-banner h1 {
    font-size: 45px;
  }

  .ip-banner h1::after {
    left: -30px;
    width: calc(100% + 60px);
    height: 25px;
  }

  .ipblog-tabs li a {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .ipblog-tab-content {
    margin-top: 30px;
  }

  .ipblog-title {
    font-size: 16px;
  }

  .ipblog-readmore.sg-btn span {
    height: 50px;
    line-height: 50px !important;
    max-width: 161px;
  }

  .sg-btn span {
    background: #d4547e !important;
    line-height: 65px !important;
    color: #fff !important;
    border: 1px solid #d4547e !important;
  }
}
/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .ipblog-tabs {
    flex-wrap: wrap;
  }

  .ipblog-tabs li {
    width: 50% !important;
    flex: auto;
    margin: auto !important;
  }
  .ipblog-tabs li a {
    font-size: 12px;
    padding: 20px 10px 10px !important;
  }

  .ipblog-itemwrap {
    /* width: 50%; */
    margin-bottom: 30px;
  }

  .ipblog-list:not(.slick-initialized) .ipblog-itemwrap{
    width: 50%;
  }
  
  .ipblog-list:not(.slick-initialized) .ipblog-itemwrap:nth-child(n+5){
    display: none;
  }
}
/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .ipblog-tabs li a {
    font-size: 11px;
  }

  /* .ipblog-itemwrap {
    width: 100%;
  } */

  .ipblog-list:not(.slick-initialized) .ipblog-itemwrap{
    width: 100%;
  }
  
  .ipblog-list:not(.slick-initialized) .ipblog-itemwrap:nth-child(n+3){
    display: none;
  }
}