.page-header-main-2 {
  padding-bottom: 9px;
  margin: 20px 0 0 0;

  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-bottom: none;
  text-align: center;
  text-transform: uppercase;
}

.page-title h2 {
  position: relative;
  margin-top: 0;
  font-weight: 800;
  text-transform: uppercase;
  padding-top: 40px;
}

.social i {
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding-top: 10px;
  transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
}
.social i:hover {
  color: #fff;
  background-color: #909aa0;
  text-decoration: none;
  transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
}
.social .fa-facebook {
  background: #4060a5;
}
.social .fa-twitter {
  background: #00abe3;
}
.social .fa-google-plus {
  background: #e64522;
}
.social .fa-instagram {
  background: #375989;
}
.social .fa-skype {
  background: #00c6ff;
}
.social .fa-youtube {
  background: #ff1f25;
}
.fb-page,
.fb-page span,
.fb-page span iframe[style] {
    width: 100% !important;
}
.brick-initial,
.brick-hidden {
  padding: 30px;
  color: #fff;
}

.oswold {
  font-size: 24px !important;
  z-index: -1;
  /*	padding: 5px; */
}

/* Added on 14 December 2016*/
.main-page-content p {
  font-size: 15px !important;
  text-transform: capitalize;
  text-align: center;
  z-index: -1;
}
/* Added on 14 December 2016*/

.oswold-description {
  font-weight: 400;
  position: absolute;
  margin: auto;
  top: 30%; /* Added on 28th February 2017 */
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
}

.oswold-description-3 {
  font-weight: 400;
  margin-top: 0.5%;
  color: #fff;
  font-size: 24px !important;
}

.oswold-description-2 {
  margin: auto;
  position: absolute;
  top: 20%;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  text-align: center;
}
.oswold-description-2.mtk {
  top: 15% !important;
  padding: 0px 10px;
}
.oswold-description-2.book {
  top: 10% !important;
  padding: 0px 10px;
}
@media (min-width: 1024px) and (max-width: 1365px) {
  .oswold-description-2.mtk {
    top: 8% !important;
  }
  .oswold-description-2.book {
    top: 2% !important;
  }
}
@media only screen and (min-width: 1920px) {
  .oswold-description-2.mtk {
    top: 20% !important;
  }
  .oswold-description-2.book {
    top: 15% !important;
  }
}

.oswold-description-4 {
  font-weight: 400;
  top: 22%;
  color: #fff;
  font-family: "Hind", sans-serif;
  font-size: 30px !important;
}

.masonry {
  /*max-width: 1210px;*/
  margin: 0 auto;
  position: relative;
  margin-left: 10px;
}

.brick.expanded-tile {
  width: 99.4%;
  height: 9300px;
  position: absolute;
}

.brick-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.4s;
  background: #fabc2d;
}

.expanded-tile {
  cursor: initial;
}
/*
.expanded-tile .brick-content{
	animation: expand .4s forwards;
}
*/

.bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: #191d9e;
  border-radius: 50%;
  transition: 0.5s;
}

.bg-animate {
  width: 150%;
  height: 150%;
}

.brick-lg .brick-content:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("../img/diagonalarrow.png");
  background-repeat: no-repeat;
  background-size: 100%;
  bottom: 20px;
  right: 20px;

  z-index: 9;
  opacity: 0;
  transition: 0.3s;
}

.expanded-tile .collapse {
  display: block;
}

.expanded-tile .brick-initial {
  display: none;
}

.brick-hidden {
  display: none;
  position: relative;
  z-index: 999;
}

@keyframes expand {
  0% {
    width: 50%;
  }
  100% {
    width: 100%;
  }
}

@keyframes shrink {
  0% {
    width: 200%;
  }
  100% {
    width: 100%;
  }
}

.grid {
  max-width: 1200px;
  transition: width 0.4s, height 0.4s;
}

.grid-item {
  float: left;
}

/* item is invisible, but used for layout */
.grid-item,
.grid-item-content {
  width: 100%;
  height: 100%;
}

/* grid-item-content is visible, and transitions size */
.grid-item-content {
  width: 120px;
  height: 120px;
  background: #7be6c8;
  border: 5px solid #fff;
  -webkit-transition: width 0.4s, height 0.4s;
  transition: width 0.4s, height 0.4s;
}

.grid-item-content-disable {
  width: 120px;
  height: 120px;
  background: #d26;
  border: 5px solid #fff;
}

.layer-1 {
  width: 570px;
  height: 400px;
}

.layer-2 {
  width: 570px;
  height: 200px;
}

.layer-3 {
  width: 100%;
  height: 300px;
}

@media only screen and (max-width: 500px) {
  .layer-1 {
    width: 100%;
  }

  .layer-2 {
    width: 100%;
    height: 100%;
  }

  .layer-3 {
    width: 100%;
  }
}

.grid-item:hover .grid-item-content {
  border-color: #fff;
  background: #a2c;
  cursor: pointer;
}

.grid-item.is-expanded,
.grid-item.is-expanded .grid-item-content {
  width: 100%;
  height: 800px;
}

.grid-item.is-expanded {
  z-index: 2;
}

.grid-item.is-expanded .grid-item-content {
  background: #f90;
}

.brick {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  width: calc(25% - 10px);
  margin-bottom: 10px;
}

.brick p {
  font-size: 32px;
  margin: 0;
}

.brick-lg {
  width: calc(66.66667% - 10px);
  min-height: 610px;
  cursor: pointer;
}

.brick-lg-long {
  width: calc(33.33333% - 10px);
  min-height: 610px;
  cursor: pointer;
}

.brick-small {
  min-height: 300px;
  width: calc(33.33333% - 10px);
}

.brick-lg:hover .brick-content:after {
  opacity: 1;
  right: 16px;
  bottom: 16px;
}

.expanded-tile .brick-content:after {
  display: none;
}

/*
.shrink .brick-content{
	animation: shrink .4s forwards;
}
*/

.collapse-tile {
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("../img/cancel.png");
  background-repeat: no-repeat;
  background-size: 100%;
  top: 16px;
  right: 16px;
  display: none;
  z-index: 9999;
}

.expanded-tile .collapse-tile {
  display: block;
}

.expanded-tile .brick-initial {
  display: none;
}

.header-video {
  position: relative;
  overflow: hidden;
}

.header-video iframe,
.header-video video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.header-video iframe {
  height: 100%;
  width: 100%;
}

.header-video video {
  width: 100%;
}

.header-video__teaser-video {
  width: auto;
  height: auto;
}

.header-video__media {
  width: 100%;
  height: auto;
}

.header-video__play-trigger {
  z-index: 5;
  position: absolute;
  background-color: transparent;
  border: 2px solid #fff;
  text-align: center;
  color: #fff;
  text-decoration: none;
  /*padding: 0.5em;
	margin: 5px 0;*/
  max-width: 100%;
  left: 50%;
  top: 50%;
  cursor: pointer;
  display: inline-block;
  font-size: 15px !important;
  line-height: 1.25;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  transition: background 0.5s;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.35s;
  font-family: "Hind", sans-serif;
}

.video-title {
  z-index: 5;
  position: absolute;
  text-align: center;
  color: #fff;
  text-decoration: none;
  margin: 5px 0;
  max-width: 100%;
  left: 50%;
  top: 60%;
  display: inline-block;
  line-height: 1.25;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  transition: background 0.5s;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.35s;
  font-family: "Hind", sans-serif;
  font-size: 30px !important;
}

.header-video__play-trigger:hover {
  background: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: #fff;
}
.header-video .centered {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 430px;
  text-align: center;
}
.header-video .header-caption h1, .header-video .header-caption h2 {
  font-size: 42px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}
.header-video .header-caption h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 32px;
  color: #ffffff;
  margin-top: 15px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}
@media only screen and (max-width: 768px) {
  .header-video .header-caption h1, .header-video .header-caption h2 {
    font-size: 36px;
  }
  .header-video .header-caption h3 {
    font-size: 18px;
    line-height: 28px;
  }
}
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .header-video .centered {
    width:480px;
  }
}
@media only screen and (max-width: 480px) {
  .header-video .centered {
    width: 90%;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  .header-video__play-trigger {
    font-size: 10px;
  }

  .video-title {
    font-size: 15px;
  }
}

.box-1 p {
  font-family: "Hind", sans-serif;
  font-size: 14px;
  width: 100%;
  font-weight: 400;
}

.grid-font {
  top: 60%;
  text-align: left;
}
@media only screen and (max-width: 480px) {
  .grid-font {
    top: 30%;
  }
}

/*For Main Boxes*/
.block-format {
  padding: 2px !important;
}
.no-padding {
  padding: 0 !important;
}
.pink-theme .brick-content {
  background-color: #fb0051;
}
.green-theme .brick-content {
  background-color: #009444;
}
.cyan-theme .brick-content {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/main/deals.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.cyan-theme .brick-content:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/deals.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.visit {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/main/visit-sabah.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.visit:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/main/visit-sabah.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.travelogue {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/main/travelogue.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.travelogue:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/travelogue.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.travel-essential {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/main/travel-essential.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.travel-essential:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/travel-essential.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.about-us {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/main/about-us.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.about-us:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/about-us.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.family-package {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/main/family-package.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.family-package:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/family-package.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.fleet-package {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/img/ab-fleet.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.fleet-package:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/img/ab-fleet.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.social {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/main/riding.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.social:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/riding.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.hotel {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/main/hotel.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.hotel:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/hotel.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.topten {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/main/10-things-to-do.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.topten:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/10-things-to-do.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.nbc {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/main/nbc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.nbc:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("../img/main/nbc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.pwp-box {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/img/campaigns/conquer-mt-kinabalu-relax-sea.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.pwp-box:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("/img/campaigns/conquer-mt-kinabalu-relax-sea.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.hotel-description {
  font-weight: 400;
  color: #fff;
  padding: 20px;
}

.social-description {
  font-weight: 400;
  color: #fff;
  padding: 20px;
}

.promo-box {
  background: #fb0051;
  height: 350px;
  text-align: center;
}

.social-box {
  background: #2d2d2d;
  height: 245px;
  text-align: center;
}
.hotel-description-second {
  font-size: 16px !important;
  text-transform: lowercase !important;
}

.box-center {
  padding-top: 20% !important%;
}

.btn-main-card {
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 5px 10px 5px 10px;
  border: solid #fff 1px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-transform: capitalize !important;
}

.btn-main-card:hover {
  font-family: Arial;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 15px;
  padding: 5px 10px 5px 10px;
  border: solid #fff 1px;
  margin-left: auto;
  margin-right: auto;
}

.btn-main {
  color: #ffffff;
  font-size: 15px;
  padding: 10px 20px;
  border: solid #fff 2px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 80px;
}

.btn-main:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}
.btn-main-black {
  color: #000;
  font-size: 15px;
  padding: 10px 20px;
  border: solid #000 2px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 80px;
}

.btn-main-black:hover {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.2);
  color: #000;
}

.btn-tour {
  font-family: Arial;
  color: #fff;
  font-size: 11px;
  padding: 6px 6px 6px 6px;
  border: solid #fff 1px;
  opacity: 0.8;
}

.btn-tour:hover {
  text-decoration: none;
  color: #fff;
}

.social-media-icon {
  padding-top: 30%;
  padding-left: 50%;
}

.social-media-content {
  margin-top: 20%;
  margin-left: %;
  text-align: center;
}

/* Flash Card */
.card-text {
  font-size: 12px !important;
  text-transform: capitalize;
  padding-bottom: 20px;
  min-height: 90px;
}

.card-title {
  font-size: 15px !important;
  min-height: 20px;
  text-transform: capitalize;
  /*width: 210px;*/
  text-shadow: 1px 1px #000;
  padding-right: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card img {
  background-color: rgba(255, 0, 0, 0.5);
}

.card-price {
  padding-bottom: 10px;
}

.card-block {
  /*background-color: rgba(255, 255, 255, 0.5);*/
  padding: 10px;
  position: absolute;
  top: 9%;
  width: 87.5%;
}
.card-block-2 {
  /* background-color:rgba(255, 255, 255, 0.5);*/
  padding: 10px;
  position: absolute;
  bottom: 0;
  width: 87.5%;
  text-align: right;
  padding-right: 20px;
}
/* Flash Card */

/* Media */

@media only screen and (max-width: 990px) {
  .brick-lg {
    height: 400px;
    width: 98%;
  }
  .brick-lg-long {
    height: 400px;
    width: 98%;
  }
  .brick-small {
    height: 400px;
    width: 98%;
  }

  @keyframes expand {
    0% {
      width: 100%;
    }
    100% {
      width: 100%;
    }
  }

  @keyframes shrink {
    0% {
      width: 100%;
    }
    100% {
      width: 100%;
    }
  }
  .brick.expanded-tile {
    width: 98.2%;
    height: 5000px;
  }
}

@media only screen and (max-width: 640px) {
  .brick-small {
    width: 98%;
    height: 300px;
    min-height: 300px;
  }
  .brick-small.sixhundred {
    width: 98%;
    height: 610px;
    min-height: 610px;
  }
  .brick-lg {
    width: 98%;
    height: 300px;
    min-height: 300px;
  }
  .brick-lg-long {
    width: 98%;
    height: 300px;
    min-height: 300px;
  }

  @keyframes expand {
    0% {
      width: 100%;
      height: 300px;
    }
    100% {
      width: 100%;
      height: 600px;
    }
  }

  @keyframes shrink {
    0% {
      width: 100%;
      height: 600px;
    }
    100% {
      width: 100%;
      height: 300px;
    }
  }

  .brick.expanded-tile {
    width: 99.4%;
    height: 4280px;
  }
}

@media only screen and (max-width: 480px) {
  .brick-small {
    width: 98%;
    height: 300px;
    min-height: 300px;
  }
  .brick-small.sixhundred {
    width: 98%;
    height: 610px;
    min-height: 610px;
  }
  .brick-lg {
    width: 98%;
    height: 300px;
    min-height: 300px;
  }
  .brick-lg-long {
    width: 98%;
    height: 300px;
    min-height: 300px;
  }

  .oswold {
    line-height: 20px; /* Added on 28th February 2017 */
  }

  .main-page-content p {
    text-align: center;
    padding: 10px 0;
  }

  .btn-main-black {
    font-size: 10px;
    padding: 10px 15px 10px 15px;
  }

  @keyframes expand {
    0% {
      width: 100%;
      height: 300px;
    }
    100% {
      width: 100%;
      height: 600px;
    }
  }

  @keyframes shrink {
    0% {
      width: 100%;
      height: 600px;
    }
    100% {
      width: 100%;
      height: 300px;
    }
  }

  .brick.expanded-tile {
    width: 99.4%;
    height: 4280px;
  }
}

@media only screen and (max-width: 320px) {
  .btn-main {
    font-size: 12px;
  }
}

/* Media */

.hypersearchform {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.8em 1.5em 0.5em 1em;
  float: left;
}

.box-search {
  width: 300px;
  height: 50px;
  float: left;
  /*padding-left: 30px;*/
}

.hypersearchform_custom {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  margin: 0 auto;
  max-width: 375px;
  overflow: hidden;
}

/* Blog Post */
#inner-wrapper {
  width: 599px;
}
.block-inner-wrapper.animated {
  -ms-transition: margin-left 0.5s ease-out;
  -webkit-transition: margin-left 0.5s ease-out;
  -moz-transition: margin-left 0.5s ease-out;
  transition: margin-left 0.5s ease-out;
}
.block-scroller .next,
.block-scroller .previous {
  top: 278px;
}
.block-scroller-single .next,
.block-scroller-single .previous {
  top: 139px;
}
.block-scroller,
.block-page {
  width: 558px;
}
.block-page {
  height: 558px;
}
.block-page {
  background-size: 837px 558px;
}
.block-scroller-single .block-page {
  height: 279px;
}
.block {
  width: 278px;
  height: 278px;
}

/* Target 600 (Tablet portrait) */
@media screen and (max-width: 766px) {
  #inner-wrapper {
    width: 599px;
  }
  .block-inner-wrapper.animated {
    -ms-transition: margin-left 0.5s ease-out;
    -webkit-transition: margin-left 0.5s ease-out;
    -moz-transition: margin-left 0.5s ease-out;
    transition: margin-left 0.5s ease-out;
  }
  .block-scroller .next,
  .block-scroller .previous {
    top: 278px;
  }
  .block-scroller-single .next,
  .block-scroller-single .previous {
    top: 139px;
  }
  .block-scroller,
  .block-page {
    width: 558px;
  }
  .block-page {
    height: 558px;
  }
  .block-page {
    background-size: 837px 558px;
  }
  .block-scroller-single .block-page {
    height: 279px;
  }
  .block {
    width: 278px;
    height: 278px;
  }
}

/* Target 480 (landscape phone / large android) */
@media screen and (max-width: 600px) {
  #inner-wrapper {
    width: 479px;
  }
  .block-scroller .next,
  .block-scroller .previous {
    top: 218px;
  }
  .block-scroller-single .next,
  .block-scroller-single .previous {
    top: 109px;
  }
  .block-page {
    background-size: 657px 438px;
  }
  .block-scroller,
  .block-page {
    width: 438px;
  }
  .block-scroller-single .block-page {
    height: 219px;
  }
  .block {
    width: 218px;
    height: 218px;
  }
  .block-format {
    /*margin-top: -16px;*/
  }
}

/* Target 320 (portrait phone) */
@media screen and (max-width: 479px) {
  #inner-wrapper {
    width: 320px;
  }

  .block-scroller .next,
  .block-scroller .previous {
    top: 140px;
  }
  .block-scroller,
  .block-page {
    width: 281px;
    height: 281px;
  }
  .block-scroller-single .block-page {
    height: 281px;
  }
  .block {
    width: 280px;
    height: 280px;
  }
  .block-format {
    /*margin-top: -16px;*/
  }
}

/* Target 320 (portrait phone) */
@media screen and (max-width: 320px) {
  #inner-wrapper {
    width: 320px;
  }

  .block-scroller .next,
  .block-scroller .previous {
    top: 140px;
  }
  .block-scroller,
  .block-page {
    width: 202px;
    height: 202px;
  }
  .block-scroller-single .block-page {
    height: 202px;
  }
  .block {
    width: 202px;
    height: 202px;
  }
  .block-format {
    /*margin-top: -16px;*/
  }
}

.img-mainpage {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.img-overlay {
  background-color: rgba(0, 0, 0, 0.75);
  bottom: 0;
  color: #fff;
  position: absolute;
  width: 100%;
  z-index: 1000;
  padding: 3px;
}
.img-overlay h4 {
  /*
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
*/
  text-transform: capitalize;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 96%;
}
.img-overlay h4,
.img-overlay p {
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
}

.img-overlay p {
  padding: 0 10px;
  font-size: 15px !important;
}

.main-from {
  font-size: 12px;
}

.main-alignment {
  margin-top: -19px;
}

.info-card {
  margin-bottom: 0px;
}

.info-card .info-card-details .info-card-header {
  height: auto;
  bottom: 100%;
  padding: 15px 5px;
}

.info-card .info-card-details .info-card-header h1,
.info-card .info-card-details .info-card-header h3 {
  /* Amended on 14/12/2016 */
  font-size: 20px !important;
  line-height: 20px;
  /* Amended on 14/12/2016 */
}

.info-card .info-card-details .info-card-header h3 {
  color: #8eb634;
  font-size: 15px !important;
  font-weight: 400;
  margin-top: 5px;
}

/* Amended on 14/12/2016 */
.info-card-header h3 {
  text-transform: capitalize !important;
}
/* Amended on 14/12/2016 */

/* Added by Steward */
footer.footer-container {
  margin-top: 0px !important;
}
/* Added by Steward */

/* Added on 15 December 2016 */
.main-alignment {
  margin-top: -19px;
}
.main-alignment-after {
  margin-top: 20px;
}
/* Added on 15 December 2016 */

.darken {
  background: black;
  padding: 0;
}

.darken img {
  display: block;

  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.darken:hover img {
  opacity: 0.5;
}

/* CSS by Shu Fong */
.exclusive-promo {
  color: #fff;
  text-shadow: none;
  background-color: #fabc2d;
  text-align: center;
}
.exclusive-promo h4 {
  font-size: 20px;
  font-weight: 700;
}
.pointer-at-corner {
  position: absolute;
  bottom: 1px;
  right: 1px;
  margin: 0 auto;
}
/* Homepage Blog */
#inner-wrapper { padding-top: 0; } #outer-wrapper { overflow-y: hidden; } .block-scroller { margin-bottom: 0; } .block-details h4 { font-size: 1.5em; } .block .block-details p { line-height: 1.3; }

#awards .flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 15px auto;
  align-items: center;
}
#awards .flex-container .item {
  width: 110px;
  margin: 8px;
}
#awards .flex-container .item img {
  max-width: 100%;
}
@media screen and (max-width: 426px) {
  #awards .flex-container .item {
  width: 29.5%;
  margin: 6px;
}
  #awards h4 { font-size: 1em; }
}
